You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
Toni Rib
ToniRib
Infrastructure Engineer at Gusto | Turing School Alumna | USC Alumna
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
push build to GitHub & trigger CircleCI build (fish)
Usage: push_build <branch-name:required>
Shell: fish
Pushes the given branch to GitHub, triggers a build on CircleCI, and signs you up for Mac notifications to let you know if the build passed or failed when it is done.
function push_build
if test (count $argv) -eq 0
echo "Must include a branch name"
Pre Commit Hook Options For Ruby Style Guide Violations
If you would like to use one of this options, perform the following:
In whatever repo you want this turned on in, navigate to .git/hooks in the terminal.
Run mv pre-commit.sample pre-commit to rename the sample file and activate it.
Paste one of the following into that file and save.
Feel free to edit anything you would like in your own hook! They aren't commited, so you're welcome to have a custom configuration.
All of these assume that rubocop is installed in the Gemfile and that a rubocop.yml file exists in the directory. At a minimum, rubocop must be installed. If you don't have a rubocop.yml file, the default configuration will be used.
Each of these only check against files that have been staged for the given commit.
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
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
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
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
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
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