Skip to content

Instantly share code, notes, and snippets.

@kytrinyx
kytrinyx / open-recent-in-fission.scpt
Created Aug 15, 2020
AppleScript to open the most recent audio hijack recording in fission
View open-recent-in-fission.scpt
set sourceFolder to "Macintosh HD:Users:kytrinyx:Music:Audio Hijack" as alias
tell application "Finder"
sort (get files of sourceFolder) by creation date
-- This raises an error if the folder doesn't contain any files
set theFile to (item -1 of result) as alias
end tell
tell application "Fission" to open theFile
View octocat-loops-1.rb
require 'octokit'
def with_each(client, path)
response = client.agent.call(:get, URI::Parser.new.escape(path.to_s), nil, {})
response.data.each do |org|
yield org
end
last_response = response
while last_response.rels[:next] && client.rate_limit.remaining > 0
View keybase.md

Keybase proof

I hereby claim:

  • I am kytrinyx on github.
  • I am kytrinyx (https://keybase.io/kytrinyx) on keybase.
  • I have a public key whose fingerprint is DA73 C2E5 7286 5B6C 8A10 3A8B 6ACB DA21 E04C E307

To claim this, I am signing this object:

@kytrinyx
kytrinyx / README.md
Created Jan 8, 2013
Take a snapshot of yourself on every commit.
View README.md

Git Commit Snapshots

Snap a picture of yourself on every commit.

Probably Mac OS X only, I haven't looked into others.

$ brew install imagesnap
$ git config --global init.templatedir '~/.git_template'
$ chmod +x post-commit