curl icanhazip.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Copy type definitions | |
printf "%s\n\nexport = Schemas;" "$(cat src/types/schema.d.ts)" > packages/types/index.d.ts | |
# Bump version and publish | |
cd packages/types && \ | |
npm version patch && \ | |
npm publish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const dotenv = require('dotenv'); | |
const chalk = require('chalk'); | |
/** | |
* Parse env file into object. | |
* | |
* @param {string} path - Absolute path to env file. | |
* @returns {object} - Object containing all env vars from file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.digitalocean.com/community/tutorials/how-to-set-up-password-authentication-with-apache-on-ubuntu-16-04 |
# Record
q<number><commands>q
# Play
@<number><letter>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo lsof -i :<port> |