Labels
android
Assembly Language
bash
Beagle Bone Black
c
c++
CL1
competitive programming
compiler
computer vision
data structure
database
dsps
encryption
games
graphs
hacks
java
linux
lisp
MIL
monte carlo algo
MPAL
networking
OOMCPL
osa
perl
pl
PL -3
PL-1
PL-2
PL-4
python
qt
recursive algorithms
Scala
security
sorting
storage
terminal
ubuntu
utilities
Wednesday, 7 December 2016
Wednesday, 2 November 2016
Tuesday, 1 November 2016
Saturday, 29 October 2016
Fenwick Tree to Maintain A count of number of even numbers
Thursday, 27 October 2016
Tuesday, 25 October 2016
Python Sets:Checking whether a given string contains all the vowels in english language
Q: To check whether the given string contains all the vowels in english language.
Monday, 24 October 2016
Friday, 7 October 2016
How to Dive into Android
Introduction
![]() |
| Android Programing |
Saturday, 10 September 2016
Execute Commands at a Specific Time in Linux-"at"
The other day I was reading about Reliance Jio Offers. Most of their plans come with limited data, but during night times you get unlimited usage. The catch is that night time period is only three hours 2:00 am to 5:00 am.
Unless you are either nocturnal animal like an owl, or a bi-phasic / polyphasic sleeper this implies that you cannot use the unlimited night time benefit. While this might be the case for an average user but for expert users(people who read my blog :-P) this is no problem.
Guess what Linux offers multiple ways to solve this problem
- Cron : Read about this yourself. I will not be covering this in the current article. This is more suitable for recurring jobs.
- At: The at command this is more suitable for one time jobs. This will be covered in this article.
Android also offers this facility. You might need to have root access for this though. I have covered this in one of earlier articles about Tasker.
Ps: I have no knowledge about IOS, Windows , or Mac platform pertaining to this automation issue. So go figure it out yourselves, in case you are using one of these platforms, leave a comment below explaining how you did it. And I will create a new post for the same.
Wednesday, 7 September 2016
Identify Mobile Operating System using Python and ADB
Q:Write a Python/Java/C+ program to verify the operating system name
and version of Mobile devices.
Note: This program will only work for android devices. (Since Iphones do not have anything equivalent to adb. )No wonder android is the favorite platform when it comes to app development. Android market is also more developer friendly as compared to its ios counterpart.
Errors: In case you get an error about insufficient permission, either edit udev rules or borrow a phone from your friend, having a well known global manufacturer.
OS:Fedora 20 64 bit
Phone: Sony Xperia
Language: Python
Dependencies: Just adb package,No need for sdk
fedora: <yum install adb>
ubuntu: <apt-get install adb>
Dependencies: Just adb package,No need for sdk
fedora: <yum install adb>
ubuntu: <apt-get install adb>
Subscribe to:
Posts (Atom)




