Skip to content

Instantly share code, notes, and snippets.

View germs12's full-sized avatar
:shipit:

James Thullbery germs12

:shipit:
View GitHub Profile
@germs12
germs12 / Brewfile
Created April 23, 2019 15:57 — forked from bbonamin/Brewfile
Capybara Selenium Webdriver: Headless Chrome (with file downloads!) & Headless Firefox
tap "caskroom/cask"
cask "google-chrome"
cask "firefox"
brew "chromedriver"
brew "geckodriver"
@germs12
germs12 / Todos.md
Last active February 27, 2018 01:39
  1. Budget Reducer Specs need help
  2. Extract the app.component.* files to a container so we can have multiple apps
  3. Remove Store from BudgetFormComponent and bring it to the Campaign Component.
@germs12
germs12 / gist:f64bec8ad131677cfa640f2319ee2d1f
Last active February 14, 2017 22:38
Fix rails 5.1 rspec warnings

Fixing this issue...

DEPRECATION WARNING: Using positional arguments in functional tests has been deprecated,
in favor of keyword arguments, and will be removed in Rails 5.1.

Deprecated style:
get :show, { id: 1 }, nil, { notice: "This is a flash message" }

New keyword style:
get :show, params: { id: 1 }, flash: { notice: "This is a flash message" },
@germs12
germs12 / rake_call_rake_argument.rake
Created May 12, 2016 23:38
Call rake tasks with rake tasks that have arguments
namespace :import do
desc 'Checks all pre-exsisting campaigns funded_text'
task :account_images, [:account_id] => [:environment] do |t, arg|
puts "Arg is: #{arg[:account_id]}"
end
desc 'Checks all pre-exsisting campaigns funded_text'
task :account_image_images, [:account_id] => [:environment] do |t, arg|
puts "Arg is: #{arg[:account_id]}"
end
account
name subdomain hostname
name:string subdomain:string created_at:datetime updated_at:datetime logo:string theme_id:integer background_image:string company_url:string about_us:text tax_id_number:string jurisdiction:string executive_name:string favicon:string hostname:string footer_logo:string status:string education_url:string marketing_title:string marketing_subtitle:string is_private:boolean import_file:string entity_type:string screen_investors:boolean how_to_invest:boolean type_of_investment_return:integer level_1_permissions:jsonb marketing_skin:string workflow_creator_id:integer workflow_distributor_id:integer account_mailchimp_list_id:string external_investor_id_source:string general_ledger_id_source:string preferences:jsonb audit_account_id:integer
accreditation
status external_service exernal_key firstname lastname
investor_profile_id:integer organization_id:integer status:string external_service:string external_key:string firstname:string lastname:string verified_at:date legal:str
@germs12
germs12 / gist:fa5177cbe299f6e75b64
Created September 11, 2015 15:19
SPEC TEMPLATE API/V2/
describe "GET index unauthenticated" do
end
describe "GET index SPONSOR authenticated" do
end
describe "GET index GUEST authenticated" do
end
1- Create a audience
2- Create a campaign w/ email
3- Setup a automation flow
3-- WHEN THESE PEOPL == list from step 1
3-- TAKE THIS ACTION == Email signup
[ pid=8616, timestamp=1436815009 ] Process aborted! signo=SIGSEGV(11), reason=SI_KERNEL, si_addr=0x0, randomSeed=1436814992
[ pid=8616 ] Crash log dumped to /var/tmp/passenger-crash-log.1436815009
[ pid=8616 ] Date, uname and ulimits:
Mon Jul 13 19:16:49 UTC 2015
Linux 3.16.0-31-generic #43~14.04.1-Ubuntu SMP Tue Mar 10 20:13:38 UTC 2015 x86_64 x86_64
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 8192
coredump(blocks) 0
@germs12
germs12 / gist:9d6f61a5976d79ba0397
Created June 11, 2015 21:15
Grilled Chicken Tacos
4 whole chicken breasts
pound so they are flat
oil, salt and pepper
6-8 minutes
thin slices diagnoally
2 lbs of green peppers (burn skin off of peppers - grill / 450 ~ 10 minutes) (5 big peppers)
cut into thin strips
butter in skillit
@germs12
germs12 / gist:d7f28de385942c8eb3a1
Last active August 29, 2015 14:12
Music Explorer Project

MUSIC EXPLORER PROJECT

  1. Develop UI using [HTML 5 Admin][1] or [Bootstrap 3][2]
  • Search Form
  • Results Page
  • Top [HOTTTNESS, GENRE, CURRENCY, DISCOVERY, etc...] Page
  • Be creative.
  • Show your skills!
  • Use graphs (any library of your choice: [some here][3] and [some more here][4])