Skip to content

Instantly share code, notes, and snippets.

Recreating web_gulp_1...
Recreating web_cronjobs_1...
Recreating web_rabbit_1...
Recreating web_mongo_1...
Recreating web_linkedin_1...
Recreating web_admin_1...
Recreating web_jobs_1...
Recreating web_mailer_1...
Recreating web_match_1...
Recreating web_backend_1...
ActiveAdmin.register User do
permit_params :email, :password, :password_confirmation, :name, :about, :location, :contract_length, :company_id, :fun_fact, :commitment_ids, :signed_in_at, :paypal_credit_card_id, :imported_from_linkedin_at, skills_attributes: [:id, :skill_level, :years_of_experience, :details, :specialty_id], accomplishments_attributes: [:id, :content], links_attributes: [:id, :meta, :url], education_attributes: [:id, :school, :degree, :year]
index do
selectable_column
id_column
column :email
column :password_digest
column :name
column :about
~PROJECTS/workties/WWM_ML   master ●  python main.py --reload_data --all_workers --run_models --server
CUR MODE: JOB
5 workers started
Traceback (most recent call last):
File "main.py", line 134, in <module>
server.startServer()
File "/Users/penn/Projects/workties/WWM_ML/webApp/server.py", line 331, in startServer
d.saveModelWeights('jobRec', modelWeights, settings=settings)
File "/Users/penn/Projects/workties/WWM_ML/data.py", line 263, in saveModelWeights
dconn = dataConnection(settings = settings)
stats_api_v2_user_job_post GET /api/v2/users/:user_id/job_posts/:id/stats(.:format) api/v2/job_posts#stats {:format=>:json}
publish_api_v2_user_job_post POST /api/v2/users/:user_id/job_posts/:id/publish(.:format) api/v2/job_posts#publish {:format=>:json}
archive_api_v2_user_job_post POST /api/v2/users/:user_id/job_posts/:id/archive(.:format) api/v2/job_posts#archive {:format=>:json}
like_api_v2_user_job_post POST /api/v2/users/:user_id/job_posts/:id/like(.:format) api/v2/job_posts#like {:format=>:json}
dislike_api_v2_user_job_post POST /api/v2/users/:user_id/job_posts/:id/dislike(.:format) api/v2/job_posts#dislike {:format=>:json}
POST /api/v2/users/:user_id/job_posts/:id/like/users/:candidate_id(.:format) api/v2/jo
-----> Precompiling asset files
$ RAILS_ENV="staging" bundle exec rake assets:precompile RAILS_GROUPS=assets
WARNING: Use strings for Figaro configuration. 6379 was converted to "6379".
W, [2014-12-18T21:31:42.744936 #31901] WARN -- : Initializing 2 workers
rake aborted!
EOFError: end of file reached
/var/www/wwm/tmp/build-141895628531110/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/core_ext/marshal.rb:6:in `load'
/var/www/wwm/tmp/build-141895628531110/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/core_ext/marshal.rb:6:in `load_with_autoloading'
/var/www/wwm/tmp/build-141895628531110/vendor/bundle/ruby/2.1.0/gems/sprockets-derailleur-0.0.9/lib/sprockets-derailleur/manifest.rb:45:in `block (3 levels) in compile'
/var/www/wwm/tmp/build-141895628531110/vendor/bundle/ruby/2.1.0/gems/sprockets-derailleur-0.0.9/lib/sprockets-derailleur/manifest.rb:44:in `each'
function! VimNavigate(direction)
try
execute 'wincmd ' . a:direction
catch
echohl ErrorMsg | echo 'E11: Invalid in command-line window; <CR> executes, CTRL-C quits: wincmd k' | echohl None
endtry
endfunction
let g:location_left = 0
let g:location_right = 0
function! VimNavigate(direction)
try
execute 'wincmd ' . a:direction
catch
echohl ErrorMsg | echo 'E11: Invalid in command-line window; <CR> executes, CTRL-C quits: wincmd k' | echohl None
endtry
endfunction
function! DetermineLocation()
let nr = winnr()
@pencilcheck
pencilcheck / gist:9b6a36765c77a0cdb515
Created February 5, 2015 00:16
sample job card format
{
job_position: 'Visual Designer'
summary: 'Visual Designers weave iconography, typography, color, space and texture together to help our users successfully navigate our products.'
requirements: 'Create and and iterate on assets that reflect a brand, enforce a language, and inject beauty. Push creativity, challenge established thinking, and discover new ways of approaching a problem.'
salary_range: '80k-115k'
commitments: 'Full Time'
location: 'Mountain View, CA'
score: 89
bounty_currency_symbol: '$'
bounty: '200'
@pencilcheck
pencilcheck / gist:b4f9942bc2384c76b065
Created February 5, 2015 00:17
sample job card format
{
job_position: 'Visual Designer'
summary: 'Visual Designers weave iconography, typography, color, space and texture together to help our users successfully navigate our products.'
requirements: 'Create and and iterate on assets that reflect a brand, enforce a language, and inject beauty. Push creativity, challenge established thinking, and discover new ways of approaching a problem.'
salary_range: '80k-115k'
commitments: 'Full Time'
location: 'Mountain View, CA'
score: 89
bounty_currency_symbol: '$'
bounty: '200'
doctype html
html
head
meta content='text/html; charset=UTF-8' http-equiv='Content-Type'
body
p Hello #{@user.name},
p Welcome to the WorkTies Job Matching platform. We know that navigating your next steps in your career can be a roller-coaster. We want to make it a smoother ride. In addition to the mobile app, we also have a web platform available for you to update your profile, upload your resume, and for viewing on a larger screen at <a href="http://workties.us/">http://workties.us/</a>. The login information is the same as the one you created on the mobile app. Do reach out if you have any questions.