Skip to content

Instantly share code, notes, and snippets.


Joshua Estes JoshuaEstes

View GitHub Profile

FWIW: I'm 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 over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.

Effective Engineer - Notes

What's an Effective Engineer?

wbsch /
Last active Nov 16, 2020
Proof of concept for a Taskwarrior on-exit hook that manages a git repository in ~/.task
#!/usr/bin/env python
# PoC: Manage a git repository in ~/.task that gets updated on changes.
# Only and are included by default.
# You can use "git add" to add whatever files you want to track in your
# task folder.
# Inspired by
# Works with any Taskwarrior version that supports hooks.
JoshuaEstes / Vagrant.rst
Last active Aug 29, 2015
Useful Oneliners
View Vagrant.rst


# Gettting the state of the machine, ie Is it poweroff or running

vagrant status --machine-readable | awk -F',' '$3 == "state" { print $4 }'

Can be used in a script like so

matthewmueller /
Last active Nov 18, 2020
OSX for Hackers (Mavericks/Yosemite)
# OSX for Hackers (Mavericks/Yosemite)
# Source:
# Some things taken from here
# Ask for the administrator password upfront
martindale /
Last active Aug 29, 2015 Template

Getting Started


One or two paragraph introduction on the objective of this library.

Quick Start

If you are unsure of our project and just want to play around, you can get things set up quickly by:

JoshuaEstes / 00-README.markdown
Last active Aug 29, 2015
My goto files for when I initialize a new symfony2 project. It includes bash scripts, composer.json files and a few other things.
View 00-README.markdown


These are the default files that I will usually start with when setting up a symfony2 project to use vagrant and puppet. I'm putting this readme file here for future updates.


Make sure the files that end in .sh are executable.

debasishg / gist:8172796
Last active Dec 10, 2020
A collection of links for streaming algorithms and data structures
View gist:8172796
  1. General Background and Overview
nfedyashev /
Created Jun 13, 2013
Continuous deployment script
# Disable NewRelic pinging
curl -X POST -H "X-Api-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
heroku maintenance:on --app yourapp-staging
heroku pg:reset DATABASE --confirm yourapp-staging --app yourapp-staging
heroku pgbackups:restore DATABASE `heroku pgbackups:url --app yourapp-production` --app yourapp-staging --confirm yourapp-staging
git remote add heroku_yourapp-staging
git push heroku_yourapp-staging $COMMIT_ID:master -f
heroku_run 'rake db:migrate' yourapp-staging
heroku restart --app yourapp-staging
heroku maintenance:off --app yourapp-staging
beberlei / CommandMethodMapper.php
Created Nov 24, 2012
Symfony Form DataMapper that uses a command method to write data back on object
View CommandMethodMapper.php
* This file is part of the Symfony package.
* (c) Fabien Potencier <>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
webmozart / git-find-merge
Created Nov 15, 2012
Script to find the merge and PR a commit occurred in
View git-find-merge
if [ -z $BRANCH ]; then
perl -ne 'print if ($seen{$_} .= @ARGV) =~ /10$/' \
<(git rev-list --ancestry-path --oneline $COMMIT..$BRANCH) \
You can’t perform that action at this time.