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
[2019-12-05 22:14:05] __rvm_make | |
__rvm_make () | |
{ | |
\make "$@" || return $? | |
} | |
current path: /Users/<ommitted>/.rvm/src/ruby-2.3.8 | |
GEM_HOME=/Users/<ommitted>/.rvm/gems/ruby-head | |
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/<ommitted>/.rvm/gems/ruby-head/bin:/usr/local/sbin:/usr/local/opt/llvm@6/bin:/usr/local/opt/[email protected]/bin:/Users/<ommitted>/Library/Python/3.7/bin:/usr/local/opt/node@8/bin:/Users/<ommitted>/.sdkman/candidates/gradle/current/bin:/Users/<ommitted>/.rvm/gems/ruby-head/bin:/Users/<ommitted>/.rvm/gems/ruby-head@global/bin:/Users/<ommitted>/.rvm/rubies/ruby-head/bin:/Users/<ommitted>/Vertx/vert.x-2.1.5/bin:/Users/<ommitted>/Go/workspace/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/<ommitted>/.rvm/bin:/Users/<ommitted>/.rvm/bin | |
GEM_PATH=/Users/<ommitted>/ |
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
require "active_record" | |
namespace :db do | |
db_config = YAML::load(File.open('config/database.yml')) | |
db_config_admin = db_config.merge({'database' => 'postgres', 'schema_search_path' => 'public'}) | |
desc "Create the database" | |
task :create do | |
ActiveRecord::Base.establish_connection(db_config_admin) |
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/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
# Remove any existing packages: | |
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
# Get the dependencies (Ubuntu Server or headless users): | |
sudo apt-get update |
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
[2017-09-06 21:04:32] /Users/adammedeiros/.rvm/wrappers/ruby-2.4.0@rubinius/rake | |
current path: /Users/adammedeiros/.rvm/src/rbx-3.84 | |
PATH=/Users/adammedeiros/.rvm/bin:/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/adammedeiros/work/bin:/Users/adammedeiros/work/bin | |
command(3): /Users/adammedeiros/.rvm/wrappers/ruby-2.4.0@rubinius/rake install --trace | |
** Invoke install (first_time) | |
** Invoke build:build (first_time) | |
** Invoke machine/vm (first_time) | |
** Invoke machine/gen/config_variables.h (first_time) | |
** Invoke library/rubinius/configuration.rb (first_time, not_needed) | |
** Invoke config.rb (first_time, not_needed) |
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
// ==UserScript== | |
// @name Admin Opener | |
// @namespace https://www.givebrilliant.com | |
// @version 0.1 | |
// @description Open links found in the customer facing ideabook pages in admin (only works for products) | |
// @author Adam Medeiros @ Brilliant | |
// @match *://www.givebrilliant.com/ideabooks/* | |
// @match *://givebrilliant.com/ideabooks/* | |
// @match *://www.givebrilliant.com/projects/* | |
// @match *://givebrilliant.com/projects/* |
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
{"Results"=> | |
[{"Id"=>550695552, | |
"Name"=>"2 Port 2.1A UL Certified USB Wall Adapter", | |
"Description"=> | |
"UL certified. Two port USB wall adapter makes charging your phone and other devices handy. Large imprint area for maximum visibility. Each port capable of charging @ 2.1A. Dual usage @ 1A. Max output 2.1A.", | |
"Number"=>"EU529", | |
"ImageUrl"=>"media/24664935", | |
"VirtualSampleImages"=> | |
[{"Id"=>24664935, "ImageUrl"=>"virtualsample/24664935"}], | |
"ConfigId"=>"", |
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
// ==UserScript== | |
// @name Create product in brilliant | |
// @namespace http://espweb.asicentral.com | |
// @version 0.3 | |
// @description Adds a button to ASI's esp detail pages which takes users back to the brilliant site allowing them to create the product there. | |
// @author Adam Medeiros | |
// @match *://espweb.asicentral.com/Default.aspx*page=ProductDetails* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== |
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
{"Id"=>4988119, | |
"Name"=>"letter opener", | |
"Description"=> | |
"Rectangular shaped letter opener. Solid design, safe, sharp stainless blade. Designed for promo gift, desktop, office, corporation, school, safety program, home.", | |
"ShortDescription"=> | |
"Rectangular shaped letter opener with sharp stainless blade, 3 1/4\" x 3 1/8\".", | |
"Number"=>"LO505", | |
"Numbers"=>["LO505"], | |
"ImageUrl"=>"media/5606585", | |
"Supplier"=> |
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
{"Id"=>550201890, | |
"Name"=>"Spear Glass Trophies", | |
"Description"=> | |
"Cut right to the heart of the matter when you acknowledge the accomplishments of your employees with these Spear Glass Trophies. These exquisite blue and clear awards have a 2.25\" x 3\" imprint area that you can customize using laser engraving or you can order them blank. The glass trophies measure 9\" H x 5.75\" W x 0.4\" thick and will be the envy of the office. They are perfect for your top sales people, employee of the month and any other special achievements in the company. Show your employees that you value everything they bring to the business!", | |
"ShortDescription"=>"Spear Glass Trophies", | |
"Number"=>"ADMAW16", | |
"Numbers"=>["ADMAW16"], | |
"ImageUrl"=>"media/20816194", | |
"VirtualSampleImages"=> | |
[{"Id"=>20816194, |
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
{ | |
"Id": 550518851, | |
"Name": "Tri-Band Ballpoint Pen", | |
"Description": "Tri-band ballpoint pen with silver trim and black rubber grip for writing comfort and control. These tri-band ballpoint pens include plunger action. These tri-band ballpoint pens are also available in a variety of new colors! Tri-band ballpoint pens are a great giveaway for any event or trade show. Ensure your clients remember you and write away the competition with these great ballpoint pens!", | |
"ShortDescription": "Tri-band ballpoint pen with silver trim and black rubber grip. Rubber grip and silver trim on tri-band ballpoint pens.", | |
"Number": "AZ898", | |
"Numbers": [ | |
"AZ898" | |
], | |
"ImageUrl": "media/22117985", |
NewerOlder