Skip to content

Instantly share code, notes, and snippets.

@YenForYang
YenForYang / .curlrc
Last active October 2, 2024 03:17
curlrc
### OPTIONS
# Options start with one or two dashes. Many of the options require an additional value next to them.
#
# The short "single-dash" form of the options, -d for example, may be used with or without a space between it and its value, although a space is a recommended separator. The long "double-dash" form, -d, --data for example, requires a space between it and its value.
#
# Short version options that don't need any additional values can be used immediately next to each other, like for example you can specify all the options -O, -L and -v at once as -OLv.
#
# In general, all boolean options are enabled with --option and yet again disabled with --no-option. That is, you use the exact same option name but prefix it with "no-". However, in this list we mostly only list and show the --option version of them. (This concept with --no options was added in 7.19.0. Previously most options were toggled on/off on repeated use of the same command line option.)
#
@YenForYang
YenForYang / GistMaker
Last active March 5, 2017 07:29
Update-AUPackages Report #powershell #chocolatey
We couldn’t find that file to show.
@YenForYang
YenForYang / CapsLockCtrlEscape.ahk
Last active October 30, 2016 23:19 — forked from randy909/CapsLockCtrlEscape.ahk
AutoHotkey script to map Caps Lock to Escape when it's pressed on its own, and Ctrl when used in combination with another key, à la Steve Losh. Adapted from the one that does something similar with the Ctrl Key on the Vim Tips Wiki (http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_Windows?oldid=32281).
g_LastCtrlKeyDownTime := 0
g_AbortSendEsc := false
g_ControlRepeatDetected := false
*CapsLock::
if (g_ControlRepeatDetected)
{
return
}