This tutorial uses the "Sample hapi.js REST API" project.
Take a look at: https://github.com/agendor/sample-hapi-rest-api/
##Topics
- Introduction
- Installing Node.js
- Installing MySQL
- Setting-up the project
| // These two need to be declared outside the try/catch | |
| // so that they can be closed in the finally block. | |
| HttpURLConnection urlConnection = null; | |
| BufferedReader reader = null; | |
| // Will contain the raw JSON response as a string. | |
| String forecastJsonStr = null; | |
| try { | |
| // Construct the URL for the OpenWeatherMap query |
| /* | |
| * Request: Javascript | |
| * | |
| * I would like to learn some basic concepts in JavaScript. Just as example, making a stopWatch and creating a racing game with few players which will have start and stop time for each player and choose one winner from them using the stopWatch object. | |
| */ | |
| // Design and Code a StopWatch | |
| // Sample Use Case: | |
| // var sw = new StopWatch(); | |
| // sw.start().stop().start().log(); |
This tutorial uses the "Sample hapi.js REST API" project.
Take a look at: https://github.com/agendor/sample-hapi-rest-api/
##Topics
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
| <xml><input id="input" type="text"> | |
| <button onclick="runFibonacci()">Submit</button> | |
| <div id="result">[]</div> | |
| <script> | |
| function runFibonacci(){ | |
| var N = document.getElementById('input').value, | |
| result = document.getElementById('result'), | |
| array = []; | |
| var f_sequence = fibonacci(); | |
| for (var i = 0; i < N; i++){ |
| import time | |
| from selenium import webdriver | |
| # from urlparse import urlparse | |
| # from urlparse import parse_qs | |
| from selenium.webdriver.support.ui import WebDriverWait | |
| # from selenium.common.exceptions import NoSuchElementException | |
| # from selenium.webdriver.common.action_chains import ActionChains | |
| from selenium.webdriver.support import expected_conditions as EC | |
| from selenium.webdriver.common.by import By | |
| # from selenium.webdriver.common.keys import Keys |