Skip to content

Instantly share code, notes, and snippets.

Rune runeh

  • Oslo
Block or report user

Report or block runeh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View controllers.js
app.controller( 'AppCtrl', function ($scope, socket) {
socket.onopen(
function(){
console.log('Socket is connected :D')
}
)
socket.onclose(
function(){
console.log('Socket is disconnected :(')
}
View git-loglive
#!/bin/bash
while :
do
clear
lines=`tput lines`
lines=`expr $lines - 2`
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all --color $* | head -n $lines
sleep 1
done
You can’t perform that action at this time.