Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| def some_better_method(user, ids) | |
| vals = ids.map {|id| user.returns_a_hash(id) } | |
| vals.any? ? do_something_with_hashes(vals) : | |
| do_something_without | |
| end |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| var express = require('express') | |
| , app = express.createServer() | |
| , io = require('socket.io').listen(app); | |
| app.use(express.bodyParser()); | |
| app.listen(13002); | |
| var connections = {} |
| /* | |
| * Task 2 - fetch some db results via ajax call and display in a table. | |
| */ | |
| var admixt_task2 = { | |
| url: '/followers', | |
| fetch: function(){ | |
| var self = this; | |
| $.get(this.url) |