Skip to content

Instantly share code, notes, and snippets.

View NoraCodes's full-sized avatar
🦀
rusting away

Leonora Tindall NoraCodes

🦀
rusting away
View GitHub Profile
{
"origin":["#noggin##slog#"],
"noggin":["head","beezer","noggin","skull","scalp","pate","poll","noodle","block","noddle","mazard","occiput","dome","nut","helm","brain","mind","cerebrum","psyche","mind","bean","conk"],
"slog":["heck","slog","bleh","bleck","eep","geez","gah","derp","tosh","feh","ack","bah","rat","nuts","crud","rust","rant","twit","herd","goof","gape","flout","foist","flop","lord","load","fake","sack","zooks","knocker","zoinks","wit","tastic","end","botch","chump","scut","dish","plod","drudge","grub","moil"]
}
@tbutts
tbutts / tmux-migrate-options.py
Last active February 29, 2024 08:11
For tmux configs: Merge deprecated/removed -fg, -bg, and -attr options into the -style option
#!/usr/bin/env python
# vim: set fileencoding=utf-8
#
# USAGE:
# Back up your tmux old config, run the script and redirect stdout to your conf
# file. Example:
#
# $ cp ~/.tmux.conf ~/.tmux.conf.orig
# $ python ./tmux-migrate-options.py ~/.tmux.conf.orig > ~/.tmux.conf
#
@NoraCodes
NoraCodes / SCFAonLinux.md
Last active April 4, 2024 13:26
Supreme Commander: Forged Alliance with Steam on Linux with PlayOnLinux

This guide is out of date. Use https://github.com/FAForever/faf-linux instead.

Install PlayOnLinux with your package manager (i.e. sudo apt-get install playonlinux). Then, type playonlinux and wait for it to refresh its list.

Install Steam under PlayOnLinux. Once Steam is running, exit it, select its entry in PlayOnLinux, and select Configure.

I suggest using Wine 1.7.8-d3d doublebuffer

Now go to the "Install Components" section and install, in any order: d3dx9, directx9, dotnet40

@reecer
reecer / General Makefile
Last active November 28, 2022 19:28
A general makefile for general-purpose C projects.
CC=gcc
CCFLAGS=-Wall
LDFLAGS=
SOURCES=$(wildcard *.c)
OBJECTS=$(SOURCES:.c=.o)
TARGET=des
all: $(TARGET)
$(TARGET): $(OBJECTS)
@kbingham
kbingham / Makefile
Last active April 1, 2024 11:38
My Generic Makefile.Useful for creating a simple build for a single target from a set of c files.This could extended to provide support for other languages, or cross compilations.Let me know if you find this useful, or make any useful (generic) updates that are worth sharing.
# Kierans Generic Makefile
# www.kieranbingham.co.uk
# Default to build with multiple instances for speed
MAKEFLAGS =+ -j
# Beware, This will create this application
# binary based on the current directory name.
TARGET := $(shell basename `pwd`)