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 | |
# This file is used by Rack-based servers to start the application. | |
require_relative 'config/environment' | |
map Rails.application.config.relative_url_root || '/' do | |
run Rails.application | |
Rails.application.load_server | |
end |
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
/* ==UserStyle== | |
@name VA Datadog Warning Hider | |
@description Hides the "WARNING! This system contains U.S. Government information" alert. | |
@match https://vagov.ddog-gov.com/* | |
==/UserStyle== */ | |
.single-page-app_layout_fedramp-warning-top-bar { display: none !important } |
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
// ==UserScript== | |
// @name Slack Redirector | |
// @namespace boehs.com | |
// @include *://adhoc.slack.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(() => { | |
const regex = /https:\/\/adhoc\.slack\.com\/(.+)$/; |
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
# Fetch stdgems.json if not exist | |
unless File.exist?('stdgems.json') | |
puts "Fetching stdgems.json...\n\n" | |
`curl -s -o stdgems.json https://stdgems.org/stdgems.json` | |
end | |
require 'json' | |
stdgems_json = File.read('stdgems.json') |
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
<?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"> | |
<array> | |
<dict> | |
<key>Activate</key> | |
<string>Normal</string> | |
<key>CreationDate</key> | |
<real>702922293.579934</real> | |
<key>Macros</key> |
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
// ==UserScript== | |
// @name ZenHub to GitHub Redirect | |
// @namespace boehs.com | |
// @include *://app.zenhub.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(() => { | |
const regex = /https:\/\/app\.zenhub\.com\/workspaces\/.+\/issues\/gh\/(.+\/.+?)\/(\d+)$/; |
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
KNOWN_EXAMPLE_FILE_PATH_LN = [ | |
'./spec/services/form1010cg/auditor_spec.rb:301', | |
'./spec/lib/common/exceptions/detailed_schema_errors_spec.rb:223', | |
'./spec/jobs/va_notify_email_job_spec.rb:18', | |
'./spec/controllers/v0/caregivers_assistance_claims_controller_spec.rb:49', | |
'./spec/controllers/v0/caregivers_assistance_claims_controller_spec.rb:25', | |
'./spec/requests/v0/form1010cg/attachments_request_spec.rb:74', | |
'./spec/requests/v0/form1010cg/attachments_request_spec.rb:49', | |
'./spec/controllers/inherited_proofing_controller_spec.rb:195', | |
'./spec/controllers/v1/sessions_controller_spec.rb:421', |
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 'uri' | |
require 'net/http' | |
url = URI.parse 'http://localhost:9292/' | |
request = Net::HTTP::Get.new url.path | |
response = Net::HTTP.start(url.host, url.port) do |http| | |
http.read_timeout = 2 | |
http.request request | |
end |
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 'json' | |
require 'net/http' | |
class GQLBuilder | |
attr_reader :mutations, :queries, :result | |
def initialize | |
@mutations = [] |
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
{ | |
"form1[0].#subform[0].veteranLastName[0]": "<%= data['veteranFullName']['last'] %>", | |
"form1[0].#subform[0].veteranFirstName[0]": "<%= data['veteranFullName']['first'] %>", | |
"form1[0].#subform[0].veteranMiddleInitial[0]": "<%= data['veteranFullName']['middle'] %>", | |
"form1[0].#subform[0].veteranSocialSecurityNumber[0]": "<%= data['veteranSocialSecurityNumber'] %>", | |
"form1[0].#subform[0].VAfileNumber[0]": "<%= data['vaFileNumber'] %>", | |
"form1[0].#subform[0].applicantLastName2[0]": "<%= data['applicant1']['last'] %>", | |
"form1[0].#subform[0].applicantFirstName2[0]": "<%= data['applicant1']['first'] %>", | |
"form1[0].#subform[0].veteranDateOfBirth[0]": "<%= data['vet']['dob'] %>", | |
"form1[0].#subform[0].veteranTelephoneNumber[0]": "<%= data['sponsorPhone'] %>", |