Skip to content

Instantly share code, notes, and snippets.

View lorenanicole's full-sized avatar
🤗
Live long 🖖🖖and Python 🐍🐍!

Lorena Mesa lorenanicole

🤗
Live long 🖖🖖and Python 🐍🐍!
View GitHub Profile
@lorenanicole
lorenanicole / pyladies_basic_member.md
Last active February 14, 2020 21:48
pyladies-form-questions

Registration for Basic Member (No Voting):

Please complete the following questions to be registered as a basic (non voting) member of PyLadies.

PyLadies Membership Option

Yes - I would like voting privileges. If yes, I will complete the extended membership voting form. 
No - I would like basic membership. This entitles me to updates from PyLadies by email. 

Member Information

# create an account, create an app
# @see https://apps.twitter.com/
# retrieve the access tokens
# @see https://dev.twitter.com/oauth/reference/post/oauth2/token
# create the file ~/twitter_api
nano ~/twitter_api
Authorization: OAuth oauth_consumer_key="XXXXXX", oauth_nonce="11111111", oauth_signature="XXXXXX", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1450728725", oauth_token="99999-XXXXXX", oauth_version="1.0"
sudo apt-get update
sudo apt-get install build-essential python-dev python-setuptools \
libatlas-dev libatlas3gf-base gfortran libopenblas-dev liblapack-dev libfreetype6 libfreetype6-dev
sudo pip install numpy==1.11.1 scipy==0.18.1 matplotlib==1.3.1 pandas==0.19.0 sklearn-pandas==1.2.0 nose==1.3.1
sudo pip install --user --install-option="--prefix=" -U scikit-learn==0.18
nosetests -v sklearn
@lorenanicole
lorenanicole / gist:01cfa75361adc6a944a1
Last active August 29, 2015 14:26 — forked from ramonsmits/gist:7563502
Example of Mandrill webhook JSON data.
[
{
"event": "send",
"msg": {
"ts": 1365109999,
"subject": "This an example webhook message",
"email": "[email protected]",
"sender": "[email protected]",
"tags": [
"webhook-example"
<html>
<head>
<title>Post-It Board</title>
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body id="board">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js"></script>
@lorenanicole
lorenanicole / form-validator.js
Created February 6, 2014 19:20 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
$(function(){
//Your code...
});
@lorenanicole
lorenanicole / index.html
Last active August 29, 2015 13:56 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
@lorenanicole
lorenanicole / index.html
Created February 6, 2014 04:26 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
/* Here is your chance to take over Socrates!
Spend 10 minutes on each of the following hacks to the Socrates website.
Enter them in the console to make sure it works and then save
your results here.
Choose a new pair for each. Add your names to the section you complete.
*/