Skip to content

Instantly share code, notes, and snippets.

@Fuzzwah
Fuzzwah / mermaid_test.md
Last active October 13, 2023 04:28
mermaid_test.md
graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;
@Fuzzwah
Fuzzwah / index.html
Created February 4, 2023 00:24
Responsive Table (with Bootstrap)
<table class="table table-xs-responsive table-hover" summary="An example of a responsive table using Bootstrap breakpoints." aria-role="table">
<h1 class="text-center">Responsive Table</h1>
<caption class="text-center">Rather than using the overflow feature of the built in Bootstrap <code>.table-responsive</code>, this option will stack each cell at the set breakpoint.</caption>
<thead>
<tr>
<th>Entry Header 1</th>
<th>Entry Header 2</th>
<th>Entry Header 3</th>
<th>Entry Header 4</th>
</tr>
@Fuzzwah
Fuzzwah / index.html
Created February 3, 2023 23:19
Really Responsive Tables using CSS Flexbox (complex)
<div class="container-fluid" style="margin-top: 10px">
<div class="table-row header">
<div class="column index">#</div>
<div class="wrapper attributes">
<div class="wrapper title-comment-module-reporter">
<div class="wrapper title-comment">
<div class="column title">Title</div>
<div class="column comment">Comment</div>
</div>
<div class="wrapper module-reporter">
@Fuzzwah
Fuzzwah / github-discord-webhook.md
Created May 17, 2021 21:38
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! discord-webhook

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings settings
@Fuzzwah
Fuzzwah / Sleeping_Gods-1st_Printing_Errata_FAQ_Tips.md
Created March 3, 2021 19:49
Sleeping Gods - 1st Printing Errata, FAQ, and Survival Tips

Sleeping Gods

1st Printing Errata, FAQ, and Survival Tips

Version 1.1

Sleeping Gods is designed to be challenging. Normal mode can be quite difficult, especially for your first campaign. For a slightly easier campaign, apply the following rules:

• When starting easy mode, begin with 20 XP, 20 extra starting coins, +1 meat, +1 grain, and +1 vegetables. You may spend this XP as soon as you perform a Visit a Port action.

• When your crew reaches 0 health, do the following (in addition to the standard instructions): gain 5 XP, remove all status effects, gain 7 coins, and gain 8 command.

@Fuzzwah
Fuzzwah / fish-build-install.sh
Created August 21, 2020 02:13 — forked from AFRUITPIE/fish-build-install.sh
Install Fish Shell 3+ on Raspberry Pi
#!/bin/bash
# This is a quick installer
# script I made to build and install the latest version of
# fish on my Raspberry Pi.
#
# Use at your own risk as I have made no effort to make
# this install safe!
set -e
name count free
Watkins Glen International 217 false
Circuit de Spa-Francorchamps 198 false
Road America 172 false
Autodromo Nazionale Monza 161 false
WeatherTech Raceway at Laguna Seca 158 true
Okayama International Circuit 154 true
Lime Rock Park 149 true
Sebring International Raceway 149 false
SELECT  
  DISTINCT event_result.club,  
  driver_counts.driver_count  
FROM event_result   
JOIN (  
  SELECT distinct_drivers.club,   
  COUNT(1) AS driver_count  
 FROM ( 

Keybase proof

I hereby claim:

  • I am fuzzwah on github.
  • I am fuzzwah (https://keybase.io/fuzzwah) on keybase.
  • I have a public key whose fingerprint is B308 A3D6 D11F A1BB 542F D41B 1DD1 7F28 5634 AB1E

To claim this, I am signing this object:

@Fuzzwah
Fuzzwah / ip_check.sh
Last active November 19, 2015 04:35
Notify My Android on IP Change
#!/bin/bash
OLD_IP='cat ip.txt'
NEW_IP=$(/sbin/ifconfig wlan2 | awk 'match($0,/addr:[0-9\.]+/) {print substr($0,RSTART+5,RLENGTH-5)}')
if [ $NEW_IP != $OLD_IP ]; then
nma_cli -A <NMA API KEY HERE> notify -a "Wicking Digital Signage" -e "IP Change" -m "New IP: $NEW_IP"
fi