I hereby claim:
- I am ipetepete on github.
- I am ipetepete (https://keybase.io/ipetepete) on keybase.
- I have a public key ASDtZP4pzKmKABdPUxvc3K6f4PLc_0g-CHZmH0qXeVv4dAo
To claim this, I am signing this object:
# Install reattach-to-user-namespace from | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
set -g default-terminal "screen-256color" | |
set-window-option -g mode-keys vi | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R |
/* | |
I've wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace | |
so it's better encapsulated. Now you can have multiple random number generators | |
and they won't stomp all over eachother's state. | |
If you want to use this as a substitute for Math.random(), use the random() | |
method like so: | |
var m = new MersenneTwister(); |
#pragma strict | |
public class English { | |
public static var lang : Hashtable = { | |
// General | |
"game_name": "My Awesome Game" | |
// Menus | |
, "new_game" : "New Game" | |
, "save_game" : "Save Game" |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Plus Volume Up</name> | |
<identifier>private.plus_and_fn_volume_up</identifier> | |
<autogen> | |
--KeyToConsumer-- | |
KeyCode::EQUAL, ModifierFlag::CONTROL_L, | |
ConsumerKeyCode::VOLUME_UP | |
</autogen> |
Leimi's note: removed lots of stuff from the original gist of scottjl, (thanks to him by the way!), as in the end some wasn't useful for me. If you are intestered, go check the gist revisions.
The KC60 is kinda like a premade GH60 that was first sold on Massdrop during summer 2015.
It runs on TMK firmware, or something based on it at least (not sure this is the real source for the keyboard but it seems it is), which means it's heavily programmable.
There is a GUI tool (the source of this tool seems to be here) and a command-line tool to ease up the process of programming the board.
**Go check this great article on Key
#define Pr .299 | |
#define Pg .587 | |
#define Pb .114 | |
// public-domain function by Darel Rex Finley | |
// | |
// The passed-in RGB values can be on any desired scale, such as 0 to |
#define Pr .299 | |
#define Pg .587 | |
#define Pb .114 | |
// public domain function by Darel Rex Finley, 2006 | |
// | |
// This function expects the passed-in values to be on a scale | |
// of 0 to 1, and uses that same scale for the return values. |
# Install reattach-to-user-namespace from | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# remap prefix | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix |
;; -*- mode: emacs-lisp -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
;; gist id: | |
;; 55f9cbea0b36c26b2d14a5153f08fea1 | |
(defun dotspacemacs/layers () | |
"Configuration Layers declaration. | |
You should not put any user code in this function besides modifying the variable |