I hereby claim:
- I am sethbergman on github.
- I am sethbergman (https://keybase.io/sethbergman) on keybase.
- I have a public key ASBjHXfozXkY4xQx-GhGOPg6SGVbwz4kNHPp3gDsWCdB_go
To claim this, I am signing this object:
| {"lastUpload":"2018-07-08T00:01:14.381Z","extensionVersion":"v2.9.2"} |
| #!/bin/bash | |
| # <UDF name="hostname" label="The hostname for the new Linode" example="apps"> | |
| # <UDF name="fqdn" label="The new Linode's Fully Qualified Domain Name" example="apps.example.com"> | |
| # <UDF name="adminuser" label="Username for new admin user (cannot be dokku)"> | |
| # <UDF name="adminpass" label="Password for new admin user"> | |
| # <UDF name="adminkey" label="SSH public key authorized for admin user (password SSH auth will be disabled)"> | |
| # <UDF name="dokkukey" label="SSH public key authorized for dokku user (used when deploying apps)"> | |
| # Turn off password authentication and root login for SSH |
I hereby claim:
To claim this, I am signing this object:
| import getopt | |
| import re, shutil, tempfile | |
| import os | |
| import subprocess | |
| import sys | |
| # http://stackoverflow.com/questions/4427542/how-to-do-sed-like-text-replace-with-python | |
| def sed_inplace(filename, pattern, repl): | |
| ''' |
| var hbs = require('express-hbs'), | |
| api = require('core/server/api'), | |
| _ = require('lodash'), | |
| async = require('express-hbs/lib/async'), // To redefine `registerAsyncHelper` | |
| registerAsyncHelper; | |
| // Redefine `registerAsyncHelper` from `express-hbs` | |
| registerAsyncHelper = function (name, fn) { | |
| hbs.handlebars.registerHelper(name, function (context, options) { | |
| // Pass `[context, options]` as arg instead of `context` only |
| #!/usr/bin/env node | |
| const https = require('https') | |
| const url = 'https://raw.githubusercontent.com/js-n/awesome-npx/master/README.md' | |
| https.get(url, (res) => { | |
| res.pipe(process.stdout) | |
| }) | |
| .on('error', (e) => { | |
| console.error(e) | |
| process.exit(1) | |
| }) |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Vimeo Javascript oEmbed Example</title> | |
| <script> | |
| // This is the URL of the video you want to load | |
| var videoUrl = 'http://www.vimeo.com/7100569'; |
I hereby claim:
To claim this, I am signing this object:
| /** | |
| * Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken | |
| * It was requested to be introduced at as part of the jsonwebtoken library, | |
| * since we feel it does not add too much value but it will add code to mantain | |
| * we won't include it. | |
| * | |
| * I create this gist just to help those who want to auto-refresh JWTs. | |
| */ | |
| const jwt = require('jwt'); |