Skip to content

Instantly share code, notes, and snippets.

View zaxbux's full-sized avatar
👨‍💻

Zach Schneider zaxbux

👨‍💻
View GitHub Profile
@zaxbux
zaxbux / gdocs.xml
Last active June 12, 2024 11:40
File Types
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/vnd.google-apps.document">
<comment>Google Docs</comment>
<glob pattern="*.gdoc" />
</mime-type>
<mime-type type="application/vnd.google-apps.drawing">
<comment>Google Drawings</comment>
<glob pattern="*.gdraw" />
</mime-type>
@zaxbux
zaxbux / README.md
Last active September 10, 2023 10:20
OpenSprinkler, Rust, Raspberry Pi
@zaxbux
zaxbux / README.md
Last active February 12, 2023 20:41
Raspberry Pi cmdline.txt options
@zaxbux
zaxbux / readme.md
Created January 27, 2023 00:15
CSP Policies
@zaxbux
zaxbux / readme.md
Last active July 10, 2022 05:49
Raspberry Pi 4B One Button Startup/Shutdown (OBSS) without disrupting I2C

I am working on a project that requires GPIO3 be used for I2C. Unfortunately, this is also the pin that can be used for one button startup/shutdown.

Goals

  • Wake Pi after shutdown, halt, or poweroff
  • Shutdown Pi safely to avoid corruption
  • Does not rely on GPIO3 (pin 5; I2C1 SCL)

Background

@zaxbux
zaxbux / readme.md
Last active April 17, 2022 23:19
TELUS Communications VoWiFi (Voice-over-WiFi) / WiFi Calling

Canada Mobile Country Code (MCC): 302

TELUS Mobile Network Code (MNC): 220

Operator ePDG FQDN: epdg.epc.mnc220.mcc302.pub.3gppnetwork.org

Telus uses IKE for authentication (UDP port 500), and IPsec NAT traversal (UDP port 4500).

Sample packet capture:

@zaxbux
zaxbux / cryptodev-linux.md
Created April 12, 2022 07:01
Pine A64 Miscellaneous
  1. Install Linux Headers
  2. wget https://github.com/cryptodev-linux/cryptodev-linux/archive/refs/tags/cryptodev-linux-1.12.tar.gz
    tar -xzf cryptodev-linux-1.12.tar.gz
    cd cryptodev-linux-cryptodev-linux-1.12
    make
    make install
    
@zaxbux
zaxbux / filters.txt
Created March 12, 2022 20:43
uBlock
! Hide "Google recommends chrome" popup
/ogs\.google\.com\/u\/\d+\/widget\/callout\/sid/$subdocument,domain=google.com
@zaxbux
zaxbux / index.html
Last active October 19, 2021 21:23
Deferred TripAdvisor Widgets with IFrame Sandbox
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tripadvisor iFrame Embed Test</title>
</head>
@zaxbux
zaxbux / readme.md
Last active December 30, 2024 02:50
Windows System Colours (by OS)

Colors

Windows

Window

Color of the background of the client area of a window.

WindowFrame