archive

professional dilettante

January 2010

.bat Script for Setting Windows Path Environment Variables

I had an install of ruby from source on my USB WD Passport drive. Using the ruby install on my portable drive on multiple windows machines requires updating the Path environment variable to reflect the USB drive letter assigned by that particular machine to my drive. The drive letter could be different each time, depending [...]

Continue Reading »

Sinatra on Webfaction

So I got Sinatra running on my shared host, Webfaction. As I’ve said in past posts, I like working with Sinatra because it lets me write Ruby webapps without all the code required by larger libraries like Ruby on Rails. With Sinatra, I write more code and so it augments my Ruby learning and lets [...]

Continue Reading »

Most Recent Post

create a file from content on your clipboard

You’re on github or something, reading code. You need to add some code to your project. You could: curl or wget the file URL clone the repo, extract single file, move it on file system create the file, open an editor, and paste in the content save as Here’s a terminal command I like. From [...]

Categories

Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes

Entries (RSS)
Comments (RSS)

23 queries.
0.478 seconds.