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
@CacheableTransform | |
internal abstract class T : TransformAction<TransformParameters.None> { | |
@get:PathSensitive(PathSensitivity.RELATIVE) | |
@get:InputArtifact | |
abstract val inputArtifact: Provider<FileSystemLocation> | |
override fun transform(outputs: TransformOutputs) { | |
outputs.file(inputArtifact.get().asFile) | |
} | |
} |
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 org.gradle.api.attributes.Usage.* | |
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType | |
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet | |
import org.jetbrains.kotlin.gradle.plugin.KotlinTarget | |
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinUsages.KOTLIN_API | |
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinUsages.KOTLIN_METADATA | |
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinUsages.KOTLIN_RUNTIME | |
plugins { | |
kotlin("multiplatform") version "2.1.20" |
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 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 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 re | |
from lldb import SBDebugger, SBCommandReturnObject, SBCommandInterpreter, SBError, SBProcess | |
def browse_packages( | |
debugger: SBDebugger, | |
command: str, | |
result: SBCommandReturnObject, | |
dict | |
): | |
try: |
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
Set evironment variable like so: | |
SOURCEKIT_SERVICE_LOG=2 /Applications/Xcode.app/Contents/MacOS/Xcode 2>&1 |
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
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 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
/** | |
{ | |
"exchangeContractAddress" : "0x12459c951127e0c374ff9105dda097662a027093", | |
"maker" : "0x8c7d76d9aef6a104b500cfd1746c331f4da5bce8", | |
"taker" : "0x0000000000000000000000000000000000000000", | |
"makerTokenAddress" : "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
"takerTokenAddress" : "0xe41d2489571d322189246dafa5ebde1f4699f498", | |
"feeRecipient" : "0xa258b39954cef5cb142fd567a46cddb31a670124", | |
"makerTokenAmount" : "1950100000000000", |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
@testable import Web3Swift | |
print( | |
try Keccak256Bytes( | |
origin: EthContractCreationBytes( | |
networkID: BigEndianCompactNumber( | |
hex: "0x2a" |
NewerOlder