This file contains 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/Foundation.h> | |
#import <objc/runtime.h> | |
#include <functional> | |
@class ObjCObject; | |
template<class p1type,class p2type> |
This file contains 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
// | |
// main.cpp | |
// CppTargetActionOutlets | |
// | |
// Created by Uli Kusterer on 07.04.17. | |
// Copyright © 2017 Uli Kusterer. All rights reserved. | |
// | |
#include <iostream> | |
#include <functional> |
This file contains 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 FooImages { | |
static let images = [UIImage(named:"foo1"), UIImage(named:"foo1")] | |
} |
This file contains 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
class BooleanClass { | |
void ifTrue(_ trueHandler: () -> Void, else falseHandler: () -> Void) | |
} | |
class TrueBooleanClass { | |
void ifTrue(_ trueHandler: () -> Void, else falseHandler: () -> Void) { | |
trueHandler() | |
} | |
} |
This file contains 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
void main() | |
{ | |
int foo = rand(); | |
int result1 = await doSomethingAsync(foo); | |
printf( "Result 1: %d", result1 ); | |
int result2 = await doSomethingAsync(foo + 1); | |
printf( "Result 2: %d", result2 ); | |
return 0; | |
} |
This file contains 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
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABICAYAAABLJIP0AAAMJ2lDQ1BJQ0MgUHJvZmlsZQAASImVlwdUk8kWgOcvqSS0QChSQm+iFOnSawABqYKNkAQSSgwJQcSOLCqwFlQsWNFVEdtaAFlsWLAi2PvDAoqyLupiQ+VNEkBXz3vvvHvO/P+XO3fu3Hsz/5wZANRiOGJxNqoOQI4oTxIbGsCakJzCIj0GCKABbWAHzDhcqdg/JiYSQBl6/1Pe3YTWUK7Zy3393P9fRYPHl3IBQGIgp/Gk3BzIhwDAXbliSR4AhB6oN5ueJ4ZMhFECLQkMELK5nDOU7C7nNCVHKmziYwMhpwJApnE4kgwAVOVxsfK5GdCPajlkBxFPKILcBNmHK+DwIH+GPDInZxpkNWvI1mnf+cn4h8+0YZ8cTsYwK3NRCDlIKBVnc2b8n+X435KTLRuawww2mkASFivPWV63rGkRcqZBPidKi4qGrAn5upCnsJdzl0AWljBo/4ErDYQ1A0wAUBqPExQB2QCyqSg7KnJQ75MuDGFDhrVH44V57HjlWJQnmRY76B8t4EuD44aYI1HMJbcplWUl+A/63Cjgs4d8NhYK4pOUcaJt+cLEKMiqkO9Ls+IiBm1eFAoCo4ZsJLJYeczwP8dAuiQkVmmDmedIh/LCPAVCdtQgR+YJ4sOUY7EpXI4iNl3ImXzphMihOHn8oGBlXlgRX5QwGD9WIc4LiB203ybOjhm0x5r42aFyvSnkVml+3NDY3jy42JT54kCcFxOvjA3XyuSExyhjwG1BJAgEQYAFZLClgWkgEwhbe+p74C9lTwjgAAnIAHxgP6gZGpGk6BHBZxwoBH9C4gPp8LgARS8f5EP9l2Gt8mkP0hW9+YoRWaALcg6IANnwt0wxSjQ8WyJ4CjXCn2bnwlizYZP3/aRjqQ3piMHEIGIYMYRog+vjPrgXHgmffrA54e64x1Bc3+wJXYR2wmPCDUIH4c5UYZHkh8hZYBzogD |
This file contains 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
pendingTasks = [Task<E>{ (0/65) @ 600 <-- F }, Task<F>{ (0/66) @ 500 <-- C }, Task<B>{ (0/62) @ 900 <-- A }, Task<A>{ (0/61) @ 1000 <-- C }, Task<D>{ (0/64) @ 700 <-- A }, Task<C>{ (0/63) @ 800 <-- * }] | |
Worker 1: -- | |
Worker 2: -- | |
Worker 3: -- | |
currentTasks = [Task<C>{ (0/63) @ 800 <-- * }] | |
Worker 1: Task<C>{ (1/63) @ 800 <-- * } | |
Worker 2: -- | |
Worker 3: -- | |
currentTasks = [] | |
Worker 1: Task<C>{ (2/63) @ 800 <-- * } |
This file contains 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 | |
GIT='/Applications/Xcode.app/Contents/Developer/usr/bin/git' | |
#$SOURCEREPO=$1 | |
#$DESTREPO=$2 | |
SOURCEREPO=/Users/uli/Programming/FileExplorer/UliKit | |
DESTREPO=/Users/uli/Programming/FileExplorer/ULIXattrMetadataStore | |
MYDIR=`dirname "$0"` |
This file contains 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
writertest.swift:18:8: error: cannot invoke 'write' with an argument list of type '(T)' | |
impl.write(foo) | |
^ | |
writertest.swift:18:8: note: expected an argument list of type '(T.WriterImplType.ValueType)' | |
impl.write(foo) | |
^ |