I hereby claim:
- I am akshayaurora on github.
- I am quanon (https://keybase.io/quanon) on keybase.
- I have a public key ASB3Lj1UxkUQbOgapVjug4a8O0hMyOSZzfZh6ohF7VTVogo
To claim this, I am signing this object:
| ScanResultCallback.java | |
| ``` | |
| package com.example.ble; | |
| public interface ScanResultCallback { | |
| void onKeywordFound(String data); | |
| } | |
| ``` | |
| BleScannerBridge.java |
| ''' | |
| Custom Behaviors are defined in this module. | |
| ''' | |
| from kivy.app import App | |
| from kivy.animation import Animation | |
| from kivy.lang import Builder | |
| from kivy.clock import Clock | |
| from kivy.config import Config |
| from kivy_ios.toolchain import Recipe, shprint | |
| from os.path import join | |
| import sys | |
| import sh | |
| class LFKBenchmarkRecipe(Recipe): | |
| version = "main" | |
| url = f'<your url here {version}.tar.gz>' | |
| libraries = "lfk_benchmark/liblfk-benchmark.a", "lfk_benchmark/core/liblfk-core-nonoptimized.a", "lfk_benchmark/core/liblfk-core-optimized.a" |
| import ios | |
| from pyobjus import autoclass | |
| UIDevice = autoclass('UIDevice') | |
| CurrentDevice = UIDevice.currentDevice() | |
| Logger.info(f'WaverianApp: iOs device name : {CurrentDevice.name.cString()}') | |
| UIApplication = autoclass('UIApplication') | |
| sharedApplication = UIApplication.sharedApplication() | |
| NotchDetector = autoclass("NotchDetector").alloc().init() |
| ''' | |
| IOS file chooser | |
| -------------------- | |
| This module houses the iOS implementation of the plyer FileChooser. | |
| .. versionadded:: 1.4.4 | |
| ''' | |
| from plyer.facades import FileChooser |
| /home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain /home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64 -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall --sysroot=/home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/sysroot -D__ANDROID_API__=21 -isystem /home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi --sysroot=/home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/sysroot -D__ANDROID_API__=21 -isystem /home/electrum/Downloads/android-ndk-r18b-linux-x86_64/android-ndk-r18b/sysroot/usr/include/arm-linux-androideabi -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-functi |
| previewHash(hash){ | |
| var preview = document.querySelector('img'); | |
| var xhttp = new XMLHttpRequest(); | |
| xhttp.onreadystatechange = function() { | |
| if (this.readyState == 4 && this.status == 200) { | |
| // Typical action to be performed when the document is ready: | |
| preview.src = xhttp.responseText; | |
| } | |
| }; | |
| xhttp.open("GET", "http://swarm-gateways.net/bzz:/" + hash, true); |
I hereby claim:
To claim this, I am signing this object:
| >>> from pyobjus import autoclass | |
| >>> from pyobjus.dylib_manager import load_framework, INCLUDE | |
| >>> load_framework(INCLUDE.AppKit) | |
| >>> nscreen = autoclass('NSScreen') | |
| >>> screen_count = int(nscreen.screens().count()) | |
| >>> for scr in range(screen_count): | |
| ... screen = nscreen.screens().objectAtIndex_(0) | |
| ... print screen.frame.size.width, screen.frame.size.height | |
| ... | |
| 1680.0 1050.0 |