Check These Out
This example will close the pipe after transferring 100MB at a speed of 3MB per second.
Simple but useful; list files in the current directory in mtime order. Useful if you've been working on something and then take a day or two off.
Requires installing json2yaml via npm:
npm install -g json2yaml
(can also pipe from stdin)
Ref: https://www.npmjs.com/package/json2yaml
You might want to secure your AWS operations requiring to use a MFA token. But then to use API or tools, you need to pass credentials generated with a MFA token.
This commands asks you for the MFA code and retrieves these credentials using AWS Cli. To print the exports, you can use:
`awk '{ print "export AWS_ACCESS_KEY_ID=\"" $1 "\"\n" "export AWS_SECRET_ACCESS_KEY=\"" $2 "\"\n" "export AWS_SESSION_TOKEN=\"" $3 "\"" }'`
You must adapt the command line to include:
* $MFA_IDis ARN of the virtual MFA or serial number of the physical one
* TTL for the credentials
This is a very powerful command line tool to gather statistics for a Linux system.
http://dag.wieers.com/home-made/dstat/
A bitcoin "brainwallet" is a secret passphrase you carry in the "wallet" of your brain.
The Bitcoin Brainwallet Private Key Calculator calculates the standard base58 encoded bitcoin private key from your "brainwallet" passphrase.
The private key is the most important bitcoin number. All other numbers can be derived from it.
This command uses 3 other functions - all 3 are defined on my user page:
1) brainwallet_exponent() - search for Bitcoin Brainwallet Exponent Calculator
2) brainwallet_checksum() - search for Bitcoin Brainwallet Exponent Calculator
3) b58encode() - search for Bitcoin Brainwallet Base58 Encoder
Do make sure you use really strong, unpredictable passphrases (30+ characters)!
http:brainwallet.org can be used to check the accuracy of this calculator.
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
ps command gives the possibility to display information with custom formatting with the -o options followed by the format specifier list.
Trace python statement execution and syscalls invoked during that simultaneously