Skip to content

Instantly share code, notes, and snippets.

View andreaangeli's full-sized avatar

andreaangeli

View GitHub Profile
@andreaangeli
andreaangeli / .block
Created May 11, 2017 15:59
reusable updating radarChart
license: mit
@andreaangeli
andreaangeli / nicar15-bootstrap.md
Created March 1, 2017 23:21 — forked from ebigalee/nicar15-bootstrap.md
NICAR 2015: Bootstrap: Responsive, mobile-first framework

#NICAR 2015: Twitter Bootstrap Responsive, mobile-first HTML, CSS, JS framework

One of the most supported, popular and feature-filled ways to get started building a website is to use Twitter Bootstrap. Bootstrap is a responsive, mobile-first HTML, CSS, & JS framework. Know what those three terms (responsive, mobile-first and framework) mean? If not, take a moment to look them up.

NICAR 2015 • March 7th • 2:10PM - 3:10PM
http://slides.com/ebigalee/nicar-2015-bootstrap

###What you will need today:

@andreaangeli
andreaangeli / fb-page-access-token-no-expire
Created June 16, 2016 14:09 — forked from lucnap/fb-page-access-token-no-expire
How to get a Facebook Page Access Token that doesn't expire Never!
How to get a Facebook Page Access Token that doesn't expire Never!
- Go to http://developers.facebook.com/tools/explorer/
- Get a User Access Token with a permission "manage_pages"
- Convert this short-lived access token into a long-lived one by making this Graph API call:
https://graph.facebook.com/v2.6/oauth/access_token?client_id=<your FB App ID >&client_secret=<your FB App secret>&grant_type=fb_exchange_token&fb_exchange_token=<your short-lived access token>
- Make a call Graph API:
https://graph.facebook.com/v2.6/<your personal account FB user id>/accounts?access_token=<your long-lived access token>
- The returned access_token has no expiration unless you change your password or not more admin of the target page or deauthorize FB page
@andreaangeli
andreaangeli / README.md
Created May 4, 2016 10:02
Responsive Chord
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:51
Add multiple markers in leaflet.js
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:51
Leaflet Map with a Polygon
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:48
Leaflet Map with Default Marker
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:48
Leaflet Map with Default Marker
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:47
Leaflet Map with a Rectangle
@andreaangeli
andreaangeli / README.md
Created April 24, 2016 14:46
Leaflet Map with a Polyline