Skip to content

Instantly share code, notes, and snippets.

View ghugues's full-sized avatar

Guillaume Hugues ghugues

  • amo
  • Paris, France
View GitHub Profile
@ghugues
ghugues / bootlocal.sh
Created September 20, 2016 21:14
Mount a non /Users directory as a data volume on OS X
#!/bin/sh
#
# This script will automatically mount the shared folder named `sharedFolderName`
# on `targetDirectory` when the docker machine starts.
#
# This script must be located at /var/lib/boot2docker/bootlocal.sh on the docker machine.
#
# The shared folder must be configured in VirtualBox shared folders first. The name should be the
# same as `sharedFolderName` (see below) and the path should be the path (on your host machine) to
# the directory that you want to mount.
#import <Foundation/Foundation.h>
@interface AppDownloadQueueOperation : NSOperation
- (instancetype)initWithURLSessionDataTask:(NSURLSessionDataTask *)dataTask;
@property (nonatomic, strong, readonly) NSURLSessionDataTask *dataTask;
@end