Tuesday, 29 July 2014

Create,host free website with Google app engine (Php,Java,Python,Go)

Google App Engine provides service for creating free website using google app engine sdk.
You can use Php,Java,Python,Go language to create your website. I'm gonna create website in PHP using
PHP SDK .

Java : Using App Engine’s Java runtime environment, build your apps using standard Java technologies.
Python: App Engine features a fast Python interpreter and standard Python libraries.
PHP: App Engine uses Google's Cloud Platform services, PHP functions.
Go : App Engine features a Go runtime environment that runs Go code.

Note : google gives 2GB bandwidth/month for per application 

Step 1:
Create google app engine account https://appengine.google.com .

Step 2:
Log into your account and click on "create application".
Step 3:
Enter the application name  (example : thehackfi ) and application title you need to remember the application name.
Step 4:
Now you have created your website( http://thehackfi.appspot.com ) , now you have to upload "index.php"
to your app engine. Downlaod the PHP SDK from google. (Downlaod PHP SDK) .and install on your Pc.
Open "Google app engine launcher". File>create new application.
Now enter the same name as you created in "Step 3"(  thehackfi ). and select runtime as PHP.
Step 5:
Now create "index.php" file inside "thehackfi" folder.
index.php file code is below:

<html>
<body bgcolor="lightblue">
<br><br><br><br>
<center>
<?php

echo "<h1>Thehackfi first apps</h1>";

?>
</center>
</body>
</html>
-------------------------------------------------------------------------------------------------------
inside "thehackfi" folder.and save the file.

Step 6:
Open "app.yaml" file which is automatically genrated by sdk adn edit
script: main.php >> script: index.php

Step 7:
Click on "deploy" button , enter your app engine email id, password  and click on ok button.

It will take 15 second to upload the project. now your website is live ( http://thehackfi.appspot.com/ )

Done. for more info https://developers.google.com/appengine/

Tuesday, 24 June 2014

how to make bootable pendrive fast

Make bootable pendrive easy steps :

(backup all the data before formating the pc)

Step 1 :
Download PowerISO and install on your pc.

Step 2 :
Connect the pendrive to the pc.

Step 3 :
Open PowerISO and goto Tools > Create Bootable USB Drive > Create Bootable USB Drive

Step 4 :
Select source image file(.iso) and select the correct pendrive and writing method as "USB-HDD"

Step 5 :
Click "Start" button to start creating windows 7 / 8 bootable USB drive. it will take upto 10 min.

Friday, 23 May 2014

hide any file into image file(fast way)

Simple trick in windows, you can hide a file inside the jpg picture file. for hiding the file in your pc you will need to have winrar or winzip etc software.

Step 1:
Create "hide" folder in your C:\ dirve and move the file and the jpg image inside that folder.


Step 2:
Compress the file that you want to hide.


Step 3:
Open CMD and navigate to the path "C:\hide\"


Step 4:
Now run this command " copy /b  bg.jpg + linux.zip  bg.jpg " . It will insert the linuz.zip file into the bg.jpg file.

Step 5:
To find the hide zip file inside the image file Open the image using winrar , winzip or freearc etc.


Done...