-
<10euros - neapolitan pizza (seen on netflix, might get crowded) VERY tasty - https://www.google.com/maps/place/Pizzeria+Da+Attilio/@40.845204,14.248282,15z/data=!4m5!3m4!1s0x0:0x4c05a57ef382344c!8m2!3d40.845204!4d14.248282
-
<10euros - pizzeria fritta (deep fried) no english! - https://www.google.com/maps/place/Pizzeria+De'+Figliole/@40.8513451,14.264358,17.4z/data=!4m12!1m6!3m5!1s0x0:0x4c05a57ef382344c!2sPizzeria+Da+Attilio!8m2!3d40.845204!4d14.248282!3m4!1s0x0:0xa45081fb151edf7e!8m2!3d40.8512247!4d14.2634149
-
~20euros/person - ragú (slow cooked stew) - https://www.google.com/maps/place/Tandem+Rag%C3%B9/@40.8490835,14.2574062,16.79z/data=!4m12!1m6!3m5!1s0x0:0x4c05a57ef382344c!2sPizzeria+Da+Attilio!8m2!3d40.845204!4d14.248282!3m4!1s0x0:0xcef0e1f0d62c29ce!8m2!3d40.8483132!4d14.2563218
-
as low as 1.5euros to 12euro mozzarella - delicious italian take on tapas - maybe a bit touristy but whatevs) https://www.google.com/maps/place/jam%C3%B3n/@40.8481676,14.2545185,19.34z/data=!4m8!1m2!2m1!1stapas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.glyphMargin": false, | |
"editor.wordWrap": "off", | |
"workbench.colorCustomizations": { | |
"editorIndentGuide.activeBackground": "#888", | |
}, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": false, | |
"source.fixAll.eslint": true |
I hereby claim:
- I am nicolasbrugneaux on github.
- I am nicolasbrugneaux (https://keybase.io/nicolasbrugneaux) on keybase.
- I have a public key ASDSyynXnbPN1871KM4osWIiG1PapBcoA7E34DS4AHllcAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetch = require('node-fetch'); | |
const API_URL = 'https://slack.com/api/'; | |
const TOKEN = '?token=' + 'redacted'; | |
const DEFAULT_COUNT = 100; // as per slack's doc | |
const PAST_THRESHHOLD = new Date(); | |
PAST_THRESHHOLD.setHours(-120 * 24, 0, 0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
# based on https://github.com/Homebrew/homebrew/pull/19833 | |
class Plv8 < Formula | |
homepage 'http://code.google.com/p/plv8js/wiki/PLV8' | |
version '2.0.0' | |
url 'https://github.com/plv8/plv8/archive/master.zip' | |
depends_on :postgresql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { cpus } from 'os'; | |
import cluster from 'cluster'; | |
if (cluster.isMaster) { | |
getAllRows() | |
.then(rows => { | |
const CPUS = cpus().length; | |
const chunked =chunks(rows, CPUS); // n rows into an array of length CPUS containing n/CPUS-ish rows (tries to balance) | |
const statuses = chunked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getNumberFromCss = ( rules, cssName ) => parseInt( rules[cssName], 10 ); | |
export const makeDraggable = ( element ) => | |
{ | |
const initial = | |
{ | |
x : null, | |
y : null, | |
top : null, | |
right : null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://blog.nishtahir.com/2015/09/19/fuzzy-string-matching-using-cosine-similarity/ | |
'use strict'; | |
Set.intersection = function*( set1, set2 ) | |
{ | |
for ( let value of set1.values() ) | |
{ | |
if ( set2.has( value ) ) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// go to the proper iframe in the console, should be something like: | |
// 'collection-app-spotify'... | |
// run that | |
[].map.call(document.querySelectorAll( 'div.list-group>.list-group-item-media.playable'), function(list){ | |
return list.getAttribute('data-uri') | |
} ); | |
// copy all these links in http://resp.in/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- zcat 2015/07/0723*trace* | | |
-- grep -o "__id.*duration_..__" | | |
-- sed 's/__*\|id\|duration/ /g' | | |
-- sed 's/^ *\| *$//g' | | |
-- sed 's/ */ /' | | |
-- nawk '{ | |
-- max[$1] = !($1 in max) ? $2 : ($2 > max[$1]) ? $2 : max[$1] | |
-- } END { | |
-- for (i in max) | |
-- print i, max[i] |
NewerOlder