I hereby claim:
- I am aalvarado on github.
- I am adantj (https://keybase.io/adantj) on keybase.
- I have a public key ASDVzoFdsJZ2XrWVJCP6piQo_J9C7xCAufnOoltiXhkpawo
To claim this, I am signing this object:
alias ack='rg --color always --no-block-buffered -n -i' | |
alias acs='apt-cache search' | |
alias bd='. bd -s' | |
alias gb='git branch' | |
alias gca='git add . && git commit --amend -C HEAD && git push -f' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gl=" git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
alias gp='git push -u' | |
alias gpu='git push -u' |
set -g update-environment -r | |
# set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/' | |
set-environment -g 'SSH_AUTH_SOCK' ~/.ssh/ssh_auth_sock | |
#set -g default-terminal "tmux-256color" | |
# set -g default-terminal "screen-256color" | |
set -ga terminal-overrides ",xterm-256color:Tc" | |
set -g prefix M-p | |
# split panes using | and - | |
bind | split-window -h -c "#{pane_current_path}" |
I hereby claim:
To claim this, I am signing this object:
use std::fmt; | |
#[derive(Debug)] | |
struct CircularQueue<T> { | |
max: usize, | |
list: Vec<T>, | |
} | |
impl <T> CircularQueue<T> where T: std::string::ToString { | |
pub fn new(max: usize) -> CircularQueue<T> { |
1 |
{ | |
"title": "Escape enhancements", | |
"rules": [ | |
{ | |
"description": "Escape toggles capslock if enabled", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", |
before_filter :find_position, only: [:show, :destroy, :edit] | |
def destroy | |
if @position.destroy | |
flash[:success] = t('labels.success') | |
else | |
flash[:error] = t('labels.error') | |
end | |
redirect_to positions_path | |
end |
%s/\(:\)\(\S\+\)\s\+=>/\2:/ |