Monday, 20 June 2011

javascript tricks

You take a code you find on here, you copy & paste it into your web-address bar (Which should currently say something like...http://frihost.com/forums/) Press enter, and it "preforms" a trick!
 If you like these codes, please post containing some of your javascript codes.

If there is a space between java and script, please remove the space.
What I have so far:

javascript: contentBodyEditable="true".DesginMode="message"

Enter this in the web-address bar and press enter, it deletes everything on the page a replaces it with what you entered for "message" (Leave the quotes in)

create keyboard shortcut

Process Viewer
Ubuntu newbie? Wondering where is something like Windows XP task manager in Ubuntu? See below how to assign Ctrl + Alt + Del keyboard combination for Gnome System Monitor! It makes it possible to see list of running processes, cpu/memory utilization and related stuff by pressing Ctrl + Alt + Del.

1. First of all make sure Gnome System Monitor is installed in your system, open Terminal and type the following command:

type gnome-system-monitor

You will see the following output in case of success:

gnome-system-monitor is hashed (/usr/bin/gnome-system-monitor)

Thursday, 16 June 2011

create Shapes with css3


Css shown below is editable

Square

Rectangle

Circle

Friday, 10 June 2011

jQuery animate() function (Css)


jQuery animate() function is very powerful API to manipulate html elements and add animation functionality. The use of animate function is very simple. First lets check the syntax of this function.


.animate( properties, [ duration ], [ easing ], [ callback ] )
  • properties: A map of CSS properties that the animation will move toward.
  • duration: A string or number determining how long the animation will run.
  • easing: A string indicating which easing function to use for the transition.
  • callback: A function to call once the animation is complete.
.animate( properties, options )

Automatically Mount Partitions on Login (system start)

Mount Partitions Automatically

Under Ubuntu, partitions must be 'mounted' before they can be accessed. Mounting is simply the process of telling Ubuntu a certain partition exists, what it is, and where in the filesystem it should go.
In a future release, when LiveCD does not mount hard disk partitions (yet) is fixed, this step should be almost automatic. Until then, however, the instructions provided on this page may be used to mount any needed existing data.
Four methods will be discussed:
  1. The first method is manually editing Ubuntu's filesystem table. This sounds more complex than it really is.
  2. The second method, specific to Dapper, is described at MountingWindowsPartitions.
  3. The third - simple - method is to install the pysdm package (in Gutsy) and then use System-Administration-Storage Device Manager without any manual editing of the fstab file, and disregard most of the instructions that follow.
  4. The fourth and last method does not rely on modifying Ubuntu's filesystem table. Instead, it uses the automatic facilities present in Gnome. Disks are mounted just like a regular user would do.