INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
(function () { | |
function setup() { | |
const e = document.createElement("link"); | |
e.setAttribute("type", "text/css"); | |
e.setAttribute("rel", "stylesheet"); | |
e.setAttribute("href", "https://s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css"); | |
e.setAttribute("class", "mw_added_css"); | |
document.body.appendChild(e) | |
} | |
function strobeLight() { |
Short (72 chars or less) summary
More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).
Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
<template> | |
<div> | |
<h3 class="subheading" v-if="!hideLabel">{{label}}</h3> | |
<v-list v-if="mediaList"> | |
<v-list-tile v-for="(item,i) in mediaList" :key="i"> | |
<v-list-tile-avatar @click="onItemClick(item.url)"> | |
<img :src="item.url" :alt="item.name" :title="item.name"/> | |
</v-list-tile-avatar> | |
<v-list-tile-content @click="onItemClick(item.url)"> | |
<v-list-tile-title>{{item.contentType}}</v-list-tile-title> |
// source: http://stackoverflow.com/questions/16491758/remove-objects-from-array-by-object-property | |
// we have an array of objects, we want to remove one object using only the id property | |
var apps = [{id:34,name:'My App',another:'thing'},{id:37,name:'My New App',another:'things'}]; | |
// get index of object with id:37 | |
var removeIndex = apps.map(function(item) { return item.id; }).indexOf(37); | |
// remove object | |
apps.splice(removeIndex, 1); |
// node.js 0.5 Diffie-Hellman example | |
var assert = require("assert"); | |
var crypto = require("crypto"); | |
// the prime is shared by everyone | |
var server = crypto.createDiffieHellman(512); | |
var prime = server.getPrime(); | |
// sharing secret key on a pair |
# Load balancer configuration | |
upstream exampleApp { | |
# Directs to the process with least number of connections. | |
least_conn; | |
# One failed response will take a server out of circulation for 20 seconds. | |
server 127.0.0.1:10080 fail_timeout=20s; | |
#server 127.0.0.1:10081 fail_timeout=20s; | |
#server 127.0.0.1:10082 fail_timeout=20s; | |
#server 127.0.0.1:10083 fail_timeout=20s; |