Skip to content

Instantly share code, notes, and snippets.

I wonder what this button does…

Ben Peachey Potherca

I wonder what this button does…
View GitHub Profile

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

MohamedAlaa / tmux-cheatsheet.markdown
Last active May 31, 2023 18:10
tmux shortcuts & cheatsheet
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
View .gitignore
# Compiled source #
# Packages #
PurpleBooth /
Last active May 31, 2023 11:38
A template to make good

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.


lukas-h /
Last active May 31, 2023 08:35
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

mlocati / exceptions-tree.php
Created March 9, 2017 10:58
Throwable and Exceptions tree
View exceptions-tree.php
if (!function_exists('interface_exists')) {
die('PHP version too old');
$throwables = listThrowableClasses();
$throwablesPerParent = splitInParents($throwables);
if (count($throwablesPerParent) !== 0) {
ziadoz /
Last active May 27, 2023 00:36
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.
QuantumGhost / example.puml
Last active May 26, 2023 12:30
A simple template for PlantUML to draw ER diagram.The basic idea comes from
View example.puml
' uncomment the line below if you're using computer with a retina display
' skinparam dpi 300
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >>
' we use bold for primary key
' green color for unique
' and underscore for not_null
!define primary_key(x) <b>x</b>
!define unique(x) <color:green>x</color>
!define not_null(x) <u>x</u>
dupuy / README.rst
Last active May 21, 2023 00:38
Common markup for Markdown and reStructuredText
View README.rst

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

hisorange / prerender.worker.js
Created October 17, 2022 10:46
Prerender New Worker
View prerender.worker.js
// User agents handled by Prerender
const BOT_AGENTS = [
"yahoo! slurp",