Skip to content

Instantly share code, notes, and snippets.

View skarfacegc's full-sized avatar
💭
slowly working on Gue

Andrew Williams skarfacegc

💭
slowly working on Gue
View GitHub Profile
@skarfacegc
skarfacegc / gist:2856422
Created June 2, 2012 03:38
imagemagick slugs
Curved Reflection (http://www.imagemagick.org/Usage/advanced/#reflections)
convert pokemon.gif -alpha on -virtual-pixel transparent \
\( +clone -flip -channel A -evaluate multiply .35 +channel \) -append \
+distort Barrel '0,0,0,1 0,0,-.35,1.5 32,32' \
-gravity North -crop 100x100+0-5\! \
-background black -compose Over -flatten reflect_3Darc.png
@skarfacegc
skarfacegc / doTween.pl
Created April 29, 2012 18:39
Handles tweening images when you've got too many to do at once
#!/opt/local/bin/perl
#
# Handles tweening via imagemagick
#
use Data::Dumper;
my @files = <*>;
my $work_queue = [];
my $i = 0;
my $k = 0;
@skarfacegc
skarfacegc / moomDev.applescript
Last active December 19, 2020 18:39
tell Moom to load a specific arrangement

I've moved to using slate rather than moom

I like to have certain window layouts for different tasks. when I'm coding I like it setup one way, email is another, etc. Being able to swap to these layouts with launchbar is cool.

I'm sure it works in butler, qsb, and quicksilver as well, just havent tested

Make the above into applescript save to Application Support/Launchbar/Actions