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 | |
protocol Value: Equatable { | |
} | |
protocol Smashable { | |
func valueBySmashingOtherValue<T: Value,U: Value>(value: T) -> U | |
} |
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
func encrypt(data: NSData) -> NSData { | |
var error: Unmanaged<CFErrorRef>? = nil | |
let parameters: [NSString: NSString] = [ | |
kSecAttrKeyType: kSecAttrKeyTypeRSA, | |
kSecAttrKeyClass: kSecAttrKeyClassPublic | |
] | |
let keyString = "MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiAKBgQCVXkvZifORfS8VVEp+BQTrnXu2a2+KL+Rw5FPHeSAOXjrS5DoC0GxK29jTKPGkJrg2WOiL/ZSbKvTq8wBUZzoUGaJQ+kzBJ40ShVtbJYGNFixubuKrSjUNQB149t25lxHnJia0i9i1sLfzrPnqPJ4ABf7lnhkTbNt8g/KriwoqmQICAQE=" | |
let keyData = NSData(base64EncodedString: keyString, options: .IgnoreUnknownCharacters)! |
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
=== BUILD AGGREGATE TARGET add_custom_command_target-9277a59e76526c1f3369c9ca8ff73903-UnicodeExtendedGraphemeClusters.cpp OF PROJECT Swift WITH CONFIGURATION Debug === | |
Check dependencies | |
Write auxiliary files | |
write-file /Users/maku/Projects/OpenSource/swift-os/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/Basic/Swift.build/Debug/add_custom_command_target-9277a59e76526c1f3369c9ca8ff73903-UnicodeExtendedGraphemeClusters.cpp.build/Script-A3AAFACAEAC54F0680167E45.sh | |
chmod 0755 /Users/maku/Projects/OpenSource/swift-os/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/Basic/Swift.build/Debug/add_custom_command_target-9277a59e76526c1f3369c9ca8ff73903-UnicodeExtendedGraphemeClusters.cpp.build/Script-A3AAFACAEAC54F0680167E45.sh | |
PhaseScriptExecution CMake\ Rules /Users/maku/Projects/OpenSource/swift-os/build/Xcode-DebugAssert/swift-macosx-x86_64/lib/Basic/Swift.build/Debug/add_custom_command_target-9277a59e76526c1f3369c9ca8ff73903-UnicodeExtendedGraphemeClusters.cpp.build/Script-A3AAFACAEAC54F0680167E45.sh | |
cd /Us |
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
Danger::CISource::Buildkite | |
validates when buildkite env var is found | |
doesnt validate when buildkite is not found | |
gets out a repo slug from a git+ssh repo and pull request number | |
gets out a repo slug from a https repo and pull request number | |
Danger::CircleAPI | |
has a nil token as default | |
sets the token on initialize | |
creates a client with the correct base url |
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 RxSwift | |
import Heimdallr | |
class Authenticator { | |
static let tokenURL = NSURL(string: "http://localhost:3000/oauth/token") | |
let oauthProvider: Heimdallr | |
init() { | |
let credentials = OAuthClientCredentials(id: "", secret: "") |
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
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'cgi' | |
@mutex = Mutex.new | |
def query(query) | |
uri = URI.parse("https://www.amazon.de/gp/search-inside/service-data") | |
http = Net::HTTP.new(uri.host, uri.port) |
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
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'cgi' | |
def lcs(a, b) | |
lengths = Array.new(a.length) { Array.new(b.length, 0) } | |
greatest_length = 0 | |
output = '' | |
a.each_char.with_index do |x, i| |
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
[0] Eastern Kingdoms = 868 | |
[1] Kalimdor = 1015 | |
[13] Art Team Map = 0 | |
[25] Scott Test = 0 | |
[30] Alterac Valley = 35 | |
[33] Shadowfang Keep = 0 | |
[34] Stormwind Stockade = 0 | |
[35] <unused>StormwindPrison = 0 | |
[36] Deadmines = 0 | |
[37] Azshara Crater = 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
Files s1/Contents/Applications/Create ML.app/Contents/MacOS/Create ML and s2/Contents/Applications/Create ML.app/Contents/MacOS/Create ML differ | |
Files s1/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/DTBinaryAnalysis and s2/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/DTBinaryAnalysis differ | |
Files s1/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis and s2/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/Versions/A/DTBinaryAnalysis differ | |
Files s1/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/Versions/Current/DTBinaryAnalysis and s2/Contents/Applications/Instruments.app/Contents/Frameworks/DTBinaryAnalysis.framework/Versions/Current/DTBinaryAnalysis differ | |
Files s1/Contents/Applications/Instruments.app/Contents/Frameworks/DTInstrumentsX.framework/DTInstrumentsX and s2/Contents/Applications/Instru |
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
dockerenv | |
bin | |
boot | |
dev | |
etc | |
flag | |
healthcheck | |
home | |
lib | |
lib64 |
OlderNewer