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:
{ | |
"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"], |
# 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; |
I hereby claim:
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="you@domain.com"/> | |
<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="you@domain.com"/> | |
<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="you@domain.com"/> | |
<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({ |
<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> |
Simple [Campfire][campfire_app] notifier for the [Pomodoro app][pomodoro_app], based off [xiplias][xiplias]'s [gist][parent_gist].
The script reads a JSON file to match a leading pomodoro tag with a Campfire account. In the example file there is a campfire account with tag called "wco". Any pomodoros starting with "wco-", "wco_", "wco," will use the "wco" campfire account. If no campfire account exists with the leading tag, nothing will be broadcast.
" Strip trailing whitespace | |
function! <SID>StripTrailingWhitespaces() | |
" Preparation: save last search, and cursor position. | |
let _s=@/ | |
let l = line(".") | |
let c = col(".") | |
" Do the business: | |
%s/\s\+$//e | |
" Clean up: restore previous search history, and cursor position | |
let @/=_s |