On my Linode server (great company and service BTW), I had setup a VPN for me, but after upgrading to Ubuntu 14.04, I had no time to reinstall it.
So yesterday, I grabbed a free account on NoLimitVPN (because NSA and Google, you know) and I’ve been using it without any problems. (I’m no expert in security, but since NoLimitVPN is managed by a french company and their VPN is hosted on RamNode.com in the Netherlands, I expect a minimum of privacy).
The only problem I had was that the VPN doesn’t connect automatically when my Mac wakes up. DuckDuckGoing (what’s the official or usual verb ?) (because I don’t use Google anymore), I only found AppleScripts running in background and connecting the VPN. Since I don’t want something running in the background on my old and faithful iMac, I looked for alternatives.
This is the solution I’ve set up on my Mac:
To start the VPN (named “VPN”, duh), I use a terminal command
scutil --nc start VPN
Instead of this AppleScript (found on StackOverflow)
tell application "System Events"
tell current location of network preferences
set myConnection to the service "VPN"
if myConnection is not null then
if current configuration of myConnection is not connected then
To start the VPN when waking up, I use SleepWatcher (a tool I use to pause ArqBackup when my Mac wakes up) and I put this line in my ~/.wakeup file:
scutil --nc start VPN > /dev/null 2>&1
Voila, problem solved.
Here in Switzerland the major telco (Swisscom) has an option to let you see your last 20 answered and missed calls on your account webpage.
Not wanting to log in every time I want to check if I missed a call, I wrote some scripts and that fetches the content of my account web page and display them on an iOS app.
Continue reading Check your missed calls from your iPhone
First, If you have a Lego MindStorms NXT 2.0 and you don’t use NXC (Not eXactly C) you’re missing something. If you’re a programmer, you surely feel limited by the official visual environment, and it’s a PITA to make it run on a Mac.
Continue reading Not eXactly C Language Module Reference for TextWrangler/BBEdit
After the hacking attempt of Apple Dev websites, all of Apple dev related websites went offline.
This script will send you a notification as soon a new service is online.
Continue reading Check if Apple Services are online
After having tried all almost-free cloud-based (Bitcasa, Mozy, etc…) backup solutions, I tried Arq, and since August 2012, I use it without problems.
I backup 120G and it costs me $11 per month for the Amazon S3 storage. Not bad. Arq can also backup to Amazon Glacier, for a fraction of this cost.
Continue reading Pause ArqBackup when you wake up your Mac
Every time you add some user interface to your iOS app, Xcode will enable by default the Autolayout flag, which is a PITA because it’s not supported for 5.1 targets.
I found a StackOverflow answer that solves this problem, but it needs to be done every time Xcode is updated.
Continue reading Disabling Autolayout in Xcode
Just a reminder: I keep my list of Apple Push Notification Service Gateways up-to-date.
You can find it on my blog here.
If you use app.net (app.net, a paying alternative to twitter, without the ads, the sponsored tweets, etc…), these websites will provide functionalities or informations you may need.
Continue reading App.net services
If, like me, you’re paranoid with your data, you surely have 2 backups of your data, one being off-site.
My backup strategy is as follow: I backup my desktop machine on 2 external disks with SuperDuper. I keep one backup disk off-site and the other one near my machine so I can backup at regular interval.
Continue reading Rotate backup disks with SuperDuper
Craig Hockenberry (from the IconFactory) published in 2009 (on his personal website furbo.org) a very useful script able to open the Documents folder of any app installed in the iPhone Simulator. Because the iPhone simulator is now able to run with different versions of the iOS SDK, it has stopped working.
Continue reading Return of Open Sesame