This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set hlsearch "Highlight searches | |
set incsearch "Incremental search | |
set ls=2 "Always show status line in all windows | |
set autoindent "Auto indent on new line | |
set smartindent | |
set expandtab "tabs to spaces | |
set tabstop=2 "Tabs are 2 spaces in width | |
set shiftwidth=2 "Autodindent to 2 spaces width | |
set scrolloff=10 "Start scrolling when 10 lines close to the bottom | |
set ruler "Shows current file position |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($) { | |
// last time we send tracking information | |
// default is 60 seconds ( converted to miliseconds ) | |
var send_interval = 60 * 1000; | |
// Last time we send the event to GA | |
var last_time = new Date().getTime(); | |
// Track mouse movement | |
$(window).mousemove(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windows: | |
- name: "server ms1" | |
clear: true | |
root: "~/Sites/sage/mysageone_es/host_app" | |
splits: | |
- cmd: "ss" | |
- name: "server s1" | |
clear: true | |
root: "~/Sites/sage/sageone_es/host_app" | |
splits: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unbind % | |
bind | split-window -h | |
bind - split-window -v | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
# Set status bar | |
set -g status-bg black |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias WTF='git reset --hard' | |
alias be='bundle exec' | |
alias ber='bundle exec rake' | |
alias dbm='bundle exec rake db:migrate' | |
alias dbmt='bundle exec rake db:migrate RAILS_ENV=test' | |
alias dbr='bundle exec rake db:reset' | |
alias dbrt='bundle exec rake db:reset RAILS_ENV=test' | |
alias dbs='bundle exec rake db:seed --trace' | |
alias dbst='bundle exec rake db:seed --trace RAILS_ENV=test' | |
alias fb='bundle exec fudge build' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pry.commands.alias_command 'c', 'continue' | |
Pry.commands.alias_command 's', 'step' | |
Pry.commands.alias_command 'n', 'next' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*.DS_Store' -type f -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MONGO_URL=mongodb://localhost:27017/sageone && meteor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NewMessageForm = React.createClass | |
handleSubmit: (e) -> | |
e.preventDefault() | |
description = React.findDOMNode(@refs.description).value.trim() | |
return unless description | |
Messages.insert({description: description}) | |
React.findDOMNode(@refs.description).value = '' | |
render: -> | |
<div className="panel-footer"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messageSchema = new SimpleSchema | |
userId: | |
type: String | |
label: 'User' | |
index: true | |
optional: true | |
denyUpdate: true | |
description: | |
type: String |
OlderNewer