This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$TERM" = "xterm" ]; then | |
export TERM=xterm-256color | |
fi | |
alias tmux='tmux -2' # for 256color | |
alias tmux='tmux -u' # to get rid of unicode rendering problem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urxvt*foreground: rgb:a6/e2/2e | |
urxvt*background: rgb:08/08/08 | |
urxvt*termName: rxvt-256color | |
urxvt*font: xft:Source Code Pro for Powerline-10:hinting=True;antialias=True; | |
urxvt*boldFont: xft:Source Code Pro for Powerline-10:hinting=True;antialias=True; | |
urxvt.perl-ext-common: default,matcher,fullscreen | |
urxvt.url-launcher: /usr/bin/xdg-open | |
urxvt.matcher.button: 1 | |
urxvt.keysym.F11: perl:fullscreen:switch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xrdb .Xresources | |
.screenlayout/luthorlex.sh | |
compton --config ~/.config/compton.conf -b | |
xscreensaver -no-splash & | |
feh --randomize --bg-fill ~/Wallpapers | |
exec awesome |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
awful.rules = require("awful.rules") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") | |
-- Notification library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
DEVICE=/dev/xvdb | |
parted -s $DEVICE mklabel gpt | |
parted -s $DEVICE unit % | |
parted -s $DEVICE mkpart primary xfs 1 100% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wipe existing partition | |
sudo wipefs -a /dev/sdX | |
# Create PV | |
sudo pvcreate /dev/sdX | |
# Create VG | |
sudo vgcreate VolGroup00 /dev/sdX | |
# Create LV |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How many hours | |
DURATION_HRS=1 | |
let DURATION_MINS=$DURATION_HRS*60 | |
aws ec2 request-spot-instances --block-duration-minutes $DURATION_MINS --launch-specification file://bastion-spot-specs.json |