Skip to content

Instantly share code, notes, and snippets.

View wprudencio's full-sized avatar
😁
Just happy!

Weslei Prudencio wprudencio

😁
Just happy!
View GitHub Profile
@JonathanMH
JonathanMH / index.js
Created October 22, 2016 15:07
JSON Web Token Tutorial: Express
// file: index.js
var _ = require("lodash");
var express = require("express");
var bodyParser = require("body-parser");
var jwt = require('jsonwebtoken');
var passport = require("passport");
var passportJWT = require("passport-jwt");
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 15, 2025 16:42
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@addyosmani
addyosmani / README.md
Last active May 10, 2025 11:24 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

@staltz
staltz / introrx.md
Last active May 15, 2025 10:37
The introduction to Reactive Programming you've been missing
@DavidJRobertson
DavidJRobertson / stealify.js
Last active January 30, 2018 10:53
Stealify: pinch Spotify music! Run using node.js.
// Stealify
//
// A wee HTTP proxy to steal MP3 files from https://play.spotify.com
// By David Robertson
console.log("Stealify started! Instructions:");
console.log("1. Set http://localhost:8080 as your HTTP proxy");
console.log("2. Go to http://play.spotify.com in your browser and start playing music");
console.log("3. Wonder at all the stolen music appearing in this directory! Woo!");
console.log("Remember to reverse the HTTP proxy settings when you're done :P\n");
@thbkrkr
thbkrkr / Default (Linux).sublime-keymap
Last active March 1, 2025 20:07
Custom & Eclipse shortcuts key bindings (keyboard mapping) for Sublime Text 2 and 3
[
{ "keys": ["f12"], "command": "htmlprettify"},
{ "keys": ["f1"], "command": "fold" },
{ "keys": ["f2"], "command": "unfold" },
{ "keys": ["ctrl+à"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["ctrl+!"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },