This file contains 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 "Finder" | |
set homeFolder to (path to home folder as text) | |
set cleanupAtStartupFolder to homeFolder & "Library:Caches:Cleanup At Startup:" as alias | |
if not (exists folder "Transmit" of cleanupAtStartupFolder) then | |
make new folder at cleanupAtStartupFolder with properties {name:"Transmit"} | |
end if | |
end tell | |
set transmitPath to homeFolder & "Library:Caches:Metadata:Transmit:" as alias |
This file contains 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
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
This file contains 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
#! /bin/bash | |
# USAGE: sudo ./osxdns.sh tld | |
# Templates | |
namedconf='include "/etc/rndc.key"; | |
controls { | |
inet 127.0.0.1 port 54 allow {any;} | |
keys { "rndc-key"; }; | |
}; |
This file contains 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
{ | |
"name": "polymer-globals-behavior", | |
"dependencies": { | |
"polymer": "Polymer/polymer#~1.0.5" | |
} | |
} |