Category quickie
-
Hiding ruby gem 'is deprecated with no replacement' messages
How to hide all the ugly ruby deprecation messages when you upgrade... read more
-
HABTM before_filter in rails models
How to automatically add an object to a habtm field on save... read more
-
Excluding fields from rails json and xml output
How to stop specific fields from being output when rendering to json or xml... read more
-
Push and delete remote git branches
A few simple pointers on managing remote git branches... read more
-
sources.list For Ubuntu Hardy Heron 8.04
I always have to go looking for this, so here it is... read more
-
How to find out if Ubuntu is 32 bit or 64 bit
A quickie that i always forget.... read more
-
nginx error - 413 Request Entity Too Large
How to increase the allowed file upload size in Nginx, and stop 413 Request Entity Too Large errors... read more
-
Makefile - missing separator. Stop.
How to fix missing separator errors in Makefiles... read more
-
NoReverseMatch : custom registration templates break django unit tests
How to fix NoReverseMatch errors in the django auth and django-registration test suites when you are using customized login and registration templates... read more
-
Sending Django email with Gmail
How to set up your Django application so email is sent through Gmail... read more
-
Compiling mysql-python on OS X leopard
How to get around a few of the problems you may encounter trying to install mysql-python bindings on OS X Leopard... read more
-
InnoDB as default MySQL table type
How to change the default MySQL table type... read more
-
Flushing the DNS cache on OS X
How to manually flush the DNS cache on OS X to force /etc/hosts changes to take effect... read more
-
MySQL table 'is marked as crashed'
What to do if you are getting an error similar to 'mysqldump: Got error: 145: Table xxxxx is marked as crashed and should be repaired when using LOCK TABLES'... read more
-
python 2.5 zipimport.ZipImportError on OS X
How to get fix "zipimport.ZipImportError: can't decompress data; zlib not available" errors running python 2.5 on OS X... read more
-
Python 2.5 "ImportError: No module named _md5" on OS X
What to do if you are getting an "ImportError: No module named _md5" using Python 2.5 on OS X... read more
-
HTTPSHandler error using python 2.5 and GAE on OS X
How to fix "AttributeError: 'module' object has no attribute 'HTTPSHandler'" errors running python 2.5 on OS X... read more
-
Exclude tables from mysqldump
How to exclude certain tables from mysqldump... read more
-
'spec/rake/spectask' errors doing rake db:migrate
What to do if you get "no such file to load -- spec/rake/spectask_" errors running rake db:migrate... read more
-
'Can't find Magick-config' error installing rmagick gem
How to fix a 'Can't find Magick-config' error when installing the rmagick gem... read more
-
undefined method assert_valid_keys in Rails
How to fix 'undefined method assert_valid_keys' errors in Rails... read more
-
Nginx adds strange characters using rails/memcached_pass
How to stop strange characters appearing when using rails, memcached and the nginx memcached_pass directive... read more
-
Phusion Passenger PassengerMaxPoolSize is ignored
How to setup apache so that the Phusion Passenger PassengerMaxPoolSize, PassengerMaxInstancesPerApp and PassengerPoolIdleTime directives are not ignored... read more
-
Pylons - LookupError: Entry point 'main' not found in egg
How to fix 'LookupError: Entry point 'main' not found in egg' errors in Pylons... read more
-
iTerm Delete Key Config
Fix up peculiar delete key behaviour in OS X... read more
-
Simulate delayed-fade in jQuery
How to create a fade effect after a delay in jQuery... read more
-
svn: Can't find a temporary directory: Internal error
How to fix SVN 'Can't find a temporary directory: Internal error'... read more
-
Default Values With Hibernate Annotations
How to set the default value of a field with Hibernate... read more
-
Complex Constants in Java
How to assign a complex class (such as a HashMap / ArrayList etc) as a constant in Java... read more
-
Adding Appfuse Dependencies
How to add a dependency to AppFuse... read more
-
MySQL Delete On Joined Tables
How to delete records from MySQL using joined fields... read more
-
Get complete AppFuse sources
How to get the complete, exploded source of an AppFuse application... read more
-
Skip AppFuse Tests
How to skip tests when compiling/running AppFuse applications... read more
-
Appfuse "failed to lazily initialize a collection of role"
Fix the 'failed to lazily initialize a collection of role' error in AppFuse... read more
-
Hibernate OneToMany Relationships
An example of a one-to-many relationship using Spring MVC and Hibernate... read more
-
Hibernate 'TYPE=storage_engine is deprecated'
Fixing 'TYPE=storage_engine is deprecated' warnings in Hibernate... read more
-
JScript Debugger for IE
How to install and enable JavaScript debugging for Internet Explorer... read more
-
Set OS X Default Shell
How to change the default shell in OS X... read more
-
Regex to reject an extension
Filed under programming and quickie.A regular expression expression to reject strings with a certain extension... read more
-
OS X zsh shell config
zsh shell configuration file for OS X... read more
-
Add Dreamweaver Extensions
How to color-code extra extensions in Dreamweaver CS3... read more
-
Replacing text with sed
How to use sed to replace text in files... read more
-
Quit cocoa app on window close
How to make your cocoa application exit when the window is closed... read more
-
Cocoa NSTextView setHidden
How to hide an NSTextView in objective C... read more
-
Change the SSH login message
How to customize your SSH login screen... read more
-
Vi as default crontab editor
Change the default crontab editor... read more
-
Stop cron emails
Stop annoying emails every time a cron job is run... read more
-
Install Ubuntu SSH server
Ubuntu Enterprise 6 doesn't seem to install sshd out-of-the-box... read more
-
Configure Ubuntu w/ Static IP
Ubuntu Enterprise 6 doesn't seem to give an option to enter a static IP during install if you have DHCP available... read more
-
Cake actions from the terminal
How to call CakePHP actions from the command line... read more
-
Find large folders
How to find the largest n folders on linux... read more
-
Delete files by extension
How to recursively delete all files with a given extension on linux... read more
-
Splitting up Django models
Django models are all grouped in one file by default. Here's how to split them up into logical groups... read more
-
Shell coloring for iTerm
Make iTerm easier to use with shell coloring... read more
-
Recover Corrupted Svn DB
How to recover your repository if you're getting 'Corrupted' error messages... read more
-
Useful .bashrc Functions
A couple of useful functions for .bashrc... read more
-
Get SVN Revision No.
Simple one-liner for getting the svn revision number... read more
-
Flash Lite 'Out Of Memory'
How to increase the default memory limit when building Flash Lite applications... read more
-
Turn On Vi Syntax Coloring
How to turn on vi syntax colouring on RedHat... read more