November 2010
5 posts
2 tags
Using python and Oracle on Ubuntu
First of all, download Oracle Database 10g Express Edition (around 200MB) after you complete a free registration for Ubuntu. If you don’t have 1GB of swap, then you cannot continue with the installation unless you create some: $ sudo dd if=/dev/zero of=/swpfs1 bs=1M count=1000 $ sudo mkswap /swpfs1 $ sudo swapon /swpfs1 (taken from here) Then after the installation is completed, you can...
Nov 16th
Don't install slime via apt-get (at least for...
I had huge problems with my .emacs setup when I moved it to an Ubuntu 10.10 box. I could connect with slime-connect to my swank server but I couldn’t eval anything. I was going ballistic for a couple of hours (I have my .emacs setup on bitbucket and it works perfectly) until I tried to connect remotely to the swank server (so I could at least blame the server). But remotely everything kept...
Nov 14th
Installing Clojure in Ubuntu 10.10 [the easy way]
Installing Clojure in Ubuntu can be found in a lot of places and that’s the bad thing. A lot of copy/paste and things that are out of date (like Java). I’ve been installing Clojure in a couple of Amazon servers for a cluster, so I gathered ALL the info in one big-huge line. What this line does: Installs add-apt-repository (so we can add Sun’s Java 6 JDK - it’s not available by...
Nov 12th
2 tags
Starting ubuntu 10.10 (64bit) on Amazon EC2
Instead of searching around AMI’s, Ubuntu’s here: You can search with this is id (for West Europe): ami-505c6924
Nov 12th
1 note
Convert date to sql date in Clojure
It seems simple (everything is simple after you’ve seen the solution) but couldn’t find a post so here it goes:
Nov 9th