Skip to content

Instantly share code, notes, and snippets.

View spkane's full-sized avatar
👣
Dreaming of walking barefoot in the sand.

Sean P. Kane spkane

👣
Dreaming of walking barefoot in the sand.
View GitHub Profile
@spkane
spkane / sq2-vga-remake-steamdeck.md
Created February 14, 2024 15:42
Space Quest II - Deluxe VGA fan remake running natively on the Steam Deck

Space Quest II VGA Deluxe Remake for SteamDeck

I got the Linux build of the Space Quest II - Deluxe VGA fan remake working on the SteamDeck the other day and thought I would share what I had to do.

  • Download the newest Linux build (SQ2_V2_0_Linux.rar ) from https://infamousadventures.itch.io/space-quest-ii-vga-remake
  • Copy it over to your steam deck using something like scp.
  • These steps can be done via ssh or Desktop mode, among other ways,
  • Create a directory to store the game and cd into there. (e.g. cd ~/Games/misc)
  • Then unarchive the download with unrar x SQ2_V2_0_Linux.rar
@spkane
spkane / iterm2-reading-ruler.md
Last active November 30, 2022 03:18
Create a Reading Ruler from iTerm2 on macOS

Create a Reading Ruler from iTerm2 on macOS

These is the rough technique that I used to create a functional, multi-puspose reading ruler out of iTerm2. A video of the results can be found on YouTube.

  1. Install Iterm2
  2. Install Homberew
  • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Use homebrew to install GNU sleep, becuase this supports the infinity aergument, which BSD sleep does not. We will ue this to keep the ruler open idefintely.
  • brew install coreutils
  1. Launch iTerm2
@spkane
spkane / keybase.md
Created August 22, 2021 17:20
keybase.md

Keybase proof

I hereby claim:

  • I am spkane on github.
  • I am spkane (https://keybase.io/spkane) on keybase.
  • I have a public key ASAmrGsxvFvBGLpSqT51n8AaFXIM1oBJdmi3kBZxbMsTdQo

To claim this, I am signing this object:

-- Adapted from these sources:
-- http://peterdowns.com/posts/open-iterm-finder-service.html
-- https://gist.github.com/cowboy/905546
--
-- Modified to work with files as well, cd-ing to their container folder
on run {input, parameters}
tell application "Finder"
set my_file to first item of input
set filetype to (kind of (info for my_file))
-- Treats OS X applications as files. To treat them as folders, integrate this SO answer: