A Pen by Segmentational on CodePen.
This file contains 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
import * as OS from "os"; | |
import * as Process from "process"; | |
const Platform = { | |
$: OS.platform(), | |
Name: null, | |
Valid: false | |
}; | |
switch ( Platform.$ ) { |
This file contains 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
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = false | |
max_line_length = 160 | |
tab_width = 4 | |
ij_continuation_indent_size = 8 | |
ij_formatter_off_tag = @formatter:off |
This file contains 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
[Unit] | |
Description=[ ... ] | |
After=syslog.target network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=simple | |
PIDFile=/run/npm-application.pid | |
WorkingDirectory=/usr/local/sbin/npm-application | |
ExecStartPre=/usr/local/bin/npm install . | |
ExecStart=/usr/local/bin/npm run start |
This file contains 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
{ | |
"scripts": { | |
"process": "lsof -nP -iTCP -sTCP:LISTEN | grep 8443 | awk '{ print $2 }' | head -1" | |
} | |
} |
This file contains 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
import AWS from "aws-sdk"; | |
const Region = "us-east-2"; | |
const Secret = (process.env.NODE_ENV === "production") | |
? "[Organization]/[Environment]/Credentials/[Application]/[Service]/[Extension]" | |
: "[Organization]/[Environment]/Credentials/[Application]/[Service]/[Extension]" | |
// Create a Secrets Manager Client | |
const Client = new AWS.SecretsManager({ |
This file contains 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
docker run [OPTIONS] IMAGE[:TAG|@DIGEST] [COMMAND] [ARG...] |
This file contains 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
# ~/.nanorc | |
include "/usr/local/share/nano/*.nanorc" | |
magic #!\/bin\/bash | |
io@IO-Development ~ % cat /usr/local/share/nano/*.nanorc | |
## Syntax highlighting for assembler. | |
syntax asm "\.(S|s|asm)$" |
This file contains 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
/*** | |
* @name ..... | |
* | |
* @module Module | |
* @version 0.0.1 (Documentation) | |
* @summary ..... | |
* | |
* @author Jacob B. Sanders | |
* @license BSD 3-Clause License | |
* @copyright Cloud-Technology LLC. & Affiliates. |
This file contains 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
import FS from "fs"; | |
import Path from "path"; | |
import * as URI from "url"; | |
import Process from "process"; | |
const CWD = Process.cwd(); | |
const $ = { | |
Debug: Process.argv.splice(2).indexOf("--debug") !== -1 |
OlderNewer