Skip to content

Instantly share code, notes, and snippets.

This dumps 0x10000 of data from an SBus card
2 10000 dup 0 3 pick rot " /sbus" select-dev map-in swap 20 / 0 do i 20 * . 8 0 do dup l? 4 + loop cr loop
^ ^
dump length sbus slot # (from show-sbus)
Output example (FCode blobs start with 0xfd or 0xf1):
0 fd03262d 7d90 ccb60963 6f707972 69676874 800b712 3f436f70 79726967
20 68742031 3939342d 31393937 2053756e 204d6963 726f7379 7374656d 732c2049
@halfmanhalftaco
halfmanhalftaco / output.txt
Created July 20, 2018 14:13
Vagrant bridging behavior
F:\src\bridgetest> VBoxManage list bridgedifs
Name: Intel(R) Ethernet Connection (2) I219-V - VLAN : LAN0
GUID: aef1a9cd-4145-4228-9755-69d1e731dc28
DHCP: Enabled
IPAddress: 10.0.42.150
NetworkMask: 255.255.255.0
IPV6Address: fe80::ec68:136d:18d0:72ce
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 30:5a:3a:7e:01:08
MediumType: Ethernet
@halfmanhalftaco
halfmanhalftaco / twilight.c
Created June 25, 2017 06:58
twilight.c
/*
*
* cc twilight.c -lgl_s -lm -o twilight
*
* Copyright (c) 1991, 1992 Silicon Graphics, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that the name of Silicon Graphics may not be used in any advertising or
* publicity relating to the software without the specific, prior written