RSS

Monthly Archives: August 2011

KTurtle Programming

KTurtle is an educational programming environment for the KDE Desktop. KTurtle aims to make programming as easy and touchable as possible, and therefore can be used to teach kids the basics of math, geometry and… programming.

The programming language used in KTurtle is loosely based on Logo. KTurtle allows, just like some implementations of Logo, to translate the programming language (the commands, the documentation and the error messages) to the native language of the programmer. Translating the programming language to the native language of the programmer is one of the many ways KTurtle tries to make learning to programming more simple. Other features to help to achieve this goal are: intuitive syntax highlighting, simple error messages, integrated canvas to make drawings on, integrated help function, slow-motion or step execution, and more.

INSTALLATION PROCEDURE IS:-
Go to your Ubuntu Software Centre and type KTurtle and install it.

Simple code of this programming is:-
reset
canvascolor 0,0,0

learn triangle $size{
repeat 2 {
forward $size
turnleft 120
}
}

for $r = 1 to 10 {
for $n = 1 to 10 {
$c =$n * $n * 1.1
pencolor $c, 256 – $c,256 -$r *21
triangle 200 – $r * $r
turnright 30.25
}
turnright 2
}

direction 0

For ouput screenshot is attached:-

It is very good feature for students and for those who don’t like tough programming. With this everyone will enjoy programming.

 
Leave a comment

Posted by on August 26, 2011 in Uncategorized

 

Install XBMC on ubuntu 11.04 using PPA

Install XBMC on ubuntu 11.04 using PPA

XBMC (Xbox Media Center) is an award-winning free and opensource (GPL) software media player and Home Entertainment system software,

entertainment hub for digital media.Its Graphical User Interface allows user to easily manage Video,Photos,Pdcasts and Music from a Computer,

Optical Disk,Local Network and Internet using a Remote control. XBMC is available for Linux, OSX, Windows, and the original Xbox.

To install XBMC on ubuntu 11.04,use these commands in terminal:
$ sudo add-apt-repository ppa:team-xbmc/unstable
$ sudo apt-get update
$ sudo apt-get install xbmc
$ sudo apt-get update

 
2 Comments

Posted by on August 22, 2011 in Uncategorized

 

Install Miro 4 in Ubuntu 11.04[PPA]

Miro is an open source media player which runs on Linux, Mac and Windows. Miro 4 was released a few days ago adding new features like Android sync, Amazon Mp3 Store, Ubuntu AppIndicator, Android store support and lots of other features.
To install Miro 4 in Ubuntu 11.04 Natty:
sudo add-apt-repository ppa:pcf/miro-releases
sudo apt-get update
sudo apt-get install miro

 
Leave a comment

Posted by on August 22, 2011 in Uncategorized

 

How to install AngryBirds

Many of the Ubuntu users may have already tried to run the popular game – Angry Birds using Wine. I don’t know about other Ubuntu users but I had failed to run the windows version in Wine until I found the first ever self executable installation file for angry birds for PC.
Here are the step by step instructions:

1. Install Wine in Ubuntu from this link:
http://www.multimediaboom.com/install-wine-1-3-13-in-ubuntu-10-10-maverick-ppa/

2. Download AngryBirds.tar.gz using the following command in Terminal :

wget http://dl.dropbox.com/u/964512/lffl/AngryBirds.tar.gz

3. Now extract the file using he following command:

tar zxvf AngryBirds.tar.gz
4. Go to the extracted folder and double click on AngryBirds.exe or right click the file and choose open with Wine.

If you encounter any error about resolution, just go to Configure Wine -> Graphics and click Emulate Virtual Desktop and specify the resolution that you want for the window.

 
Leave a comment

Posted by on August 22, 2011 in Uncategorized

 

Extract images from a PDF document

Extract images from a PDF document
$ pdfimages -j foo.pdf bar
This will extract all images from foo.pdf and save them in JPEG format (option -j) to bar-000.jpg, bar-001.jpg, bar-002.jpg, etc.
From the man page:
DESCRIPTION

Pdfimages saves images from a Portable Document Format (PDF) file as
Portable Pixmap (PPM), Portable Bitmap (PBM), or JPEG files.
Pdfimages reads the PDF file PDF-file, scans one or more pages, and
writes one PPM, PBM, or JPEG file for each image, image-root-nnn.xxx,
where nnn is the image number and xxx is the image type (.ppm, .pbm,
.jpg).

OPTIONS

-j Normally, all images are written as PBM (for monochrome images)
or PPM (for non-monochrome images) files. With this option,
images in DCT format are saved as JPEG files. All non-DCT
images are saved in PBM/PPM format as usual.

 
Leave a comment

Posted by on August 20, 2011 in Uncategorized

 

Tags: ,

Game in Open Office Spread Sheet

Are you bored working with Open office Spread Sheet continuously for a long time, do you ever knew that Open Office Spread Sheet has a game to relax yourself.
Check the below tricks,

1. Open the Open office Spread Sheet (calc) and Enter this in any one of the cell:
=GAME(“StarWars”)

2. a new window will open with a little game star war game.

3. But if you type again this formula, the cell will return the display “oh no, not again!”

4. to be able to play again, you need to close the file, close openoffice.org and the QuickStarter, and then make the same.

Enjoy !!!

 
Leave a comment

Posted by on August 20, 2011 in Uncategorized

 

Tags: , , ,

Mozilla Thunderbird 6

One thing in particular should be of interest to Linux users, the default email client check in Thunderbird 6 now works with some newer Linux distributions, so it should be easier to set up the Mozilla suite as the default email app.

Mozilla Thunderbird 6 comes with several interface tweaks, fixes and improvements. Of course, there are plenty of small updates that contribute to overall performance and stability included as well.

If you are curious, Mozilla Thunderbird 6 adds some fixes to importing emails from Microsoft Outlook. It also comes with several theme improvements in Windows 7 and adds support for Windows 7 jump lists.

Now that Mozilla Thunderbird 6 is out, work is underway to get Mozilla Thunderbird 7 into the beta channel and later as a stable release. As a sidenote, Mozilla Thunderbird has been selected as the default email client in the upcoming Ubuntu 11.10 Oneiric Ocelot.

Speaking of Ubuntu, there’s an easy way of getting the latest stable release before it’s added to the official repositories, by using the Mozilla-supported PPA.

To add the PPA to your list of repositories as well as install the latest Mozilla Thunderbird 6, just follow these steps and run the following in a terminal.

sudo add-apt-repository ppa:mozillateam/thunderbird-stable
sudo apt-get update
sudo apt-get install thunderbird

 
Leave a comment

Posted by on August 20, 2011 in Uncategorized

 

To make the command line Invisible in LINUX

You can make the command line you type Invisible in Linux with the following command
$ stty -echo

This will hide the user input to be displayed on screen, whatever the user enters after this command will not be displayed in the screen.

$ stty echo

to make the input characters get displayed on the screen use.

Enjoy the fun.

 
1 Comment

Posted by on August 17, 2011 in Uncategorized

 

JavaScript Trick to Edit any Web Page

Edit any webpage Using this JavaScript

Here is the most amazing trick of JavaScript you can use anywhere on any-website. Just Copy the script showing below and edit any page you want to then show it to your friends and have a great fun of using this.
Javascript trick to edit the page displayed
Goto any website and paste it in the address bar of any website.

javascript:document.body.contentEditable='true';
document.designMode='on'; void 0

 
Leave a comment

Posted by on August 17, 2011 in Uncategorized