# create a new session and run command
tmux new -d -s NAME 'echo "DONE1"'
# add a new window to the previous session and run another command
tmux new-window -t NAME 'echo "DONE2"'
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
#!/usr/bin/env python3 | |
calendar_name = 'Abfallkalender.ics' | |
# set replacement string | |
replacement = """BEGIN:VALARM | |
TRIGGER:-PT12H | |
REPEAT:1 | |
DURATION:PT15M | |
ACTION:DISPLAY |
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
#!/usr/bin/env python3 | |
import matplotlib.pyplot as plt | |
import numpy as np | |
# Allgemein | |
x = np.arange(7) # Jahre | |
km = 15000 # Anzahl Kilometer pro Jahr | |
# Benzin |
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
for x in `lynx http://cdn.media.ccc.de/congress/31C3/h264-hd-web/ --dump | grep "http" | grep "31c3" | cut -c 7-`; do | |
wget -nc $x; | |
done |