Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
// db.ts | |
import { Pool, PoolClient } from 'pg'; | |
import dotenv from 'dotenv'; | |
dotenv.config(); | |
const pool = new Pool({ | |
connectionString: process.env.POSTGRES_URL, | |
}); |
# Add below lines to the profile in : /etc/profile | |
# Proxy Setting | |
export HTTP_PROXY="IpAddress:Port" # Like: 127.0.0.1:1477 | |
export HTTPS_PROXY=$HTTP_PROXY | |
export http_proxy=$HTTP_PROXY | |
export https_proxy=$HTTP_PROXY |
#!/bin/bash | |
TOKEN="xxxxxxxxxxxxxxxxxxx" | |
ZONE_ID=2222222222222222222222222 | |
# [email protected] | |
# KEY=11111111111111111111111111 | |
# Replace with | |
# -H "X-Auth-Email: ${EMAIL}" \ | |
# -H "X-Auth-Key: ${KEY}" \ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
$ for a in md5 sha1 ; do ./hash -$a /bin/ls; ${a}sum /bin/ls; echo; done | |
a3f812b9fe329322a3d6b00722694e84 /bin/ls | |
a3f812b9fe329322a3d6b00722694e84 /bin/ls | |
9eb997f16adb828cd0273f24b0ae94d32c5a3b3f /bin/ls | |
9eb997f16adb828cd0273f24b0ae94d32c5a3b3f /bin/ls | |