View test.json
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
{ | |
"method": "POST", | |
"url": "https://auth.quiltt.io/v1/session", | |
"httpVersion": "HTTP/1.1", | |
"headers": [ | |
{ "name": "Accept", "value": "application/json" }, | |
{ "name": "Content-Type", "value": "application/json" } | |
], | |
"postData": { | |
"mimeType": "application/json", |
View bash.sh
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
curl https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore > ~/.gitignore | |
git config --global core.excludesfile ~/.gitignore |
View snippets.sql
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
SELECT pg_terminate_backend(pg_stat_activity.pid) | |
FROM pg_stat_activity | |
WHERE datname = current_database() | |
AND pid <> pg_backend_pid(); |
View before_singleton_action.rb
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
# frozen_string_literal: true | |
# @see https://gist.github.com/ryanlecompte/1283413 | |
module BeforeSingletonAction | |
extend ActiveSupport::Concern | |
class_methods do | |
def singleton_method_added(method_name) | |
return if before_singleton_actions.include?(method_name) || before_singleton_action_methods.include?(method_name) |
View GitConfig.sh
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
git config --global user.name "Zane Wolfgang Pickett" | |
git config --global user.email "sirwolfgang@users.noreply.github.com" | |
git config --global color.ui true | |
git config --global core.editor nano | |
git config --global credential.helper cache | |
git config --global credential.helper 'cache --timeout=3600' | |
git config --global core.autocrlf input |
View vcr.rb
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
RSpec.configure do |config| | |
# Add VCR to all tests | |
config.around(:each) do |example| | |
options = example.metadata[:vcr] || {} | |
if options[:record] == :skip | |
VCR.turned_off(&example) | |
else | |
name = example | |
.metadata[:full_description] |
View Gemfile
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
source 'https://rubygems.org' | |
gem 'rails', '4.2.0' | |
gem 'puma' | |
# databases | |
gem 'pg' | |
# javascript Backend | |
gem 'jbuilder' |
View Gemfile
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
gem 'jbuilder' | |
gem 'rack-cors' |
View private.xml
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
<?xml version="1.0"?> | |
<root> | |
<windownamedef> | |
<name>CODIO_IDE</name> | |
<regex>Codio IDE</regex> | |
</windownamedef> | |
<item> | |
<name>Command_L to Control_L</name> |
View sidekiq.sql
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
SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE application_name LIKE 'sidekiq%'; |
NewerOlder