Skip to content

Instantly share code, notes, and snippets.

@palopezv
palopezv / dwm_config_pulseaudio.h
Last active December 18, 2025 13:39 — forked from neuro-sys/dwmconfig.h
dwm volume control with hardware multimedia keys (pipewire, pulseaudio, amixer and light as an extra)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the keysyms header upstream copy if you can't bother
using the contents of your own hard drive. ;-P
@Klerith
Klerith / testing-configuration.md
Last active December 18, 2025 13:38
Configuración de Vitest + React Testing Library
@devinschumacher
devinschumacher / component-libs-shadcnui.md
Last active December 18, 2025 13:34
The Best Components, Templates & Block Libraries for React, Next.js & Tailwind UI Built on ShadcnUI
title tags
The Best Component Libraries for React, Next.js & Tailwind UI
react
next.js
tailwindcss
ui components

The Best Component Libraries for React, Next.js & Tailwind UI

In modern web development, leveraging component libraries can significantly accelerate the development process, ensure design consistency, and enhance user experience. Below is a curated list of notable component libraries tailored for React, Next.js, and Tailwind CSS, highlighting their features and applications.

ibus causes terminator to insert duplicate characters in broadcast panels. You could simply kill it with "ibus exit", but this this kills chat in zoom.
To fix this set the dbus session address to blank and launch terminator (Not sure how this works)
#create a back up of the symlink
mv /usr/bin/terminator /usr/bin/terminator.bak
# create a new wrapper program
vim /usr/bin/terminator
-------
#!/bin/bash
sh -c "DBUS_SESSION_BUS_ADDRESS='' /usr/share/terminator/terminator"
/*!
* Copyright (c) HANDSONCODE sp. z o. o.
*
* HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in
* Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number
* 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.
*
* This software is protected by applicable copyright laws, including international treaties, and dual-
* licensed - depending on whether your use for commercial purposes, meaning intended for or
* resulting in commercial advantage or monetary compensation, or not.
@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

Ref: Exclusive Q&A: John Carmack’s ‘Different Path’ to Artificial General Intelligence

"So I asked Ilya Sutskever, OpenAI’s chief scientist, for a reading list. He gave me a list of like 40 research papers and said, ‘If you really learn all of these, you’ll know 90% of what matters today.’ And I did. I plowed through all those things and it all started sorting out in my head."

Ref: https://x.com/ID_AA_Carmack/status/1622673143469858816

I rather expected @ilyasut to have made a public post by now after all the discussion of the AI reading list he gave me. A canonical list of references from a leading figure would be appreciated by many. I would be curious myself about what he would add from the last three years.

Papers

@NeoTheFox
NeoTheFox / compatdata.sh
Last active December 18, 2025 13:26
Link Steam's Proton prefixes by name for ease of use
#!/usr/bin/env bash
help() {
echo NAME
echo " compatdata.sh - create \"by-game\" symlink folder for every compatdata folder on this machine"
echo
echo SYNOPSIS
echo " compatdata.sh [-h] [-p]"
echo
echo OPTIONS
@rajibdpi
rajibdpi / Office 2019 Professional Plus Product Key
Last active December 18, 2025 13:25 — forked from moonsbtt/Office 2019 Professional Plus Product Key
Office 2019 Professional Plus Product Key
New Methiod to Activate Windows/MS Office 2010/2013/2016/2019
If you have already intalled MS Office Or Download from bellow link
Download setup file for MS Office Pro Plus 2019 https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img
Activate Windows / Office ?
📌PowerShell Method For Windows 8, 10, 11:
Click the Start Menu, type PowerShell, then open it.
Copy and paste the code below, then press enter.
irm https://get.activated.win | iex