Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
| ## | |
| # WHOIS servers for new TLDs (http://www.iana.org/domains/root/db) | |
| # Current as of 2017-12-10 UTC | |
| ## | |
| \.aarp$ whois.nic.aarp | |
| \.abarth$ whois.afilias-srs.net | |
| \.abbott$ whois.afilias-srs.net | |
| \.abbvie$ whois.afilias-srs.net | |
| \.abc$ whois.nic.abc |
| var inputbox = $('#bufferInputView' + cb().bid()); | |
| var msg = inputbox.val(); | |
| inputbox.val(""); | |
| var cc = "\u0003"; | |
| var bold = "\u0002"; | |
| var reset = "\u000f"; | |
| var italic = "\u0016"; | |
| var underline = "\u001f"; | |
| cb().say(msg.replace(/&b/g,bold).replace(/&r/g,reset).replace(/&i/g,italic).replace(/&u/g,underline).replace(/&/g,cc)); |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
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 script was created to convert a directory full | |
| # of markdown files into rst equivalents. It uses | |
| # pandoc to do the conversion. | |
| # | |
| # 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
| # 2. Copy this script into the directory containing the .md files | |
| # 3. Ensure that the script has execute permissions | |
| # 4. Run the script | |
| # | |
| # By default this will keep the original .md file |