diskutil erasevolume HFS+ 'RAM Disk' `hdiutil attach -nobrowse -nomount ram://XXXXX`
where XXXXX
is the size of the RAM disk in terms of memory blocks.
Notes:
#!/bin/bash | |
sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport | |
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport |
@interface JSONFixture : NSObject | |
+ (id)fixtureDataWithName:(NSString *)fixtureName; | |
@end | |
@implementation JSONFixture | |
+ (id)fixtureDataWithName:(NSString *)fixtureName { |