Friday, January 27, 2012

Write upon PDF fles without installing any software!

Sometimes we need to write on PDF files, more particularly when it comes to complete any forms or giving signature upon any PDF documents. Couple of commercial solutions available into market, but there is also online solutions. Here comes PDFescape - which is a Free PDF Editor Form Filler. One can easily edit PDF files and can even place an image to any portion of the file without installing any software. Recent days I have to fill couple of PDF forms and my free version of Acrobat Reader unable to serve my purpose. I find PDFescape very handy regarding this.

One more thing, if you need to exact any page or couple of pages from an PDF file, you can use doPDF. To do this, after installing the software, just open the file, select doPDF as printer and print the desired number of pages. A sample screenshot is shown here.



Tuesday, October 25, 2011

What I follow to post codes in Blogger

There are may alternatives and workarounds available in the net to post code snippets in blogger. But process I follow is the simple one founded in following link.

What I do is to
(1) Simply go to the site SIMPLEBITS
(2) Paste the code
(3) Place the code in my blog by clicking Edit HTML link on top

VoilĂ !!

Thursday, July 14, 2011

Adding Source Code in Latex

One of my favorite sites for quick Latex reference is Wikibook. Today I got a new package listings which can insert directly form a source code file and generate necessary formatting in Latex document. Just use the package in your Latex document file :

\usepackage{listings}


And then use the following command where you want to place code :

\lstinputlisting{myfile.cpp}


For more details see the link :
http://en.wikibooks.org/wiki/LaTeX/Packages/Listings

Also take a look in the following link for writing pseudo-code and algorithms in Latex.
http://en.wikibooks.org/wiki/LaTeX/Algorithms_and_Pseudocode

Sunday, June 26, 2011

Configure 10MBPS Full-Duplex Mode in Ubuntu

If you have your internet provider limiting you Link speed/duplex mode like mine, there is  a workaround available in Ubuntu. Okay, in windows it can be done graphically by

Device Manager > Network Adapter > Properties > Advance > Link Speed/Duplex Mode


But in Ubuntu, its quite different, but easier than Windows you must say! Go to terminal, and simply type the following command using your root password :

sudo mii-tool -F 10baseT-FD


Give other settings like IP address etc. as usual.

Sunday, June 12, 2011

Use terminal directly from Kate

Kate, along with Geany is one of my favorite text editor. One of the good features of Kate is that it open a file in terminal in the files own loacation. For Example, if you have a file in D drive, with following path : Folder1/Folder2/Folder3/File1 then Kate will open it in terminal in the same location say Folder1/Folder2/Folder3/File1 for my given example.

Ubuntu users might find that terminal in disable in Kate. Personally I also face the problem. The reason for the problem is Kate actually build on KDE distribution. Hence if you use the terminal of Kate, you need to install the package konsole in Ubuntu. So, go to your Ubuntu desktop terminal (Application > Accesories > Terminal) and type the following command :

sudo apt-get install konsole

Sunday, June 5, 2011

Use Ubuntu font in Lucid

The all new Ubuntu Font
There is a new font for Ubuntu called 'Ubuntu' from the release versions of 10.10 to onwards.

But if you do not want to upgrade your system like me, then you can use the all new Ubuntu font in your current distribution. I am currently using Ubuntu 10.04 LTS (Lucid Lynx), so I write this based upon Lucid.

Now, lets start! First add the repository for Ubuntu true type fonts and then simply download font package. Here is the command to write in terminal :

sudo add-apt-repository ppa:webupd8team/ubuntu-font-family
sudo apt-get update
sudo apt-get install ttf-ubuntu-font-family


It is time to change your font. Go to System>Preferences>Appearance Settings and modify the Font tab shown bellow:




Thursday, May 12, 2011

Slide Number in Warsaw theme of Latex-Beamer

Recently I have made my first presentation on Latex Beamer. But I have faced problem to give slide number using the theme Warshaw. There is a method to do this by the following command :

%\setbeamertemplate{footline}{Your Footer Text \hfill\insertframenumber/\inserttotalframenumber}


But which actually removes footer graphics. A workaround I found to place slide number in Short Title of the presentation. So, you can use this in your \title command :

\title[My short title \hspace{25mm} \insertframenumber/\inserttotalframenumber]{My Title}


The resultant output :