Categories
css HTML5

Specificity: Why my CSS is being cancelled out even though it is loaded after other CSS?

Your answer is Specificity Specificity is a mechanism within the CSS cascade that aids conflict resolution Basically it determines preference of CSS styles, over and above the cascading nature of stylesheets Order of Precedence of Specificity: Type Specificity Inline Style Highest Highest Number of #id selectors Wins Highest number of class, attribute and pseudo selectors […]

Categories
Android

Set Up Tutorial for Android Development

Download the Android SDK Add android to your path Check available android platforms android list targets Start a Project android create project –target <target_id> –name <appName> target_id – is the target available in  android list targets Build the project ant debug you may need to install apache ant Compile? adb install bin/Package_Name-debug.apk Emulate (Need a […]

Categories
Coding Style

The Zen of Python

Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren’t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the […]

Categories
Mobile Development

How to Add Android SDK to path Ubuntu

So you’ve unpacked the sdk and updated and installed all the required libraries, apis and extras with: ./android sdk Now to add all the tools and commands to your path to be accessible wherever you are: vim ~/.bashrc Add the following lines: export PATH=${PATH}:~/utils/android-sdk-linux/tools export PATH=${PATH}:~/utils/android-sdk-linux/platform-tools Remember to restart terminal

Categories
Integration web development tools

continuous integration: Jenkins Automated Deployments with a Private git server

What is Jenkins? A continuous integration tool written in Java. Continuous integration is the process of merging development work among multiple developers. It also serves to automate unit testing and I am certain other types of testing in test driven development. To simplify all that, it is build automation and in my opinion an automated […]