Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

Discover gists

@bramada
bramada /windows_activation.md
CreatedApril 15, 2024 04:56
Activate Windows for free

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replaceyour_license_key with following volumn license keys according to Windows Edition:

@palopezv
palopezv /dwm_config_pulseaudio.h
Last activeDecember 18, 2025 13:39— forked fromneuro-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: */
/*
YouobviouslyneedtheX11developmentpackagesinstalled,X11protoinparticular,but
hereisthelocationofthekeysymsheaderupstreamcopyifyoucan'tbother
usingthecontentsofyourownharddrive. ;-P
@Klerith
Klerith /testing-configuration.md
Last activeDecember 18, 2025 13:38
Configuración de Vitest + React Testing Library
  1. Vitest
npm install --save-dev vitest jsdom
  1. ReactTesting Library
@devinschumacher
devinschumacher /component-libs-shadcnui.md
Last activeDecember 18, 2025 13:34
The Best Components, Templates & Block Libraries for React, Next.js & Tailwind UI Built on ShadcnUI
titletags
The Best Component Libraries for React, Next.js & Tailwind UI
react
next.js
tailwindcss
ui components

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.zo.o.
*
*HANDSONTABLEisasoftwaredistributedbyHANDSONCODEsp.zo.o.,aPolishcorporationbasedin
*Gdynia,Poland,atAlejaZwyciestwa 96-98,registeredbytheDistrictCourtinGdanskundernumber
* 538651,EUtaxIDnumber: PL5862294002,sharecapital: PLN 62,800.00.
*
*Thissoftwareisprotectedbyapplicablecopyrightlaws,includinginternationaltreaties,anddual-
*licensed- depending on whether your use for commercial purposes,meaningintendedforor
*resultingincommercialadvantageormonetarycompensation,ornot.
@hellerbarde
hellerbarde /latency.markdown
CreatedMay 31, 2012 13:16— forked fromjboner/latency.txt
Latency numbers every programmer should know
L1 cache reference ......................... 0.5 nsBranch mispredict ............................ 5 nsL2 cache reference ........................... 7 nsMutex lock/unlock ........................... 25 nsMain memory reference ...................... 100 ns             Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µsSend 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µsSSD 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 activeDecember 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
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp