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 F5C5 1884 487E CD0B 5EDC 806C 84E0 C80A 00A9 1D1D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// | |
//// models/Procedures file | |
// | |
'use strict'; | |
//var ioc = require('electrolyte'); | |
var db; | |
//var database = ioc.create('config/database'); |
// ==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== |
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() |
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>
I hereby claim:
To claim this, I am signing this object:
validate | |
.then(function (sanitizedPayload) { | |
// Joi defaults any properties not present in `request.payload` so use `payload` from here on out | |
payload = sanitizedPayload; | |
return pagesService.checkIfSlugAvailable(server, payload.slug); | |
}) | |
.then(function (isAvailable) { | |
if (isAvailable) { | |
return isAvailable; | |
} else { |
/** | |
* Border is not inherited | |
*/ | |
#parent { | |
border: 10px dashed black; | |
} |
html, body, ul, li, p, h1, h2 { | |
margin: 0; | |
padding: 0; | |
} | |
html { | |
background: #111; | |
font: normal 11px Verdana, sans-serif; | |
color: #aaa; |