Skip to content

Instantly share code, notes, and snippets.

View ahsanu123's full-sized avatar
๐Ÿ’€

Ahsanu Amala ahsanu123

๐Ÿ’€
View GitHub Profile
@xheisenbugx
xheisenbugx / keymap.json
Last active June 20, 2026 05:14
zed keymap.json with same lazyvim keymaps
[
// Terminal
{
"context": "Workspace",
"bindings": {
"ctrl-/": "workspace::ToggleBottomDock"
}
},
// Window's navigation
{
@mikeslattery
mikeslattery / .idea-lazy.vim
Last active May 22, 2026 13:01
LazyVim mappings for Jetbrains IDEs
" ~/.idea-lazy.vim
" LazyVim mappings for Jetbrains IDEs
" Required plugins. https://plugins.jetbrains.com/bundles/7-ideavim-bundle
" IDEAVim
" Which-Key
" IdeaVim-Sneak
" To install, add this to the top of your ~/.ideavimrc:
@eisraeli
eisraeli / gist:1365984a6977135c9e39595523643841
Created February 13, 2023 21:05 — forked from taniwallach/gist:f1f6c81ce19b7d68f74d4b71d1db57a2
Installing HP-107w on Linux (using HP's unified linux driver ULDLINUX_V1.00.39_00.12.zip)
HP provides a downloadable "driver" for Linux for the HP 107w printer but there are NO reasonable install instructions provided, and following the "obvious" install process did not get the printer working.
The closest I found to HP install instuctions once I knew more is https://support.hp.com/in-en/document/c05588857
Since I found this annoying and wasted more time on getting this printer working under Linux, I'm sharing a summary of what did work (on Debian 10).
1. Download the driver file from https://support.hp.com/us-en/drivers/selfservice/hp-laser-100-printer-series/24494339/model/24494342 from under the "Basic Drivers" menu for when the OS is set to Linux.
The current version now is: "HP Laser 100 and HP Color Laser 150 Printer series Print Driver V1.00.39:00.12 5.9 MB Mar 20, 2019"
@StephanTLavavej
StephanTLavavej / videos.md
Last active April 18, 2026 07:40
C++ Videos by Stephan T. Lavavej

C9 Lectures

BoostCon (now known as C++Now)

  • 2009: I am not aware of recordings for my talks "C++0x Support in Visual Studio 2010" and "The Parallel Patterns Library in Visual Studio 2010". You aren't missing anything, though.
  • 2010: "Data Structure Visualizers in Visual Studio 2010" is irrelevant as the old visualizer machinery has been completely replaced by something much better (and documented).
  • 2012: Regex In C++11 And Boost
@robotdad
robotdad / vs_cpp_winget.md
Last active May 9, 2026 11:03
Installing VS C++ workloads with winget

This is a short outline of how to install the C++ workload with Visual Studio or the build tools using winget.

To find VS releases with winget use search. winget search buildtools

The install command will install the VS installer with the core of the selected product installed. That isn't much. So if you use either of these commands to insll VS or the build tools you will need to launch the VS installer afterwards and select the relevant C++ workloads you need.

winget install Microsoft.VisualStudio.2022.BuildTools

winget install Microsoft.VisualStudio.2022.Community
@ullaskunder3
ullaskunder3 / README.md
Last active October 24, 2025 11:09
Detail flutter installation without android studio just using cmdline-tools, git, cmd
@weshouman
weshouman / Makefile
Last active June 8, 2024 18:57
arduino cli tips
VERSION=0.14.0
SPECIFIER=arduino-cli_${VERSION}_Linux_64bit
BINDIR=/usr/local/bin/
# - Avoid redownloading
# - Avoid overwriting
# - To overwrite, use make uninstall
install:
TMPDIR=/tmp/$(SPECIFIER) && \
mkdir -p $${TMPDIR} && \
@ugursogukpinar
ugursogukpinar / sway-config
Last active August 8, 2025 03:57
wf-recorder for swaywm
set $screenrecorder `bash $HOME/scripts/toggle-screen-recorder.sh`
bindsym --to-code $mod+Shift+R exec $screenrecorder
@fredsiika
fredsiika / sass-cheatsheet.md
Last active November 19, 2025 15:47
A high-level Sass (SCSS) cheatsheet for the most important functionality features of Sass.
@sepfy
sepfy / LibusbSerial.py
Created August 21, 2019 06:20
pyusb (libusb) connect to CDC device
import usb.core
import usb.util
import usb.control
import time
import array
import json
# Test by Arduino
VENDER = 0x2341