Skip to content

Instantly share code, notes, and snippets.

@jmmastey
jmmastey / gist:cf60d9edfb5b420cd522ece1e5b06f50
Created January 20, 2017 19:12
terrible_recruiter_spam
Dear Joseph
I came across your resume on an online job board and wanted to reach out to you to see if you or someone you know might be interested in a contract opportunity in Roseville, MN.
My client is looking for a Senior Software Engineer to join their team on a contractual basis.
Please carefully read the Job Description below, and if you would like to pursue this opportunity please email me an updated MS Word version of your resume to [email protected] at your earliest convenience. If you're not interested feel free to send me your resume and let me know what type of positions I can help you with. I appreciate your time and look forward to hearing from you.
NOTE- ONLY W-2 CANDIDATES / WE DON'T WORK ON CORP-CORP OR WITH H1B OR OPT-EAD CONSULTANTS FOR THIS OPENING./THIS IS A 100% ONSITE JOB..
@jmmastey
jmmastey / suggestions.md
Last active March 29, 2016 01:54
70+ Team Outings That Aren't Centered Around Drinking
# C-b is not acceptable, make it C-w
set -g prefix C-w
bind C-w send-prefix
#bind-key C-w last-window
# navigate windows
bind-key -n F11 previous-window
bind-key -n F12 next-window
# start numbering at 1
@jmmastey
jmmastey / Percentage Non-Male by Programming Language
Last active August 29, 2015 14:24
Derived Stats from SO Programmer Survey
Language | % Non-Male | % Other | Total | Male | Female | Other
----------------------------------------------------------------------------------------------------
TOTALS | 5% | 0.56% | 190942 | 181170 | 8705 | 1067
JavaScript | 5% | 0.35% | 20219 | 19150 | 999 | 70
SQL | 5% | 0.39% | 14526 | 13739 | 731 | 56
Java | 5% | 0.36% | 14107 | 13270 | 786 | 51
C# | 4% | 0.32% | 12634 | 12056 | 537 | 41
Python | 4% | 0.51% | 10957 | 10441 | 460 | 56
PHP | 5% | 0.48% | 10283 | 9679 | 555 | 49
Android | 5% | 0.41% | 9759 | 9191 | 528 | 40

Keybase proof

I hereby claim:

  • I am jmmastey on github.
  • I am jmmastey (https://keybase.io/jmmastey) on keybase.
  • I have a public key whose fingerprint is 96A4 7D87 6ED9 16E5 1D18 1EC6 460D 872E BFC0 C7CD

To claim this, I am signing this object:

@jmmastey
jmmastey / illusion.js
Created April 6, 2015 23:25
optical illusion
background(0,0,0);
var radius = 1;
var drawCircle = function(rad) {
translate(200, 200);
for(var r = 0; r < 360; r += 2) {
fill(20, mouseY, mouseX);
rect(rad, rad, 20, 20);
rotate(2);
}
def auth_by_token(email, auth_token)
user = User.find(email: email)
if user && Devise.secure_compare(user.auth_token, auth_token)
session[:current_user] = user
end
end
def show_account_label
puts "#{client_count}, #{last_connection_time}"
end
def clients
@account.client_list
end
def client_count
"#{clients.length} #{"client".pluralize}"
def create_customer_leads(posted_data)
Array(posted_data).map do |lead_params|
extract_customer_lead(lead_params)
end
end
def extract_customer_lead(lead_params)
AcquisitionClient::CustomerLead.extract_customer_lead(posted_data)
end