I hereby claim:
- I am Gimi on github.
- I am gimi (https://keybase.io/gimi) on keybase.
- I have a public key whose fingerprint is CEE0 4921 9D22 B667 BA0D 88B4 2E88 203B 8E03 1F35
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| set -g prefix C-x | |
| unbind C-b | |
| set -sg escape-time 1 | |
| setw -g mode-keys vi | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 |
| if | |
| [ -f "$rvm_path/scripts/rvm" ] | |
| then | |
| __env="$( "$rvm_path/bin/rvm" . do env --path )" | |
| if | |
| [ -n "$__env" ] && | |
| [ -s "$__env" ] | |
| then | |
| source "$__env" | |
| fi |
| " Vim color file | |
| " | |
| " Author: Tomas Restrepo <[email protected]> | |
| " | |
| " Note: Based on the monokai theme for textmate | |
| " by Wimer Hazenberg and its darker variant | |
| " by Hamish Stuart Macpherson | |
| " | |
| hi clear |
| require 'strscan' | |
| require 'forwardable' | |
| # Stupid JSON parser. Only handles well-formed JSON. | |
| # Otherwise, it may go into an endless loop. | |
| class Parser | |
| WSP = /\s+/ | |
| OBJ = /[{\[]/ | |
| NUM = /-?\d+(\.\d+)?([eE][+-]?\d+)?/ | |
| BOL = /(?:true|false)\b/ |
| Git.io.generate 'https://gist.github.com/gists/1355677' | |
| Git.io.generate 'https://github.com/gimi', 'gimi' | |
| Git.io.recognize 'http://git.io/gimi' |
Solarized themes (dark and light) for roxterm.
| # Author:: Mohammad A. Ali (mailto:[email protected]) | |
| # Copyright:: Copyright (c) 2008 eSpace, Inc. | |
| # License:: Distributes under the same terms as Ruby | |
| require 'fiber' | |
| class Fiber | |
| #Attribute Reference--Returns the value of a fiber-local variable, using | |
| #either a symbol or a string name. If the specified variable does not exist, |
| require 'dl' | |
| require 'fiddle' | |
| module FFI | |
| module Library | |
| def ffi_lib *libs | |
| libs.each { |lib| DL.dlopen lib } | |
| end | |
| def attach_function name, arg_types, return_type |
| object HighFunction { | |
| def foo(num : Int)(f : Int => Int) = f(num) | |
| } |