Tuesday, July 21, 2015

Retrieve a file that is mistakenly deleted with Git

Firstly, check the commits:

As-MacBook-Pro:Events aselims$ git log
commit dd2f0f7c2b3024ec29c2337be2f0a768a743a9a1
Author: aselims <selim.2k@gmail.com>
Date:   Tue Jul 14 20:22:15 2015 +0200

    time format.

commit 43032e348bf0015759836c4e5e035d66c62d05f1
Author: aselims <selim.2k@gmail.com>
Date:   Tue Jul 14 19:37:09 2015 +0200

    webFragment for support.
...

Then checkout the file you need from a specific revision
git checkout <revision> -- <path_to_file>

git checkout 43032e348bf0015759836c4e5e035d66c62d05f1 -- ./app/src/main/java/co/rahala/selim/events/util/WebFragment.java

The file is already now at its original place.

Tuesday, March 31, 2015

Resources to see!

A nice visualization of data: mix and match!
 https://keminglabs.com/ukuni/

Data Science at Harvard: 
 http://cm.dce.harvard.edu/2015/01/14328/publicationListing.shtml

Good for startups:
 https://developers.google.com/startups/

Thursday, January 22, 2015

Variety of possibilities

I quoted this from DeliAmsterdam.com. I modified it a bit. It really can describe our situation nowadays in many aspects of life:

"Having a lot of choices can be great, but it can also be confusing and you might end up not having found that one hidden gem. An Internet search could be a solution but the amount of information is overwhelming, and no one looks forward to a night of googling what one really needs. You need something customized to you and your personality!"


Wednesday, January 21, 2015

A Periodic Table of Visualization Methods

That is interesting!

If you are working with visualizations, this one will will get you on!
http://www.visual-literacy.org/periodic_table/periodic_table.html

Wednesday, January 7, 2015

Competition is the other face of hesitation


I have published an article in Medium.com about competition and the hesitated customer. It can be found at :

Competitive Cooperation, A paradigm shift!

Wednesday, January 22, 2014

Is it not too late!

The art of creating hope is really sth of need to the people who would like to do sth in their lives.
Why I am saying so?!
After I have passed by http://www.damonkohler.com/2012/12/cloud-robotics-at-devoxx-2012.html
about Cloud Robotics at Devoxx 2012... I just remembered old days when I dreamed about Robotics and how my objective at that time to be IT and Control Systems Engineer. Also, how I use his blog at 2009 to help me with my 1st Android application. I was having a passion for science and technology and I still do but I could not utilize it. I have this discovery spirit, moving from a technology to another without producing sth.
It is not enough to have a good intention or to be talented. It is ultimately critical to utilize what you have for what you want...
Stand up and survive!

Thursday, January 16, 2014

Restart Concept

In Digital World, The reboot or restart concept is always dominating! That is it if you have the ability to

  • Switch (device...) off and on 
  • Plug (cable...) and unplug 
  • Kill (app...) and restart it
  • ...
would be the easiest and the fastest way to solve the problem. If you are afraid from losing data or interrupting service then troubleshooting is the way but some times even you will need to apply the reboot concept.

A case study:
If you are facing a problem in identifying your android device to the ADB tool:
adb devices
List of devices attached is empty

device then, apply the Reboot Concept: All steps are intuitive but for the app, issue the following CMDs:
adb kill-server
adb start-server
BTW, to move new installtions in Android to the SDCard to solve the Memory low problem:
adb shell pm set-install-location 2