sudo add-apt-repository ppa:certbot/certbot
certbot certonly --standalone --email EMAIL -d example.com -d www.example.com
'use strict'; | |
const mysql = require('mysql'); | |
const Prom = require('bluebird'); | |
Prom.promisifyAll(require('mysql/lib/Connection').prototype); | |
Prom.promisifyAll(require('mysql/lib/Pool').prototype); | |
let pool = mysql.createPool({ | |
host: 'localhost', |
/** | |
* position trait | |
*/ | |
const position = (state) => ({ | |
setPosition (x, y) { | |
state.x = x | |
state.y = y | |
} | |
}) |
{ | |
"always_show_minimap_viewport": true, | |
"color_scheme": "Packages/Dracula Color Scheme/Dracula.tmTheme", | |
"default_encoding": "UTF-8", | |
"default_line_ending": "unix", | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": false, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", |
// go to http://marak.com/faker.js/ | |
var employees = []; | |
for (var i = 1; i <= 50; i++) { | |
var firstName = faker.name.firstName(); | |
var lastName = faker.name.lastName(); | |
employees.push({ | |
id: i, |
/* | |
* Minimal classList shim for IE 9 | |
* By Devon Govett | |
* MIT LICENSE | |
*/ | |
if (!("classList" in document.documentElement) && Object.defineProperty && typeof HTMLElement !== 'undefined') { | |
Object.defineProperty(HTMLElement.prototype, 'classList', { | |
get: function() { |
(function (window) { | |
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6. | |
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling. | |
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction). | |
// This code is free to use by anyone (MIT, blabla). | |
// Author: rkorving@wizcorp.jp | |
var timeouts = {}; | |
var intervals = {}; |
/*! A fix for the iOS orientationchange zoom bug. | |
Script by @scottjehl, rebound by @wilto. | |
MIT / GPLv2 License. | |
*/ | |
(function(w){ | |
// This fix addresses an iOS bug, so return early if the UA claims it's something else. | |
var ua = navigator.userAgent; | |
if( !( /iPhone|iPad|iPod/.test( navigator.platform ) && /OS [1-5]_[0-9_]* like Mac OS X/i.test(ua) && ua.indexOf( "AppleWebKit" ) > -1 ) ){ | |
return; |