Skip to content

Instantly share code, notes, and snippets.

View ollyjackson's full-sized avatar
🍕

Olly Jackson ollyjackson

🍕
View GitHub Profile
@ollyjackson
ollyjackson / Keybase.md
Created February 12, 2021 18:31
Keybase

Keybase proof

I hereby claim:

  • I am ollyjackson on github.
  • I am olly (https://keybase.io/olly) on keybase.
  • I have a public key ASBvZva6kLI-IHYBIVMmOuZFeamyf_CRUrUgNd4_iSJ3pAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ollyjackson on github.
  • I am olly (https://keybase.io/olly) on keybase.
  • I have a public key whose fingerprint is B0B7 F7E8 940C 5531 D3B5 65AA 68BB C5DD 89EE 4AC4

To claim this, I am signing this object:

@ollyjackson
ollyjackson / Google Maps API with Cloud Made tiles.js
Created September 22, 2010 17:43
Google Maps API with Cloud Made tiles
var cloudmadeOptions = {
getTileUrl: function(coord, zoom) {
return "http://a.tile.cloudmade.com/<API KEY HERE>/<CLOUDMADE CUSTOM TILE ID>/256/" +
+ zoom + "/" + coord.x + "/" + coord.y + ".png";
},
tileSize: new google.maps.Size(256, 256),
isPng: true
};
var cloudmadeType = new google.maps.ImageMapType(cloudmadeOptions);
select i.id, sum(li.value) as litotal from invoice as i ,line_items as li where li.invoice_id = i.id group by li.invoice_id having litotal > 0