I hereby claim:
- I am benwoodward on github.
- I am benwoodward (https://keybase.io/benwoodward) on keybase.
- I have a public key whose fingerprint is 8CB4 B3A3 55DC D852 72E0 CF5B DC0B 197A B188 0BE3
To claim this, I am signing this object:
.ednwsl8c { | |
max-width: 800px !important; | |
max-height: inherit !important; | |
} |
// Debounce function | |
function debounce(func, wait) { | |
let timeout; | |
return function() { | |
const context = this, args = arguments; | |
const later = function() { | |
timeout = null; | |
func.apply(context, args); | |
}; | |
clearTimeout(timeout); |
function matchBalancedBrackets(inputText) { | |
const matches = [] | |
let stack = 0 | |
let startIndex | |
for (let i = 0; i < inputText.length; i++) { | |
const char = inputText[i] | |
if (char === '[') { | |
if (stack === 0) { | |
startIndex = i |
const checkboxes = document.querySelectorAll('.checkbox input[type="checkbox"]'); | |
let lastChecked; | |
function handleCheck(e) { | |
let inBetween = false; | |
if(e.shiftKey && this.checked) { | |
checkboxes.forEach( checkbox => { | |
if(checkbox === this || checkbox === lastChecked) { | |
inBetween = !inBetween; |
relative-date() { | |
while read input_string; do | |
local file_path=`echo $input_string | cut -d ' ' -f 5` | |
local ls_date=`echo $input_string | cut -d ' ' -f 1,2,3,4` | |
# Accepts date in format found in `ls` output, and converts to epoch | |
local date="$(date -j -f "%d %b %H:%M:%S %Y" "$ls_date" +"%s")" | |
local now="$(date +"%s")" | |
local time_diff=$((now - date)) | |
if ((time_diff > 24*60*60)); then |
require 'rubygems' | |
require 'selenium-webdriver' | |
class Unclap | |
USERNAME = "@yourusername" | |
def initialize | |
@driver = Selenium::WebDriver.for :chrome | |
@links_to_unclap = [] | |
@problem_links = [] |
Homebrew build logs for macvim on Mac OS X 10.11.3 | |
Build date: 2016-04-19 09:57:26 |
<snippet> | |
<content><![CDATA[do$do | |
$0 | |
end]]></content> | |
<tabTrigger>do</tabTrigger> | |
<scope>source.ruby</scope> | |
<description>do … end</description> | |
</snippet> |
I hereby claim:
To claim this, I am signing this object:
%table.table.table-bordered.table-striped#sortable{:data => {update_url: | |
sort_admin_things_path}} |