Skip to content

Instantly share code, notes, and snippets.

View ryodeushii's full-sized avatar
🇵🇱

Evgeny Kapusta ryodeushii

🇵🇱
  • Viessmann
  • Warsaw, Poland
  • 17:21 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ryodeushii on github.
  • I am isin (https://keybase.io/isin) on keybase.
  • I have a public key whose fingerprint is 1AC0 EAD2 C71C CE1A 3D73 682D 1980 E340 31D4 22D3

To claim this, I am signing this object:

@ryodeushii
ryodeushii / docker.md
Created November 15, 2018 09:09
Cleanup docker
docker system prune -a
@ryodeushii
ryodeushii / banner.schemas.ts
Created December 20, 2022 13:13
banner schemas bazar
import { z } from 'express-zod-api';
enum BannerSize {
SMALL = 'small',
LARGE = 'large',
}
enum BannerType {
CATEGORY = 'category',
SUBCATEGORY = 'subcategory',
@ryodeushii
ryodeushii / bash_oneliners.sh
Created April 11, 2023 10:11
bash snippets
# find PIDs by used port and kill
sudo lsof -i:8081 | awk '{print $2}' | awk '/[0-9]+/' | uniq -c | awk '{print $2}' | xargs kill -9
@ryodeushii
ryodeushii / kill_by_port.bash
Created October 8, 2023 00:10
Kill process holding port provided by argument, defaults to port 80
#!/bin/bash
PORT=:${1:-80}
echo "Searching for process listening on port $PORT to kill..."
PROCESS_PID=$(lsof -ti $PORT)
if [$PROCESS_PID -eq ""]
then
echo "Process helding port $PORT not found, exit"
exit 0
fi
echo "Found PID $PROCESS_PID, killing process"
@ryodeushii
ryodeushii / github-copilot-cli.md
Created November 16, 2023 13:37
GitHub Copilot CLI setup

install extension:

gh extension install github/gh-copilot

upgrade

gh extension upgrade gh-copilot
@ryodeushii
ryodeushii / alacritty.yml
Last active December 29, 2023 10:18
Alacritty yaml config file
font:
normal:
family: MonaspiceNe Nerd Font Mono
style: Regular
bold:
family: MonaspiceNe Nerd Font Mono
style: Bold
italic:
family: MonaspiceNe Nerd Font Mono
style: Italic
@ryodeushii
ryodeushii / KB-Buying-guide-EU.md
Created March 12, 2024 11:32 — forked from henfiber/KB-Buying-guide-EU.md
Buying keyboards and keyboard components from EU

Europe

  • SkinFlint : Price comparison site which has some nice filtering options per switch type etc. Searches for offers in UK, Germany, Poland and Austria
  • mykeyboard.eu : Keyboards, keycaps and accessories. Based in Belgium.
  • candykeys.com : European Store selling Vortex, Leopold, KBP, Anne Pro keyboards, keycap sets and components (ISO + ANSI). Based in Germany, ships to EU.
  • falba.tech : custom wooden bamboo cases, and some acrylic and carbon ones. Switch packs (65 browns at 48EUR). Other parts for the GH60, Atreus, ErgoDox. Also Microcontrollers, diodes, leds etc.
  • 42keebs.eu - Mostly PCBs, tools and accessories. Located in Czech Republic.
  • KEYGEM : Switches, Keycaps, lubes, cables, DIY kits and deskmats. Based in Germany, ships to the EU and worldwide.
  • [Eloquent Clicks - Custom Mechanical Keyboard Store](https://www.eloquen
diff --git a/keyboards/nuphy/gem80/ansi/info.json b/keyboards/nuphy/gem80/ansi/info.json
index 9eab852399..efa3a5452b 100644
--- a/keyboards/nuphy/gem80/ansi/info.json
+++ b/keyboards/nuphy/gem80/ansi/info.json
@@ -15,7 +15,8 @@
"command": false,
"nkro": true,
"key_lock": true,
- "rgb_matrix": true
+ "rgb_matrix": true,
diff --git a/keyboards/nuphy/gem80/ansi/config.h b/keyboards/nuphy/gem80/ansi/config.h
index 44567ceb6d..6164cb567c 100644
--- a/keyboards/nuphy/gem80/ansi/config.h
+++ b/keyboards/nuphy/gem80/ansi/config.h
@@ -88,3 +88,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEBOUNCE 5
// use dedicated timer for wait_us interrupts instead on ChibiOS defaulting to minimum 100us even if you sleep for 10us
#define WAIT_US_TIMER GPTD14
+// delay between HIGH/LOW states changes for matrix pins
+#define MATRIX_IO_DELAY 10 // default is 30us, approximate latency change is ~0.1ms +-0.02ms