Skip to content

Instantly share code, notes, and snippets.


FWIW: I (@Rondy) am not the author of the content presented here, which is an outline from Edmond Lau's book. I've just copy-pasted it from somewhere and saved as a personal gist, before it got popular on I don't remember where exactly the original source is from and neither could find the author's name, so I cannot give him/her the proper credits.

Effective Engineer - Notes

janogarcia /
Last active December 6, 2022 09:18
Email Coding Guidelines
rrosiek /
Last active September 2, 2022 07:43
Vagrant provision script for php, Apache, MySQL, phpMyAdmin, Laravel, and javascript helpers. Tested with Ubuntu 16.04.
#! /usr/bin/env bash
# This script assumes your Vagrantfile has been configured to map the root of
# your application to /vagrant and that your web root is the "public" folder
# (Laravel standard). Standard and error output is sent to
# /vagrant/vm_build.log during provisioning.
jasonrudolph /
Last active January 12, 2023 09:01
5 entertaining things you can find with the GitHub Search API
willurd /
Last active February 2, 2023 18:12
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
necolas / snippet.js
Created June 14, 2011 20:36
Optimised async loading of cross-domain scripts
View snippet.js
* Updated to use the function-based method described in
* Better handling of scripts without supplied ids.
* N.B. Be sure to include Google Analytics's _gaq and Facebook's fbAsyncInit prior to this function.
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
endolith / Has weird right-to-left characters.txt
Last active January 27, 2023 10:01
Unicode kaomoji smileys emoticons emoji
View Has weird right-to-left characters.txt