Top 10 Most Beautiful Movies of All Time

Posted in Uncategorized

How to work with tools like adb and fastboot on your android device (installations of Drivers and tools)

What are ADB and Fastboot?

Both of these tools allow you to send terminal commands to your phone from your computer via USB. They are with different functions, but when you are using them, you probably want to install them together.

Android Debug Bridge (ADB):

ADB allows you to send an array of commands to your phone, which includes the shell commands on your phone. ADB also allows you to remotely install packages, get debut information, networking and scripting.

Fastboot:

fastboot is a small tool that comes with the Android SDK (software developer kit) that can be used to re-flash partitions on your device. It is an alternative to the recovery mode for doing installations and updates from your workstation. You use can it when you need to modify your phones firmware, install a new one, run bootloader commands. However fastboot needs to be enabled on your phone, not all phone comes with fastboot installed.

Before I introduce the steps, I will summarize a checklist, which will help you evaluate your progress in case you are having trouble the drivers or tools

Adb and fastboot checklist

  1. Install the adb and fastboot tools. These you need to run it from command line keeping them on your present working directory, you might use this path as a system binary path, in case you want to use this command all across the system. (Step A1)
  2. Enable debug option on your phone and turn on USB debugging (A1.1 )
  3. Open your device manager on your pc
  4. Connect your phone with your PC while it is on
  5. Monitor the “android ADB interface driver” auto installation or install drivers manually
    1. Check device manager for driver installation
    2. Use “adb devices” command to see if the device is communication properly on USB debug mode (A1.4)
    3. Incase step a or/and b fails  find and install appropriate driver,(A1.3) and try step a and b until success. You might need to reboot between new driver installation to make it work
  6. Boot your phone into fastboot mode by running “adb.exe reboot-bootloader”. You may also boot your device into fastboot mode using key combination (specified by the hardware vendor)
  7. Monitor the “fastboot interface drivers” auto installation or install drivers manually
    1. Check device manager for driver installation
    2. Run “fastboot devices” to see if the device communicating with the PC with the fastboot interface. (B2)
    3. Incase step a or/and b fails  find and install appropriate driver, and try step a and b until (Incase fastboot is not persistent make sure appropriate driver is installed) (B2.1)

Hope these steps helps you getting appropriate access to your device

Read more ›

Tagged with: , , , , , , , , , ,
Posted in Linux, Making things work, Open Source, Technology

LG Ultra HD TV Prank – End Of The World Job Interview [Meteor Explodes]

Posted in Technology, world

If not anything else we should raise our voice for Palestinian people and to find a solution

Posted in world

MySQL Server administration/basic commands/quick reference

Mysql Server Password

Login to mysql server for the first time without a password

root@ubuntu:~# mysql –u root

Set a new password for root in mysql server

 root@ubuntu:~# mysqladmin -u root  password ‘secret_password’

login to mysql with a password

root@ubuntu:~# mysql –u root –p

Enter the password when prompted

Manage database in mysql server

List all the databases on the mysql server

mysql> show databases;

To create a new database in mysql

mysql> create database database_name;

To delete a database from mysql

mysql> drop database database_name;

Users and privileges management in mysql server

Create a user testuser with permission to connect to the server from local host using a password ‘helloworld’ in mysql

mysql> grant usage on *.* to testuser@localhost identified by ‘helloworld’;

And finally we grant all privileges on the database_name database to this user in mysql

mysql> grant all privileges on database_name.* to testuser@localhost ;

Show the list of users in mysql

mysql> select user,host from mysql.user;

To find the privilege(s) granted to a particular MySQL account:

mysql> show grants for ‘root’@’localhost’;

To find privilege of the current MySQL account (account logged in with):

mysql> show grants;

database backup and restoration in mysql server

To backup a mysql database

root@ubuntu:~# mysqldump -u root -p database_name > dumpfilename.sql

to restore mysql database, the database must exist in mysql

root@ubuntu:~# mysql -u root -p databse_name < dumpfilename.sql

Tagged with: , , , ,
Posted in Uncategorized

Confirmation bias

It ain’t what you don’t know that gets you into trouble. It’s what you know for sure that just ain’t so    —MARK TWAIN

What is confirmation bias?

Confirmation bias is a general tendency of people to favor or to be receptive to information that confirms their previous understanding of the subject matter. They look for the evidence they would expect if their hypothesis were true, rather than what to expect if it were false; this naturally makes them to ignore the opposing view.

This type of bias can be observed when one gathers, remember information or be receptive to information interpret selectively in a subconscious. This bias is also re-enforcing due to such nature.

We should not feel bad about being a victim of confirmation bias as it is a natural human tendency, but overcoming our confirmation bias is probably one of the best things you can do to improve your world view and reduce polarizing opinions and conflicts.

Outcomes of confirmation bias

Re-enforcing nature of confirmation bias can makes our views extreme, resulting in conflict. In such cases people with opposing views interpret new information in a biased way, their views can move even further apart. This is called “attitude polarization”.

Effected by confirmation biases we prone to think we are right and we find friends and from groups to agree with us. Confirmation bias brings in issues like overconfidence therefore poor decision making ability. This bias effects organizations, politics and law, religious viewpoints, in finance, in physical and mental health, self-image and even in science. Stronger our opinions are, the more we ignore sources of information that challenge our view. Conservatives are less likely to read liberal source of news, which alienate groups or individuals even farther.

The emotional aspect and re-enforcing aspects of confirmation bias can make polarizations extreme. This makes people to use ambiguous evidence and explain is as it fits their argument losing objectivity. It is observed that disagreement can become more extreme even though same evidence is presented to both the parties.

How can we avoid confirmation bias?

To start with, one must be aware of the phenomena of “confirmation bias”. This awareness is the first step to protect one against this bias.  Paradoxically, the best way to check if one is affected by this bias is to look for neutral source of information that challenges your opinion.

Once we are aware of these phenomena, we should always try to acquire accurate opinion by e.g. being the devil’s advocate and argue in both sides, collect information from liberal news group and finally listen to the opposing point of view with an open mind.

Tagged with: ,
Posted in Cognitive science

Alfresco 4 Enterprise Content Management Implementation

Preface

As a system integrator and designer I always have a preference towards open source technology such as Alfresco. I have done several implementation of Alfresco for a few organizations, include educational institution and for service business using free edition of Alfresco.

After the age of windows file sharing, document collaboration platforms has come a long way more accessible. Today we have many matured document collaboration platforms such as EMC Documentum, MS SharePoint, KnowledgeTree, Liferay Portal, Alfresco etc.

About Alfresco

Alfresco is one of the leading open source ECM (Enterprise Content management) Platform, which can be used on-premise as well as in the cloud. Alfresco is feature reach, built on open standards. Alfresco implements technologies like Workflow, Business Process Integration, task management and assignment, Version Control, Online Previews, Repository access via CIFS/SMB, FTP, WebDAV, NFS and CMIS, On-premise to Cloud Sync (dropbox like sync), Desktop integration with Microsoft Office, OpenOffice.org and LibreOffice,  Comprehensive Search, Pluggable authentication. These features are supported out of the box. Alfresco being an open Source, open standard product. Many other application integration is also possible with little effort.

About This Book

As the title suggests this book is written for Alfresco 4 Enterprise edition (commercial), however most of these examples should work on the free edition as well. “Alfresco 4 Enterprise content management and implementation” is probably the only Alfresco ECM book out in the market for “Version 4” as on Dec 2013. It is needless to say this book has no competition. Never the less this book is a well written one. Following Alfresco 3 Enterprise content management, which makes it the second version even more solid.

This Alfresco book covers but not limited to topics such as installation, getting started, security, workflow, other application integration, alfresco share, UI customization, search, imaging and Forms Processing and systems administration.  The topics are explained with appropriate diagrams, configuration screen shots, example configuration files and java scripts; which makes this book easy to follow. This book can be used as a cookbook as well.

Audience of this book

Alfresco 4 ECM can be used by the beginners as well as advanced users. This book shall help users with implementation basics, application and process integration, systems administration, as a reference book or even as a cook book for implementing certain technology or integration. Basic linux administration HTML, XML, JavaScript knowledge will be useful while following this book.

Some of the chapters can be useful for business owner, process owners or project managers who wants to take full advantage of alfresco ECM, in terms of mapping business process to the application or leveraging application features in the business e.g. introduction to Alfresco, Implementing Business Rules, Implementing Workflow etc.

Hope you find this book useful as I did.

Links: Alfresco 4 ECM Implementation Book

Tagged with: , , ,
Posted in Book Review, document management, Open Source
Saad's Album
Wake up boathouse

A Fisher man

Time to go home

More Photos
%d bloggers like this: