Skip to content

Instantly share code, notes, and snippets.

View kejjang's full-sized avatar
🐱
🐱🐱🐱🐱🐱

Kej kejjang

🐱
🐱🐱🐱🐱🐱
View GitHub Profile
@kejjang
kejjang / install.md
Created May 10, 2016 02:52 — forked from hlb/Brewfile
clean install

System Preferences

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12

# Set a blazingly fast keyboard repeat rate
# default.custom.yaml
# save it to:
# ~/.config/ibus/rime (linux)
# ~/Library/Rime (macos)
# %APPDATA%\Rime (windows)
patch:
schema_list:
- schema: luna_pinyin # 朙月拼音
- schema: luna_pinyin_simp # 朙月拼音 简化字模式
@kejjang
kejjang / robot.js
Created December 7, 2012 08:17 — forked from yuyi/robot.js
OPENROBOT
function Robot(robot) {}
// well, we need to do something...
// whenever our robot is idle, this method gets called.
Robot.prototype.onIdle = function(ev) {
var robot;
robot = ev.robot;
robot.ahead(150);
robot.rotateCannon(360);
robot.back(100);
@kejjang
kejjang / robot.js
Created December 7, 2012 03:10 — forked from jaskolek/robot.js
xxxxx
var robots = new Array();
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
/*
Robot.prototype.start = function( ev ){