February 17, 2009

Using GNU Nano in Ubuntu

I was recently installing Warehouse on a Ubuntu Server, and was using nano quite a bit for some simple edits. One thing that was quite annoying was the fact that the “backspace” on my Mac was acting like the forward delete. I figured there had to be a configuration directive somewhere, which I found in /etc/nanorc. I opened that file (remember to use sudo) and un-commented this line out:

## Fix Backspace/Delete confusion problem.
set rebinddelete

That fixed the issue.

Tip: you can search for delete by hitting ctrl+w and typing delete.

December 30, 2008

Good Programming Tips…

http://www.wilshipley.com/blog/2005/02/free-programming-tips-are-worth-every.html

…Are worth every penny! ;)

December 22, 2008

Collaborative Real-Time Editing

EtherPad is a collaborative, real-time text editor created by the originators of AppJet. An EtherPad document is quickly set up without any need for registration. By sharing the URL of the document that you created, others who visit that page will be able to see, in real-time, whatever you’re typing. This is awesome for collaborating on that script, or piece of code that you want your super-duper developer friend to help you on. Currently they have syntax highlighting for JavaScript, but I am assuming that they will begin supporting more languages in the near future. Head on over there and check them out!

November 20, 2008

Adding A User In MySQL

Do you need to quickly add a specific user with access to only a certain table? Issue this command as a root or admin user:

GRANT ALL ON testdb.* TO 'testuser'@'localhost' IDENTIFIED BY 'pass1';

You can also limit user’s privileges to specific ip addresses or domains in case you need to access your databases from a different host.

GRANT ALL ON *.* TO 'testuser'@'remote.farmsoftstudios.com' IDENTIFIED BY 'pass1';

October 1, 2008

Pandora Music Application

I wrote a little application that allows you to play music from Pandora right from your dock. It does not take up a tab in your web browser, and it supports playing while minimized, which Safari does not. You can get it here: http://www.farmsoftstudios.com/pandora/