vanutsteen.nl => nerds only » Uncategorized http://v3.vanutsteen.nl A blog on rails, php, computing, my bass guitar and stuff Thu, 20 Sep 2012 06:26:30 +0000 en-US hourly 1 http://wordpress.org/?v=3.5 sudo & vim http://v3.vanutsteen.nl/2012/06/18/sudo-vim/ http://v3.vanutsteen.nl/2012/06/18/sudo-vim/#comments Mon, 18 Jun 2012 20:33:44 +0000 LeonB http://www.vanutsteen.nl/?p=696 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"
]]>
http://v3.vanutsteen.nl/2012/06/18/sudo-vim/feed/ 0
Disabling the oneconf service in Ubuntu http://v3.vanutsteen.nl/2012/06/14/disabling-the-oneconf-service-in-ubuntu/ http://v3.vanutsteen.nl/2012/06/14/disabling-the-oneconf-service-in-ubuntu/#comments Thu, 14 Jun 2012 09:33:20 +0000 LeonB http://www.vanutsteen.nl/?p=694 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).

]]>
http://v3.vanutsteen.nl/2012/06/14/disabling-the-oneconf-service-in-ubuntu/feed/ 0
Opensource Github alternative http://v3.vanutsteen.nl/2012/06/11/opensource-github-alternative/ http://v3.vanutsteen.nl/2012/06/11/opensource-github-alternative/#comments Mon, 11 Jun 2012 11:40:19 +0000 LeonB http://www.vanutsteen.nl/?p=688 While searching for a nice Github alternative (too pricey I think) I came upon this nice alternative. GITLAB
Check it out!

]]>
http://v3.vanutsteen.nl/2012/06/11/opensource-github-alternative/feed/ 0
Changing ip address on Ubuntu server http://v3.vanutsteen.nl/2012/04/10/changing-ip-address-on-ubuntu-server/ http://v3.vanutsteen.nl/2012/04/10/changing-ip-address-on-ubuntu-server/#comments Mon, 09 Apr 2012 23:13:20 +0000 LeonB http://www.vanutsteen.nl/?p=683 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
]]>
http://v3.vanutsteen.nl/2012/04/10/changing-ip-address-on-ubuntu-server/feed/ 0
Kruidvat fotoservice installeren op Ubuntu 12.04 (Precise Pangolin) / Linux http://v3.vanutsteen.nl/2012/04/09/kruidvat-fotoservice-installeren-op-ubuntu-12-04-precise-pangolinlinux/ http://v3.vanutsteen.nl/2012/04/09/kruidvat-fotoservice-installeren-op-ubuntu-12-04-precise-pangolinlinux/#comments Mon, 09 Apr 2012 11:50:53 +0000 LeonB http://www.vanutsteen.nl/?p=674 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.

]]>
http://v3.vanutsteen.nl/2012/04/09/kruidvat-fotoservice-installeren-op-ubuntu-12-04-precise-pangolinlinux/feed/ 0
ACTA / SOPA / PIPA http://v3.vanutsteen.nl/2012/01/27/acta-sopa-pipa/ http://v3.vanutsteen.nl/2012/01/27/acta-sopa-pipa/#comments Fri, 27 Jan 2012 18:13:30 +0000 LeonB http://www.vanutsteen.nl/?p=596 Iedereen die het nog niet gedaan heeft: onderteken de ACTA petitie nu!

]]>
http://v3.vanutsteen.nl/2012/01/27/acta-sopa-pipa/feed/ 0
vim on github! http://v3.vanutsteen.nl/2011/08/05/vim-on-github/ http://v3.vanutsteen.nl/2011/08/05/vim-on-github/#comments Thu, 04 Aug 2011 22:09:27 +0000 LeonB http://www.vanutsteen.nl/?p=518 Vim is now on a github repository. Check: https://github.com/LeonB/vim

]]>
http://v3.vanutsteen.nl/2011/08/05/vim-on-github/feed/ 0
Problems with Zend Studio on 64 bit Linux http://v3.vanutsteen.nl/2009/07/20/problems-with-zend-studio-on-64-bit-linux/ http://v3.vanutsteen.nl/2009/07/20/problems-with-zend-studio-on-64-bit-linux/#comments Mon, 20 Jul 2009 07:52:55 +0000 LeonB http://www.vanutsteen.nl/2009/07/20/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!

]]>
http://v3.vanutsteen.nl/2009/07/20/problems-with-zend-studio-on-64-bit-linux/feed/ 0
Upgrading wordpreess http://v3.vanutsteen.nl/2009/07/18/upgrading-wordpreess/ http://v3.vanutsteen.nl/2009/07/18/upgrading-wordpreess/#comments Sat, 18 Jul 2009 07:59:09 +0000 LeonB http://www.vanutsteen.nl/2009/07/18/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.

]]>
http://v3.vanutsteen.nl/2009/07/18/upgrading-wordpreess/feed/ 0
Using sqlite in Netbeans 6.7 http://v3.vanutsteen.nl/2009/06/30/using-sqlite-in-netbeans-6-7/ http://v3.vanutsteen.nl/2009/06/30/using-sqlite-in-netbeans-6-7/#comments Tue, 30 Jun 2009 13:28:24 +0000 LeonB http://www.vanutsteen.nl/2009/06/30/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!

]]>
http://v3.vanutsteen.nl/2009/06/30/using-sqlite-in-netbeans-6-7/feed/ 0
Installing non-free plugins in Jaunty (9.04) http://v3.vanutsteen.nl/2009/04/26/installing-non-free-plugins-in-jaunty-904/ http://v3.vanutsteen.nl/2009/04/26/installing-non-free-plugins-in-jaunty-904/#comments Sun, 26 Apr 2009 10:29:20 +0000 LeonB http://www.vanutsteen.nl/2009/04/26/installing-non-free-plugins-in-jaunty-904/ Make sure you have the medibuntu repository enabled.

aptitude install non-free-codecs

Now I can play mms:// streams.

]]>
http://v3.vanutsteen.nl/2009/04/26/installing-non-free-plugins-in-jaunty-904/feed/ 0
Images & why you need com_resize http://v3.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/ http://v3.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/#comments Sat, 24 May 2008 21:37:18 +0000 LeonB http://www.vanutsteen.nl/?p=72 I the release post of com_resized there was asked the question why one should use com_resize. There are three reasons to use it:

  1. The generated images aren the size you want them to be. So they’re smaller of size than the original images.
  2. You won’t get any ugly resized images (see the example below).
  3. It works with remote images. So you can link to an image one someone else’s blog and they get resized to the size you want + cached. So that way they get loaded from your own server: so faster.

No more ugly resized images:

The one on the left is without com_resize. The one on the right is _with_ com_resize. If you don’t see any difference. Your browser is probably doing some fancy stuff with the image. In that case you don’t need com_resize. But maybe the readers of your blog do!

For the people who don’t see any difference (leave a comment with your OS + browser, please!) I have attached a screenshot. Made in IE6, so the font is ugly too :)

]]>
http://v3.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/feed/ 8
bt45′s and tire pressure http://v3.vanutsteen.nl/2008/05/19/bt45s-and-tire-pressure/ http://v3.vanutsteen.nl/2008/05/19/bt45s-and-tire-pressure/#comments Mon, 19 May 2008 13:22:57 +0000 LeonB http://www.vanutsteen.nl/?p=67 I always forget what tire pressure my Bridgestone battlax BT45′s have. So now to never forget:

2.5 & 2.8

(front & rear)

]]>
http://v3.vanutsteen.nl/2008/05/19/bt45s-and-tire-pressure/feed/ 0
pushing all git remote repositories http://v3.vanutsteen.nl/2008/05/19/pushing-all-git-remote-repositories/ http://v3.vanutsteen.nl/2008/05/19/pushing-all-git-remote-repositories/#comments Mon, 19 May 2008 13:13:20 +0000 LeonB http://www.vanutsteen.nl/?p=66 I’m now working on a project that is hosted on github AND rubyforge. And lazy as I am, I don’t want to do:

git push origin
git push rubyforge

That’s why I create a handy shortcut for it and placed it in my ~/.bashrc:

function git-push-all() {
for remote in `git remote`; do
git push $remote
done
}

What it does: it lists all remote repositories linked to that git project and pushes them all. Usage:

git-push-all

Don’t get confused with “git-push –all”! That’s something completely different!

]]>
http://v3.vanutsteen.nl/2008/05/19/pushing-all-git-remote-repositories/feed/ 0
Aaahhh http://v3.vanutsteen.nl/2008/05/02/aaahhh/ http://v3.vanutsteen.nl/2008/05/02/aaahhh/#comments Fri, 02 May 2008 14:44:20 +0000 LeonB http://www.vanutsteen.nl/?p=52 30 April was queens day (?) and 1 may was labourday /  Ascension Day. So I didn’t have to go to work. But when I came home (I live 100km from my work or so) I noticed I forgot to pack the adapter of my notebook. I had 1,5 hours of power left. So I checked my mail and hibernated it. *Sigh* two days without hacking any software… And to make things worse. I now have my adapter back, but I was stupid enough to rip the coax to pieces. After work, first stop: hardware store! I must have Internet tonight!

]]>
http://v3.vanutsteen.nl/2008/05/02/aaahhh/feed/ 0
com_resize on wordpress plugins http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/ http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/#comments Sun, 27 Apr 2008 22:24:56 +0000 LeonB http://www.vanutsteen.nl/?p=48 Because I expect a huge, huge demand of my com_resize plugin, I have put it on the wordpress site :)

Now I hope it gets approved.

]]>
http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/feed/ 6
Some Wine and Hardy http://v3.vanutsteen.nl/2008/04/25/some-wine-and-hardy/ http://v3.vanutsteen.nl/2008/04/25/some-wine-and-hardy/#comments Fri, 25 Apr 2008 21:57:22 +0000 LeonB http://www.vanutsteen.nl/?p=41 Wine still segfaults on me with Hardy Heron! I’m gonna look if this still works:

Does not work (segfaulting):
mkdir ~/src
cd ~/src
sudo -i
apt-get build-dep wine &amp;&amp; apt-get source --build wine

This does work:
mkdir ~/src
cd ~/src
sudo -i
apt-get source wine
cd wine-0.9.55
./configure
make depend &amp;&amp; make
sudo make install

(for me)
]]>
http://v3.vanutsteen.nl/2008/04/25/some-wine-and-hardy/feed/ 0
Where am I going to host my project? http://v3.vanutsteen.nl/2008/02/20/where-am-i-going-to-host-my-project/ http://v3.vanutsteen.nl/2008/02/20/where-am-i-going-to-host-my-project/#comments Wed, 20 Feb 2008 09:59:50 +0000 LeonB http://www.vanutsteen.nl/2008/02/20/where-am-i-going-to-host-my-project/ In my previous blog item I asked the question: where am I going to host my (git) project? John Nunemaker mentioned github for hosting git projects. Maybe I’m gonna look at that when I’m done with my house.

]]>
http://v3.vanutsteen.nl/2008/02/20/where-am-i-going-to-host-my-project/feed/ 0