Skip to content

Instantly share code, notes, and snippets.

View vitallium's full-sized avatar
🖥️
Hex, Bugs and Source Control!

Vitaly Slobodin vitallium

🖥️
Hex, Bugs and Source Control!
View GitHub Profile
@lucataco
lucataco / DEBLOAT.md
Last active November 10, 2026 14:46
webos-debloat: reversible debloat for rooted LG webOS TVs (hide bloat tiles, stop preloading, turn off promos/ACR)

webos-debloat

One shell script that makes a rooted LG webOS TV lighter and quieter:

  • hides bloat tiles and background apps from the launcher
  • stops preloading apps the TV keeps in RAM whether or not you open them
  • turns off home-screen promotions, promo videos, sports alerts, content recommendations and Live Plus (ACR)

Nothing is deleted and the root filesystem is never touched. It only edits

@storopoli
storopoli / init.lua
Last active May 19, 2026 13:33
Very Very Very Minimal init.lua
vim.pack.add{
'https://github.com/ibhagwan/fzf-lua',
'https://github.com/neovim/nvim-lspconfig',
}
-- LSP
vim.o.autocomplete = true
vim.o.completeopt = 'menu,menuone,noselect,nearest'
vim.diagnostic.config({ virtual_text = false, virtual_lines = { current_line = true } })
vim.api.nvim_create_autocmd("LspAttach", {
@davidteren
davidteren / rules_for_llm_agentic_coding_in_docker_containerization_projects.md
Last active March 19, 2025 09:32
Rules for LLM Agentic Coding in Docker Containerization Projects

Rules for LLM Agentic Coding in Docker Containerization Projects

1. Container Architecture Patterns

  • Follow the Established Pattern: Always respect the established architecture patterns across services (Dockerfile, entrypoint script, management script).
  • Separate Concerns: Keep build-time operations in Dockerfile, initialization in entrypoint scripts, and user operations in management scripts.
  • Delegate Appropriately: Entrypoint scripts should handle environment initialization; management scripts should provide a clean interface.
  • Minimize Verbosity: Management scripts should be concise in output; verbose operations belong in entrypoint scripts.

2. Environment Detection & Configuration

  • Use Defaults Wisely: Always provide sensible defaults for environment variables.
  • Check Dependencies: Explicitly check for required dependencies (database, Redis, other services).
  • Respect Technology Specifics: Recognize and accommodate technology-specific patterns (rake vs rails, Nod
@Th3Whit3Wolf
Th3Whit3Wolf / Arch Secure Laptop Install.md
Last active November 4, 2026 11:13
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@sebboh
sebboh / postgres96upgrade.md
Created November 18, 2016 23:32
Upgrade to Postgres 9.6

Stop your running postgres server (your plist name may or may not have specified the version in it, mine had 94 in the name)

launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql94.plist

Upgrade to 9.6

brew update && brew upgrade postgresql

Check your version

@paulirish
paulirish / what-forces-layout.md
Last active November 10, 2026 16:53
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
@NickCraver
NickCraver / Windows10-Setup.ps1
Last active October 25, 2026 21:53
(In Progress) PowerShell Script I use to customize my machines in the same way for privacy, search, UI, etc.
##################
# Privacy Settings
##################
# Privacy: Let apps use my advertising ID: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0
# To Restore:
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1
# Privacy: SmartScreen Filter for Store Apps: Disable
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0
@hmemcpy
hmemcpy / undef.md
Last active October 19, 2026 01:43
Disabling Visual Studio Git Provider

Here's how to disable the package that is responsible for loading the Git source control support in Visual Studio. Use at your own risk!

  • Create a file called devenv.pkgundef and place it next to devenv.exe in you Visual Studio's Common7\IDE (you'll need elevation for this)
  • Add the following entries to the file:
[$RootKey$\Packages\{7fe30a77-37f9-4cf2-83dd-96b207028e1b}]
[$RootKey$\SourceControlProviders\{11b8e6d7-c08b-4385-b321-321078cdd1f8}]
  • Close VS if open, open a Developer command prompt, and type devenv /updateconfiguration
@staltz
staltz / introrx.md
Last active October 28, 2026 13:21
The introduction to Reactive Programming you've been missing