This file contains hidden or 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
| #!/bin/bash | |
| ARRAY=( | |
| "webpack:webpack" | |
| "webpack:example-app" | |
| "webpack:enhanced-require" | |
| "webpack:webpack-dev-middleware" | |
| "webpack:enhanced-resolve" | |
| "webpack:template" | |
| "webpack:webpack-dev-server" |
This file contains hidden or 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
| source :rubygems | |
| gem 'sinatra' | |
| gem 'json' | |
| gem 'omniauth' | |
| gem 'omniauth-oauth2' | |
| gem 'omniauth-github' | |
| # gem 'omniauth-att', :path => File.expand_path("./../../omniauth-att", __FILE__) | |
| gem 'thin' |
This file contains hidden or 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
| defmodule Lexer do | |
| defmodule PIR do | |
| require LexChar | |
| defmacrop line(opts) do | |
| quote do: elem(unquote(opts),1) | |
| end | |
| defmacrop file(opts) do | |
| quote do: elem(unquote(opts),2) | |
| end |
This file contains hidden or 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
| namespace :db do | |
| require 'uri' | |
| desc "Uses heroku:config for APP to forcefully create ~/.pgpass" | |
| task :create_pgpass do | |
| app = ENV['APP'] || 'whatever-your-default-app-is' | |
| uri = URI(`heroku config:get DATABASE_URL -a #{app}`) | |
| entry = "*:5432:#{uri.path.gsub /\//, ''}:#{uri.user}:#{uri.password}" | |
| `echo '#{entry}' > ~/.pgpass; chmod 0600 ~/.pgpass` | |
| end |