Skip to content

Instantly share code, notes, and snippets.

View kisom's full-sized avatar

Kyle Isom kisom

View GitHub Profile
@tlrobinson
tlrobinson / bbs.sh
Last active April 14, 2021 13:56
ham radio / amateur radio setup notes for mac and raspberry pi
#!/usr/bin/env bash
# e.x.
#
# bbs.sh KE6JJJ-1 1200 145090000
# bbs.sh KE6JJJ-1 9600 433370000
#
set -eu
THE LOW-DOWN ON LOADALL:
EXCERPTS FROM THE BOOK
THE HYPER-SPACE NAVIGATOR'S GUIDE
by
Terrance E. Hodgins
copyright (C) 1990 by Terrance E. Hodgins,
All rights reserved.
@munificent
munificent / generate.c
Last active March 18, 2024 08:31
A random dungeon generator that fits on a business card
#include <time.h> // Robert Nystrom
#include <stdio.h> // @munificentbob
#include <stdlib.h> // for Ginny
#define r return // 2008-2019
#define l(a, b, c, d) for (i y=a;y\
<b; y++) for (int x = c; x < d; x++)
typedef int i;const i H=40;const i W
=80;i m[40][80];i g(i x){r rand()%x;
}void cave(i s){i w=g(10)+5;i h=g(6)
+3;i t=g(W-w-2)+1;i u=g(H-h-2)+1;l(u
@fnky
fnky / ANSI.md
Last active April 24, 2024 21:19
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@jblang
jblang / rc2014.md
Last active January 20, 2024 14:57
RC2014 Links
@djg
djg / reading-list.md
Last active February 19, 2024 18:09
Fabian's Recommened Reading List
@alirobe
alirobe / reclaimWindows10.ps1
Last active April 23, 2024 06:15
This Windows 10 Setup Script turns off a bunch of unnecessary Windows 10 telemetery, bloatware, & privacy things. Not guaranteed to catch everything. Review and tweak before running. Reboot after running. Scripts for reversing are included and commented. Fork of https://github.com/Disassembler0/Win10-Initial-Setup-Script (different defaults). N.…
###
###
### UPDATE: For Win 11, I recommend using this tool in place of this script:
### https://christitus.com/windows-tool/
### https://github.com/ChrisTitusTech/winutil
### https://www.youtube.com/watch?v=6UQZ5oQg8XA
### iwr -useb https://christitus.com/win | iex
###
###
"0\x82\n\f\x02\x01\x030\x82\t\xcc\x06\t*\x86H\x86\xf7\r\x01" +
"\a\x01\xa0\x82\t\xbd\x04\x82\t\xb90\x82\t\xb50\x82\x05\xee\x06\t" +
"*\x86H\x86\xf7\r\x01\a\x01\xa0\x82\x05\xdf\x04\x82\x05\xdb0\x82\x05" +
"\xd70\x82\x05\xd3\x06\v*\x86H\x86\xf7\r\x01\f\n\x01\x02\xa0\x82" +
"\x04\xee0\x82\x04\xea0\x1c\x06\n*\x86H\x86\xf7\r\x01\f\x01\x03" +
"0\x0e\x04\bR\xb5Cg\x951\x95\xfa\x02\x02\a\xd0\x04\x82\x04\xc8" +
"'\xcdI\"\x8b,\x17\xa6\xe8\x15jO\xb6H\x90D\xfbH\xe85" +
"\xba{\xd4\x03\xe3\xf5\xaf\x1c\x05k3f\xcav\x933H\xcb\x020" +
"\xbeM\xca\xe7]\x00\xd4\xca\x1c\x15j\xd3B\\\xf6G\xaa\x18\xd0*" +
"$\xf2\xa4\x8e\x14\x94y\xbc\xd0\x17(^\xd0Mh#\xd4\xf8͎" +
@tel
tel / ParserCombinators.hs
Created November 3, 2014 19:54
Monad transformers and parser combinators
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module ParserCombinators where
{-
We'll build a set of parser combinators from scratch demonstrating how
they arise as a monad transformer stack. Actually, how they arise as a
choice between two different monad transformer stacks!
@baetheus
baetheus / README.md
Last active December 17, 2023 14:28
SmartOS Single IP with NAT using VLAN

WARNING

These intructions might work, but they need a bit of attention. I've been reading through ipf and smf documentation and have found a few ways to improve this process. When I have time I'll add that information here, until then, be sure to look into the ipf settings if you're having issues with routing. Good luck!

Foreword

This is a modified version of sjorge's instructions for Single IP with NAT. Those instructions can be found here: https://docu.blackdot.be/snipets/solaris/smartos-nat

The primary difference is that this version does not rely on etherstubs for internal switching, but instead uses a vlan configuration. The benefits of this method over using etherstubs are:

  1. Project Fifo (project-fifo.net) can create vms and zones with vlans, but does not currently have etherstub support.
  2. Vlan switching is supposedly more efficient than creating an etherstub to handle switching. I have not tested this statement.