CMR Marketplace Day

Mozilla Hyderabad conducted Marketplace Day event at CMR-IT College. This event was planned long back and as we approached near the event date, Mozlando got us some news about Firefox OS. With this news of Firefox OS being pivoted to Connected Devices, we tweaked the event to focus on IoT instead of Marketplace.

In the event we (myself and Dyvik Chenna) covered following topics –

The event was a great fun – we played games, learned new things and interacted with many amazing people there. I would like to thank each one of the participants to help us make this amazing. Feel free to get in touch with us for any queries. Special thanks to Sistla Madhukar and Raghavendra Abhilash to take this initiative and organise this event, you and your club is really doing great. Many congratulations to your club for winning FSA Club of the month award, you guys really deserve this.


Setting brightness permanenty in Ubuntu

The brightness level is reset automatically in Ubuntu each time you restart the computer. Here is how you can set it permanently.

  1. Set desired brightness level manually & check what’s its value using –
    cat /sys/class/backlight/acpi_video0/brightness
  2. Then set this value rc.local file (right before exit statement) using following command –
    sudo gedit /etc/rc.local

Be unique YOU, not everybody else!

Friends, I have, so far, met 21.5 million youth in a decade’s time. I learnt, every youth wants to be unique, that is, YOU! But the world all around you, is doing its best, day and night, to make you just “everybody else”. Now the question is whether you want to be you or everybody else. We like everybody else is convenient at the first glance but not satisfying at the long vision, the challenge therefore is that you have to fight the hardest battle which any human being can ever imagine and never stop fighting until arriving to the destine place, that is you arrive at unique YOU.

Friends what will be your tools to fight this battle, what are they: have a great aim in life, continuously acquire the knowledge, work hard and persevere to realize the great achievement.

– Dr A P J Abdul Kalam


Battery Alarm VBS Script

Simple VBS script (save it as .vbs file and run) to get once the laptop battery is charged up to given (90 in this case) percentage.

set oLocator = CreateObject("WbemScripting.SWbemLocator")
 set oServices = oLocator.ConnectServer(".","root\wmi")
 set oResults = oServices.ExecQuery("select * from batteryfullchargedcapacity")
 for each oResult in oResults
 iFull = oResult.FullChargedCapacity
while (1)
 set oResults = oServices.ExecQuery("select * from batterystatus")
 for each oResult in oResults
 iRemaining = oResult.RemainingCapacity
 bCharging = oResult.Charging
 iPercent = ((iRemaining / iFull) * 100) mod 100
 if bCharging and (iPercent > 90) Then msgbox "Battery is at " & iPercent & "%",vbInformation, "Battery monitor"
 wscript.sleep 30000 ' 5 minutes