Skip to content

Instantly share code, notes, and snippets.

View szurcher's full-sized avatar

Stephen Zurcher szurcher

View GitHub Profile
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
#
# Install:
#
# tic xterm-256color-italic.terminfo
#
# Usage:
#
# export TERM=xterm-256color-italic
#
@szurcher
szurcher / centos7.json
Last active September 12, 2021 09:56
CentOS 7 Minimal kickstart file and Packer config.json for building a vagrant virtualbox base box with guest additions installed. Based off of https://www.centosblog.com/centos-7-minimal-kickstart-file/
{
"builders": [{
"type": "virtualbox-iso",
"guest_os_type": "RedHat_64",
"iso_url": "[YOUR ISO PATH HERE]",
"iso_checksum": "[YOUR ISO CHECKSUM HERE]",
"iso_checksum_type": "sha256",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "1500s",
@szurcher
szurcher / cygwin-gvim-shortcut.txt
Last active February 19, 2019 14:33
Windows shortcut command for Cygwin GVim
D:\cygwin64\bin\bash.exe -c "DISPLAY=:0 /usr/bin/nohup /usr/bin/gvim &"
Make sure X is already running and adjust DISPLAY accordingly.
@szurcher
szurcher / .fix_rvm
Last active December 25, 2021 19:36
How to set RVM GEM_HOME and GEM_PATH properly for BASH + TMUX
# be sure to change the values below correctly for your system!
export GEM_HOME="$HOME/.rvm/gems/ruby-2.4.1"
export GEM_PATH="$HOME/.rvm/gems/ruby-2.4.1:$HOME/.rvm/gems/ruby-2.4.1@global"