Skip to content

Instantly share code, notes, and snippets.

View kgust's full-sized avatar

Kevin Gustavson kgust

  • Vanderbilt University Medical Center
  • Nashville, Tennessee USA
View GitHub Profile
@kgust
kgust / PHPStorm-vs-Vim.md
Last active August 29, 2015 14:03
As an ardent Vim user, I'm exploring the features of PHPStorm.

Features that PHPStorm has that Vim doesn't.

  • Better support for finding things (files, classes, methods, symbols, etc.)
  • Basic Vi keybinding support (grafted on)
    • Vi binding does not support count (e.g. 2gT)
    • Vi binding does not support surround (Vim plugin style)
  • Powerful refactoring tools
  • In-page syntax support (show Javascript in an HTML page)

Features that Vim has that PHPStorm doesn't.

@kgust
kgust / Web Performance.md
Last active August 29, 2015 14:06 — forked from michalsen/gist:8625e0736d1c9fb4a564
Web Performance Tricks

How to become a decent photographer in five years

You're not gonna become a master in your spare time, but you can get decently good at photography in five years of dedicated but non-full-time practice. It's taken me about twice that to get decent, but I fucked around a lot along the way.

You don't need a ton of fancy equipment, but photography does require some gear. I'll limit the gear-buying here to once a year (not counting books).

@kgust
kgust / vim.svg
Last active August 29, 2015 14:11 — forked from sjl/vim.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kgust
kgust / tmux.md
Last active August 29, 2015 14:15 — forked from andreyvit/tmux.md

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@kgust
kgust / things I want to remember SN.txt
Created June 5, 2015 14:36
Things I want to remember from Straight North
Use `excel_cmp` to make sure that you don't have deprecations when changing an Excel report.
@kgust
kgust / caffeine-off.pdf
Last active August 29, 2015 14:24
My Hammerspoon configuration
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
function login_flip()
{
$("#loginform").css({"-webkit-transition":"-webkit-transform 0.9s","transition":" transform 0.9s"});
$("#loginform").css({"-moz-transform":"scaleX(1)","-o-transform":"scaleX(1)","-webkit-transform":"scaleX(1)","transform":"scaleX(1)"});
@kgust
kgust / LICENSE
Last active August 29, 2015 14:27 — forked from ourmaninamsterdam/LICENSE
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@kgust
kgust / fv-lug-august-2013.txt
Created August 20, 2013 02:15 — forked from pdp7/fv-lug-august-2013.txt
Fox Valley LUG 2013-August
TrueCrypt (the topic for this meeting)
http://www.truecrypt.org/
http://en.wikipedia.org/wiki/TrueCrypt
http://www.truecrypt.org/docs/plausible-deniability
Eric's slides on TrueCrypt (from presentation at the meeting):
https://www.dropbox.com/s/bitqurkz17mv9nf/TrueCrypt.odp
ArchLinux comparison of Disk Encryption packages:
https://wiki.archlinux.org/index.php/Disk_Encryption#Comparison_table