Skip to content

Instantly share code, notes, and snippets.

View DanielOaks's full-sized avatar

Daniel Oaks DanielOaks

View GitHub Profile
<!--
this helps me work out which numbers I should put in the effects column of an
XM file to make the chords I've just played. I keep it open on a separate
screen while I'm editing the file with milkytracker. whoo~
-->
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/webmidi"></script>
<script>
#! /bin/sh
# SMARTd discord notifier
export WEBHOOK_URL="https://discord.com/api/webhooks/YOUR_WEBHOOK_HERE"
export TMP_FILE=/tmp/smartd-discord
# assemble file
echo "**S.M.A.R.T. ERROR**" > $TMP_FILE
echo "> $SMARTD_MESSAGE" >> $TMP_FILE

Taking photos of your art

If you're trying to take photos of your art, there are a few things to do:

  1. Try to get the light as consistent as possible.
  2. Use your photo editing app to crop the picture nicely.
  3. Use your photo editing app to make the picture 'pop'.

Doing these will help your art look a lot cleaner.