Tag: php howtos

Varnam, An Editor To Easily Type Malayalam & Other Indian Languages

Today, I’m introducing Varnam Editor, an easy software for you to write Malayalam and other Indian languages. It is easily installable for GNU/Linux distros like Ubuntu, Linux Mint, Debian, Archlinux etc.
Technically, it’s an editor for transliterating Indian languages. Varnam Editor uses an existing library called Varnam and makes it easy to install & use.
Transliteration From Wikipedia :
Transliteration is a type of conversion of a text from one script to another that involves swapping letters (thus trans- + liter-) in predictable ways (such as α → a, д → d, χ → ch, ն → n or æ → ae).

Sample Page

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:
Hi there! I’m a bike messenger by day, aspiring actor by night, and this is my blog. I live in Los Angeles, have a great dog named Jack, and I like piña coladas.

How to take a screenshot in Ubuntu/Linux

You can take screenshots of your desktop in Linux. For taking screenshots you can use Take Screenshot application.
Use shortcut keys To take a screenshot, use the following shortcut keys: Default Shortcut Keys Function Print Screen Takes a screenshot of the entire screen. Alt+Print Screen Takes a screenshot of the window which is active. From the Menubar

Install a RPM file in Ubuntu/Linux – Convert RPM files to DEB packages

Some programs will only have an RPM file which can be downloaded and can be installed. But most of the people don’t know how to install. If you open the RPM file you will see the archive in Archive Manager.
This post will help you to convert RPM files to DEB packages which we can install in Linux.
Open the terminal (Applications ▸ Accessories ▸ Terminal) or by pressing CTRL + F2.
Install Alien package to convert the RPM file by using the following command.

Removing HTML tags in an input element.

index.html (Removing HTML in INPUT element).

var el = document.getElementById(“in”); // or just another HTML DOM element
var text = el.value.replace(/]+/g, “”);
 document.getElementById(“in”).value=text;

in” value=”Subin”

If the code above didn’t worked try placing the script after the input element.
This is the script  
var el = document.getElementById(“in”); // or just another HTML DOM element
var text = el.

Can’t boot into Ubuntu after upgrading.

When you upgrade to any new version of Ubuntu you will not be able to open Ubuntu. There might be a number of reasons. This post will help you to solve the problem of not completing the 
installation of new packages.

To solve this, boot in to Ubuntu. You will be stuck in the Ubuntu Logo. In there press ALT + CTRL + F1.
You will get a terminal.

Know/Check Ram Type in Linux

If you want to know what type is your RAM. This command will help you in Linux.
sudo dmidecode –type 17 Type your password and press Enter. The details of your ram will be shown. You can now see the DDR of your Ram as shown in the picture above.

Google + going to host a hangout with Steven Spielberg and Joseph Gordon-Levitt

Steven Spielberg and Joseph Gordon-Levitt discuss about their new film LINCLON. The hangout is Tomorrow, 14 September, 04:30 GMT+05:30.
Google Play presents: Steven Spielberg and Joseph Gordon-Levitt in their first ever Hangout On Air where they will be exclusively premiering the trailer for their upcoming movie, Lincoln. If you want to be one of the lucky fans to join the hangout please:-Let us know how we can contact you here http://goo.

Can’t Boot Ubuntu after installing Nvidia Driver Fix 2

A lot of people has trouble booting in to Ubuntu after installation of Nvidia Driver.Here is the second solution if first solution didn’t wok.
Since you get a terminal when you boot in to Ubuntu.
Login to your account in the terminal
Then run the command.
sudo -i and save a new Nvidia Config File by running this command. nvidia-xconfig Your new config file has been created!

Jquery ExtAjax Plugin : Submit forms to external files using Jquery

Hi. You can’t submit a form to external file using Jquery Ajax. Finally I created a Jquery Plugin to solve this problem. I named it ExtAjax.
This Jquery Plugin will help you to submit a form to a external file without refreshing the page.
Requirements 1) Jquery Latest Version 2) extajax.js file

Here’s how the HTML file will look like: