jq is useful to slice, filter, map and transform structured json data.
brew install jq
| @import 'https://fonts.googleapis.com/css?family=Open+Sans'; | |
| * { | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Open Sans', sans-serif; | |
| line-height: 1.75em; |
| #!/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 |
| #!/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 | |
| } |
| # 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() |
| @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; | |
| } |
apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start| import selenium | |
| import time | |
| from selenium import webdriver | |
| browser = webdriver.PhantomJS("phantomjs") | |
| browser.get("https://twitter.com/StackStatus") | |
| print browser.title | |
| pause = 3 |
As answers to this Stack Overflow question
reveal, using <!--- and ---> or <!-- and --> works (view source by clicking "Raw"):