Ramblings of a Code Monger

The weblog of some guy named Cameron Cox

.merbrc

leave a comment »

Add the following to ~/.irbrc

load File.dirname(__FILE__) + '/.merbrc' if $0 =~ /merb/

To give yourself a fancy .merbrc =)

Written by Cameron

May 30, 2008 at 1:27 pm

Posted in Uncategorized

Back to Colloquy

leave a comment »

I tried. I really did. I gave Linkinus more than enough chances, until they get their shit together, I’m sticking with Colloquy.

Written by Cameron

May 9, 2008 at 2:44 pm

Posted in Uncategorized

silly little thin server

leave a comment »

w( rubygems rack thin ).each { |moo| require moo }
run lambda { |env| [200, { 'Content-Type' => 'text/plain' }, [`fortune -o | cowsay`]] }

$ thin start -a 127.0.0.1 -d -r cowthink.ru

Written by Cameron

April 14, 2008 at 3:47 am

Posted in Uncategorized

So I -don’t- forget

leave a comment »

On your server/VPS/file server/awesomesauce

$ sudo mkdir -i /var/git
$ sudo chmod -R 1775 /var/git
$ cd /var/git
$ mkdir project.git
$ cd project.git
$ git --bare init
$ exit

On your workstation

$ cd ~/Projects # this is where I keep my stuff, so YMMV
$ mkdir new-project
$ git init
$ touch README
$ echo "Hello, and welcome to git!" > README
$ git add README
$ git commit -a -m "Hello World!"
$ git remote add origin user@server:/var/git/project.git
$ git push origin master

For read-only pulls, look into git over HTTP or setup git-daemon. It’s not very hard.

Written by Cameron

April 4, 2008 at 8:47 pm

Posted in Uncategorized

Tagged with

Goodbye Typepad, Hello Wankpress…

leave a comment »

Moving the blog around, yet again, as honestly, Typepad isn’t worth the $14/month, since its basically a crippled MovableType platform. Maybe i’ll blog some more. Maybe, maybe not..  Hopefully I managed to point all the old URI’s to wordpress.com  

Written by Cameron

March 31, 2008 at 3:20 am

Posted in Uncategorized

Tagged with , , ,

Dear Sprint

leave a comment »

Dear Sprint…Seriously, what the hell? I want to pay my bill, give you money. But alas, after going jumping through the hoops to “upgrade” my Sprint.com account so I can login, … I can’t login? What the hell is with that? I get no useful errors, I just get redirected back to the login page… Which is TOTALLY unhelpful…If I thought Customer Service wasn’t a fucking joke, (which it is) I might call and be like “WTF? I can’t pay my bill.” But, alas, Customer Service at Sprint is some kind of joke…So, long story short. I want a divorce.

Written by Cameron

March 17, 2008 at 12:16 pm

Posted in Uncategorized

Tagged with ,

NIN:Ghosts

leave a comment »

So… I bought NIN:Ghosts I-IV… now, it would be great if I could fucking listen to the download… but, someone decided to skimp on hardware.Hint: invest in some decent hardware for nin.com, seriously… I’m using curl to download this, what the hell?

Written by Cameron

March 3, 2008 at 5:48 pm

Posted in Uncategorized

Tagged with , , ,

github, wanna invite? I’ve got 5 4 1.

leave a comment »

I’ve got 5 4 1 github invites up for grabs, if you want one it, e-mail me at greetings+github@cameroncox.com.

Written by Cameron

February 27, 2008 at 10:16 pm

Posted in Uncategorized

Tagged with ,

Tagging w/ Typepad?

leave a comment »

Ok, seriously, I like Typepad, but it needs proper tagging, not this Technorati Tags crap…

Written by Cameron

January 26, 2008 at 8:52 am

Posted in Uncategorized

Tagged with ,

New URI

leave a comment »

For anyone that’s noticed… the blog has moved from cameroncox.com/blog/ to blog.cameroncox.com since i’m hosting it with TypePad now

Written by Cameron

January 25, 2008 at 12:25 am

Posted in Uncategorized

Follow

Get every new post delivered to your Inbox.