Skip to content

Instantly share code, notes, and snippets.

@cybic
cybic / Update remote
Created May 14, 2013 08:39
Kjør i git-repo for å oppdatere fra git.api.no til github
git remote set-url origin $(git remote show origin -n | grep "Fetch" | sed 's/.*\//[email protected]:amedia\//')
@cybic
cybic / watchforless.sh
Created September 18, 2012 12:35
Watch for changes in less files
#!/bin/bash
lesscommand="lessc"
inotifywait -qrm $1 |
while read line
do
#echo Plain {$line}