Skip to content

Instantly share code, notes, and snippets.


Justin Wilson jwilsjustin

View GitHub Profile
jwilsjustin / capybara.rb
Created Jul 21, 2021
capybara chrome headless with media and logging
View capybara.rb
Capybara.register_driver :selenium_chrome_headless_with_media do |app|
options =
capabilities =
"goog:loggingPrefs" => {
browser: "ALL"
files=$(git status -s | grep -E 'A|M' | awk '{print $2}')
files="$files $(git status -s | grep -E 'R' | awk '{print $4}')"
echo $files | xargs bundle exec standardrb --format progress --no-fix --display-cop-names --extra-details --force-exclusion
🤨 TLDR; source
higher-order function it returns a function when you call it link
selector a small function you write that can take the entire Redux state, and pick out a value from it link

Professional Experience

Audiogon - Senior Developer

March 2013 - Present

I built and maintained features for the High-End Audio Community. I utilized full-stack web development skills. Additionally I helped rebuild some legacy sites. To accomplish this I designed Ruby libraries to cycle through thousands of text files, resulting in over a million of database records. It was actually pretty fun.

As a team leader, I was responsible for implementing the software roadmap. I promoted collaborative discussions where developers could reach a consensus about software solutions.

Dealer Ignition - Web Developer

jwilsjustin / sql_logger.rb
Created Sep 4, 2015
The best way I've found to log SQL in Rails 4.x+ applications
View sql_logger.rb
# Log SQL queries to STDOUT
unless Rails.env.test?
ActiveRecord::Base.logger =
View lyrics.rb
#!/usr/bin/env ruby
# API Documentation at
require 'open-uri'
require 'json'
require 'tmpdir'
ARTIST = "Johnny Cash"