This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Helix-mode keybindings for Ghostty. | |
| # | |
| # Adapted from vim.ghostty https://gist.github.com/mitchellh/1c5be5c083a2315f22f1cb8f239e9dcd | |
| # Note: We're missing a number of actions to produce a better vim experience. | |
| # This is what is possible today! But we plan on adding more actions to make | |
| # this even better in the future. | |
| # Entry point | |
| keybind = alt+v=activate_key_table:helix |
This article explains how to install the Microsoft C/C++ compiler (cl.exe) with a minimal setup, without installing the full Visual Studio IDE. This is useful when you only need the build tools, for example on a CI server or in a lightweight development environment.
First, download the Visual Studio Build Tools installer from the following link:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // go away copilot and other ai slop machines | |
| "accessibility.verboseChatProgressUpdates": false, | |
| "accessibility.verbosity.inlineChat": false, | |
| "accessibility.verbosity.panelChat": false, | |
| "accessibility.verbosity.terminalChatOutput": false, | |
| "ansible.lightspeed.suggestions.waitWindow": 360000, | |
| "chat.agent.codeBlockProgress": false, | |
| "chat.agent.enabled": false, | |
| "chat.agent.maxRequests": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| counter=1 | |
| echo "demo: error state" | |
| while [ $counter -le 25 ]; do | |
| printf "\x1b]9;4;2;${counter}\x07" | |
| ((counter++)) | |
| sleep 0.1 | |
| done | |
| echo "demo: normal state" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
| "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,01,00,3a,00,00,00,00,00 | |
| ; Data = 00000000 00000000 0200000000 01003A00 00000000 | |
| ; 0x00000000 Header: Version. Set to all zeroes. | |
| ; 0x00000000 Header: Flags. Set to all zeroes. | |
| ; 0x00000002 Two entries in the map (including null entry). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useState, useEffect, useRef } from "react"; | |
| function SimpleRecordButton() { | |
| const [isRecording, setIsRecording] = useState(false); | |
| const [audioStream, setAudioStream] = useState(null); | |
| const [mediaRecorder, setMediaRecorder] = useState(null); | |
| const [audioBlob, setAudioBlob] = useState(null); | |
| const [recordingTime, setRecordingTime] = useState(0); | |
| const timerRef = useRef(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Initialize-VS { | |
| $vsPath = & (Join-Path ${env:ProgramFiles(x86)} "\Microsoft Visual Studio\Installer\vswhere.exe") -property installationpath | |
| if ($vsPath -is [array]) { | |
| $last = $vsPath | Select -Last 1 | |
| Import-Module (Join-Path $last "Common7\Tools\Microsoft.VisualStudio.DevShell.dll") | |
| Enter-VsDevShell -VsInstallPath $last -SkipAutomaticLocation -DevCmdArguments '-arch=amd64 -no_logo' | |
| } else{ | |
| Import-Module (Join-Path $vsPath "Common7\Tools\Microsoft.VisualStudio.DevShell.dll") | |
| Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation -DevCmdArguments '-arch=amd64 -no_logo' |
It's replaced by this new guide which supports both 64-bit and 32-bit libraries.
This guide will show you how to download, compile and install the nvidia-legacy-340xx-driver on Debian 12. Some people install the driver directly from sid but this will mix packages from both stable and unstable which may create issues. It's recommended to update and upgrade your system before you start.
NewerOlder
