Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ramirantala on github.
* I am ramirantala (https://keybase.io/ramirantala) on keybase.
* I have a public key ASANuFWCz70iRIrk2F95RVL7xSXxY-ykAEEp23QorjMVygo
To claim this, I am signing this object:
@ramirantala
ramirantala / chrome.restart.plist
Created April 6, 2016 07:13
launchctl plist file for chrome restart script
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>chrome.restart</string>
<key>Program</key>
<string>/Users/rrantala/bin/setup_chrome.sh</string>
<key>StandardErrorPath</key>
<string>/tmp/chrome.restart.err</string>
@ramirantala
ramirantala / setup_chrome.sh
Created April 6, 2016 05:21
Simple shell script with chromecli to start two chrome windows to separate windows
#!/bin/bash
chromecli="/usr/local/bin/chrome-cli"
window1="https://www.google.com"
window1_tabs="https://www.google.com https://www.google.com"
window1_position=-1920
window2="https://www.google.com"
window2_tabs="https://www.google.com https://www.google.com"
window2_position=0