This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U _CC_SHA1 | |
U _CFAllocatorAllocate | |
U _CFAllocatorDeallocate | |
U _CFDataGetBytePtr | |
U _CFDataGetLength | |
U _CFDictionaryGetValue | |
U _CFPreferencesCopyKeyList | |
U _CFPreferencesCopyMultiple | |
U _CFRelease | |
U _CFRetain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo $'infix operator .. {}\n' | |
declare min=2; max=4 | |
for count in `eval echo {$min..$max}`; | |
do | |
declare -a originalArgSets=() providedArgSets=() remainingArgSets=() closureArgSets=() invocationArgSets=() parenthesesSets=() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
infix operator .. {} | |
public func .. <A0, A1, A2, R> (f: (A0)->(A1)->(A2 ) -> R, p: ((), (), () )) -> (A0, A1, A2 ) -> R { return { a0, a1, a2 in f( a0)( a1)( a2 ) } } | |
public func .. <A0, A1, A2, R> (f: (A0)->(A1)->(A2 ) -> R, p: (A0, (), () )) -> ( A1, A2 ) -> R { return { a1, a2 in f(p.0)( a1)( a2 ) } } | |
public func .. <A0, A1, A2, R> (f: (A0)->(A1)->(A2 ) -> R, p: ((), A1, () )) -> (A0, A2 ) -> R { return { a0, a2 in f( a0)(p.1)( a2 ) } } | |
public func .. <A0, A1, A2, R> (f: (A0)->(A1)->(A2 ) -> R, p: (A0, A1, () )) -> ( A2 ) -> R { return { a2 in f(p.0)(p.1)( a2 ) } } | |
public func .. <A0, A1, A2, R> (f: (A0)->(A1)->(A2 ) -> R, p: ((), (), A2 )) -> (A0, A1 ) -> R { return { a0, a1 in f( a0)( a1)(p.2 ) } } | |
public func .. <A0, A1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Unmodified F19 to Control+Shift+Command</name> | |
<identifier>f19_to_ctrl_cmnd_shft</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::F19, ModifierFlag::NONE, | |
KeyCode::COMMAND_L, ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L | |
</autogen> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
struct Regex: StringLiteralConvertible { | |
var pattern: String { | |
didSet { | |
updateRegex() | |
} | |
} | |
var expressionOptions: NSRegularExpressionOptions { | |
didSet { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> <string>local.DragThing</string> | |
<key>ProgramArguments</key> <array> | |
<string>/usr/bin/open</string> | |
<string>-W</string> | |
<string>/Applications/DragThing.app</string> | |
</array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Unmodified F19 to Control+Shift+Command</name> | |
<identifier>f19_to_ctrl_cmnd_shft</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::F19, ModifierFlag::NONE, | |
KeyCode::COMMAND_L, ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L | |
</autogen> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uname -v; diskutil list; diskutil cs list;Last login: Wed Jul 22 11:58:08 on console | |
Andrews-iMac-2:~ Astreet$ uname -v; diskutil list; diskutil cs list; | |
Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 | |
/dev/disk0 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *121.3 GB disk0 | |
1: EFI EFI 209.7 MB disk0s1 | |
2: Apple_HFS Untitled 121.0 GB disk0s2 | |
/dev/disk1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString * passwordString = @"b"; | |
NSString * mountPoint = @"/a"; | |
NSTask * veraCrypt = [[NSTask alloc] init]; | |
[veraCrypt setLaunchPath:@"/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt"]; | |
[veraCrypt setArguments:@[@"-t", @"--mount", mountPoint]]; | |
NSPipe * inputPipe = [NSPipe pipe]; | |
[veraCrypt setStandardInput:inputPipe]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key><string>local.myjob</string> | |
<key>ProgramArguments</key><array> | |
<string>/usr/bin/open</string> | |
<string>-a</string> | |
<string>My App Name</string> | |
</array> |
NewerOlder