jQuery Plugins of the Day


jQuery Plugins of the Day

fresherEditor : jQuery Rich html text editor
http://www.jqueryrain.com/2013/02/freshereditor-jquery-rich-html-text-editor/

Fancy News – jQuery plugin
http://www.jqueryrain.com/2013/02/fancy-news-jquery-plugin/

Jribbble : A jQuery Plugin for the Dribbble API
http://www.jqueryrain.com/2013/02/jribbble-a-jquery-plugin-for-the-dribbble-api/

scrollNav : jQuery plugin for building a scrolling Side Nav
http://www.jqueryrain.com/2013/02/scrollnav-jquery-plugin-for-building-a-scrolling-side-nav/

 

 

Advertisements

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.

Demo: http://zerg.ws/iframe/demo.html

Github: https://github.com/johnymonster/iframe_height

Thanks!

 

Source : http://www.dailyrelevance.com/javascript/iframe-height-resizing-responsive-design-techniques

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.

1

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 :

2

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

3

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.

6

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

8
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



image

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.

10

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

11

There are dozens of other functionalities also, you can read more about TortoiseSVN and SVN in general from their website http://tortoisesvn.net/support

 

Source : http://www.martani.net/2009/11/using-svn-with-visual-studio-2010.html

Could not use move tool because the target channel is hidden


I had a problem I encountered a while ago when I’m doing a web design project in the Adobe Photoshop cs5 and a pop-up message said “Could not use move tool because the target channel is hidden“.  If you encounter this message then you are guilty by pressing the “Q” when you clicked the “Layer“, this option is what you called  ”Edit in Quick Mask Mode“. see the image below.

Solutions:

To resolve the probelm is simply by clicking any Layer>then press “Q” or

Go to Select menu>click “Edit in Quick Mask Mode” to uncheck.

Hope it will help! Enjoy!!

 

Source : http://www.lee-agosila.com/blog/could-not-use-move-tool-because-the-target-channel-is-hidden/

Download youtube video in mobile both pc


there are many people asking how download youtube video download in mobile easy using best browser
opeamini and uc beowser  both chrome and firefox also can be used just simple fallow the instraction
edit your youtube video url examlpe this is my url you can see   http://www.youtube.com/watch?v=4xZWxnx9sXw  that can be edit are add just ss just like this http://ssyoutube.com/watch?v=4xZWxnx9sXw   you will get download link select  format of a video 3gp video and mp4 also be supported nokia s40 and s60 also work enjoy

checking a domains availability using php


The availability API is probably the greatest feature of the Robowhois webservice, letting you check for a domain’s availability with a simple, uniform HTTP request.

Checking if google.com is available

isAvailable('google.com')) {
echo "pretty nice dream, uhm?";
}

The opposite thing is achieved using the ->isRegistered() method.

You can also retrieve an array as returned from the webservice, by doing:
whoisAvailability('google.com')) {
echo $availability['available'];
echo $availability['registered'];
echo $availability['daystamp'];
}

Retrieve informations about your account

A must-have, since you should always check how many remaining credits you have, the account API lets you retrieve some of your personal data from your Robowhois.com account:

Calculating how many left credits you have

whoisAccount()->getCreditsRemaining();

if ($credits > 100) {
echo "No problem fella!";
} else {
echo "Time to go shopping looking for new API calls, uhm?";
}
} catch (Exception $e) {
echo "The following error occurred: " . $e->getMessage();
}

Minor things

We also polished some code, refactored stuff and added some tests (unit and integration ones).

For instance, when using the record API, you can retrieve the daystamp of the response as DateTime object:

retrieving the daystamp as an object or a string

whoisRecord('google.com')) {
// returns a DateTime object
echo $whois->getDaystamp();

// formats the DateTime
echo $whois->getDaystamp()->format('Y-m-d');

// returns a string
echo $whois->getDaystamp(true);
}

You can download the latest tag of the library (currently 0.8.0) and start using it: the README exhaustively explains what you can do with this small client, and some samples are provided under the

Source : http://odino.org/checking-a-domain-s-availability-with-php/

Waiting in the iPhone 5 Line? Send Us Your Photos


Apple devotees are already lining up to buy the iPhone 5, and the first spots in line have been claimed by the truest of fans.

iPhone releases always guarantee a colorful cast of characters, such as Apple co-founder Steve Wozniak, who makes regular appearances and one legendary New York fan who has been paid for the time he spends waiting.

Are you waiting on line? If you are, we’d love to see your pictures.

Source : http://mashable.com/2012/09/21/iphone-5-line-photos/

Aside

There seems to be no end for Android devices boom across the international smartphone and tablet market segment. The recent Motorola Press event brought in some numbers in to play when the Google Chairman disclosed the total number of Android devices being activated on a daily basis across the world. The announcement by Eric Schmidt who is the Google executive Chairman was the center of attraction in the press event.
Google Chairman announced that the total number of Android devices activated daily is estimated to be roughly 1.3 million units as compared to 1 million units which was the official figure when it was announced way back in June during the Google I/O event. He also stated that the total number of Android tablets being activated stands at 70,000 out of the total 1.3 million units. There is also a significant increase in the total number of Android devices sold so far. The figure as of now is estimated to be 480 million units so far compared to 400 million units, when it was announced way back at Google I/O in June.
The press event also witnessed Google Chairman announcing the importance of Moto Mobility in the growing Android ecosystem. He also emphasized the need to be more competitive in the emerging Android ecosystem. Motorola’s ‘On-Display’ event witnessed participation from many industry analysts from across the globe.
Many of the top manufacturers other than Apple use Android operating system which is powering their tablets and smartphones. The most popular Android operating system released to date are Android 4.0 ICS and Android 4.1 Jelly Bean operating system. Google already has a list of Android supported devices and its manufacturers. They have launched Google Play Store application too where Android users can download some of the popular apps and games.

Source : http://sureshranju.blogspot.in/2012/09/13-million-android-devices-being.html?showComment=1347078950859#c2904144450378495358

1.3 million Android devices being activated per day