Skip to content

Instantly share code, notes, and snippets.

View glongman's full-sized avatar

Geoff Longman glongman

View GitHub Profile
@glongman
glongman / gfx2gf
Last active August 29, 2015 14:06
Bash Version of Game Frame script
#!/usr/bin/env bash
# gfx2gf.bat v1.5 (20140823)
# by Jeremy Williams
#
# This batch file converts graphics for Game Frame compatibility (www.ledseq.com).
# *** You must have ImageMagick installed for it to run (www.imagemagick.org) ***
# Passed graphic files will be stretched, resized, & resampled if larger than 16x16. If
# the file is an animated GIF, a filmstrip graphic will be generated along with
# a CONFIG.INI using a "hold" value (framerate) equal to the first frame of the
# animation. Usually this works well, but you may still need to adjust the hold
@glongman
glongman / gist:72884af5edebdfe5bec1
Last active September 21, 2015 13:37
Broadcast ssh login to Production into Slack
  1. create a slack webhook integration - copy the webhook url
  2. add following to top of ~/.ssh/config
Host *
  PermitLocalCommand yes
  1. add LocalCommand to host entry
Host production.example.com
 User ubuntu