Skip to content

Instantly share code, notes, and snippets.

View Stary2001's full-sized avatar

Chloe Bethel Stary2001

View GitHub Profile
/* Original script written by Zekaonar
* Updated by Crowther
* Rewritten by UberFerret
* Maintained by digitrev */
script "UberPvPOptimizer.ash";
import <zlib.ash>;
//Declare all the variables
boolean showAllItems;
boolean buyGear;
@Stary2001
Stary2001 / test.md
Last active January 21, 2019 00:15

a
b

vs

a

b

@Stary2001
Stary2001 / amd64 Cargo.toml
Last active December 26, 2017 21:48
issue w/ cargo + local crates
[package]
name = "kernel_amd64"
version = "0.0.1"
authors = ["Ezekiel Bethel <zek@9net.org>"]
[lib]
crate-type = ["staticlib"]
[dependencies]
volatile = "0.1.0"
@Stary2001
Stary2001 / run_with_gateway
Created July 30, 2017 15:15
when you really want to be someone else just for a second
#!/bin/bash
function cleanup {
brctl delif 9net-bridge vethgw0
#ip netns exec blue ip link del vethgw1 type veth
ip link del vethgw0 type veth
ip netns del blue
}
trap cleanup EXIT
!
! Zebra configuration saved from vty
! 2017/07/22 22:26:44
!
hostname bgpd
password random-test-password-plz
log stdout
!
router bgp 4212343005
bgp router-id 10.254.5.1
@Stary2001
Stary2001 / keybase.md
Created January 29, 2017 15:05
keybase, yes

Keybase proof

I hereby claim:

  • I am stary2001 on github.
  • I am stary2001 (https://keybase.io/stary2001) on keybase.
  • I have a public key ASAXn5D3OVrzL1sm7LPru7wjapbZAo7ZrpIYj1xpdocHTgo

To claim this, I am signing this object:

@Stary2001
Stary2001 / fbi.sh
Created September 15, 2016 20:27
a thing
function fbi
{
if [[ $# < 2 ]]; then
echo "Usage: fbi [cia] [ip]"
return
fi
printf '0 00000001 %016X' `stat -c '%s' "$1"` | xxd -r | cat -- - "$1" | nc $2 5000
}

Keybase proof

I hereby claim:

  • I am stary2001 on github.
  • I am stary2001 (https://keybase.io/stary2001) on keybase.
  • I have a public key whose fingerprint is CCB8 3655 A8F4 9614 A3B4 DC52 5676 89DD 8007 381E

To claim this, I am signing this object: