Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# GET Recore ID
#curl -x get "https://api.cloudflare.com/client/v4/zones/YOUR_ZONE_ID/dns_records" \
#-h "x-auth-email:[email protected]" \
#-h "x-auth-key:YOUR_GLOBAL_API_KEY" \
#-h "content-type: application/json"
NEW_IP=`curl -s http://ipv4.icanhazip.com`
@fwengineer
fwengineer / sasl-scram-test.py
Last active February 19, 2019 02:04 — forked from markokr/sasl-scram-test.py
Check rfc5802 test vector correctness.
#! /usr/bin/env python
"""Check RFC5802 test vector.
"""
import hashlib
import hmac
import struct
def base64(s):
@fwengineer
fwengineer / AdbCommands
Created August 27, 2018 03:52 — forked from Pulimet/AdbCommands
Adb useful commands list
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
== Shell