Skip to content

Instantly share code, notes, and snippets.

Find 8 broad categories across the list of struggles faced by parents and caregivers of children with ADHD and or autism. Include a description for each category.
Each category should be in this format:
## Category Name
Short description of the struggles faced by parents and caregivers
List of Struggles:
- reel layout
- payline layouts
-
# lives with the python code:
/game_data/
/slots
shrek.json
@mostlygeek
mostlygeek / Makefile
Created October 12, 2023 22:23
Makefile for extract BC special needs data
#
# Statistics from data.gov.bc.ca for students with diverse needs
#
# - downloads the csv file
# - uses csvkit to create the extracted data files
#
INPUT = source.csv
OUTPUT_DIR = output
@mostlygeek
mostlygeek / main.go
Created March 20, 2023 18:54
golang SSE example generated GPT4
package main
/*
This was entirely generated by GPT4 with the prompt:
write me a simple golang server demonstrating server sent events (sse)
*/
import (
@mostlygeek
mostlygeek / gist:664bb0b4616c5f084f3dd9470536d0e3
Created January 13, 2022 20:03
All the monitor.{type} output in taskcluster
$ cd taskcluster
$ grep -ornE "monitor\.(emerg|alert|crit|err|warning|notice|info|debug)\(" services | awk -F ':' '{printf "%s:%s %s\n",$1,$2,$3}' | column -t | pbcopy
services/built-in-workers/src/TaskQueue.js:24 monitor.debug(
services/built-in-workers/src/TaskQueue.js:28 monitor.debug(
services/built-in-workers/src/TaskQueue.js:40 monitor.debug(
services/github/src/github-auth.js:26 monitor.debug(
services/github/src/github-auth.js:27 monitor.info(
services/github/src/github-auth.js:28 monitor.warning(
services/github/src/github-auth.js:29 monitor.err(
@mostlygeek
mostlygeek / cooler-bot.ino
Created January 2, 2022 23:51
Code for a little robot that open/closes a door in my AV console when it gets too hot inside.
#include <OneWire.h>
#include <DallasTemperature.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
// *** -= WIFI & Web =- **************************************
ESP8266WebServer server(80); // listen on port 80
// ***********************************************************
@mostlygeek
mostlygeek / .profile
Created August 14, 2021 17:02 — forked from bmhatfield/.profile
Automatic Git commit signing with GPG on OSX
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running.
# Add the following to your shell init to set up gpg-agent automatically for every shell
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
source ~/.gnupg/.gpg-agent-info
export GPG_AGENT_INFO
else
@mostlygeek
mostlygeek / customize-mx-master-ubuntu.md
Last active May 16, 2021 23:25 — forked from bogdanRada/customize-mx-master-ubuntu.md
Custom keymap for Logitech MX Master 2S mouse on Ubuntu

Notes for Ubuntu 21.04, getting the MX Master mouse to work.

  1. Ubuntu 21.04 uses Wayland by default. These instructions only work for x.org
  2. Getting Wayland to rebind mouse keys was confusing. Much easier to just use x.org and these instructions I found.

First, install Solaar to see the battery level on the taskbar

sudo apt-get install solaar
@mostlygeek
mostlygeek / jun-jul-aug.txt
Created August 18, 2020 00:47
Normandy experiments with JEXL in Jun, Jul, Aug 2020
Turned into new FilterObject: preset_choices=['pocket-1']
https://github.com/mozilla/normandy/pull/2250
==========================================================
> 2020-07-14 1011 multi-preference-experiment [(!("browser.newtabpage.enabled"|preferenceIsUserSet)||!("browser.startup.homepage"|preferenceIsUserSet))]
> 2020-06-02 975 multi-preference-experiment [(!("browser.newtabpage.enabled"|preferenceIsUserSet)||!("browser.startup.homepage"|preferenceIsUserSet))&&!("browser.newtabpage.activity-stream.showSearch"|preferenceIsUserSet)&&!("browser.newtabpage.activity-stream.feeds.topsites"|preferenceIsUserSet)&&!("browser.newtabpage.activity-stream.feeds.section.topstories"|preferenceIsUserSet)&&!("browser.newtabpage.activity-stream.feeds.section.highlights"|preferenceIsUserSet)&&!("browser.newtabpage.activity-stream.showSponsored"|preferenceIsUserSet)]
> 2020-06-02 976 multi-preference-experiment [(!("browser.newtabpage.enabled"|preferenceIsUserSet)||!("browser.startup.homepage"|preferenceIs
@mostlygeek
mostlygeek / 2020-07-01.txt
Last active July 1, 2020 19:27
tidy up recipes
source: https://github.com/mostlygeek/normandy-tools/tree/master/bin/show-changes
updated created days_ttl revs live? id type slug
------- ------- -------- ---- ----- -- ---- ----
2020-06-30 2020-06-30 0 1 true 1008 branched-addon-study bug-1649504-addon-google-accounts-login-check-v2-release-75-78
2020-06-30 2020-06-30 0 1 true 1006 preference-rollout bug-1622091-rollout-beta-rollout-of-samesite-lax-change-beta-79-81
2020-06-30 2020-06-23 7 3 true 997 multi-preference-experiment bug-1646068-pref-activity-stream-pocket-new-tab-dynamic-video-card-sm-beta-78-79
2020-06-30 2020-06-23 7 2 true 999 multi-preference-experiment bug-1646076-pref-activity-stream-pocket-new-tab-popular-topics-smoke--beta-78-79
2020-06-30 2020-06-23 7 2 true 998 multi-preference-experiment bug-1646718-pref-understand-retention-impact-of-pdf-unknown-conten