Skip to content

Instantly share code, notes, and snippets.

View Weissnix4711's full-sized avatar

Thomas Aldrian Weissnix4711

View GitHub Profile
@Weissnix4711
Weissnix4711 / weather_compensation.txt
Last active October 12, 2023 19:51
Weather compensation curve
vtsoll = rtsoll + niv - (nei * dar * (1.4347 + (0.021 * dar) + (247.9 * 10^-6 * dar^2)))
dar = at - rtsoll
this one is to prevent fake nicknames
https://github.com/Extollite/ExtoAC-ElementZero/blob/56ba673888674fbcb40f74db83f6361c616c6cc5/ExtoAC/main.cpp#L29
this one to delete non-vanilla enchants:
https://github.com/Extollite/ExtoAC-ElementZero/blob/56ba673888674fbcb40f74db83f6361c616c6cc5/ExtoAC/main.cpp#L83
this one to prevent nuker
https://github.com/Extollite/ExtoAC-ElementZero/blob/56ba673888674fbcb40f74db83f6361c616c6cc5/ExtoAC/main.cpp#L114
this one to prevent one hit kill (it might be fixed in bds now)
@Weissnix4711
Weissnix4711 / aw-nr580.md
Last active March 6, 2021 16:53
AzureWave AW-NR580 Wireless Router

Appears to be similar to TL-WR841ND v1, although not a direct clone.

Features:

  • 2 non-detachable antennas.
  • 4 Port 100/10 Switch
  • 1 Port 100/10 WAN interface
  • WPS Button
  • Line out
@Weissnix4711
Weissnix4711 / flash_layout
Last active November 27, 2022 14:24
Virgin Media Super Hub (VMDG480/CG3101D) hacking and serial logs
000000:00ffff bootloader
010000:01ffff perm
020000:3fffff image1
400000:7dffff image2
7f0000:7fffff dyn
@Weissnix4711
Weissnix4711 / config.sh
Last active March 3, 2023 17:42
swv_733_a1
# cat /sbin/config.sh
CONFIG_MIPS=y
CONFIG_RALINK_MT7628=y
CONFIG_MT7628_ASIC=y
CONFIG_RT2880_DRAM_64M=y
CONFIG_MTD_SPI_RALINK=y
CONFIG_KERNEL_NVRAM=y
CONFIG_RALINK_RAM_SIZE=64
CONFIG_MTD_PHYSMAP_START=0x1F000000
@Weissnix4711
Weissnix4711 / gapps.md
Last active June 1, 2021 23:01
Android 11 GApps

Google Apps

Name Version notes Other notes
opengapps doesn't currently support android 11 Great packages. Different packages available, for pretty good customizability
NikGApps Supports android 11 pretty good but is maintained by only one person. Potentially concerning in the future
FlameGApps pretty good for android 11 Nice choices and customizability.
MindTheGapps Android 11 support minimalistic. Recommended by lineageos, though probably not ideal for most users
BitGApps Android 11 another good contender. Not quite as popular as NikGApps, but about equally customizable. Note that there are no clear package versions, but you can edit a config file to choose what to install, similar to NikGapps
@Weissnix4711
Weissnix4711 / android_potter.md
Last active June 5, 2021 13:20
Motorola G5 Plus recovery, ROM and rooting.

Links and info

Recovery

  • Unlock bootloader instructions
  • Download and flash TWRP via adb. Tested twrp-3.5.2_9-0-potter.img.
  • fastboot flash recovery twrp-****.img. Follow instructions. Note, this will erase data.
@Weissnix4711
Weissnix4711 / physics_equations.md
Last active April 8, 2022 16:40
GCSE Physics Equations

Physics GCSE equations

AQA spec here

Energy and Particle Model of Matter

Changes in energy

Word equation Symbol equation
@Weissnix4711
Weissnix4711 / tenda_pa6.md
Last active August 7, 2021 14:58
Tenda PH5 (P3 + PA6) PLC kit

Firmware available here for both devices.

PA6

Hardware info

BCM Board ID 96345

Analysis

Stepper driver current

Can be adjusted manually with Vref, or digitally (for marlin in Configuration_adv.h.

Calculating

Imax -> Maximum current per phase. This is often the value on the motor datasheets.

Irms -> Root mean square current, or average current.