List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
#!/bin/bash | |
REGION="eu" # eu or us | |
TTC="/mnt/games/SteamLibrary/steamapps/compatdata/306130/pfx/drive_c/users/steamuser/My Documents/Elder Scrolls Online/live/AddOns/TamrielTradeCentre" | |
ZIP="/tmp/PriceTable.zip" | |
wget -O $ZIP https://$REGION.tamrieltradecentre.com/download/PriceTable | |
unzip -o $ZIP -d "$TTC" |
List of useful npx (NPM Package Runner) commands.
Using NPX we can execute/run node binaries without the need to install it locally or globally.
$ git config --global --replace-all credential.interactive false | |
$ git config --global --replace-all credential.modalPrompt false | |
$ git config --edit --system | |
# remove line | |
helper = manager | |
# To disable openssh password prompt, add these 2 lines | |
[core] |
$endpoint = New-Object System.Net.IPEndPoint ([System.Net.IPAddress]::any, 1600) | |
$Listener = New-Object System.Net.Sockets.TcpListener $endpoint | |
$Listener.Start() | |
$client = $Listener.AcceptTcpClient() | |
$stream = $client.GetStream() | |
$stream.Write([text.Encoding]::Ascii.GetBytes("Hello Telnet World"), 0, 18) |
/* Scrollbar */ | |
/* From Quassel Wiki: http://sprunge.us/iZGB */ | |
QScrollBar { | |
background: #131313; | |
margin: 0; | |
} | |
QScrollBar:hover { | |
/* Optional: Subtle accent of scrolling area on hover */ | |
background: #161616; /* base +2 */ | |
} |
ssh-keygen -t rsa -b 4096 -m PEM -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 |
# with dig (fastest way) | |
dig +short myip.opendns.com @resolver1.opendns.com; | |
# alternative | |
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}'; | |
###################################################################################################### | |
## Other method with curl / get and 3rd party, this choice is less judicious | |
###################################################################################################### | |
# with curl |
Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store
. For more information about GPG, consult the GNU Privacy Handbook.
To get started, install pass
and generate a keypair.
$ brew install pass
$ gpg --gen-key
$ gpg --list-keys