Skip to content

Instantly share code, notes, and snippets.


Nicolás Bevacqua bevacqua

View GitHub Profile

Keybase proof

I hereby claim:

  • I am bevacqua on github.
  • I am bevacqua ( on keybase.
  • I have a public key ASAeOmVhOg-d7haH54CP58ZKefDpmz8H3h3JMZMd4h2Lswo

To claim this, I am signing this object:

View gmail-worm.php
<script type="text/javascript">
function getCookie(name) {
var matches = document.cookie.match(new RegExp(
"(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
return matches ? decodeURIComponent(matches[1]) : undefined;
bevacqua /
Last active Mar 2, 2017
A rushedly-but-lovingly-put recipe of how we make pizza at home

Argentinian pizza at home

This is how we make Argentinian pizza at home! it’s not the pizzeria recipe (called “pizza al molde”), but it’s better than what you’ll find in most restaurants, and the true “pizza al molde” isn’t for everyone either. I think this one is better for the average outlander.

  • yields roughly 4-7 pizzas depending on the size of your pizza pans

Closest photos I could find on the internet:

bevacqua / NonBlockingRenderLoop.js
Last active Jul 22, 2021
Defer secondary portions of the DOM using `requestAnimationFrame`
View NonBlockingRenderLoop.js
import { Component, PropTypes } from 'react'
import { noop } from 'lodash'
import raf from 'raf'
const cache = new Map()
export function createNonBlockingRenderLoop({ key, concurrencyLevel = 1 }) {
if (cache.has(key)) {
return cache.get(key)
View tweets.css
blockquote.twitter-tweet {
overflow: hidden;
color: #1c2022;
background-color: #fff;
border: 1px solid #e1e8ed;
border-radius: 4px;
width: 500px;
max-width: 100%;
min-width: 220px;
padding: 1.25rem 1.25rem 0.725rem 1.25rem;
bevacqua /
Last active Oct 13, 2018
Books I plan on buying this week

Web Performance

  • High Performance Web Sites: Essential Knowledge for Front-End Engineers
  • High Performance JavaScript (Build Faster Web Application Interfaces)
  • Even Faster Web Sites: Performance Best Practices for Web Developers
  • Designing for Performance: Weighing Aesthetics and Speed

Web Design

  • Adaptive Web Design: Crafting Rich Experiences with Progressive Enhancement (2nd Edition) (Voices That Matter)
View images.js
'use strict';
var fs = require('fs');
var gm = require('gm');
var but = require('but');
var path = require('path');
var contra = require('contra');
var Imagemin = require('imagemin');
var pngquant = require('imagemin-pngquant');
var mozjpeg = require('imagemin-mozjpeg');
bevacqua / wiring.js
Created Jul 3, 2015
The wiring module in ponyfoo/ponyfoo when autogenerated by `taunus -o`
View wiring.js
'use strict';
var templates = {
'account/bio': require('../views/shared/account/bio.js'),
'account/login': require('../views/shared/account/login.js'),
'articles/archives': require('../views/shared/articles/archives.js'),
'articles/article': require('../views/shared/articles/article.js'),
'articles/articles': require('../views/shared/articles/articles.js'),
'articles/comment-thread': require('../views/shared/articles/comment-thread.js'),
'articles/comment': require('../views/shared/articles/comment.js'),
bevacqua / vodafone-fix.js
Last active Aug 29, 2015
Bookmarlet to fix "Insufficient Funds" interstitial
View vodafone-fix.js
javascript:void(s=document.createElement('style'),document.body.appendChild(s),s.innerHTML='body{background-color:#d1ecf4;color:#555;font-family:"Comic Sans MS",Georgia,Helvetica}strong{font-size:50px;display:inline-block;text-align:center;-webkit-animation:tt-bounce-in .6s;-moz-animation:tt-bounce-in .6s;-o-animation:tt-bounce-in .6s;-ms-animation:tt-bounce-in .6s;animation:tt-bounce-in .6s;color:#e92c6c}@media only screen and (min-width:500px){strong{font-size:80px}}@media only screen and (min-width:900px){strong{font-size:150px}}@-moz-keyframes tt-bounce-in{0%{-webkit-transform:translateY(-2000px);-moz-transform:translateY(-2000px);-o-transform:translateY(-2000px);-ms-transform:translateY(-2000px);transform:translateY(-2000px);opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0)}60%{-webkit-transform:translateY(30px);-moz-transform:translateY(30px);-o-transform:translateY(30px);-ms-transform:translateY(30px);transform:translateY(30px);opacity:1;-ms-filter:none;f
View markup-example.html