Skip to content

Instantly share code, notes, and snippets.

View joedf's full-sized avatar
🦝
Studying geology, materials, and hacking computers

Joe DF joedf

🦝
Studying geology, materials, and hacking computers
View GitHub Profile
@joedf
joedf / JavaScript GUI libraries.md
Created May 10, 2023 05:44 — forked from SMUsamaShah/List of JavaScript GUI libraries.md
dat.gui alternatives to create GUI from JavaScript object

JavaScript GUI libraries

These libraries can be used to quickly create a GUI for configureable parameters using sliders, checkboxes, colors pickers etc

  1. Tweakpane https://github.com/cocopon/tweakpane Demo: https://cocopon.github.io/tweakpane/
  2. control-panel https://github.com/freeman-lab/control-panel
  3. ControlKit https://github.com/automat/controlkit.js
  4. guify https://github.com/colejd/guify Main site is down, here is the demo https://jons.website/projects/guify/index
  5. oui https://github.com/wearekuva/oui
  6. Palette.js https://github.com/lehni/palette.js
@joedf
joedf / shc2.js
Last active November 30, 2021 04:27 — forked from remi/shc.js
Extract JSON object from https://smarthealth.cards QR code
// modified by joedf from https://gist.github.com/remi/e3aa2f78845ee13f706ed83aead5145f
// Extract JSON payload from SHC QR code (without any kind of private/public key verification)
// Credits + inspiration
// https://github.com/dvci/health-cards-walkthrough/blob/main/SMART%20Health%20Cards.ipynb
// Usage
// $ node shc2.js "shc:/01234569…"
const zlib = require("zlib");
@joedf
joedf / formatXML.js
Last active January 22, 2021 00:00 — forked from kurtsson/formatXML.js
formatXML.js (without jQuery, supports XML empty tags, optionally escape for HTML)
/* pretty-print / beautify XML strings
* Released under the MIT License (MIT)
* Copyright (c) 2021 Joe DF
*
* Modified from (Martin Kurtsson):
* https://gist.github.com/kurtsson/3f1c8efc0ccd549c9e31
*
* which is based on (Stuart Powers):
* https://gist.github.com/sente/1083506
*/
@joedf
joedf / Speech Recognition.ahk
Created February 22, 2019 15:47 — forked from Uberi/Speech Recognition.ahk
Speech recognition with Microsoft's SAPI. A simple SpeechRecognizer class provides a quick and easy way to use speech recognition in your scripts. Inspired by some [prototype code](http://www.autohotkey.com/board/topic/24490-voice-recognition-com/) made a long time ago.
#NoEnv
#Warn All
#Warn LocalSameAsGlobal, Off
#Persistent
/*
Speech Recognition
==================
A class providing access to Microsoft's SAPI. Requires the SAPI SDK.
@joedf
joedf / ahkrules_v1.10.txt
Last active January 14, 2023 16:40 — forked from Masonjar13/ahkrules_v1.05.txt
[WIP] AHK Forum rules
AutoHotkey Community Rules
Version v1.10, January 14th, 2023
General Policy and Clauses
----------------------------------------------
A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155
B. NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum."
C. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread.
D. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account.
E. If you feel that you have been unfairly moderated then contact the Moderator concerned or
@joedf
joedf / ahkrules_v1.05.txt
Last active October 27, 2017 21:09 — forked from nnnik/ahkrules_v1.04.txt
[WIP] AHK Forum rules
AutoHotkey Community Rules
Version [INSERT VERSION], [INSERT DATE]
General Policy and Clauses
----------------------------------------------
A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155
B. NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum."
C. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread.
D. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account.
E. If you feel that you have been unfairly moderated then contact the Moderator concerned or an
@joedf
joedf / ahkrules_v1.04.txt
Last active October 27, 2017 04:58
[WIP] AHK Forum rules
AutoHotkey Community Rules
Version [INSERT VERSION], [INSERT DATE]
General Policy and Clauses
----------------------------------------------
A. FORUM TOS: https://autohotkey.com/boards/viewtopic.php?f=2&t=29155
NOTE: "This list is non-exhaustive - the Moderating team reserves the right to close any thread that they feel is contrary to the ethos of the forum."
B. The Moderation team will do their best to act in a fair and reasonable manner. Sanctions will only be applied as a last resort and any action taken will be explained in the relevant thread.
C. If moderation action is taken, you will need to acknowledge this through a dialog or you will be unable to post further in the forum. Please note that this dialog is not an agreement that the warning was justified - it is only there so that members are aware that moderation action has been taken and that they may have certain restrictions applied to their account.
D. If you feel that you have been unfairly moderated then contact the Moderator concerned or an ad
@joedf
joedf / DarkMonokai.qss
Created July 10, 2016 15:25 — forked from Zren/DarkMonokai.qss
Dark Monokai - Quassel Theme (qss)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@joedf
joedf / .htaccess
Created October 23, 2015 05:36 — forked from MicahChalmer/.htaccess
Scripts to set up Ruby 1.9.3 on a DreamHost shared hosting account via rbenv and ruby-build, and run a Rack app with it via FastCGI.
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
</IfModule>
Options +FollowSymLinks +ExecCGI
RewriteEngine On
@joedf
joedf / IPC.ahk
Last active August 29, 2015 14:14 — forked from Lexikos/IPC.ahk
/* Title: IPC
*Inter-process Communication*.
*/
/*
Function: Send
Send the message to another process (receiver).
Parameters:
PidOrName - Process name or ID