Skip to content

Instantly share code, notes, and snippets.

# runner.sh
#
# Runs a git bisect using spec/el_bisector_spec.rb inside the 'app' docker container
#
# Usage
#
# Pop your desired spec file in spec/el_bisector_spec.rb. Then use this script as the input to `git bisect run`
#
#
# git bisect start ; git bisect good 0ee17c61406728b2c7866c9cbc407d24600affb5 ; git bisect bad ; git bisect run ./runner.sh; git bisect reset;

Keybase proof

I hereby claim:

  • I am glennr on github.
  • I am glennrob (https://keybase.io/glennrob) on keybase.
  • I have a public key ASBosoApL-Zqr2EL0ps7gQyWus4ZUx7uF8Fj1px3UeZClQo

To claim this, I am signing this object:

<form action="https://api.formferret.com/v1/f/YOUR_UNIQUE_FORM_ID"
method="POST"
accept-charset="UTF-8">
<input name="_gotcha" type="text" />
<input name="email" type="email" placeholder="[email protected]"/>
<button type="submit">Submit</button>
</form>
<form action="https://api.formferret.com/v1/f/YOUR_UNIQUE_FORM_ID"
method="POST"
accept-charset="UTF-8">
<input type="hidden" name="utf8" value="✓"/>
<input type="text" name="name" placeholder="Your name"/>
<input type="email" name="email" placeholder="[email protected]"/>
<textarea name="comment" placeholder="Your comment"/>
<button type="submit">Submit</button>
</form>
<form id="contact" action="https://api.formferret.com/v1/f/YOUR_UNIQUE_FORM_ID"
method="POST"
accept-charset="UTF-8">
<input type="hidden" name="utf8" value="✓"/>
<input type="text" name="name" placeholder="Your name"/>
<input type="email" name="email" placeholder="[email protected]"/>
<textarea name="comment" placeholder="Your comment"/>
<button type="submit">Submit</button>
</form>
$(document).ready(function() {
$('#contact').submit(function(e) {
var form = $(this);
var endpoint = form.prop('action');
var data = form.serialize();
var submitButton = $('button', form);
e.preventDefault();
$.ajax({
@glennr
glennr / .eslintrc
Created November 19, 2015 06:19
ESLint config for React + Redux projects
{
"parser": "babel-eslint", // I want to use babel-eslint for parsing!
"rules": {
"comma-dangle": 0, // dangling commas are ok
"indent": [2, 2, {
"SwitchCase": 1
}],
"jsx-quotes": 1,
"linebreak-style": [2, "unix"],
"quotes": [2, "single"],
### Keybase proof
I hereby claim:
* I am glennr on github.
* I am glennrob (https://keybase.io/glennrob) on keybase.
* I have a public key whose fingerprint is A116 1BB1 8A55 FED3 0991 44D9 97CD 22CC C005 CD65
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am glennr on github.
  • I am glennrob (https://keybase.io/glennrob) on keybase.
  • I have a public key whose fingerprint is D2C0 4AD2 276E C6CC 6F1C 91BC C7D7 09B8 D688 8ACA

To claim this, I am signing this object:

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>