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 8000Each 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 8000As answers to this Stack Overflow question
reveal, using <!--- and ---> or <!-- and --> works (view source by clicking "Raw"):
| import selenium | |
| import time | |
| from selenium import webdriver | |
| browser = webdriver.PhantomJS("phantomjs") | |
| browser.get("https://twitter.com/StackStatus") | |
| print browser.title | |
| pause = 3 | 
apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start| @font-face { | |
| font-family: 'Inconsolata Patched'; | |
| src: local('Inconsolata Patched'), url('https://rawgit.com/ryanoasis/nerd-fonts/master/patched-fonts/Inconsolata/Inconsolata%20for%20Powerline%20Plus%20Nerd%20File%20Types%20Mono%20Plus%20Font%20Awesome%20Plus%20Octicons%20Plus%20Pomicons.otf') format('opentype'); | |
| } | |
| * { | |
| text-rendering: optimizeLegibility; | |
| } | 
| # vim: set ft=python: | |
| # see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645 | |
| # source: https://github.com/mpv-player/mpv/issues/2149 | |
| # source: https://github.com/mpv-player/mpv/issues/566 | |
| # source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy | |
| import vapoursynth | |
| core = vapoursynth.get_core() | 
| #!/bin/bash | |
| # Give numeric value, which is in bytes | |
| # will show all possible conversions | |
| call_bc() { | |
| n1=$1 | |
| n2=$2 | |
| echo "scale=4; $n1/($n2)" |bc | |
| } | 
| #!/bin/bash | |
| # tunejack.sh uses the TuneIn public API (at opml.radiotime.com) to search for | |
| # a radio station, print out its details and try to play it somehow. | |
| if [ "$#" -eq 0 ]; then | |
| echo "$0: search for a radio station using the TuneIn API" | |
| echo "Usage: $0 PATTERN" | |
| exit 1 | |
| fi |