Skip to content

Instantly share code, notes, and snippets.

@CircuitSetup
CircuitSetup / printer.cfg
Created June 27, 2021 12:34
CR-30 Config
# This file contains pin mappings for the Creality CR-30 PrintMill. To
# use this config, during "make menuconfig" select the STM32F103 with
# a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
import json
import pcbnew
with open('out.json') as file:
points = json.load(file)
print("load {} points from json".format(len(points)))
modules = pcbnew.GetBoard().GetModules()
for m in modules:
if "SW_MX" in m.GetReference():
@nillpo
nillpo / 109KeyJP.kbl
Created March 7, 2019 00:33
Switch Hitter用のJIS109キーボード用レイアウト
109 Key JP
R1, 0x01, "Esc", "Esc", 1
R1, BL, "", "", 1
R1, 0x3B, "F1", "F1", 1
R1, 0x3C, "F2", "F2", 1
R1, 0x3D, "F3", "F3", 1
R1, 0x3E, "F4", "F4", 1
R1, BL, "", "", 0.5
R1, 0x3F, "F5", "F5", 1
@adeonhy
adeonhy / clickpost_from_booth.rb
Created December 24, 2018 06:06
BOOTHの注文データからクリックポストの印字データにするやつ
require 'csv'
CLICKPOST_HEADER = %w(お届け先郵便番号 お届け先氏名 お届け先敬称 お届け先住所1行目 お届け先住所2行目 お届け先住所3行目 お届け先住所4行目 内容品)
booth_order_csv_path = ARGV.shift
booth_order_csv = CSV.read(booth_order_csv_path, 'r:BOM|UTF-8', headers: true)
click_post_data = booth_order_csv.map do |row|
[
row['郵便番号'],
@nooges
nooges / VIA Porting Info.md
Last active November 17, 2022 15:57
Info on adding VIA Configurator support to a board using QMK

Making a board compatible with VIA Configurator

💥NOTE💥: Don't do this yet, all of this stuff is still 🚑💣BLEEDING EDGE💣🚑, and you will 🔪cut yourself🔪 badly if you choose to do it. Please wait for 🗿Wilba's QMK code to be refactored prior to pushing anything to QMK, as we don't want to end up with a bunch of different forks of the code.

So you've seen VIA Configurator in action, and you want to get this magic supported for your board?

There's two main steps:

  1. Add dynamic keymap support to keyboard in QMK
  2. Add layout to VIA
[
{
"backcolor": "#ffffff"
},
[
{
"y": 1.5,
"c": "#222222",
"t": "#222222",
"a": 6,
import sys
def generate_footprint(size, isPCB, hasLED, isReversible):
unit = f"{size:.2f}"
mount = "PCB" if isPCB else "Plate"
# header
body = f'(module SW_Cherry_MX1A_{unit}u_{mount}{"_LED" if hasLED else ""}{"_Reversible" if isReversible else ""} (layer F.Cu) (tedit 5BB19F47)\n'
body += f' (descr "Cherry MX keyswitch, MX1A, {unit}u, {mount} mount, http://cherryamericas.com/wp-body/uploads/2014/12/mx_cat.pdf")\n'
body += f' (tags "cherry mx keyswitch MX1A {unit}u {mount}{" Reversible" if isReversible else ""}")\n'
@voluntas
voluntas / open_momo.rst
Last active March 1, 2024 13:51
OpenMomo プロジェクト
@voluntas
voluntas / death_march.md
Last active July 1, 2024 01:31
デスマーチが起きる理由 - 3つの指標

デスマーチが起きる理由 - 3つの指標

著者: 青い鴉(ぶるくろ)さん @bluecrow2

これは結城浩さんの運用されていた YukiWiki に当時 Coffee 様 (青い鴉(ぶるくろ)さん)がかかれていた文章です。 ただ 2018 年 3 月 7 日に YukiWiki が運用停止したため消えてしまいました。その記事のバックアップです。

今は 404 ですが、もともとの記事の URL は http://www.hyuki.com/yukiwiki/wiki.cgi?%A5%C7%A5%B9%A5%DE%A1%BC%A5%C1%A4%AC%B5%AF%A4%AD%A4%EB%CD%FD%CD%B3 になります。

昔、自分がとても感銘を受けた文章なので、このまま読めなくなるのはとてももったいないと思い、バックアップとして公開しています。

@smison
smison / schedule.md
Last active September 30, 2017 10:21
締切があった方が集中できるのでつけているスケジュールメモ

10月

  • コミティア122用中編1本

9月

  • 3~4pの短編2本
  • 10~25ページの短編1本
  • 末日に翌月のスケジュールを調整

8月

  • 3~4p程度の短編2本