Free Software gives us essential freedom that other software denies
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 | |
| gnome-terminal --geometry 80x40-0-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 | |
| set -e | |
| shopt -s nullglob | |
| mp3=( ../mp3* ) | |
| for dir in "${mp3[@]}"; do | |
| for artist in "$dir"/*/; do | |
| ar_c="$( echo "$artist" | sed -r 's!//+!/!g; s!/$!!' )" |
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
| --type-set=clojure=.clj,.cljs | |
| --type-set=coffeescript=.coffee | |
| --type-set=markdown=.md,.markdown | |
| --type-set=racket=.rkt |
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 | |
| chromium-browser --user-data-dir="$HOME"/.chromium_ug \ | |
| --user-agent=foo --incognito --kiosk "npo.nl/embed/$1" |
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
| (1..100).each { |x| s=''; s+='Fizz' if x%3==0; s+= 'Buzz' if x%5==0; puts s.empty? ? x : s } |
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
| O = require 'obfusk'; U = require 'underscore' | |
| f = (x) -> O.Just x + 1 | |
| g = (x) -> O.Just x * 42 | |
| h = (x) -> O.Nothing() | |
| x = U.reduce([f,g], O.mbind, O.Just(2)) | |
| y = U.reduce([f,h,g], O.mbind, O.Just(2)) | |
| console.log O.match(x, Nothing: (-> 'too bad'), Just: ((x) -> "#{x.value}!!!")) |
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
| ME=$$; echo "I'm $ME" | |
| ( echo $BASHPID; sleep 5; echo 1; kill -SIGUSR1 $ME ) & | |
| ( echo $BASHPID; sleep 10; echo 2; kill -SIGUSR1 $ME ) & | |
| ( echo $BASHPID; sleep 15; echo 3; kill -SIGUSR1 $ME ) & | |
| foo () { echo "USR1 received"; } | |
| bar () { echo "USR2 received"; } | |
| trap foo SIGUSR1 |
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
| grep -R '[^"]\$@\|\$@[^"]' --exclude-dir=.git . 2>/dev/null | grep -v Binary |