- Monday: 8am - 5pm (Breakfast and Lunch served)
- Tuesday - Friday: 9am - 5pm
- Friday: 5pm (Hosted Happyhour on Rooftop)
- Monday: Fundamentals
- Tuesday: Backend, DevOps, OpenWhisk, NodeRED, CloudFoundry
- Wednesday: Frontend, Fullstack Apps with Microservices
- Thursday: Fullstack Apps with Microservices
- Friday: Hackathon
- Meet & Greet + Breakfast
- Get on Network (g|events -> machinelearning)
- Roll Call, Verify Emails
- Students
- Instructor
- About Galvanize, http://www.galvanize.com/
- Course Overview
- Distribute Badges
- https://www.ibm.com/cloud-computing/bluemix/garage/
- Presentation
- Design Thinking
- Technical
- Cloud
- Agile
- https://c9.io/
- Create a Custom Ubuntu Workspace
- Open Terminal
$ rm README.md
$ wget https://raw.githubusercontent.com/chyld/devops/master/c9-setup.sh
$ chmod +x c9-setup.sh
$ ./c9-setup.sh
$ rm c9-setup.sh
$ vi ~/.gitconfig
$ exit
- JavaScript
- Node.js, https://nodejs.org/en/
- Module system
- Pair Programming
- Test Driven Development: Mocha | Chai
- Git
- JazzHub
Project | Description |
---|---|
add(1,2) |
Add 2 numbers, compute sum |
sub(3,5) |
Subtract 2 numbers, find difference |
square(2) |
Square a number |
factorial(5) |
Compute factorial |
distance(p1, p2) |
Compute distance between 2 points on a plane |
roll(6) |
Roll a random n-sided die |
sum([3,5,7]) |
Sum an array of values |
squareOdds([1,2,3,4,5]) |
Return an array of squared odd values |
bmi(75, 195) |
BMI Calculator. Input height, weight. Return BMI |
quadratic(2,-3,7) |
Find the zeros for the equation 2x^2-3x+7 |
isPrime(21) |
Returns true or false if input is a prime number |
- HTTP
- Express.js
- Async programming with callbacks & promises
- Node.js perf test with Apache Bench
- Run sequentially
-c 1
, then run in parallel-c 1000
ab -n __ -c __ http://0.0.0.0:8080/
- Compare perf to Rails app
- Use
rake routes
and browser to demo REST API - Parse a deeply nested JSON structure; Weather Data
Project | Description |
---|---|
Hello Express | Basic hello world in Express.js |
Max | Return the largest number |
Hog/Pig | Dice Game |
Stock Quote | Build a service that returns a quote for a stock symbol |
- https://hub.jazz.net/
- JazzHub
- Code Editor
- Track & Plan
- Build Pipeline
- Build a Stage
- Add Jobs to a Stage
- Jobs can be re-ordered
- Distributed, Event Driven Compute
- Notes & Lab
- To call from other code
Content-Type: application/json
Authorization: Basic <based64 encoded key>
- Base64 Utility
POST https://openwhisk.ng.bluemix.net/api/v1/namespaces/{org_space}/actions/{action-name}?blocking=true
- http://nodered.org/
- https://console.ng.bluemix.net/catalog/starters/node-red-starter/
- Create basic NodeRED flows, exercise functionality
- https://www.cloudfoundry.org/
cf api https://api.ng.bluemix.net
cf login
cf target
cf marketplace
cf apps
cf services
cf --help
- Browser
- Angular, JavaScript MVC Framework, https://angularjs.org/
- Twitter Bootstrap CSS Framework, http://getbootstrap.com/
- Highcharts Analytical Charting, http://www.highcharts.com/
- Build Tools, Gulp
- Fullstack Template
Project | Description |
---|---|
Movies | Basic HTML & CSS site |
Hello Angular | Angular.js hello world Application |
Weather Service | Display the weather forecast |
- SQL Database
- Cloudant
- Object Storage
- Language Translation
- Visual Recognition
- Text to Speech
- Speech to Text
- Front End
- Back End
- API Consumption
- Microservices
Project | Description |
---|---|
Twitter Analysis | Build an app which takes in a stream of tweets from Twitter, runs the data through Sentiment Analysis, stores the data in a DB2 database and then run SQL queries against that database using an Angular frontend while displaying the dynamic data using HighCharts.js. |
Location Awareness | Build an app that determines your current latitude and longitude using a built in GPS device, radio tower triangulation, IP lookup, etc., then reverse geocodes that data to find the city, state and street address. Then it queries the Yelp API and weather API to find local, nearby recommendations along with the current weather. It displays the results on a live, dynamic updating Google Map. |
SMS Lookup | Use Twilio's messaging API to build an SMS enabled app. Users can find current stock, weather, movie information or language translations simply by texting a query to your application. |
Optics | Build an app which uses the built in camera in your laptop to perform facial recognition. Your app will take a snapshot from your laptop's camera, send that to Object Storage for saving, then sent to Watson Visual Recognition to determine the characteristics of the photo in question, storing the resultant data in a Cloudant database and returning the results back for display in the browser. |
Real Time Translator | Make an app which will record your voice using the built in microphone in your laptop. The resuting WAV file will get saved in Object Storage, then send to Watson's Speech to Text service to get translated, after becoming text, it will then be translated into another language, then processed by Watson's Text to Speech service. The resulting sound file will then get sent back to your laptop, into the browser and played through the speaker. Your voice, your language, translated into another language and played back using a different voice. |
- http://bluemixathon.devpost.com/
- https://vimeo.com/137915648
- http://www.linkedin.com/pulse/so-you-want-run-corporate-hackathon-vinod-ralh
- Split into groups of 3 or 4
- Each team build an application using Bluemix services and deploys using DevOps services
- At the conclusion of the hackathon, each team demos their app to the class
- Galvanize
- Full Stack Classrooms
- Data Science Classrooms
- Bluemix Garage
- Cloudant
- Startups
Name | Documentation | Register | Key | NPM |
---|---|---|---|---|
Stock Quote | Docs | |||
Weather | Docs | Register | ||
Mashape | Docs | Register | ||
MovieDB | Docs | |||
Yelp | Docs | Register | Key | NPM |
Twilio | Docs | Regsiter | NPM | |
Google Maps | Docs | Register | ||
Wikipedia | Docs |