How to Install Cockatrice on Ubuntu 13.10 (Saucy)

Recently, I’ve been playing Magic the Gathering after having last played it in 1998. I heard about this program called ‘cockatrice’ to test my decks, but couldn’t compile it on my Xubuntu 13.10 desktop. Finally I found out I could do it with the ‘clang’ compiler.

Here’s how to compile and install it:

Simply open a terminal (Ctrl + Alt + T) and copy a execute each command:

If you need the cards list or Windows/Mac binaries, go to Woogerworks. read more

Qliner Hotkeys on Windows 7 x64

Qliner Hotkeys
Qliner Hotkeys

A thing that makes a programmer produce faster is assigning tasks to shortcut keys.

I’ve always relied upon Qliner Hotkeys (http://qliner.com/hotkeys/) software to do this.

Unfortunately, Qliner Hotkeys doesn’t work on 64 bit systems and doesn’t seem to be updated anymore.

Fortunately, this is easy to solve:

  1. Download Qliner Hotkeys (http://qliner.com/hotkeys/. This article assumes the latest version is 2.0.1
  2. Open the installed hotkeys.exe file in your favorite hex editor
  3. At offset 0x1018 ($1018 if you prefer this notation :D), there should be a byte with the value ‘0x01’. Change it to ‘0x03’
  4. Reboot. Everything should be ok.

What we did here was adding a flag (00000001 -> 00000011) to tell the executable to load 64 bit libraries instead of 32 bit ones, when needed.

Have fun automating everything with your keyboard. 😉 read more