I wrote this in response to Gurman's tweet. I remember answering in News Nerdery, but it was sadly lost to the void. :(
The CSV Swiss-army knife that trumps all others. Written in Rust, so it's absurdly fast in a way that's still kind of shocking.
I wrote this in response to Gurman's tweet. I remember answering in News Nerdery, but it was sadly lost to the void. :(
The CSV Swiss-army knife that trumps all others. Written in Rust, so it's absurdly fast in a way that's still kind of shocking.
I still enjoy using Apple products and prefer them over alternatives, but in recent years, an increasing number of small bugs has made using them less pleasant. No single bug is fatal, but they add up. I wanted to document them to make it more likely that they will be fixed.
There are two main topics:
import requests | |
import json | |
from os import makedirs | |
from os.path import join, exists | |
from copy import copy | |
import requests | |
LIST_ENDPOINT='http://api.viewers-guide.hbo.com/service/charactersList' | |
FEATURED_ENDPOINT='http://api.viewers-guide.hbo.com/service/charactersFeatured' | |
DETAIL_ENDPOINT='http://api.viewers-guide.hbo.com/service/characterDetails' | |
DEFAULT_PARAMS = {'lang': 1} |
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
Linux installation notes (tested under Ubuntu 14.04LTS/12.04LTS), assuming VirtualBox is already installed on host.
import ui | |
# Mapping based on http://www.upsidedowntext.com/unicode | |
CHARMAP = {'!': '\xc2\xa1', '"': ',,', | |
"'": ',', '&': '\xe2\x85\x8b', | |
')': '(', '(': ')', ',': "'", | |
'.': '\xcb\x99', | |
'1': '\xc6\x96', | |
'0': '0', '3': '\xc6\x90', | |
'2': '\xe1\x84\x85', |
<html> | |
<head> | |
<title>Wordnik demo from JavaScript</title> | |
<script src="http://static.smallpicture.com/bootstrap/js/jquery-1.9.1.min.js"></script> | |
<script> | |
var baseUrl = "http://api.wordnik.com/v4/word.json/"; | |
var apiKey = "a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5"; //demo key from developer.wordnik.com | |
function getSynonyms (theWord, callback) { | |
var url = baseUrl + theWord + "/relatedWords?useCanonical=true&relationshipTypes=synonym&limitPerRelationshipType=100&api_key=" + apiKey; | |
var jxhr = $.ajax ({ |
with a hat tip to Sublime Text 2 Shortcuts
⌘; | autocomplete |
⌘⌥B | instant replay |
⌘⌥E | search across all tabs |