Tuesday, April 4, 2017

Android Development Tips

  1. How to access app files from internal storage
    • adb shell
    • run-as com.yourapp.package-name
    • Now you can navigate to the app_<app_name> folder and go through the files.
  2. Copy file from desktop to device sdcard
    • adb push d:\temp\delnow\console.log /sdcard
  3. Move file from sdcard to internal storage
    • adb shell
    • run-as com.sanjith.carcare
    • mv /sdcard/console.log ./app_CarCare/.
  4. Application log viewing
    • adb logcat | findstr "com.example.app"
    • adb -d logcat | findstr "com.example.app" > C:\file-path
  5. Next

Monday, September 26, 2016

How to use Scala along with Spark for a Java Developer

Below are tips and tricks I have learnt about Spark with Scala

  1. How to create dataset of custom objects
    import spark.implicits._ class MyObj(val i: Int) // ... val d = spark.createDataset(Seq(new MyObj(1),new MyObj(2),new MyObj(3)))
    Will give you error, so instead use kyro encoder
    import spark.implicits._ class MyObj(val i: Int) implicit val myObjEncoder = org.apache.spark.sql.Encoders.kryo[MyObj]
    // ...
    val d = spark.createDataset(Seq(new MyObj(1),new MyObj(2),new MyObj(3)))


Monday, September 5, 2016

Health Benefits of Kefir I have seen personally!

Disclaimer: This is not any medical advice or prescription, please consult doctor for any health issues. These are authors personal observations.


  1. Kefir drink is rich in B vitamins, enzymes which are essential for healthy individual.
  2. Kefir drink is very beneficial for dental health  as the root cause of dental decay or any other dental problems are bad bacteria. Regular intake of water Kefir fermented with lemon or ginger improves the dental health a lot and also removes the bad breath from mouth.
  3. Candida infections are cleared. Kefir is instrumental in removing candida infections by drinking regular water Kefir. It removes candida infections in mouth, private parts.
  4. Tendency towards Alcohol is gone. Sugar craving is reduced and improved the responsible living attitude, I mean taking care of personal health.
  5. Brightens the skin by regular application on skin.
  6. Anti depressant, it inhibits the feel good feeling by boosting the serotonin production.
  7. Solves several gut issues ranging from indigestion, acidity, constipation etc.
  8. Diabetic patients need to be careful while using water kefir, as it may contain more sugars if not reduced by doing second fermentation. In my case regular drinking of second fermented drink has brought down my sugar levels to normal range. 

Thursday, August 25, 2016

How to increase the growth of Kefir Grains?

If you want to increase the growth of Kefir grains you can do by adding mineral sources such as Baking Soda (only pinch of it, i.e. 1/16th of spoon) to the fermentation bottle. You can alternate it with organic Jaggery. Both are good sources of minerals; Jaggery contains molasses which is rich in minerals. Also do give just regular white sugar on few days.

While using jaggery make sure it is dissolved in the water otherwise Kefir cannot feed on it. Merchandises are selling the powdered jaggery also.

Kefir Grains need regular minerals as our water sources are mostly filtered and/or RO, so prolonged use of just RO water will deplete the Kefir health and content.

While using above mineral sources if Kefir grains and fermented liquid is turning slimy then it is clear indication that excess minerals are being fed. So you need to give them simple sugar liquid for few days until they become more crystalline. Also reduce the amounts of mineral sources. In case of jagerry you can use 50% jagerry and 50% plain sugar.

Monday, August 22, 2016

Everything you want to know about your Moto G4 Plus

Below are the various tips, tricks and how to's to use Moto G4 Plus efficiently and fully


  1. How to take screenshot on Moto G4 Plus?
    • For taking screenshot, follow the steps given below.
      • Go to the screen on which you want to capture screenshot.
      • Press and hold volume down and power button simultaneously.
      • The screenshot will be taken and saved in the Gallery folder. You can access it from “File Manager” or from the “Photos” app from Google which are preinstalled on your Moto G4 Plus.
  2. You can quick-load the camera with a double-tap of the power button, or a double-twist of your wrist.





References

  1. http://www.tech2touch.com/moto-g4-plus-tips-tricks-faq/
  2. http://www.digitaltrends.com/mobile/moto-g4-tips-and-tricks/
  3. https://recombu.com/mobile/article/moto-g4-plus-camera-review-and-comparison-vs-moto-g4-camera#
  4. http://www.trustedreviews.com/opinions/motorola-moto-g-tips-and-tricks

Tuesday, August 16, 2016

Kefir Articles

Below are list of various articles on water kefir which can help you to know more about water kefir and using it. If you have any questions about kefir or articles please feel free to ask here using comments section. 

 

How to prepare Water Kefir

FAQ on Water Kefir 

How to make Coconut Water Kefir

How to reduce sugar from water kefir (second fermentation!)

How did I made my wonderful Kefir Ginger Lemon drink