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 os | |
from typing import Dict, Any | |
from pathlib import Path | |
from tempfile import mkdtemp | |
from lldb import SBDebugger, SBCommandReturnObject, SBFrame, SBBreakpointLocation, SBExpressionOptions, \ | |
SBLanguageRuntime, SBTarget, SBBreakpoint | |
image_number = 0 | |
temporary_directory = Path(mkdtemp()) | |
def on_view_on_view_did_appear( |
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 re | |
from lldb import SBDebugger, SBCommandReturnObject, SBCommandInterpreter, SBError, SBProcess | |
def browse_packages( | |
debugger: SBDebugger, | |
command: str, | |
result: SBCommandReturnObject, | |
dict | |
): | |
try: |
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
Set evironment variable like so: | |
SOURCEKIT_SERVICE_LOG=2 /Applications/Xcode.app/Contents/MacOS/Xcode 2>&1 |
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
2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] Custom restriction was updated. Current custom restriction is { | |
} | |
2018-06-04 21:27:52.084767+0300 AppodealSwiftDemo[1751:516486] 2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] Custom restriction was updated. Current custom restriction is { | |
} | |
2018-06-04 21:27:52.084847+0300 AppodealSwiftDemo[1751:516486] 2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] OpenX api integrate | |
2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] OpenX api integrate | |
2018-06-04 21:27:52.085025+0300 AppodealSwiftDemo[1751:516483] 2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] MRAID api integrate | |
2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] MRAID api integrate | |
2018-06-04 21:27:52.085201+0300 AppodealSwiftDemo[1751:516489] 2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] Tap Sense api integrate | |
2018-06-04 18:27:52 +0000 [Appodeal 2.4.3][info] Tap Sense api integrate |
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
/** | |
{ | |
"exchangeContractAddress" : "0x12459c951127e0c374ff9105dda097662a027093", | |
"maker" : "0x8c7d76d9aef6a104b500cfd1746c331f4da5bce8", | |
"taker" : "0x0000000000000000000000000000000000000000", | |
"makerTokenAddress" : "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
"takerTokenAddress" : "0xe41d2489571d322189246dafa5ebde1f4699f498", | |
"feeRecipient" : "0xa258b39954cef5cb142fd567a46cddb31a670124", | |
"makerTokenAmount" : "1950100000000000", |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
@testable import Web3Swift | |
print( | |
try Keccak256Bytes( | |
origin: EthContractCreationBytes( | |
networkID: BigEndianCompactNumber( | |
hex: "0x2a" |
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
final class MoreItems: BasicCollection<Item> { | |
init(for viewController: UIViewController) { | |
let items: [Item] = [ | |
BasicItem( | |
image: #imageLiteral(resourceName: "ImageProfilePlaceholder"), | |
title: "Профиль", | |
description: "", | |
command: CommandToPerform{ [weak viewController] in | |
viewController?.navigationController?.pushViewController(Storyboard.More.profileViewController(), animated: true) | |
}), |
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 UIKit | |
import PlaygroundSupport | |
PlaygroundPage.current.needsIndefiniteExecution = true | |
class ObjcClass: NSObject { | |
func thisMethodWillBeEnqueuedToRunLoop() { | |
print("I am executed") | |
} |
NewerOlder