Skip to content

Instantly share code, notes, and snippets.

View jaywick's full-sized avatar

Jay Wick jaywick

View GitHub Profile
ForegroundColour=197,200,198
BackgroundColour=29,31,33
CursorColour=253,157,79
Black=29,31,33
BoldBlack=150,152,150
Red=204,102,102
BoldRed=173,57,57
Green=181,189,104
BoldGreen=142,150,66
Yellow=240,198,116
@jaywick
jaywick / keyboard.vssettings
Created February 1, 2018 06:14
Visual Studio 2015-17 shortcuts to make it similar to VS Code
<UserShortcuts>
<RemoveShortcut Command="Edit.CharTranspose" Scope="Text Editor">Ctrl+T</RemoveShortcut>
<RemoveShortcut Command="Edit.WordTranspose" Scope="Text Editor">Ctrl+Shift+T</RemoveShortcut>
<RemoveShortcut Command="Edit.GoToDeclaration" Scope="Global">Ctrl+F12</RemoveShortcut>
<RemoveShortcut Command="Edit.SelectCurrentWord" Scope="Text Editor">Ctrl+W</RemoveShortcut>
<RemoveShortcut Command="Edit.NextKeyTyped" Scope="VC Accelerator Editor">Ctrl+W</RemoveShortcut>
<RemoveShortcut Command="Edit.CompleteWord" Scope="Text Editor">Alt+Right Arrow</RemoveShortcut>
<RemoveShortcut Command="Edit.ExpandSelection" Scope="Text Editor">Ctrl+W</RemoveShortcut>
<RemoveShortcut Command="Edit.ContractseSelection" Scope="Text Editor">Ctrl+Shift+W</RemoveShortcut>
<RemoveShortcut Command="Edit.GoToReference" Scope="Global">Ctrl+R</RemoveShortcut>
@jaywick
jaywick / gitk-from-folder.ahk
Created January 4, 2018 23:50
View gitk from folder
#IfWinActive ahk_exe explorer.exe
^+g::
SendInput !d
SendInput gitk
SendInput {Enter}
return
return
a {
border-radius: 2px !important;
}
div.absoluteBottom{
background: rgba(25,25,25,0.8);
color: white;
}
span.absoluteBottom {
@jaywick
jaywick / master.ahk
Created June 9, 2017 13:13
Autohotkey master script
^esc::Run *runas cmd ; runs admin cmd
!esc::Run cmd
^!esc::Run bash.exe
#j::Run c:\users\jay\downloads
#w::Run c:\users\jay\workspace
#n::Run "C:\Program Files (x86)\Microsoft VS Code\Code.exe"
#g::Run chrome.exe http://www.google.com/search?q=%clipboard%
#f2::Run "C:\Program Files (x86)\Microsoft VS Code\Code.exe" C:\users\jay\workspace\scripts\master.ahk
#f5::Run C:\users\jay\workspace\scripts\master.ahk
@jaywick
jaywick / settings.json
Last active June 9, 2017 12:58
VSCode Settings
{
"editor.quickSuggestionsDelay": 0,
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.js.map": true,
"**/node_modules": true,
"**/typings": true,
"**/*.js": {
"when": "$(basename).ts"
@jaywick
jaywick / switch-user-chrome.ahk
Last active March 6, 2017 05:17
Switch user profile in Chrome with `Ctrl + M`
#IfWinActive ahk_exe chrome.exe
^m::
SendInput ^+m
SendInput {Down}{Down}
SendInput {Enter}
return
!m::
SendInput {f6}
SendInput ^c
SendInput ^+m
@jaywick
jaywick / keybindings.json
Created August 2, 2016 12:32
My keybindings for VSCode
[
{
"key": "ctrl+t",
"command": "workbench.action.files.newUntitledFile",
"when": "editorTextFocus"
},
{
"key": "ctrl+b",
"command": "editor.action.goToDeclaration",
"when": "editorTextFocus"
@jaywick
jaywick / StartSnippingTool.ahk
Created May 26, 2016 02:05
Win + S to start Snipping Tool in snipping mode
#s::
Run C:\Windows\Sysnative\SnippingTool.exe,,,processId
WinWait, ahk_pid %processId%
WinActivate, ahk_pid %processId%
SendInput ^n
return
using System;
using System.Drawing;
using System.Windows.Forms;
/// WinForms trap app boilerplate
/// Full credit to @alanbondo:
/// https://alanbondo.wordpress.com/2008/06/22/creating-a-system-tray-app-with-c/
namespace TrayApp
{
public class App : Form