Diagnose MySQL database server with Jet Profiler On Ubuntu

Jet Profiler for MySQL is a really good tool to diagnostic MySQL database for tables, user performance, query, using graphical visualisation, and it’s user friendly.

Main features such as ” Top Queries, Top Users, Top Tables, Top States, Replication Profiling, Master and Slave statistics, MyISAM Lock Analysis, Query Ratings, Query Visualization, Slow Queries, Zoomable GUI, General Server Metrics, Save / Load Support, Low Overhead, Supports all MySQL Versions, …”

check this one minute video for  how t o use Jet Profiler for MySQL database. Here

More information and Download Options Here

('Read more...')

[How To]: extend time for deleting temporary files in tmp directory on Ubuntu 10.04 LTS

Temporary files located on /tmp directory will be deleted by default with every time you restart or shutdown from ubuntu 10.04 LTS. It becomes handy some times if you want to keep your tmp files for some applications already installed in your machine in case you want to use it later.

Open this your filesystem directory /etc/default/rcS Open this file

In line 10 you will find ” TMPTIME=0 ” by default the value is zero that value delete temporary files with every time you restart the machine.

If you want to keep your files for ever make the value ” TMPTIME=0 ” with negative number. ” not recommended it will  ”

If you want to keep temporary file for two days, change the value to be ” TMPTIME=2 ”

so that’s for now :)

[How To]: Get the best performance with SUN VirtualBox

Sun virtualBox one of the best virtualization applications you can use to run multiple operating system in the same time, but it need some dependencies to get better performance in your operating system whatever the operating system is Ubuntu, Mandriva, Fedora, Centos, …… I am using it now on Ubuntu.

Ubuntu Swap, ” check your operating system Swap ”

really important because it used as same as your installed memory RAM, check this post for ubuntu Swap improvement, just make sure your swap size at least as same as your installed memory RAM.

for system setting you raise to the half memory you already have, for that if raised more than you have the Swap will help to keep you system stable.

also you can use multiple cores if you have multiple core processor. If you have a decent machine you can active full acceleration.

set the display memory depending in you graphics card performance, if you want to get 3d, 2d visualizations it might slow down the virtual machine.

that’s it for now.

[Download] : 30 Default Backgrounds for Ubuntu 10.04 LTS

A really cool collection of 30 backgrounds comes with the new release of ubuntu 10.04 LTS .

Dark background I liked the most, awesome collection of dark wallpaper. also comes with many bright wallpaper.

These wallpaper for who aren’t using ubuntu 10.04 LTS

you can download the whole pack in .zip file.

enjoy it

5 Recommended things to do before upgrading to Ubuntu 10.04 LTS

After you installed the new version, you maybe will say ” damn where is my bookmark !!!!? ” you forget it with old version usually happen  :(

so, Before upgrading to Ubuntu 10.04 LTS which will release on April 29, their are 5 things recommended to do with the distribution you already have. whatever is the distributions is ubuntu 9.10, older versions, or other distribution.

1. Bookmark ” Favorite “ Backup

Most users using Firefox web browser, Google Chrome, Chromium ” based web browser on chrome ” , Opera, …

go to bookmarks then organize bookmarks then you will find export bookmarks. I recommend to export it as HTML file, to easily use it on any other web browser.

also you can export addons if you want. this applications is recommend to backup addons ” FEBE

Go to tools, then bookmark manager, then press export it will export it as HTML .

Go to Bookmark, then book mark manager, export it as well.

2. Evolution mail, Thunderbird Backup

If you want to keep your saved messages, you can easily backing it up. go to file, then backup options it will back all messages on archiving file I believe it tar.gz

3. Backup installed packages, and specific file on file system directory.

Many file you may be forget for your webcam, documents files, multimedia files, ….

Many applications used to backup files or packages on ubuntu, Timevault or Unison.

4. Backup Compiz Fusion

If you are using Compiz fusion make sure you backed up your compiz fusion profile, to easily get same look next time you are going to use compiz.

5. Time to destroy Ubuntu

install any package you didn’t want to try it with this version just for fun. install extra compiz fusion plugin till message comes up telling you ” you have serious kernal error you have to restart ” :D  , share with us what you will do with your own release before installing the new release.

:)

[How To] : move minimize, maximize, close button to right hand side of title bar?

With the new release of ubuntu 10.04 beta 1, beta 2 ” minimize, maximize, close” button moved to left hand side of the title bar.

check this this video will easily show you how to do it using configuration editor  ” gconf-editor ”

play in HD for better quality, Thumb up if you like it.

Review : xPUD 0.9.2 Review light distribution

xPUD 0.9.2 Review

xPUD distribution light wight distribution using simple web interface called plate user interface. this is a really good choice distribution to use if you want to get a quick access to internet or directories, multimedia files, document files, …..

You can install it in your USB, laptop, Notebook, Desktop, …  the good thing is the boot time really good booting time even in this review i was using it in my virtual machine “sun virtualbox”.

  • screenshots

main installed application mozilla firefox, mplayer, document reader, also you can get extra application using opt-get software center, it’s like synaptic package manager we using on ubuntu or mint distributions. you can find openoffice, skype, extra codecs for playing multimedia files, ….  all this application located on opt-get software center.

  • System requirement for this distribution

256MB RAM and 64MB free disk required.

also check the full video review “screencast” play in HD for better quality

To download xPUD 0.9.2 here

enjoy it, Thumb up if you like it  :)

Applications : 5 webcam applications for capture photos, videos, multiple photos, and security cameras

webcam applications for capture photos, videos, multiple photos, and security cameras

1. Cheese

One of the most common application located on gnome project, first it was written by google summer code project. really liked effects you can add using cheese ” noir, edge,warp,dice,hulk,….

also you can use this applications for talking multiple photos or videos, customize to specific resolution you want, working in many different distributions you can find many download options for debian based distributions, fedora, ubuntu, mint, …..

More information and download

2. Camera Monitor

simple tool notify you if your camera is on or off. designed to work on gnome desktop work as well on KDE and Xfce

simply you can install it by terminal

sudo apt-get install cameramonitor

More information and download options for other distributions

3. Camorama

camorama is a program i wrote to learn gtk and v4l. as you can see, i am still learning ;) . it is pretty simple at the moment, and i hope to make it much more complete. i also plan to make it more generic, as i initially wrote it with only my own creative webcam 3 in mind. hopefully it will work with other cameras. i will test on anything i can get my hands on, but that might take a while.
right now you can change the video settings using the gui and apply some crappy filters i wrote to mess around with. it runs at a reasonable speed, but i would like to get the fps up as high as possible. still figuring that out.
as for requirements, you will need at least gnome 2 and v4l. i haven’t used anything else crazy, and that should do it.

More informations and Download Options

4. Gnome Security Camera “Gspy”

Gspy retrieves images from a video4linux device and processes these into a daily mpeg movie on the disk drive. Each image is recorded with a time stamp to insure accurate real world correlation. Special motion detection algorithms are used to reduce the size of the daily movies by eliminating pictures with similar content as well as the normal compression obtained via the mpeg process. The result is a time lapse video per day with nonlinear time compression using only the images of interest. This program will only run on Linux machines which support a video4linux-device in 640×480 capture size. This software has been tested with the 2.4.0-test1 kernel, 2.4.0-test4 and the 2.2.16 kernel with the usb backport patch. You should have the Berkeley MPEG Tools installed if you wish to generate the MPEG files. Gspy can be used without the MPEG tools, as it will fill a directory with jpg images that can be processed or viewed at a later time. Versions from 0.1.6 include a user defined command that is executed on each alarm. This command string can include a token(s) “%f%” that will get replaced with the alarm picture filename. Typical uses would be to copy the alarm picture to a remote site using ftp or scp, email the picture to someone, play a sound annoucement… “Step away from the keyboard!”, turn on lights using a parallel port or X10 interface, or ???. Have FUN

More informations and Download options

5. Kamoso

My favorite webcam application for KDE, support many webcams, able to capture photos, videos, multiple photos. you can easily share your photos and videos directly from the application to facebook and twitter.

More informations and Download

that’s it for now.

How to add repositories on Ubuntu 9.10

Common applications installed using synaptic package manager already installed by referring from default repositories added on ubuntu 9.10 or any other version it’s the same way to add extra repositories for other distributions such as ubuntu 10.04 LTS beta 1

Default repositories on ubuntu monitored by ubuntu community, so in this post i will show you how to add extra repositories for ubuntu 9.10 and 10.04 LTS beta 1 as well.

1. Adding repositories

you can get access to it using:

a.  synaptic package manger

System menu  —> Administration —> Synaptic —> Settings —> Repositories

b.  System menu —> Administration —> Software Sources

Common repositories already added on software sources by ubuntu and kubuntu. some application need to add extra repositories to be able to install it in your machine, will use this as example

deb http://ppa.launchpad.net/moovida-packagers/ppa/ubuntu karmic main

access the software sources, will ask you for root password then go to other software and press add button and paste the apt line like this one up there

If you want to backup all repositories you already have type this command on terminal

sudo cp -i /etc/apt/sources.list /etc/apt/sources.list_backup

This will copy you repositories list to this folder “./etc/apt/ ” with name called sources.list_backup

2. adding repositories key

some application need repositories key to get rid of so warning massages during the installations

so you will find more instructions on the website for installing this package and it will mention repositories key you can add it directly from the terminal.

That’s it for now. :)

6 Google Chrome extensions every web developer must use

Hello guys,

When google released version 4 with extensions compatibility Google chrome extensions comes really handy.

I like how google chrome separate tabs and extensions with each process for task manager, to get access to it press ” Shift + Escape “.

so, here are 6 google chrome extensions for web developer, Development, SEO, quick customization, CSS, HTML, validations, page ranking, …


1. iPageRank | SEO Tool

Unlike all the other PageRank checkers, this one will tell you, how much PR will be transfered to your site with a dofollow link on that page.
It is handy to see if a site would be worth your time of commenting or requesting a backlink.
As well as that, it tells you, how many links, follow links, follow external links and follow internal links there are on that page.
It also uses a random Google server to fetch the PageRank value to stop you being throttled by Google

More information and installation

2. CSSViewer



CSSViewer shows the css parameters of any element in a web page, to enable/disable it simply click the toolbar icon.


More information and installation






3.  Chrome SEO


The Google Chrome SEO Extension provides easy access to Search Engine Optimization Tools that can help you with Competitive Analysis, Keyword Research, Backlink Checks, PageRank Checks and other daily SEO tasks.

More information and installation



4. Web Developer











The Web Developer extension adds a toolbar button to the browser with
various web developer tools. This is the official port of the popular Web Developer extension for Firefox written by the same person.

More information and installation




5. Resolution Test







Resolution Test changes the size of the browser window for developers to preview their websites in different screen resolutions. It includes a list of commonly used resolutions as well as a custom option for you to input your own. It also gives users the option to turn on Google Browser Size, more info on that here - http://browsersize.googlelabs.com/

More information and installation


6. W3C (x)HTML Validator










 

Display one of 3 icons (valid, invalid, processing) in navigation bar related to validity of (x)HTML document currently shown.

NEW IN VERSION 0.2 (Let's call it Beta, after the comment from Jörn)

- If valid by clicking the icon, you get the doctype as found by the w3c.

- If invalid, number of errors/warnings is displayed directly on invalid icon.

- By clicking the icon of an invalid page, you get a summary of errors and warnings and can navigate through them, infos are : Line and column where error was found and the message explaining the issue.

- You can also click on the link at the bottom of the popup to get every details about issues encountered in the page.


How to show system menu icons for ubuntu 10.04 LTS Beta 1

Hello guys,

I think when ubuntu 9.10 released system menu icons was hidden with default release, as same as with ubuntu 10.04 beta 1
it’s old trick for who don’t know it so there are two ways to get these icons back.

1st

open terminal and type
gconftool-2 --type Boolean --set /desktop/gnome/interface/menus_have_icons True
2nd

open configuration editor from system tools
if you can’t find it open terminal and type
 gconf-editor

then go to Desktop –> Gnome –> Interface

you will find “menus have icons” make this value true
that’s it
:)