This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
const inquirer = require('inquirer'); | |
const fs = require('fs'); | |
const CHOICES = fs.readdirSync(`${__dirname}/templates`); | |
const QUESTIONS = [ | |
{ | |
name: 'project-choice', | |
type: 'list', | |
message: 'What project template would you like to generate?', |
ssh-keygen -t rsa -b 4096 -f jwtRS256.key | |
# Don't add passphrase | |
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
cat jwtRS256.key | |
cat jwtRS256.key.pub |
var express = require('express'); | |
var path = require('path'); | |
var favicon = require('serve-favicon'); | |
var logger = require('morgan'); | |
var cookieParser = require('cookie-parser'); | |
var bodyParser = require('body-parser'); | |
var index = require('./routes/index'); | |
var user = require('./routes/user'); | |
var auth = require('./routes/auth'); |
#!/bin/bash | |
[email protected] | |
DOMAINS=example.com,www.example.com,foo.example.com,example.org.example.net,www.example.org,www.example.net | |
git clone https://github.com/letsencrypt/letsencrypt | |
cd letsencrypt/ | |
mkdir -p /var/lib/letsencrypt/global-webroot | |
# Setup the global alias |
[mergetool] | |
prompt = false | |
keepBackup = false | |
keepTemporaries = false | |
[merge] | |
tool = winmerge | |
[mergetool "winmerge"] | |
name = WinMerge |
<select name="countries"> | |
<option value="USA" selected>United States</option> | |
<option value="GBR">United Kingdom</option> | |
<option value="AUS">Australia</option> | |
<option value="CAN">Canada</option> | |
<option value="IND">India</option> | |
<option value="BRA">Brazil</option> | |
<option value="">-------------------------------</option> | |
<option value="ALB">Albania</option> | |
<option value="DZA">Algeria</option> |
var path = require('path') | |
var childProcess = require('child_process') | |
var phantomjs = require('phantomjs') | |
var nodemailer = require("nodemailer"); | |
// create reusable transport method (opens pool of SMTP connections) | |
var smtpTransport = nodemailer.createTransport("SMTP",{ | |
service: "Gmail", | |
auth: { | |
user: "br****@gmail.com", |