Skip to content

Instantly share code, notes, and snippets.

View randywallace's full-sized avatar

Randy D. Wallace Jr. randywallace

View GitHub Profile
{
"diagnostic.virtualText": true,
"diagnostic.virtualTextPrefix": " ■ ",
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
}
@randywallace
randywallace / alacritty.yml
Created April 10, 2020 17:03
Alacritty Config
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# Act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -R
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# Act like GNU Screen
set termguicolors
set background=dark
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set nowrap
set autoindent
set encoding=utf-8
set number
provider "aws" {
alias = "requestor"
}
provider "aws" {
alias = "acceptor"
}
data "aws_caller_identity" "acceptor" {
provider = "aws.acceptor"
@randywallace
randywallace / .tmux.conf
Last active October 29, 2018 08:07
.tmux.conf with some fancy styling
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -R
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
unbind C-b
set -g prefix ^A
bind a send-prefix
# Postfix stuff
QUEUEID (?:[A-F0-9]+|NOQUEUE)
EMAILADDRESSPART [a-zA-Z0-9_.+-=:]+
EMAILADDRESS %{EMAILADDRESSPART:postfix_local}@%{EMAILADDRESSPART:postfix_remote}
RELAY (?:%{HOSTNAME:postfix_relayhost}(?:\[%{IP:postfix_relayip}\](?::[0-9]+(.[0-9]+)?)?)?)
#RELAY (?:%{HOSTNAME:postfix_relayhost}(?:\[%{IP:postfix_relayip}\](?:%{POSREAL:postfix_relayport})))
POSREAL [0-9]+(.[0-9]+)?
#DELAYS %{POSREAL:a}/%{POSREAL:b}/%{POSREAL:c}/%{POSREAL:d}
DELAYS (%{POSREAL}[/]*)+
DSN %{NONNEGINT}.%{NONNEGINT}.%{NONNEGINT}
@randywallace
randywallace / README.md
Last active December 24, 2015 11:09 — forked from proppy/README.md

docker.sh: a small interactive shell hack for docker

Usage: ./docker.sh [base-image-name]

Demo: http://ascii.io/a/5011