Skip to content

Instantly share code, notes, and snippets.

View martinbonnin's full-sized avatar
😃

Martin Bonnin martinbonnin

😃
View GitHub Profile
class Test:
def __init__(self):
self.name = "test";
def print_name(self):
def name_cb():
print("why do I need to reference self here ?" + self.name);
return eval("self.name");
print(name_cb());
class Box(boxtype, extended_type)
{
uint(32) size;
string(4) type;
@args.boxtype = type;
if(size == 1)
{
uint(64) largesize;
@size = 8*largesize;
}
Load existing description file : /usr/local/home/martin/.hexamonkey/asf.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/avi.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/jpeg.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/microsoft.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/mp4.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/png.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/rgb.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/sqlite.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/ts.hmc
Load existing description file : /usr/local/home/martin/.hexamonkey/uuid.hmc
diff --git a/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java b/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
index c6858ee..a4da75f 100644
--- a/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
+++ b/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
@@ -259,6 +259,27 @@ import java.util.List;
handler.sendEmptyMessage(MSG_INCREMENTAL_PREPARE);
}
+ private void updateDuration() {
+ long durationUs = 0;
diff --git a/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java b/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
index c6858ee..33fd681 100644
--- a/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
+++ b/library/src/main/java/com/google/android/exoplayer/ExoPlayerImplInternal.java
@@ -259,6 +259,27 @@ import java.util.List;
handler.sendEmptyMessage(MSG_INCREMENTAL_PREPARE);
}
+ private void updateDuration() {
+ long durationUs = 0;

Keybase proof

I hereby claim:

  • I am martinbonnin on github.
  • I am martinbonnin (https://keybase.io/martinbonnin) on keybase.
  • I have a public key whose fingerprint is B89E 1BC4 695F BC6C 20B0 342B BB93 99DE 8BC3 4479

To claim this, I am signing this object:

{
"_index": "blackbox-api-2015-10-24",
"_type": "api",
"_id": "AVCYFBWODlXMvZvoVcEF",
"_score": 2.2089527,
"_source": {
"ip": "39.49.37.157",
"method": "list_comments",
"args.client_type": "androidapp",
"host": "cached",
Vysor version 1.0.6.2
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36
gcm registration APA91bEE-pIasYa60qubL1N18yfVcFzrng9ik-0VmbFDfomyeNNJyPcFhns6Cszz3J4XoFZtJdBsVZ3ykPCBWLMusHhL01rm1IZ5x1Nc-aXfMudJ0UsOXG0VGGR-d441T--WdZU8UFIP9ZQiyH1jgDsThaUUu9Wk0w
installing apk
protocol version: vysor-io-12
using /system/bin/app_process32
got main socket Socket
set password
notification: Vysor is connecting to a remote Android device
attempting to connect to shared device https://vysor.clockworkmod.com/view/APA91bHiP0V8nn68mQb-xZSE7KU4PK1Zzx4ngPg…l3wUFZy2gcvJNCPsh_UsiAqaA4dG0XhgxrUFrtcDhJ5FBBJn55-ogKDio349XLyQ/3770bb14/