Skip to content

Instantly share code, notes, and snippets.

gzmask gzmask

Block or report user

Report or block gzmask

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gzmask
gzmask / surfingkey.js
Last active Aug 11, 2017
surfingkeys config
View surfingkey.js
//gzmask's remapping of the keys
unmap('B');
unmap('F');
cmap('<Ctrl-j>', '<Tab>');
cmap('<Ctrl-k>', '<Shift-Tab>');
map('J', 'E');
map('K', 'R');
@gzmask
gzmask / .tmux.conf
Last active Jun 14, 2017
.tmux.conf
View .tmux.conf
set -g base-index 1
set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
set -g mouse on
set -sg escape-time 0
setw -g mode-keys vi
setw -g monitor-activity on
unbind-key j
View .bash_profile
# source this file in .bashrc
# shortcuts
alias v=/usr/bin/nvim
#alias e="/usr/local/bin/emacs-25.1 --insecure&"
function e () { /usr/local/bin/emacs-25.1 --insecure "$1" & }
alias w="cmd.exe /c start"
alias gui-start="/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl&"
alias gui-stop="cmd.exe /c taskkill /IM vcxsrv.exe /F"
View gzmask-genesis.json
{
"alloc": {
"gzmask2cbd23b783741e8d7fcf51e459b4gzmask": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
},
"gzmask9544a56c530d868e4bfbacb17231gzmask": {
"balance": "1606938044258990275541962092341162602522202993782792835301376"
}
},
"nonce": "0x000000000000002a",
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
View .ideavimrc
set gdefault
" colorscheme
set cuc cul
hi CursorColumn ctermbg=17
hi CursorLine cterm=none ctermbg=17
if has("gui_running")
colorscheme torte
set transparency=15
endif
@gzmask
gzmask / change.clj
Last active Aug 29, 2015
Counting Change Combinations codewars
View change.clj
(ns count-change)
(defn cart [colls]
(if (empty? colls)
'(())
(for [x (first colls)
more (cart (rest colls))]
(cons x more))))
(defn noseq? [x]
@gzmask
gzmask / nim.clj
Last active Aug 29, 2015
nim codewar
View nim.clj
(ns nim)
(defn nim-sum [state]
(apply bit-xor state))
(defn next-move [[i k] state]
(cond
(<= (inc k) (nth state i)) [i (inc k)]
(and (< (inc i) (count state)) (not= (nth state (inc i)) 0)) [(inc i) 1]
(>= (inc i) (dec (count state))) nil
View user.behaviors
;; Your file has been converted to the new flat format.
;; Conversion does not preserve comments or indentation.
;; File is backed up at C:\Users\lei203\AppData\Local\LightTable\User\user.behaviors.bak
[
[:app :lt.objs.style/set-skin "dark"]
[:app :lt.objs.sidebar.workspace/workspace.open-on-start]
[:app :lt.plugins.vim/map-keys {",L" ":ltexec paredit.shrink.right",
",l" ":ltexec paredit.grow.right",
"gT" ":ltexec tabs.prev",
"gt" ":ltexec tabs.next",
View cVimrc
" Settings
set nohub
set nosmoothscroll
set noautofocus "The opposite of autofocus; this setting stops sites from focusing on an input box when they load
set typelinkhints
let searchlimit = 10
let scrollstep = 100
let barposition = "bottom"
let hintcharacters = "asdfgqwertzxcvb1234"
let completionengines = ["google", "amazon", "imdb", "dogpile"]
You can’t perform that action at this time.