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
# proxy API requests for old IE | |
config.middleware.use Rack::StreamingProxy::Proxy do |request| | |
if request.path.start_with?('/proxy') | |
proxy_path = request.path.sub %r{^/proxy}, '' | |
"//#{Figaro.env.api_domain}/api/v1#{proxy_path}" | |
end | |
end |
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
// Console-polyfill. MIT license. | |
// https://github.com/paulmillr/console-polyfill | |
// Make it safe to do console.log() always. | |
(function(con) { | |
'use strict'; | |
var prop, method; | |
var empty = {}; | |
var dummy = function() {}; | |
var properties = 'memory'.split(','); | |
var methods = ('assert,count,debug,dir,dirxml,error,exception,group,' + |
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
:javascript | |
window.CONFIG = #{@config}; | |
console.log.apply = 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
# system-wide environment settings for zsh(1) | |
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
+/etc/zshenv:2> [ -x /usr/libexec/path_helper ']' | |
+/etc/zshenv:3> /usr/libexec/path_helper -s | |
+/etc/zshenv:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperCollider/SuperCollider.app/Contents/Resources/";' export 'PATH;' | |
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperC |
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
NVIM 0.0.0-alpha+201504191717 (compiled Apr 20 2015 12:55:32) | |
Commit: 84891f2802a0db1a257580f341d70a5fdb0f6c75 | |
Build type: RelWithDebInfo | |
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -O2 -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim2 | |
0150420-34424-177jqxg/build/config -I/tmp/neovim20150420-34424-177jqxg/src -I/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I/tmp/neovim20150420-3 | |
4424-177jqxg/.deps/usr/include/luajit-2.0 -I/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I | |
/tmp/neovim20150420-34424-177jqxg/.deps/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim20150420-34424-177jqxg/build/src/nvim/auto -I/tmp/neovim20150420-34424-177jqxg/build/include | |
Compiled by [email protected] | |
Optional features |
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
# system-wide environment settings for zsh(1) | |
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
+/etc/zshenv:2> [ -x /usr/libexec/path_helper ']' | |
+/etc/zshenv:3> /usr/libexec/path_helper -s | |
+/etc/zshenv:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperCollider/SuperCollider.app/Contents/Resources/";' export 'PATH;' | |
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperC |
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
# system-wide environment settings for zsh(1) | |
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
+/etc/zshenv:2> [ -x /usr/libexec/path_helper ']' | |
+/etc/zshenv:3> /usr/libexec/path_helper -s | |
+/etc/zshenv:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperCollider/SuperCollider.app/Contents/Resources/";' export 'PATH;' | |
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperC |
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
# system-wide environment settings for zsh(1) | |
if [ -x /usr/libexec/path_helper ]; then | |
eval `/usr/libexec/path_helper -s` | |
fi | |
+/etc/zshenv:2> [ -x /usr/libexec/path_helper ']' | |
+/etc/zshenv:3> /usr/libexec/path_helper -s | |
+/etc/zshenv:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperCollider/SuperCollider.app/Contents/Resources/";' export 'PATH;' | |
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/heroku/bin:/Users/lynn/gocode/bin:/usr/local/go/bin:/Users/lynn/.rbenv/shims:/.rbenv/bin:node_modules/.bin:/opt/adt-bundle-mac-x86_64/sdk/tools:/Users/lynn/tools/bin:/Users/lynn/bin:/usr/local/share/npm/bin:/usr/local/sbin:/Users/lynnhurley/bin/FDK/Tools/osx:/Applications/SuperC |
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
if [ "$TMUX" ] || [ ! $ZSHRC_LOADED ] || [ "$NVIM_LISTEN_ADDRESS" ] | |
then | |
# os x specifics | |
case "$(uname -s)" in | |
Darwin) | |
export PATH=$HOME/tools/bin:$HOME/bin:/usr/local/share/npm/bin:$PATH | |
# system stuff | |
export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin |
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
class AddSubmissionTimesToSubmittedApps < ActiveRecord::Migration | |
def change | |
# set all currently submitted applications submitted_at time to now | |
ProgramApplication.where(company: nil, ready_to_submit: true).each{|app| | |
unless app.company | |
app.company = Company.create!(name: 'unnamed') | |
end | |
app.submitted_at = Time.now | |
app.save! |