Skip to content

Instantly share code, notes, and snippets.

View qrush's full-sized avatar
Making internets

Nick Quaranto qrush

Making internets
View GitHub Profile
qrush /
Created March 24, 2020 13:23
Semantic Commit-Based Pull Request Template
feat (VideoComponent): Allow downloading as a GIF
fix (Billing): Don't allow freeloaders to freeload so much
docs (changes to documentation)
style (formatting, missing semi colons, etc; no code change)
refactor (refactoring production code)
test (adding missing tests, refactoring tests; no production code change)
chore (updating grunt tasks etc; no production code change)
qrush / application_job.rb
Last active March 31, 2020 01:38
Use Honeycomb to trace ActiveRecord calls inside of ActiveJob
class ApplicationJob < ActiveJob::Base
around_perform do |job, block|
Honeycomb.start_span(name: do |span|
span.add_field 'type', 'worker'
span.add_field '', job.queue_name
qrush / index.js
Created May 30, 2018 17:27 — forked from marianmoldovan/index.js
AWS Polly Lambda API
'use strict';
const aws = require('aws-sdk');
const s3 = new aws.S3({ apiVersion: '2006-03-01' });
const polly = new aws.Polly({region: 'eu-west-1'});
const md5 = require('md5');
const request = require('request');
var params = {
OutputFormat: 'mp3',
Text: 'Hola',
qrush /
Created February 14, 2018 14:58

Keybase proof

I hereby claim:

  • I am qrush on github.
  • I am qrush ( on keybase.
  • I have a public key ASBPz-9RTY-gqFJYfQd1Li7b6D5ipOU0jjNSwcXFkrOT7wo

To claim this, I am signing this object:

qrush / PhantomJS
Created August 10, 2016 02:29 — forked from pboling/PhantomJS
How to install old PhantomJS 1.8.2 on Mac OS X
2016-05-22T14:15:53.638473114Z app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"exd8mOZhgm+jagtodSs/Rh4FGP4ewIqOpL7jX/SLYnhOWHZIgfMBBz6jLQIpCPb7qp7rLxe5zxI+lOrErYF0Yg==", "show"=>{"featured"=>"false", "unknown_setlist"=>"0", "raw_setlist"=>"Notes\r\n\r\nNumbers and Facts\r\nOrigami\r\nAll Night Long > \r\nTriangle\r\nStrange Times\r\nSkyway > \r\nDave's Song\r\nKitty Chaser (Explosions)", "extra_notes"=>"Marty teases in Origami and Dave's", "embeds"=>""}, "commit"=>"Update setlist", "show_id"=>"2016-05-21"}
qrush /
Last active May 31, 2016 11:34
archive pickaxe
for t in `git tag | tac`
echo ">>>>>>>>>>"
echo $t
git reset --hard $t
git lfs fetch
git checkout -f $t
git lfs checkout
while [ $? -ne 0 ]; do
git lfs fetch
OPTIONS=horsename:Silver Bullet
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
gemfile(true) do
source ''
gem 'rails', github: 'rails/rails'
qrush / wine.rb
Created March 12, 2016 16:09
Install wine via homebrew with directx patch for Stardew Valley
# NOTE: When updating Wine, please check Wine-Gecko and Wine-Mono for updates
# too:
# -
# -
class Wine < Formula
desc "Wine Is Not an Emulator"
homepage ""
head "git://"
stable do