Skip to content

Instantly share code, notes, and snippets.

@johnallen3d
johnallen3d / kitty.conf
Created August 11, 2022 15:26
Use NeoVim as the scrollback pager in Kitty terminal allowing for search, navigation and yanking
scrollback_pager bash -c "exec nvim 63<&0 0</dev/null -u NONE -c 'map <silent> q :qa!<CR>' -c 'set shell=bash scrollback=100000 termguicolors laststatus=0 clipboard+=unnamedplus' -c 'autocmd TermEnter * stopinsert' -c 'autocmd TermClose * call cursor(max([0,INPUT_LINE_NUMBER-1])+CURSOR_LINE, CURSOR_COLUMN)' -c 'terminal sed </dev/fd/63 -e \"s/'$'\x1b'']8;;file:[^\]*[\]//g\" && sleep 0.01 && printf \"'$'\x1b'']2;\"'"
@wagfim
wagfim / Main.java
Created October 17, 2019 22:28
Implementação de um jogo Sudoku em java
package br.edu.ifpr;
import java.util.Scanner;
/**
* @author Wagner Bonfim
*/
public class Main {
public static void main(String[] args) {
Scanner leitor = new Scanner(System.in);
int linha = -1, coluna = -1, numeroEscolhido = -1, nivelDificuldade = -1;
boolean keepAsking = true; //garante que os numeros digitados sejam válidos
@martinbutt
martinbutt / INSTALL.md
Created March 27, 2022 20:32
Install Express VPN on ARM64 Gemini PDA Debian 9 (Gemian Linux)

Configure system to allow installation of armhf (32-bit) packages

sudo dpkg --add-architecture armhf
sudo apt-get update

Change [arch=arm64] to [arch=arm64,armhf] in all locations

sudo vi /etc/apt/sources.list.d/multistrap-debian.list

Install the cross compatibility libraries

@chranderson
chranderson / nvmCommands.js
Last active August 24, 2025 23:17
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node
@cjdell
cjdell / TP-Link Tapo C110 OpenIPC.md
Last active August 24, 2025 23:13
TP-Link Tapo C110 OpenIPC
@fahdi
fahdi / .cursorrules.md
Last active August 24, 2025 23:08
AI Coding Guideline - Templates

Cursor Rules - Anti-Overengineering Guidelines

Note: After reading, remove CAREER IMPACT REMINDER as your AI won't need it :). Also, rename this file to cursorrules. I adeed .md extension so github renders it better as makrdown

🎯 MINIMAL CODE CHANGES PRINCIPLE

  • ALWAYS start with the simplest possible solution
  • NEVER create new files unless absolutely necessary
  • PREFER editing existing files over creating new ones
  • Question if you're solving the right problem before implementing
@tanishqsh
tanishqsh / airbnb_3d_icon_style.json
Created May 14, 2025 04:10
Airbnb 3D Icon Style Prompt
{
"art_style_profile": {
"style_name": "Modern Isometric 3D Icons – High-Fidelity",
"visual_elements": {
"shape_language": "Real objects reduced to smooth, softly-rounded forms with gentle bevels, yet retaining all signature sub-shapes (e.g., pasta strands individually twisted, grill marks precisely scored).",
"colors": {
"palette_strategy": {
"base_hue": "Use the object’s most iconic colour.",
"tone_triplet": "Three tones of that hue (Lightness ±18 %).",
"pop_accent": "One high-saturation complementary / triadic hue for fun highlights.",
i
me
my
myself
we
our
ours
ourselves
you
your
@Pulimet
Pulimet / AdbCommands
Last active August 24, 2025 22:58
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.