Skip to content

Instantly share code, notes, and snippets.

atwright147 / keybindings.json
Created November 10, 2022 14:16
VSCode Keyboard Shortcuts
// Place your key bindings in this file to overwrite the defaults
"key": "shift+alt+enter",
"command": "editor.emmet.action.wrapWithAbbreviation"
"key": "shift+alt+cmd+enter",
"command": "editor.emmet.action.wrapIndividualLinesWithAbbreviation"
/* Bitbucket Server */
@import url(;
/* Bitbucket code and diffs */
.content-view .CodeMirror pre,
code {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-weight: 500;
#!/usr/bin/env python3.7
import iterm2
# This script was created with the "basic" environment which does not support adding dependencies
# with pip.
async def main(connection):
# Your code goes here. Here's a bit of example code that adds a tab to the current window:
app = await iterm2.async_get_app(connection)
window = app.current_terminal_window
hdiutil create -o /tmp/HighSierra.cdr -size 7000m -layout SPUD -fs HFS+J &&\
hdiutil attach /tmp/HighSierra.cdr.dmg -noverify -mountpoint /Volumes/install_build &&\
sudo /Applications/Install\ macOS\ High\ --volume /Volumes/install_build &&\
mv /tmp/HighSierra.cdr.dmg ~/Desktop/InstallSystem.dmg &&\
hdiutil detach /Volumes/Install\ macOS\ High\ Sierra &&\
hdiutil convert ~/Desktop/InstallSystem.dmg -format UDTO -o ~/Desktop/HighSierra.iso &&\
mv ~/Desktop/HighSierra.iso.cdr ~/Desktop/HighSierra.iso &&\
rm ~/Desktop/InstallSystem.dmg
# find files matching pattern `*.orig`
find . -name '*.orig'
# find files matching pattern `*.orig` and delete them
find . -name '*.orig' -exec rm -rf {} \;
atwright147 /
Last active May 17, 2017 10:37
Manually install Brew
cd /usr/local/Homebrew &&\
git init &&\
git remote add origin &&\
git fetch --all &&\
git checkout -B master origin/master &&\
cd /usr/local &&\
ln -s /usr/local/Homebrew/bin/brew /usr/local/bin
FlashWinTitle = Flash, Alias, Mirage, Painter, Photoshop, Illustrator, Expression, ArtRage
SetTimer, WatchFlash, 2000 ;Checks the window every 2 seconds
WinGetActiveTitle, ActiveTitle
If ActiveTitle Not Contains %FlashWinTitle%
Process, Priority, tabtip.exe, normal
Else ;it is the active window so make it high priority
atwright147 / Synaptics Launcher
Created December 5, 2012 21:58
Synaptics Touch Control Panel Launcher Batch File
:: Right click this file and choose run as administrator
rundll32.exe "C:\Program Files\Synaptics\SynTP\SynTPCpl.dll",ShowDevicePropPage 0