Making TextMate recognize .html.erb files

Posted by Jason Noble on 09/21/2008 in ruby, ruby on rails, textmate |

I’m using TextMate to edit some Ruby on Rails code. I noticed that when I edit the view pages (i.e. index.html.erb) it does not do syntax highlighting. It turns out this is because the Ruby on Rails TextMate bundle thinks that ruby view pages are .rhtml, which is the old Ruby on Rails format. You […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.tcshrc [/text] Add a line of text of the format “alias YYY […]

Adding an alias to the Bash Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .bashrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.bashrc [/text] Add a line of text of the format “alias YYY=’ZZZ’” […]

Adding an alias to the Tcsh Shell

Posted by Jason Noble on 09/14/2008 in Uncategorized |

If you run a command frequently, you can create what is called an alias. The alias is usually a shorter form of the original command. To make these aliases permament, you should edit .tcshrc in your home directory. [text] 11:32:07 /Users/jasonn $ vi ~/.tcshrc [/text] Add a line of text of the format “alias YYY […]

Free Online Books

Posted by Jason Noble on 09/10/2008 in Uncategorized |

A co-worker pointed me to a bunch of free online books. Looks pretty cool, I’ll have to check a couple of them out.

Google Chrome first experience

Posted by Jason Noble on 09/03/2008 in Uncategorized |

I just installed Google Chrome, a new web browser by Google. Below is my first experience:

Allow rails users to login via vsftpd

Posted by Jason Noble on 09/02/2008 in FreeBSD, pam, postgres, ruby on rails, vsftpd |

So you’ve installed Ruby on Rails with Postgres, and now you want to allow your users to login to your server via FTP. First we need to install our FTP server. (In the config window, I left the defaults) [text] freebsd-vm# cd /usr/ports/ftp/vsftpd freebsd-vm# make install cd /usr/ports/ftp/vsftpd && make config; […] ports included in […]

1

Installing Ruby on Rails in FreeBSD with Postgres

Posted by Jason Noble on 09/02/2008 in FreeBSD, postgres, ruby, ruby on rails |

After setting up a minimal FreeBSD install, I want to get Ruby on Rails up and running. Let’s see what’s available in the ports tree. [text] freebsd-vm# make search key=gem | grep Path: | grep ruby Path: /usr/ports/audio/rubygem-mp3info Path: /usr/ports/benchmarks/rubygem-railsbench Path: /usr/ports/databases/ruby-dbd_pg Path: /usr/ports/databases/ruby-rdbc1 Path: /usr/ports/databases/rubygem-activerecord […] Path: /usr/ports/devel/ruby-gemfinder Path: /usr/ports/devel/ruby-gems Path: /usr/ports/devel/rubygem-activesupport […] Path: […]

Updating the ports tree in FreeBSD

Posted by Jason Noble on 09/02/2008 in cvsup, FreeBSD, ports |

After setting up a minimal FreeBSD install, I want to update the ports tree to the latest available. FreeBSD provides a program to do this. It’s called cvsup (cvs update). To find the program, I search the ports tree. [text] freebsd# cd /usr/ports freebsd# make search key=cvsup | grep Path: Path: /usr/ports/chinese/auto-tw-l10n Path: /usr/ports/lang/ezm3 Path: […]

Setting up a FreeBSD VM with Parallels under OS X Leopard

Posted by Jason Noble on 09/01/2008 in 10.5, FreeBSD, Leopard, OS X, Parallels |

To read this post with screen shots, use one of the following links: HTML PDF PDF Zip My goal is to have a FreeBSD 7.0 based virtual machine running under Parallels on my OS X 10.5 Leopard iMac. Open Parallels and select File -> New As my server is just for local development, I didn’t […]

Copyright © 2008-2019 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.