I hereby claim:
- I am MadaraUchiha on github.
- I am madara (https://keybase.io/madara) on keybase.
- I have a public key whose fingerprint is 666D 2355 5C63 4BE3 47C8 997B 4EAE 165D DCF0 1746
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
How do you add a list of image links to a document?
Suppose I have a an array full of image source URLs, like:
var imgs = ['http://lorempizza.com/380/240', 'http://dummyimage.com/250/ffffff/000000', 'http://lorempixel.com/g/400/200/', 'http://lorempixel.com/g/400/200/sports/'];
How do I grab all of those images and insert them into my page at a particular location? Say...
<div id="imageContainer"></div>
var cheerio = require('cheerio'); | |
var Promise = require("bluebird"); | |
var request = Promise.promisifyAll(require('request')); | |
var WebSocket = require('ws'); | |
var email = "SE email", | |
password = "SE pw", | |
roomid = 17; | |
var j = request.jar() |
// ==UserScript== | |
// @name Star Thumbnail Expando | |
// @resource STYLE https://rawgit.com/MadaraUchiha/star-thumn/master/style.css | |
// @version 0.1 | |
// @match *://chat.stackexchange.com/* | |
// @match *://chat.stackoverflow.com/* | |
// @match *://chat.meta.stackexchange.com/* | |
// @grant GM_addStyle | |
// @grant GM_getResourceText | |
// ==/UserScript== |
// | |
//// models/Procedures file | |
// | |
'use strict'; | |
//var ioc = require('electrolyte'); | |
var db; | |
//var database = ioc.create('config/database'); |
I hereby claim:
To claim this, I am signing this object:
> $ sudo apt-get update [±master] | |
Ign http://il.archive.ubuntu.com utopic InRelease | |
Ign http://il.archive.ubuntu.com utopic-updates InRelease | |
Ign http://il.archive.ubuntu.com utopic-backports InRelease | |
Hit http://il.archive.ubuntu.com utopic Release.gpg | |
Hit http://il.archive.ubuntu.com utopic-updates Release.gpg | |
Hit http://il.archive.ubuntu.com utopic-backports Release.gpg |
Meeting is adjourned. Following are the conclusions to the meeting:
/** | |
* Takes a form node and sends it over AJAX. | |
* @param {HTMLFormElement} form - Form node to send | |
* @param {function} callback - Function to handle onload. | |
* this variable will be bound correctly. | |
*/ | |
function ajaxFormSubmit (form, callback) { | |
var url = form.action, | |
xhr = new XMLHttpRequest(); |
/** | |
* Created by dor.t on 8/24/2014. | |
*/ | |
var express = require("express"), | |
path = require('path'), | |
Promise = require('bluebird'), | |
mongo = require('mongodb').MongoClient, | |
mongoConn, | |
app = express(); |