Skip to content

Instantly share code, notes, and snippets.

View allaryin's full-sized avatar

Ammon Lauritzen allaryin

  • Austin, TX
View GitHub Profile
@allaryin
allaryin / gist:b8f4b1d6e19ec7e5100d4881fae910a1
Last active April 22, 2020 07:12
Rimworld 1.1 Medieval Magical Modded - Modlist
These are all of the mods currently loaded in my RW 1.1 livestream series - in order.
Harmony
Startup Impact
Mod Manager
Modlist
Core
Royalty
@allaryin
allaryin / gist:9c27fc235daf2f32b5621f43a7ac9e7c
Created September 6, 2019 17:43
space engineers bootstrap (modded)
Splitsie is an Aussie youtuber responsible for much of the decent quality Space
Engineers content on YouTube. As part of this, he's done a lot of tutorials.
The most relevant to new players are available at:
* https://www.youtube.com/watch?v=kL8XQ1Avz-0&list=PLfMGCUepUcNzLePdu3dZfMTLfWq1bclUK
Unfortunately, these videos only consider a vanilla game start, so assume things
like the base game planets and drop pods.
Because the modding community is so strong for this game, we play modded - and
this can complicate the process of bootstrapping and learning the game.
@allaryin
allaryin / gist:28e62f3c2608c9d74a65d792c9076508
Created August 16, 2019 17:05
pseudocode algorithm for ship autopilot in a vacuum
const (
stopped_velocity = 0.5m/s
cruise_velocity = 75km/s
safe_distance = 500m
)
drift_to(dest) {
ship.heading = angle_to(dest)
ship.dampeners = off
@allaryin
allaryin / wk.asm
Last active August 24, 2018 21:57
exapunks bus controller
...
... grab list of block pairs to read/write then return and repl the kids
...
mark chunk_copier
make
note X = read, T = write
copy x f
copy t f
seek -9999
@allaryin
allaryin / modlist.md
Last active April 23, 2018 01:56
steel-walrus-modlist

MCUpdater ServerPack: http://files.mcupdater.com/steel_walrus/ServerPack.xml (NB: There is some minor overlap between pack and optionals pack at present, so if installing, make sure not to select as optionals anything included in the main pack itself)

Major Mods

  • Advanced Generators
    • Pressure Pipes
  • Advanced Rocketry
  • Animania
  • Astral Sorcery
@allaryin
allaryin / forwardize.sh
Created April 24, 2017 17:08
Run a daemonized process in the "foreground", sort of
#!/bin/sh
#
# I found the original version of this on stackexchange but forget where.
#
set -eu
pidfile="$1"
cmdline="$2"
@allaryin
allaryin / scan-new-disk.sh
Created April 20, 2017 16:18
Checks for newly attached drives and initializes them for LVM.
#!/bin/sh
for SCSI_HOST in /sys/class/scsi_host/*
do
echo '- - -' > ${SCSI_HOST}/scan
done
DRIVES=`dmesg | grep 'unknown partition table' | awk '{print $2}' | awk -F':' '{print $1}' | uniq`
for DRIVE in ${DRIVES}
### Keybase proof
I hereby claim:
* I am allaryin on github.
* I am allaryin (https://keybase.io/allaryin) on keybase.
* I have a public key ASCihCdyna0H9mUuSVSulec2w3MCj3rU1f17tcifWDEfAgo
To claim this, I am signing this object:
@allaryin
allaryin / launch_v2.kos
Created February 14, 2017 08:35
kOS Launch Script
//////////
// This script will attempt to launch a ship into a stable (equatorial) orbit.
// It started life as the sample launch script from the wiki, but has since
// evolved into something a bit more useful.
//
// It is assumed that any stages are fair game for getting to orbit and that
// there is a single radially mounted SRB stage at the initial launch that
// overlaps with the main liquid engine(s).
//
// - al [2/14/2017]
@allaryin
allaryin / description.md
Last active February 6, 2017 04:54
Allaryin's Rimworld Modlist - a16

The mod collection is available on Steam at http://steamcommunity.com/sharedfiles/filedetails/?id=841353149.

A16 is in full swing with a rich assortment of mods finally available, so it's time to put together an interesting pack. This set of mods is pretty extensive so it might be a bit overwhelming and will definitely clutter your tech tree. But I like it, it feels like a good balance.

Mods marked with a (-) make the game tangibly easier (or at least more accessible). Mods with (+) have the potential to make the game significantly more difficult.

(!) HugsLib - Important library used by many a16 mods, load this first.

Fluffy's Mods