- start new session:
tmux
- start new session with name:
tmux new -s sessionname
- show running sessions:
tmux ls
- attach last session:
tmux a
- attach session by name:
tmux a -t sessionname
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 | |
#Megasaturnv 2017-07-28 | |
#Url of the RSS feed | |
RSS_URL="" | |
##Commented version: | |
#Download the rss feed | |
curl --silent "$RSS_URL" | \ | |
#Only match lines with 'title>' or 'description>' |
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
Classic | |
https://www.youtube.com/watch?v=xtLoaMfinbU Tchaikovsky, The Nutcracker | |
https://www.youtube.com/watch?v=7w7vIQe4HU0 Ravel, Piano Concerto for the Left Hand | |
https://www.youtube.com/watch?v=T5oVgqIbOqw Ravel, Ma mère l'oye | |
https://www.youtube.com/watch?v=ydKwY0tqAXQ Beethoven, Sonata Claro de Luna | |
https://www.youtube.com/watch?v=t3217H8JppI Beethoven, Symphony No. 9 | |
https://www.youtube.com/watch?v=arMu4f8rnBk Beethoven, Moonlight Sonata | |
https://www.youtube.com/watch?v=CMc00D8J7i4 Beethoven, Para Elisa | |
https://www.youtube.com/watch?v=eqksy-991sI Georg Friedrich Handel, Concerti Grossi Op 6 | |
https://www.youtube.com/watch?v=DxtAHpYIXdU Dvořák, String Quartet No. 12 in F major, Op. 96 American |
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 | |
# | |
# This scripts checks the given list of packages if they have | |
# reverse dependencies (i.e. there are packages which depends on them). | |
# Dependencies that are on the list are excluded. | |
# | |
# Usage: $0 LIST | |
set -eu | |
SCRIPT_DIR="$(dirname "$(readlink -f "$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
surround.vim | |
= 20160519 = | |
:global /{pattern}/ [cmd] führt ex-Kommando cmd für alle Zeilen, die pattern erfüllen, aus | |
:vglobal ... die pattern nicht erfüllen ... | |
qaq löscht Register a | |
:g/pattern/yank A in Register a anhängen | |
"ap inhalt Register a einfügen | |
:g/pattern/[range] sort sortiert Bereich range |
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
.gem | |
.npm | |
cgi-bin | |
fcgi-bin | |
html | |
lib | |
man | |
share | |
tmp | |
**/node_modules |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
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
// origin: http://www.google.com/support/forum/p/Chrome/thread?tid=1a37ccbdde5902fd&hl=en | |
javascript: | |
timeout=prompt("Set timeout [s]"); | |
current=location.href; | |
if(timeout>0) | |
setTimeout('reload()',1000*timeout); | |
else | |
location.replace(current); | |
function reload(){ |
NewerOlder