Skip to content

Instantly share code, notes, and snippets.

View ZGorlock's full-sized avatar

ZGorlock

View GitHub Profile
; http://www.autohotkey.com/board/topic/77303-acc-library-ahk-l-updated-09272012/
; https://dl.dropbox.com/u/47573473/Web%20Server/AHK_L/Acc.ahk
;------------------------------------------------------------------------------
; Acc.ahk Standard Library
; by Sean
; Updated by jethrow:
; Modified ComObjEnwrap params from (9,pacc) --> (9,pacc,1)
; Changed ComObjUnwrap to ComObjValue in order to avoid AddRef (thanks fincs)
; Added Acc_GetRoleText & Acc_GetStateText
; Added additional functions - commented below
Menu, MyMenu, Add, Item 1, Label
Menu, MyMenu, Disable, Item 1
Menu, MyMenu, Add, Item 2, Label
DllCall("SetTimer", "Ptr", A_ScriptHwnd, "Ptr", id := 1, "UInt", 2000, "Ptr", RegisterCallback("MyTimer", "F"))
Menu, MyMenu, Show
Return
Label() {
MsgBox, % A_ThisMenuItem
}
@noahcoad
noahcoad / GoAwayModalDialogs.ahk
Created January 3, 2013 21:04
Automates away pesky modal dialogs.
; ==========================================================================================
; == Modal Dialog Automation
; ==
; == Automates away pesky modal dialogs by applying a default response when they pop up
; == Helper functions are at the bottom
; ==========================================================================================
; Defaults to fast no-regex title matching
SetTitleMatchMode, 2
@paucoma
paucoma / TinyTaskCfgMod.c
Created November 18, 2018 22:55
Tiny Task Configuration File Modifier
/*
Deciphering TinyTask Recording Format after a bit of trial and error I found and used the following
*/
#include<stdio.h>
/* Our structure
- 0002 0000 7906 0000 4501 0000 dd0a 9400 7607 0b00
- 20 bytes in length
- interpreted as shorts, when we read it with fread, bytes get reordered
- 0200 0000 0679 0000 0145 0000 0add 0094 0776 000b
*/
aahed
aalii
aargh
aarti
abaca
abaci
abacs
abaft
abaka
abamp
@stevenyap
stevenyap / Github Flavored Markdown.md
Last active April 3, 2026 19:01
Github Flavored Markdown cheatsheet

Github Flavored Markdown (GFMD) is based on Markdown Syntax Guide with some overwriting as described at Github Flavored Markdown

Text Writing

It is easy to write in GFMD. Just write simply like text and use the below simple "tagging" to mark the text and you are good to go!

To specify a paragraph, leave 2 spaces at the end of the line

Headings

@tibovanheule
tibovanheule / BlockYouTubeHostsFile
Created January 1, 2019 23:51 — forked from marshyyyy/BlockYouTubeHostsFile
Block YouTube Hosts File
0.0.0.0 host.youtube.com
0.0.0.0 mx.youtube.com
0.0.0.0 admin.youtube.com
0.0.0.0 devel.youtube.com
0.0.0.0 stats.youtube.com
0.0.0.0 http.youtube.com
0.0.0.0 mx0.youtube.com
0.0.0.0 administration.youtube.com
0.0.0.0 development.youtube.com
0.0.0.0 svn.youtube.com
; ----------------------------------------------------------------------------------------------------------------------
; Name ..........: TrayIcon library
; Description ...: Provide some useful functions to deal with Tray icons.
; AHK Version ...: AHK_L 1.1.13.01 x32/64 Unicode
; Original Author: Sean (http://goo.gl/dh0xIX) (http://www.autohotkey.com/forum/viewtopic.php?t=17314)
; Update Author .: Cyruz (http://ciroprincipe.info) (http://ahkscript.org/boards/viewtopic.php?f=6&t=1229)
; Mod Author ....: Fanatic Guru
; License .......: WTFPL - http://www.wtfpl.net/txt/copying/
; Version Date...: 2014 - 01 - 16
; Note ..........: Many people have updated Sean's original work including me but Cyruz's version seemed the most straight
@ChuckMichael
ChuckMichael / vc_redistr.md
Last active April 28, 2026 16:51
Install all Visual C++ Redistributables using only one command!

Warning

App Installer must be installed on Win10/11.

CMD

Tip

You can save it and run as batch file (.bat).

winget install --id=Microsoft.VCRedist.2005.x86 -e  && winget install --id=Microsoft.VCRedist.2005.x64 -e  && winget install --id=Microsoft.VCRedist.2008.x86 -e  && winget install --id=Microsoft.VCRedist.2008.x64 -e  && winget install --id=Microsoft.VCRedist.2010.x86 -e  && winget install --id=Microsoft.VCRedist.2010.x64 -e  && winget install --id=Microsoft.VCRedist.2012.x86 -e  && winget install --id=Microsoft.VCRedist.2012.x64 -e  && winget install --id=Microsoft.VCRedist.2013.x86 -e  && winget install --id=Microsoft.VCRedist.2013.x64 -e  && winget install --id=Microsoft.VCRedist.2015+.x86 -e  && winget install --id=Microsoft.VCRedist.2015+.x64 -e 
@marshyyyy
marshyyyy / YouTubeSubdomains
Last active April 30, 2026 18:29
YouTube Subdomain & IP List
Subdomain IP Address
host.youtube.com 198.105.244.63
host.youtube.com 198.105.254.63
mx.youtube.com 216.58.192.206
mx.youtube.com 216.58.192.238
mx.youtube.com 172.217.0.14
mx.youtube.com 172.217.6.14
mx.youtube.com 172.217.9.46
mx.youtube.com 216.58.192.174
mx.youtube.com 172.217.6.110