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
[Obsidian]
definition-foreground = #678CB1
error-foreground = #FF0000
string-background = #293134
keyword-foreground = #93C763
normal-foreground = #E0E2E4
comment-background = #293134
hit-foreground = #E0E2E4
builtin-background = #293134
stdout-foreground = #678CB1
@joedf
joedf / GDI.ahk
Last active August 29, 2015 14:13 — forked from G33kDude/GDI.ahk
class GDI
{
__New(hWnd, CliWidth=0, CliHeight=0)
{
if !(CliWidth && CliHeight)
{
VarSetCapacity(Rect, 16, 0)
DllCall("GetClientRect", "Ptr", hWnd, "Ptr", &Rect)
CliWidth := NumGet(Rect, 8, "Int")
CliHeight := NumGet(Rect, 12, "Int")
@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
@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 / DarkMonokai.qss
Created July 10, 2016 15:25 — forked from Zren/DarkMonokai.qss
Dark Monokai - Quassel Theme (qss)
/**
** ____ _ ___ ___ _ _
** | _ \ | | | \/ | | | (_)
** | | \ |__ _ _ __| | __ | . . | ___ _ __ ___ | | __ __ _ _
** | | | | _` | '__| |/ / | |\/| |/ _ \| '_ \ / _ \| |/ // _` | |
** | |_/ /(_| | | | < | | | | (_) | | | | (_) | <| (_| | |
** |____/\__,_|_| |_|\_\ \_| |_/\___/|_| |_|\___/|_|\_\\__,_|_|
**
** Quassel Theme
**
@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 / 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.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 / 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 / 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
*/