- Wat by Gary Bernhardt, CodeMash 2012
- Introduction to NoSQL by Martin Fowler, GOTO Aarhus 2013
- Designing a Beautiful REST+JSON API by Les Hazlewood, 2012
- The Birth & Death of JavaScript by Gary Bernhardt, PyCon 2014
- Simple Made Easy by Rich Hickey, 2011
- The Future of Programming by Bret Victor, DBX conference 2013
This file contains 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
lines with $ are commands | |
### install mkvtoolnix: | |
$ brew install mkvtoolnix | |
### list content of the mkv-file: | |
$ mkvmerge -i mymoviefile.mkv | |
### what will give you: |
This file contains 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 | |
MIN_RATING=7 | |
MIN_VOTES=50000 | |
usage="usage: imdb-ratings.sh -r MIN_RATING -v MIN_VOTES" | |
while getopts "r:v:h" options; do | |
case $options in | |
h ) echo $usage | |
exit 0 |
This file contains 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
node >= 0.4.1 | |
node-static >= 0.5.9 | |
put somewhere in your $PATH and: | |
webserver /path/to/dir | |
# will serve files from that dir | |
webserver . | |
# will serve from current dir |
This file contains 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/sh | |
echo "<?php phpinfo() ?>" | php |
This file contains 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/sh | |
# downloads the audio-stream of a youtube video into a mp3 file | |
youtube-dl -x $1 --audio-format mp3 |
This file contains 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
[Desktop Entry] | |
Name=KODI WITH ALSA | |
Comment=This session will start kodi with alsa | |
Exec=/home/berni/bin/kodi_alsa.sh | |
TryExec=/home/berni/bin/kodi_alsa.sh | |
Type=Application |
This file contains 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
# Mass convert CR2 (Raw Image File) to JPEG in macOS command-line. | |
mkdir Converted | |
for i in *.CR2; do sips -s format jpeg $i --out Converted/$i.jpg;done |