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 / trace.txt
Created October 6, 2023 20:23
Todo provider 2.0.4 w/ Terrraform 1.6.0
TF_LOG=trace terraform plan
2023-10-06T13:20:29.911-0700 [INFO] Terraform version: 1.6.0
2023-10-06T13:20:29.912-0700 [DEBUG] using github.com/hashicorp/go-tfe v1.34.0
2023-10-06T13:20:29.912-0700 [DEBUG] using github.com/hashicorp/hcl/v2 v2.18.0
2023-10-06T13:20:29.912-0700 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2023-10-06T13:20:29.912-0700 [DEBUG] using github.com/zclconf/go-cty v1.14.0
2023-10-06T13:20:29.912-0700 [INFO] Go runtime version: go1.21.1
2023-10-06T13:20:29.912-0700 [INFO] CLI args: []string{"terraform", "plan"}
2023-10-06T13:20:29.912-0700 [TRACE] Stdout is a terminal of width 157
2023-10-06T13:20:29.912-0700 [TRACE] Stderr is a terminal of width 157
@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:

@spkane
spkane / 0_cron-workflow.yaml
Last active July 27, 2021 21:03
Argo Workflows - Lunch & Learn
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name: hello-world
spec:
schedule: "* * * * *"
timezone: "America/Los_Angeles"
startingDeadlineSeconds: 0
concurrencyPolicy: "Replace"
successfulJobsHistoryLimit: 4
@spkane
spkane / relevant-filesystem-listing.txt
Last active October 13, 2020 00:07
terraform 0.13 provider version search bug
/Users/skane/.terraform.d/plugins/terraform.spkane.org:
total 0
drwxr-xr-x 3 skane staff 96 Oct 10 21:49 ./
drwxr-x--- 5 skane staff 160 Oct 10 21:49 ../
drwxr-xr-x 3 skane staff 96 Oct 10 21:49 spkane/
/Users/skane/.terraform.d/plugins/terraform.spkane.org/spkane:
total 0
drwxr-xr-x 3 skane staff 96 Oct 10 21:49 ./
drwxr-xr-x 3 skane staff 96 Oct 10 21:49 ../
require 'rubygems'
require 'rbvmomi'
require 'pp'
require 'alchemist'
hyper = 'thunder03'
vim = RbVmomi::VIM.connect :host => hyper, :user => 'root', :password => 'secret', :insecure => true
#
# get current time
@spkane
spkane / drac.rb
Created February 19, 2014 01:56 — forked from frimik/drac.rb
# Fact: racadm
#
# Purpose: Return the racadm information from Dell hardware
#
# Resolution:
# On Linux, queries racadm getconfig -g for each group in the query hash
#
# Author: Mikael Fridh <mfridh@marinsoftware.com>
#
# TODO Instead of sweeping output once per key, sweep once and
-- 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:
@spkane
spkane / ree-1.8.7-2012.02
Last active December 31, 2015 23:19
Ruby 2.0.0-p247 - OpenSSL Patch for CentOS 6.5
require_gcc
install_package "ruby-enterprise-1.8.7-2012.02" "file:///tmp/build/ruby-enterprise-openssl-1.8.7-2012.02.tar.gz" ree_installer