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
#!/usr/bin/env python3 | |
import argparse | |
import shutil | |
import sys | |
from hashlib import sha256 | |
from zipfile import ZipFile | |
# download latest OTA from https://www.oneplus.com/support/softwareupgrade | |
# this has been extracted from OnePlus5TOxygen_43_OTA_038_all_1808082017_453d65d4235346a0.zip |
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
#include <glib.h> | |
#include <pango/pango.h> | |
#include <pango/pangocairo.h> | |
#include <fribidi/fribidi.h> | |
void dumphex(char* ptr, int n) { | |
while (*ptr && n) { | |
printf("%02hhx ", *ptr); | |
ptr += 1; | |
n -= 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
Running Sphinx v1.8.1 | |
[app] setting up extension: 'sphinx.builders.applehelp' | |
[app] setting up extension: 'sphinx.builders.html' | |
[app] adding builder: <class 'sphinx.builders.html.StandaloneHTMLBuilder'> | |
[app] adding builder: <class 'sphinx.builders.html.DirectoryHTMLBuilder'> | |
[app] adding builder: <class 'sphinx.builders.html.SingleFileHTMLBuilder'> | |
[app] adding builder: <class 'sphinx.builders.html.PickleHTMLBuilder'> | |
[app] adding builder: <class 'sphinx.builders.html.JSONHTMLBuilder'> | |
[app] adding config value: ('html_theme', 'alabaster', 'html') | |
[app] adding config value: ('html_theme_path', [], 'html') |
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
15:17:42.454 engine.io-client:polling polling +1ms browser.js:138 | |
15:17:42.454 engine.io-client:polling-xhr xhr poll +476ms browser.js:138 | |
15:17:42.454 engine.io-client:polling-xhr xhr open GET: http://localhost:5000/socket.io/?EIO=3&transport=polling&t=MMG8Tgt&sid=f099e93c52f1439a9561441cde88dd94 +0ms browser.js:138 | |
15:17:42.455 engine.io-client:polling-xhr xhr data null +1ms browser.js:138 | |
15:17:42.456 engine.io-client:socket probe transport "websocket" pong +1ms browser.js:138 | |
15:17:42.456 engine.io-client:socket pausing current transport "polling" +0ms browser.js:138 | |
15:17:42.456 engine.io-client:polling we are currently polling - waiting to pause +1ms browser.js:138 | |
15:17:43.379 socket.io-client:manager writing packet {"type":2,"data":["add_group","x"],"options":{"compress":true},"nsp":"/modules/organisation"} +2s browser.js:138 | |
15:17:43.379 socket.io-parser encoding packet {"type":2,"data":["add_group","x"],"options":{"compress":true},"nsp":"/modules/organisation"} +2s browser.js:138 | |
15:17:43.379 socket |
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
FpzbgAQYgAS_sZsyMDJdtTmzUyx3OM4tG7MyrNY2tSJfs-Wxei4JN_OtxbWirTKdvTDmNCEurTSKLqiyEjPxshk19jpVL9y2kan5tHcylDAgtbE2hy1SMs0nmrYas4KymDLLN_UpTjUTs_46BKwUtwE4Fy1INj4m1qj1Lpio-zKjNvmtp7inMTm3bjjrr-y4PbCRN5A2AzcsN1O0CznbrSYuXCyotDEyFi0ttKgpvqxVMn0wDDcZuDmwc7MfrXazAKhoMPG3EjYfOP-ha7GrLxc4GS7ht3WsnDE4M9Qv9bNUrRmhZC3hsDA06qyXqt2udjYlsTA1HTlDuQy4IzcHqJSp9LRtMOE4szUvNsuzN7ClNCIzz6DSthO4Ha6gt1c3RDj-KOowxbeurDy2M7ZiLNesjLneL6kfdLQQuSWvhrLHKaE41TRLNDOlmDKJMFixNLYjtUqzmrJGNrKuxTOGtxu4HiBNL0Uz0SnNOeYyyDA9NnS4Tza3qBG63TOvK06zaDMrOBs36rSWOBm1C7Mnsfg2LTbAGbEd5jXmNCaoUbVNKSKpDTSENLGzpq3dMCAw6y_Ys1w0FjRrNIk5LzObtg60dLNLMW2zvrOqrMie5jL_MnC0ubiMqwAu-TAStiIiGTQoOHCxcaAuMYKtb7b6MHAyMKyCJ9-zOiygOKOyCrRTtl25hTU8Mx3AGqBSF0AKxOigAAAAF0AJH6UgAAAAFz_6X20gAAAAFVYVpxEdwB67MB0-6r04Gf0UQIpXXECGpIZAes_IQHD-W0BqEKdAZ9U_QF3iLUBbqRNAWMSVQFYnRUBUHlFAUIU6QE4nMUBKzfhASP0pQDqtqEAydv9ALDRrQCbHxEAV0441AAjIAQdkZjMtZjE2AA |
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
<BV Concat ( | |
<BV BVV ( | |
32, | |
8 | |
)>, | |
<BV widen ( | |
<BV union ( | |
<BV BVV ( | |
0, | |
8 |
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
diff --git a/app/build.gradle b/app/build.gradle | |
index 6d9100f1dfb4d160333b81657651a689c30e27bd..c4528b0 100644 | |
--- a/app/build.gradle | |
+++ b/app/build.gradle | |
@@ -60,6 +60,8 @@ dependencies { | |
implementation 'android.arch.persistence.room:runtime:1.0.0' | |
annotationProcessor 'android.arch.persistence.room:compiler:1.0.0' | |
testImplementation 'android.arch.persistence.room:testing:1.0.0' | |
+ androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3' | |
+ |
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
2017-12-10 18:25:46,567 [d thread 4] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /nix/store/ra54mj52cazya9jl8vjdkccj4a6qvpvn-android-studio/jre | |
2017-12-10 18:25:46,568 [d thread 4] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /nix/store/ra54mj52cazya9jl8vjdkccj4a6qvpvn-android-studio/jre | |
2017-12-10 18:25:46,576 [d thread 4] INFO - oject.common.GradleInitScripts - init script file sync.local.repo contents "allprojects {\n buildscript {\n repositories {\n maven { url '/nix/store/ra54mj52cazya9jl8vjdkccj4a6qvpvn-android-studio/gradle/m2repository'}\n }\n }\n repositories {\n maven { url '/nix/store/ra54mj52cazya9jl8vjdkccj4a6qvpvn-android-studio/gradle/m2repository'}\n }\n}\n" | |
2017-12-10 18:25:46,578 [d thread 4] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: -Didea.version=3.0 -Djava.awt.headless=true -Pandroid.injected.build.model.only=true -Pandroid.injected.build.model.only. |
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
package io.bennofs.androidplayground; | |
import android.arch.persistence.room.ColumnInfo; | |
import android.arch.persistence.room.Dao; | |
import android.arch.persistence.room.Database; | |
import android.arch.persistence.room.Delete; | |
import android.arch.persistence.room.Entity; | |
import android.arch.persistence.room.Insert; | |
import android.arch.persistence.room.PrimaryKey; | |
import android.arch.persistence.room.Query; |