Skip to content

Instantly share code, notes, and snippets.


Wesley Lin westlinkin

View GitHub Profile
View gist:e10ef932c21116743d63
03-24 11:39:21.264 27262-27262/com.ihanghai.cc_go D/HeadMountedDisplayManager: Cardboard screen parameters file not found: /storage/emulated/0/Cardboard/phone_params: open failed: ENOENT (No such file or directory)
03-24 11:39:21.269 27262-27262/com.ihanghai.cc_go I/HeadMountedDisplayManager: Successfully read device params from external storage
03-24 11:39:21.269 27262-27262/com.ihanghai.cc_go D/CardboardViewNativeImpl: NativeProxy not found
03-24 11:39:21.269 27262-27262/com.ihanghai.cc_go D/CardboardViewNativeImpl: Loading native library vrtoolkit
03-24 11:39:21.269 27262-27262/com.ihanghai.cc_go D/CardboardViewNativeImpl: Native library loaded
03-24 11:39:21.289 27262-27262/com.ihanghai.cc_go W/art: Attempt to remove non-JNI local reference, dumping thread
03-24 11:39:21.308 27262-27262/com.ihanghai.cc_go I/Rajawali: Rajawali | Bombshell | v1.1 Development
03-24 11:39:21.308 27262-27262/com.ihanghai.cc_go I/Rajawali: THIS IS A DEV BRANCH CONTAINING SIGNIFICANT CHANGES. PLEA
westlinkin / MTStatusBarOverlay.m
Created Jan 18, 2016
A little weak of MTStatusBarOverlay to support iOS 9 and above
View MTStatusBarOverlay.m
// MTStatusBarOverlay.m
// Created by Matthias Tretter on 27.09.10.
// Copyright (c) 2009-2011 Matthias Tretter, @myell0w. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
westlinkin / ExtAudioRecorder
Created Aug 21, 2013
record audio and save as .wav
View ExtAudioRecorder
package com.ihanghai.googlesearch
View Amazon ads fail log
05-24 11:43:33.051: D/AmazonMobileAds AdLocation(18708): Failed to retrieve GPS location: No permissions to access GPS
05-24 11:43:33.051: D/AmazonMobileAds AdLocation(18708): Failed to retrieve network location: No permissions to access network location
05-24 11:43:33.059: D/AmazonMobileAds AdRequest(18708): Generated AAX url:
View gist:5149183
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="">
<item android:state_pressed="true" android:drawable="@drawable/btn_share_press"/>
<item android:state_selected="true" android:drawable="@drawable/btn_share_press"/>
<item android:state_focused="true" android:drawable="@drawable/btn_share_press"/>
westlinkin / gist:4617409
Created Jan 24, 2013
kindle fire full screen
View gist:4617409
protected void onCreate(Bundle savedInstanceState) {
private void setFullScreen(){
View gist:4045540
NFO - [Nov 09 20:52:01] Enable aggressive create_ssl_connection to connect google_hk
Traceback (most recent call last):
File "", line 1816, in <module>
File "", line 1811, in main
server = gevent.server.StreamServer((common.LISTEN_IP, common.LISTEN_PORT), gaeproxy_handler)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 408, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 419, in server_bind
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 224, in meth
socket.error: [Errno 48] Address already in use
View gist:4045515
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 162, in _run_module_as_main
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 72, in _run_code
File "", line 10, in <module>
File "", line 5, in main
File "", line 13, in <module>