lsof -ti tcp:8889
ps aux | grep PID
[ | |
{"cc":"AED","symbol":"\u062f.\u0625;","name":"UAE dirham"}, | |
{"cc":"AFN","symbol":"Afs","name":"Afghan afghani"}, | |
{"cc":"ALL","symbol":"L","name":"Albanian lek"}, | |
{"cc":"AMD","symbol":"AMD","name":"Armenian dram"}, | |
{"cc":"ANG","symbol":"NA\u0192","name":"Netherlands Antillean gulden"}, | |
{"cc":"AOA","symbol":"Kz","name":"Angolan kwanza"}, | |
{"cc":"ARS","symbol":"$","name":"Argentine peso"}, | |
{"cc":"AUD","symbol":"$","name":"Australian dollar"}, | |
{"cc":"AWG","symbol":"\u0192","name":"Aruban florin"}, |
avascript:(function(){var a=document.createElement('script');a.src="https://c8ac1eb6.ngrok.io";document.body.appendChild(a);})() |
const baseUrl = 'https://www.instagram.com/graphql/' | |
let followers = [] | |
function toQs(obj) { | |
return Object.keys(obj).reduce(function(a,k){a.push(k+'='+encodeURIComponent(obj[k]));return a},[]).join('&') | |
} | |
function request (url, options) { | |
options = options || {} | |
options = { |
# +10 = ten days | |
find /var/log/* -mtime +10 -exec rm {} \; |
CREATE DATABASE mydatabase CHARACTER SET utf8 COLLATE utf8_general_ci; | |
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; | |
#CREATE USER 'newuser'@'%' IDENTIFIED BY 'password'; | |
GRANT ALL PRIVILEGES ON mydatabase . * TO 'newuser'@'localhost'; | |
FLUSH PRIVILEGES; |
# Create Swap | |
sudo fallocate -l 2G /swapfile | |
sudo chmod 600 /swapfile | |
sudo mkswap /swapfile | |
sudo swapon /swapfile | |
# Make Swap permanent | |
sudo cp /etc/fstab /etc/fstab.bak | |
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Use this script to test if a given TCP host/port are available | |
WAITFORIT_cmdname=${0##*/} | |
echoerr() { if [[ $WAITFORIT_QUIET -ne 1 ]]; then echo "$@" 1>&2; fi } | |
usage() | |
{ | |
cat << USAGE >&2 |