Skip to content

Instantly share code, notes, and snippets.

View lukescammell's full-sized avatar

Luke Scammell lukescammell

View GitHub Profile
;-------------------------------------------------------------------------------
; Auto-Reload AutoHotkey when .ahk file is saved
; http://prxbx.com/forums/showthread.php?tid=1181
; Modified 2009-12-09 11:32:17 by Luke Scammell - luke {at} scammell [dot] co (.) uk
; Modified to match any window with .ahk in the title, meaning it will update other scripts as well and from other programs like Notepad++ :)
~^s::
SetTitleMatchMode, 2
IfWinActive, .ahk
{
Send, ^s
@lukescammell
lukescammell / RedScarf-III-84-_RS84_-_-visual.kbd.json
Last active July 29, 2024 14:54
RedScarf III 84 (RS84) – visual
[
{
"backcolor": "#111111",
"name": "RedScarf III 84 (RS84) – visual",
"author": "Luke Scammell",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
@lukescammell
lukescammell / MiniVan-40_-_-Arrow-Layout.kbd.json
Last active July 30, 2021 23:29
MiniVan 40% – Arrow Layout
[
{
"backcolor": "#7cccd6",
"name": "MiniVan 40% – Arrow Layout",
"author": "Luke Scammell",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
[
{
"backcolor": "#7cccd6",
"name": "MiniVan 40%",
"author": "Luke Scammell",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
@lukescammell
lukescammell / user-profile.cmd
Last active October 10, 2022 19:29
This enables portable SSH keys in cmder, enabling you to have full SSH access using cmder portably on a USB (for example). Please note that when you ssh-keygen, it will still default to %USERPROFILE%, so you will either have to change the path on generation, or manually move the keys to your %CMDER_ROOT%\config\.ssh directory.
:: use this file to run your own startup commands
:: use in front of the command to prevent printing the command
:: call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"
:: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%"
:: LS 2017-09-12_17.35.11
:: ======================
:: Copied from %CMDER_ROOT%\vendor\init.bat
@lukescammell
lukescammell / RedScarf-III-84-_RS84_.kbd.json
Last active July 29, 2024 14:48
RedScarf III 84 (RS84)
[
{
"name": "RedScarf III 84 (RS84)",
"author": "Luke Scammell ([email protected])",
"switchMount": "cherry",
"switchBrand": "gateron",
"switchType": "KS-3-White",
"plate": true
},
[
@lukescammell
lukescammell / RS84-multiple-layers.kbd.json
Created September 22, 2017 18:48
RS84 multiple layers
[
{
"name": "RS84 multiple layers"
},
[
{
"y": 0.5
},
"Caps Lock",
"F1",
@lukescammell
lukescammell / ahk-insert-time-and-date.ahk
Created January 1, 2018 15:33
Ctrl+Win+Alt+d to insert the current date and time.
;-------------------------------------------------------------------------------
; Insert date and time
;-------------------------------------------------------------------------------
; http://prxbx.com/forums/showthread.php?tid=1181&pid=10647#pid10647
; LS 2010-04-27 10:20:23
; modified to use "GMT" instead of "UTC" since GMT respects British Summer Time!
; changed %A_NowUTC% to %A_NowGMT%
; LS 2013-11-27 09:32:50
; perhaps %A_Now% just uses system time which would respect any daylight savings no matter where you are?
[
{
"backcolor": "#ffffff",
"name": "Nuphy Air 60 v2",
"author": "scammell.co.uk/nuphy-air60v2",
"radii": "20px",
"switchMount": "cherry",
"plate": true
},
[
@lukescammell
lukescammell / Drop-_-OLKB-Planck-v7.kbd.json
Last active August 17, 2024 14:07
Drop + OLKB Planck v7
[
{
"backcolor": "#950013",
"name": "Drop + OLKB Planck v7",
"author": "scammell.co.uk/drop+olkb-planck-v7",
"switchMount": "cherry",
"plate": true
},
[
{