I hereby claim:
- I am nicolalamacchia on github.
- I am nicolalamacchia (https://keybase.io/nicolalamacchia) on keybase.
- I have a public key ASDH46kkAKuVRxrJLP7OPveiy3XbNLDbhOW0XshUs_KojQo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import re | |
import sys | |
def move_thumbnail_to_bottom(input_file, output_file): | |
with open(input_file, 'r') as file: | |
lines = file.readlines() | |
thumbnail_start = None |
#! /usr/bin/gforth | |
\ for debugging (e.g. 'a' reg) | |
: reg ( c -- ) | |
." reg " emit ." >>> " .s cr ; | |
\ \ \ | |
\ file stuff | |
32 Constant BUF-LEN |
#!/bin/sh -e | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <domain>" | |
exit 1 | |
fi | |
priority_rrs="A AAAA CNAME MX NS TXT SOA" | |
rrs="AFSDB APL CAA CDNSKEY CDS CERT CSYNC DHCID DLV DNAME DNSKEY DS EUI48 EUI64 HINFO HIP HTTPS IPSECKEY KEY KX LOC NAPTR NSEC NSEC3 NSEC3PARAM OPENPGPKEY PTR RRSIG RP SIG SMIMEA SRV SSHFP SVCB TA TKEY TLSA TSIG URI ZONEMD" | |
pseudo_rrs="ANY AXFR IXFR OPT" |
/* | |
* CSS reset with sensible default. | |
* Based on https://andy-bell.co.uk/a-more-modern-css-reset/ | |
*/ | |
/* Box sizing rules */ | |
*, | |
*::before, | |
*::after { | |
box-sizing: border-box; |
#!/usr/bin/python | |
import socket | |
import struct | |
import sys | |
BROADCAST_IP = "192.168.0.255" | |
MAC_ADDRESS = "00:00:00:00:00:00" | |
WOL_PORT = 9 # 0, 7 or 9 |
#!/bin/bash | |
# Usage: img2loop /path/to/disk.img | |
# Outputs created loop devices. | |
set -eu | |
if [[ $(id -u) -ne 0 ]]; then | |
echo "Error, run this program as root" >&2 | |
exit 1 |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/python | |
# based on https://github.com/grayaii/rom_cleaner | |
# NOTE: I am in the process of rewriting this to make it more readable, | |
# testable, optimized. Right now I just added features and tuned | |
# existing ones mostly on top of the old code. | |
import re | |
import os |