Skip to content

Instantly share code, notes, and snippets.

View larsvegas's full-sized avatar

larsvegas larsvegas

View GitHub Profile
@larsvegas
larsvegas / SuhailPublisher-koelncamps.com.md
Last active December 28, 2015 23:39
SuhailPublisher installation guide @ koelncampus.com

SynPro.io

SuhailPublisher installation guide @ koelncampus.com

What we did

  1. killed cron.exe, the old playlist tool
  2. All the tasks of the Installation Guide - see below
@larsvegas
larsvegas / Suhail-info.md
Last active December 28, 2015 23:39
Suhail - a Radiostation Playlist Meta-Data Service

SynPro.io


Suhail

A Radio-Station Playlist Meta-Data Service

Situation

@larsvegas
larsvegas / surabaya.md
Last active December 28, 2015 10:08
An OH of Tripod by academies
@larsvegas
larsvegas / pump-default-content-into-static-pages-kc.sh
Created October 25, 2013 12:32
Pump default content in all static pages except home. koelncampus.com, kconline
#!/bin/sh
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# run from kc201x/app/views/pages
#
cat programm/programmtipps.html.erb > ../../../doc/default-content.html.erb
find . -iname '*.html.erb' -not -iname 'home.html.erb' -type f -print0 -exec bash -c 'cat ../../../doc/default-content.html.erb > {}' \;
#!/bin/sh
sudo lsof | grep deleted | awk '{print $2}' | grep -v 1 | xargs sudo kill -USR1
@larsvegas
larsvegas / create-kconline-db.sql
Last active December 16, 2015 22:09
create kconline user and databases
-- create database and user kconline
create database kconline;
grant usage on *.* to kconline@localhost identified by "kconline";
grant all privileges on kconline.* to kconline@localhost ;
-- create database and user kconline_test
create database kconline_test;
grant usage on *.* to kconline_test@localhost identified by "kconline_test";
grant all privileges on kconline_test.* to kconline_test@localhost ;
@larsvegas
larsvegas / vimrc-solarized-settings.vim
Created April 23, 2013 10:10
.vimrc-solarized-settings
"" Use a Colorscheme
Bundle 'altercation/vim-colors-solarized'
syntax enable " Turn on syntax highlighting.
"set background=light
set background=dark
set t_Co=256 " 256 colors
"" colorscheme solarized settings
"" optionname defaults
let g:solarized_termcolors=256 " 16 | 256
let g:solarized_termtrans=0 " 0 | 1
@larsvegas
larsvegas / stolen-retina-macbook-learnings-security.md
Created April 22, 2013 16:10
What i learned from my stolen Apple MacBook Retina about remote swiping a built in honeypot and data security in general.

What i learned from my stolen Apple MacBook Retina about remote swiping, a built in honeypot and data security in general.

@larsvegas
larsvegas / gist:5092000
Last active December 14, 2015 13:18 — forked from lucasfais/gist:1207002

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@larsvegas
larsvegas / rsync-backup.sh
Created February 27, 2013 10:21
remote rsync backup ubuntu ssh
#!/bin/sh
#
# rsync backup a machine remotly
#
# http://ubuntuextreme.blogspot.de/2009/01/how-to-use-rsync-for-backup.html
# https://help.ubuntu.com/community/rsync