Skip to content

Instantly share code, notes, and snippets.

View bsdlp's full-sized avatar

jon bsdlp

View GitHub Profile
@bsdlp
bsdlp / README.md
Created November 2, 2026 01:35
4.0" SPI TFT (ST7796S, 480x320) on Orange Pi 3 LTS with Armbian

4.0" SPI TFT (ST7796S, 480x320) on Orange Pi 3 LTS with Armbian

Tested on Armbian 26.8.3, kernel 6.18.44-current-sunxi64, with a "4.0 TFT SPI 480x320 V1.1" red PCB module. The board is sold as ILI9486 but the V1.1 revision uses an ST7796S controller, which is why a stock ILI9486 setup leaves the screen white.

The display is driven by the staging fbtft driver (fb_ili9486) with a custom ST7796S init sequence supplied from the device tree overlay. The result is a plain Linux framebuffer at /dev/fb0.

Wiring

The module runs at 3.3V logic. The backlight is tied directly to 3.3V so it is always on.

//-----------------------------------------------------------------------
// Yet Another Parameterized Projectbox generator
//
// This is a box for <template>
//
// Version 2.0 (19-05-2023)
//
// This design is parameterized based on the size of a PCB.
//
// for many or complex cutoutGrills you might need to adjust
{
"Link Color" : {
"Red Component" : 0,
"Color Space" : "sRGB",
"Blue Component" : 0.73423302173614502,
"Alpha Component" : 1,
"Green Component" : 0.35916060209274292
},
"Tags" : [
@bsdlp
bsdlp / autoexec.cfg
Created May 27, 2021 23:06
apex legends autoexec
// _____________________
// | DEAFPS - CONFIG |
// v4.0 - 21.07.20
// Follow @deaFPS_ on Twitter
//
// GAMEPLAY-SETTINGS---------------------------------------------
m_rawinput "1"
[08:44:07] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[08:44:07] [main/INFO]: Found new data pack file/bukkit, loading it automatically
[08:44:08] [main/INFO]: Reloading ResourceManager: Default, bukkit
[08:44:09] [Worker-Main-4/INFO]: Loaded 7 recipes
[08:44:07] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[08:44:07] [main/INFO]: Found new data pack file/bukkit, loading it automatically
[08:44:08] [main/INFO]: Reloading ResourceManager: Default, bukkit
[08:44:09] [Worker-Main-4/INFO]: Loaded 7 recipes
[08:44:12] [Server thread/INFO]: Starting minecraft server version 1.16.3
[08:44:12] [Server thread/INFO]: Loading properties

Skirt Steak with beer pan sauce this shit absolutely fucks

ingredients

  • 1 skirt steak (might need to cut in half to fit in pan)
  • 1/2 shallot, diced
  • equal amount garlic, diced
  • 1 tbsp vegetable oil (something with a high smoking point, like canola, peanut, sunflower)
  • 2 sprigs of fresh thyme (alternatively 1 tbsp dried thyme)
  • salt and pepper
Internet Engineering Task Force (IETF) J. Chen
Request for Comments: 6969 Gamers Rise Up Inc
Category: Standards Track
ISSN: 2070-1721
February 2019
Animated Text (.atxt)
Abstract
"VideoConfig"
{
"setting.cl_gib_allow" "0"
"setting.cl_particle_fallback_base" "0"
"setting.cl_particle_fallback_multiplier" "1.75"
"setting.cl_ragdoll_maxcount" "0"
"setting.cl_ragdoll_self_collision" "1"
"setting.mat_depthfeather_enable" "1"
"setting.mat_forceaniso" "1"
"setting.mat_mip_linear" "0"
@bsdlp
bsdlp / test
Last active February 13, 2019 08:37
safsd
[Display]
FullscreenRefresh=0
Maximized=0
FullscreenWidth=1920
FullscreenHeight=1080
WindowedWidth=1366
WindowedHeight=768
Mode=Fullscreen
FullscreenMode=Fullscreen
HDPixelPlus=1.000000