Skip to content

Instantly share code, notes, and snippets.

View mmattbtw's full-sized avatar
💿

matt morris mmattbtw

💿
View GitHub Profile
// TODO: make `pages` optional and measure the div when unspecified, this will
// allow more normal document flow and make it easier to do both mobile and
// desktop.
import {
createContext,
useCallback,
useContext,
useEffect,
useMemo,
useRef,
@chuckxD
chuckxD / __HEY.md
Last active August 24, 2024 03:48
ffz/bttv known API end-points quick list
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active September 23, 2024 11:50
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! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@dotStart
dotStart / MinecraftService.md
Last active August 31, 2024 17:41
Systemd services for Minecraft Servers

Minecraft systemd Services

This gist contains service descriptors which may be used to automatically start and re-start Minecraft servers using systemd. This allows proper control of your server startup on modern Linux distributions and will automatically manage all required tasks on startup for you.

Requirements