Skip to content
MONDAY / 9AM-10PM / WEEKLY
MONDAY-THURSDAY / 9AM-10PM / WEEKLY
TUESDAY AND THURSDAY / 9AM-10PM / WEEKLY
MONDAY / 9AM-MIDDAY / BI-WEEKLY
MONDAY-THURSDAY / 11PM-MIDNIGHT / MONTHLY
TUESDAY AND THURSDAY / MIDDAY-3PM / BI-MONTHLY
THURSDAY / MIDNIGHT-2AM / MONTHLY
{% macro select_for(model, name, options, selected) %}
<select class="form-control" id="{{ name }}" name="{{ model }}[{{ name }}]">
{% for option in options %}
{{ option_tag(option.value, option.title, option.value == selected) }}
{% endfor %}
</select>
{% endmacro %}
{% macro option_tag(value, title, selected=false) %}
{% if not title %}
npm install --save-dev code master
npm WARN package.json mixcloud@1.0.1 No repository field.
npm http request GET https://registry.npmjs.org/code
npm http 304 https://registry.npmjs.org/code
npm http fetch GET https://registry.npmjs.org/code/-/code-1.1.0.tgz
npm http fetch 200 https://registry.npmjs.org/code/-/code-1.1.0.tgz
npm ERR! Darwin 13.2.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save-dev" "code"
npm ERR! node v0.10.32
npm ERR! npm v2.1.4
server 0.uk.pool.ntp.org iburst
server 1.uk.pool.ntp.org iburst
server 2.uk.pool.ntp.org iburst
server 3.uk.pool.ntp.org iburst
server 0.europe.pool.ntp.org iburst
server 1.europe.pool.ntp.org iburst
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
#!/usr/bin/env node
var token = process.env.DIGITALOCEAN_TOKEN;
if(!token) {
console.error("Please specify a DIGITALOCEAN_TOKEN environment variable");
process.exit(1);
}
var request = require('request');
traceroute to 4.2.2.2 (4.2.2.2), 64 hops max, 52 byte packets
1 172.20.10.1 (172.20.10.1) 4.881 ms 1.426 ms 1.291 ms
2 172.23.99.129 (172.23.99.129) 3397.333 ms 1880.334 ms 1690.922 ms
3 172.23.98.6 (172.23.98.6) 2210.959 ms 2706.279 ms 4038.367 ms
4 188.31.255.146.threembb.co.uk (188.31.255.146) 1349.220 ms 79.738 ms 1890.084 ms
5 188.31.255.101.threembb.co.uk (188.31.255.101) 1470.390 ms 274.612 ms 2804.336 ms
6 * te2-2.ccr01.lon11.atlas.cogentco.com (149.11.78.17) 2719.444 ms 59.814 ms
7 te0-0-0-34.ccr22.lon01.atlas.cogentco.com (154.54.61.53) 2089.817 ms 270.781 ms 2292.843 ms
8 level3.lon01.atlas.cogentco.com (130.117.15.246) 2786.211 ms 102.586 ms 1867.560 ms
9 vl-3604-ve-228.csw2.london1.level3.net (4.69.166.157) 1749.578 ms

JavaScript sprintf()

sprintf() for JavaScript is a complete open source JavaScript sprintf implementation.

Its prototype is simple:

string sprintf(string format , [mixed arg1 [, mixed arg2 [ ,...]]]); The placeholders in the format string are marked by "%" and are followed by one or more of these elements, in this order:

An optional "+" sign that forces to preceed the result with a plus or minus sign on numeric values. By default, only the "-" sign is used on negative numbers.

var pack = require('../package.json');
var mediaType = require('media-type');
var semver = require('semver');
var Boom = require('hapi').Boom;
// Takes a valid package.json version and makes it just vX.Y, instead of vX.Y.Z
var PACK_VERSION = 'v' + pack.version;
var VERSION_MAJOR_MINOR = PACK_VERSION.replace(/\.\d$/, '');
var CURRENT_VERSION_MSG = "The current version is: " + VERSION_MAJOR_MINOR + ".";
"WordPressAppAndDbServerRole": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": [
"ec2.amazonaws.com"
Something went wrong with that request. Please try again.