Skip to content

Instantly share code, notes, and snippets.

@azjgard
azjgard / 3-tone-song-player.ino
Created January 12, 2022 03:41
3-Tone Song Player
const int BUZZ_PIN = 3;
const int NUM_LED_PINS = 4;
const int LED_PINS[NUM_LED_PINS] = {13, 13, 12, 10};
const int SONG_DELAY = 1000;
const int TONES[4] = { 400, 600, 800, 1000 };
const unsigned long BEAT_LENGTH = 90000;
const int BEAT_DELAY = 175;
@azjgard
azjgard / tmux-setup.sh
Created March 19, 2021 16:12
Tmux setup script
#!/bin/bash
###################################################
# Starts all project processes in individual tmux #
# windows; only useful for tmux users ;) #
###################################################
docker-compose up -d
./node_modules/.bin/wait-on http-get://localhost:8080
@azjgard
azjgard / happy-monday-xml-feeds.md
Created March 25, 2020 23:49
Documentation for job XML feeds provided to Happy Monday

Happy Monday XML Feed Template

Thank you for choosing to partner with us!

  • Our system will scrape your XML feed 3 times per day.
  • If a job is no longer available, please exclude it to have the job removed from our system the next time we scrape your feed.
  • If a new job is available, please include it to have the job added to our system the next time we scrape your feed.
  • All data for a given job should be included in a <job> tag, and all <job> tags should be the top-level children of a root-level <jobs> tag (see the example further down this page).

Required Fields