Skip to content

Instantly share code, notes, and snippets.

/**
* Half size
*/
t3.onclick = (function() {
this.className = (this.swap++ % 2) ? 'baddie half-size' : 'baddie';
});
/**
* Double size
*/
# This file has been auto-generated by
#i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
/**
* Router
*
* Example usage..
*
* var http = require('http');
* var router = new Router();
*
* // Write a simple route..
* router.get('/', function(req, res) {
#!/bin/bash
if [ "$#" -le 0 ]; then
echo "Usage $0 [-n N] (-c|-2|-r|-F|-t) <filename>"
exit 2
fi
FILE="${@: -1}" #File is the last argument
nrOfResult=0
@olund
olund / log_sum.sh
Last active September 16, 2015 15:04
#!/bin/bash
if [ "$#" -le 0 ]; then
echo "Usage $0 [-n N] (-c|-2|-r|-F|-t) <filename>"
exit 2
fi
FILE="${@: -1}" #File is the last argument
nrOfResult=0