- Is there appropriate test coverage? (e.g. ChefSpec, Mocha/Chai, Python, etc.)
- Does this PR require a Selenium test? (e.g. Browser-specific bugs or complicated UI bugs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make a single api call to meetup.com and grab event info for all (11) PyLadies locations. Create individual objects for each so that meetups can be added to each pyladies group's div on pyladies.com/locations page. | |
//helper function to discover event urls and make active links | |
//credit to http://www.sencha.com/forum/archive/index.php/t-12379.html for code this is based on | |
function create_urls(input) { | |
return input | |
.replace(/(ftp|http|https|file):\/\/[\S]+(\b|$)/gim, '"$&" target="_blank"') | |
.replace(/([^\/])(www[\S]+(\b|$))/gim, '"http://$2" target="_blank"'); | |
} //end url parsing helper function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Customize Your Bash Prompt | |
Your bash prompt comes with a standard command prompt with a default setting something like “PS1="\u@\h \w>” in your .bash_profile or .profile (if you are using OSX) that translates to something like this: | |
UserName YourComputerName DirectoryName $ | |
While useful, this is kind of boring and doesn’t give us very much information about the environment we’re working in. So let’s customize our prompts! | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Backbone | |
http://addyosmani.com/largescalejavascript/#mediatorpattern | |
http://blog.pamelafox.org/2013/07/a-guide-to-writing-backbone-apps-at.html | |
http://ozkatz.github.io/avoiding-common-backbonejs-pitfalls.html | |
http://www.joezimjs.com/javascript/backbone-js-subview-rendering-trick/ | |
http://www.benknowscode.com/2013/08/extending-backbone-for-building-better-web-applications.html | |
http://drupalmotion.com/article/debounce-and-throttle-visual-explanation | |
## Promises |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Why get involved in the community? | |
* Meet lots of awesome people -- it's networking without all the "work" (like playtime for big people!) | |
* Great way to practice and further develop your skills as a programmer | |
* Pairing with people you meet at user group meetings can lead to great things! | |
* Great way to keep up on new techniques, libraries, frameworks | |
* User groups can be a great place to pick up clues about the direction of development and which technologies people are currently excited about | |
* May help you refine your goals as a new programmer (gives you the chance to "try on" different technologies, communities, etc.) | |
* Adds value to your resume (open source, leadership skills, investment in the community, shows you love what you do) | |
* May lead to your next job |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Login component | |
*/ | |
import SessionActions from '../actions/session' | |
import SessionStore from '../stores/session' | |
const INPUT_FIELDS = [ | |
{fieldName: "email", placeholder: "Your email"}, | |
{fieldName: "password", placeholder: "Your password"} | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Environment customizations | |
# Add Sublime Text 2 as default editor | |
export EDITOR="/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" | |
## Alias cd up-level | |
alias cd..="cd .." | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Here's some code from the blog! | |
const Post = props => { | |
const { post, slug } = props; | |
const postMeta = postManifest[slug]; | |
return ( | |
<div className="post"> | |
<PostHeader postMeta={postMeta} /> | |
<div dangerouslySetInnerHTML={{ __html: post.body }} /> |
I hereby claim:
- I am florapdx on github.
- I am florapdx (https://keybase.io/florapdx) on keybase.
- I have a public key ASBK7ZPwS-Wk5HrBWUE_e4y914O7hHlRgTkTHcJyEDaSOgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
In the scenario below, I have a menu that can be used to render a list | |
of selectable options that may be of type 'string' or of type 'number'. | |
It takes a 'onOptionSelect' callback whose arguments can be of either type. | |
However, some components that render this generic menu may only accept | |
string-type selections or may only accept number-type selections. How do I | |
type onOptionsSelect (or the actual callbacks that get passed in) to account | |
for this flexibility? | |
*/ |
OlderNewer