Skip to content

Instantly share code, notes, and snippets.

@lilumi
Last active August 19, 2024 07:31
Show Gist options
  • Save lilumi/4d09d958908805428e856a9c33e8f1d5 to your computer and use it in GitHub Desktop.
Save lilumi/4d09d958908805428e856a9c33e8f1d5 to your computer and use it in GitHub Desktop.
my Autohotkey config
; --------------------------------------------------------------
; Switches the left Control and Alt keys.
; --------------------------------------------------------------
;LCtrl::LAlt
;LAlt::LCtrl
;Apple keyboard
;LAlt::LWin
;LWin::LAlt
;RWin::RAlt
;RAlt::RCtrl
;End Apple Keyboard
;RAlt::Send #1
;RWin::Send #2
;RCtrl::Send #3
;!c::Send {Ctrl Down}{c}{Ctrl Up}
;!x::Send {Ctrl Down}{x}{Ctrl Up}
;!v::Send {Ctrl Down}{v}{Ctrl Up}
;!z::Send {Ctrl Down}{z}{Ctrl Up}
$!a::Send, ^a
$!b::Send, ^b
$!c::Send, ^c
$!+c::Send, ^+c
$!d::Send, ^d
$!f::Send, ^f
$!g::Send, ^g
$!h::Send, ^h
$!i::Send, ^i
$!n::Send, ^n
$!o::Send, ^o
$!p::Send, ^p
$!r::Send, ^r
$!s::Send, ^s
$!t::Send, ^t
$!+t::Send, ^+t
$!u::Send, ^u
$!q::Send, ^q
$!v::Send, ^v
$!w::Send, ^w
$!x::Send, ^x
$!z::Send, ^z
$!+z::Send, ^+z
$!=::Send, ^=
$!-::Send, ^-
$#/::Send, {Media_Play_Pause}
$#z::SoundSet,+1,Master,MUTE,15 ;mute Steelseries Headset
Capslock:: Send {AltDown}{Shift}{AltUp}
:*:ии::ы{Left}{Backspace}{Right}
:*:іі::ы{Left}{Backspace}{Right}
:*:єє::э
:*:;wa::wp-admin
:*:;wp::WordPress
:*:;js::javascript
:*:;jq::jquery
:*:;log::console.log('@@@');{Left}{Left}{Left}
:*:;php::<?php ?>{Left}{Left}{Left}
:*:;vd::var_dump();{Left}{Left}
:*:;dd::var_dump(); die;
:*:kk::ok
:*:лл::ok
:*:;media::@media only screen and (min-width: 740px) {{}{}}{Left}
:*:;retina::@media only screen and (min-device-pixel-ratio:1.5) and (min-width:768px) {{}{}}{Left}
:*:;.::'..'
:*:;db::docker-compose up --force-recreate --build
; below separator for csv files to open in Excel
:*:;sep::"sep=,"
; CURL to get only headers -I and if there is header redirect 301,302 - follow these redirects -L and set header as googlebot -H
:*:;cu::curl -IL http://www.example.com/about -H "User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.1.1.1 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
:*:;gid::document.getElementById('');
:*:;bd::document.body
:*:;ht::document.documentElement
:*:;lis::.addEventListener('click', function(e) {{}{}});{Left}{Left}{Left}
:*:;mk::mklink /j C:\Work\nodejs-nvm c:\Users\lm\AppData\Roaming\nvm\v18.15.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment