I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
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
Anonymous "Accept" | |
Anonymous "Accept-Charset" | |
Anonymous "Accept-Encoding" | |
Anonymous "Accept-Language" | |
Anonymous "Authorization" | |
Anonymous "Cache-Control" | |
Anonymous "Connection" | |
Anonymous "Content-Length" | |
Anonymous "Content-Type" | |
Anonymous "Cookie" |
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
#EXTM3U | |
#EXTINF:0,Radio France - FIP | |
https://stream.radiofrance.fr/fip/fip_hifi.m3u8 | |
#EXTINF:0,Radio France - FIP Reggae | |
https://stream.radiofrance.fr/fipreggae/fipreggae_hifi.m3u8 | |
#EXTINF:0,Radio France - FIP World | |
https://stream.radiofrance.fr/fipworld/fipworld_hifi.m3u8 | |
#EXTINF:0,Radio France - FIP Nouveautés | |
https://stream.radiofrance.fr/fipnouveautes/fipnouveautes_hifi.m3u8 | |
#EXTINF:0,Radio France - FIP Electro |
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
#EXTM3U | |
#EXTINF:0,France Culture - direct | |
http://direct.franceculture.fr/live/franceculture-midfi.mp3 | |
#EXTINF:0,France Inter | |
http://icecast.radiofrance.fr/franceinter-hifi.aac?id=radiofrance | |
#EXTINF:0,France Musique | |
http://direct.francemusique.fr/live/francemusique-midfi.mp3 | |
#EXTINF:0,France Info | |
https://stream.radiofrance.fr/franceinfo/franceinfo_hifi.m3u8 | |
#EXTINF:0,France Culture - alternative link |
Unionize lets you connect together docker containers in arbitrarily complex scenarios.
Note: I recommend to use https://github.com/jpetazzo/pipework instead.
- pipework is a better name than unionize
- it's hosted on a "real" github repo instead of a small gist :-)
Now if you want Unionize, it's still here. Just check those examples.
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
echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event | |
cat /sys/kernel/debug/tracing/trace_pipe > out.txt | |
(Leave it running a couple of seconds, then Ctrl+C; this is just to flush the buffer) | |
cat /sys/kernel/debug/tracing/trace_pipe > out.txt | |
(Leave it running a couple of seconds, then Ctrl+C; this is to recover the data) | |
cut -d- -f2 out.txt | awk '{print $1}' | sort | uniq -c | sort -n |
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
echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event | |
cat /sys/kernel/debug/tracing/trace_pipe > out.txt | |
(Leave it running a couple of seconds, then Ctrl+C; this is just to flush the buffer) | |
cat /sys/kernel/debug/tracing/trace_pipe > out.txt | |
(Leave it running a couple of seconds, then Ctrl+C; this is to recover the data) | |
cut -d- -f2 out.txt | awk '{print $1}' | sort | uniq -c | sort -n |
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 | |
cd $SERVICE_APPROOT | |
[ -d ~/env ] || | |
virtualenv --python=python2.7 ~/env || exit 1 | |
. ~/env/bin/activate | |
[ -f requirements.txt ] && | |
pip install --download-cache=~/.pip-cache -r requirements.txt || exit 1 |