I hereby claim:
- I am lwu on github.
- I am lwu (https://keybase.io/lwu) on keybase.
- I have a public key ASAB06SfAeAP8mSnhQQw6UJbYzjo4UVCslr3riu3BGzyqAo
To claim this, I am signing this object:
This code snippet, modifed from Mpanik's rundemo.cpp (r727, license LGPL), | |
renders the State of California using USGS state boundaries data. | |
Here's a play-by-play (via https://lists.berlios.de/pipermail/mapnik-devel/2008-August/000679.html) | |
rundemo.cpp renders a map of Ontario/Quebec, and instead I wanted to draw a | |
map of California and its surrounding states. | |
I grabbed the data from the USGS in the form of "statesp020" (google it, or | |
browse through nationalatlas.gov) and first wanted to modify rundemo.py |
Copyright (c) 2019, Leslie Wu | |
All rights reserved. |
I hereby claim:
To claim this, I am signing this object:
source 'https://rubygems.org' | |
gem 'sinatra' |
# Generic - White Sugar 1/2 Cup | |
# Generic - All-Purpose Flour (Cup), 1.75 cup | |
# 365 - Baking Powder, Aluminum-Free, 2.4 g (1/8 tsp) | |
# Baking soda, 0.5 tsp | |
# Spices - Cinnamon, ground, 0.5 tsp | |
# Diamond Crystal - Kosher Salt No Iodide, 0.5 tsp (0.7 g) | |
# Honey, 0.5 cup | |
# Butter - Unsalted, 0.5 cup | |
# 2 Eggs Large | |
# Trader Joes - Greek Style Honey Yogurt, 0.3 container (8 oz) |
(fset 'copy-character-from-other-buffer | |
[?\C-x ?5 ?o ?\C- right escape ?w ?\C-x ?5 ?o ?\C-y]) | |
(global-set-key [(a)] 'copy-character-from-other-buffer) | |
(global-set-key [(s)] 'copy-character-from-other-buffer) | |
(global-set-key [(d)] 'copy-character-from-other-buffer) | |
(global-set-key [(f)] 'copy-character-from-other-buffer) | |
(global-set-key [(g)] 'copy-character-from-other-buffer) | |
(global-set-key [(h)] 'copy-character-from-other-buffer) | |
(global-set-key [(j)] 'copy-character-from-other-buffer) |
#!/usr/bin/env ruby | |
require 'rubygems' # gratitude | |
require 'nokogiri' # arigato | |
h=Nokogiri::HTML(`curl http://www.biblegateway.com/passage/?search=Psalm+23&version=KJV&interface=print`).css(".text").text.split(/\W/) | |
%w(Zarvox Princess Cellos).each{|v|`say -v #{v} #{[9,7,9,123,9,42,55,118,104,108,6,7,100,10,95,96,86,76,120,72,106,107,63,32,42].map {|i|h[i]}.join(' ')}`} |
The 100 Most Influential People in Health and Fitness <http://greatist.com/health/most-influential-health-fitness-people> | |
1. Michelle Obama | |
2. Mehmet Oz, M.D. | |
3. Deepak Chopra, M.D. | |
4. Jillian Michaels | |
5. Vani Hari | |
6. Tara Stiles | |
7. Mark Bittman | |
8. Gary Taubes |
0 |