Skip to content

Instantly share code, notes, and snippets.

View papodaca's full-sized avatar

Ethan Apodaca papodaca

View GitHub Profile
@papodaca
papodaca / f7.patch
Last active September 15, 2018 19:56
kernel patch for teclast f7 touchpad
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index eae0cb3ddec6..cce5c43b9bc2 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -47,7 +47,86 @@
/* quirks to control the device */
#define I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV BIT(0)
#define I2C_HID_QUIRK_NO_IRQ_AFTER_RESET BIT(1)
-#define I2C_HID_QUIRK_RESEND_REPORT_DESCR BIT(2)
+
@papodaca
papodaca / encode.sh
Last active February 24, 2019 22:59
Download podcasts and name with release order, assuming the feed is delivered in release order.
#!/bin/bash
threads=4
if [ -z "$1" ]; then
echo "Usage:"
echo " encode.sh <output_path>"
exit 1
fi
@papodaca
papodaca / keybinding.json
Last active April 27, 2021 18:15
vscode config
[
{
"key": "cmd+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "cmd+0",
"command": "workbench.action.zoomReset"
},
{
@papodaca
papodaca / att.sh
Created November 17, 2021 18:52
Cut down version of pfatt bypass from https://github.com/MonkWho/pfatt/
#!/bin/sh
#
# CONFIG
# ======
#
# ONT_IF Interface connected to the ONT
#
# RG_ETHER_ADDR MAC address of your assigned Residential Gateway
#
# Required Config