Media Query Break Points

Here are the default Media Queries you should be using:


=            Bootstrap 3 Media Queries             =

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {


/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {


/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {


/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {


/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {


/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {


/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

We also have a Quick Tip for reference here. If you use SASS or LESS, you can use the built in variables (small, medium, large, etc.) for the breakpoints.


Useful Information

Alt + 0153….. ™… trademark symbol
Alt + 0169…. ©…. copyright symbol
Alt + 0174….. ®….registered ­ trademark symbol
Alt + 0176 …°……degre ­e symbol
Alt + 0177 …±….plus-or ­-minus sign
Alt + 0182 …¶…..paragr ­aph mark
Alt + 0190 …¾….fractio ­n, three-fourths
Alt + 0215 ….×…..multi ­plication sign
Alt + 0162…¢….the ­ cent sign
Alt + 0161…..¡….. ­.upside down exclamation point
Alt + 0191…..¿….. ­upside down question mark
Alt + 1…….….sm ­iley face
Alt + 2 ……☻…..bla­ck smiley face
Alt + 15…..☼…­n
Alt + 12……♀…..female sign
Alt + 11…..♂……m­ale sign
Alt + 6…….♠…..spade
Alt + 5…….♣…… ­Club
Alt + 3……..…… ­Heart
Alt + 4…….♦…… ­Diamond
Alt + 13……♪…..e­ighth note
Alt + 14……♫…… ­beamed eighth note
Alt + 8721…. ∑…. N-ary summation (auto sum)
Alt + 251…..√…..s­quare root check mark
Alt + 8236…..∞….. ­infinity
Alt + 24…….↑….. ­up arrow
Alt + 25……↓…… ­down arrow
Alt + 26…..→…..ri­ght arrow
Alt + 27……←…..l­eft arrow
Alt + 18…..↕……u­p/down arrow
Alt + 29……↔…left right arrow

share it !

IE 9 Conditional Style Sheet

<!--[if IE 6]><link rel="stylesheet" type="text/css" href="/include/ie6stylehome.css" /><![endif]-->
<!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href=";" <![endif]-->
<!--[if IE 8]>
        <link rel="stylesheet" type="text/css" href=";" <![endif]-->
 <!--[if IE 9]>
<link rel="stylesheet" type="text/css" href=";" <![endif]-->

 <link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href=";" type="text/css" />
<style type="text/css">

How do I write a Technical Specification document for my software project?

1.1 Contractual 8
1.2 Purpose of the Document 8
1.3 Scope of the Software 8
1.4 Definitions, acronyms and abbreviations 8
1.5 References 9
1.6 Overview of the document 9


3.1 Functional requirements 13
3.1.1 User input interface (SR 1) 13
3.1.2 User output interface (SR 2) 13
3.1.3 Geantino source definition – particle sampling (SR 3) 13
3.1.4 Particle tracking (SR 4) 15
3.1.5 Histogramming of data (SR 5) 15
3.1.6 Geometry description (SR 6) 16
3.1.7 Run repetition (SR 7) 16
3.2 Performance requirements (SR 8) 16
3.3 Interface requirements (SR 9) 16
3.4 Operational requirements (SR 10) 16
3.5 Verification requirements (SR 11) 16
3.6 Acceptance testing requirements (SR 12) 16
3.7 Portability requirements 16
3.7.1 Platform, operating system and compiler (SR 13) 16
3.7.2 Portability to other platforms (SR 14) 17
3.8 Quality requirements (SR 15) 17
3.9 Maintainability requirements (SR 16) 17
3.10 Other requirements

5.1 main 20
5.1.1 Type 20
5.1.3 Interfaces 20
5.1.4 Dependencies 20
5.1.5 Data 20
5.1.6 Resources 20
5.1.7 Software requirements met 20
5.2 MyGeometryConstruction 20
5.2.1 Type 20
5.2.2 Functions 21
5.2.3 Interfaces 21
5.2.4 Dependencies 21
5.2.5 Data 21
5.2.6 Resources 21
5.2.7 Software requirements met 21



Ref :

jQuery Plugins of the Day

jQuery Plugins of the Day

fresherEditor : jQuery Rich html text editor

Fancy News – jQuery plugin

Jribbble : A jQuery Plugin for the Dribbble API

scrollNav : jQuery plugin for building a scrolling Side Nav



iFrame height resizing, responsive design techniques.

My current project required me to work with responsive design.  One task was to setup an iframe that was capable of dynamic height based on the contents of the iframe.  We did have a little control of the parent and the child content, and I thought this would be a pretty easy.

After some trial and error and a lot of google-fu I found a solution using easyXDM.  It seemed to work pretty well and was able to work across different browsers.  However, the solution was pretty heavy, weighing in at just over 21kb embedded on the parent site.

A coworker of mine brought up a more streamline solution that pulled out all the goodness of what easyXDM was doing and put it into a script at around 2kb.

The script uses postMessage transport for more current browsers.  Then falls back to a hash tag solution for browsers that don’t support postMessage option.

I cleaned it up and put it out on github.  Check it out and let me know what you think.





Source :

Using SVN With Visual Studio 2010

SVN is a must have for managing projects and keeping them proper, with a history of changes, what should be done when 2 versions of the same file are changed and so on. It’s so important even for a developer working alone, since code will be never lost.

This post is a quick work through on how to install and use SVN on Windows and Visual Studio, you can read more about SVN here.
First, you should know that having a subversion client on Windows is sufficient, you can do all the stuff in there without the need to have it integrated with Visual Studio, but if you are like me, want perfect handling from within VS then you can go further to integrate it there as well.
We will use TortoiseSVN, a free Subversion client for Windows which integrates a cool shell menu to handle the different SVN commands, install it from here. Once installed you will notice a new shell menus.


After that, you have to create a repository (for guys who work on their machines). It is quite simple, you create an empty folder, this folder will be the location where all the history of the projects is saved, so make sure it somewhere safe.
Within this folder, right click and choose TortoiseSVN -> create repository here. Once created, you will notice the following contents added to the folder :


Now, you have to choose the repository structure, with whatever structure you want (see the recommendations for that here), right click the content of the directory and choose TortoiseSVN –> import.
With a repository created and with a structure ready, you can start playing with projects from Windows explorer, for example create a Directory and inside it create a text file, then choose SVN checkout, this will add the content to the repository


You will notice a little green bullet within the icon of the folder, which means the local content is updated compared to the content of the repository, let’s try something else, create a new text file inside that folder, then right click it and choose TortoiseSVN –> add to repository, this will make a little “+” sign with its icon, which means it’s ready to be committed. At this stage you will notice that the parent folder has changed to a red icon, which means it’s not up to date with the repository anymore.


4 5 7

Right clicking this file, choose SVN commit will bring this screen, where you can add messages to keep history of changes.


That’s generally how it works from within windows explorer, after the commit of this file, a new green icon will be back again to the parent folder, of course you can commit the parent folder and all the content will be committed, you can compare differences between local content  and the repository content and so on..
You will find all the commands within the shell menu, and they appear only on folders that you added to the repository, hitting shift + right click will bring more commands

Pretty cool, so what about Visual Studio?

Actually you can do the same from the Visual Studio 2010 (or other versions), from the document explorer precisely, there is a free plug-in called AnkhSVN found here
Once installed, it will bring Subversion functionality to Visual Studio, you can verify it’s installed well, and also configure some aspects from Tools –> Options –> Source Control


Create a new project, you will notice a little checkbox asking if you want add this project to Subversion or not, then you will get a parameters window where you can configure: the repository to use, the local folder and so on, I’m using a repository through http here, you don’t have to use only local repositories.


9 image


Everything is setup now, on the solution explorer you will notice the “+” signs on the contents, which means they are waiting for a commit to the repository, AnkhSVN bring the same functionality to the project explorer that TortoiseSVN brings to the shell menu (tip: AnkhSVN uses TortoiseSVN repositories, they are not the same), so you will notice the same, red, green icons as well, right clicking a file and choosing SVN –> commit will commit the file to the repository.


You can compare files before updating or committing by choosing Subversion –> Compare


There are dozens of other functionalities also, you can read more about TortoiseSVN and SVN in general from their website


Source :