🏳️⚧️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Radios | |
## Main Radios for CYVR / CZVR Airspace (Vancouver / Richmond only, no PAL) | |
### CYVR Airfield | |
CIP595 RICHMOND BC YV ASSR1 BU COMM SITE 49.18444444, -123.18916667 | |
VBY799 RICHMOND BC- YVR TRANSMITTER SITE (TX Only) 49.18583333, -123.19527778 | |
VFQ429 RICHMOND BC YVR - RECEIVE SIT (RX Only) 49.195, -123.20694444 | |
### CZVR Office | |
XKK779 SURREY BC 7421 135TH STREET 49.1375, -122.85027778 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interfaces { | |
ethernet eth0 { | |
address dhcp | |
address 2001:19f0:b001:fb6:5400:3ff:fea6:723/64 | |
} | |
loopback lo { | |
} | |
wireguard wg0 { | |
address fe80::2980:12/64 | |
address 2404:f4c0:f9c2:200::1/56 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "UEFI firmware for i386, with Secure Boot and SMM", | |
"interface-types": [ | |
"uefi" | |
], | |
"mapping": { | |
"device": "flash", | |
"executable": { | |
"filename": "/usr/share/edk2-ovmf-csm/ia32/OVMF_CODE.secboot.fd", | |
"format": "raw" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.geom.Path2D; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.Arrays; | |
import java.util.stream.Collectors; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jcodec.api.FrameGrab; | |
import org.jcodec.common.io.NIOUtils; | |
import org.jcodec.common.model.Picture; | |
import org.jcodec.scale.AWTUtil; | |
import java.awt.image.BufferedImage; | |
import java.io.*; | |
import javax.sound.sampled.AudioInputStream; | |
import javax.sound.sampled.AudioSystem; | |
import javax.sound.sampled.Clip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Shutdown the system properly when Azure evicts your Spot instance. | |
* | |
* Compile: | |
* Requires libcurl 4 and json-c 5 headers. | |
* cc -Wall -Werror -lcurl -ljson-c main.c | |
* | |
* Running: | |
* Requires `shutdown` command and the rights to execute it. | |
* Requires libcurl.so.4, libjson-c.so.5, and glibc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export MOUSE_LEFT=1 | |
export MOUSE_RIGHT=2 | |
export KEY_ESCAPE=Escape | |
# Settings | |
export MC=$1 | |
SCRIPT=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ShellAbout = @' | |
[DllImport("Shell32.dll")] | |
public static extern int ShellAbout(IntPtr hwnd, string szApp, string szOtherStuff, IntPtr hIcon); | |
'@ | |
$Shell32 = Add-Type -MemberDefinition $ShellAbout -Name 'Shell32' -Namespace 'Shell32' -PassThru | |
$Shell32::ShellAbout(0, "Windows", "", 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
/** | |
* Cosmic Number | |
* License: Unlicensed | |
**/ | |
public class Main { | |
private static final int BILLION = 1000000000; | |
private static final int MILLION = 1000000; | |
private static final int THOUSAND = 1000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# License: WTFPL | |
# References vary. | |
# Usage: curl -fsSL https://gist.github.com/Trumeet/53159d1f45e27bec091978da57132d23/raw -o - | sh - | |
trap '' SIGINT | |
center() { | |
termwidth="$(tput cols)" | |
padding="$(printf '%0.1s' ={1..500})" |
NewerOlder