Skip to content

Instantly share code, notes, and snippets.

@sedme0
sedme0 / config.el
Created October 19, 2021 17:32
Doom Emacs configuration
;; I'm only uploading this because I had to rebuild it after I accidentally deleted it.
;; This isn't my whole config.el file, just the stuff after the defaults (hence "END OF DEFAULTS")
;; This isn't the most well-commented or anything, it's only public because I don't see any
;; reason for it not to be, if I'm going to be uploading it anyway. Also, why doesn't github support 5-space indents?
;; 5 spaces is obviously the best number of spaces for an indent, if you're going to use them instead of tabs.
;; And tabs are obviously superior to spaces for indentation.
;; ----------------------------------------------------------------------------
;; | END OF DEFAULTS |
;; ----------------------------------------------------------------------------
@sedme0
sedme0 / mm1.sh
Created March 31, 2021 01:31
Might and Magic 1 Linux Install Script
#!/bin/sh
# Last modified 3/30/2020
# Prerequisites: wget winetricks lgogdownloader 7z libreoffice (used to convert WhereAreWe documentation to pdf)
# Wine doesn't need to be installed because it will automatically download the required version
# Usage: Put this script in an empty folder and run it. Running it once will install the game, after that running it will run the game.
WINEBASE=$HOME/.PlayOnLinux/wine/linux-amd64/5.11
export WINE=$WINEBASE/bin/wine
export WINESERVER=$WINEBASE/bin/wineserver
WINEDOWNLOAD=https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-amd64/PlayOnLinux-wine-5.11-upstream-linux-amd64.tar.gz
export WINEPREFIX=$PWD/wineprefix
@sedme0
sedme0 / helloWorld.multi.sh
Created February 26, 2021 02:20
Multi-language Hello World
#!/bin/sh
# -----------------------------------------------------------------------------
# The purpose of this project is to create a Hello World program where each
# letter of "Hello world" is provided by a different programming language. This
# is achieved by writing a function in each language that returns the proper
# character. Each function is also to emit output of its own to stdout stating
# that it is responsible for its assigned letter. I have chosen to write the
# entire project in a shell script because I thought it would be interesting,
# which also happens to be the reason I chose to write the project at all.
# -----------------------------------------------------------------------------