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 | |
import SystemConfiguration | |
enum Error: Swift.Error { | |
case pppInterfaceNotFound | |
case failedToWriteToConfigurationStore | |
} | |
let dynamicStore = SCDynamicStoreCreate(nil, "setVPNDNS" as CFString, nil, nil) |
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
#!/usr/bin/env python | |
# | |
# dump the contents of all toplevel keys in scutil's toplevel list. | |
# | |
import subprocess | |
import re | |
def run_command_with_input(command, input): | |
popen = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE) |
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
dockerenv | |
bin | |
boot | |
dev | |
etc | |
flag | |
healthcheck | |
home | |
lib | |
lib64 |
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
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 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
[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 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
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 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
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 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 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 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
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 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
=== 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 |
NewerOlder