Skip to content

Instantly share code, notes, and snippets.

@reidransom
reidransom / gist:6042016
Created July 19, 2013 20:13
Auto-starting VirtualBox VMs on OS X

Auto-starting VirtualBox VMs on OS X

After finding a lot of other posts on the topic that didn't work out for me this one did the trick so I'm reposting for my own sense of self preservation.

Link to original article.

Copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.

sudo cp \

/Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist \

@floriankugler
floriankugler / gist:6870499
Last active September 29, 2023 15:56
Mapping of NSURLConnection to NSURLSession delegate methods. Created by Mattt Thompson.
NSURLConnection | NSURLSession
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connectionShouldUseCredentialStorage: |
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connection:willSendRequestForAuthenticationChallenge: | NSURLSessionDelegate URLSession:didReceiveChallenge:completionHandler:
| N
@thomasrstegelmann
thomasrstegelmann / love.scpt
Last active July 27, 2016 16:46
An AppleScript that sends a random iMessage of love to your partner: You need to adjust the e-mail address to your special one and store this on your desktop for this special moment when you want to share some love, but just don't have the time.
set messages to {"Love you! 😍", "You are the best!", "Kiss 😘😘", "😘", "😍😍😍", "💋"}
set message to some item of messages
tell application "Messages"
send message to buddy "apple.id@service.com" of (service 1 whose service type is iMessage)
end tell