Entries Tagged 'Uncategorized' ↓

sudo & vim

I had some minor annoyance while using Vim on the commandline. Whenever I did: `sudo vim` my Vim plugin wheren’t loaded (root had no .vimrc). I discovered that you can add environmental variables to sudo so I added this to my ~/.bash_aliases:

alias sudo="sudo MYVIMRC=$HOME/.vimrc"

Disabling the oneconf service in Ubuntu

Oneconf was eating up a lot of memory on my system. But if you purge the oneconf package it also removes the ubuntu-desktop and software-center package. And I wanted to keep those. Especially ubuntu-desktop.

David Anderson had a nice post about this on the Ubuntu launchpad. He suggested to do the following:

sudo chmod a-x /usr/share/<wbr>oneconf/<wbr>oneconf-<wbr>service
sudo chmod a-x /usr/share/<wbr>oneconf/<wbr>oneconf-<wbr>query
sudo chmod a-x /usr/share/<wbr>oneconf/<wbr>oneconf-<wbr>update

So I did and it works great. No more oneconf service and I didn’t notice any other problems (yet).

Opensource Github alternative

While searching for a nice Github alternative (too pricey I think) I came upon this nice alternative. GITLAB
Check it out!

Changing ip address on Ubuntu server

Easy as pie:

ifconfig eth0 192.168.5.120 netmask 255.255.255.0 up
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.5.1

Kruidvat fotoservice installeren op Ubuntu 12.04 (Precise Pangolin) / Linux

Ik wilde een paar foto’s afdrukken op een groot formaat en het was eerste paasdag. Dus toen ben ik maar gaan zoeken naar fotosites die Linux ondersteunen. 1 van de weinige die Linux (een beetje) ondersteunt is Kruidvat.

Zij bieden losse software aan die op Linux draait. Dat klopte maar ik moest wel eerst nog wat (aparte) dingen installeren voordat de fotosoftware van Kruidvat werkte op Linux:

sudo apt-get install libstdc++6:i386 libfontconfig1:i386 libsm6:i386

Vervolgens de software zelf nog even:

wget http://www.kruidvat.nl/fotoservice/bestelsoftware-download-windows-download-windows-start.html?version=linux
tar -xzvf setup_Kruidvat_fotoservice.tgz
./install.pl

Kruidvat fotoservice op Ubuntu Linux

Daarna kwam ik erachter dat Pixnum ook Linux ondersteunt met verschillende uploaders (Flash, FTP & Java) en goedkoper is dan Kruidvat. Toen waren de foto’s echter al besteld. Misschien voor de volgende keer dus.

ACTA / SOPA / PIPA

Iedereen die het nog niet gedaan heeft: onderteken de ACTA petitie nu!

vim on github!

Vim is now on a github repository. Check: https://github.com/LeonB/vim

Problems with Zend Studio on 64 bit Linux

When removing Wine, lib32nss-mdns got uninstalled and Zend Studio refused to connect with any FTP server. After reinstalling the package everything worked again!

Upgrading wordpreess

I had some small troubles with updating this wordpress blog. It kept wanting to upgrade via ftp/sftp. But I found this great post which has a solution.

Using sqlite in Netbeans 6.7

I’ve tried to use sqlite some time ago in Netbeans but I couldn’t get it working. Bot I stumbled upon a blogpost which works perfectly!