Inspired by Emacs Rocks, I made my own video showing some of the power of using Emacs with paredit and multiple cursors.
Node.js and TurnTable.fm
So, a friend recently turned me on to TurnTable.fm which is an awesome place to listen to, discover, and share the music you love. In checking out some of the different rooms, I discovered that some people had written bots that do different things: manage who can play songs, post fun messages, keep stats, etc. Out of curiosity, I decided to try my hand at making a bot.
Emacs With TRAMP Causing OS X Kernel Panic
I’ve had a couple of kernel panics while using my MacBook lately, and I have figured out the culprit. It’s Emacs, specifically when using TRAMP (in my case, to open a file via sudo).
Php+-mode: An Apology, a Promise, and a Call for Help
While browsing through some posts in the Google+ Emacs community, I came across at least one post or comment where someone mentioned my php+-mode. While it pleases me whenever I hear of someone using something I wrote, it reminded me of just how derelict and forgotten php+-mode has become. Thus, this post.
File Temporary Backup/Move Functions (Bash)
A lot of the time, when I’m working in a bash terminal, I find myself needing to move a file out of the way temporarily.
OS X Text Substitution
The last couple of versions of OS X have had a cool feature: user-added text substitutions. Meaning, you can set some placeholder text (like “lod”) that will be auto-corrected to something else (in my case, the Look of Disapproval).
A Whole New World
I started working at Improving this week which has required a major shift in my development ways. First and foremost is the change from PHP (which I’ve been coding for years) to Java. It wouldn’t be so bad if it was just Java, though. However, that is not the case.
Combining Blogs
Today I decided to combine my Emacs blog (formerly a Blogger blog) with this development blog. You will see all the old posts, and I have created a new menu entry for the “emacs” category.
Kill Multiple Lines With Kill-lines
Today, I wrote an Emacs package called kill-lines. It is a simple package with an interactive function of the same name that, when run, allows the user to enter a line number and kills all lines from the current line to the given line (inclusive). To make this easier, it turns on highlighting of the current line (so you can see where you’re starting from) and line numbers (so you can easily pick one as the target). It turns these visual aids off when it is done, unless you already had them turned on to begin with.
Of course, you can bind kill-lines to a keybinding. I have chosen C-c C-k.
You can find kill-lines at my GitHub repo here.
Why the PHP Interactive Shell Isn’t a REPL, and Why It Is Lacking
After a recent conversation on Twitter, I felt like I should explain why I feel that php -a, the PHP Interactive Shell, isn’t a REPL, and where it falls short because of this.