Skip to content

Instantly share code, notes, and snippets.

View QuincyLarson's full-sized avatar
💭
I interview devs every Friday on the freeCodeCamp podcast. Watch on YouTube.

Quincy Larson QuincyLarson

💭
I interview devs every Friday on the freeCodeCamp podcast. Watch on YouTube.
View GitHub Profile
// Sign in with Twitter.
passport.use(
new TwitterStrategy(
secrets.twitter, function(req, accessToken, tokenSecret, profile, done) {
if (req.user) {
User.findOne({ twitter: profile.id }, function(err, existingUser) {
if (err) { return done(err); }
if (existingUser) {
req.flash('errors', {
In the next 60 seconds, you'll learn how to open your browser's Developer Tools and write a line of code! You'll need to use Chrome or Firefox to complete this challenge.
1) First, let's open up the developer tools. In Chrome, click "Menu" then "More tools" then "Developer Tools". In Firefox, click "Menu", then "Developer", then "Toggle Tools".
2) Click the "Console" tab at the top of the Developer Tools window
3) Now lets try some code! Type the following into the console prompt: alert('Hello World!');
Did the message pop up? If so, nicely done! If not, click here to get help.
We're looking for help expanding our Free Code Camp "flavor text". The more, the better - as long as it's uplifting and fun:
https://www.evernote.com/shard/s116/sh/a7d0cc69-0b0f-4f60-a9f3-9ac0fbf2d556/b1a13584e321ac6a480f6ebc2d9862bc/deep/0/Challenge--Build-a-Personal-Website---Free-Code-Camp.png
https://www.evernote.com/shard/s116/sh/e5621566-7074-433f-b3d4-478752e8d361/4505c93fad9cc3f555d7b7cf18fbb230/deep/0/Share-a-link-on-Twitter.png
Here's our current flavor text:
var verbs = [
{ $and: [ {'password': { $exists: true } } , { $or: [ { 'twitter': {$exists: false} }, {'linkedin': {$exists: false } }, {'facebook': {$exists: false } }, {'google': {$exists: false } } ] } ] }
###Zipline Challenge Ideas###
We have a Trello board for this here: https://trello.com/b/oNrPhmI4/bonfires-ziplines-basejumps
Zipline challenges involve building simple single-page applications using tools like Bootstrap, jQuery and public APIs in CodePen. These challenges will be reviewed by a human (rather than automatically like the bonfires).
These Front End Challenges shouldn't require a database (if the APIs you want to use require keys, Free Code Camp can create an API endpoint for you so you don't have to put they key itself on CodePen).
Agreed upon challenge ideas:
$(document).ready(function() {
var cal = new CalHeatMap();
var calendar = !{JSON.stringify(calender)};
cal.init({
itemSelector: "#cal-heatmap",
domain: "month",
subDomain: "day",
data: calendar,
cellSize: 15,
align: 'center',
The Actual Cost of Coding Bootcamps
##Raw cost##
***Wage Garnishing Bootcamps***
App Academy (18% * $105,000) = $18,900 + 12 weeks
Viking Code School (18% * $105,000) = $18,900 + 14 weeks
***Cash Up-front Bootcamps***
Hack Reactor ($17,780 over 3 years at 5.5 APR = $19,328 (financing through Upstart)) + 12 weeks
@QuincyLarson
QuincyLarson / gist:0ff9716906c7d17a8d62
Created May 4, 2015 22:38
Waypoint Skills to Cover
JavaScript Benchmarking
O notation and O(n) time complexity
Storing things in the Window, Cookies, Session and Local Storage
RegexOne-style content
Parsing and Traversing JSON