Skip to content

Instantly share code, notes, and snippets.

View ClaudiuCeia's full-sized avatar
Turning coffee into code

Claudiu Ceia ClaudiuCeia

Turning coffee into code
  • Alba Iulia, Romania
  • 16:20 (UTC -12:00)
View GitHub Profile
@ClaudiuCeia
ClaudiuCeia / marquee.js
Last active March 15, 2018 08:26 — forked from erikvorhes/marquee.js
You need a marquee. And a blink.
/**
* This marquee stuff is deliberately low-tech. Use at your own risk. Licensed under whatever license you need.
*
* Usage: `marquee();`
*/
function marquee(behavior, direction) {
var behaviors = {
scroll: 'scroll',
slide: 'slide',
@ClaudiuCeia
ClaudiuCeia / gist:9b937e04de0d1e141e99d3cab7f2ce0c
Created December 15, 2017 22:28
delete all local branches but master
git branch | grep -v "master" | xargs git branch -D
@ClaudiuCeia
ClaudiuCeia / gist:26cdf0d17b499b42b6d59c82e35a5e97
Created December 15, 2017 22:28
delete all local branches but master
git branch | grep -v "master" | xargs git branch -D
[{
"name": "Sec\u0163iile de votare nr. 220, 221 \u015fi 222",
"address": "Str. Grigore Ureche nr. 2, Chi\u015fin\u0103u",
"country": "Rep. Moldova",
"coords": {
"lang": "47.022021",
"long": "28.853491"
},
"pin": "http:\/\/chart.apis.google.com\/chart?chst=d_map_pin_letter&chld=%E2%80%A2|FE7569",
"category": {
{"stations": [{"n":"17363","m":"Sec\u0163iile de votare nr. 220, 221 \u015fi 222","a":"Str. Grigore Ureche nr. 2, Chi\u015fin\u0103u","em":"","f":"","pref":"","p":"","d":"","co":"Rep. Moldova","la":"47.022021","lo":"28.853491","mt":"http:\/\/chart.apis.google.com\/chart?chst=d_map_pin_letter&chld=%E2%80%A2|FE7569","tn":"Sec\u0163ii de votare organizate \u00een alte loca\u0163ii","tnid":"3420","fi":"","field_map_labels_value":"3789: Sec\u0163iile de votare nr. 220, 221 \u015fi 222"},{"n":"17364","m":"Sec\u0163ia de votare nr. 165","a":"Via Paolo Aquilino, No.3, Sec\u021bia Poli\u021biei Municipale (Comando di Polizia Municipale);","em":"","f":"","pref":"","p":"","d":"","co":"Italia","la":"41.106200","lo":"16.912380","mt":"http:\/\/chart.apis.google.com\/chart?chst=d_map_pin_letter&chld=%E2%80%A2|FE7569","tn":"Sec\u0163ii de votare organizate \u00een alte loca\u0163ii","tnid":"3420","fi":"","field_map_labels_value":null},{"n":"28548","m":"Sec\u0163ia de votare nr. 166","a":"Viale Candelaro nr. 102\/B, Aula Cons
const headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
const latest_commits = fetch(process.env.REACT_APP_GITHUB_COMMITS_URL, {
method: 'GET',
headers: headers
}).then(response => {
console.log(response.json())