Skip to content

Instantly share code, notes, and snippets.

View mlasak's full-sized avatar

Martin Lasak mlasak

  • Fraunhofer FOKUS
  • Berlin
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mlasak on github.
  • I am mlasak (https://keybase.io/mlasak) on keybase.
  • I have a public key whose fingerprint is 0FCD CDCC 84C7 CC46 A494 E19F 6C81 19BA 3727 A774

To claim this, I am signing this object:

@mlasak
mlasak / rabbit-test-sasl.log
Created April 21, 2015 11:01
Authentication with SSL client certificates fails (SASL)
=CRASH REPORT==== 21-Apr-2015::12:26:48 ===
crasher:
initial call: gen:init_it/6
pid: <0.436.0>
registered_name: []
exception exit: {network_error,
{ssl_upgrade_error,{tls_alert,"handshake failure"}},
"XXX.XXX.XXX.XXX:57674 -> XXX.XXX.XXX.XXX:8883"}
in function gen_server2:terminate/3 (src/gen_server2.erl, line 1145)
@mlasak
mlasak / rabbit-test-log
Created April 21, 2015 10:33
Authentication with SSL client certificates fails
=INFO REPORT==== 21-Apr-2015::12:26:36 ===
Starting RabbitMQ %%VSN%% on Erlang 17.4.1
Copyright (C) 2007-2014 GoPivotal, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
=INFO REPORT==== 21-Apr-2015::12:26:36 ===
node : rabbit-test@i3dhcp168
home dir : /Users/USERNAME
config file(s) : /Users/USERNAME/devel/DPS/exe/rabbitmq-public-umbrella/rabbitmq-mqtt/test/ebin/test.config
@mlasak
mlasak / gist:7545941
Created November 19, 2013 14:10
logcat
I/chromium(15901): [15901:15901:1119/150832:19530981746:INFO:CONSOLE(73)] "######## 61.771: Requesting webcam", source: http://localhost:8080/apps/1a7f02a04047197983cec6ead73df9f6228b8603/wgt/index.html (73)
F/chromium(15901): [15901:15901:1119/150832:19530988491:FATAL:media_devices_monitor.cc(14)] Check failed: BrowserThread::CurrentlyOn(BrowserThread::IO).
F/libc (15901): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 15901 (ntent_shell_apk)
D/FolderObserver(11919): event: 2 path: log.txt
D/YouTube (13043): apps.youtube.core.transfer.an.onReceive:713 media mounted true
D/MediaScannerReceiver(13003): action: android.intent.action.MEDIA_MOUNTED path: /storage/emulated/0
W/ActivityManager( 518): Permission denied: checkComponentPermission() owningUid=10015
W/BroadcastQueue( 518): Permission Denial: broadcasting Intent { act=android.intent.action.MEDIA_MOUNTED dat=file:///storage/emulated/0 flg=0x10 } from org.webinos.android (pid=11919, uid=10070) is not exported from uid 10015 due to receiver
@mlasak
mlasak / log
Last active December 27, 2015 18:39
webinos build on mac
Martins-MacBook-Pro:build-test-pzp mla$ libtool
libtool: no output file specified (specify with -o output)
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
Martins-MacBook-Pro:_mywebinos mla$ git clone https://github.com/webinos/webinos-pzp.git build-test-pzp
Cloning into 'build-test-pzp'...
remote: Counting objects: 1472, done.
remote: Compressing objects: 100% (725/725), done.
@mlasak
mlasak / logcat
Created November 7, 2013 13:52
webinos startup on android
I/InputReader( 2244): Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.24 ]
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/InputDispatcher( 2244): Delivering touch to current input target: action: 0x0
I/TwDVFSBroadcastReceiver( 2581): onLauncherIntent
D/PowerManager( 2581): DVFSLock : acquire : timeout : 1000
I/power ( 2244): *** acquire_dvfs_lock : lockType : 1 freq : 1400000
D/PowerManagerService( 2244): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1400000 uid : 1000 pid : 2581 tag : TwDVFSBroadcastReceiver
I/InputReader( 2244): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=]
@mlasak
mlasak / logcat
Created October 9, 2013 08:58
chromium based wrt on nexus7
I/ActivityManager( 461): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.webinos.android/.app.wrt.ui.WidgetListActivity} from pid 747
D/dalvikvm( 461): GC_FOR_ALLOC freed 652K, 11% free 13625K/15248K, paused 53ms, total 56ms
I/dalvikvm-heap( 461): Grow heap (frag case) to 13.710MB for 251120-byte allocation
D/dalvikvm( 461): GC_FOR_ALLOC freed 18K, 11% free 13852K/15496K, paused 53ms, total 53ms
D/dalvikvm( 1896): Late-enabling CheckJNI
I/ActivityManager( 461): Start proc org.webinos.android for activity org.webinos.android/.app.wrt.ui.WidgetListActivity: pid=1896 uid=10066 gids={50066, 3003, 1015, 3002, 3001, 1006, 1028}
D/dalvikvm( 1896): GC_CONCURRENT freed 166K, 5% free 7650K/7984K, paused 3ms+8ms, total 30ms
D/dalvikvm( 1896): WAIT_FOR_CONCURRENT_GC blocked 21ms
D/libEGL ( 1896): loaded /system/lib/egl/libEGL_tegra.so
D/libEGL ( 1896): loaded /system/lib/egl/libGLESv1_CM_tegra.so
@mlasak
mlasak / gist:6716305
Created September 26, 2013 16:04
webinos-android chromium integrated build log
i3dhcp189:webinos-android mla$ ant clean
Buildfile: /devel/_mywebinos/webinos-android/build.xml
-check-env:
[checkenv] Android SDK Tools Revision 22.0.5
[checkenv] Installed at /devel/android-sdk-macosx
-setup:
[echo] Project Name: webinos-android
[gettype] Project Type: Application
@mlasak
mlasak / logcat
Created August 29, 2013 08:54
Exception while loading Resources even they are present as R.class files
08-29 10:48:44.991: D/dalvikvm(3767): Trying to load lib /data/app-lib/org.chromium.content_shell_apk-1/libcontent_shell_content_view.so 0x422d7c80
08-29 10:48:45.031: D/dalvikvm(3767): Added shared lib /data/app-lib/org.chromium.content_shell_apk-1/libcontent_shell_content_view.so 0x422d7c80
08-29 10:48:45.041: I/LibraryLoader(3767): loaded: content_shell_content_view
08-29 10:48:45.041: I/chromium(3767): [INFO:library_loader_hooks.cc(70)] Chromium logging enabled: level = -1, default verbosity = 1
08-29 10:48:45.071: I/BrowserProcessMain(3767): Initializing chromium process, renderers=9
08-29 10:48:45.131: I/ResourceExtractor(3767): Extracting resource content_shell.pak
08-29 10:48:45.281: D/libEGL(3767): loaded /system/lib/egl/libEGL_tegra.so
08-29 10:48:45.291: D/libEGL(3767): loaded /system/lib/egl/libGLESv1_CM_tegra.so
08-29 10:48:45.301: D/libEGL(3767): loaded /system/lib/egl/libGLESv2_tegra.so
08-29 10:48:45.321: D/OpenGLRenderer(3767): Enabling debug mode 0
@mlasak
mlasak / doExport.sh
Last active December 21, 2015 22:28
Exports all needed ContentShell resources as basis for an Android project. Script still under construction!
#!/bin/sh
# Contributed to the webinos project.
# License: http://www.apache.org/licenses/LICENSE-2.0
echo "Exports all needed ContentShell resources as basis for an Android project."
echo "--------------------------------------------------------------------------"
if [ -z $1 ]; then
echo "place this script next to your chromium 'src' folder"
echo "run this script after successfull 'ninja -C out/Debug -j8 content_shell_apk' build"