Skip to main content

Posts

Text Editors for Linux ...I prefer gEdit over Vim as its simple and no extra commands to memorize. gEdit Editor gedit is the default text editor for the GNOME desktop environment.  This is a UTF-8 compatible text editor. Home Page: http://projects.gnome.org/gedit/ Latest Stable Release: 2.26.2 Written in: C, Python Operating System: Cross-platform Read more about gEdit at Wikipedia Read more about Linux text editors 

Perl Hands on

To test if your system already has perl installed   $ which perl /usr/bin/perl To chcek which version of perl is installed  $ perl -v  This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level .....        

Settting up PATH Environment Variables

HOW TO EDIT PATH VARIABLES IN MAC -  1. Open terminal and enter the following command  -  touch ~/.bash_profile; open ~/.bash_profile This will open the bash_profile in text editor   2. Add the following line to the end of the file adding whatever additional directory you want in your path: export PATH="$HOME/.rbenv/bin:$PATH" 3. Save the .bash_profile file and Quit (Command + Q) Text Edit. 4. Force the .bash_profile to execute. This loads the values immediately without having to reboot. In your Terminal window, run the following command. source ~/.bash_profile Voila ! You are done.  Check your Path vars by typing echo$PATH in the editor.    Multiple path environment variable setup with bash - export PATH = "A" export PATH = "$PATH:B" export PATH = "$PATH:C"

Install apk file on your phone through adb command .

While I was trying to download an android app on my mobile phone, I was getting a error ( 498) . Tried looking for the solution but couldn't get the resolution of my problem. That's when I tweaked around and downloaded the app on phone through adb install command from my mac book .  Steps -  (Follow steps 1, 2 if Android SDK is not already installed on your system. ) 1. Download the Android Software Development Kit (SDK) from the Android SDK Download Site. 2. Once downloaded, find a safe installation location on your machine and simply extract the zipped files to this directory. For example, • on Mac or Linux, install in $HOME/ • on Windows, install in C:/ Make note of the full path to and directory name of this directory where the SDK files are unpacked on your system.  3.  If you are currently in the platform-tools directory, just call ./ adb -- help The dot is your current directory, and this tells Bash to use adb from there. Otherw

Cool App - to control your android mobile phone remotely from anywhere

Just fumbled on this cool video about a app which help you control your phone remotely over the web but yes you need to be on the sam network ( same wi-fi network ) . Sounds really cool, downloading it lets see how helpful it turns out to be . Video link : http://www.youtube.com/watch?v=fWfS_63Jd2g Thanks to Ankit Fadia !