Extracting Binary Columns from MS SQL Server
Here's a quick ruby script to extract binary columns from an MS SQL server. In one column, I have the "Content" of the file stored in binary. In another column, I have the "Filename" which I used to write out the binary content.
more...
Setting VIM to Correctly Render ERB
Ruby on Rails 2.0 now uses the .erb suffix on view files. To fix syntax highlighting in VIM on these, add this to your ~/.vimrc file:
au BufNewFile,BufRead *.erb set syntax=eruby
au BufNewFile,BufRead *.builder set syntax=ruby
This is a great workaround until the official syntax highlighting file comes out for .erb in VIM. I also included a line to syntax highlight the builder style pages.
Page 1

