Monday, December 5, 2016

How to HIDE A FILE IN AN IMAGE Using CMD

In this tutorial we would learn to hide a file within an image

Follow the steps:

1)copy the file ,u need to hide ,to desktop(for our tutorial let us assume the file tobe "x.txt")
2)copy the image, within wich u need to hide the file ,to desktop(let it be "y.jpg")
3)convert the file(x.txt) to rar using winrar
4)so now u have "x.rar"(x is the name i assume to be of ur file)
5)now u can delete the real file  wich u need to hide(here,"x.txt")
6)now open the cmd:
               >ctrl+r
               >type:cmd and hit enter
7)in cmd first type the code as follows:
               >cd desktop
    NOTE:this code is for assigning the location on cmd to desktop

8)now type the following code:
               > copy /b x.rar+y.jpg out.jpg

    NOTE:* In this code "x.rar" is the compressed form of our file which should be hidden   
                 * "y.jpg" is the image within which we will hide the file
                 * "out.jpg" is the output image inside this out image our file is hidden

HOW TO RETRIVE THE FILE?

1)open winrar
2)locate out.jpg in winrar
3)double click
4)there you are in that you could find ur file "x.txt"
5)drag the file to anywhere you want it to be extracted


Done!

VIDEO TUTORIAL:



Friday, December 2, 2016

A HandCricket Game In python

In my old post i have written an unfinished code of hand cricket game in python.That code is not finished and very much lengthy so i have decided to write a new code.Here I have finished the code you can just copy and paste on python IDLE and run it and see it works smoothly :D

Source Code
=========

import random

def batfirst(pl):
    o=0
    score=0
   
    if pl=='c':
        print'First Innings'
        print'============='
        while o==0:
            e=0
           
            while e==0:
                b=input('Enter Your Bowling choice 1-6:')
                if b>6 or b<1:
                   
                    e=0
                else:
                    r=random.randint(1,6)
                    e=1
           
            if b==r:
                o=1
                print 'computer used ',r
                print 'computer is out!'
                print 'score:',score
                break
            else:
                print 'computer scored ',r
                score=score+r
                print 'Score:',score
        return score
    else:
        print'First Innings'
        print'============='
        while o==0:
            e=0
            while e==0:
                r=input('Enter Your Batting choice 1-6:')
                if r>6 or r<1:
                   
                    e=0
                else:
                    e=1
            b=random.randint(1,6)
            if b==r:
                o=1
                print 'computer used ',b
                print 'You are out!'
                print 'score:',score
                break
            else:
                print 'computer used ',b
                score=score+r
                print 'Score:',score
        return score
def batsec(pl,sc):
    o=0
    score=0
    if pl=='c':
        print'Second Innings'
        print'=============='
        while o==0 and score<=sc:
            e=0
            r=random.randint(1,6)
            while e==0:
                b=input('Enter Your Bowling Choice 1-6:')
                if b>6 or b<1:
                   
                    e=0
                else:
                    e=1
            if b==r:
                o=1
                print 'computer scored ',r
                print 'computer is out!'
                print 'score:',score
                if score<sc:
                    print 'Computer loss by ',sc-score,' runs'
                elif score==sc:
                    print 'Match Drawn!'
                else:
                    continue
            else:
                score=score+r
                print 'Score:',score
                print (sc-score)+1,' runs to win!'
        if score>sc:
            print 'computer win!'
    else:
        print'Second Innings'
        print'=============='
        while o==0 and score<=sc:
            e=0
            while e==0:
                r=input('Enter Your Batting Choice 1-6:')
                if r>6 or r<1:
                    raise ValueError,'number Should Be between 1-6'
                    e=0
                else:
                    e=1
            b=random.randint(1,6)
            if b==r:
                o=1
                print 'computer used ',b
                print 'You are out!'
                print 'score:',score
                if score<sc:
                    print 'You loss by ',sc-score,' runs'
                elif score==sc:
                    print 'Match Drawn!'
            else:
                score=score+r
                print 'Score:',score
                print (sc-score)+1,' runs to win!'
        if score>sc:
            print 'You win!'
pl='y'
while pl=='y' or pl=='Y':
    print 'you can have 1-6 run a ball and one wicket'
    print 'Let us do the toss'
    t=random.randint(1,2)
    ch=str(raw_input('CHOOSE EVEN OR ODD(e/o):'))
    to=int(raw_input('ENTER YOUR NUMBER:'))
    toss=t+to
    print 'Computer:',t
    if toss%2==0:
        if ch=='e' or ch=='E':
            print 'You won the toss'
            u=1
        else:
            print 'You loss the toss'
            u=0
    else:
        if ch=='o' or ch=='O':
            print 'You won the toss'
            u=1
        else:
            print 'You loss the toss'
            u=0
    if u==1:
        d=int(raw_input('1.Bat or 2.Bowl?(1/2):'))
        if d==1:
            sc=batfirst('u')
            batsec('c',sc)
        else:
            sc=batfirst('c')
            batsec('u',sc)
    else:
        d=random.randint(1,2)
        if d==1:
            print 'computer choose to bat first!'
            sc=batfirst('c')
            batsec('u',sc)
        else:
            print 'Computer choose to bowl first!'
            sc=batfirst('u')
            batsec('c',sc)
    pl=str(raw_input('DO you wish to play again?(y/n):'))
   

           
       
       
       
           
             
       
   
   
   

Thursday, November 17, 2016

Anybody can draw


Drawing Seems tough but Once You are in deep love with it ,it is the easiest job!

Sunday, October 23, 2016

HAND CRICKET GAME IN PYTHON

Some days ago I decided to make a hand cricket game with python ..and I wrote codes but didnt finished it that day and Ii was quiet busy for the following days and I forgot wat was the idea in my mind for the game and iam too lazy to read and make the idea again

So the point is iam giving my unfinished source code here u can develop it and if possible post it as a comment :D

source code
=========
import random
def mod(n):
    if n<0:
        n=n*(-1)
    return n

def bat():
    
    out=0
    score=0
    while out!=1:
        b=random.randint(1,6)
        ba=int(raw_input('Enter your choice 1-6:'))
        if ba<1 or ba>6:
            print 'You cheats!'
                
            exit
        if b==ba:
            out=1
            print 'Computer also opted for',b
            print 'You are out'
           
        else:
            print 'You scored ',ba
            score=score+ba
            print 'score:',score
    return score               
def bowl(sc):
    if sc!=999:
        score=0
        while score<=sc:
            bc=random.randint(1,6)
            bo=int(raw_input('Enter your choice 1-6:'))
            if ba<1 or ba>6:
                print 'You cheats!'
                exit
            if bc==bo:
                out=1
                print 'Computer also opted for',bc
                print 'Computer is out'
                print 'computer scores ',score,'runs'
                d=score-sc
                if d>0:
                    print 'computer won'
                elif d<1:
                    print 'computer lost by',mod(d),'runs'
                else:
                    print 'Match is a draw'
            
            else:
                print 'Computer scored ',ba
                score=score+ba
                print "Computer's score:",score
                d2=sc-score
                if d2>0:
                    print 'computer needs ',d2+1,'runs to win'
                else                    
    return score        
            

do:
    print 'you can have 1-6 and one wicket'
    print 'Let us do the toss'
    t=random.randint(1,2)
    ch=str(raw_input('CHOOSE EVEN OR ODD(e/o):'))
    to=int(raw_input('ENTER YOUR NUMBER:'))
    toss=t+to
    print 'Computer:',t
    if toss%2==0:
        if ch=='e' or ch=='E':
            print 'You won the toss'
            u=1
        else:
            print 'You loss the toss'
            u=0
    else:
        if ch=='o' or ch=='O':
            print 'You won the toss'
            u=1
        else:
            print 'You loss the toss'
            u=0
    if u==1:
        d=int(raw_input('1.Bat or 2.Bowl?(1/2):'))
        if d==1:
            score1=bat()
            score2=bowl(score1)
        else:
            bowl(1)
    else:
        d=random.randint(1,2)
        if d==1:
            print 'computer choose to bat first!'
            bat(0)
        else:
            print 'Computer choose to bowl first!'
            bowl(0)
    pl=str(raw_input('DO you wish to play again?(y/n):'))
while pl=='y' or pl=='Y'    



Thursday, October 6, 2016

A GUESS GAME WITH PYTHON

Hey friends ! I gonna give a source code in python for a guess game...the game is simple the computer thinks of a number between 1 and 50 and gives you six chances to guess it right and it gives u clue by telling if your guess was greater or lesser than the number with computer!hope you like it..


SOURCE
=======
import random       
import os
num=random.randint(1,50)
os.system('cls')
print '\tHOW TO'
print '\t','-'*6
print '\tIn this game I will think of a number from 1 to 50'
print '\tYOU HAVE SIX CHANCES TO GUESS THE NUMBER!'
print ''
print '\tGAME'
print '\t','-'*4
c=1
while c<=6:
    print '\tEnter your guess ',c,':'
    n=int(raw_input())
    if n>num:
        print '\tYour Guess is greater!'
    if n<num:
        print '\tYour Guess is smaller!'
    if n==num:
        break
    c=c+1
if n==num:
    print '\twow you have guessed it right! I thought of ',num
else:
    print '\tYou have finished all your six chances!'


#####################################################################
If you have any doubt ,contact me
run on python 2.7.12 interpreter
save as something.py
This is based on python 2.7 so,it will show error if you run it on python 3.5 interpreter..

OUTPUT
=======
================== RESTART: C:/Python27/guess.py ==================
HOW TO
------------
In this game I will think of a number from 1 to 50
YOU HAVE SIX CHANCES TO GUESS THE NUMBER!

GAME
---------
Enter your guess  1 :
25
Your Guess is smaller!
Enter your guess  2 :
40
Your Guess is greater!
Enter your guess  3 :
35
Your Guess is greater!
Enter your guess  4 :
30
Your Guess is greater!
Enter your guess  5 :
27
wow you have guessed it right! I thought of  27
#####################################################################
FEEL FREE TO ASK ME YOUR DOUBTS AND LEAVE COMMENTS!
#####################################################################

Saturday, August 20, 2016

The Mysteries Of Yaksha Rajya

Guys i am trying to write a novel...but i donno if its good or not so i need your help please comment or message me if the plot is good or bad and whether i should continue with it or not! 
PREFACE
Tailer walked up the stairs into the hall and went forward past a door into the veranda. He placed his hands on the wooden parapet which seems to be more than 1000 years old; yet seeing its superlative strength Tailer concluded it to be built by some glorious empire. He sighed at the beauty of nature in front of him. It was a beautiful scenery. He could get a good sight of the surrounding from his position as the veranda is protruded outward from the building. In front of him he could see an infinite number of strange yet awesome looking trees which blocked him to see further deep into the forest. To his both side stood a row of some strange tree which stood as if a wall. It has yellow trunk and light green leaves which seems to be glowing. These rows of trees seem to be a natural border! The border to the well-developed land of humans and some mysteries; the mysteries which are seldom known to people. He gazed forward again; the thick forest was glowing, he amazed ‘what type of leaves these trees are having?’. At that time his gaze fell on a plant which is on the ground below the veranda which he is standing. It is having a pentagon shaped red flower head. An attractive butterfly with glowing blue wings that has many patterns in it was resting on it. It is this butterfly which turned tailer’s gaze to the flower. He gazed at it for some moments, and then suddenly a long tongue came and wrapped the butterfly. It tries to resist by fluttering the wings, but was of no use. The tongue took it, the way back to the mouth of a frog.

CHAPTER 1
‘The nature, its beauty, everything has become treacherous! How can we live in this world? May be these are aftereffects of what we have done’
Tailer was a young fellow, in his early twenties. He doesn’t have any job, nor he like to have one. His family was one of the richest of India. Tailer wasn’t his real name, he adopted it. His parents died even before his memories started to strengthen. After the death of his parents due to an earthquake (as told by his uncle), his uncle, Ram, looked after him. Uncle Ram was an unmarried man, who gave too much love and affection to Tailer. When Tailer was fifteen, uncle Ram died due to some disease which was unknown to medical science. This left Tailer alone in the huge bungalow with only the richness his parents earned. He spent his life by researching and discovering about the mysteries that no one ever knows. Recently he discovered that, there are some secrets hidden in a forest of south India. The forest is bounded by a special kind of tree, with yellow wood and light green glowing leaves. The forest was once a vast kingdom and is surrounded by wall. The wall hid the trunk of the tree from outsider’s view. This made the tree to appear like mahogany tree to the outsiders. The only entrance to this forest was a building which was at the centre of the wall. The door to this building is locked from centuries ago. But no one dares to enter the building as there is a haunting story behind this building which made the neighbouring people to fear even for going there at night. Also, if somebody dares too, there is no gain for him in entering into a mahogany forest.


Tailer decided to visit that place. One night he got to that place and unlocked the building with a metal wire and moved into the building and closed the door from inside.
                                                            There is only a stair in front of him which lead to the only room, or hall may be, of the building .He climbed the stairs to reach to the hall.
                                                            The stair was not a straight one was there a sharp turn to the left after reaching ten or twelve steps. Tailer entered the hall after a few steps from the turn. The hall was indeed just a room with nothing inside. An empty room! Tailer looked to his right and saw there was a doorway. The door was not locked, actually it is half opened. He knew for sure, it is the way to the great forest which hid a load of mysteries within it. He walked to the doorway and went past it without any hesitation.

                                                            He was now in a corridor, which was protruding forward from the building. It was well constructed, providing high safety as it include parapet which prevent the fall.

CHAPTER 2
                                                         An ocean of happiness surrounded Tailer when he stood on the corridor. He gazed at the beauty of the nature. His heart is pounding hard, he couldn’t know what type of joy he had.
India, the place of different gods, different religions, different cults, different languages and yet the most beautiful place on earth. She had concealed many mysteries within her. May be no other place could probably have that much mysteries as she does have. And now, one of her prime mystery of this age is in front of me! It is grinning at me! Ma India is going to reveal one of her secrets to me!
                                               He couldn’t think properly with anticipation peaking each second. He has no idea what will be there in this vast forest, nor the book in his hand which gave him reference to this land. For his surprise, the book was unnamed and even the name of the writer was not present. It was handwritten. Prime of all these surprises was the way Tailer got this book. He got it from one of the oldest library, may be a hundred and fifty years old. Looking at the book and the boldness in its writing Tailer can swear the book must be written within two years or so. And further, for his surprise the book was hidden beneath another book titled “GLORY OF INDIA” (the book and the title was in Sanskrit, but Tailer was a scholar in the language).
‘Perfect place for hiding the manuscript!’ he realised ‘a few people in modern India knows Sanskrit’.

                                        
                                          But who wrote this book? Why it was hidden? All these are huge questions which Tailer found hard to answer. But the explorer in Tailer forced him to find out the place and find out the mystery to which the book points. And now he has discovered the place and I standing on the balcony of the building which marks the border to the forest stated in the book.
                                          Tailer walked back to the hall and to his surprise he noticed many things which he initially did not. There was a large wooden box on the right side of the entrance from the stairs from which he entered the hall earlier. It was a huge box indeed. He went near it and inspected. The box was locked and the lock seems to be made of silver or something similar to it. He wondered how come this box in this building where nobody leaves. Tailer noticed that the box was wooden yet it is perfectly carved and its surface is smooth, moreover it shines as a ray of light falls on to it from a hole in a window door. Then he realised if he’s gonna think too much about these things he would have to spent a lot of years and discarded his thoughts. Then he saw something inscribed on top of the box.
                                                                                       
  
                                             He didn’t get any sense by looking at the script.
What does it mean? YakshaRajya? What is that? Could it be the name of the lost empire or something? ‘.
                                              
                                             He then turned his gaze to the lock. It has no keyholes! Tailer was wondered by this. But without wasting any more time, he lifted the lock with his right hand. Suddenly, the lock began to glow, producing radiance all over the room and then, with a click the lock unlocked and vanished from Tailer’s hand. Tailer was gapping with astonishment of what he has just witnessed. It took him some moments before coming back to his sense. When he got back to his sense, he was hardly able to believe what he has just witnessed. He slowly place his hand on top of the box expecting more wonders, but nothing happened. So he managed to open the box, it was a strong one he spent a good portion of his strength to open it. Once he did, he examined the content of the box. He was unable to know what was inside. Anything which is inside the box is hidden from view as it is covered using some material akin to cloth.
                                            He gently took out the cloth and realised it as a costume, it looks special, like that of some traditional king’s or some warrior’s. He place it on the floor, to his left, and again looked into the box. It was filled with arms. He doubted the box to be somebody’s arsenal. After taking a deep breath, he stood up and stripped himself. Once he did, he the costume which he left on the floor and wore it. There were arrangements in the armour to hold the arms which he got from the box. He placed the arms, one by one in the apt positions. When he was finished he looked more as a traditional prince than a modern day gentleman. He then walked back to the corridor.      

Sunday, August 14, 2016

DOES FATE EXIST?

GUYS IAM NOT TRYING TO OPPOSE ANY OF YOUR BELIEFS BUT AM JUST OPENING MY MIND TALKING OUT WAT IS IN MY MIND!!
Actually fate has nothing to do with what I’m about to say.But I need to speak out this,we can never disprove the existence of pre written fate because of many reasons.for example,if I say I wrote an article as I thought I should a minute ago and fate has nothimg to do with it,anybody can argue with me telling”what if my argument against the fate itself is my fate?” ,I could speak no more.Okay anyway let us leave the topic atleast for now as I don’t have that much arsenal for declaring a war against the fate.But surely still i dont belive in fate!!
  

Wednesday, May 4, 2016

Awesome nights

Awesome nights are gone
Visage has glow of dark
Anon will sink in tears
Nymph has left my dreams
Thy face is still my map
With halo at its back
Igniting all my sins
With knack of wonder stuffs
I adore you akin to a rose
Though my love will ever exist
I adore you akin to a rose
Though my dreams will ever exist

Drawing 6


Monday, May 2, 2016

Oh! My Shadow


Why you follow me, my dear shadow?
Why you ape me, my dear shadow?
I think should be thankful and grateful
But I would like to say I won’t be so.
In my words you are fool
Who follows another fool.
Better leave me anon as I’m the
Loneliest, better leave me anon ‘cause
I’m the craziest, it may be dishonour
For you to follow me my shadow.
Better I shall follow you life long
As it will be a pride for me.

THE SOUND OF LIFE


The one from the heart, like a scene in the spring

Like this I too have, one of delightness

The light had spread, through my life like a dream

The light had took me, far into the stream

Soon I came to know, that the light became hot

And soon came to know, that the dark fell around

From the dark, I did walk, to believe what I see

But my life had nothing, left for me to delight

Life became just like a wind sans air,

And I had become a star without glow

And pretend to be on my radiant glow

The song which I sing and the sound from my throat,

All had left me a long time ago

Thursday, April 28, 2016

THE PRIDE OF RAIN


Shatter shatter everywhere,
It’s raining all around.
People scared the rain so much,
So that the roads are empty.
The rain was becoming stronger and stronger,
And laughed with the pride, like a soldier.
And threw the rain drops at people,
Like an archer shooting arrows.
As does the soldier doesn’t know
His death was nearby him,
So does the rain doesn’t know,

It has to stop its ride soon!

                               CONTACT: facebook  twitter


LIFE’S HOLLOW



Leave the thoughts where they are
Just leave the quote where they want
Keep away from those don’t want you
Don’t compel someone to love you
The hollow of the life, that passes to you
When you think of someone whom
You think you miss a lot in your life
Cannot be filled with sand or cement.
But try not to make a hollow in the
Life Of someone for just sake of
Making your life’s hollow filled with
Love which they don’t like to give.


 :CONTACT