Skip to content

Instantly share code, notes, and snippets.

View MichaelSnowden's full-sized avatar

Michael Snowden MichaelSnowden

View GitHub Profile
11-14 16:55:55.439: DEBUG/dalvikvm(2342): Debugger has detached; object registry had 446 entries
11-14 16:55:55.509: DEBUG/AndroidRuntime(2364): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
11-14 16:55:55.509: DEBUG/AndroidRuntime(2364): CheckJNI is ON
11-14 16:55:55.509: DEBUG/dalvikvm(2364): Trying to load lib libjavacore.so 0x0
11-14 16:55:55.509: DEBUG/dalvikvm(2364): Added shared lib libjavacore.so 0x0
11-14 16:55:55.509: DEBUG/dalvikvm(2364): Trying to load lib libnativehelper.so 0x0
11-14 16:55:55.509: DEBUG/dalvikvm(2364): Added shared lib libnativehelper.so 0x0
11-14 16:55:55.539: DEBUG/AndroidRuntime(2364): Calling main entry com.android.commands.pm.Pm
--------- beginning of /dev/log/system
11-14 16:55:55.549: WARN/ActivityManager(1215): No content provider found for permission revoke: file:///data/local/tmp/com.example.OpenGLDemo2
@MichaelSnowden
MichaelSnowden / DemoProjectActivity.java
Created November 16, 2013 01:23
DemoProjectActivity
package demo.project;
import android.app.Activity;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
public class DemoProjectActivity extends Activity
{
@MichaelSnowden
MichaelSnowden / DemoProjectRenderer.java
Created November 16, 2013 01:23
DemoProjectRenderer
package demo.project;
import android.opengl.GLSurfaceView;
import javax.microedition.khronos.opengles.GL10;
/**
* Created with IntelliJ IDEA.
* User: michaelsnowden
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="demo.project"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:targetSdkVersion="8" android:minSdkVersion="18"></uses-sdk>
<uses-feature android:glEsVersion="0x00020000" android:required="true"></uses-feature>
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
<activity android:name="DemoProjectActivity"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
@MichaelSnowden
MichaelSnowden / gist:7521067
Created November 18, 2013 01:42
Running Intel Atom x86 Emulator with simple OpenGL ES 2.0 project
--------- beginning of /dev/log/main
11-17 20:40:58.100: INFO/qemu-props(936): connected to 'boot-properties' qemud service.
11-17 20:40:58.100: INFO/qemu-props(936): receiving..
11-17 20:40:58.100: INFO/qemu-props(936): received: dalvik.vm.heapsize=64m
11-17 20:40:58.110: INFO/qemu-props(936): receiving..
11-17 20:40:58.110: INFO/qemu-props(936): received: qemu.sf.lcd_density=320
11-17 20:40:58.110: INFO/qemu-props(936): receiving..
11-17 20:40:58.110: INFO/qemu-props(936): received: qemu.hw.mainkeys=0
11-17 20:40:58.110: INFO/qemu-props(936): receiving..
11-17 20:40:58.110: INFO/qemu-props(936): received: qemu.sf.fake_camera=none
@MichaelSnowden
MichaelSnowden / gist:8485051
Created January 18, 2014 01:46
The entire vagrant file for my stack overflow question
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :forwarded_port, guest: 80, host: 3456 # nginx
config.vm.hostname = "example"
@MichaelSnowden
MichaelSnowden / pip install debug info
Created January 19, 2014 07:30
This is the debug log after I tried running pip install fabric
------------------------------------------------------------
/usr/local/bin/pip run on Sat Jan 18 23:22:56 2014
Downloading/unpacking fabric
Getting page https://pypi.python.org/simple/fabric/
URLs to search for versions for fabric:
* https://pypi.python.org/simple/fabric/
Analyzing links from page https://pypi.python.org/simple/Fabric/
Found link https://pypi.python.org/packages/any/F/Fabric/Fabric-0.0.1.macosx-10.4-i386.tar.gz#md5=ca0b71422e2ce4d71947d13751d17672 (from https://pypi.python.org/simple/Fabric/), version: 0.0.1.macosx-10.4-i386
Found link https://pypi.python.org/packages/any/F/Fabric/Fabric-0.0.2.macosx-10.4-i386.tar.gz#md5=d09773af77ce36bc1b55d0cdcf8598c0 (from https://pypi.python.org/simple/Fabric/), version: 0.0.2.macosx-10.4-i386
Found link https://pypi.python.org/packages/any/F/Fabric/Fabric-0.0.3.macosx-10.4-i386.tar.gz#md5=c887a7dd5ee59fbb1c5ccded6e5b596d (from https://pypi.python.org/simple/Fabric/), version: 0.0.3.macosx-10.4-i386
@MichaelSnowden
MichaelSnowden / Vagrant-chef log
Created January 20, 2014 04:09
Some vagrant-chef debug info
Michaels-MacBook-Pro-2:django-chef michaelsnowden$ sudo -s 'echo "127.0.0.1 example.example.com" >> /etc/hosts'
Michaels-MacBook-Pro-2:django-chef michaelsnowden$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
@MichaelSnowden
MichaelSnowden / Vagrant-chef log 02
Created January 20, 2014 10:06
My second vagrant-chef debug log, meant for Will to see
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
@MichaelSnowden
MichaelSnowden / Vagrant fab debug log 02
Created January 20, 2014 10:11
This is what happened when I tried running fab vagrant:honza bootstrap
[localhost] local: vagrant ssh-config
[localhost] local: vagrant ssh-config
[vagrant@127.0.0.1:2200] run: test -e /opt/example/apps/example/src || ln -s /vagrant/src /opt/example/apps/example/src
[vagrant@127.0.0.1:2200] out: /home/vagrant/.bashrc: line 34: cd: /opt/example/apps/example/src: No such file or directory
[vagrant@127.0.0.1:2200] out: /home/vagrant/.bashrc: line 34: cd: /opt/example/apps/example/src: No such file or directory
[vagrant@127.0.0.1:2200] out:
[vagrant@127.0.0.1:2200] run: pip install -r requirements.txt
[vagrant@127.0.0.1:2200] out: /home/vagrant/.bashrc: line 34: /opt/example/venvs/example/bin/activate: No such file or directory
[vagrant@127.0.0.1:2200] out: /home/vagrant/.bashrc: line 34: /opt/example/venvs/example/bin/activate: No such file or directory