Links for 15 April 2011
-
One of the bugbears about OS X is that the home and end keys in Terminal never do what you'd expect. While there are lots of guides out there on how to fix it I've never found one that works. Thankfully Fix Home/End on Terminal.app in Leopard/Snow Leopard shows you exactly what to do. Full details are on the link but I've reproduced a copy here too:
- Open Terminal.app
- Open the Preferences window (CMD+,)
- Click the Settings tab
- Select your current Settings theme, and click on the Keyboard tab
- Edit (or Add) the entry for Home
- Set Action: to send string to shell:
- Set the string to \001 (or press Ctrl+a)
- Edit (or Add) the entry for End
- Set Action: to send string to shell:
- Set the string to \005 (or press Ctrl+e)
- An exhaustive list of Mac OS X keyboard shortcuts right from the source
- While Rails makes getting started really simple trying to get your development environment setup can be anything but. Ubuntu, Ruby, RVM, Rails, and You provides some steps on how to get a clean Ubuntu 10.10 install setup for Rails development.
- If you've been tasked with creating a mobile site or web application then you might want to check out Mobile Design and Development. It's been released free to read online but eBook and print versions are available
- solarized is a really nice colour scheme/palette for use in the terminal or your favourite IDE. The pull requests contain some user-contributed themes for Xcode etc
- Ruby/AWS is a Ruby interface to the Amazon associates web service
- I need to look at some PHP deployment solutions and [Mathew Davies]() provides some tips on how he accomplishes this.
- If your "Note in Reader" bookmarklet for Google Reader is no longer working you might want to check out this workaround
- We all need to do our bit to make the web faster and combining and minifying JavaScript and CSS goes a long way to doing this. If you're using PHP check out minify along with the Zend_View_Helper
- If you'd like to easily stay updated with the latest PHP 5.3.x versions on Mac OS X then you should check out php-osx where you can get everything done in a single line. You'll find links on that page for their GitHub repo where you can customise things to your liking.
- Xcode 4 shortcuts by Pragmatic Studio
- How to inspect iOS's HTTP traffic without spending a dime
- yaml_db is a Rails plugin providing a database-independent way of dumping and restoring data
- Version control is important but finding the right method to fit in everything you need even more so. Change happens and you'll often have to big production bugs while at the same time working on brand new features. A successful Git branching model goes through a few ideas on how to achieve this
- 10 Ruby on Rails Best Practices
- An old post but still useful for us newbies, 21 Ruby Tricks You Should Be Using In Your Own Code
- Capistrano 2 on Site5 lists some site5 specific tips for using Capistrano
- Code standards & front-end development best practices is an insight into how some companies do things.
- If you're needing to parse CSV Data in Cocoa
- mazeld is the theme I used on one of my old sites (except at the time I had to "make" my own).
- TPKeyboardAvoiding is a drop-in universal solution for moving text fields out of the way of the keyboard in iOS
- If you're using the Zend Framework and need to access your configuration data that's stored in application.ini here are some options for both inside and outside of the controller
- Useful script on how to Change your terminal theme when you ssh into a server
- How does the Twitter iPhone app implement side swiping on a table? by iDev Recipes
- Pow: Zero-configuration Rack server for Mac OS X Have it serving your apps locally in under a minute.