Skip to content

Instantly share code, notes, and snippets.

View youngd24's full-sized avatar

Darren Young youngd24

View GitHub Profile
@youngd24
youngd24 / generate_sit_files.sh
Created April 2, 2026 07:02
Shell script to generate phone network SIT files in au format suitable for a Cisco ISR
#!/bin/bash
################################################################################
#
# generate_sit_files.sh
#
# Shell script to generate phone network SIT files in au format
# suitable for hosting on a Cisco ISR
#
# Make sure ffmpeg is installed first
#
@youngd24
youngd24 / uping.py
Created December 26, 2021 00:41
esp8266 MicroPython ping library
# µPing (MicroPing) for MicroPython
# copyright (c) 2018 Shawwwn <shawwwn1@gmail.com>
# License: MIT
# Internet Checksum Algorithm
# Author: Olav Morken
# https://github.com/olavmrk/python-ping/blob/master/ping.py
# @data: bytes
def checksum(data):
if len(data) & 0x1: # Odd number of bytes