Skip to content

Instantly share code, notes, and snippets.

06-17 15:34:04.035 2748-2748/com.babelsdk.sample D/BRes﹕ loaded view tree
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.TextView{b1073a80 V.ED.... ......ID 0,0-0,0 #7f0a0005 app:id/babelTextView}
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ BabelTextView
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.Button{b105f6f0 VFED..C. ......I. 0,0-0,0 #7f0a0006 app:id/babelButton}
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.CheckBox{b1057410 VFED..C. ......ID 0,0-0,0 #7f0a0007 app:id/babelCheckBox}
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.RadioButton{b10ac290 VFED..C. ......ID 0,0-0,0 #7f0a0008 app:id/babelRadioButton}
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.EditText{b109f648 VFED..CL ......I. 0,0-0,0 #7f0a0009 app:id/babelEditText}
06-17 15:34:04.045 2748-2748/com.babelsdk.sample D/BRes﹕ android.widget.ImageView{b1061978 V.ED.... ......I. 0,0-
@jophde
jophde / Owned
Created June 18, 2014 21:52
Ownage
06-18 17:46:47.454: D/BabelSdk(1956): loaded view tree
06-18 17:46:47.564: D/BabelSdk(1956): android.widget.TextView{b106ba68 V.ED.... ........ 237,276-482,314 #7f0b0005 app:id/babelTextView}
06-18 17:46:47.564: D/BabelSdk(1956): BabelTextView
06-18 17:46:47.564: D/BabelSdk(1956): Matched text key: label_sample_text_view
06-18 17:46:47.564: D/BabelSdk(1956): BabelTextView Hint
06-18 17:46:47.564: D/BabelSdk(1956): Matched hint key: hint_sample_text_view
06-18 17:46:47.564: D/BabelSdk(1956): android.widget.Button{b1051a68 VFED..C. ........ 238,330-482,426 #7f0b0006 app:id/babelButton}
06-18 17:46:47.564: D/BabelSdk(1956): BabelButton
06-18 17:46:47.564: D/BabelSdk(1956): Matched text key: label_sample_button
06-18 17:46:47.564: D/BabelSdk(1956): android.widget.CheckBox{b1052b60 VFED..C. ........ 217,442-502,506 #7f0b0007 app:id/babelCheckBox}
@jophde
jophde / dashboard.css
Created March 12, 2011 19:50
prototype for dashboard
#dashboard {
border: 3px solid;
width: auto;
float:left;
}
#incoming {
border: 2px solid;
padding: 10px 10px 10px 10px;
margin: 10px 5px 10px 10px;
width: 200px;
public void fillShelves() {
setContentView(R.layout.records);
LayoutInflater mLayoutInflater = getLayoutInflater();
int i = 0;
while (i != Records.this.aData.length()) {
LinearLayout recordShelves = (LinearLayout) mLayoutInflater.inflate(R.layout.record_shelf,
(ViewGroup) findViewById(R.id.records));
LinearLayout recordShelf = (LinearLayout) recordShelves.getChildAt(recordShelves.getChildCount() - 1);
ImageButton record;
private class VenuesAdapter extends BaseAdapter implements ListAdapter {
private JSONArray venues;
private VenuesAdapter(JSONArray venues) {
assert venues != null;
this.venues = venues;
}
@Override
@jophde
jophde / MyBasicAdapter.java
Created November 9, 2011 22:46
ListView Adapter
private class VenuesAdapter extends BaseAdapter implements ListAdapter {
private final JSONArray venues;
private VenuesAdapter(JSONArray venues) {
assert venues != null;
this.venues = venues;
}
@jophde
jophde / Server.java
Created January 2, 2012 21:30
Singleton
package com.roqbot.client;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStreamReader;
@jophde
jophde / Yelp.txt
Created October 30, 2012 21:20
IRB Yelp Gem Dump
irb(main):001:0> require 'yelp'
SyntaxError: /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:37: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when Yelp::ResponseFormat::PICKLE: params[:output] = 'pickle'
^
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:38: syntax error, unexpected keyword_when, expecting keyword_end
when Yelp::ResponseFormat::PHP: params[:output] = 'php'
^
/usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/yelp-1.0.0/lib/yelp/request.rb:38: syntax error, unexpected ':'
when Yelp::ResponseFormat::PHP: params[:output] = 'php'
^
"aTimeTags": {
"36960": {
"idTimeTag": "36960",
"idVenue": "10",
"iStartHour": "4",
"iEndHour": "11",
"sName": "Morning",
"sAddDate": "2012-12-04 07:05:14"
},
"36961": {

Keybase proof

I hereby claim:

  • I am jophde on github.
  • I am jophde (https://keybase.io/jophde) on keybase.
  • I have a public key whose fingerprint is EE49 BC99 0750 8888 D2A4 3019 543C 928F EA35 B663

To claim this, I am signing this object: