Skip to content

Instantly share code, notes, and snippets.

@LeCoupa
LeCoupa / nodejs-cheatsheet.js
Last active April 19, 2024 01:50
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@chris-taylor
chris-taylor / salary.py
Created June 2, 2013 17:03
Quick script to pull out salary data from indeed.co.uk and compute averages
# -*- coding: utf-8 -*-
import re
import sys
import locale
from bs4 import BeautifulSoup
from urllib2 import urlopen
@willurd
willurd / dotpath.sh
Last active May 15, 2023 06:12
Manage your PATH with a nice, one-directory-per-line file, rather than a gargantuan blob of colon-delimited text.
# Read the contents of ~/.path into $PATH, if ~/.path exists. ~/.path should be a file
# consisting of one path on each line, such as:
#
# ~$ cat ~/.path
# # vim: ft=sh
# ~/usr/bin
# /opt/local/bin
# ... etc ...
#
# Note that comments begin with a hash (#).