I hereby claim:
- I am megalithic on github.
- I am megalithic (https://keybase.io/megalithic) on keybase.
- I have a public key whose fingerprint is BA52 D71C 67F0 08C1 CCBC 5C60 E4D5 E30E B5A3 267B
To claim this, I am signing this object:
$(function() { | |
$(".prep-select").html('<%= select_tag("recipe_ingredients[#{@recipe_ingredient.id}][prep_action_id]", options_from_collection_for_select(@preps, :id, :name, @recipe_ingredient.prep_action_id), {include_blank: true, prompt: 'Select Prep Action', class: 'chzn'}).gsub(/n/, '') %>'); | |
$(".prep-select").append("<option value=''> Select a Prep Option </option>"); | |
}); |
highlight javascriptDebugger guifg=white guibg=red ctermfg=white ctermbg=red | |
syntax match javascriptDebugger /debugger/ |
# the output of executing the command below, if i execute `karma run` from a zsh prompt, it runs just fine.. thoughts on how to fix? | |
:!karma run | |
zsh:1: command not found: karma | |
shell returned 127 | |
Press ENTER or type command to continue |
import React, { Component, PropTypes } from 'react' | |
export default class Search extends Component { | |
static propTypes = { | |
onChange: PropTypes.func | |
} | |
constructor (props) { | |
super(props) | |
} |
// Header styles. | |
// | |
// - Main wrapper | |
// - Search box | |
// - Message center | |
// - Main nav | |
// - User wallet | |
// Main wrapper. |
I hereby claim:
To claim this, I am signing this object:
Start weechat if you haven't already:
$ weechat
open up browser and go to: https://irc.gitter.im/ retrieve your /PASS
In weecaht run (thanks to raine):
NOTE: The AKiTiO Thunder2 SHOULD NOT be plugged in yet
set filename to POSIX path of input | |
set cmd to "cd `dirname " & filename & "`; vim " & filename | |
tell application "iTerm" | |
tell the current window | |
# Uncomment the next line if you want to create a new iTerm tab instead. | |
#create tab with default profile | |
tell the current session | |
tell application "iTerm" to activate | |
delay 1 |
-- Catch fn-h and convert it to a left arrow key. | |
function catcher(event) | |
if event:getFlags()['fn'] and event:getCharacters() == "h" then | |
print("fn-h!") | |
return true, {hs.eventtap.event.newKeyEvent({}, "left", true)} | |
end | |
return false | |
end | |
local tapper=hs.eventtap.new({hs.eventtap.event.types.keyDown}, catcher):start() |