Friday, April 11, 2014

SVN trunk, branches and tags

- A trunk in SVN is main development area, where major development happens.
- A branch in SVN is sub development area where parallel development on different functionalities happens. After completion of a functionality, a branch is usually merged back into trunk.
- A tag in SVN is read only copy of source code from branch or tag at any point of time. tag is mostly used to create a copy of released source code for restore and backup.

Read more: http://javarevisited.blogspot.com/2013/04/difference-between-trunk-tags-and-branch-svn-cvs-git-scm-subversion.html

The practice we are using in daily work is
1. Work on trunk and commit for main release
2. Branch out from released tag for EP/SP
3. Tag for each main release

Thursday, April 10, 2014

base href needs forward slash at the end

HTML document or iframe head section can  have this tag to specify a default URL and a default target for all links on a page:

<base href="URL" />
<base href="http://www.w3schools.com/images/" target="_blank" />

href for relative paths
target for click link behavior

The URL needs forward slash (/) at the end, otherwise it will not work as expected.

http://www.w3schools.com/tags/tag_base.asp

Monday, March 31, 2014

Device browsers

iOS browsers:
http://lifehacker.com/5927910/five-best-ios-web-browsers/all

Safari
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D167 Safari/9537.53
Atomic Browser
Chrome
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) CriOS/33.0.1750.21 Mobile/11D167 Safari/9537.53
Dolphin Browser
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/6.0 Mobile/10A523 Safari/8536.25
iCab

Android browsers:
http://lifehacker.com/5925969/five-best-android-web-browsers/all
Firefox
Chrome
Dolphin Browser
Boat Browser
Opera Mobile