certbot certonly --manual --preferred-challenges dns-01 --manual-public-ip-logging-ok \
-m [email protected] -d '*.domain'
certbot renew
-- show all database | |
SELECT GROUP_CONCAT(SCHEMA_NAME) FROM information_schema.SCHEMATA | |
-- Show all table on current DB | |
SELECT GROUP_CONCAT(TABLE_NAME) FROM information_schema.TABLES where TABLE_SCHEMA = database() | |
-- Show all COLUMNS | |
SELECT GROUP_CONCAT(COLUMN_NAME) FROM information_schema.COLUMNS where TABLE_SCHEMA = database() and TABLE_NAME = '' | |
-- Use cast to string if fail | |
SELECT GROUP_CONCAT(CAST(COLUMN_NAME as CHAR)) FROM information_schema.COLUMNS where TABLE_SCHEMA = database() and TABLE_NAME = '' |
// IF using cookie, make sure the domain was added in "Cookie" -> Whitelist Domain | |
// Walk cookie | |
const cookie = pm.cookies.jar(); | |
cookie.getAll(pm.request.url, (v1, cookies) => { | |
for (let v of cookies.map()) { | |
if (v.name.length > 32 && v.name.match(/[0-9a-f]/i)) { | |
pm.request.body.urlencoded.add({ | |
key: v.name, | |
value: v.value |
certbot certonly --manual --preferred-challenges dns-01 --manual-public-ip-logging-ok \
-m [email protected] -d '*.domain'
certbot renew
#!/sbin/openrc-run | |
# Gammu SMS Daemon usb_modeswitch helper with Cyborg Mobile Broadband E488 4G LTE USB Stick (Telkomsel Flash) | |
retry="60" | |
pidfile="/var/run/$RC_SVCNAME.pid" | |
command="/usr/bin/gammu-smsd" | |
command_args="-d -p /var/run/$RC_SVCNAME.pid -c /etc/gammurc" | |
#command_background=true | |
#procname="gammu-smsd" | |
depend() { |
# UDEV RULES | |
ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="92fe", RUN+="/usr/sbin/usb_modeswitch -v 05c6 -p 92fe -K" | |
ACTION=="add", SUBSYSTEM=="tty", KERNEL=="ttyUSB1", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9201", SYMLINK+="modem" | |
# IF No ttyUSBX found | |
sudo modprobe usbserial | |
echo 05c6 9201 | sudo tee /sys/bus/usb-serial/drivers/generic/new_id |
sudo qemu-system-i386 \ | |
-m 512 \ | |
-smp 1 \ | |
-enable-kvm \ | |
-drive if=none,id=disk00,format=qcow2,file=tmp/disk1.qcow2 \ | |
-device "ide-hd,drive=disk00,bus=ide.0,serial=00000000000000000001,model=VMware Virtual IDE Hard Drive" \ | |
-nic tap |
sudo su
brctl addbr br0
ip addr add 192.168.3.100/24 dev br0
ip link set br0 up
[ -d /etc/qemu ] || mkdir /etc/qemu
touch /etc/qemu/bridge.conf
echo "allow br0" >> /etc/qemu/bridge.conf
// Jasmine Standalone testing suite | |
import { GetnadaClient, ListResponse } from "./email-getnada"; | |
(jasmine.getEnv() as any) .configure({random: false, oneFailurePerSpec: true, failFast: true}); | |
let listResponse: ListResponse; | |
describe('Plugins testing getnada api client', () => { | |
const email = '[email protected]'; | |
const api = new GetnadaClient(email); |