Skip to content

Instantly share code, notes, and snippets.

View Zachpocalypse's full-sized avatar

Zach Zachpocalypse

View GitHub Profile
@Zachpocalypse
Zachpocalypse / Emacs_starter.pl
Created July 12, 2021 10:15 — forked from railwaycat/Emacs_starter.pl
Start Emacs.app from CLI
#!/usr/bin/perl
# Emacs starter for Emacs mac port
# Thanks to Aquamacs Project and David Reitter
my $args = "";
my $tmpfiles = "";
for my $f (@ARGV) {
@Zachpocalypse
Zachpocalypse / gist:9fea0a0554e32322e01387ea6593d2f3
Created February 2, 2021 13:14 — forked from benoitsan/gist:6278485
Export to Devonthink from Prizmo
-- Export to Devonthink without extra OCR within Devonthink (Script written by Benjamin Zeiss)
on run argv
if (count of argv) is greater than 0 then
repeat with theItem in argv
tell application id "com.devon-technologies.thinkpro2" to launch
try
set thePath to theItem as text
tell application id "com.devon-technologies.thinkpro2"
set theRecord to import thePath to incoming group
end tell

Keybase proof

I hereby claim:

  • I am Zachpocalypse on github.
  • I am zachpocalypse (https://keybase.io/zachpocalypse) on keybase.
  • I have a public key whose fingerprint is 511B D718 FEE8 6993 8C7A F823 A9BF 01D0 84C8 FFEA

To claim this, I am signing this object:

#!/bin/sh
git config --add gitflow.feature.finish.keepremote true
git config --add gitflow.hotfix.finish.keepremote true
git config --add gitflow.release.finish.keepremote true
@Zachpocalypse
Zachpocalypse / gist:33fd788842c34933f7ff955636143dca
Created October 2, 2020 16:11 — forked from gnachman/gist:4cbe6743baa7fe07536b
Script to use Alfred with nightly build of iTerm2
on write_to_file(this_data, target_file, append_data)
try
set the target_file to the target_file as string
set the open_target_file to open for access file target_file with write permission
if append_data is false then set eof of the open_target_file to 0
write this_data to the open_target_file starting at eof
close access the open_target_file
return true
on error
try