Skip to content

Instantly share code, notes, and snippets.

View swanmatch's full-sized avatar
💡
lighting in darkness

swanmatch swanmatch

💡
lighting in darkness
View GitHub Profile
@hasumikin
hasumikin / keymap.rb
Last active March 2, 2022 14:39
keymap.rb of Amatelus73
kbd = Keyboard.new
c1 = 29
c2 = 28
c3 = 27
c4 = 26
c5 = 22
c6 = 20
c7 = 23
c8 = 21
@hasumikin
hasumikin / keymap.rb
Last active April 8, 2021 11:11
PRK Firmware — A keyboard firmware with PicoRuby on Raspberry Pi Pico
# This example assumes to use "meishi2" which has 2x2 matrix circuit.
#
# If you use a larger one, let's say 40% keyboard, the code will look like:
# (Note that GPIO pin numbers in this example are written at random. They are fishy)
# ```
# kbd = Keyboard.new(
# [ 2, 3, 4, 5 ], # row0, row1,... respectively
# [ 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ] # col0, col1,... respectively
# )
# kbd.add_layer :default, [

BrownSugar Macro ビルドガイド

bs_macro

キット内容

  • PCB x1
  • トッププレート x1
  • ボトムプレート x1
  • OLED カバープレート x1
@permil
permil / config.h
Last active January 11, 2021 21:42
My Helix keymap
/*
This is the c configuration file for the keymap
Copyright 2012 Jun Wako <wakojun@gmail.com>
Copyright 2015 Jack Humbert
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
@suzuki-kei
suzuki-kei / jquery.post_link.js
Last active February 15, 2021 14:38
Ruby on Rails でリンクを POST で送信したい、パラメータは URL に含めずにリクエスト本文に含めたい、という方のための jQuery プラグインです。
/**
*
* リンククリック時に POST でリクエストするようにフックする.
*
* [使い方]
*
* HTML で以下のようにリンクを設定しているとする.
*
* <a href="..." class="post">...</a>
*