-
Cannot open load file: subst-ksc - os x 10.9.2, emacs 24.4.50.1
I'm on OS X Mavericks 10.9.2, running Emacs 24.4.50.1 GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19) compiled via homebrew. I was trying to get back into Emacs package authoring with the help of rejeep's excellent Cask and ert-runner tools, but I was getting an error that didn't pop up on Google very well:
-
Cleaning up whitespace in directories with some elisp
I had a project with an outdated indentation convention. Present-me recently decided to change bracket conventions from the way past-me had been doing things. So, I updated my emacs settings so that magnar's
(cleanup-buffer)function would properly format the files. But, there were multiple files in the project and I didn't feel like manually opening each one just to cleanup (C-c n) and save (M-s) it. So, I had emacs do it for me, relying heavily on the excellentf.ellibrary and the aforementioned(cleanup-buffer). -
Trimming and down-casing strings with AngularJS Filters: lowercase and limitTo
I've got a small
ng-repeatover this array: -
Prevent Selenium Webdriver's Firefox from stealing focus on OS X
When I'm composing automated functional browser tests, I usually run the tests against a local instance of Webdriver on my own computer to keep the feedback loop tight. Once authoring is done, I'll kick it off to Saucelabs for cross-browser testing and additional validation.
-
An AngularJS File Tree (with a PHP backend)
Something I needed in my AngularJS app was a file tree that exposed a few folders full of flat files to the user. At the beginning of 2014, there were only a few google groups posts about trees in angular - apparently the recursive nature of the tree structure made it complicated to express in the form of directives. Luckily, there are now a few competing file tree projects available. The one I ended up going with is wix's angular-tree-control for a few reasons. I'll go over a few of those reasons, walk through the frontend usage, and also detail the backend PHP code that generates the tree in the right format that
angular-tree-controlcan appropriately consume.