Skip to content

Instantly share code, notes, and snippets.

@Chunjee
Chunjee / export.ahk
Last active April 30, 2021 16:40 — forked from anonymous1184/README.md
WinHttpRequest Warpper
WinHttpRequest(params*)
{
static instance := ""
return isObject(instance)
? instance
: instance := new winhttprequest(params*)
}
class winhttprequest extends WinHttpRequest.Factory
{
@Chunjee
Chunjee / Compare sets.ahk
Created August 13, 2020 05:44 — forked from JoeGlines/Compare sets.ahk
Comparing two sets of items
#SingleInstance, Force
#NoEnv
SetBatchLines -1
DetectHiddenWindows, On
gosub Display
Browser_Forward::Reload
Display:
;**********************gui*********************************
gui, +resize

AutoHotkey Style Guide() {

A mostly reasonable approach to AutoHotkey

Variables:

  • All variables should be camelCase or snake_case
  • Constants should be in ALLCAPS

Functions and Methods:

; Function: Array_Gui
; Description: Displays an array as a treeview in a GUI
; Syntax: Array_Gui(Array)
; Parameters: Param1 - Array
; Return Value: Null
; Remarks: Resizeable
; Related: Array_Print, Array_DeepClone, Array_IsCircle
; Example: Array_Gui({"GeekDude":["Smart", "Charming", "Interesting"], "tidbit":"Weird"})
Array_Gui(Array, Parent="") {
@Chunjee
Chunjee / ScaleManager.js
Created May 14, 2018 02:29 — forked from AleBles/ScaleManager.js
Phaser v3 temp (css) scale amanger
//ScaleManager.js
class ScaleManager {
constructor(canvas, isMobile) {
this.canvas = canvas;
this.mobile = isMobile;
window.addEventListener('resize', () => {
this.resize(this.canvas);
if (this.mobile) {