tag:blogger.com,1999:blog-84260044057237616602024-03-13T15:59:43.143+05:30Secrets of Computer GeeksA geeky blog focused on WordPress, Blogger, JavaScript, jQuery, CSS, Windows Tricks. Get news, tricks and tutorials about all tech stuff.
<br><br>
Find us on <a href="http://www.facebook.com/SOCGs">Facebook</a> & <a href="http://twitter.com/SOCGs">Twitter</a>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.comBlogger39125tag:blogger.com,1999:blog-8426004405723761660.post-46586790349412148442019-10-05T11:25:00.000+05:302019-10-05T14:00:34.115+05:30WordPress Login - Remember Recent Usernames<div dir="ltr" style="text-align: left;" trbidi="on">
It is very user-friendly if a website asks just for the password and displays the username when the user was logged-in recently. But this feature is missing in WordPress therefore, we created a plugin <b><a href="https://wordpress.org/plugins/wp-easy-login/" rel="nofollow" target="_blank">WP Easy Login</a></b>.<br />
<br />
<i>WP Easy Login</i> remembers the username or email of each user who was logged in to the site. Usernames are stored in the browser and displayed when you visit the default login page of the website using the same browser.<br />
It stores the username in a browser cookie. The age of the cookie can be customized, the default value is one year.<br />
<a name='more'></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-Z6yRh4qtLNc/XZd1w-wZJII/AAAAAAAAAac/Cz8Ka9D2REsZb2YfGU4i8nNNDsib4Hw0ACLcBGAsYHQ/s1600/preview.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="WP Easy Login - Login Form" border="0" data-original-height="360" data-original-width="319" src="https://1.bp.blogspot.com/-Z6yRh4qtLNc/XZd1w-wZJII/AAAAAAAAAac/Cz8Ka9D2REsZb2YfGU4i8nNNDsib4Hw0ACLcBGAsYHQ/s1600/preview.jpg" title="WP Easy Login - Login Form" /></a></div>
<div style="text-align: left;">
</div>
<br />
<b> Features</b>:-<br />
<ul style="text-align: left;">
<li>Easy login by just entering the password and selecting an account for login.</li>
<li>Define the age of cookie to store the username in a browser.</li>
<li>Customize the users' list by turning off/on Email, Role, and Gravatar.
Customize hints and button labels.</li>
<li>Users can remove their accounts from the browser at any time.</li>
<li>Works with WordPress default login page.</li>
</ul>
<br />
<br />
<br />
<b>Installation:-</b><br />
<ul style="text-align: left;">
<li>Download plugin from here <a href="https://wordpress.org/plugins/wp-easy-login/" rel="nofollow" target="_blank">WP Easy Login</a>.</li>
<li>Upload and activate the plugin.</li>
<li>Go to <i>Settings => WP Easy Login</i> and choose your desired settings.</li>
<li>Now go to <i>/wp-login.php</i> and login to the site again then visit the <i>/wp-login.php</i> you will see your name along with other information. </li>
</ul>
<br />
Please use the <a href="https://wordpress.org/support/plugin/wp-easy-login/" rel="nofollow" target="_blank">support forum</a> for queries or support.</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8426004405723761660.post-45479093438764258162016-01-26T23:58:00.002+05:302016-01-27T00:09:07.777+05:30Customize App's Permissions on Android Phone<div dir="ltr" style="text-align: left;" trbidi="on">
For me it is most demanding feature of Android because it was already there in IOS. ;)<br />
If you remember about Facebook Apps permission system, it was same like Android Apps permission system before version 6.0. Nevertheless, later Facebook changed it by providing checkboxes, when user granting permission. Now something similar Android has done where an App asks for permission after its installation, when it is accessing some hardware or service.<br />
<br />
Android introduced it in version 6.0 named as <a href="https://www.android.com/versions/marshmallow-6-0/" rel="nofollow" target="_blank"><b>Marshmallow</b></a> before that users were using some kind of hacks and apps where they can customize permission in rooted phone. However, that was not good because apps could not handle permission issues prior to this version.<br />
<a name='more'></a><br />
<h3>
Noticeable points of new permission system in Android 6.0 Marshmallow</h3>
<ul style="text-align: left;">
<li>Apps do not ask for permissions in bulk now, an app will ask for permission when you open it or when it needed certain permission.</li>
<li>You can allow or deny major permission and it is up to app that it necessary permission for app to work or it will continue to work without it.</li>
<li>If somehow you missed that popup, you can customize it later from settings anytime.</li>
</ul>
<ul style="text-align: left;">
<li>Still there is limitation at the time of writing this post (version 6.0.1) that you cannot customize some minor permissions such as Full internet access, run at startup, view Wi-Fi connections, access Bluetooth etc. </li>
</ul>
<h3>
Customize permissions of single App: </h3>
<a href="http://2.bp.blogspot.com/-kEkjkA5f4ic/Vqe1D6r-gHI/AAAAAAAAAL8/_BFcRqAVQIY/s1600/customize-permissions-single-app.jpg" style="float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="Customize permissions of single App" src="http://2.bp.blogspot.com/-kEkjkA5f4ic/Vqe1D6r-gHI/AAAAAAAAAL8/_BFcRqAVQIY/s1600/customize-permissions-single-app.jpg" /></a>
<br />
<ul style="text-align: left;">
<li>Go to Settings > Apps > Select any app > Select Permissions</li>
<li>You will see allowed and denied permissions. Turn on/off any permission here. </li>
</ul>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<ul style="text-align: left;">
</ul>
<h3>
Customize permissions in bulk</h3>
<ul style="text-align: left;">
<li>Go to Settings > Apps</li>
<li>Tap on gear <i class="fa fa-cog"></i> icon on top right corner</li>
<li>Tap on App Permissions</li>
<li>You will see a list of services and hardware. Tap on any one and you can choose which app to allow this service or hardware. </li>
</ul>
<a href="http://2.bp.blogspot.com/-6veSLvBLVLo/Vqe1UenkDOI/AAAAAAAAAME/xzdmPde8SBY/s1600/customize-permissions-bulk.jpg" style="float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="Customize permissions in bulk" src="http://2.bp.blogspot.com/-6veSLvBLVLo/Vqe1UenkDOI/AAAAAAAAAME/xzdmPde8SBY/s1600/customize-permissions-bulk.jpg" /></a>
That is a big problem for Apps those provide one good service and read our all data.<br />
<br />
Feel free to comment your reaction :)
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-8426004405723761660.post-84531091855150519842015-09-19T17:42:00.000+05:302018-04-05T23:54:52.880+05:30Custom JavaScript Alert Box with modernAlert.js<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://2.bp.blogspot.com/-jflqTkvKsYs/Vf1UYKNODfI/AAAAAAAAAIE/m7fBi6T1WzQ/s1600/modernAlert.js.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="modernAlert.js" border="0" height="152" src="https://2.bp.blogspot.com/-jflqTkvKsYs/Vf1UYKNODfI/AAAAAAAAAIE/m7fBi6T1WzQ/s1600/modernAlert.js.jpg" width="257" /></a>
In JavaScript, there are three native popup boxes: Alert, Confirm and Prompt. I personally like to use them because these functions cannot be replaced by custom coding. Yes, I am right, you cannot hold the execution of JavaScript like these functions do. However, sometimes we have to tweak somewhere when it is about the design.<br />
These popup boxes look different in every web browser along with their ugly appearance.<br />
<br />
As I mentioned already that we cannot achieve exact duplicate of these functions but we can have something similar to it.<br />
<br />
<br />
I wrote a pure JavaScript function, which can replace these native functions. And we can customize the appearance as well.<br />
<br />
<a name='more'></a><a href="https://github.com/5um17/modernAlert" rel="nofollow" target="_blank">modernAlert.js</a> is a small, Lightweight Library to optionally override native JavaScript functions: Alert, Confirm and prompt. It provides customizable HTML popup instead of browser-based popup, which can be styled using number of arguments and traditional way of using CSS.<br />
<br />
<br />
By default native functions are replaced with modernAlert functions but this can be turned off in the constructor.<br />
<br />
<b>Features</b>
<br />
<ul>
<li>Customize pop-ups appearance using CSS and number of arguments</li>
<li>Background overlay with customizable color and blur feature</li>
<li>Customize button labels</li>
<li>Support HTML in the message</li>
<li>Pass callback function in Alert</li>
<li>Pass other arguments to the callback function</li>
<li>Optionally override native JavaScript functions</li>
<li>Better usability just like native functions</li>
<li>Works with all modern browsers and mobile browsers</li>
<li>Written in pure JavaScript</li>
</ul>
<br />
<b>How to use it:</b><br />
Download the script from <a href="https://github.com/5um17/modernAlert" rel="nofollow" target="_blank">https://github.<span id="goog_457665529"></span><span id="goog_457665530"></span>com/5um17/modernAlert</a> and follow the <b>readme.md</b> instructions to use it in your project.<br />
<br />
<b id="modernAlertExamples">Examples: </b>
<script src="https://cdn.rawgit.com/5um17/modernAlert/2a154f08/modernAlert.min.js" type="text/javascript"></script>
<script type="text/javascript">
modernAlert({
borderColor: '#e8a56a',
titleBackgroundColor: '#F2AE72',
});
</script>
<br />
<ul>
<li>
<i>Example of Alert box</i>
<pre><code><a class="scg-button" href="#" onclick="alert('This is example of Alert', 'Simple Alert'); return false;">Alert</a></code></pre>
<a class="scg-button" href="http://www.secretsofgeeks.com/2015/09/modernAlert.html#" onclick="alert('This is example of Alert', 'Simple Alert'); return false;">Alert</a>
</li>
<li>
<i>Example of Confirm box</i>
<pre><code><a class="scg-button" onclick="confirm('Example of confirm box', 'Simple Confirm', function(input){var str = input === true ? 'Ok' : 'Cancel'; alert('You clicked ' + str, 'Simple Alert');}); return false;" href="#">Confirm</a></code></pre>
<a class="scg-button" href="http://www.secretsofgeeks.com/2015/09/modernAlert.html#" onclick="confirm('Example of confirm box', 'Simple Confirm', function(input){var str = input === true ? 'Ok' : 'Cancel'; alert('You clicked ' + str, 'Simple Alert');}); return false;">Confirm</a>
</li>
<li>
<i>Example of Prompt box</i>
<pre><code><a class="scg-button" onclick="prompt('Example of Prompt', 'Simple Prompt', function(input){alert('You entered ' + input, 'Simple Alert');}); return false;" href="#">Prompt</a>/code></code></pre>
<a class="scg-button" href="http://www.secretsofgeeks.com/2015/09/modernAlert.html#" onclick="prompt('Example of Prompt', 'Simple Prompt', function(input){alert('You entered ' + input, 'Simple Alert');}); return false;">Prompt</a>
</li>
</ul>
Detailed uses and customization of pop-up boxes are given here <a href="https://github.com/5um17/modernAlert#readme" rel="nofollow" target="_blank">https://github.com/5um17/modernAlert#readme</a><br />
<br />
For queries and suggestions you can comment here. For reporting issues and contributing to the code please use GitHub repository <a href="https://github.com/5um17/modernAlert" rel="nofollow" target="_blank">https://github.com/5um17/modernAlert</a>
</div>
Unknownnoreply@blogger.com16tag:blogger.com,1999:blog-8426004405723761660.post-26954607679870839952014-12-25T18:20:00.000+05:302015-01-04T01:41:38.445+05:30Five Most Viewed Entries of 2014<div dir="ltr" style="text-align: left;" trbidi="on">
Firstly Merry Christmas to all my readers!<br />
As usual to last year this year was not so good for my blogging again. I was busy in debugging code. :P but hoping to get myself back on track of blogging. Another good thing is i just completed 90% of new design for this blog that is fast, attractive and simple, I am launching this on new year :)<br />
So apart from this SCG still getting increasing number of visitors every month because of these five articles.<br />
These are top five visited posts from Jan 2014 to 24 Dec 2014.<br />
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="SCG top five posts of the 2011" border="0" src="http://3.bp.blogspot.com/-pJxmKJqG46M/Tv65WwwycaI/AAAAAAAAAQQ/VtqI1il4NLQ/s1600/top5.jpg" style="clear: right; float: right;" /></div>
<ol>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/09/tracking-admin-of-facebook-page.html">Find out Admin of Facebook Page </a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2014/02/whatsapp-contact-profile-picture.html">WhatsApp Contact Profile Picture not Publicly Visible Anymore </a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/08/disable-background-windows-update-by.html">Disable Background Windows Update by Disabling BITS </a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/10/watch-free-live-tv-on-mobile-phone.html">Watch Free Live TV on Mobile Phone</a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/09/hack-passwords-using-actual-spy.html">Hack Passwords using Actual Spy Keylogger</a></span></li>
</ol>
I hope i will write new good stuff on Web Development in 2015<br />
Have a nice year ahead! Happy New Year 2015 :)
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com1tag:blogger.com,1999:blog-8426004405723761660.post-20295826450838700252014-09-27T19:09:00.001+05:302015-01-04T01:43:34.996+05:30How to Remove Number From Truecaller<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://www.truecaller.com/" rel="nofollow" target="_blank">Truecaller </a>is a famous service to trace any phone number. It is good to kick off anonymous callers, as its app shows the caller name before picking up a call. Nevertheless, the only thing that I do not like is they do not ask users for confirmation before pinning them on their list; still you can opt-out from their list by submitting a simple form.<br />
<a name='more'></a><br />
<b>How did Trucaller add you to their list:</b><br />
Don’t worry they are not hackers :D and it is not even your fault but your friends are cool who shared their contact list with Truecaller.<br />
Whenever a user install Truecaller, Truecaller ask to share his/her contact list with them to improve their database, But the funny thing, it is not mandatory to use App and people are so hurry to use app and hit synchronize contacts button without reading anything.<br />
In next step Facebook app, also add user profile picture to the contact info, which seems like nothing but Truecaller update it in their database and starts display your best picture with your phone number.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="remove number from trucaller" border="0" src="http://4.bp.blogspot.com/-k-eUpVIjoB0/VCa9WfuLi-I/AAAAAAAAAUw/53lvzBOE78A/s1600/unlist-trucaller.jpg" title="" /></div>
<br />
<h3 style="font-size: 22px; text-align: left;">
Steps to get unlisted/removed:</h3>
<ul>
<li>Go to <a href="http://www.truecaller.com/unlist" rel="nofollow" target="_blank">http://www.truecaller.com/unlist</a> </li>
<li>Type your phone number with country code (i.e. +9198########)</li>
<li>Enter captcha code and hit <b>Unlist </b>button.</li>
<li>Done! you can check the result in few minutes on app or website.</li>
</ul>
I am not sure if you can remove your friends number too :P<br />
<br />
Comment your queries and suggestions. </div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-72874959494140887232014-09-23T01:25:00.003+05:302022-03-13T19:25:08.569+05:30WordPress Search in Tags, Categories, Taxonomies and Meta Keys<div dir="ltr" style="text-align: left;" trbidi="on">
<b><a href="https://wordpress.org/plugins/wp-extended-search/" rel="nofollow" target="_blank">WP Extended Search</a></b> is lightweight search plugin for WordPress. It has smooth and simple search settings to modify default WordPress search query.<br />
<br />
Key feature of plugin is it gives the ability to select Meta keys, tags, category and custom taxonomies so admin can choose single or multiple Meta keys and taxonomies to include in search query. For instance if admin wants to include a meta key <b>Location</b> which have terms like <i>loc1</i>, <i>loc2</i>, <i>loc3</i> then admin can only select this meta key to include in search results and if user put <i>loc1</i> in search query then the posts related to <i>loc1</i> will comes up.<br />
<a name='more'></a><br />
<br />
<br />
<br />
<b>Features:</b><br />
<ul>
<li>Search in selected meta keys</li><li>Search in category, tags or custom taxonomies</li><li>Search in the post author name</li><li>Include or exclude any public post type</li><li>Control whether to search in title or content or excerpt or all</li><li>Compatible with WooCommerce. Search in product SKU, Attributes, and custom fields, etc.</li><li>Create unlimited search settings to use with custom search forms.</li><li>Add search forms using a widget, shortcode or PHP function. Also works with custom searchform.php</li><li>Exclude old content from search results (Older than admin specified date)</li><li>Customize the number of posts to display on the search results page</li><li>Customize SQL relation (AND/OR) between search terms</li><li>Customize order of search results</li><li>Control whether to match search query exactly or partially</li><li>Limit attachment results by mime type e.g. display only pdf files in search results.</li><li>Translation ready</li><li>Compatible with WPML</li></ul><p> </p>
</div><div dir="ltr" style="text-align: left;" trbidi="on">You can read the complete documentation on <a href="https://wpes.secretsofgeeks.com/">wpes.secretsofgeeks.com</a><br /></div><div dir="ltr" style="text-align: left;" trbidi="on"><br />
Please use <a href="https://wordpress.org/support/plugin/wp-extended-search" rel="nofollow noopener" target="_blank">support forum</a> for queries or support.<br />
<br />
If you want to contribute to the plugin by reporting a bug or submitting a patch then please visit the <a href="https://github.com/5um17/wp-extended-search" rel="nofollow noopener" target="_blank">GitHub Repository</a>.
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com23tag:blogger.com,1999:blog-8426004405723761660.post-8241679861081346142014-02-09T16:46:00.002+05:302015-01-04T01:57:12.116+05:30WhatsApp Contact Profile Picture not Publicly Visible Anymore<div dir="ltr" style="text-align: left;" trbidi="on">
Since few days, I noticed that some of my WhatsApp contacts are not having profile pictures, but I noticed one thing these contacts were to whom I never had talk.<br />
<br />
After doing a bit Google and some experiments with my WhatsApp contacts, I found that "<b>WhatsApp updated their policies and you can't see profile picture of your contacts if they do not have your number saved in their contacts book</b>."<br />
<a name='more'></a>I do not have any official information about this but I checked this many time by deleting contacts and updating contacts. So maybe this is a short time bug or a lifetime policy change. :P<br />
<br />
<div class="separator" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;">
<img border="0" src="http://2.bp.blogspot.com/-UXi9Zi_B5Js/Uvditr_gr0I/AAAAAAAAAUY/TO0KzOApiZ4/s1600/whatsapp.png" height="200" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" width="200" /></div>
<br />
<b>The Good things:</b><br />
<ul>
<li>Now you can control who can see your WhatsApp profile picture. You can delete contact if you want to hide your profile picture from that contact.</li>
<li>You can know who has you as contact in their contacts book.</li>
</ul>
<b>The Bad things:</b><br />
<ul>
<li>Now people can’t see who is the person by only knowing name and number or say last seen time. :D</li>
<li>People cannot see even a thumbnail image of profile picture.</li>
<li>WhatsApp revealed the originality of friends without giving a chance of saving the contacts.</li>
</ul>
If you are shocked, so do not fool yourself by believing that this is fake news: :P<br />
Comment and share if you know anything about this.
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com69tag:blogger.com,1999:blog-8426004405723761660.post-44146420991524483002013-12-25T19:21:00.000+05:302015-01-04T01:58:59.360+05:30Top Five Posts of 2013<div dir="ltr" style="text-align: left;" trbidi="on">
This is the last month of the year 2013. lot of things have been changed since i started this Blog. I was too busy this year and therefor did not write too much new stuff
but still there are few posts which were getting back to back visits and comments this year.
I am listing five most visited posts of this year.<br />
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="SCG top five posts of the 2011" border="0" src="http://3.bp.blogspot.com/-pJxmKJqG46M/Tv65WwwycaI/AAAAAAAAAQQ/VtqI1il4NLQ/s1600/top5.jpg" style="clear: right; float: right;" /></div>
<ol>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/09/tracking-admin-of-facebook-page.html">Find out Admin of Facebook Page </a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/10/watch-free-live-tv-on-mobile-phone.html">Watch Free Live TV on Mobile Phone</a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/10/cool-vbscript-prank.html">Cool VBScript Prank</a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/09/hack-passwords-using-actual-spy.html">Hack Passwords using Actual Spy Keylogger</a></span></li>
<li><span style="font-size: large;"><a href="http://www.secretsofgeeks.com/2011/08/disable-background-windows-update-by.html">Disable Background Windows Update by Disabling BITS </a></span></li>
</ol>
Keep mailing me your suggestions and queries. Suggest me topics to write.<br />
Have a nice year ahead! Happy New Year 2014 :)
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-19139710812858799312013-12-22T20:42:00.000+05:302015-01-04T02:01:05.630+05:30jQuery Smooth Scrolling on Page Load with Highlight<div dir="ltr" style="text-align: left;" trbidi="on">
Download small jQuery script for smooth scrolling on page load when url content hash value.<br />
<br />
This post is about performing a smooth scroll on page load with highlighting that particular element only when user coming from another website and url contain hash.<br />
By default clicking on hash links window automatically, scroll to that element which has id value equal to hash value. This script will perform the same on page load with smooth scroll and highlighting element using background color.<br />
<br />
To avoid the use of jQuery UI we are using CSS animation and target pseudo selector.<br />
<a name='more'></a><br />
<h3 style="font-size: 20px; text-align: left;">
<a href="http://goo.gl/cfaUCT" rel="nofollow">Download the script here</a></h3>
<pre><code>
/**
* Smooth scrolling for hash window url
* @param {int} scrollSpeed page scroll speed in milliseconds. Default is 1000
* @param {string} highlightColor CSS highlight color value in Hex. or pass FALSE to disable this feature. Default is #F8F99A
* @author nick
* @link http://www.secretsofgeeks.com
* @returns {NULL}
*/
function scg_smooth_hash_scroll(scrollSpeed, highlightColor) {
/* Return if jQuery not inlcuded */
if (typeof jQuery !== "function") {
console.warn('jQuery not found!');
return false;
}
/* Default Values */
scrollSpeed = (typeof scrollSpeed === "undefined") ? 1000 : scrollSpeed;
highlightColor = (typeof highlightColor === "undefined") ? "#F8F99A" : highlightColor;
var hash_value = window.location.hash;
if (hash_value) {
/* Prevent Default scrolling */
setTimeout(function (){
window.scrollTo(0, 0);
}, 1);
/* Append head to add highlight css */
if (highlightColor) {
jQuery(document).ready(function (){
var scg_css = '*.scg-highlight-target:target { animation: scg_highlight 1.5s; -moz-animation: scg_highlight 1.5s; -webkit-animation: scg_highlight 1.5s; } '+
'@keyframes scg_highlight { 50% {background: '+highlightColor+';} } '+
'@-moz-keyframes scg_highlight { 50% {background: '+highlightColor+';} } '+
'@-webkit-keyframes scg_highlight { 50% {background: '+highlightColor+';} }';
jQuery("<style type="text/css"> " + scg_css + " </style>").appendTo("head");
});
}
}
jQuery(window).load(function (){
/* Scroll to position and add class for css animation */
if (jQuery(hash_value).length > 0) {
scg_element_obj = jQuery(hash_value);
window.scroll(0, 0); /* Prevent Default scrolling for chrome and opera */
jQuery('html, body').animate( {scrollTop: scg_element_obj.offset().top}, scrollSpeed, function (){
scg_element_obj.addClass('scg-highlight-target');
});
}
});
}
/* uses
* Note: keep that function outside the load and ready function of jquery or js
*/
scg_smooth_hash_scroll();
</code></pre>
<br />
<b>Uses:</b><br />
<ul>
<li>Download this script and include in your web page or copy paste whole script in your script file.</li>
<li><b>scg_smooth_hash_scroll(scrollSpeed, highlightColor)</b> accept two parameters.</li>
<li><b>Argument 1 scrollSpeed:</b> Define scrolling speed in milliseconds. Default is 1000ms</li>
<li><b>Argument 2 highlightColor:</b> Define the highlight color for element in HEX or color string e.g. <b>#FF0000</b> or <b>Red</b>. Default is #F8F99A or pass <b>false</b> to disable this functionality.</li>
<li><b>Note:</b> call the function outside the ready or load function of jQuery.</li>
</ul>
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com2tag:blogger.com,1999:blog-8426004405723761660.post-38092192251358301292013-12-15T19:18:00.000+05:302015-01-04T02:03:49.957+05:30Hide Folder with Batch File and CLSID<div dir="ltr" style="text-align: left;" trbidi="on">
This post is about hiding a folder in Windows using command prompt and CLSID.<br />
This trick also work with windows 7 and Windows 8.<br />
<br />
Commonly we use some encryption software to lock the secure data like Folder Lock but this trick is for hiding some private stuff ;) if you want to avoid direct access to folder.<br />
<br />
Now we will create two batch files (<b>available for download at bottom</b>) one will hide the folder and another will unlock the folder using a secure word you can say password.<br />
<br />
The technique is very simple we will change properties of locker folder completely same as some system folder, using windows commands. Therefore, accessing the locked folder will result in system file instead of actual folder path and making batch files of these commands will make lock and unlock process very easy.<br />
<a name='more'></a><b>About CLSID: </b><br />
CLSID are Windows class id for various windows class objects like My Computer, Control Panel, and Administrative Tools etc. we will use My Computer class id to make the locker behave like Computer Folder and clicking on that will show My Computer screen like hard drives.<br />
<br />
<b>Commands: </b><br />
We will use these commands<br />
<ul>
<li>First, rename the folder to make it system folder.
<br /><pre><code>rename Locker "Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"</code></pre>
</li>
<li>Then apply system attribute to completely hide this folder.
<br /><pre><code>attrib +h +s "Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}"</code></pre>
</li>
<li>Revert the same process to unlock the folder.</li>
</ul>
<h4>
<a href="http://goo.gl/7qg4g3" rel="nofollow">Click here to download batch files</a></h4>
<ul>
<li>Download zip file that contain whole structure of locker.</li>
<li><b>To lock:</b> Extract the zip file containing two files one to unlock and another to lock. "Lock.bat" should be inside the "locker" folder, to lock folder close all applications and files that are inside of locker folder and run that file then folder will be locked and hidden it will also make all files path invalid those are inside the locker folder. Therefore, no one can access using history of video player and from other apps recent files section.</li>
<li><b>To unlock:</b> run "unlock.bat" it will show blank cmd screen type "password" and hit enter, "Locker" folder will be visible immediately.</li>
</ul>
<b>Note:</b> you can change both file names this will not affect the lockers commands.<br />
<b>To change the locker name</b> unlock the locker and rename the folder but also search and replace <i>"</i>locker<i>"</i> with "new_folder_name" in both files as folder name is hardcoded in batch files.<br />
<b>To change the unlock password</b> open "unlock.bat" in notepad and look for <i>"</i>password<i>"</i> replace this word with your password.<br />
<br />
Comment your queries and suggestions!</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-1346483046885783852013-07-29T19:09:00.000+05:302015-02-09T21:36:06.392+05:30jQuery Smooth Scroll to Top Button<div dir="ltr" style="text-align: left;" trbidi="on">
Without taking your too much time I'll first let you know, this button is simple anchor tag and clicking on this will take user to top of your web page. Perhaps user can prefer space-bar but still useful for some users.<br />
<br />
By default in HTML you can put an anchor tag with <b>href</b> value of <b>#top</b> it works fine, to make it more decorative you need to put few lines of jQuery so it will smoothly scroll the window to top.<br />
<br />
I am using jQuery to animate the window so you need to include jQuery at your web page.
<br />
if you don't have get it from here <a href="http://jquery.com/download/" rel="nofollow" target="_blank">http://jquery.com/download/</a><br />
<br />
<a name='more'></a><br />
<b>JS</b><br />
<pre><code>jQuery(document).ready(function(){
/* Only hide link if js is enable */
jQuery('#scg-jump2top').hide();
/* hide link if user is already on top */
jQuery( window ).scroll(function(){
if (jQuery(this).scrollTop() > 300)
jQuery('#scg-jump2top').fadeIn();
else
jQuery('#scg-jump2top').fadeOut();
});
/* jump to top */
jQuery('#scg-jump2top').click(function(e){
e.preventDefault();
jQuery("html, body").animate({ scrollTop : 0 }, 600);
});
});</code>
</pre>
<br />
<br />
<b>Complete Working Example</b><br />
<b> </b>
<br />
<textarea readonly="" style="height: 400px; width: 100%;"><!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
jQuery(document).ready(function(){
jQuery('#scg-jump2top').hide();
jQuery( window ).scroll(function(){
if (jQuery(this).scrollTop() > 300)
jQuery('#scg-jump2top').fadeIn();
else
jQuery('#scg-jump2top').fadeOut();
});
jQuery('#scg-jump2top').click(function(e){
e.preventDefault();
jQuery("html, body").animate({ scrollTop : 0 }, 600);
});
});
</script>
<style>
body {
margin: 0;
padding: 0;
}
.empty-div {
width: 100%;
height: 1000px;
background: silver;
text-align: center;
}
#scg-jump2top {
background: wheat;
border: 1px solid #F7D89E;
border-radius: 5px;
bottom: 10px;
display: block;
font-size: 14px;
line-height: 21px;
padding: 5px 20px;
position: fixed;
right: 1%;
color: black;
text-decoration: none;
}
</style>
</head>
<body>
<div class="empty-div">
Dummy Text</div>
<a href="#top" id="scg-jump2top" title="Jump to Top">Top</a>
</body>
</html>
</textarea><br />
Comment your suggestions and queries :) </div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-64537235197831026172012-02-01T13:40:00.001+05:302015-01-04T02:11:20.438+05:30Check Who is Copying your Website or Blog<div dir="ltr" style="text-align: left;" trbidi="on">
All search engines like Google, Yahoo, Bing love to index original contents only. Here’s what I mean by original contents is no copy paste.<br />
Some bloggers or webmasters copy whole articles or post and paste to their own website but this is not a good idea, if someone really wants to their website on the top the person should create their own contents.<br />
Because including all major search engines hate to index duplicate contents.<br />
<a name='more'></a><a href="http://www.blogger.com/blogger.g?blogID=8426004405723761660&sig=ALjLGbNj-bnBntgvLMfHVyF7UdCiv5zNjw" name="more"></a>
<br />
<img alt="Do not Copy" border="0" src="http://1.bp.blogspot.com/-FcDAhrcMpWI/TyjzD8JvqrI/AAAAAAAAARY/jpp3oKwwrlg/s1600/DoNotCopy.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" />So if someone is stealing your website or blog article, contents so you can check for those websites by using search engines. But there are wonderful tools which makes it more easy and accurate like <a href="http://www.copyscape.com/" rel="nofollow" target="_blank">www.copyscape.com</a><br />
<b></b><br />
<b>How to detect copied contents using copyscape:
</b>
<br />
<ul>
<li>Go to <a href="http://www.copyscape.com/" rel="nofollow" target="_blank">www.copyscape.com</a>
</li>
<li>Copy url of the page (which you want to check) and paste to search box
</li>
<li>Now search, if no match found so no one copied your contents. Else it’ll show the list of matched web pages.
</li>
<li>You can see my blog result <a href="http://www.copyscape.com/?q=http%3A%2F%2Fby-nick.blogspot.com" rel="nofollow" target="_blank">here</a>
</li>
</ul>
You can also place a free warning banner on your website to warn peoples.<br />
<br />
Comment your response!</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com3tag:blogger.com,1999:blog-8426004405723761660.post-13169344270219304292012-01-09T02:37:00.002+05:302015-01-04T02:16:54.020+05:3010 Awesome Google Tricks<div dir="ltr" style="text-align: left;" trbidi="on">
Past few months ago you felt gravity on your laptop PC, which was <b>Google gravity</b>, then did some <b>barrel roll</b> and last month it was <b>snow fall</b> on your PC screen. I am talking about the <b>"Google Easter eggs"</b>.<br />
Here I am giving some ten awesome tricks to do with Google search.<br />
These are not search feature of Google to enhance the search but it’s like doing something to getting out from the coding stress.<br />
<a name='more'></a><div class="separator" style="clear: both; text-align: center;">
<a href="http://lh3.googleusercontent.com/-VNaLRRd2VAg/TwoEHby7i2I/AAAAAAAAAQw/phhIneFmdX8/s660/google_let_it_snow.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" title="Let it snow, click to enlarge image"><img alt="google let it snow" border="0" height="228" src="http://lh3.googleusercontent.com/-VNaLRRd2VAg/TwoEHby7i2I/AAAAAAAAAQw/phhIneFmdX8/s660/google_let_it_snow.png" width="400" /></a></div>
<br />
<br />
<div style="color: #3d85c6;">
<b>Do a barrel roll</b></div>
Type this keyword and do some barrel roll. Just one roll not too much.<br />
<br />
<div style="color: #3d85c6;">
<b>Recursion</b></div>
If you are confused about recursion, Google teach you the real one. This keyword will make Google to continue asking "did you mean recursion?"<br />
<br />
<div style="color: #3d85c6;">
<b>Askew</b></div>
this query will turn screen to right side a bit.<br />
<br />
<div style="color: #3d85c6;">
<b>Let it snow (It’s for holidays only)</b></div>
type this keyword "let it snow" in Google search box and there will be snow fall on pc screen, you can wipe it with your cursor, then click defrost (search) button and it’s all clear. But it’s not working now, wait for next holidays.<br />
<br />
<div style="color: #3d85c6;">
<b>ascii art</b></div>
type, search and see the Google logo in ascii art on top-left.<br />
<br />
<div style="color: #3d85c6;">
<b>Hanukkah</b></div>
put some stars before search result.<br />
<br />
<div style="color: #3d85c6;">
<b>Kwanzaa</b></div>
glow some candles on search result page.<br />
<br />
<div style="color: #3d85c6;">
<b>Christmas</b></div>
See Christmas decoration on result page.<br />
<br />
<div style="color: #3d85c6;">
<b>the loneliest number =</b></div>
you know who is it? That is 1 but I don’t think so.<br />
<br />
<div style="color: #3d85c6;">
<b>the answer to life, the universe and everything =</b></div>
If you are looking for this answer so it is 42, you don’t believe me try Google.<br />
<br />
<b>Few more cool things to do with Google found by others than Google:</b><br />
<div style="color: #3d85c6;">
<b>Google gravity </b></div>
Click on first result that is Mr. Doob project and feel gravity, you can also search in this gravity.<br />
<br />
<div style="color: #3d85c6;">
<b>Google sphere</b></div>
another project by Mr. Doob and I think well than Google gravity. Click on first result or click “I am feeling lucky”<br />
<br />
Share with your friends and comment☺
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com9tag:blogger.com,1999:blog-8426004405723761660.post-44916456827903608942012-01-03T18:47:00.000+05:302015-01-04T02:24:22.746+05:30New Chat Smiley for Facebook<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<img alt="facebook chat window picture smiley" border="0" src="http://1.bp.blogspot.com/-Ub2pujuUxIw/TwL9zlxrS0I/AAAAAAAAAQc/QrebShxcIg0/s1600/facebook_chat_window.png" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" /></div>
If you are looking to do something new with facebook chat so this is a cool trick to do with facebook chat smiley (emotions).<br />
Now facebook allow us to use our <b>profile picture</b> as chat smiley. This is so good because all of us are fed up with old traditional chat emotions (smiley).
<br />
You can put your profile picture, your friends profile picture or someone else like facebook pages profile picture as your smiley.<br /><br />
<b>Follow these steps to do this:</b>
<a name='more'></a><br />
<ul>
<li>Go the profile page of person whose profile photo you want as smiley.
</li>
<li>Now look for the profile URL it can be like <span style="color: blue;">www.facebook.com/profile.php?id=100002966410464</span> or
<span style="color: blue;">www.facebook.com/SOCGs</span> so <b>"100002966410464"</b> is the id of profile and <b>"SOCGs"</b> is the username of profile. You can use anyone of these two. Copy one of them.
</li>
<li>Now paste id into double square braces like <b>[[id of profile or username]]</b> e.g. <b>[[100002966410464]]</b> or <b>[[SOCGs]]
</b></li>
<li>Hit enter in chat box you are done!<b> </b><b> </b></li>
</ul>
<i>Some example codes:</i><br />
[[171108522930776]] TroLL<br />
[[164413893600463]] MEGUSTA<br />
[[218595638164996]] YAO<br />
[[189637151067601]] Lol<br />
[[129627277060203]] Pkr face.<br />
[[227644903931785]] F ALONE.<br />
[[100002752520227]] OKAY<br />
[[105387672833401]] FK YEA.<br />
[[100002727365206]] CH AC.<br />
[[125038607580286]] Forever alone navidad.<br />
[[143220739082110]] FK KIDDING ME.<br />
[[168040846586189]] Feel like a Sir.<br />
[[169919399735055]] NOT BAD<br />
[[142670085793927]] M O G.<br />
[[170815706323196]] Cereal Guy<br />
[[167359756658519]] NO<br />
[[224812970902314]] Derp<br />
[[192644604154319]] Derpina<br />
[[115927268419031]] A dark S<br />
[[4]] Mark Zuckerberg<br />
<br />
<b>Creating own facebook chat smiley:</b><br />
This is not possible to create individual profile for using many chat smileys. But we can create numbers of pages just using single facebook account (profile), so you can create many pages and change their profile picture as you want. Each page has a unique id and you can use this unique id as your unique smiley.<br />
<br />
<b>Traditional facebook chat smileys with code:</b><br />
<div class="separator">
<a href="http://3.bp.blogspot.com/-6IhAuVZBt-4/TwL-MjqZRMI/AAAAAAAAAQo/lLHJYlH45KM/s1600/facebook_smiley.png" imageanchor="1" style="margin-bottom: 1em; margin-right: 1em;"><img alt="all facebook smiley code" border="0" height="400" src="http://3.bp.blogspot.com/-6IhAuVZBt-4/TwL-MjqZRMI/AAAAAAAAAQo/lLHJYlH45KM/s400/facebook_smiley.png" width="373" /></a></div>
<br />
If you feel this post interesting please share and comment!</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com3tag:blogger.com,1999:blog-8426004405723761660.post-91801605029615726982011-12-31T11:48:00.001+05:302015-01-04T02:27:45.466+05:30Five Most Viewed Posts of the Year 2011<div dir="ltr" style="text-align: left;" trbidi="on">
Today is the last day of the year 2011 and i was looking back to the stats and posts that viewed most on my blog at this year 2011, got much traffic from Google and Facebook.<br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="SCG top five posts of the 2011" border="0" src="http://3.bp.blogspot.com/-pJxmKJqG46M/Tv65WwwycaI/AAAAAAAAAQQ/VtqI1il4NLQ/s1600/top5.jpg" style="clear: right; float: right;" /></div>
And that is what I've analyzed.
<br />
<ol>
<li><span style="font-size: large;"><a href="http://by-nick.blogspot.com/2011/10/watch-free-live-tv-on-mobile-phone.html">Watch Free Live TV on Mobile Phone</a></span></li>
<li><span style="font-size: large;"><a href="http://by-nick.blogspot.com/2011/09/tracking-admin-of-facebook-page.html">Find out Admin of Facebook Page</a></span></li>
<li><span style="font-size: large;"><a href="http://by-nick.blogspot.com/2011/10/cool-vbscript-prank.html">Cool VBScript Prank</a></span></li>
<li><span style="font-size: large;"><a href="http://by-nick.blogspot.com/2011/10/unmask-password-on-web-pages.html">Unmask Password on Web Pages</a></span></li>
<li><span style="font-size: large;"><a href="http://by-nick.blogspot.com/2011/09/hack-passwords-using-actual-spy.html">Hack Passwords using Actual Spy Keylogger</a></span></li>
</ol>
Check out this stuff. <br />
If you found this blog useful <a href="http://www.addthis.com/bookmark.php?v=250&url=http://by-nick.blogspot.com" target="_blank" title="click to open share menu">share</a> this with your friends.<br />
Have a nice year ahead! Happy New Year 2012 :)<br />
<ol>
</ol>
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-3622800036638244662011-12-27T23:20:00.001+05:302015-01-04T02:34:59.559+05:30View docx files on Nokia s40<div dir="ltr" style="text-align: left;" trbidi="on">
Reading on mobile phone or tablet is so much comfortable than reading on laptops or on personal computer.<br />
But all of you know that only high end devices support <b>PDF</b> or <b>Microsoft word format</b>.<br />
If you have one so you can download adobe reader from its official website and can read almost all books by converting it to PDF (Portable Document Format).<br />
But for rest of the devices that do not support pdf format it's quite difficult to read them, because all pdf readers other than adobe reader do not show the pdf file well.<br/>
<a name='more'></a>
Okay Nokia phones have in-built browser that able to extract information from html files.<br />
So we can see rich text with images in HTML format on our Nokia phones. It works almost with all phone but we'll now only consider series 40 <b>(s40)</b> because series 60 <b>(s60)</b> support adobe reader.<br />
<br />
<b>Viewing .docx or. doc format on Nokia s40</b><br />
you can read rich text with images follow this method.
<br />
<ol>
<li>Open word document with Microsoft office word.
</li>
<li>Now click on <i><b>save as</b><b>.</b></i>
</li>
<li>On save as dialog change save as type (i.e. format) to <b><i>web page filtered</i></b>.
</li>
<li>Save this file to your phone and open this in your phone, you'll be able to read the docx format.
</li>
</ol>
<b>Viewing WebPages on mobile phone</b><br />
Same as reading word format file you can see web pages on your mobile device too.
<br />
<ol>
<li>Open webpage with your web browser.
</li>
<li>Click on <i><b>save as</b></i> or press <i><b>Ctrl+s</b></i>
</li>
<li>Change format to<i><b> html or web page complete</b></i>, save it to your mobile device.
</li>
</ol>
<b>Converting pdf to docx format </b><br />
You can read pdf files too, all you need to do, convert pdf to word format you can search on internet for pdf to word converter.<br />
But break full pdf file to 10-10 pages word files so it will load faster.<br />
<br />
Comment your suggestions!
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com3tag:blogger.com,1999:blog-8426004405723761660.post-90083381519420767512011-12-19T21:12:00.010+05:302022-02-05T02:43:47.232+05:30New Year Countdown Clock<div dir="ltr" style="text-align: left;" trbidi="on">
This is JavaScript widget which shows a countdown clock that will end on <b>New Year‘s 2023 eve</b>, and clock will be replaced by personal new year message.<br />
You can add this script to your blog, website or somewhere else that support java script, html and CSS.<br />
Copy the code below and paste to your website where you want to show countdown timer. If you are on blogger platform copy script and add new HTML/JavaScript widget then paste this code to its body.<br />
<a name='more'></a><br />
<br />
<textarea cols="65" readonly="readonly" rows="15" title="Copy this code and paste to your website">
<style type="text/css">
#scg-nyc-wrapper{color:gray;font-size:30px;line-height:normal;text-align:center;cursor:pointer;padding:5px;background:rgba(255, 255, 255, 0.5);}
.scg-nyc-digits-wrapper{display:inline-block;vertical-align:bottom}
.scg-nyc-digits-type{font-size:13px}
.scg-nyc-digit > span{background:#fff none repeat scroll 0 0;border:1px solid rgba(0,0,0,0.1);border-radius:5px;box-shadow:1px 1px 1px #d1c1c1;display:inline-block;padding:2px 7px;margin:0 1px}
.scg-nyc-sep{padding:5px 0;animation:sep-blinks 1s linear infinite;-moz-animation:sep-blinks 1s linear infinite;-webkit-animation:sep-blinks 1s linear infinite;}
@keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
@-moz-keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
@-webkit-keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
</style>
<div id="scg-nyc-wrapper">
<div id="scg-nyc-msg">
New Year's Eve Countdown</div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Days</div>
<div class="scg-nyc-digit" id="scg-clock-days">
<span>0</span><span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Hours</div>
<div class="scg-nyc-digit" id="scg-clock-hr">
<span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Minutes</div>
<div class="scg-nyc-digit" id="scg-clock-mins">
<span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Seconds</div>
<div class="scg-nyc-digit" id="scg-clock-secs">
<span>0</span><span>0</span>
</div>
</div>
</div>
<script type="text/JavaScript">
/**
* New Year 2023 Countdown Timer.
*
* @author 5um17
* @link http://www.secretsofgeeks.com/2011/12/new-year-countdown-clock.html
**/
function startTimer() {
var newyr = new Date("January 1, 2023 00:00:00");
var newyeartime = newyr.getTime();
var todaytm = new Date();
var todaytime = todaytm.getTime();
var timeleft = newyeartime - todaytime;
var leftdays = timeleft / 86400000;
var lefthr = 23 - todaytm.getHours();
var leftmin = 59 - todaytm.getMinutes();
var leftsec = 59 - todaytm.getSeconds();
if (Math.floor(leftdays) <= -1) {
document.getElementById('scg-nyc-msg').innerHTML = "It's New Year Time, Friends!<br/>Happy New Year 2023";
return;
} else {
document.getElementById('scg-clock-days').innerHTML = scgWrapChars(Math.floor(leftdays), -3);
document.getElementById('scg-clock-hr').innerHTML = scgWrapChars(lefthr, -2);
document.getElementById('scg-clock-mins').innerHTML = scgWrapChars(leftmin, -2);
document.getElementById('scg-clock-secs').innerHTML = scgWrapChars(leftsec, -2);
}
setTimeout('startTimer()', 999);
}
/**
* Wrap each word in span.
*
* @link http://stackoverflow.com/a/15602535/2384623
*/
function scgWrapChars(str, pad) {
str = (Math.pow(10, Math.abs(pad)) + str.toString()).slice(pad);
return str.replace(/\w/g, "<span>$&</span>");
}
startTimer();
//clicking on the clock will redirect to this link. Keep this link as it is to support author.
document.getElementById("scg-nyc-wrapper").onclick = function () {
window.location = "http://www.secretsofgeeks.com/2011/12/new-year-countdown-clock.html?myref=ny";
}
</script>
</textarea>
<br />
<br />
<style type="text/css">
#scg-nyc-wrapper{color:gray;font-size:30px;line-height:normal;text-align:center;cursor:pointer;padding:5px;background:rgba(255, 255, 255, 0.5);}
.scg-nyc-digits-wrapper{display:inline-block;vertical-align:bottom}
.scg-nyc-digits-type{font-size:13px}
.scg-nyc-digit > span{background:#fff none repeat scroll 0 0;border:1px solid rgba(0,0,0,0.1);border-radius:5px;box-shadow:1px 1px 1px #d1c1c1;display:inline-block;padding:2px 7px;margin:0 1px}
.scg-nyc-sep{padding:5px 0;animation:sep-blinks 1s linear infinite;-moz-animation:sep-blinks 1s linear infinite;-webkit-animation:sep-blinks 1s linear infinite;}
@keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
@-moz-keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
@-webkit-keyframes sep-blinks {
0%{opacity:1}
50%{opacity:0}
100%{opacity:1}
}
</style>
<div id="scg-nyc-wrapper">
<div id="scg-nyc-msg">
New Year's Eve Countdown</div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Days</div>
<div class="scg-nyc-digit" id="scg-clock-days">
<span>0</span><span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Hours</div>
<div class="scg-nyc-digit" id="scg-clock-hr">
<span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Minutes</div>
<div class="scg-nyc-digit" id="scg-clock-mins">
<span>0</span><span>0</span>
</div>
</div>
<div class="scg-nyc-digits-wrapper scg-nyc-sep">
: </div>
<div class="scg-nyc-digits-wrapper">
<div class="scg-nyc-digits-type">
Seconds</div>
<div class="scg-nyc-digit" id="scg-clock-secs">
<span>0</span><span>0</span>
</div>
</div>
</div>
<script type="text/JavaScript">
/**
* New Year 2023 Countdown Timer.
*
* @author 5um17
* @link http://www.secretsofgeeks.com/2011/12/new-year-countdown-clock.html
**/
function startTimer() {
var newyr = new Date("January 1, 2023 00:00:00");
var newyeartime = newyr.getTime();
var todaytm = new Date();
var todaytime = todaytm.getTime();
var timeleft = newyeartime - todaytime;
var leftdays = timeleft / 86400000;
var lefthr = 23 - todaytm.getHours();
var leftmin = 59 - todaytm.getMinutes();
var leftsec = 59 - todaytm.getSeconds();
if (Math.floor(leftdays) <= -1) {
document.getElementById('scg-nyc-msg').innerHTML = "It's New Year Time, Friends!<br/>Happy New Year 2023";
return;
} else {
document.getElementById('scg-clock-days').innerHTML = scgWrapChars(Math.floor(leftdays), -3);
document.getElementById('scg-clock-hr').innerHTML = scgWrapChars(lefthr, -2);
document.getElementById('scg-clock-mins').innerHTML = scgWrapChars(leftmin, -2);
document.getElementById('scg-clock-secs').innerHTML = scgWrapChars(leftsec, -2);
}
setTimeout('startTimer()', 999);
}
/**
* Wrap each word in span.
*
* @link http://stackoverflow.com/a/15602535/2384623
*/
function scgWrapChars(str, pad) {
str = (Math.pow(10, Math.abs(pad)) + str.toString()).slice(pad);
return str.replace(/\w/g, "<span>$&</span>");
}
startTimer();
//clicking on the clock will redirect to this link. Keep this link as it is to support author.
document.getElementById("scg-nyc-wrapper").onclick = function () {
window.location = "http://www.secretsofgeeks.com/2011/12/new-year-countdown-clock.html?myref=ny";
}
</script>
<br />
<div>
<b>Customizing code:</b>
This JavaScript is almost simple. Only few things you have to understand to modify this.
<br />
<ul>
<li><span style="background-color: yellow; color: black;">var newyr</span> Creating new date instance of January 01, 2023
</li>
<li><span style="background-color: yellow; color: black;">var newyeartime</span> store time in milliseconds since January 1, 1970 to January 01, 2023
</li>
<li><span style="background-color: yellow; color: black;">var todaytm</span> creating new instance of local time
</li>
<li><span style="background-color: yellow; color: black;">var timeleft</span> store time in millisecond, difference of current time and January 01, 2023
</li>
<li><span style="background-color: yellow; color: black;">var leftdays</span> calculate and store days left using timeleft variable.
</li>
<li><span style="background-color: yellow; color: black;">Math.floor()</span> convert floating value in integer (lowest integer )
</li>
<li><span style="background-color: yellow; color: black;">if (Math.floor(leftdays) <= -1)</span> check if leftdays value reaches below 0 i.e -1
</li>
<li><span style="background-color: yellow; color: black;">setTimeout('startTimer()',500)</span> call function after every 0.5 second to update time.</li>
</ul>
So if you want to change timer then change the target date that is <span style="background-color: yellow; color: black;">var newyr=new Date("January 1, 2023 00:00:00");</span> then the timer will we changed according to the target date.<br />
You can also personalize message or time format these are written in <b>If and else block</b>.<br />
Having any trouble ? comment here! </div>
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com30tag:blogger.com,1999:blog-8426004405723761660.post-36927721005669381122011-12-16T13:42:00.000+05:302015-01-04T13:03:07.825+05:30Test Website Speed<div dir="ltr" style="text-align: left;" trbidi="on">
For SEO and better performance of your blog or website you have to analysis your website performance.<br />
There are many options available for this but I recommend you to try
<a name='more'></a><a rel="nofollow" href="http://gtmetrix.com/" target="_blank">GTmetrix.com</a>
<br/><br/>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-lf53Q8EM4KI/Tur8N1Kb_UI/AAAAAAAAAPk/duL379DFufM/s1600/gtmetrix_facebook.jpg" imageanchor="1" style="clear: right; float: right; "><img border="0" height="408" src="http://3.bp.blogspot.com/-lf53Q8EM4KI/Tur8N1Kb_UI/AAAAAAAAAPk/duL379DFufM/s640/gtmetrix_facebook.jpg" width="640" alt="gtmetrix facebook grade" /></a></div>
<br />
<br />
"<b>GTmetrix - Website Speed and Performance Optimization</b>" this tool combine several webpage performance factors that is powered by Google, Yahoo, Firefox and many more.<br />
For testing website speed you just have to type Address of your blog or website and click Go.<br />
In the report you will see Load time, Total page size, and total number of request also with Page Speed Grade and YSlow Grade that helps you more to understand your website.<br />
<br />
<i><b>Breakdown</b></i><br />
<b>Page Speed:</b> Page Speed powered by Google Page speed, will help you to analysis your webpage html and CSS code. Your website receive individual grade for every recommendation with type of recommendation (e.g. image, server, JS etc).<br />
<b>YSlow:</b> yslow same as Page speed powered by yahoo, but with different recommendations so the results may differ with each other, every webmaster try to increase both grades of his website.<br />
<b>TimeLine:</b> time line is most amazing that I believe, timeline tells you request response time, total size of the receiving response, so you can find out the special section of the requests that is taking too long time to response and making your website to be load slowly.<br />
As I believe that external gadgets take too long time to respond so you should only use necessary gadgets. You can find them out here.<br />
<b>History:</b> history shows time-performance graph of your website. So you can compare the results after making changes to your website.<br />
<br />
Click here to test your website speed <a rel="nofollow" href="http://gtmetrix.com/" target="_blank">GTmetrix.com</a>
Know more about this <a rel="nofollow" href="http://gtmetrix.com/faq.html" target="_blank">GTmetrix.com/FAQ</a><br />
If you enjoyed this article comment here!
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com1tag:blogger.com,1999:blog-8426004405723761660.post-23777471628992137312011-11-30T22:24:00.000+05:302015-01-04T13:08:48.470+05:30Hack IE Title Bar<div dir="ltr" style="text-align: left;" trbidi="on">
Title bar is the area where title of webpage is displayed. In Internet Explorer this can be changed to your own string, whatever the webpage title is, it doesn’t matter.<br />
The format will be like webpage title then your string.<br />
By doing this you can promote your site, can give message to victim and can surprise to your friends.<br />
<br />
<b>Watch this video to know how you can do this.</b><br />
<a name='more'></a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<object class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://2.gvt0.com/vi/hmU-n2io7_o/0.jpg" height="266" width="320"><param name="movie" value="http://www.youtube.com/v/hmU-n2io7_o&fs=1&source=uds" />
<param name="bgcolor" value="#FFFFFF" />
<embed width="320" height="266" src="http://www.youtube.com/v/hmU-n2io7_o&fs=1&source=uds" type="application/x-shockwave-flash"></embed></object></div>
<br />
This trick can be done by command prompt too. You can use this command to add a new key in window registry.<br />
<br />
<div style="background-color: black; color: yellow;">
reg add /? </div>
<br />
When you’ll execute this command you will see the instruction for using it. <br />
So you can use the command in batch file, C program, can create shortcut or any other language to automate the task.<br />
If you enjoyed the trick, like this video.</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-83899941939973302792011-10-30T20:55:00.000+05:302015-01-04T14:13:08.117+05:30Cool VBScript Prank<div dir="ltr" style="text-align: left;" trbidi="on">
One day I was looking at vbs file which auto type in notepad, and then I got idea to modify it and making it little bit crazier.<br />
I added some new functions and methods to the script, try it I’m sure you’ll like it.<br />
<br />
<b>What this script will do:</b><br />
It’ll first start your browser then will type some urls then play with your browser’s TAB, at the end it’ll start Microsoft speech engine and gives audio message to your friend about the prank.<br />
<br />
Download this file "Browser_Prank.vbs"
<br />
<a rel="nofollow" href="http://goo.gl/7iAzxq" title="Click here to download Browser_Prank.vbs"><b>Browser_Prank.vbs</b></a><br />
or<br />
Copy this code below and paste to notepad then save as "Browser_Prank.vbs" <br />
<a name='more'></a><br />
<pre title="Copy this code"><code>'################################################################
' File: Browser_Prank.vbs
' Author: 5um17
' URL: http://www.secretsofgeeks.com
' Launch browser, open sites, switch tabs, show msgbox, speak msg.
' Modify and redistribute the script but leave this attribution here.
'################################################################
WScript.Sleep 5000
Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "http://www.google.com/"
WScript.Sleep 2000
oShell.AppActivate "http://www.google.com/"
WScript.Sleep 1000
oShell.SendKeys "^t"
WScript.Sleep 1000
oShell.SendKeys "http://by-nick.blogspot.com/"
oShell.SendKeys "~"
WScript.Sleep 1000
oShell.SendKeys "^t"
WScript.Sleep 1000
oShell.SendKeys "http://www.facebook.com/SOCGs"
oShell.SendKeys "~"
WScript.Sleep 3000
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
oShell.SendKeys "^{TAB}"
WScript.Sleep 500
return=msgbox("So Do you want somthing more ? click OK :-D",48,"msg by nick")
CreateObject("SAPI.SpVoice").Speak "It's ok. Prank by Secrets of Computer Geeks"
'##### End
</code></pre>
<br />
<b>How it is working:</b><br />
This script using mainly three methods Run, SendKeys and sleep.<br />
The things you’ll note here that script is sending some special key combination for browser shortcut key like Ctrl+TAB to switch between tabs.<br />
<br />
<b>There are some methods described with their purpose:</b><br />
<br />
<table cellpadding="2px" cellspacing="1px">
<tbody>
<tr>
<td><b>Sleep 5000</b></td><td>: initially we call this method for start execution after some time of launching the script. Time is in milliseconds (5000 = 5 sec)</td></tr>
<tr>
<td><b>Run “http://www.google.com/”</b></td><td>: starting default browser and displaying initial page.</td></tr>
<tr>
<td><b>SendKeys "^t"</b></td><td>: special key CTRL+T for opening new tab in browser.</td></tr>
<tr>
<td><b>SendKeys "~"</b></td><td>: for sending ENTER</td></tr>
<tr>
<td><b>msgbox</b></td><td>: displaying a popup message box.</td></tr>
<tr>
<td><b>CreateObject("SAPI.SpVoice").Speak</b></td><td>: object creation for speech engine and calling of speak method for making windows to speak.
</td></tr>
</tbody></table>
<br />
It is working almost with every modern browser and windows operating system that allows VBScript execution.<br />
Try it and have fun.</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com2tag:blogger.com,1999:blog-8426004405723761660.post-91161317070660646192011-10-18T01:49:00.000+05:302015-01-04T14:49:37.120+05:30Unmask Password on Web Pages<div dir="ltr" style="text-align: left;" trbidi="on">
When you enter password on web pages, it is always in plain text. It’s just hidden behind the asterisks ‘*’ or bullets ‘•’.<br />
Sometimes peoples let web browser remember their passwords and username, but it may be dangerous if peoples share their computers with others because except Internet Explorer you can see stored password almost in any browser.<br />
And here is a simple javascript, which allows you to see password behind asterisks or say it’ll unmask password.<br />
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="unmask password javascript" border="0" imageanchor="1" src="http://4.bp.blogspot.com/-v44mNSBDnlM/TpyMviT16_I/AAAAAAAAALk/x0lFx06_uis/s1600/unmaskpswd.PNG" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;" /></div>
Copy and paste this javascript in address bar when web page is open and contain password. Script will check all the forms in web page and if any password is there, it will be unmasked and a pop up box will show you all the passwords. It works almost with every web browser.
<br />
<br />
<br />
<br />
<br />
<b>Copy this javascript and paste to address bar then hit enter:</b><br />
<textarea cols="50" readonly="readonly" rows="9" style="height: 173px; width: 469px;" title="javascript for unmask password">javascript:(function(){var pswd_value,form_nos,j,form_itm,i;pswd_value="";form_nos=document.forms;for(j=0;j<form_nos.length;++j){form_itm=form_nos[j];for(i=0;i<form_itm.length;++i){if(form_itm[i].type.toLowerCase()=="password")pswd_value+=form_itm[i].value+"\n";}}if(pswd_value)alert("SCG says:\nTotal passwords on this page(one by one):\n\n"+pswd_value);else alert("SCG says:\nThere is no password on this web page.");})();</textarea><br />
<br />
<b>How it is working:</b><br />
actually when you type your password on a web page it is always like you typing in html text box, the only difference is unreadable but not encrypted till you don’t send it on a secure connection.
So this java script allows you to see the value of html password filed.<br />
<br />
These are the steps will explain the script:
<br />
<ol>
<li><code style="background-color: #cfe2f3;">for(j=0; j<form_nos.length; ++j)</code><br />
This loop is finding total number of forms on the web page, if found then will process each form.</li>
<li><code style="background-color: #cfe2f3;">for (i=0; i<form_itm.length; ++i)</code><br />
This loop will find the entire elements in each form, and will process ev<span style="background-color: white;">e<span style="background-color: white;">ry element of the form.</span></span></li>
<li><code style="background-color: #cfe2f3;">if (form_itm[i].type.toLowerCase() == "password")</code><br />
Now if element is password field then store the values in a variable (next line).</li>
<li>Display if variable contains something else says nothing to show.</li>
</ol>
Hope it will help you to understand the script so you can modify it for better result.<br />
<br />
<b><span style="background-color: #274e13; color: white;">Update #1 (Dec-01-2011) </span></b><br />
Mozilla Firefox's latest versions are not supporting execution of JavaScript right from the address bar, for security reasons. But you can bypass this feature:<br />
> create a new bookmark.<br />
> paste the script in location of bookmark.<br />
> add bookmark.<br />
Now to run the script click on bookmark you've added.
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-28001970442431556232011-10-10T00:47:00.000+05:302015-01-04T14:53:24.448+05:30Watch Free Live TV on Mobile Phone<div dir="ltr" style="text-align: left;" trbidi="on">
If your mobile device support streaming feature so you can watch live TV on your mobile phone.<br />
It is quite similar to playing online videos from websites like Youtube.com or vuclip.com,<br />
all you have to do, visit these sites by your mobile device:<br />
<a name='more'></a><br />
<span style="font-size: 18px;"><a href="http://yamgo.mobi/" rel="nofollow" target="_blank">yamgo.mobi</a> (Yamgo)</span><br />
This site provides you some popular channels(both Hindi & English), they keep updating their channels list.<br />
Some popular channels you can watch are Zing, Music1, B4U music, BELLAclub, Bollywood Movies and many more.
<br />
<br />
<span style="font-size: 18px;"><a href="http://klive.in/index.php" rel="nofollow" target="_blank">klive.in/index</a> (Klive)</span><br />
K live have long list of Indian Hindi channels and as well English movies channel, some of the channels support only High-end devices but you can try they have long list of channels.
<br />
<br />
<span style="font-size: 18px;"><a href="http://akeelwap.net/streaming/index.php" rel="nofollow" target="_blank">akeelwap.net/streaming/index</a> (Akeelwap.net)</span><br />
Akeel wap provides free service of live TV and Live Radio, this site allow you to download 3gp or MP4 Format movies for your mobile phone.<br />
Both Hindi, English channels list are available on this site.
<br />
<br />
<span style="font-size: 18px;"><a href="http://www.yupptv.com/mobile/yuppMobile.aspx" rel="nofollow" target="_blank">www.yupptv.com/mobile/yuppMobile</a> (YuppTV)</span><br />
yupp tv has long list of channels by categories , including both local and international channels.<br />
yuppTV also provides you high and low bandwidth of channels so better support to your device.
<br />
<br />
<span style="font-size: 18px;"><a href="http://m.ibnlive.com/app" rel="nofollow" target="_blank">m.ibnlive.com/app</a> (IBN Live TV application)</span><br />
this application is able to play IBN live on your mobile device but only support High-End Devices.
<br />
<br />
You can also watch these channels on your desktop pc or laptop too, for this I'll refer you to read my post <a href="http://by-nick.blogspot.com/2011/08/play-youtube-videos-with-vlc-media.html">“Play YouTube videos with vlc media player”</a>. </div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com4tag:blogger.com,1999:blog-8426004405723761660.post-65333521393494246792011-10-05T01:53:00.002+05:302015-01-04T15:02:34.507+05:30Beginning with Batch Files<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<div>
<img alt="SCG command prompt" border="0" src="http://4.bp.blogspot.com/-fnl_NxWF8fQ/Totqx-t7mKI/AAAAAAAAALc/ZM51ziw19yc/s1600/SCG_cmd.gif" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" /></div>
This article is about the windows batch programming, inside this, my own views and knowledge about the batch programming.
This is a wide topic, here I will just give you overview of this, for more and query or discussion you can contact me.
<br />
<br />
<span style="font-size: large;">What actually batch files are:</span><br />
batch files are scripts written in English and contains command that executed ‘line by line’ by command interpreter in Microsoft operating systems.
<br />
<a name='more'></a>It just like that you write a command on command prompt (cmd.exe) and execute it. Same as you can write those commands in text files and save with batch files extensions.
<br />
<span style="font-size: large;">What does batch file do:</span><br />
batch files give automation to your tasks, Tasks, which you do frequently, without using GUI.
<br />
Like file handling, operation, maintenance.
<br />
<br />
<span style="font-size: large;">Need of batch files:</span><br />
some of the people think that it is old and outdated language so why do we learn it? When we have other OOPs languages and good demand of them in market so why. So I will say yes! The same tasks you can do in C or other languages, but remember it is scripting NOT a Language. It is like VBS scripts or Java script.
<br />
You don’t need to compile and build, each time you do a change in it, just save it, and it is ready.
Self-interest in windows and craziness of peoples force them to learn batch files.<br />
I use them to integrate in SETUP programs, other languages applications, and customization in windows functionality.
<br />
<br />
<span style="font-size: large;">File Extensions:</span><br />
there are two type of extensions used widely .CMD and .BAT (not case sensitive)
<br />
cmd is short form of command and Bat you know of batch.
<br />
.cmd extension used in windows NT family system and also work with windows latest versions.
<br />
.bat works on DOS and windows versions.
<br />
I recommend you to use .bat it’s common and have more compatibility than .CMD
<br />
<br />
<span style="font-size: large;">What are commands:</span><br />
when a batch file executed it’ s interpreted by command interpreter. And commands are like program function which take command line argument and give the output.
<br />
Some of the commands are inbuilt in CMD.exe and some are external files for instance “copy” command is built in cmd.exe and “xcopy” is an external file located in system32 directory with name “xcopy.exe”
<br />
it takes command line argument so you cannot use it directly.
<br />
You can create your own commands too create a program that do some specific task (windows console application), and save it to system32 or windows directory. Then call it from commands prompt or batch files.
<br />
Note: commands are not case sensitive not even arguments.
<br />
<br />
<span style="font-size: large;">About “Path” variable:</span><br />
when you give some command or files name on command prompt or form anywhere else, windows does not search for whole system not even system drive it just look for the specific folders which is define in system variable called “path”.
<br />
If you want that your folder to be indexed by system you can add you folder path, I hope you did that if you ever learned java.
You can check out by typing “path” in cmd for list indexed paths.
<br />
<br />
<span style="font-size: large;">Some common commands:</span><br />
<b><i>cmd :</i></b> type cmd /? and read you will know more than this about command prompt.
<br />
<b><i>echo :</i></b> show messages (like printf() in C), & turns command-echoing on or off.
<br />
<b><i>cd :</i></b> current directory, now learn only CD .. to go previous folder
<br />
<b><i>copy :</i></b> copy files to other locations
<br />
<b><i>move :</i></b> for move files to other folders
<br />
<b><i>Help :</i></b> typing help command display common commands, typing command name the with /? Parameter display command function. E.g. copy /? Or md /?
<br />
<br />
I’ll advice you to learn and see all commands before creating batch files.
<br />
<br />
<span style="font-size: large;">First batch file:</span><br />
<code>
echo off<br />
color 0a<br />
title Geeks<br />
cls<br />
echo this is me and my batch file<br />
pause</code><br />
<br />
Now save it as anyname.bat and run<br />
how it is working:<br />
<b><i>1st command:</i></b> turned off the path display of command prompt<br />
<b><i>2nd command:</i></b> changed the color of command prompt <b>‘0’</b> for black in bg <b>‘a’</b> for green in fg.<br />
<b><i>3rd command:</i></b> changed the title of command prompt<br />
<b><i>4th command:</i></b> clear the screen like clrscr in c<br />
<b><i>5th command:</i></b> display message<br />
<b><i>6th command:</i></b> to hold the screen like getch in C
<br />
<br />
<span style="font-size: large;">Shortcut for batch programming:</span><br />
<b><i>to open :</i></b> windowkey+r for run menu then type cmd and hit<br />
<b><i>admin mode :</i></b> click on start menu, type cmd, hit enter with CTRL+ALT+Shift (windows vista and 7)<br />
<b><i>previous command :</i></b> use up arrow key on cmd to see previous command<br />
<b><i>copy cmd screen text :</i></b> right click then mark text then hit enter<br />
<b><i>pasting on screen :</i></b> normal way<br />
<b><i>full screen :</i></b> ALT+Enter<br />
<b><i>terminating batch command :</i></b> CTRL+break
<br />
<i><b>File/Folder name suggestions :</b></i> TAB Key<br />
<br />
<span style="font-size: large;">Another useful example:</span><br />
okay this file is so simple but quite useful, this will work like an application, any file you will open with this batch file, the file will be copied to your defined location. Here is the code…
<br />
<br />
<code>
echo off<br />
cls<br />
copy %1 F:\My_Privte_Folder<br />
Exit</code><br />
<br />
in this you will see copy command , so format of copy command is <b>“copy sourceFileName destinationAddress”</b>.<br />
Here we’ve given <b>%1</b> for source file name because it’s a variable and will be replaced by filename, which you’ll launch with this batch file.<br />
<b>F:\My_Private_Folder</b> is destination folder you can replace it with your path (absolute path).<br />
Save this file with name.bat, at anywhere in computer.<br />
now right click on any file (not an application file)<br />
choose <b>“open with”</b> and choose <b>“default Program”</b><br />
then click browse, look for your batch file location <b>(but remember to uncheck the check box of “ALWAYS USE THE SELECTED APPLICATION TO OPEN THIS KIND OF FILE” )</b>then click open, now your file will be copied to My_private_Folder in F drive.<br />
Next time you don’t need to do all this, for this kind of file, just right click and select "open with" you will see the first option is your batch file select and copied.<br />
<br />
Gradually I will post on some advance topic about batch files.<br />
you can use Windows XP Help & support center to learn batch files and commands.<br />
Don't forget to drop your comment here!
</div>
</div>
Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com0tag:blogger.com,1999:blog-8426004405723761660.post-52872519623731679382011-09-30T21:44:00.000+05:302015-01-04T15:05:44.600+05:30Adding Custom Search Engine to Opera Mini<div dir="ltr" style="text-align: left;" trbidi="on">
In Opera mini version 4, 5, 6 by default there are four search engines added, these are Google, Dictionary.com, IMDb and Wikipedia.
<br />
But these are not enough, adding more search engine, enhanced the functionality and gives the great customization.<br />
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="opera mini add search engine" border="0" src="http://3.bp.blogspot.com/-Pj9sQiEfV5M/ToXov5kY7GI/AAAAAAAAALY/OhrgLovHmEM/s1600/OperaMini_add_searchEngine.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" /></div>
Adding search engine to opera mini is so easy:
<br />
<ul>
<li>Go to site of which you want to add search engine. (for instance: add YouTube search engine)
</li>
<li>Now go to search text box (where you type the keywords), now long click on the text box and hold.
</li>
<li>You will see a context menu, where you will see the option “Add search engine” click that then edit name of search engine and click “add”.</li>
<li>Next time you don’t need to go YouTube.com to search your video you can directly search from your search engine bar.
</li>
</ul>
If you are not getting option to add search engine, so it is not compatible with opera mini.
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com1tag:blogger.com,1999:blog-8426004405723761660.post-66043184486127398342011-09-25T16:45:00.000+05:302015-01-04T15:10:17.257+05:30Hack Passwords using Actual Spy Keylogger<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Disclaimer: This article is for educational purposes only. This site is no way responsible for any misuse of the information or/and any damage to you and done by you.
</b><br />
<br />
I will treat you as you know using and purpose of keyloggers.<br />
keyloggers can be useful for both purpose, obtaining password or keystrokes from your computer and victim machine. But I always prefer run keyloggers on my machine, for victim machine there are other options available.<br />
<a name='more'></a>so here we talk about Actual Spy keylogger, many of keyloggers are not free, same as, this one is not free also, the trial version of Actual Spy is not limited in its functionality, it’s limited in monitoring time as it monitor for <b>40 minute only</b>, but you can overcome this problem by a simple trick.<br />
Functionality:
<br />
<div class="separator" style="clear: both; text-align: center;">
<img alt="Hacking keyloggers" border="0" height="150" src="http://3.bp.blogspot.com/-rGK43g8VQlQ/Tn8L4yioAcI/AAAAAAAAAK0/PAeidvllJVY/s200/Keyloggers.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;" width="200" /></div>
<ul title="Functionality Of ActualSpy">
<li>Watch all keystrokes
</li>
<li>Application monitoring
</li>
<li>Web browser monitoring
</li>
<li>Take screen shot
</li>
<li>Prepare report and send it to email id
</li>
</ul>
<br />
To overcome 40 minute trial version problem:
<br />
<ul title="Follow these steps">
<li>Download here <a rel="nofollow" href="http://www.actualspy.com/download.html" target="_blank">www.actualspy.com</a> install it (while installing disable your antivirus auto protect feature, and latter exclude it in antivirus exclusion list, then turn on auto protect)
</li>
<li>Copy this code and save it with <b>anyname.bat</b>, assuming that you have installed this on <b>C Drive</b>, if not? then change path in code below.
<br />
<textarea cols="35" readonly="readonly" rows="7" style="height: 123px; width: 304px;" title="copy this code">echo off
cls
C:
cd "C:\Program Files"
start ACSPMonitor\ASMonitor.exe hs
cls
exit</textarea>
</li>
<li>Now create the shortcut of this anyname.bat file and save it anywhere, assign a shortcut key to this shortcut.
</li>
<li>Now the things you have to do is whenever you want to launch it you have to press a key that you have defined (it will run in background without any notification), and when 40 minute is over you can again press the key it will run again silently.
</li>
</ul>
If you want to run it every time on your computer you can find out patch of this or you can buy this.
<br />
<br />
You can try out other spyware or keyloggers on these sites:
<br />
<a rel="nofollow" href="http://www.exploreanywhere.com/" target="_blank">www.exploreanywhere.com</a><br />
<a rel="nofollow" href="http://www.keylogger.org/" target="_blank">www.keylogger.org</a><br />
<a rel="nofollow" href="http://www.spytech-web.com/spyagent.shtml" target="_blank">www.spytech-web.com/spyagent.shtml</a><br />
<a rel="nofollow" href="http://www.keystrokespysoftware.com/" target="_blank">www.keystrokespysoftware.com</a>
</div>Sumithttp://www.blogger.com/profile/02914848178700851197noreply@blogger.com4