You forgot to start your server, didn’t you?

No worries. I thought I’d set up this site as a friendly reminder. Enjoy my collected useful bookmarks while you’re here.

You may want to

rails server

or

grunt serve

or

foreman start

or whatever you need to get your development server running.

Initial Computer Setup for JavaScript Bootcamp

Initial Computer Setup for JavaScript Bootcamp

Set up your computer with the following tools:

Latest version of Ruby (for Sass, and other tools) Node.js, PostgreSQL,
MongoDB, Redis,

Editors: We use Atom.io or Sublime Text 3 in class, and I’m betting you already do too
(unless you rock Vim or Emacs). It has a fully-featured, unlimited time Trial mode.

Optional: if you are coming from an IDE like Visual Studio or Eclipse, you
may like WebStorm (trial version) better
than Sublime Text because of the autocompletion and debugging tools. It’s also
cheaper for an academic license ($29 vs $79)

And if you’re a strict proponent of open source, or want to dogwood and
customize your editor in JavaScript, there are two great free editors:
Brackets and Light Table.

Sign up for these free web services:

Mac OS:

  • Homebrew http://brew.sh Note: the instructions are at the end of the web page.

  • rbenv, ruby-build, ruby 2.1.0 and the sass gem
    • brew doctor
    • brew update
    • brew install rbenv ruby-build rbenv-gem-rehash
    • echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
    • echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    • rbenv install 2.1.0
    • rbenv global 2.1.0
    • gem install sass
    • NOT use sudo to install ruby or gems
    • if you get a permissions error when installing sass, somehow system ruby is still active. Try restarting your terminal, or if it persists, check for the items above in your .bash_profile file
  • Node.js
    • brew install nvm
    • nvm install 0.10
    • nvm alias default 0.10
    • add source $(brew --prefix nvm)/nvm.sh to your .bash_profile or .zshrc
    • Reference the NVM README if you get stuck
  • PostgreSQL
  • Pick a programmer’s editor:
    • Try out http://atom.io and ask around for an invite.
    • or go with the crowd and choose Sublime Text 3:
    • http://www.sublimetext.com/3
    • Package Control: https://sublime.wbond.net/installation
    • Or, try Adobe’s open source http://brackets.io
    • Which one to choose? I like Atom.io and Brackets because you can customize them with JavaScript. Customizing Sublime requires knowledge of Python.
  • MongoDB
    • brew install mongodb
    • You may not want it to start at login, it’s pretty easy to just run mongod when you need it
  • Redis
    • brew install redis
    • same as above, you don’t need it to start at login
  • Heroku Toolbelt
    • brew install heroku-toolbelt

Ubuntu:

Sign up for Heroku Toolbelt

Sign up for a Heroku.com account

brew install heroku-toolbelt
or
sudo apt-get install heroku-toolbelt

Submit: copy/paste the output of heroku version as a comment on a subtask with your name.

NodeJS EC2 Demo

NodeJS EC2 Demo

Sign up for Amazon Web Services Free Tier

  • sign up with a new email if your account is older than a year

Create a New Key Pair or Upload an SSH Public Key

Find and launch an AMI

  • Google AWS Marketplace
  • Search for Node
  • I chose this 32 bit image, you should too for this tutorial.
  • click the big yellow continue button
  • accept default options, except:
    • make sure micro is selected in EC2 Instance Type
  • Launch with 1-Click

Connect to your EC2 Machine Instance

  • Visit your EC2 Dashboard
  • instance state will be ‘running’ eventually
  • find Public IP column and note address
  • ssh bitami@PUBLIC-IP-ADDRESS
    • make an A record on your domain in Route 53 for convenience

Install MongoDB, Redis, and Git

sudo apt-get install mongodb redis-server git -y

Test MongoDB is running

  • mongo
  • show dbs
  • ctrl-d to exit

Test Redis is running

  • redis-cli ping –>should see PONG

Neat trick to find external IP

curl icanhazip.com

WTF is Apache doing on here?

What is this, the 90s? Stop it:
sudo ./ctlscript.sh stop apache

Bower ALL THE THINGS

sudo npm -g install bower grunt-cli

Clone OAA

Make sure you’re in the bitnami home directory: cd
git clone https://github.com/codefellows/oaa.git
cd oaa
npm install && bower install

Launch the server on Port 80

sudo PORT=80 node server.js

visit the site http://YOUR-IP-HERE

JS.next: A Manager’s Guide

Highlights and Sticky Notes:

The ECMAScript specification is adopting many of the most popular features from some of today’s best languages, including Python, Ruby, and CoffeeScript.
  • ES6 is adopting many popular features from Python, Ruby, and CoffeeScript – Ivan Storck

Tags: no_tag

by: Ivan Storck

Continue Reading

SOLID Principles in Ruby, by Luis Zamith of Group Buddies

Tags: oop, object-oriented, oo, oodby: Ivan Storck

Continue Reading

Dependency Injection, by Luis Zamith of Group Buddies

Tags: oo, object-oriented, oopby: Ivan Storck

Continue Reading

theReq | Software Interview Questions

Comments:Great list of Software Interview Questions: theReq: http://abid.es/J7dyoT – Ivan StorckGreat list of Software Interview Questions: theReq: http://abid.es/J7dyoT – Ivan StorckTags: Interviewing, jobsby: Ivan Storck

Continue Reading

We Analyzed 30,000 GitHub Projects – Here Are The Top 100 Libraries in Java, JS and Ruby | Java Code Geeks

Comments:They Analyzed 30,000 GitHub Projects – Here Are The Top 100 Libraries in Java, JS and Ruby http://abid.es/J1r3Gu – Ivan StorckThey Analyzed 30,000 GitHub Projects – Here Are The Top 100 Libraries in Java, JS and Ruby http://abid.es/J1r3Gu – Iv…

Continue Reading

Interviewing a front-end developer

Comments:Interviewing a front-end developer #javascript http://abid.es/1dl0Y0K – Ivan StorckInterviewing a front-end developer #javascript http://abid.es/1dl0Y0K – Ivan StorckTags: IFTTT, Bufferby: Ivan Storck

Continue Reading