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
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
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
function ( a , { t } ) | |
{// t:#s.name.loc | |
var c = { } , p , v , r , x , s , i = 0 , | |
P = "red0purple0blue0cyan0green0lime0yellow0orange020305070110130170190230290310370410430470530590610670710730790830890970unlock0open0release" . split ( 0 ) , | |
z = "_..!|1!|2!|3!|or n|d c| com|k c|color_digit|c002_complement|c003_triad_1|c003_triad_2|!d|t d|pr", | |
Z = z . split ( '|' ) | |
for ( ; v = ( r = t . call ( c ) ) . match ( z ) ; c [ p ] = x , i ++ ) | |
s = Z . indexOf ( v = v [ 0 ] ) , | |
s > 13 ? c . ez_prime = + P [ i % 25 + 8 ] : |
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
// Harvest t1 loc's in under 500 symbols | |
// Syntax: script {t: #s.some_corp.loc } | |
// Use with targets from ada.fullsec { npc: true } | |
// By nlight | |
function(c, a) | |
{ | |
var _ = (c, p) => { c.forEach(p) }, // loop utility method | |
r = a.t.call({}), // first call to get method names | |
k = /d with ([a-z]+):/.exec(r)[1], // extract command key |
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
============================================================ | |
Pakl's guide to a complete tentd and tentd-admin | |
and Nginx proxy:80 installation. | |
============================================================ | |
Oct 7, 2012 -- Version 1.2 (adds missing commands for installing nginx) | |
History | |
Oct 7, 2012 -- Version 1.1 (adds missing nodejs repository) | |
Oct 7, 2021 - 1.0 initial release |