Skip to content

Instantly share code, notes, and snippets.

View julianduque's full-sized avatar
😈
Heroku DevRel

Julián Duque julianduque

😈
Heroku DevRel
View GitHub Profile
@yujikiriki
yujikiriki / gist:65bf00d105613e203184
Created December 22, 2014 19:09
Referencias a tolerancia a fallas
The bizantine generals problem - Lamport
Why Do Computers Stop and What Can Be Done About It? - Jim Gray
Why do Internet services fail, and what can be done about it? - Oppenheimer
Lightweight Recoverable Virtual Memory - M. Satyanarayana
Principles of Antifragile Software - Martin Monperrus
Building on Quicksand - Helland, Campbell
Crash-Only Software - Candea, Fox
Fault Tolerance via Idempotence - Ramalingam, Vaswani
Fundamental Concepts of Dependability - Avizienis, Laprie, Randell
How Complex Systems Fail - Richard I. Cook, MD
@TooTallNate
TooTallNate / n8.io.sh
Created October 31, 2012 20:07
The init.d startup script used for http://n8.io
#!/bin/bash
# n8.io daemon
# chkconfig: 345 20 80 (NR: what is this???)
# description: Nate's blog
# processname: n8.io
# original template from: http://werxltd.com/wp/2012/01/05/simple-init-d-script-template/
# working dir
DAEMON_PATH="/home/pi/n8.io"
@naranjitagolden
naranjitagolden / nodeschoolgirls.md
Last active March 30, 2016 03:49
Review of NodeSchool Girls Med experience for the nodeschool Newsletter

Hi there! In November 2014, We began with the idea of create a Node SchoolGirls chapter in Medellin - Colombia with the help and encouragement of MedellinJS community. The objective was to spread Node knowledge among women and it resulted in a very interesting experiment.

We have learnt a lot! at the beginning we only used the self guide workshop, but the frustration and struggle to finish it was so high, that the outcome was a lot of desertions. We started with 25 assistants, between teenagers, beginners and girls from different backgrounds like, biology, artistics, psychology, senior engineers that wanted to catch up with the new technologies, among others. After the second workshop (and after a lot of tears and frustrating faces), 8 girls remained, and the other ones never came back even with coaching and motivation attempts.

![Primeras reuniones del año Javascripting - Learnyounode](https://cldup.com/YD0rjo4JxY.jpg "Primeras versiones del año Javascripting -

@camilonova
camilonova / script.js
Last active June 4, 2016 22:53
Utilizando la sucursal virtual de bancolombia es frustrante tener que escribir la clave con el teclado virtual y ver esa alerta del navegador. Pega el contenido de este script en la consola del navegador para que puedas escribir la clave con el teclado. Ver en acción: http://giphy.com/gifs/l0K4hGF22s2AojfAA
function blockEnter(evt) {return true;}
function validarNoUsarTecladoReal_OnKeyPress(_object){return false;}
@indexzero
indexzero / styleguide.md
Last active June 27, 2016 21:29
A working draft of an "official" Nodejitsu Javascript style guide.

Javascript Styleguide

If you have comments on this or disagree about rules then please reach out to me directly. I want to hear it!

Table of Contents

Basics

@rvagg
rvagg / sanitize-gcal-bookmarklet.js
Created June 27, 2016 23:06
Bookmark to sanitize Google Calendar view for screenshotting
javascript:[].forEach.call(document.querySelectorAll('.evt-lk,.cbrdcc,.cloc'), (e) => e.innerHTML = ''); [].forEach.call(document.querySelectorAll('.cbrd, .rb-n'), (e) => { e.style.backgroundColor = '#9ea0ff'; e.style.borderColor = '#3d40d9'; e.style.color = '#1d1d1d' }); [].forEach.call(document.querySelectorAll('.rb-ni > div'), (e) => e.style.borderColor = 'transparent #9ea0ff'); [].forEach.call(document.querySelectorAll('.cbrd .mask'), (e) => e.parentNode.removeChild(e)); void(0)
@sleeptillseven
sleeptillseven / erlang_vm.md
Last active July 18, 2016 13:44
Collection of interesting resources for studying the Erlang VM

List of Interesting Resources Describing the Erlang VM

Hitchhiker's guide to the Erlang VM

Author: Robert Virding (Co-inventor of Erlang)

Slides: pdf

Video: youtube

@thlorenz
thlorenz / update_to_nan_v2.0.x.sh
Last active October 13, 2016 08:04
Script to update Node.js addons to work with nan 2.0.x and thus with iojs v3.x (gets you 90% there)
#!/bin/bash
replacements=(
"NanAsyncWorker/Nan::AsyncWorker"
"NanAsyncQueueWorker/Nan::AsyncQueueWorker"
"NanCallback/Nan::Callback"
"NanSetInternalFieldPointer/Nan::SetInternalFieldPointer"
"NanGetInternalFieldPointer/Nan::GetInternalFieldPointer"
"NanNewBufferHandle\\(([^;]+);/Nan::NewBuffer(\\1.ToLocalChecked();"
"(NanNew(<(v8::)?String>)?\\(\"[^\"]*\"\\))/\\1.ToLocalChecked()"
@airportyh
airportyh / jsconf_slides_codes_and_notes.md
Last active June 19, 2017 20:51
JSConf 2014 Slides, Codes and Notes.

JSConf Slides, Codes and Notes

These are all the JSConf 2014 slides, codes, and notes I was able to cull together from twitter. Thanks to the speakers who posted them and thanks to @chantastic for posting his wonderful notes.

Modular frontend with NPM - Jake Verbaten (@Raynos)

@indexzero
indexzero / readme-outline.md
Created November 14, 2011 08:26
A quick outline of a README.md

README.md Outline

  • Header and a Brief description (should match package.json)
  • Example (if applicable)
  • Motivation (if applicable)
  • API Documentation: This will likely vary considerably from library to library.
  • Installation
  • Tests
  • Contributors
  • License