Skip to content

Instantly share code, notes, and snippets.

View kylemanna's full-sized avatar

Kyle Manna kylemanna

View GitHub Profile
[Unit]
Description=AMD Radeon Config
Before=claymore.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'for i in 3 4 5 6; do /home/miner/amd/ohgodatool/ohgodatool -i $i --set-fanspeed 50 --mem-state 2 --mem-clock 1980 --core-state 7 --core-clock 1200; done'
[Install]
WantedBy=multi-user.target
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 26, 2024 05:42 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@flisboac
flisboac / fix-intel_wifi_aer-avell_g1513_fire_v3
Last active February 12, 2023 15:58
Temporary fix for AER's excessive `severity=Corrected` logging for Intel Wireless (Avell G1513 Fire V3) (Arch Linux)
silly gist hack, why do we need you? :(
diff --git a/devices/MKL27Z4/gcc/startup_MKL27Z4.S b/devices/MKL27Z4/gcc/startup_MKL27Z4.S
index 961af8d..b249b4b 100644
--- a/devices/MKL27Z4/gcc/startup_MKL27Z4.S
+++ b/devices/MKL27Z4/gcc/startup_MKL27Z4.S
@@ -47,7 +47,7 @@ __isr_vector:
.long __StackTop /* Top of Stack */
.long Reset_Handler /* Reset Handler */
.long NMI_Handler /* NMI Handler*/
- .long HardFault_Handler /* Hard Fault Handler*/
+ .long HardFault_HandlerAsm /* Hard Fault Handler*/
@kylemanna
kylemanna / arch-linux-install.md
Last active April 19, 2023 04:40 — forked from binaerbaum/arch-linux-install
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
@kylemanna
kylemanna / price.txt
Created November 30, 2016 17:16
AWS Lightsail vs DigitalOcean, VULTR and Linode
Price breakdown vs DigitalOcean, Vultr and Linode:
RAM / CPU Cores / STORAGE / Transfer
$5/mo
LightSail: 512MB, 1, 20GB SSD, 1TB
DO: 512MB, 1, 20GB SSD, 1TB
VULTR: 768MB, 1, 15GB SSD, 1TB
$10/mo
@mleinart
mleinart / Sierra-QMIDrivers-fix_compile_errors.diff
Last active March 13, 2020 21:48
Fixes to Sierra Wireless QMI drivers to allow compiles on new versions of Linux
This is a patch to the Linux QMI drivers provided by Sierra Wireless
(http://source.sierrawireless.com/resources/airprime/software/usb-drivers-linux-qmi-software-s2,-d-,25n2,-d-,38/).
These drivers incorrectly assign `usb_serial_generic_resume` to a `struct usb_driver.resume` when it can only be assigned
to a `struct usb_serial_driver` (and the driver already provides one). Instead, the `struct usb_driver.resume` should get
`usb_serial_resume` from the generic usb-serial driver which does the delegation to the function passed into the
`struct usb_serial_driver.resume`. The `struct usb_driver.reset_resume` is removed as that's added automatically by the
kernel's USB init code.
Use this patch if you get the following errors compiling:
@robzr
robzr / polycom_with_isc_dhcpd_classes.md
Last active May 17, 2023 08:46
Polycom VoIP phone provisioning using ISC DHCPD classes

Provisioning Polycom VoIP phones using ISC DHCPD

Using ISC DHCPD's concept of classes, we have a simple and powerful way of provisioning Polycom VoIP phones.

In the main body of the dhcpd.conf file (outside of any subnet declarations), we are going to define a couple custom Polycom options, then define the class, and match statements - which determine when the class is applied to DHCP clients. The class definition is also a good place to include some global options that will be applied to all Polycom clients, regardless of what subnet they end up on.

For the purposes of these examples, we're going to pretend our TFTP server is 10.0.1.2, and we are going to provision our phones to boot up on VLAN42 (10.0.42.0/24).

# Custom options used by Polycom clients

option polycom-vlan code 128 = text;

@Arinerron
Arinerron / root.sh
Last active March 7, 2024 09:24
"Root" via dirtyc0w privilege escalation exploit (automation script) / Android (32 bit)
#!/bin/bash
# Give the usual warning.
clear;
echo "[INFO] Automated Android root script started.\n\n[WARN] Exploit requires sdk module \"NDK\".\nFor more information, visit the installation guide @ https://goo.gl/E2nmLF\n[INFO] Press Ctrl+C to stop the script if you need to install the NDK module. Waiting 10 seconds...";
sleep 10;
clear;
# Download and extract exploit files.
echo "[INFO] Downloading exploit files from GitHub...";
@kylemanna
kylemanna / kicad pcb design targets.txt
Created October 24, 2016 22:18
KiCAD PCB Standard Layout design targets.
Origin: 100x100
Place major pieces on 0.2 mm grid
Place minor pieces on 0.1 mm grid
Min track/space: 160 µm (6 mil)
Min drill: 305 µm (12 mil)
Min Via Annular Ring: 160 µm (6 mil)
Min Text Height: 0.8 mm
Min Silkscreen Width: 0.15 mm