Skip to content

Instantly share code, notes, and snippets.

Avatar
🦁
Focusing

Caio Iglesias caioiglesias

🦁
Focusing
View GitHub Profile
View gist:3ad3bb8a2b2fbc84102efaea4a3b3253
Verifying my Blockstack ID is secured with the address 1NSbuGKxQhP1PYKMt2oNGFKgr7qgqQHTt1 https://explorer.blockstack.org/address/1NSbuGKxQhP1PYKMt2oNGFKgr7qgqQHTt1
View gist:996ede03b9a088c53217a52f1eecb80b
Verifying that "caioiglesias.id" is my Blockstack ID. https://onename.com/caioiglesias
View _.md
View gist:6b1f33e612650b688bb3
<!DOCTYPE html>
<meta charset="utf-8">
<canvas width="960" height="500"></canvas>
<script>
/* https://github.com/d3/d3-voronoi Copyright 2015 Mike Bostock */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.voronoi={})}(this,function(e){"use strict";function t(e){return function(){return e}}function n(e,t,n){return(e.x-n.x)*(t.y-e.y)-(e.x-t.x)*(n.y-e.y)}function i(e,t){return t.angle-e.angle}function r(e,t){this.l=e,this.r=t,this.a=this.b=null}function s(e,t,n){var i=new r(e,null);return i.a=t,i.b=n,D.push(i),i}function u(e,t,n){this.edge=e,this.site=t,this.angle=n}function f(e,t,n){var i=e.a,r=e.b;return new u(e,t,n?Math.atan2(n.y-t.y,n.x-t.x):e.l===t?Math.atan2(r.x-i.x,i.y-r.y):Math.atan2(i.x-r.x,r.y-i.y))}function a(e,t,n,i){for(var r,u,a,l,o,c,h,y,x,v,g=B.length;g--;)if(o=B[g],o&&o.prepare())for(h=o.edges,y=h.length,c=0;y>c;)v=h[c].end(),a=v.x,l=v.y,x=h[++c%y].start(),r=x.x,u=x.y,(Math.abs(a-r)>I||Math.abs(l-u)>
View keybase.md

Keybase proof

I hereby claim:

  • I am caioiglesias on github.
  • I am caioiglesias (https://keybase.io/caioiglesias) on keybase.
  • I have a public key whose fingerprint is FAC9 0071 8F7C F200 6AA1 A3D4 3751 BA43 BE2E 7F15

To claim this, I am signing this object:

@caioiglesias
caioiglesias / tizen-famous.js
Last active Aug 29, 2015
Tizen famo.us fix
View tizen-famous.js
window.requestAnimationFrame = window.requestAnimationFrame||
window.webkitRequestAnimationFrame;
View gist:53813ee4f93717167270
class EnterTheCar(base_handler.PipelineBase):
def run(self, kid1, kid2):
return "%s %s" % (kid1, kid2)
class Child(base_handler.PipelineBase):
def run(self):
return 'Are we there yet?'
View gist:5dd2680e13f4e9044e58
class GrandGrandSon(base_handler.PipelineBase):
def run(self):
return 'big family'
class GrandSon(base_handler.PipelineBase):
def run(self):
yield GrandGrandSon()