Skip to content

Instantly share code, notes, and snippets.

View sstallion's full-sized avatar

Steven Stallion sstallion

  • Sony Interactive Entertainment
  • St. Louis, USA
View GitHub Profile
@sstallion
sstallion / fishtank.ino
Last active February 1, 2024 04:08
Arduino Sketch for an Aquarium Light in Home Assistant
#include <Arduino.h>
#include <SPI.h>
#include <WiFiNINA.h>
#include <ArduinoHA.h>
namespace {
constexpr auto WIFI_SSID = "<SSID>";
constexpr auto WIFI_PASS = "<PASSWORD>";
@sstallion
sstallion / Makefile
Created March 20, 2022 18:15
LaTeX Makefile
# Copyright (C) 2022 Steven Stallion <sstallion@gmail.com>
#
# This work is licensed under a Creative Commons Attribution 4.0
# International License.
#
# You should have received a copy of the license along with this
# work. If not, see <http://creativecommons.org/licenses/by/4.0/>.
LATEXMK = latexmk
LATEXMKFLAGS = -xelatex -use-make
@sstallion
sstallion / Makefile
Last active October 11, 2017 21:46
# Copyright (c) 2017 Steven Stallion
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
@sstallion
sstallion / convert-bgrt.sh
Last active May 20, 2024 00:44
Convert UEFI BGRT image
#!/bin/sh -e
# convert-bgrt.sh - convert UEFI BGRT image
BGRT_DIR=/sys/firmware/acpi/bgrt
if [ ! -d $BGRT_DIR ]; then
echo "BGRT not found" >&2
exit 1
fi
@sstallion
sstallion / lvimrc
Last active November 25, 2016 22:09
Local vim configuration to override default indentation
" lvimrc - local vim configuration
" Default Indentation
autocmd FileType * setlocal noexpandtab shiftwidth=8 softtabstop=8