Skip to content

Instantly share code, notes, and snippets.

@anthonybaldwin
anthonybaldwin / Enable-Disable-Marvel-Rivals-UAC-Prompt.md
Last active February 16, 2026 00:22
Enable/Disable Marvel Rivals UAC Prompt

Enable/Disable UAC Prompt for Marvel Rivals

Yeah, no. I'd rather play Overwatch.

image

Caution

Everything appears to work fine, and the anti-cheat system at least starts. However, I am not responsible for any bans or suspensions that may occur. Proceed at your own risk.

[!TIP]

@bassu
bassu / Lenovo ThinkPad X230 Continous Review.md
Last active February 16, 2026 00:20
A Hacker's Ongoing Review of Lenovo ThinkPad X230

A Hacker's Ongoing Review for Lenovo ThinkPad X230

For Arch Linux Wiki: https://wiki.archlinux.org/index.php/ThinkPad_X230

Upate Aug 30, 2014 The machine died. Hopefully it enjoyed it short life!

Update: Aug 02, 2014 One early morning, the machine died after waking up from to cold unsuspend. It didn't start after then. Even couldn't get into POST. Power LED only lit for a second or two. Hard reset of 30 seconds also failed. Before declaring motherboard totally toasted, gave it a last try as suggested by our good ol' friend Pablo Stafforini. Took it a apart, unplugged battery and CMOS battery and let it sit for nearly 11 hours. It WORKED like a preposterous CPR supposedly to a machine! What a joke ;)

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 14
@nalakawula
nalakawula / README.md
Last active February 16, 2026 00:14
Waybar for Niri

Location: ~/.config/waybar/

Result

image

Hover the most left icon will show monitoring (cpu, ram, temperature, and disk)

image

@cobyism
cobyism / gh-pages-deploy.md
Last active February 16, 2026 00:08
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

Shader "Pristine Grid"
{
Properties
{
[KeywordEnum(MeshUV, WorldX, WorldY, WorldZ)] _UVMode ("UV Mode", Float) = 2.0
_GridScale ("Grid Scale", Float) = 1.0
_LineWidthX ("Line Width X", Range(0,1.0)) = 0.01
_LineWidthY ("Line Width Y", Range(0,1.0)) = 0.01
@karpathy
karpathy / microgpt.py
Last active February 16, 2026 00:17
microgpt
"""
The most atomic way to train and inference a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@timnew
timnew / Rename.ps1
Last active February 16, 2026 00:03
Script to Rename Computer without Reboot
$ComputerName = "New Name"
Remove-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "Hostname"
Remove-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "NV Hostname"
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Computername\Computername" -name "Computername" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Computername\ActiveComputername" -name "Computername" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "Hostname" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "NV Hostname" -value $ComputerName
Set-ItemProperty -path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -name "AltDefaultDomainName" -value $ComputerName
@osipxd
osipxd / !paper-versions.md
Last active February 16, 2026 00:02
Paper versions links