Open Terminal (ALT+F2).
gedit /etc/hosts
... [READ MORE]
Jquery ExtAjax Plugin : Submit forms to external files using Jquery
This Jquery Plugin will help you to submit a form to a external file without refreshing the page.
Requirements
Here’s how the HTML file will look like:
... [READ MORE]
Can’t Boot Ubuntu after installing Nvidia Driver Fix 2
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.... [READ MORE]
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.
-Let us know how we can contact you here http://goo.gl/ApTvq.
-Upload a short video to your YouTube channel with the #lincolnhangout tag explaining who you are, why you are interested in "Lincoln" and what you would like to ask Spielberg and Gordon-Levitt
-Reshare this G+ event
+Google Play will reach out to you if you’ve been selected to join.#lincolnhangout .
ABOUT THE MOVIE:
Steven Spielberg directs Joseph Gordon-Levitt in "Lincoln," a revealing drama that focuses on the 16th President’s tumultuous final months in office. In a nation divided by war and the strong winds of change, Lincoln pursues a course of action designed to end the war, unite the country and abolish slavery. With the moral courage and fierce determination to succeed, his choices during this critical moment will change the fate of generations to come.
Get extension of a file using PHP
function getExtension($fileName){
$i = strrpos($fileName, ".");
if (!$i) {
return "";
}
$length = strlen($str) - $i;
$extens = substr($str, $i+1, $length);
return $extens;
}
For example you need to get a extension of the file photo.jpg. To get the extension type this code in your PHP file.
<span style="color: #660000;"><?php</span> <span style="color: #660000;">echo</span> getExtension<span style="color: #660000;">(</span>'<b><span style="color: #e06666;">photo.jpg</span></b>'<span style="color: #660000;">);</span> <span style="color: #660000;">?></span>
The above code will print out "jpg".
... [READ MORE]How to remove an item from GRUB boot menu
Follow these steps.
Backup your GRUB configuration file which is in /boot/grub/grub.cfg which we will need if something goes wrong.
Open Terminal (Applications -> Accessories -> Terminal). You need to be the root. For that :... [READ MORE]
How to Repair/Restore/Reinstall GRUB Using Ubuntu Live CD
GRUB is the default bootloader of Linux. It is installed on your Hard Disk, but it’s not accessible as a drive. GRUB is installed on your Hard Disk when you install a Linux Operating System.
Without GRUB, you can’t boot in to OSs. Windows, Mac and other OS have their own bootloader. Linux too have different bootloaders. GRUB, BURG are examples.
When you install Windows after you install Ubuntu, Windows replaces the GRUB in the Hard Disk to Windows’ boot loader which won’t identify Linux systems (Damn you Windows !). But, our GRUB detects every OS. So, it’s better to have GRUB over Windows Boot Loader.
... [READ MORE]How to Stop your Blogger Blog from Redirecting to Country Domains
This will affect your blog badly. For Example:
- The social stats – or Facebook Likes, Google +1s and Tweet counts – for your blog stories may be diluted as the URLs for the same story become different from different visitors.
- You will have a similar problem if you are using an external commenting platform like Disqus or Facebook Comments.
To prevent this you need to add this code to your Template.
Go to Blogger -> Template -> EDIT HTML
How to make a transparent background/selection on an image using GIMP
Select Edit – Clear. This makes the selection transparent.
Save the file.
The Subins Project
UPDATE - 2019
There are some posts on Subins. But, I never wrote detailed about “The Subins Project”. I don’t know why. So I’m writing this for archival purposes.
I lost the source code of “The Subins Project” because I accidentally formatted by whole drive back in 2013 during an installation of Windows XP (their installer is very bad !).
... [READ MORE]