| Mobile | RSS

Pinging infinitely in Windows

Posted by ramanean on September 1st, 2010 | No Comments | Posted in General


To ping infinitely in Windows use this command

ping 172.67.71.34 -t

To stop pinging infinitely use CTRL+C

Read More

Ping command in Ubuntu

Posted by ramanean on August 7th, 2010 | No Comments | Posted in Ubuntu


To ping a domain in Ubuntu

Steps
1.Click on Applications –>Terminals
2.In the Terminal type

ping google.com

When you type the command you would get a response like this.. if it’s ping successfully

64 bytes from 66.249.92.104: icmp_seq=1 ttl=53 time=289 ms
64 bytes from 66.249.92.104: icmp_seq=2 ttl=53…

Read More

Copying a directories in Ubuntu

Posted by ramanean on August 7th, 2010 | No Comments | Posted in Ubuntu


To Copy directories in Ubuntu use this command

Syntax:

sudo cp -R sourcepath destionationpath

E.g

sudo cp -R /home/shan/Desktop/mapmaker /opt/lampp/htdocs/mapmaker

Here the directory mapmaker is copied from /home/shan/Desktop to this folder
/opt/lampp/htdocs/mapmaker .

Read More

Using custom fonts on websites

Posted by ramanean on July 20th, 2010 | No Comments | Posted in Coding, General


How to embed fonts in a webpage? or How to use custom fonts in a webpage?

The below tutorial would explain how to embed and use custom fonts in a webpage

There are many new fonts available in the web other than…

Read More

Xml class for Php

Posted by ramanean on July 16th, 2010 | No Comments | Posted in Internet


Here is one the good xml classes for Php from Troy wolf

http://www.troywolf.com/articles/php/class_xml/

Just download the file and see the example given the above url

Read More

Creating a file in Unix

Posted by ramanean on July 16th, 2010 | No Comments | Posted in Coding, Ubuntu


To Create file in unix use this command

cat > a1.txt

Once this entered you can edit the contents of the file by typing anything and then pressing CTRL+D for saving it

Read More

Multiple order by SQL

Posted by ramanean on June 8th, 2010 | No Comments | Posted in Coding


To display a table sorted out by multiple columns use this command below

E.g

I am having a table like this

Requirement:

So now I need to get the table ordered by checkins first and then by nightsout

Solution:
SELECT *FROM `foursquare_rank`ORDER BY `checkins` DESC ,…

Read More

Getting the MAC IP Address of a Windows machine

Posted by ramanean on June 8th, 2010 | No Comments | Posted in General


To get the MAC IP Address or Physical IP Address of the machine just use the following commands

Command 1 : GETMAC

Command 2 : IPCONFIG/ALL

Where physical address is the address(MAC IP Address) of your machine

Read More

Renaming a file in command prompt

Posted by ramanean on June 5th, 2010 | No Comments | Posted in General


This command is used to rename files in command prompt

Command :RENAME

Syntax:

RENAME [drive:][path]filename1 filename2.
REN [drive:][path]filename1 filename2.

To rename a file in the same path

RENAME filename1 filename2

Note that you cannot specify a new drive or path for your destination file.

Read More

Latitude and Longitude distance at the poles

Posted by ramanean on May 5th, 2010 | No Comments | Posted in Coding


Here you go

One degree of latitude = 111.69 km or 69.40 mi
One minute of latitude = 1.86 km or 1.16 mi
One second of latitude = 31.03 m or 101.79 ft

Read More