This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function htons($i) | |
{ | |
return pack('n', $i); | |
} | |
function nstoh($d) | |
{ | |
$length = unpack('n', $d); | |
return $length[1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Usage: CRONDIARY_JOB=<your job id> crondiary 'command'" | |
exit 1 | |
fi | |
if [ -z "$API_KEY" ] && [ -e ~/.crondiary ]; then | |
API_KEY=`cat ~/.crondiary` | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import subprocess | |
def get_info(cmds): | |
toEcho = "" | |
for cmd in cmds: | |
toEcho += "%s\\\\r\\\\n" % cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# Dotroll domain api | |
# - api access values stored per domain, including migration from account stored values | |
# - zone data is POST-ed to avoid "414 Request-URI Too Large" errors | |
# | |
# Initially export values Dotroll_User and Dotroll_Password | |
# export Dotroll_User='<your.dotroll@user>'; export Dotroll_Password='<dotroll_api_password>'; acme.sh --issue --dns dns_dotroll -d <domain.tld> -d '*.<domain.tld>' | |
# Usage: add _acme-challenge.www.domain.com "XKrxpRBosdIKFzxW_CT3KLZNf6q0HG9i01zxXp5CPBs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Das Widget ist auf Grund von Beschwerden von Renault vorrübergehend entfernt */ | |
/* Le widget a été temporairement supprimé suite à une plainte de Renault. */ | |
/* The widget is temporarily removed due to complaints from Renault */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 68 A0 00 90 adrp x8, #0x102620000 | |
; 08 29 41 F9 ldr x8, [x8, #0x250] | |
; 09 81 04 91 add x9, x8, #0x120 | |
[object_manager] | |
pattern=\x08(.){2}\xF9\x09\x81\x04\x91 | |
value_0=adr:-4 ldr:0 | |
; 68 A7 00 F0 adrp x8, #0x1021f0000 | |
; 08 ED 40 F9 ldr x8, [x8, #0x1d8] | |
; 60 00 00 B4 cbz x8, loc_100d013e4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
import sys | |
import struct | |
if len(sys.argv)-1 < 1: | |
print('usage: {} <binary>'.format(sys.argv[0])) | |
sys.exit(1) | |
f = open(sys.argv[1], 'rb') | |
data = f.read() |
OlderNewer