WARNING AND NOTICE

All tricks in this blog are only for educational purpose. Learn these tricks only for your knowledge. Please donot try these to harm any one. We will not take any responsibility in any case. All softwares and tools on this site are here for private purposes only and If you want to use a software for business purpose, please purchase it. I do not host many of these tools. I Post links that I have found from numerous Search engines. I will not be responsible for any of harm you will do by using these tools.

Readmore

Showing posts with label programming code. Show all posts
Showing posts with label programming code. Show all posts

Thursday, December 22, 2011

"Compile error:user defined data type not defined "-VB 6.0

This is a common problem for Vb users.some of you know what is that.when you try to run vb programme on your machine which made on another machine it gives compile error like user define data type not defined & it shows error in this "Dim conn As ADODB.Connection" line.

VB 6.0 installation error solve-"acmboot.exe is damaged"

somtimes some reasons when user try to install vb 6.0 on there machine it gives error like "acmboot.exe is damaged".last time i also get this problem while installing VB 6.0 on my machine.so what next, i found solution on google.finally i got the solution to resolve them.



 

Thursday, July 14, 2011

What is Cross Side Scripting (XSS)?


  • A Web application vulnerable to XSS allows a user to inadvertently send malicious data to self through that application.
    Attackers often perform XSS exploitation by crafting malicious URLs and tricking users into clicking on them.
    These links cause client side scripting languages )VBScript, JavaScript etc,) of the attacker s choice to execute on the victim's browser.
  • Cross-Site Scripting (XSS):

    Cross-Site Scripting (XSS) is a common flaw found in todays web applications. XSS flaws can cause serious damage to a web application. Detecting XSS vulnerabilities early in the development process will help protect a web application from unnecessary flaws. XSS-Me is the Exploit-Me tool used to test for reflected XSS vulnerabilities.

    Friday, July 8, 2011

    Programme your computer to see

    Computer Vision is the science of applying algorithms to still or moving images in order to automatically extract meaningful, reproducible data. Research in the area has been underway for over 30 years and has mostly been concentrated in large, well-funded labs with access to mainframes or specialized hardware because of the extremely intensive computation needed.

    Python Programming for Beginners

    Despite what assembly code and C coders might tell us, high-level languages do have their place in every programmer's toolbox, and some of them are much more than a computer-science curiosity. Out of the many high-level languages we can choose from today, Python seems to be the most interesting for those who want to learn something new and do real work at the same time. Its no-nonsense implementation of object-oriented programming and its clean and easy-to-understand syntax make it a language that is fun to learn and use, which is not something we can say about most other languages.

    Basic PHP Syntax

    This article covers basic PHP syntax, including variable usage, variable types, and several ways of printing variables to the web browser.

    Embedded code blocks:

    PHP is an embedded web development language with many similarities to commercial packages such as
    Microsoft's Active Server Pages (ASP) or Cold Fusion. One of the similarities between PHP and these packages (especially ASP) is the ability to jump between PHP and HTML code quickly and easily. 

    Building Unix Tools with Ruby

    This article demonstrates how to write Ruby scripts that work like typical, well-behaved Unix commands. To make it more fun and useful, we'll write a command-line tool for processing data stored in the comma separated values (CSV) file format. CSV (not CVS) is used to exchange data between databases, spreadsheets, and securities analysis software, as well as between some scientific applications. That format is also used by payment processing sites that provide downloadable sales data to vendors who use their services.

    Wednesday, July 6, 2011

    How to Improve your Skills as a Programmer


    This will give you a few hints and some help to becoming a better programmer. So read on and enjoy! Programming can be a lot of fun if you follow these simple but efficient rules to make it that way.Otherwise there are lot of programmers out there who are unsatisfied with their programming skills.So lets get started..

    Wednesday, February 23, 2011

    0
    Emulator Giants - MAME

    MAME is an emulator application designed to recreate the hardware of arcade game systems in software, with the intent of preserving gaming history and preventing vintage games from being lost or forgotten. The name is an acronym for Multiple Arcade Machine Emulator.

    The first public MAME release (0.1) was on February 5, 1997, by Nicola Salmoria. As of version 0.125, released May 5, 2008, the emulator now supports 3753 unique games and 7076 actual ROM image sets and is growing all the time. However, not all of the games in MAME are currently playable; 879 ROM sets are marked as not working in the current version, and 35 are not actual games but BIOS ROM sets. The project is currently coordinated by Aaron Giles.

    Design

    The MAME core coordinates the emulation of several elements at the same time. These elements replicate the behavior of the hardware present in the original arcade machines. MAME can emulate many different central processing units (CPUs), both in number or types, including processors, audio and video specific chips, integrated circuits, microcontrollers, etc., including the needed elements for them to communicate together such as memory regions, RAM, data buses, peripherals, storage devices, etc. These elements are virtualized so MAME acts as a software layer between the original program of the game, and the platform MAME runs on.

    Individual arcade systems are specified by drivers which take the form of C macros. These drivers specify the individual components to be emulated and how they communicate with each other.

    Emulation philosophy

    The stated aim of the project is to document hardware, and so MAME takes a somewhat purist view of emulation, prohibiting programming hacks that might make a game run improperly or run faster at the expense of emulation accuracy (see UltraHLE, a project aimed to run games at a playable speed). In MAME every emulated component is replicated down to the smallest level of individual registers and instructions. Consequently, MAME emulation is very accurate (in many cases pixel- and sample-accurate), but system requirements can be high. Since MAME runs mostly older games, a large majority of the games run well on a 2 GHz PC. More modern arcade machines are based on fast pipelined RISC processors, math DSPs, and other devices which are difficult to emulate efficiently. These systems may not run quickly even on the most modern systems available.

    The MAME team has not diverged from this purist philosophy to take advantage of 3D hardware available on PCs today. It is a common but incorrect assumption that performance problems are due to some games' use of 3D graphics. However, even with graphics disabled, games using RISC processors and other modern hardware are not emulated any faster. Thus taking advantage of 3D hardware would not speed these games up significantly. In addition, using 3D hardware would make it difficult to guarantee identical output between different brands of cards, or even revisions of drivers on the same card, which goes against the MAME philosophy. Consistency of output across platforms is very important to the MAME team.

    User interface

    Although the main MAME program was once only made available as a command-line application for Microsoft Windows and DOS, there has been....

    0
    Tips To Improve Your Coding And Project Programming

    Tips To Improve Your Coding And Project Programming:
    "I originally wrote this article over a year ago. But after going though it I fixed allot of mistakes in grammar and composition. I also added a few things."

    Plan out what you will do before you do it.
    This may seem trivial, but the hour you spend doing it will save you many hours down the road. I have learned this the hard way many times. As this may seem obvious, the only reason it is such is because you just thought of it. It won’t be nearly as fresh when you come back tomorrow. I have a full guide on planning projects here.

    Make your variable names as descriptive as possible.
    It doesn’t matter if the variable ID doesn’t exist, if it is with a bunch of results with result_ before it, make it result_id. This will make easier for you or any future programmer to do it. I have had to work on code where everything wasn’t well named; it was a major, multi-hour pain.

    COMMENT YOUR CODE!!!!
    This is by far the most important one. No matter how bleeding obvious the code looks now, it won’t be in 10 days when you have a bug that needs fixing. Comment your code for other programmers and yourself. Don’t be afraid to put long comments where they are needed, they do not affect speed. Just don't go overboard, comments explain what you are doing. Don't write a small novel over what this code did to get here and its background.

    If a piece of code is used allot and may be changed, make it an include.
    This is one again I have learned the hard way with deadlines just hours away. An include means one change and it’s done in every file. Typing it out every time not only makes the code messier, it makes it hard to edit. Lets say your page has a header that goes into every page. You present it to the client and he finds one error. This could mean a 25 file fix up if you don’t use includes. But if the header file was an include, it is a no problem deal.

    To each its own, don’t make two things in one file.
    There is no crime in making allot of files for a project. If you have two different parts that are in the same process (a forums reply box and the file that actually posts it for example), use two different files.

    Don’t reinvent the wheel.
    You will have projects that have the same functions in part. It is not a crime to take the code from an old project and modify it, doing so gives the client better code and saves you time. I use the same code from a project I did about a year ago for a user system. Why? I use it because its rock solid code that works every time. All I would do should I remake it is rewrite the same code, possibly some bugs with it. Similar projects mean similar code, whether you take advantage of it or not.

    Don’t overuse OOP
    Among programming techniques, Object Oriented Programming is a pile driver. Insane power and ability, but extremely resource intensive and large. Using OOP takes a long time to process and run. The flexibility and power it provides should one be used for pieces you will reuse on large projects. If the project isn’t large, OOP may be overkill. If that piece of code doesn’t need to be reused frequently, it may not need to be an object.

    Project:
    Set realistic deadlines.
    NEVER give a deadline you don’t think you can make, all that can do is make the client mad and you stressed. It is better to give a deadline you think you can beat, because if you make it better the client will be happier. Should you not make it early, you have time for the unexpected. The other reason you should do this is most-nighters. There is nothing harder to edit then code made by a programmer in a time crunch, even if that programmer is you. I have done most-nighters to meet deadlines before. When you are tired and running on caffeine, your code gets messier and messier to the point you can’t read what you just wrote.

    Never go into a project you can’t or won’t do.
    This one is bad you both you and the client. If you don’t think you can do a project, don’t try to. What will happen is you spend extra hours trying to do this, you will eventually say you can’t do this, or raise your price. The client will either leave you or never use you again and give you bad reviews. I’ve turned down many high paying projects because I did not know how to use the script they wanted modified.

    Keep the client updated.
    Updated clients are happy clients. I would never go back to a programmer who tries to avoid contacting me on what’s going on. I would want a programmer who messages me when I come online, ...

    Thursday, August 19, 2010

    0
    C-program to print map of India

    #include "Stdio.h" main()
    { int a,b,c; int count = 1;
    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);
    return 0;
    }

    0
    Cool JavaScript Tricks and Codes

    Here is list of some cool java script Codes.To run these scripts you have to copy and paste these codes in your web browser and then hit enter.The java script will get executed.Javascript is a very cool language if you how to play with it.Check out some best example of this language.


    1.This script code will pulls off all the images from your web page and rotates them in a circle. The best place to test is a website with many images. (Google Images for an example).you can try it on google .com also.


    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',5); void(0);

    2.Shake the Browser.This Script will shake your browser check it out

    javascript:function Shw(n) {if (self.moveBy) {for (i = 35; i > 0; i--) {for (j = n; j > 0; j--) {self.moveBy(1,i) ;self.moveBy(i,0);self.moveBy(0,-i);self.moveBy(-i,0); } } }} Shw(6)

    3.Cool message trick Just type your message..

    javascript: contentBodyEditable="true".DesginMode="Message"