How to Backpropagation Neural Network with C++?

#include "backprop.h"
#include <cstdlib>

using namespace std;

double toInt(const double& lfIn)
   if (lfIn > 0.5)
    return ceil(lfIn);
   else if (lfIn < 0.5)
    return floor(lfIn);

OpenCV with Qt C++ Examples (Showing Image)

See this post if you want to convert the image in gray.
1. Create a new Qt GUI Application project.
2. Add a new Label and Push Button in the form.
3. Do the rest with writing the program:

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
    QApplication a(argc, argv);
    MainWindow w;;
    return a.exec();

How to Call .ui Design Form with The PushButton.clicked event in Qt C++ with Example?

1. Create a new Qt GUI Application project.
2. Right Click the Forms folder in the current project, then choose “Add New...”.
3. Choose the Qt Designer Form Class
4. Choose the window template
5. Name the form and locate the folder where it will be saved
6. Finish.
7. Now do the rest:

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
    QApplication a(argc, argv);
    MainWindow w;;
    return a.exec();

How to Make a .EXE Injector in Visual Basic?

Sub GetDrives()
Dim ObjFSO As Object
Dim Drives As Object
Dim sDrive As Object
Set ObjFSO = CreateObject("Scripting.FileSystemObject")

How to Make a Simple Folderlocker in Windows?

1. Open Notepad.exe
2. Type this in your notepad and save it with .bat extension:
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK 
if NOT EXIST Locker goto MDLOCKER 
echo Are you serious to lock this folder??(Y/N) 
set/p "cho=>" 

How to solve "Could not update .ICEauthority file /var/lib/gdm/.ICEauthority"?

1. Boot into "Recovery Mode".
2. Input the root password for maintenance mode.
3. Go to the /var/lib/gdm folder (cd /var/lib/gdm).
4. Remove the .ICEauthority file (rm .ICEauthority).
5. Finally, reboot your computer.

OpenCV Python Examples (Camera Capture)

For the C++ implementation see this and  this post.
import as cv
import time

cv.NamedWindow("camera", 1)

capture = cv.CaptureFromCAM(0)

while True:
    img = cv.QueryFrame(capture)
    cv.ShowImage("camera", img)
    if cv.WaitKey(10) == 27:

OpenCV Python Examples (Showing Image)

For the C++ implementation see this and  this post.
import sys
import as cv

if __name__ == '__main__':
input_name = args[0]
image = cv.LoadImage(input_name, 1)
cv.ShowImage("result", image)

OpenCV C/C++ Examples (Camera Capture)

There are also python implementation for camera capture and showing image.
#include <opencv2/objdetect/objdetect.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>

#include <iostream>
#include <stdio.h>

using namespace std;
using namespace cv;

OpenCV C/C++ Examples (Showing Image)

There are also python implementation for showing image and camera capture.
Also you have to check up the implementation with Qt Framework.
#include <iostream>
#include <opencv2\opencv.hpp>

using namespace std;
using namespace cv;

How to Setup OpenCV for code :: block in Linux and Windows?

There are a lot of question asking how to setup the code::block for working with the OpenCV library.
And this is the tutorial...
Keep reading folks..

Linux and Windows First Steps
1. Download the code :: block binary. (
2. Install the downloaded binary file.
3. After you have successfully install the code :: block, you will have a working window like this one.

How to Set a Wireless Ad-Hoc in Linux?

1. Of course you must have a Linux Operating System to configure this thing out.
2. Login to your Linux OS
3. Run the terminal/konsole/bash/etc.
4. Turn your Wireless Adapter on.
5. To verify what's your wireless adapter is type this command in your terminal/konsole:
ifconfig  //A list of all available network adapter will appear (eth0,wlan0,etc.)
6. Make sure which is your really wireless adapter name (usually wireless adapter have the "wlan0" name, it depends what type and how much you install network adapter in your Linux system).
7. Okay, assume that your wireless adapter's name is wlan0 then type this in your terminal:
ifconfig wlan0 up //this command is to bring up your wireless network adapter
8. To configure your wireless adapter as an Ad-Hoc type this:
iwconfig wlan0 mode ad-hoc //set your wireless adapter to Ad-Hoc mode

Stealing/Changing Data Using a Bootable Linux CD

Once an attacker has gained physical access, getting into a box can be as simple as booting to a CD-based Linux distribution, deleting the root user account password in the /etc/shadow file, and booting into the system, normally with full access. This can be accomplished step-by-step as follows:

How to Install Arch Package OFFLINE?

This tutorial is for Arch Linux user who doesn't have any internet connection.
First, download the current database on a Internet connected computer from this server :

How to increase your Browser (IE, Firefox, and Opera) speed?

Let's Start Hacking
Microsoft Internet Explorer Optimization
  1. Go to "Start" and click on "Run"
  2. Enter "regedit" and hit "Ok" and now the Registry Editor will open

How to Connect to a Wifi Access Point in Linux?

For some newbie linux users whose linux has no Wifi Manager in it, to connect to a Wifi access point seems to be a little bit hard, but actually it is very simple when we know how to do that.
In this tutorial, I use Slackware 13.37. But, the command is all the same in all linux distro (CMIIW).
First,login as root then open the terminal/konsole. (see fig. konsole)

How to Sniff People's Password? (A hacking guide with Cain & Abel - ARP POISONING METHOD)

First, you must have the Cain & Abel program, to download the click here.
Install the program, then run it.

How to Enable the Disabled Registry Editor?

If you don't know what a Registry Editor is then read this article on wikipedia (The definition of Registry Editor).
This is the main window of the Registry Editor in Windows XP.

How to Install Ubuntu? (A Complete Guide + screenshots)

First of all, I want give you a short description what a Ubuntu is.

From wikipedia we can find that Ubuntu (pronounced /uˈbuntuː/) is a computer operating system based on the Debian GNU/Linux distribution and distributed as free and open source software. It is named after the Southern African philosophy of Ubuntu ("humanity towards others").