(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-120.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/apple-touch-icon-76.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch-icon-60.png"> | |
| <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/apple-touch-icon-57.png"> | |
| <link rel="apple-touch-startup-image" href="/apple_startup_image.png"> | |
| <link rel="icon" type="image/png" href="/favicon-16.png" sizes="16x16"> |
| var Sudoku = ( function (){ | |
| var _rows, _cols, _grid; | |
| // initialize the module with input data | |
| init = function(data){ | |
| _reorganizeData(data); | |
| return this; | |
| }; | |
| r |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>My Iframe</title> | |
| </head> | |
| <body> | |
| <button>Botão</button> | |
| <script type="text/javascript"> |
| upstream upstream-apache2 { | |
| server 127.0.0.1:8080; | |
| } | |
| upstream upstream-nodejs { | |
| server 127.0.0.1:3000; | |
| } | |
| server { | |
| listen 80; |
This tutorial uses the "Sample hapi.js REST API" project.
Take a look at: https://github.com/agendor/sample-hapi-rest-api/
##Topics
| <div class="row"> | |
| <div class="col-md-2 col-sm-2 col-xs-2"> | |
| <p><button class="btn btn-primary btn-sm" id="map-address-btn"><span>Find It</span></button></p> | |
| </div><!-- .col --> | |
| <div class="col-md-10 col-sm-10 col-xs-10"> | |
| <div class="panel panel-default"> | |
| <div class="panel-heading">Location Response</div> | |
| <div class="panel-body"> | |
| <p>Enter Address: <input id="location-address" type="text" class="form-control" placeholder="Street, City, State"/</p> | |
| <p>Map:</p><div id="map-canvas" style="height: 400px;"></div> |
| var mongoose = require('mongoose'); | |
| mongoose.connect('mongodb://localhost/test'); | |
| var db = mongoose.connection; | |
| db.on('error', function() { | |
| return console.error.bind(console, 'connection error: '); | |
| }); | |
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |
| // start with at string | |
| var s = "my string"; | |
| //change its value (remember this changing of value is by value not reference) | |
| s.toUpperCase(); | |
| // assign it to t | |
| var t = s; |