Skip to content

Instantly share code, notes, and snippets.

View takkanm's full-sized avatar

Mitsutaka Mimura takkanm

  • Tokyo, Japan
View GitHub Profile

このドキュメントは古いです。最新のPRKの実装については公式Wikiをご覧ください

keymap.rbのPRKからの変更点・追加点

  • kbd.define_mode_keyではなくvia.define_mode_keyを使う(引数は同一)
  • kbd.start!の前にkbd.append viaする
    • kbd.append viaしなければVIA機能のないPRKとして使えます
    • kbd.append viaしていなくてもRemapにデバイスが表示されますが、仕様です。
  • :defaultレイヤーはVIAのレイヤー0で上書きされる
  • layer_count * rows_size * cols_sizeは240を上回ってはいけない(メモリが不足して動かなくなる)
@mtei
mtei / helix_keyboard_build_tool_memo.md
Last active August 24, 2023 08:19
キーボード自作、特に Helix キーボードキットの製作に最低必要な工具のメモ
@nobu
nobu / extmk.rab
Created September 10, 2016 04:18
= extmk
: author
中田伸悦
= 拡張ライブラリ
@voluntas
voluntas / react.rst
Last active May 25, 2022 11:57
React コトハジメ

React コトハジメ

日時

2017-01-02

@voluntas

バージョン

2.1.0

URL

https://voluntas.githu.io/

突っ込みは Twitter @voluntas まで。

@yymm
yymm / want_to_ergodox.md
Last active May 27, 2020 00:44
Ergodox買おうの会

この記事のあの画像を見てビビッと来てしまったので, 周りにいる人とErgodoxの購入検討をはじめました(随時更新)

購入できるところ

➜ FalbaTech

ErgoDox - FalbaTech

選んでいくスタイル。

@mochiz
mochiz / gist:4736183
Last active April 16, 2023 03:56
rbenvとruby-buildでRuby環境を最新に保つ

rbenvとruby-buildでRuby環境を最新に保つ

更新日:2014/11/19

rbenv, ruby-buildを更新

$ cd ~/.rbenv
$ git pull origin master
$ cd ~/.rbenv/plugins/ruby-build
$ git pull origin master
@practicingruby
practicingruby / mrdi.md
Created December 19, 2012 22:29
Models, Roles, Decorators, and Interactions -- A modest proposal for a toned done version of DCI that isn't as janky as Concerns.

Models, Roles, Decorators, and Interactions

A modest alternative to DCI that might be worth further thought

One of the problems with advancing the discussion on DCI is that we lack a comparable alternative pattern that has the same goals, but favors a low ceremony approach. The closest thing we have to that is Rails concerns, but they are more like distant relatives of the DCI concepts rather than first cousins, and that makes comparisions between the two approaches not especially fruitful.

I am considering the idea of experimenting with my own paradigm that captures the intent and purity of DCI, but with the convenience of concerns. Please note that this is just the starting point of a conversation, it is NOT a promise of comercially available cold fusion or a cure for cancer. It's just a gist with an idea on it I'd like to hear your thoughts on.

What if we had a top-level topology that was split into Models, **Rol

require 'foreman/engine/cli'
procfile = File.expand_path('../../Procfile', __FILE__)
envfile = File.expand_path('../../.env', __FILE__)
foreman = Foreman::Engine::CLI.new
foreman.load_procfile(procfile)
foreman.load_env(envfile) if File.exist? envfile
RSpec.configure do |config|
@seki
seki / drip_actor.rb
Created November 8, 2012 12:35
simple actor
require 'drip'
module Actor
class Ether
def initialize
@drip = Drip.new(nil)
Thread.current['channel'] = create_channel
end
def create_channel
@rosylilly
rosylilly / gist:3401612
Created August 20, 2012 06:40
先輩と覚える HTTP ステータスコード

先輩に学ぶ HTTP Status Code

超雑にまとめました。修正してください。

登場人物

  • アプリケーション先輩: いつも忙しい。横に広がるのが得意(デブじゃない)。
  • 後輩: 頼んでばっかしで役に立たない。
  • サーバー先輩: アプリケーション先輩と仲がいい。Unix Socket でつながるくらい仲良し。
  • プロクシ先輩: アプリケーション先輩とかサーバー先輩と後輩の間を取り持って代わりに伝えたりしてくれる。たまに勝手にレスポンスを書き換える。