Johnny [Life & Code]

Semper Exploro!

Readings of 2013

leave a comment »

2013 Reading

2013 Reading

Call of the Wild was the most I enjoyed in this list. Quite happy with this year’s lot, even though the number of books is way too low :)

Written by Johnny

December 31, 2013 at 8:45 am

Posted in Thoughts

DHT 11 with Arduino Uno Experiment

leave a comment »

Trail run of DHT-11.

IMG_20131209_215907

Written by Johnny

December 9, 2013 at 10:10 pm

Posted in Thoughts

Road Trip : Desert Bound

leave a comment »

Written by Johnny

December 1, 2012 at 1:12 pm

Posted in Thoughts

Thinkpad X230 & Ubuntu 12.10

with 2 comments

Trackpad:

  • No easy tool to control touchpad.

Using xinput

jony@Icarus:~/bin$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]

To switch off trackpad : xinput set-prop 11 “Device Enabled” 0

To switch on trackpad : xinput set-prop 11 “Device Enabled” 1

  • How to control the sensitivity of trackpoint?

Audio Issues:

  • Internal speakers doesn’t work. Fixed with the new kernel (3.5.0-18-generic) update.
  • Mute button light is inconsistent. Sometime it comes up sometimes it doesn’t

Laptop Mode

Written by Johnny

November 10, 2012 at 9:10 am

Posted in CODE, Tech

Tagged with ,

Meet Astro…

with one comment

Meet my canine buddy “Astro”, the male labrador.

This video was taken when he was 1.5 months old.

Now..

Written by Johnny

June 27, 2012 at 11:18 am

Posted in Thoughts

Sublime Text syntax definition for Google Protocol Buffers

leave a comment »

Sublime Text  Syntax definition for Google Protocol Buffers.

Not robust – But its a start.

{ “name”: “ProtoBuf”,
“scopeName”: “source.proto”,
“fileTypes”: ["proto"],
“foldingStartMarker”: “{“,
“foldingStopMarker”: “}”,
“patterns”: [
{ “match”: “\\s+[0-9]*”,
“name”: “constant.numeric.proto”,
“comment”: “Field numbers”
},
{ “match”: “double|float|int32|int64|uint32|uint64|sint32|sint64|long|fixed32|fixed64|sfixed|sfixed64|bool|string|bytes”,
“name”: “storage.type.source.proto”,
“comment”: “Scalar Value types.”
},
{ “match”: “optional|required|repeated|default”,
“name”: “storage.modifier.source.proto”,
“comment”: “Field Rules”
},
{ “match”: “^message|^package|^option|^import|^extend|^service”,
“name”: “entity.name.function.proto”,
“comment”: “Message section”
},
{ “match”: “\/\/.*”,
“name”: “comment.line.double-slash.proto”,
“comment”: “Comments”
}
],
“uuid”: “f6a112ba-072a-47b3-b3e3-7714156b3614″
}

Update : Moved to emacs. But still still two-timing …

Update : Moved to emacs.

Written by Johnny

June 8, 2012 at 1:11 pm

Posted in CODE, Tech

Captain’s log 2011.02

with one comment

Written by Johnny

March 14, 2011 at 6:33 am

Posted in Thoughts

Follow

Get every new post delivered to your Inbox.

Join 453 other followers