Skip to content

Instantly share code, notes, and snippets.

@kralo
kralo / u-blox-m8n-1enable-sfrbx-rawx-hex.txt
Last active March 4, 2023 05:37
u-blox commands for activating SFRBX/RAWX (using RTKLIB) with M8N FW 3.01
# u-blox commands for activating SFRBX/RAWX (using RTKLIB) with M8N FW 3.01
# tested on an
# HW UBX-M8030 00080000*60
# EXT CORE 3.01 (107900)*33
# ROM BASE 2.01 (75331)*19
# FWVER=SPG 3.01*46
# PROTVER=18.00*11
# issue these commands in a terminal that supports sending HEX (e.g. ScriptCommunicator)
@yrp604
yrp604 / xnu-syscall-life-amd64.md
Last active October 2, 2023 15:59
The life of an XNU unix syscall on amd64

XNU syscall path

Chart

             +------------------+
             |These push their  |                                  +-----------------------+
             |respective syscall|                                  |This overwrites the    |
             |dispatch functions|                                  |saved dispatch function|
             |onto the stack    |                                  |with hndl_alltraps     |
@Tenzer
Tenzer / README.md
Created February 18, 2015 21:20
Docker Registry S3 cleanup script

Docker Registry S3 cleanup script

This simply requires you to install the boto3 package and set the DOCKER_BUCKET variable to point at the bucket you would like to clean up, and the rest should be handled automatically. That's is presuming you have credentials to manage the S3 bucket in one of the default locations where Boto go to look for them.

Since the script more or less traverses through your entire S3 bucket, it probably makes sense to only run it infrequently, like daily or weekly, depending on the amount of repositories and layers you have and the amount of updates on the registry in total.

@jgdavey
jgdavey / hinder.sh
Created May 14, 2012 21:03
Simulate network latency and packet loss on Mac OS X (requires sudo)
#!/bin/bash
set -e
USAGE="Usage: $0 [ip_address | reset]"
if [ "$#" == "0" ]; then
echo "$USAGE"
exit 1
fi