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:
''' Code Inspired by http://github.com/tito 's NFC gist | |
This is a complete implementation allowing for NFC tag or p2p detection | |
Allows you to create any type of NdefRecord using functions like | |
`create_RTDURI(uri)` | |
This is the Android implementatoin of NFC Scanning using the | |
built in NFC adapter of some android phones. | |
''' | |
from kivy.app import App | |
from kivy.clock import Clock |
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() |
''' | |
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" |
''' | |
IOS file chooser | |
-------------------- | |
This module houses the iOS implementation of the plyer FileChooser. | |
.. versionadded:: 1.4.4 | |
''' | |
from plyer.facades import FileChooser |
'''This is a simple example of how to use suggestion text. | |
In this example you setup a word_list at the begining. In this case | |
'the the quick brown fox jumps over the lazy old dog'. This list along | |
with any new word written word in the textinput is available as a | |
suggestion when you are typing. You can press tab to auto complete the text. | |
''' | |
import sys | |
from kivy.clock import Clock | |
from kivy.app import App | |
from kivy.uix.textinput import TextInput |
/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: