TECH TIPS Headline Animator

Wednesday, November 24, 2010

RENAME YOUR RECYCLE BIN

As such the name recycle bin is good but there is are two tricks by which you can rename your recycle bin below:-

DIRECTLY CHANGE THE TEXT VALUE




1. Goto Start .
2. Then Goto Run.
3. Type regedit and hit ENTER.
4. This will open registry editor,then navigate to the following key:
HKEY_CURRENT_USER\Software \Microsoft\Windows\ShellNoRoam \MUICache.
5. Double click on the following value: @C:\WINDOWS \system32\SHELL32.dll,-8964.


6.You are done just change the value to whatever you want.

ENABLE THE RENAME OPTION IN RIGHT-CLICK POPUP MENU




1. Goto Start
2. Then Goto Run
3. Type regedit and hit ENTER
4. This will open registry editor
3. Select and open the HKEY_CLASSES_ROOT folder
4. Select and open the CLSID folder
5. Select and open the {645FF040-5081-101B-9F08-00AA002F954E} folder
6. Select and Open the ShellFolder folder
7. On the right hand side Change the Attributes data value from 40 01 00 20 to 50 01 00 20. Its not over yet you also have to change the CallForAttributes dword value to 0 (0x000000).That's it you are done, Now goto desktop right-click and refresh now right-click on recycle bin and the rename option will appear,click it and change .

Tuesday, November 23, 2010

MAP OF INDIA WITH A C PROGRAM



Below is the code for India map in C program






[sourcecode language='c']#include
#include
main()
{
int a,b,c;
int count = 1;
clrscr();
for (b=c=10;a="- FIGURE?, UMKC,XYZHello Folks,\
TFy!QJu ROo TNn(ROo)SLq SLq ULo+\
UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^\
NBELPeHBFHT}TnALVlBLOFAkHFOuFETp\
HCStHAUFAgcEAelclcn^r^r\\tZvYxXy\
T|S~Pn SPm SOn TNn ULo0ULo#ULo-W\
Hq!WFs XDt!" [b+++21]; )
for(; a-- > 64 ; )
putchar ( ++c=='Z' ? c = c/ 9:33^b&1);
getch();
return 0;
}
 
[/sourcecode]

Download Map of india in C program

SWAPPING VARIABLES WITHOUT TEMP VARIABLE

Below is the program for swapping variables without any extra variable.




[sourcecode language='c']
#include "stdio.h"
#include "conio.h"
void main()
{
int a=7;b=5;
clrscr();
a=a+b;
b=a-b;
a=a-b;
getch();
}
[/sourcecode]


The above code in a single line
[sourcecode language='c']
void main()
{
int n1=5,n2=8;
printf("Before swapping number 1=%d and number 2=%d",n1,n2);
n2=(n1+n2)-(n1=n2); //swapping code
printf("After swapping number 1=%d and number 2=%d",n1,n2);
}
[/sourcecode]

A PRANK/FAKE VIRUS WITH NOTEPAD


This is a trick to create a fake virus with which you can trick your friends

Open notepad and type the following code in it

@echo off
color 04
title virus.......
echo A virus has been detected on your computer
pause
echo CONTATTING ANTIVIRUS
pause
echo Do you want to remove the virus?
pause
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
echo ACCESS DENIED
pause
echo ACTIVATING VIRUS
pause
:1
dir/s
goto


Save the file as anyname.bat without .bat extension it will not work.

NOTE:The code is a case-sensitive.

This is just a prank it will not harm ur PC just messages are displayed.



TRICK EXPLAINED


echo keyword displays messages on the screen.

title places the text on the title bar.

pause waits for the user to press any key from keyboard.

color changes the text color here 04 is for red colour.

dir/s is a DOS command that displays the files and folders of your computer.

Finally goto which is a keyword used with :1 which is a label forms a loop so that text are repeated.

MATRIX EFFECT THROUGH NOTEPAD



First of all open notepad-->

Then type the below code into notepad

@echo off

color 02

:start

echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%

goto start


Note : The code is case sensitive.

Now save the file as aanyname.bat

Be sure to add .bat extension or else it will not work.

TRICK EXPLAINED

In the code color 02 indicates color of text i.e 02 is for green you can change to whatever you want

echo %random% displays a random number on screen and finally the :start and goto start forms a loop.

WINDOWS XP SECRET SONG



It sounds confusing but it's true that there is a secret windows xp sound in your computer .



Here is the path to the secret windows xp song ------>


1. Open my computer

2. Go to C:\ drive or the drive in which windows xp is installed


3. In that drive open Windows folder

4. In windows folder navigate to system32 folder

5. In system32 folder navigate to a folder named oobe

6. In oobe folder open images folder

7. Thats it the file is title.wma

TRICK TO ADD YOUR NAME TO TIME WINDOWS XP


Follow these steps to get you name TIMED--------------->


1. Goto start


2. Goto control panel


3. In control panel goto Regional and language options


4. Under the regional options tab press customize button


5. Now under the time tab Add your name with AM and PM preceeded by a hyphen '-' as shown below


TRICK TO RUN FAST WINDOWS XP

This is a post i have made by which you can increase your pc speed,You all may be facing problems due to low speed of your computer.By disabling some services which are of no use you can increase your xp speed.Here are the steps to follow:-

Goto Control panel -> Administrative Tools ->; Services

NOTE:This services are only needed when you are connected to a network. If you are sole user then it will not harm your PC
Services to turn off:
Alerter
Application Management
Automatic Updates
ClipBook
Distributed Link Tracking Client
Error Reporting Service
Fast User Switching Compatibility
Messenger
Portable Media Serial Number Service
Remote Registry
Routing and Remote Access
Task Scheduler
Telnet
TPC/IP NetBIOS Helper
Uninterruptible Power Supply

Monday, November 22, 2010

SEARCH E-BOOK IN GOOGLE


Google has some fantastic potential for you to find whatever you are after on the internet.

To search for a book / program / file perhaps try the following.

Go to Google's search page and use the following criteria in the search dialog

intitle:index.of? file extension Name of item

e.g. intitle:index.of? chm syngress

This will hopefully give you a listing of all websites that google has cached that contain references to files in CHM format that are published by author SYNGRESS.


---------------
I use in Google

+("index of") +("/ebooks"|"/book") +(chm|pdf|zip|rar) +syngress

or


allinurl: +(rar|chm|zip|pdf|tgz) Syngress

Enjoy



FACTS ABOUT GOOGLE SEARCH ENGINE

Google Search or Google Web Search is a web search engine owned by Google Inc. and is the most-used search engine on the Web. Google receives several hundred million queries each day through its various services. The main purpose of Google Search is to hunt for text in webpages, as opposed to other data, such as with Google Image Search. Google search was originally developed by Larry Page and Sergey Brin in 1997.

Google Search provides at least 22 special features beyond the original word-search capability.These include synonyms, weather forecasts, time zones, stock quotes, maps, earthquake data, movie showtimes, airports, home listings, and sports scores. There are special features for numbers, including ranges (70..73), prices, temperatures, money/unit conversions ("10.5 cm in inches"), calculations ( 3*4+sqrt(6)-pi/2 ), package tracking, patents, area codes,[6] and language translation of displayed pages.

The order of search results (ghits for Google hits) on Google's search-results pages is based, in part, on a priority rank called a "PageRank". Google Search provides many options for customized search (see below: Search options), using Boolean operators such as: exclusion ("-xx"), inclusion ("+xx"), alternatives ("xx OR yy"), and wildcard ("x * x").

Search results

The exact percentage of the total of web pages that Google indexes is not known, as it is very hard to actually calculate. Google not only indexes and caches web pages but also takes "snapshots" of other file types, which include PDF, Word documents, Excel spreadsheets, Flash SWF, plain text files, and so on.[12] Except in the case of text and SWF files, the cached version is a conversion to (X)HTML, allowing those without the corresponding viewer application to read the file.

Users can customize the search engine, by setting a default language, using the "SafeSearch" filtering technology and set the number of results shown on each page. Google has been criticized for placing long-term cookies on users' machines to store these preferences, a tactic which also enables them to track a user's search terms and retain the data for more than a year. For any query, up to the first 1000 results can be shown with a maximum of 100 displayed per page. The ability to specify the number of results is available only if "Instant Search" is not enabled. If "Instant Search" is enabled, only 10 results are displayed, regardless of this setting.

"I'm Feeling Lucky"

Google's homepage includes a button labelled "I'm Feeling Lucky". When a user clicks on the button the user will be taken directly to the first search result, bypassing the search engine results page. The thought is that if a user is "feeling lucky", the search engine will return the perfect match the first time without having to page through the search results. According to a study by Tom Chavez of "Rapt", this feature costs Google $110 million a year as 1% of all searches use this feature and bypass all advertising.

On October 30, 2009, for some users, the "I'm Feeling Lucky" button was removed from Google's main page, along with the regular search button. Both buttons were replaced with a field that reads, "This space intentionally left blank." This text faded out when the mouse was moved on the page, and normal search functionality is achieved by filling in the search field with the desired terms and pressing enter. A Google spokesperson explains, "This is just a test, and a way for us to gauge whether our users will like an even simpler search interface." Personalized Google homepages retained both buttons and their normal functions.

On May 21, 2010, the 30th anniversary of Pac-Man, the "I'm Feeling Lucky" button was replaced with a button reading the words "Insert Coin". After pressing the button, the user would begin a Google-themed game of Pac-Man in the area where the Google logo would normally be. Pressing the button a second time would begin a two-player version of the same game that includes Ms. Pacman for player 2. This version can be accessed at http://www.google.com/pacman as a permanent link to the page.

Error messages

Some searches will give a 403 Forbidden error with the text

"We're sorry... ... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now. We'll restore your access as quickly as possible, so try again soon. In the meantime, if you suspect that your computer or network has been infected, you might want to run a virus checker or spyware remover to make sure that your systems are free of viruses and other spurious software. We apologize for the inconvenience, and hope we'll see you again on Google."
sometimes followed by a CAPTCHA prompt.

The screen was first reported in 2005, and was a response to the heavy use of Google by search engine optimization companies to check on ranks of sites they were optimizing. The message is triggered by high volumes of requests from a single IP address. Google apparently uses the Google cookie as part of its determination of refusing service.

In June 2009, after the death of pop superstar Michael Jackson, this message appeared to many internet users who were searching Google for news stories related to the singer, and was assumed by Google to be a DDoS attack, although many queries were submitted by legitimate searchers.

C PROGRAMMING FACTS

C programming language was developed in 1972 by Dennis Ritchie and Brian Kernighan
at the Bell Telephone Laboratories (AT&T Bell Laboratories) for use with the Unix operating system for programming computer operating systems. C is a procedural oriented programming language.
C was designed as a minimalist language to be used in writing operating systems for minicomputers, which had very limited memories compared with the mainframe computers of the period

Also C was designed for implementing system software. Although C was designed for implementing system software,it is also widely used for developing portable application software.

The initial development of C was devised during 1969–73, alongside the early development of the UNIX operating system. It was based on CPL (Combined Programming Language), which had been first condensed into the B programming language and later on it was called as computer programming language by Ken Thompson, an American computer scientist and a colleague of Ritchie. Ritchie rewrote and restored features from BCPL to create C-Programming Language, rewrite the development of the Unix operating system in C language.

As the UNIX system was enhanced, a series of changes took place in C between 1977 and 1979. During this time a description of the language became widely available through a book, The C Programming Language (1978), by Brian W. Kernighan and Ritchie. In the mid-1980s it became important to establish an official standard for C, since it was being used in projects subject to commercial and government contracts.

In 1983 the American National Standards Institute (ANSI) set up a committee that further amended and standardized the language. Since then C has been referred to as ANSI Standard C, and it remains popular in the world of UNIX-like operating systems. C also became one of the most common programming languages used for writing other system software and applications. Descendants of C include Concurrent C, Objective C, C*, and the widely used C++. The programming language Java was introduced in 1994 as a simplified subset of C for deployment over the Internet and for use in portable devices with limited memory or limited processing capabilities.

C is one of the most popular programming language.It is widely used on many different software platforms, and there are few computer architectures for which a C compiler does not exist. C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C.

C++ PROGRAMMING FACTS

C++ Programming Language (Object Oriented Language) represents an enhancement of the C Programming Language . Initial development of C++ was started by Bjarne Stroustrup from Bell labs in 1980. He added features to C and formed what he called “C with Classes”.After that he had combined use of classes and object-oriented features (information hiding, data abstraction, encapsulation, modularity, polymorphism, and inheritance.) with the power and efficiency of C. The name C++ was given in 1983 when first manual was published. First commercial release of the language appeared in 1985 and also first edition of book “The C++ Programming Language” by Bjarne Stroustrup was released.

About Founder : Bjarne Stroustrup had studied in the doctoral program at the Computing Laboratory at Cambridge University prior to joining Bell Labs. Now, Bell Labs no longer has that name since part of Bell Labs became AT&T Labs.
C++ was developed significantly after its first release. In particular, “ARM C++” added exceptions and templates, and ISO C++ added RTTI, namespaces, and a standard library. C++ Programming Language was designed for the UNIX system environment. With C++ Programming Language , programmers could improve the quality of code produced , thus making reusable code easier to write.

During the 80s, the C++ Programming language was being refined until it became a language with its own personality. All that achieved with very few losses of compatibility of C code and without resigning to its most important characteristics. In fact, the ANSI standard for the C language published in 1989 took good part of the contributions of C++ to structured programming.

From 1990 on, ANSI committee X3J16 had started the development of a specific standard for C++. In 1998, C++ Programming Language lived a great expansion in its use and today C++ is the preferred language to develop professional applications on all platforms.

C++0x is the unofficial name of the new standard for the C++ programming language. It is intended to replace the existing C++ standard , which was published in 1998 and updated in 2003 known as C++98 and C++03. C++ standardization committee set 2009 as the target date for C++09, the next C++ standard.

C++09 will include at least two major core features: rvalue references and type concepts. Other core features are also included, such as automatic deduction of types from initializes, delegating constructors, nullptr, and even a solution to the right angle bracket nuisance.

Sunday, November 21, 2010

PHP PROGRAMMING FACTS

PHP (Hypertext Preprocessor ) was released in the 1995. PHP was originally known as Personal Home Page written as a set of Common Gateway Interface (CGI) in C Language by Danish/Greenlandic programmer Rasmus Lerdorf. Lerdorf initially created these Personal Home Page Tools to replace a small set of Perl scripts he had been using to maintain his personal homepage and was originally designed to replace a set of Perl scripts to maintain his Personal Home Pages (also known as PHP) in 1994. He combined these with his Form Interpreter to create PHP/FI, which had more functionality. PHP/FI included a larger implementation for the C programming language and could communicate with databases, enabling the building of simple, dynamic web applications. Lerdorf released PHP publicly on June 8, 1995 to accelerate bug location and improve the code.This release was named PHP version 2 and already had the basic functionality that programming php has today. Mainly , PHP was designed to create dynamic and more interactive web pages. It is a server-side scripting language embed with HTML. Now a days , it is the most widely-used open-source and general-purpose scripting language. PHP code in a script can interect with databases, create images, read and write files and talk to remote servers. So the output from PHP code is combined with HTML in script and the result is sent to the user as a web page. PHP versions till date (php info): PHP 2 starting from 1995 PHP 3.0.0 to 3.0.17 starting from 1997 PHP 4.0.0 to 4.0.6 , 4.1.0 to 4.1.2 , 4.2.0 to 4.2.3 , 4.3.0 to 4.3.11 , 4.4.0 to 4.4.9 starting from 2000 PHP 5.0.0 to 5.0.5 , 5.1.0 to 5.1.6 , 5.2.0 to 5.2.11 , 5. 3.1 starting from 2004 PHP 6.0.0 All major operating systems including Linux, Microsoft Windows, Mac OS X, and RISC OS , you can use PHP in all these operating systems. As you know there are procedural programming or object oriented programming. PHP uses either procedural programming or object oriented programming. Also you can mix them and use both ( procedural programming or object oriented programming ). As i mention above, PHP is used mainly in server-side scripting, command line interface and writing desktop applications. PHP also supports ODBC, the Open Database Connection standard which allows you to connect to other databases supporting this world standard. For database , phpMyAdmin is most widely used for PHP developement. Server-side scripting is the most traditional one for PHP development. In order to use PHP for server-side scripting you need 1. PHP parser 2. Web server 3. Web browser. The PHP codes entered with the parser on a web server will be translated into a PHP page that can be viewed on your web browser. Main reason behind popularity of PHP language is , it can be embedded directly into HTML coding. It has more benefits such as the following 1. It can be used on all major operating systems. 2. It can be supported by most of the web servers. 3. The latest version of PHP development is a very stable and grown-up language used for web programming like Java and C#. Both the PHP engine and the PHP code can be used on any platform, which makes PHP extremely flexible. PHP has many features designed specifically for use in websites. PHP can be used to make your website secure by implementing mandatory sign in feature by asking the user or the administrator to enter a valid username and password. Adding such a feature is easy as PHP can display a HTML form and process the information that the user types in. This sign in feature can be an excellent way of getting to know about your customer's profile. The popularity of PHP Development continues to grow rapidly because it has many advantages over other programming language. PHP is fast because the time needed to process and load a webpage is relatively low. PHP is also versatile and it runs on a wide variety of operating systems. PHP hosting is a server-side scripting environment that is used to create dynamic web pages. It is an open source language which is widely used by programmers and web developers. Open source gives a lot of advantages over proprietary programming languages. Due to this reason, PHP has been the one of the most popular server-side scripting language so far. Almost all the hosting providers offer PHP hosting services these days. PHP is especially strong in relational databases, which are used for dynamic content and e-commerce applications.

Twitter Delicious Facebook Digg Stumbleupon Favorites More