Posts

Showing posts from January, 2017

Shell Script Simple command-line python runner

                 Recently I have been watching some Shell Script videos from youtube. I just wanted to know how SH works and interact with user. But finally ended coding a simple shell script program for successfully executing python programs. Here I tried to execute php codes using my sh file, but still could't find a solution. You can download full program from  My github . First I will explain how the program flows. First user enters he/she desired file name, shell script creates an empty text file with that name. Then program asks what kind of file is this (python or php). When user enters appropriate file type,  changes the file extension from text to user desired file type. Asks user to enter the program and save it using CTRL+D. Finally tries to execute the program. (tries because only python codes are executed successfully in this) Here we go, I will explain line by line, what is happening behind the scene (as I understood).           echo "Please enter fi

Advance usage of Sublime Text-3

          I am posting this for coding your life easily using Sublime Text -3. These are a few but helpful shortcuts every sublime user should know. I hope these will make your coding life very easy and comfortable. Note : => is not a key word, I just use it to show you what is the next step. 1) To find a file :          Keys            : ctrl+p  => File name.          Description : When you need to find a file inside your working directory and you know the                                   name of that file (at least a fraction of it). Else you have to use sidebar. 2) To get a method in a file :          Keys            : ctrl+p  => @ method         Description : When you need to find a method inside your file, get the command pallet and                              just type @ . This will bring all the functions inside your working file. 3) To find a word in a file :          Keys            : ctrl+p  => # word         Description : When you need to find

Hello World

          class CodingYour Life {                         var blog = "Coding Your Life";                   function __constructor($blogger) {                                              $this->blog=$blogger;             }    public function who_Am_I( ){        echo "                            I am an enthusiastic computer engineering student for Laravel framework,                  Python,VHDL and electronic design. Self learning is my favorite. These days I am               following Django and Python web access tutorials.Also developing a Simple blog system                 using Laravel and Django ";    }    public function why_I_started_this( ) {               echo "                             My good friend Anjana suggested start a blog to share my ideas with my fellow                       enthusiastic coders.";    }    public function what_I_write( ){              echo "