Skip to content

Latest commit

 

History

History
235 lines (198 loc) · 9.94 KB

README.md

File metadata and controls

235 lines (198 loc) · 9.94 KB

IBM Cloud Advisor 101 Course

Galvanize Watson IBM Bluemix

Cohort 2016-03-14

Food Schedule

  • Monday: 8am - 5pm (Breakfast and Lunch served)
  • Tuesday - Friday: 9am - 5pm
  • Friday: 5pm (Hosted Happyhour on Rooftop)

Coding Schedule

  • Monday: Fundamentals
  • Tuesday: Backend, DevOps, OpenWhisk, NodeRED, CloudFoundry
  • Wednesday: Frontend, Fullstack Apps with Microservices
  • Thursday: Fullstack Apps with Microservices
  • Friday: Hackathon

Syllabus

Arrive & Setup

  • Meet & Greet + Breakfast
  • Get on Network (g|events -> machinelearning)

Introductions

Bluemix Garage

Assessment

  • Technical
  • Cloud
  • Agile

Cloud 9 Setup

$ 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

Modern Programming Fundamentals

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

Back End Services

  • 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

IBM Bluemix DevOps Services

  • https://hub.jazz.net/
  • JazzHub
  • Code Editor
  • Track & Plan
  • Build Pipeline
    • Build a Stage
    • Add Jobs to a Stage
    • Jobs can be re-ordered

OpenWhisk

  • 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

NodeRED

Cloud Foundry

Chrome Debugging Plugins

Front End Technologies

Project Description
Movies Basic HTML & CSS site
Hello Angular Angular.js hello world Application
Weather Service Display the weather forecast

Bluemix Services

Full Stack Applications

  • Front End
  • Back End
  • API Consumption
  • Microservices

Projects

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.

Project Links

Hackathon

Retrospective

Feedback

Tour

  • Galvanize
  • Full Stack Classrooms
  • Data Science Classrooms
  • Bluemix Garage
  • Cloudant
  • Startups

Happy Hour on Roof

Collect Badges

APIs

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

Reference Links

Books