I had this huge git repository (1.9 gigabyte) and I couldn’t discover WHY is was SO big. After reading up on some git cleaning et cetera I did a git gc
. I went from 1.9g to 12mb (megabytes yes). Unbelievable…
Ubuntu & special characters
https://help.ubuntu.com/12.04/ubuntu-help/tips-specialchars.html
I set my Compose Key to Right Alt.
OpenWrt OpenVPN & Gnome Network Manger + tls-remote
I’ve bought myself a Netgear WNDR3800 and put OpenWrt on it. I’m loving it! It’s not as easy to use as Tomato but it is much, much more modular and configurable. One of the first things I did was installing OpenVPN on it. Currently I have OpenVPN running...
Gitlab reque & supervisord
Gitlab needs at least one resque daemon. I always forget to start it when I boot the (virtual) pc where gitlab resides. So I installed supervisord an set up this conf file:
Upgrading OpenElec on the Raspberry Pi
I’ve installed openelec on my Rasberry Pi. It worked great! I upgraded regularly with the prebuild openelec binaries. The upgrade from r11493 to r11691 however went wrong. The system still booted but the screen kept black. After some awesome help...
Upgrading gitlab to the new stable
1 2 3 4 5 | cd ~/public_html/ git checkout stable RAILS_ENV=production rake db:migrate bundle install --without development test --deployment sudo service nginx restart |
Git: an easy way to change authors name
1 2 | git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "LeonB" ]; then export GIT_AUTHOR_NAME="Leon Bogaert"; export GIT_AUTHOR_EMAIL=leon@tim-online.nl; |
After...
Installing & using flexget
Install dependencies from Ubuntu repositories
1 | sudo apt-get install python-setuptools python-transmissionrpc
|
Edit ~/.pydistutils.cfg
How to install gitlab on Ubuntu Server 12.04 (precise) the right way
1 2 3 4 5 6 | add-apt-repository ppa:brightbox/passenger-nginx-testing apt-get update apt-get install nginx-full cat <<EOF > /etc/nginx/conf.d/passenger.conf passenger_root /usr/lib/phusion-passenger;... |
Fixing the "IPv6 addrconf: prefix with wrong length 48" on Ubuntu (server)
1 2 3 4 5 6 7 | touch /etc/sysctl.d/60-ipv6.conf echo "net.ipv6.conf.default.autoconf = 0 net.ipv6.conf.default.accept_ra = 0 net.ipv6.conf.all.autoconf = 0 net.ipv6.conf.all.accept_ra = 0 " > /etc/sysctl... |