Skip to content

Instantly share code, notes, and snippets.

# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
@ottoradke
ottoradke / Google Chrome Incognito
Created December 9, 2014 06:58
Google Chrome Incognito Window
on is_running(appName)
tell application "System Events" to (name of processes) contains appName
end is_running
set chrome_running to is_running("Google Chrome")
if chrome_running then
tell application "Google Chrome"
repeat with w in (windows)
if mode of w is "incognito" then
set index of w to 1
### Keybase proof
I hereby claim:
* I am ottoradke on github.
* I am ottoradke (https://keybase.io/ottoradke) on keybase.
* I have a public key whose fingerprint is 3C3E CA25 767D F619 5580 E979 D893 1A2A 0145 F050
To claim this, I am signing this object: