Skip to content

Instantly share code, notes, and snippets.

View seanbiganski's full-sized avatar

Sean Biganski seanbiganski

View GitHub Profile
@seanbiganski
seanbiganski / CopyMediaFromSD.applescript
Created July 5, 2026 21:23
Copy Images from SD (or any folder) onto this compiled app. It recursively copies every photo and video into the script's path
-- CopyImagesFromSD — drag an SD card (or any folder) onto this app.
-- It recursively copies every photo and video into a new timestamped
-- folder next to this app. Duplicate filenames are kept (renamed _01,
-- _02, ...) so nothing is overwritten. The source card is only ever
-- read, never modified or deleted.
on run
display dialog "Drag an SD card or folder onto this app's icon to copy its photos and videos." buttons {"OK"} default button "OK" with icon note
end run
@seanbiganski
seanbiganski / dictionary words
Last active March 17, 2022 19:24
dictionary
10th
1st
2nd
3rd
4th
5th
6th
7th
8th
9th

Ruby Program: Unique Four-Letter Sequences from a Dictionary

Objective

Write a Ruby program that extracts unique four-letter sequences from words in a dictionary file.

Requirements

  • The program must generate two output files:
    • sequences.txt: Contains four-letter sequences that appear in exactly one word.
    • words.txt: Lists the corresponding word for each sequence, in the same order.
  • Sequences are case-insensitive.