Put in your Gemfile:
gem 'nav_link', '[email protected]:034011db54668d4966ca.git'
Include NavLink in ApplicationHelper:
module ApplicationHelper
include NavLink
end
| #!/bin/bash | |
| # filename: gem-install-libv8-darwin-20.sh | |
| set -e | |
| set -u | |
| set -o pipefail | |
| libv8_version="${1:-"8.4.255.0"}" | |
| from='19' | |
| to='21' |
| # Cleans up branches like: | |
| # if Shopify.rails_next? | |
| # # Rails 5 login | |
| # else | |
| # # Rails 4 login | |
| # end | |
| module RuboCop | |
| module Cop | |
| module ShopifyRails | |
| class RailsNextUnless < Cop |
Put in your Gemfile:
gem 'nav_link', '[email protected]:034011db54668d4966ca.git'
Include NavLink in ApplicationHelper:
module ApplicationHelper
include NavLink
end
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.25882352941176467</real> | |
| <key>Green Component</key> | |
| <real>0.21176470588235294</real> |
| function dbst | |
| set first_branch 'master' | |
| set second_branch (git rev-parse --abbrev-ref HEAD) | |
| if test (echo $argv | wc -w) -ge 1 | |
| set first_branch $argv[1] | |
| end | |
| if test (echo $argv | wc -w) -ge 2 | |
| set second_branch $argv[2] | |
| end | |
| git diff $first_branch...$second_branch --name-only db/migrate |
| { | |
| "installed_packages": | |
| [ | |
| "ApplySyntax", | |
| "Better CoffeeScript", | |
| "Capybara Snippets", | |
| "Cucumber", | |
| "Cucumber Step Finder", | |
| "DashDoc", | |
| "Gist", |
| #!/usr/bin/env zsh | |
| source ~/.zshrc | |
| rvm 2.0.0-p247 | |
| gem install bundler --no-document --pre | |
| number_of_cores=`nproc` | |
| bundle config --global jobs `expr $number_of_cores - 1` |
| #!/bin/bash | |
| # replace this variables | |
| $prefix="prefix" | |
| $mainapp="mainapp" | |
| branch=$(git rev-parse --abbrev-ref HEAD) | |
| app="$prefix-$branch" | |
| heroku fork $app -a $mainapp |