This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Router | |
* | |
* Example usage.. | |
* | |
* var http = require('http'); | |
* var router = new Router(); | |
* | |
* // Write a simple route.. | |
* router.get('/', function(req, res) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Half size | |
*/ | |
t3.onclick = (function() { | |
this.className = (this.swap++ % 2) ? 'baddie half-size' : 'baddie'; | |
}); | |
/** | |
* Double size | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Predawn/predawn.tmTheme", | |
"default_encoding": "UTF-8", | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
"Desktop.ini", | |
"*.pyc", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO Deliveries (S, P, QTY) | |
VALUES (1, 1, 300), | |
(1,2,200), | |
(1,3,400), | |
(1,4,200), | |
(1,5,100), | |
(1,6,100), | |
(2,1,300), | |
(2,2,400), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme", | |
"default_encoding": "UTF-8", | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
"Desktop.ini", | |
"*.pyc", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="intheloop" | |
# Example aliases |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<typename T> | |
void List<T>::insertAt(T data, int pos) { | |
// Om pos = 0, lägg först | |
// Listan är tom: lägg först | |
// Pos > antalet noder, lägg sist | |
// pos > & <= antalet noder lägg emellan. | |
// skapa en ny nod | |
if(pos < 0) { |
NewerOlder