Skip to content

Instantly share code, notes, and snippets.

Penn Su pencilcheck

Block or report user

Report or block pencilcheck

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:f53bf2a95e79e0f258da
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...
View gist:e94d42ca16d0e409cbc4
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
View gist:badeff2acec6ed0ca4ee
~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)
View gist:adbdc72c5750b9659171
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
View gist:a0589e8b38883bea21e8
-----> 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'
View gist:acb04db11b26c67a35fb
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
View gist:1da72144678b8f284720
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()
View gist:9b6a36765c77a0cdb515
{
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'
View gist:b4f9942bc2384c76b065
{
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'
View gist:9dd5bf1055ba9c0c8c52
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.
You can’t perform that action at this time.