Skip to content

Instantly share code, notes, and snippets.

View mbunge's full-sized avatar
💭
tinker, tinker, ponder, ponder

Marco Bunge mbunge

💭
tinker, tinker, ponder, ponder
View GitHub Profile
@mbunge
mbunge / HttpErrorHandler.php
Last active August 29, 2015 14:27
Fire http status 500 with Monolog on log level! Usefull when an error occurs.
<?php
/**
*
* @author Marco Bunge <mjls@web.de>
* @copyright 2015 Marco Bunge
* @license http://opensource.org/licenses/MIT
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
curl -L -sS https://getcomposer.org/composer.phar -o composer.phar
@mbunge
mbunge / install-git-kraken-ubuntu
Created September 8, 2017 20:30 — forked from dibmartins/install-git-kraken-ubuntu
install-git-kraken-ubuntu
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo dpkg -i gitkraken-amd64.deb
@mbunge
mbunge / foo
Created September 8, 2017 20:50
Remove duplicates in source.list
#
#
#
cat /etc/apt/sources.list | perl -ne '$H{$_}++ or print' > /tmp/sources.list && sudo mv /tmp/sources.list /etc/apt/sources.list