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 lmdb | |
import os | |
os.environ['LMDB_FORCE_CFFI'] = '1' | |
def read_lmdb(file_path): | |
# Open the LMDB file in read-only mode | |
env = lmdb.open(file_path, readonly=True) | |
print("DB opened") |
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
tasks.withType(Test) { | |
def failedTests = [] | |
testLogging { | |
events TestLogEvent.FAILED, | |
TestLogEvent.SKIPPED, | |
TestLogEvent.STANDARD_OUT, | |
TestLogEvent.STANDARD_ERROR | |
} | |
afterTest { TestDescriptor descriptor, TestResult result -> | |
if(result.resultType == org.gradle.api.tasks.testing.TestResult.ResultType.FAILURE){ |
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
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { | |
kotlinOptions { | |
freeCompilerArgs += "-Xopt-in=kotlin.time.ExperimentalTime" | |
} | |
} |
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
#this uses the embedded JDK and installed android SDK which comes with Android Studio | |
export JAVA_HOME="/Applications/Android Studio 4.1.3.app/Contents/jre/jdk/Contents/Home" | |
export ANDROID_SDK_ROOT=/Users/falkorichter/Library/Android/sdk | |
export ANDROID_HOME=/Users/falkorichter/Library/Android/sdk | |
export PATH="$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/tools:$PATH" |
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" : { | |
"9FAD30EF-996F-4A4B-BCB3-E934A0DC6123" : 42, | |
"B65196BB-EC7A-4446-82B9-77FCF4E66192" : 1337, | |
"75D5E4C5-3E72-4952-9E30-FDC32B719BB9" : 13371337, | |
"08C54497-EC18-4313-805D-45711DF75FC2" : 110 | |
} | |
} |
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
git clone https://github.com/corona-warn-app/cwa-app-android.git && cd cwa-app-android | |
time ./gradlew clean assembleDebug && java -version | |
BUILD SUCCESSFUL in 1m 56s | |
77 actionable tasks: 74 executed, 3 up-to-date | |
./gradlew clean assembleDebug 2,63s user 0,49s system 2% cpu 1:56,83 total | |
openjdk version "1.8.0_275" | |
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01) | |
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode) |
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
default 06:42:20.079256+0200 storeuid Receipt Validation (com.tapbots.TweetbotMac) | |
Signature Check: PASS | |
Bundle ID Check: PASS | |
Bundle Version Check: PASS | |
GUID Check: PASS | |
Expiration Check: PASS | |
default 06:42:20.079399+0200 storeuid <StoreKitClient: 0x7fbb6ff2d3e0>: Initializing client from bundle URL: file:///Applications/Tweetbot.app/ | |
error 06:42:20.472393+0200 storeuid <StoreKitClient: 0x7fbb6ff2d3e0>: Cannot get apple ID from receipt /Applications/Tweetbot.app/Contents/_MASReceipt/receipt (null) | |
default 06:42:20.472619+0200 storelegacy StoreLegacy: Failed to perform in-line receipt renewal for application at path /Applications/Tweetbot.app : '(null)' |
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 | |
cd ~ | |
#check the latest from https://flutter.dev/docs/get-started/install/macos | |
wget https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_1.17.5-stable.zip | |
unzip flutter_macos_1.17.5-stable.zip | |
rm flutter_macos_1.17.5-stable.zip |
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
{ | |
"variables": [], | |
"info": { | |
"name": "groupm", | |
"_postman_id": "cfc3a5d8-927e-131b-f1e3-6b9f1e43620b", | |
"description": "", | |
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" | |
}, | |
"item": [ | |
{ |
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
def generateJavadocJar = project.task("generateJavadocJars"){ | |
description "Generate all Javadoc Jars of all Variants" | |
group 'jar' | |
} | |
def generateJavadoc = project.task("generateJavadocs"){ | |
description "Generate all Javadoc of all Variants" | |
group 'jar' | |
} |
NewerOlder