This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# STANDARD PROD AND DEV CONFIG | |
<Macro VHost $mydomain> | |
# PROD CONFIG | |
<Directory "/file/path/to/$mydomain/public_html"> | |
Require all granted | |
</Directory> | |
<VirtualHost *:80> | |
ServerAdmin adminemail@foo.bar | |
ServerName $mydomain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
-- Get the URL of the active tab from Safari | |
set theURL to URL of current tab of window 1 | |
end tell | |
tell application "Google Chrome" | |
-- The front most window | |
try | |
tell window 1 | |
-- Create a new tab and set the URL to the one we got from Safari |