Links for 08 September 2011
- Using the Google Authenticator App with Rails so your app can also take advantage of two-factor authentication.
-
Mike Zupan has some interesting posts including:
- How many IPs in this subnet? is a post by Mike where he explains how he works out the answer to this question which essentially boils down to 2 ^ (32 - subnet) - 2
- Senior Linux Admin Interview Question #1
- The server is running Apache and by mistake one of the log files gets deleted via rm domain.com-access_log. Without installing any 3rd party recovery tools how can you recover this file that your boss needs. Also assume that as soon as the log file was deleted that Apache was not restarted.
ps aux | grep httpd (to find the main Apache process)
ls -lsa /proc/8070/fd (substitute the process ID into here)
cp /proc/8070/fd/11 /tmp/access_log (to retrieve the file)
- Atomic symlink changes explains why the current practice of changing symlinks for a document root of a web site isn't great and why you need the -T flag
- One feature I love about Eclipse is that you can set it to clean whitespace characters when saving a file. In Waging War on Whitespace (using TextMate) you'll find out how to setup something similar in TextMate. (local archive)
- How to Use UTF-8 Throughout Your Web Stack details all the tricks you need to know in order to ensure you're correctly using UTF8 throughout.
- jQuery Boilerplate is a code sample filled with comments giving you the baseline you need to create a jQuery plugin
- Our Simple Git Workflow from Carsonified details how they use git in their day-to-day work.
- How To Make An Interface With Horizontal Tables Like The Pulse News App is a nifty walkthrough on how to create a iOS (iPhone and iPad) application with scrollable horizontal tables
- Performance Testing Rails Applications
- iOS and Mac Development Link Roundup: August 2011 by Ole Begemann is full of useful links and advice
- If you're as creatively challenged as me then Bootstrap, from Twitter will be of some use. It's a toolkit that's designed to give you a good starting point for web applications and sites. Stepping Out With Bootstrap from Twitter is a good tutorial to get you up and running with it
- content first, navigation second
- ActiveRecord, Caching, and the Single Responsibility Principle
- Responsive Web Design
-
In Mac OS X 10.7 you can now setup Right-Click option to open the currently selected folder in Terminal. Details are here but it boils down to:
Go to System Preferences -> Keyboard -> Keyboard Shortcuts -> Services -> Files and Folders -> New Terminal at Folder - Or New Terminal Tab at Folder
- http://www.toshiba-om.net/LCD/PDF/English/Country_Specific/XV555-323742-English-Specific.pdf is the manual for the Toshiba TV we've got 37XV503DB