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
#!/usr/bin/env ruby | |
# API Documentation at http://api.wikia.com/wiki/LyricWiki_API | |
require 'open-uri' | |
require 'json' | |
require 'tmpdir' | |
ARTIST = "Johnny Cash" |
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
# Log SQL queries to STDOUT | |
unless Rails.env.test? | |
ActiveRecord::Base.logger = ActiveSupport::Logger.new(STDOUT) | |
end |
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.
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
#!/bin/sh | |
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 |
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
Capybara.register_driver :selenium_chrome_headless_with_media do |app| | |
options = Selenium::WebDriver::Chrome::Options.new | |
options.add_argument("headless") | |
options.add_argument("use-fake-device-for-media-stream") | |
options.add_argument("use-fake-ui-for-media-stream") | |
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( | |
"goog:loggingPrefs" => { | |
browser: "ALL" | |
} | |
) |