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
| {"lastUpload":"2022-03-18T20:17:54.280Z","extensionVersion":"v3.4.3"} |
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
| # If you'd like to be able to require the pry gem even though it isn't in your Gemfile, | |
| # you can use this file. I suggest putting it at `~/pry.rb`, then instead of calling | |
| # `require 'pry'; binding.pry` you can call `require '~/pry'; binding.pry | |
| class BundlerBreakout | |
| def initialize(libname) | |
| @libname = libname | |
| end | |
| def load |
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
| # A small utility for requiring a gem that is not in your app's Gemfile.lock. | |
| # It usually works. :) | |
| # | |
| # Example usage: | |
| # | |
| # Without BundlerBreakout: | |
| # | |
| # require 'mygem' | |
| # LoadError: cannot load such file -- mygem | |
| # |
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
| #! /usr/bin/env ruby | |
| require "work_queue" | |
| require "etc" | |
| module Color | |
| CODES = { | |
| red: 31, | |
| green: 32, | |
| yellow: 33, |
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
| # if you get an nfs/exports error, delete the Vagrant sections from /etc/exports | |
| Vagrant.configure('2') do |config| | |
| config.vm.box = 'bento/centos-7.4' | |
| config.vm.provider :virtualbox do |vb, _override| | |
| vb.customize ['modifyvm', :id, '--memory', '2048'] | |
| end | |
| config.vm.synced_folder '.', '/home/vagrant/mnt', nfs: true |