This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var originalStopPropagation = Event.prototype.stopPropagation | |
Event.prototype.stopPropagation = function() { | |
debugger | |
originalStopPropagation.call(this) | |
} | |
var originalStopImmediatePropagation = Event.prototype.stopImmediatePropagation | |
Event.prototype.stopImmediatePropagation = function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -------------------------------------------------- | |
# Setting up a Laravel app on dokku in a Vagrant box | |
# -------------------------------------------------- | |
# First: cloning the dokku repo | |
$ git clone https://github.com/progrium/dokku | |
$ cd dokku | |
# Start, configure & provision a new vagrant box using the Vagrantfile from the repo | |
$ vagrant up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# encoding: utf-8 | |
# Git post-checkout script to trigger hcl. | |
# To be put in .git/hooks/post-checkout and made executable. | |
# Misc. enhancement ideas : | |
# automatically map git branches to hcl tasks, storing data in ~/.hcl-git.yml | |
# prompt for input w/ readline & autocomplete hcl aliases | |
# create complementary post-commit script asking wether to stop timer or not |