Skip to content

Instantly share code, notes, and snippets.

View mbround18's full-sized avatar
😍
Designing

Michael mbround18

😍
Designing
View GitHub Profile
@font-face {
font-family: 'OpenDyslexic 3';
src: url('https://wiki.boop.ninja/fonts/opendyslexic3-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
html, html * {
font-family: 'OpenDyslexic 3', sans-serif !important;
}
@mbround18
mbround18 / Makefile
Last active October 9, 2023 05:09
Fast build on windows for WSL2
# Following this tutorial: https://markentier.tech/posts/2022/01/speedy-rust-builds-under-wsl2/
# This makes developing on windows significantly easier for rust projects!!
SOURCE_DIR = $(PWD)
# `notdir` returns the part after the last `/`
# so if the source was "/some/nested/project", only "project" remains
BUILD_DIR = ~/tmp/$(notdir $(SOURCE_DIR))
wsl.build: wsl.sync
cd $(BUILD_DIR) && cargo build
@mbround18
mbround18 / setup.sh
Last active September 13, 2023 06:48
#!/usr/bin/env sh
ANSIBLE_USER="ansible"
ANSIBLE_PUB_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMGGvMjigF1/Sm30OWfP/Fsh3jYyO26HRd2anCooO68K ansible"
GITHUB_GIST_URL="https://gist.githubusercontent.com/mbround18/f49c06af1fe4c6c420f5b99cbc5deb6f/raw/57b1280bea0a2086a8806b923c611f2577b50563/pub-key"
# Install Deps
apt-get update && apt-get install -y curl wget gosu openssh-server openssh-client sudo
# Initialize ssh

Github Action/Workflow Updater

Requirements

  • yq
  • gh
  • gh logged into github

Usage

@mbround18
mbround18 / README.md
Created February 27, 2023 08:10
Syncthing Ignore

Syncthing Ignore List

Just a handy syncthing ignore list.

@mbround18
mbround18 / README.md
Last active October 30, 2022 21:34
Video Background Script for dev.to Article
@mbround18
mbround18 / garth.events.json
Last active August 6, 2022 06:41
D&D character Garth, Timeline
// 890 AN Birth of Garth
// 997 AN Current Garth
[
{
"time": 890,
"title": "What am I?",
"event": "Garth found himself? herself? floating within the cosmos roaming freely before feeling a tug at the strings of their soul."
},
{
# Node
(?d)node_modules
(?d)dist
(?d).yarn/cache
(?d).yarn/unplugged
(?d).bundle
# Universal
@mbround18
mbround18 / Makefile.toml
Last active February 3, 2022 22:34
Makefile for Cargo Make to refresh my installed crates
[tasks.refresh]
script = '''
#!/bin/bash
# declare an array called array and define 3 vales
array=( ripgrep fd-find wasm-pack trunk starship fnm cargo-make )
for i in "${array[@]}"
do
cargo install "$i"
done
'''
@mbround18
mbround18 / tribes-of-midgard.ahk
Created August 30, 2021 04:14
AutoHotKey for Tribes of Midgard pickup key
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Pause, On
Loop
{