rohanmitchell.com
Relative money buckets | Rohan Mitchell
http://rohanmitchell.com/2012/03/relative-money-buckets
Code Design. Web. Biz. Life. Leaving out edge cases, no matter what your level of financial abundance, there’ll always be things that fall into each of these buckets:. You don’t even think about it. For example, if you work full-time, you can probably buy yourself a coffee without considering your budget. You might have to save for a little while, and you’re not comfortable buying things in this price range on impulse, but you know that you’re capable of achieving these savings goals. From your own site.
rohanmitchell.com
Introducing Emacs-fu | Rohan Mitchell
http://rohanmitchell.com/2012/04/introducing-emacs-fu
Code Design. Web. Biz. Life. There’s lots to learn about emacs. I learnt some of it and made a course. It’s coming out 1st May and it’s going to be awesome. Put your email down at the bottom of this post. To be the first to hear when it’s ready. There’s a lot to Emacs. On top of this, I’d been dancing around Lisp ever since reading Paul Graham’s gospel. So here I was, basically frustrated with my work habits and non-ninja-ness. So I went out and learnt a bunch of stuff. A bunch of screencasts, tutorials,...
rohanmitchell.com
Upgrade Your Emacs-fu | Rohan Mitchell
http://rohanmitchell.com/2012/12/upgrade-your-emacs-fu
Code Design. Web. Biz. Life. Emacs is pretty twisty. There’s a huge number of things it can do to make your dev experience more amazing, but they’re not exactly obvious, either. (meta-shift-5 anyone? You’ve probably found a bunch of these and already use them, perhaps like:. Transform your text editor into a highly concealable throwing blade with which to destroy your enemies. But there’s way more cool features lurking out there that we don’t hear about. I’m a freelance ruby developer. Any frustration I ...
rohanmitchell.com
Writing controller tests for Spree controllers | Rohan Mitchell
http://rohanmitchell.com/2012/06/writing-controller-tests-for-spree-controllers
Code Design. Web. Biz. Life. Writing controller tests for Spree controllers. Without configuration, using Spree 1.1.1, rspec controller tests for spree controllers fail:. Failure/Error: get :select, :id = d.id ActionController: RoutingError: No route matches {:id= "39", :controller= "spree/distributors", :action= "select"}. As mentioned in a related github issue. Once I had that working, there was one other problem I ran into:. After which, my tests began running (and in this case failing) in the correct...
rohanmitchell.com
Archive | Rohan Mitchell
http://rohanmitchell.com/archive
Code Design. Web. Biz. Life. Emacs-fu table of contents. Learning emacs movement keys. How much does it cost to attend Burning Man from Australia? Writing controller tests for Spree controllers. Faster emacs key repeats. Using Spree and Refinery together. What is it like living in Black Rock City? San Francisco, authority and city-diffing. Getting tomboy notes to appear on the correct monitor in Ubuntu. Export from OpenOffice to clean HTML. Deploy a subversion repository to a server without subversion.
rohanmitchell.com
Learning emacs movement keys | Rohan Mitchell
http://rohanmitchell.com/2012/12/learning-emacs-movement-keys
Code Design. Web. Biz. Life. Learning emacs movement keys. One of the techniques I share in Emacs-fu. Is the post-it note technique. I originally found it in a PeepCode screencast. And I’ve been using it since then to learn new keyboard shortcuts. The idea is to write down the thing you’d like to learn on a post-it and keep it near your computer or on your laptop next to your keyboard. That way I’d be forced to learn the new keys. A few minutes later:. This entry is filed under Uncategorized. A short, in...
rohanmitchell.com
Your Intention Stack | Rohan Mitchell
http://rohanmitchell.com/2012/12/your-intention-stack
Code Design. Web. Biz. Life. Have you noticed the seam between habit-land and your editing software? Habit: I want to go to the start of the next line – end right. Moves the cursor around. Habit: I want to tidy up that bit of code. When we’re working, we have a stack of intentions. Mine, for one project I’m working on, looks like this:. Business problem: We want to mitigate the new year slump in sales. Proposed solution: Let’s implement a coupon codes feature and run a promotion with it. With attention t...
rohanmitchell.com
Rohan Mitchell | Code. Design. Web. Biz. Life. - Part 2
http://rohanmitchell.com/page/2
Code Design. Web. Biz. Life. I’ve loved Homespring (the world’s favourite salmon-centric programming language) for a long time. Now I’ve finally gotten round to beginning the design for my own language, RBF (round-bottomed flask). To give you a taste of it, here’s the draft of a program that asks the user a question, and tells them if they have the correct answer or not:. Commercially available What’s six times four? Was distilled under reduced pressure at 175 oC, affording a light yellow oil. It’s...