This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| <div> | |
| <a class="donate-with-crypto" href="https://commerce.coinbase.com/products/4dff420e-6055-46fe-9747-dd12b708c873"> | |
| <span>Donate with Crypto</span> | |
| </a> | |
| <script src="https://commerce.coinbase.com/v1/checkout.js"></script> | |
| </div> |
| first_name | last_name | company_name | address | city | county | state | zip | phone1 | phone2 | web | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| James | Butt | Benton, John B Jr | 6649 N Blue Gum St | New Orleans | Orleans | LA | 70116 | 504-621-8927 | 504-845-1427 | jbutt@gmail.com | http://www.bentonjohnbjr.com | |
| Josephine | Darakjy | Chanay, Jeffrey A Esq | 4 B Blue Ridge Blvd | Brighton | Livingston | MI | 48116 | 810-292-9388 | 810-374-9840 | josephine_darakjy@darakjy.org | http://www.chanayjeffreyaesq.com | |
| Art | Venere | Chemel, James L Cpa | 8 W Cerritos Ave #54 | Bridgeport | Gloucester | NJ | 08014 | 856-636-8749 | 856-264-4130 | art@venere.org | http://www.chemeljameslcpa.com | |
| Lenna | Paprocki | Feltz Printing Service | 639 Main St | Anchorage | Anchorage | AK | 99501 | 907-385-4412 | 907-921-2010 | lpaprocki@hotmail.com | http://www.feltzprintingservice.com | |
| Donette | Foller | Printing Dimensions | 34 Center St | Hamilton | Butler | OH | 45011 | 513-570-1893 | 513-549-4561 | donette.foller@cox.net | http://www.printingdimensions.com |
| State,ZipCode,TaxRegionName,TaxRegionCode,CombinedRate,StateRate,CountyRate,CityRate,SpecialRate | |
| CT,06001,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06002,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06006,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06010,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06011,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06013,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06016,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06018,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 | |
| CT,06019,CONNECTICUT STATE,AKUV,0.063500,0.063500,0,0,0 |
| # Here's a way to do default arguments in coffeescript with combinators | |
| defaultArgs = (defaults...) -> | |
| (callback) -> | |
| (args...) -> | |
| callback.apply @, ((arguments[i] || def) for i, def of defaults) | |
| # However, coffeescript already supports default arguments, so if you translate it to javascript, | |
| # it's a way to do default arguments |
| module rook_battlement(height, radius) { | |
| neck_radius = radius; | |
| battlement_radius = 1.4 * radius; | |
| inner_battlement_radius = 0.6 * battlement_radius; | |
| cylinder(0.2 * height, neck_radius, battlement_radius); | |
| translate([0, 0, 0.2 * height]) { | |
| difference() { | |
| // the battlement | |
| cylinder(0.8 * height, battlement_radius, battlement_radius); |
| module bishop_head(head_ratio, neck_radius) { | |
| translate([0, 0, neck_radius]) | |
| difference() { | |
| // the bishop head with a dollop on top | |
| union() { | |
| teardrop(head_ratio, neck_radius) | |
| translate([0, 0, -neck_radius / 3]) sphere(neck_radius / 3); | |
| } | |
| // the bishop slot |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| app.post '/users/signup', (req, res) -> | |
| crypted_password = User.generate_crypted_password req.body.user.password | |
| user = User.findOne { "facebook.uid": req.body.uid } | |
| if user | |
| user.email = req.body.user.email | |
| user.password = crypted_password | |
| else | |
| user = new User({ email: req.body.user.email, password: crypted_password }) | |
| user.save | |
| req.session.regenerate |
| #!/bin/sh | |
| SCREENSHOT_PATH="/tmp/screenlapse/" | |
| mkdir -p $SCREENSHOT_PATH | |
| while true; | |
| do | |
| TIME=`date +-%Y-%m%d-%H%M%S` | |
| screencapture -m $SCREENSHOT_PATH"sl"$TIME".png" | |
| convert -resize 40% $SCREENSHOT_PATH"sl"$TIME".png" $SCREENSHOT_PATH"sl"$TIME".png" |