Skip to content

Instantly share code, notes, and snippets.

View jagipson's full-sized avatar

Jeffrey Gipson jagipson

View GitHub Profile
@eddiewebb
eddiewebb / readme.md
Last active June 24, 2024 02:21
Hugo JS Searching with Fuse.js
@sebz
sebz / grunt-hugo-lunrjs.md
Last active June 28, 2024 18:41
hugo + gruntjs + lunrjs = <3 search
@jagipson
jagipson / fix_yum_list.awk
Last active December 15, 2015 13:59
Unmuttles (regularififies) yum list output (or anything that wrongly splits columns over multiple rows.
#!/bin/awk
# usage: yum list | ./fix_yum_list.awk
function reform(l) {
match(l, /^([^[:space:]]+)[[:space:]]+([^[:space:]]+)[[:space:]]+([^[:space:]].*$)/, f)
return f[1] "\t" f[2] "\t" f[3]
}
/^Installed Packages$/ { disp="installed"; next }
/^Available Packages$/ { disp="available"; next }
@jagipson
jagipson / backup_prep.sh
Created May 31, 2012 15:54
Git repo prepare for backups and restore
#!/bin/bash
# 05/26/2012 jag
# COMPONENT_NAME: backup_prep.sh
#
# ORIGIN: Jeffrey Gipson
#
# Personal Proprietary
# (C) COPYRIGHT 2012 Jeffrey Gipson
# Unpublished work - All Rights Reserved
#
@kaleb
kaleb / aliases
Created October 15, 2011 15:51
Gmail on Mutt
#~/.mutt/aliases
alias nick Nicholas Levandoski <nick.levandoski@auglug.org>
alias tim Timothy Pitt <timothy.pitt@auglug.org>
alias steven Steven Jackson <sjackson@auglug.org>
alias kaleb Kaleb Hornsby <kaleb.hornsby@auglug.org>
alias alug-admin nick, tim, steven
anonymous
anonymous / gist:1070359
Created July 7, 2011 19:41
< foo.in cat \
| cmd1 \
| cmd2 \
| cmd3 \
> foo.out
# Set the basic credencials
#
set imap_user= 'gmailUser@gmail.com'
set imap_pass= 'password'
set hostname = "gmail.com"
set realname = "gmailUser"
# Set GMAIL specific folders likem sent mail, drafts, All mail
set spoolfile = "imaps://imap.gmail.com/INBOX"
set folder = "imaps://imap.gmail.com/"