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
| sudo chmod -R g+wrx . | |
| sudo chown -R schweigert:schweigert . |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| git config --global pull.rebase true | |
| git config --global fetch.prune true | |
| git config --global diff.colorMoved zebra |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # frozen_string_literal: true | |
| RSpec::Matchers.define :delegate do |method| | |
| match do |delegator| | |
| @method = @prefix ? :"#{@to}_#{method}" : method | |
| @delegator = delegator | |
| begin | |
| @delegator.send(@to) | |
| rescue NoMethodError | |
| raise "#{@delegator} does not respond to #{@to}!" |
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
| function getAllElementsWithAttribute(attribute) | |
| { | |
| var matchingElements = []; | |
| var allElements = document.getElementsByTagName('*'); | |
| document.getElementsByTagName('*').forEach((el) => { | |
| if(el.getAttribute(attribute) !== null) { matchingElements.push(el) } | |
| }) | |
| return matchingElements; |
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
| gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)" |
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
| require 'octokit' | |
| require 'pry' | |
| username = '' | |
| token = '' | |
| org = '' | |
| client = Octokit::Client.new(login: username, password: token) | |
| client.organization_repositories(org).map do |repo| | |
| client.repository(repo.full_name) |
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
| asdf install nodejs 13.2.0 | |
| asdf global nodejs 13.2.0 | |
| node --version | |
| npm --version |
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
| asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git | |
| bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring |
NewerOlder