I hereby claim:
- I am erraggy on github.
- I am erraggy (https://keybase.io/erraggy) on keybase.
- I have a public key whose fingerprint is DF66 1AE8 1FAD 953F 69D8 2094 6808 156D 53F8 2883
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.android.mms.transaction; | |
import android.app.AlarmManager; | |
import android.app.PendingIntent; | |
import android.content.BroadcastReceiver; | |
import android.content.ContentResolver; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.database.Cursor; | |
import android.database.sqlite.SqliteWrapper; |
I/Xposed ( 270): Loading class com.runnirr.xvoiceplus.XVoicePlus | |
D/com.runnirr.xvoiceplus.XVoicePlus( 270): Hooked standard SmsManager methods | |
D/com.runnirr.xvoiceplus.XVoicePlus( 270): Hooked Touchwiz SmsManager methods | |
D/com.runnirr.xvoiceplus.XVoicePlus( 270): Hooking app ops | |
D/com.runnirr.xvoiceplus.XVoicePlus( 2448): Hooking SmsReceiverService | |
D/Mms/SmsReceiverService( 2448): [SMS]Receiver handleMessage : Action =android.intent.action.SIM_STATE_CHANGED | |
D/Mms/SmsReceiverService( 2448): handleSIMStatus() | |
D/Mms/SmsReceiverService( 2448): handleSIMStatus(): SIM_STATUS = LOADED | |
D/Mms/SmsReceiverService( 2448): [SMS]Receiver handleMessage : Action =android.intent.action.BOOT_COMPLETED | |
D/Mms/SmsReceiverService( 2448): [start] handleBootCompleted() |
class WebTablePagesBySiteJob extends HJob[NoSettings]("Get articles by site", | |
HMapReduceTask( | |
HTaskID("Articles by Site"), | |
HTaskConfigs(), | |
HIO( | |
HTableInput(WebCrawlingSchema.WebTable), | |
HPathOutput("/reports/wordcount") | |
), | |
new FromTableBinaryMapperFx(WebCrawlingSchema.WebTable) { | |
val webPage : WebPageRow = row //For illustrative purposes we're specifying the type here, no need to |
class WebPageRow(table: WebTable, result: DeserializedResult) extends HRow[WebTable, String](result, table) { | |
def domain = new URL(rowid).getAuthority | |
} |
val dayViewsRes = ExampleSchema.ExampleTable.query.withKey(key).withColumnFamily(_.viewCountsByDay).single() | |
val dayViewsMap = dayViewsRes.family(_.viewCountsByDay) |
ExampleSchema.ExampleTable | |
.put("Chris").value(_.title, "My Life, My Times") | |
.put("Joe").value(_.title, "Joe's Life and Times") | |
.put("Fred").value(_.viewsArr,Seq("Chris","Bissell")) | |
.increment("Chris").value(_.views, 10l) | |
.put("Chris").valueMap(_.viewCountsByDay, Map(YearDay(2011,16)->60l, YearDay(2011,17)->50l)) | |
.execute() |
implicit object KittenSeqConverter extends SeqConverter[Kitten] |
implicit object KittenConverter extends ComplexByteConverter[Kitten] { | |
override def write(kitten: Kitten, output: DataOutputStream) { | |
output.writeUTF(kitten.name) | |
output.writeInt(kitten.age) | |
output.writeDouble(kitten.height) | |
} | |
override def read(input: DataInputStream) = { | |
Kitten(input.readUTF(), input.readInt(), input.readDouble()) | |
} |
case class Kitten(name:String, age:Int, height:Double) |