Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.
I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch
of the [source][01]).
; Version: 2023.05.22.2 | |
; https://gist.github.com/8809edd5a0f212ecec688141da590a24 | |
/* | |
now := A_Now | |
file := A_Desktop "\file." now ".txt" | |
link := A_Desktop "\link." now ".txt" | |
FileOpen(file, 0x1).Write("Hello World!") | |
created := CreateHardLink(link, file) |
| |
; Version: 2022.06.30.1 | |
; https://gist.github.com/49a60fb49402c2ebd4d9bc6db03813a1 | |
/* ;region Example | |
now := A_Now | |
junction := A_Desktop "\Junction." now | |
directory := A_Desktop "\Directory." now | |
FileCreateDir % directory | |
FileOpen(directory "\test.txt", 0x1).Write("Hello World!") |
| |
; Version: 2022.06.30.1 | |
; https://gist.github.com/071310f149978639f2f58eb92128c479 | |
/* ;region Example | |
if (!A_IsAdmin) { | |
Run % "*RunAs " A_ScriptFullPath | |
ExitApp | |
} | |
now := A_Now |
| |
; Version: 2023.04.20.1 | |
; Usages and examples: https://redd.it/m0kzdy | |
; Configuration ↓ | |
wide := true ; Display the full hashes | |
; Enables/disabled algorithms | |
use := {} |
#Requires AutoHotkey v2.0 | |
AppVol(Target := "A", Level := 0) { | |
if (Target ~= "^[-+]?\d+$") { | |
Level := Target | |
Target := "A" | |
} else if (SubStr(Target, -4) = ".exe") { | |
Target := "ahk_exe " Target | |
} | |
try { |
Canonical Spec: https://github.com/ulid/spec
ULID()
is an alias of ULID.Monotonic()
.ULID.Random()
for non-monotonic mode.Usage and information: https://redd.it/mcjj4s