Skip to content

Instantly share code, notes, and snippets.

View stevencwarren's full-sized avatar

Steven Warren stevencwarren

View GitHub Profile
<!doctype html>
<head>
<meta charset="UTF-8">
<title>CurrentEditofEmailSig</title>
</head>
<table class="sc-jAaTju fNCBho" cellpadding="0" cellspacing="0"
style="vertical-align: -webkit-baseline-middle; font-size: medium; font-family: Arial; width: 420px;">
<tbody>
<tr>
unless @model.get('is_parent_kid')
btn = buttonHelpTpl(user: @model.attributes, autoprompt: false)
@$el.prepend(btn)
$("body").on("click.uvpopover", (e) ->
unless $(e.target).is("#button-help")
UserVoice.hide()
)
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
# ~/.tmuxinator/GoNoodle.yml
name: gonoodle
root: ~/Projects/healthteacher/gonoodle
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
name: gonoodle
root: ~/Projects/healthteacher/gonoodle
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
<header class="panel-header">
<h1>Play Brain Breaks</h1>
<a href="javascript:;" id="back-to-dashboard" class="button button-primary button-panel-back"><i class="icon-arrow-left"></i> <span>Back</span></a>
</header>
<section class="brain-breaks">
<nav class="filter-nav"></nav>
<div id="brain-break-list" />
</section>
App.Views.IndexView = Backbone.View.extend(
tagName: 'div'
id: 'index'
template: HandlebarsTemplates['index']
class Bob
def hey(phrase)
phrase = Phrase.new({text: phrase})
case
@stevencwarren
stevencwarren / gist:6054695
Created July 22, 2013 15:21
highlighting text over 80 characters
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
match OverLength /\%80v.\+/

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname