Skip to content

Instantly share code, notes, and snippets.

View amenk's full-sized avatar

Alexander Menk amenk

View GitHub Profile
@amenk
amenk / robo
Last active August 19, 2017 09:34 — forked from caseyfw/robo
Bash auto completion for Robo taskrunner (with options) SCP compatible
#!/bin/sh
# see also https://stackoverflow.com/questions/39161770/symfony-based-autocomplete-breaks-scp-autocomplete
# define robo command
ROBO=robo
#ROBO=irobo
function __robo_list_cmds ()
{
@amenk
amenk / tvheadend-make-xbmc-iptv-m3ulist
Created April 30, 2017 12:59 — forked from dreamcat4/tvheadend-make-xbmc-iptv-m3ulist
tvheadend pids are BAD for .m3u file - do not use. Instead get .m3u file from official Inverto website.
#!/bin/sh
set -e # stop if any command returns a non-zero exit code
# #EXTM3U
# #EXTINF:-1 tvg-id="ARD.de" tvg-logo="ardhd" tvg-name="Das Erste HD" group-title="german",Das Erste HD
# http://192.168.0.3/?src=1&freq=11494&sr=22000&pol=h&msys=dvbs2&pids=0,5100,5101,5102,5103,5106
# #EXTINF:-1 tvg-id="ZDF.de" tvg-logo="zdfhd" tvg-name="ZDF HD" group-title="german",ZDF HD
# http://192.168.0.3/?src=1&freq=11362&sr=22000&pol=h&msys=dvbs2&pids=0,6100,6110,6120,6121,6123,6122
# #EXTINF:-1 tvg-id="RTL.de" tvg-logo="rtl" tvg-name="RTL Television" group-title="german",RTL Television
@amenk
amenk / gitlab.sh
Last active August 29, 2015 13:57 — forked from nachtsheim/gitlab.sh
aptitude install -y git curl python-dev python-pip redis-server ruby1.9.1-full rubygems1.9.1 libxml2 libxml2-dev libxslt-dev libpq-dev
aptitude install -y mysql-server libmysqlclient-dev
adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git
adduser --disabled-login --gecos 'gitlab system' gitlab
usermod -a -G git gitlab
su - gitlab
ssh-keygen -q -N '' -t rsa -f /home/gitlab/.ssh/id_rsa
aptitude install gitolite
cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
su - git