Skip to content

Instantly share code, notes, and snippets.

Andy Wright atwright147

Block or report user

Report or block atwright147

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View BitBucket Server
/* Bitbucket Server */
@import url(;
/* Bitbucket code and diffs */
.content-view .CodeMirror pre,
code {
font-family: 'Fira Code';
text-rendering: optimizeLegibility;
font-weight: 500;
View gist:a35605c64fa24bc9768d10c5e70724d1
#!/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
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
View TabTip-Tamer
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 Dec 5, 2012
Synaptics Touch Control Panel Launcher Batch File
View Synaptics Launcher
:: Right click this file and choose run as administrator
rundll32.exe "C:\Program Files\Synaptics\SynTP\SynTPCpl.dll",ShowDevicePropPage 0
You can’t perform that action at this time.