vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Cleaning up Git

on in Development, Linux

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…

git-gc - Cleanup unnecessary files and...

Gitlab reque & supervisord

on in Linux, Python, Ruby

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:

/etc/supervisor/conf.d/resque.conf
...

Upgrading gitlab to the new stable

on in Linux, Ruby

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

Installing & using flexget

on in Linux, Python

Install dependencies from Ubuntu repositories

1
sudo apt-get install python-setuptools python-transmissionrpc

Edit ~/.pydistutils.cfg

...