$ git clone [email protected]:berkeley-food-recommendations/data-gathering.git
You're cloning the main repository - be careful! We're going to enforce a "no committing to master directly" rule, so no committing directly to master, please.
| /** | |
| * Syncs your personal calendar with your work calendar as 'busy' events. | |
| */ | |
| // WARNING: This script has the potential to delete events! Audit the code and run with care. | |
| // The script *should* only delete events it has previously created, but bugs are possible! | |
| // How to use | |
| // ========== | |
| // 1. Share your personal calendar with your work account using the free/busy option. |
| sudo chmod 755 /usr/lib/hdinsight-common/certs/ | |
| sudo chmod 744 /usr/lib/hdinsight-common/certs/key_decryption_cert.prv |
| license: bsd-3-clause | |
| height: 700 |
| // Playground - noun: a place where people can play | |
| import Cocoa | |
| var str:String? = "Hello, playground" | |
| str = nil | |
| if let actualStr = str { | |
| println(str) |
| on caps_lock_to_control() | |
| tell application "System Preferences" | |
| tell application "System Events" to tell process "System Preferences" to tell window "Keyboard" | |
| click pop up button "Caps Lock (⇪) Key:" of sheet 1 | |
| click menu item "⌃ Control" of menu 1 of pop up button "Caps Lock (⇪) Key:" of sheet 1 | |
| end tell | |
| end tell | |
| end caps_lock_to_control | |
| tell application "System Preferences" |