Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Jonatas Walker jonataswalker

I may be slow to respond.
  • Campinas, Brasil
View GitHub Profile
jonataswalker / Q.js Examples
Last active Aug 29, 2015 — forked from guptag/Q.js Examples
Q.js examples - Small snippets to understand various api methods in Q.js
View Q.js Examples
//To run Q.js examples:
// 1. Open a new browser tab in Chrome and turn on developer toolbar.
// 2. Copy/Paste this gist in the console and hit enter to run all the snippets.
// Based on the inspiration from samples @
jonataswalker / object-watch.js
Last active Aug 29, 2015 — forked from eligrey/object-watch.js polyfill in ES5
View object-watch.js
* polyfill
* 2012-04-03
* By Eli Grey,
* Public Domain.
jonataswalker / nginx.conf
Last active Aug 31, 2015 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
jonataswalker / markdown.css
Last active Aug 31, 2015 — forked from imjasonh/markdown.css
Render Markdown as unrendered Markdown (see
View markdown.css
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
jonataswalker / autopgsqlbackup
Last active Aug 31, 2015 — forked from matthewlehner/autopgsqlbackup
Auto PostgreSQL backup script.
View autopgsqlbackup
# PostgreSQL Backup Script Ver 1.0
# Copyright (c) 2005 Aaron Axelsen <>
# This script is based of the AutoMySQLBackup Script Ver 2.2
# It can be found at
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9
jonataswalker / scrape.js
Last active Aug 31, 2015 — forked from alexmcpherson/scrape.js
Casper.js vimrc scraper
View scrape.js
var casper = require("casper").create();
var url = "" + casper.cli.get(0);
var repoLinks = [];
var fileLinks = [];
function getRepoLinks() {
var links = [];
$("div.results .result h2 a").each(function(i,el){
View serialize.js
/*jslint continue:true*/
* Adapted from {@link}
* Changes:
* Ensures proper URL encoding of name as well as value
* Preserves element order
* XHTML and JSLint-friendly
* Disallows disabled form elements and reset buttons as per HTML4 [successful controls]{@link}
* (as used in jQuery). Note: This does not serialize <object>
* elements (even those without a declare attribute) or
jonataswalker /
Last active Sep 18, 2015 — forked from jxson/ template


At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.