Skip to content

Instantly share code, notes, and snippets.

print('hi')

Powered by



Welcome to Foundations

Estimated time: 20 minutes

@pippinlee
pippinlee / canada-map.js
Last active August 29, 2015 14:08
Canada Map - use with Raphael.js
var rsr = Raphael('rsr', '629', '609');
var group_a = rsr.set();
group_a.attr({'name': 'group_a'});
var Canada = rsr.set();
var CAAB = rsr.path("m141.448517,499.578705c-26.212189,-6.922455 -23.389862,-5.866272 -24.946617,-9.335236l-1.311737,-2.922913l1.063675,-5.412415c1.121666,-5.707672 1.059616,-7.151947 -0.43528,-10.130249c-0.507881,-1.011749 -1.938911,-3.863617 -3.180206,-6.337585c-1.241295,-2.473907 -2.723587,-5.889893 -3.293869,-7.591095c-0.570335,-1.701141 -1.675438,-4.06131 -2.455795,-5.244873c-0.780304,-1.183502 -1.564491,-2.946686 -1.742455,-3.917999c-0.178101,-0.971436 -0.953506,-2.490082 -1.723167,-3.374908c-0.769707,-0.884827 -1.399414,-1.842499 -1.399414,-2.128265c0,-0.285736 -0.457825,-1.162506 -1.017288,-1.948181c-0.588623,-0.826569 -1.214027,-2.81723 -1.483894,-4.723053c-0.2939,-2.0755 -0.903992,-3.930359 -1.648888,-5.013641c-0.650337,-0.945648 -1.406845,-2.318024 -1.681137,-3.049591c-0.274292,-0.731598 -1.275604,-1.833588 -2.225151,-2.44873c-1.701698,-1.102509 -2.33062,-2.898743 -1.248894,-
@pippinlee
pippinlee / keybase.md
Created March 28, 2014 15:56
Keybase proof

Keybase proof

I hereby claim:

  • I am pippinlee on github.
  • I am pippinlee (https://keybase.io/pippinlee) on keybase.
  • I have a public key whose fingerprint is 1895 671D 36B2 9324 B196 2CC2 F8C3 3894 9EF4 1DA9

To claim this, I am signing this object:

@pippinlee
pippinlee / euler-problems.md
Created October 25, 2013 14:43
Project Euler - Offline problem set 1-50

Project Euler - Offline Problem Sets

Problem 1: Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

@pippinlee
pippinlee / bv-books.md
Created September 12, 2013 03:53
Some of these can't be found on Amazon anymore and must be found the fun way, hunting through your local book shop.