Wednesday, June 19, 2013

How to Recover Deleted Files with Recuva

Recover Deleted Files


What happen if you accidentally deleted or lost an important file ?, Don’t Panic !, Recuva can recover deleted file from your computer, memory card, or your digital camera, and the best of all this software is FREE. To recover your file just follow the instructions below :  

          1.       Download Recuva from http://www.piriform.com/recuva
          2.       Install Recuva and Open it.
          3.       Recuva Wizard Window will show up, just click next.


    4.     Recuva will ask you what type of file you want to recover, but in this post I will select all files. Click Next.



          5.       Recuva will ask you again, “ Where were the files ? “ . I’ll select In the Recycle Bin . If you not sure where is the file just select I’m not sure. Then click next.


           6.       Click Start, and Recuva will scan your deleted files. You can enable Deep Scan if previous scans have failed to find your files, but It will take more time.


Just wait the progress


         7.       On the left there is a list of file, select file you want to recover. 


On the left side of filename there is a Green, Yellow, Red color. Those colors means the file state,
Green is Excellent
Yellow is Very Poor
Red is Unrecoverable


If done, just click Recover.. on the right bottom of the window.

          8.       A window will show up, then select location for recover, click OK. If the file you want to restore is on the same drive, a notification will show up, just select YES.


          9.       A progress will show up, Just wait till it’s done.


          10.       Operation Completed, Check your deleted files on your recovery folder.




Friday, May 24, 2013

Simple PHP Login Form

How to create a login page ? 

That's the question. How do we create a login page ?, If you are a pro maybe this post sounds easy for you, and if there's a mistake on this post, please let me know.  Login Page is a page that contains a script to login user from your website to use features of your website, for example facebook.com, twitter.com, those sites will not let us use it's features if we not login. In this post i would like to create a simple login page. Let's Begin :

What you need :
1. XAMPP (a free and open source cross-platform web server package).
2. Editor like notepad or notepad++

1. Open your Browser, and type http://127.0.0.1/phpmyadmin/ or http://localhost/phpmyadmin on the address bar.

2. Create a database and type the name, then click Create


3. Open your “tutorial” Database and on the create table type login on the name form and 3 for Number of Columns, then click Go.


4. On first column set Name : id | Type : int | Length : 3 | Index : Primary | A_I : Check
Second column Name : username | Type : varchar  | Length : 25
Third column Name : username | Type : varchar  | Length : 25
Then click save.


5.  Click insert on your login table, new window will show up.


6. Insert value for id, username, password, click Go.


7. Database Creation Completed.

II. Login Page

1. Open your editor, then type :

Save it on your htdocs as index.php.

2. Now let’s create loginprocess.php .
Save it as loginprocess.php

3. Create config.php
4. Test your login page.

Thursday, May 9, 2013

Photoshop Lomo Effect

Photoshop Lomo Effect Tutorial


Do you like lomography?, If you do, then this tutorial must be good for you. Just follow the tutorial below :

Big Resolution Image Recommended !

1.Open Photoshop and open an image.


2.Double Click Background and click OK to unlock background layer.


3.Press CTRL + J  to duplicate layer 0, then it should be like this.


4.Click Channels and select Blue and press CTRL + I  to inverse color.


then, the image must be like this :


5.Select Layer 0 Copy then Change Blending Mode from Normal to Overlay and change Opacity to what you like.


6.Final Result

Original Image


Lomo Effect



Saturday, May 4, 2013

Disable Windows 8 UAC

How to Completely disable Windows 8 UAC ?



What is UAC ? User Account Control is a feature from Windows that will help you control your system with user confirmation when you confirm changes of your system or not. In Windows 7 we can completely disable UAC by change UAC settings to never notify, but in Windows 8 UAC isn't completely disable, although we change UAC to never notify. Sometimes we get annoyed by UAC that give your many pop ups and confirmation or if you want to install something that need Administrator Rights that make your installation not completely finish. In this article i will show you how to completely disable UAC in Windows 8. 

1.  Open your Control Panel/User Accounts and Safety\User Accounts

2.  Click on “Chage User Account Control Settings”


3.  Set to “Never Notify

4.  Click OK, don’t restart your PC.




5. Open Run prompt by press Windows + R.

6. Type “regedit”


7. On registry editor go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

8. Change “EnableLUA” value to 0.






9. Restart your PC.
Now your UAC is disable, but this will disable metro apps too.

10. Download TakeOwnership.zip

11. Open TakeOwnership.zip, run InstallTakeOwnership.reg

12. Open My Computer, then navigate to C:\

13. Select all folders > right click > Take Ownership


14. After Take Ownership progress completed, right click “Windows” folder > select Properties

15. On Properties Window click Security > Advance > Enable Inheritance


16. Click Change at “Owner” section > Change > Advanced > Find Now > Select your account > Click OK > OK Again



17.  On “Advance Security Setting for Windows” > Click Add > Select a Principal > Advanced > Find Now > Select Your Username > Click OK > OK Again > Check Full Control > Click Show Advance Permission > Change Applies to : This Folder, subfolders and files > Click OK > Apply > Yes and Continue.


18. Open Run Prompt again by press Windows + R

19. Type “regedit”

20. Navigate again to :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

21. Change “EnableLUA” value to 1.
This step will enable metro apps.

22. Restart your PC

Optional :

23. Navigate again to C:\

24. Select all folders > right click > Take Ownership

25. If you wish, you can remove take ownership by opening TakeOwnership.zip then run RemoveTakeOwnership.reg.

You are done !



Friday, May 3, 2013

How to install deb package ?

Install deb package


.deb packages is the extension of Debian software package format and the most often used name for such binary packages. Package file is helpful when you don't have internet connection. You can install  .deb package by using dpkg (Debian package management system), dpkg is used to install, remove, and provide information about .deb packages. To install follow this step below :

1. Download your .deb package.

2. Open your Terminal/Konsole, go to folder where you put your .deb package by using cd.

3. Type sudo dpkg -i package_name, then press enter.



4. Enter your root password.

5. dpkg will check dependency for that package, if there is an error while checking dependency, you must install the dependency that required by the package.


6. If the depends meet the requirement, Package will install automatically.


7. Install Completed, Check your new application.

Thursday, May 2, 2013

Install Software with apt on Ubuntu/Debian

It's been so long i didn't post, now i am back. 

How to Install a Software on Ubuntu/Debian ?


You can simply install software on Ubuntu/Debian by using apt. apt (Advanced Package Tool) is a package manager for Debian Distribution. APT was originally designed as a front-end for dpkg to work with Debian's .deb packages. How to Use it ? Here is the steps :

1. Open your Terminal/Konsole

2. Type "apt-get install [nameofthesoftware]"

in this case i want to install f-spot a photo manager software
If you get an error "Permission Denied", Just add sudo before apt-get. 
and enter your root password, then press enter.

3. "Do you want to continue ?" Press Y[yes] to continue, then press enter.


4.  Installing Process will appear.


5. Install Completed.


6. Check your new software, and test it.




Sunday, March 3, 2013

Mount ISO on Linux

Mount an .iso on Linux


To Mount an ISO file, You can mount ISO file via the loop devices under Linux. But how ? You need to use this mount command below :

1) First login as root, by type :

$ su

2) Create folder for mount point

# mkdir -p /mnt/mountiso

3) Use mount command to mount iso file.

# mount -o loop filename.iso /mnt/mountiso

4) Change directory to your mount point.

# cd /mnt/mountiso
# ls -l

Thursday, February 28, 2013

Linux Command

Linux Command

Here is Linux commands. The most common Linux commands are shown below :
Linux is Case-Sensitive !, it means uppercase and lowercase are different !

$ id : print real and effective UIDs and GIDs.

$ date : print current date and time.
$ cal : print current month calendar.
$ cal 9 2002 : print calendar for September 2002
$ cal -y : print current one year calendar

$ hostname : show linux hostname
$ uname : show the name of current system.
$ uname -r : print the kernel release.
$ uname -a : print all basic information of current system.

$ w : show who logged on and what they are doing now.
$ who : show who currently logged in.
$ whoami : print current login session username.

$ man : open manual.
$ man <command> : open manual. 
$ man -k <keyword> : search manual of related keyword.

$ cd <directory> : change directory.
$ cd /etc : change directory to /etc

$ chfn <usename> : change finger information.
$ finger <username> : print finger information.

$ clear : clear terminal window.

$ aproposcommand to search the man page files in Unix and Unix-like operating systems.
$ whatis : command to search the man page with complete words

$ ls : display current folder content.
$ ls -a : display current folder content including hidden folder.

$ mv : move file.
$ rm : remove file.
$ rmdir : remove empty directory.

*i will update this post

Sunday, February 24, 2013

Install NVIDIA Driver Backtrack 5

Install NVIDIA Driver Backtrack 5


Before install, make sure you've been downloaded NVIDIA Driver. If not download here nvidia.com.
So, let's begin, Internet Connection Needed

First you must install kernel sources, to know your kernel version type this in terminal:

uname -r

I have

2.6.38

Then, use apt-get install :


apt-get install linux-source-2.6.38


or

apt-get install linux-source-'uname-r'

next, go to /usr/src/ with :

cd /usr/src

see what inside :

ll or ls

You must have :

linux-source-2.6.38.tar.bz2

we need to unpack that file :

tar -xvf linux-source-2.6.38.tar.bz2

look again what inside,  you must have :


drwxr-xr-x 25 root root weight date linux-source-2.6.38/
-rw-r--r--  1 root root weight date linux-source-2.6.38.tar.bz2

Next you need to configure :

cd linux-source-2.6.38
make config


or for GUI :

make menuconfig

Now, let's Compile the source (This will take much time, so be patient) :

type this on your source-directory

make

once, done type

make install

Now you can install nvidia driver, but before you install you'll need to close your Xserver session by pressing :

CTRL+ALT+F1

after you entered first console, you need to press  :

CTRL+C

and Xserver will close.

Now for the main part, Installing NVIDIA Driver  (You need to enter your kernel source directory):


sh NVIDIA-Linux-x86-260.19.44.run --kernel-source-path /usr/src/linux-source-2.6.38

Now you've you NVIDIA driver installed.

If you get problem just ask me.

Wednesday, February 20, 2013

How to set-up Ad-hoc connection in Windows 8

How to set-up Ad-hoc connection in Windows 8 ?


In Windows 7 we can easily create ad-hoc connection, just few clicks we can create ad-hoc connection. In Windows 8 feature to create ad-hoc like Windows 7 does not exist, But the ability does exist, it just little hard to achieve. In this article, i will show you the guide to create ad-hoc in Windows 8 :

Step 1 : Launch Command Prompt under administrator mode.

Step 2 : Run the command below to verify that your network interface supports ad-hoc :

netsh wlan show driver


If it says yes, you are good. if not you must upgrade your hardware or maybe update software driver.

Step 3 : Now run this following command to create ad-hoc network (replace markup tags with your own choices) :

netsh wlan set hostednetwork mode=allow ssid=<enter_network_name_here> key=<enter_password_here>


Step 4 : Your hosted network has been created. But, before you can use it you must start the service first. Your this following command :

netsh wlan start hostednetwork


Step 5 : Now you can check your ad-hoc on other device. To STOP just run this command :

netsh wlan stop hostednetwork