Minecraft 64-bit on OSX Snow Leopard

So, 1.2’s a little slower for some reason and I wanted some speed. I did a little googling around and found a few ways to enable x86_64 capabilities with the OSX Minecraft client.

Minecraft’s JavaApplicationStub needs to be replaced, so back it up then link the new one in by running the following commands from [Terminal](http://en.wikipedia.org/wiki/Terminal_(Mac_OS_X):

cp /Applications/Minecraft.app/Contents/MacOS/JavaApplicationStub /Applications/Minecraft.app/Contents/MacOS/JavaApplicationStub.orig
ln -s /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub /Applications/Minecraft.app/Contents/MacOS/`

Add 64-bit to the application’s capabilities by running the following command:

[Read More]

FTP to localhost and iptables firewall

I had an issue recently where I needed to allow FTP access to a server, as WordPress is a lot happier if you can allow it to (S)FTP to the account to do things. I didn’t want to allow it to clients outside the server, so I had to muck around with the iptables-based firewall I have. To work out what rules I had setup on startup, I checked out the script I have setup on startup on my linux host.

[Read More]

Adding a new node to Puppet

A quick way to add a new node to a Puppet-managed system is as follows… (I run Ubuntu, but this should work on most systems)

On the new node, run this:

sudo puppetd --test --waitforcert 5

On the puppet server, run this (in a separate window, without closing the previous command):

sudo puppetca --list

It should show the hostname of the new node you’re trying to add, if you find it run the following:

[Read More]

Enabling markdown syntax for .md files in MacVim

Find where you installed it, in my case it was as below because I installed it with Homebrew:

/usr/local/Cellar/macvim/7.3-64/MacVim.app

Edit this file:

/Contents/Resources/vim/runtime/filetype.vim

Remove “.md” from the lines below:

Modula 2
au BufNewFile,BufRead *.m2,*.DEF,*.MOD,*.md,*.mi setf modula2

Search for the following:

au BufNewFile,BufRead *.markdown,*.mdown,*.mkd,*.mkdn,README.md setf markdown

Add the below near the end of line, directly after “README.md”

*.md

Restart MacVim and you’ll be good to go.

[Read More]

Ranty MacRant

You really have to worry when reading a site called MacStories, and of all the posts in the last three or four days, there’s only two posts which aren’t about iP(a/o)ds.

Where’s the mac? I’m not a terrible Apple fanboi, but I do like OSX, and my Classic iPod. I’m not entirely sold on the iPod shuffle that I got given, but it’s little and free, so I’ll use it for running. But when I go to a site called MAC STORIES, give me stories about macs. You suck site, die.

[Read More]

Shopping trip for my health!

So, I’ve decided to do some exercise, and this time I might actually go ahead with it. This jogging thing isn’t terrible, and I’ve got a goal.  The Old Cleveland -> Creek -> Stanley loop is my current one, and being able to do it at a slow jog without having to stop is the aim.

I bought a pair of shoes, Mizuno Wave Inspire 8’s, in a size 15. Quite comfy actually. I went for a jog, and when I had them done up too tight I got the terrible foot pain issues I’ve had in the past.

[Read More]

Keyboard issues on Macbook (and Pro) with Ubuntu and VMWare Fusion

So, it seems if you’re running a recent Ubuntu install (l/m/n/o initials) and you use Easy Install on VMWare Fusion you’ll have issues with keymaps. Up and down arrow, and a few other keys might play up too.

There’s a simple trick, run this from the console as an admin (sudo if you please):

dpkg-reconfigure console-setup

When it asks what kind of keyboard you have, hit “m” to select Macbook then hit enter. Keep hitting enter (or letter keys to select options, multiple taps on the same letter will scroll) and you’ll get your way through.

[Read More]