0

CSS3 Generator

CSS3 Generator | Useful Web Apps for Designers/Developers

A simple CSS3 generator.

Image

Go to the app

Advertisements
2

Password Strength – jQuery code snippet

<form name="password_strength" method="POST" id="pass_form">
    <label>Enter a password</label>
    <input type="password" name="pass" id="pass" />
    <span id="passstrength"></span>
</form>

$('#pass').keyup(function(e) {
     var strongRegex = new RegExp("^(?=.{8,})(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*\\W).*$", "g");
     var mediumRegex = new RegExp("^(?=.{7,})(((?=.*[A-Z])(?=.*[a-z]))|((?=.*[A-Z])(?=.*[0-9]))|((?=.*[a-z])(?=.*[0-9]))).*$", "g");
     var enoughRegex = new RegExp("(?=.{6,}).*", "g");
     if (false == enoughRegex.test($(this).val())) {
             $('#passstrength').html('More Characters');
     } else if (strongRegex.test($(this).val())) {
             $('#passstrength').className = 'ok';
             $('#passstrength').html('Strong!');
     } else if (mediumRegex.test($(this).val())) {
             $('#passstrength').className = 'alert';
             $('#passstrength').html('Medium!');
     } else {
             $('#passstrength').className = 'error';
             $('#passstrength').html('Weak!');
     }
     return true;
});

jsFiddle: http://jsfiddle.net/aleem/KE3RB/8/

0

How to clear the clipboard contents?

To quickly clear the text/image contents from the clipboard, simply select a file in the Desktop and press CTRL+C. The existing clipboard contents will now be replaced by the file name on which you issued the CTRL+C.

Another method is using Windows Scripting. You can create an instance of InternetExplorer.Application object and then manipulate the clipboard.

Copy the following lines to Notepad, and save as ClearClipBoard.VBS. Double-clicking the ClearClipBoard.VBS clears the contents of the clipboard.

Set objIE = CreateObject("InternetExplorer.Application")
objIE.Navigate("about:blank")
objIE.document.parentwindow.clipboardData.SetData "text", "" 
objIE.Quit
0

WordPress’s amazing facts and stats infographic

WordPress most amazing facts and stats infographic – The phenomenal growth of WordPress as the world’s best CMS

The image gives the most amazing facts and stats infographics, this explains why and how WordPress became one of the favorite blog and CMS platform. From blogs to Corporate websites, WordPress is used extensively in the web space.

Also, below are some more amazing stats on WordPress –

– 14.7%  of the top 1 million websites in the world are now powered by WordPress (one year ago it was 8.5% only)
– 1 in every 5 new domains created in US are running on WordPress (for new sites its easy to get started with WordPress – design, functionality and cost wise)
– 500 Thousand downloads in the first 48hrs of the 3.2 release (its not only how big the community is but almost everybody is active as well)
– 200 Million plugin downloads (how actively and beautifuly the community is contributing – proven by the use of the plugins)
– 92% of wordpress users now use it as a CMS (most important stats as per my understanding as I have noticed over years many a people using wordpress without harnessing any of its powers which is a shame)
– WordPress Maintains a zen like process of core development allowing it to be adaptive, flexible and open to extension (why we all love wordpress – its the only platform which is flexible and well documented for us to mould and develop further upon to make it even more stronger and beautiful as per the reuqirement of individual projects)