CEG's Linux User Group

  • Increase font size
  • Default font size
  • Decrease font size
Home General
General

HOW FAST CAN YOU TYPE????!!!!

E-mail Print
User Rating: / 8
PoorBest 
If you spend most of your time typing on your keyboard getting up to speed and practicing to become a better and faster typist is well worth the time and effort. And measuring something is the first step to improve it.
There are tons of applications which test your typing abilities and help you improve it, but wouldn’t it be nice to have a basic idea about your typing performance using nothing but good old Bash? After all, this is about DIY (Do It Yourself) approach and having fun!!!!
Measuring the typing speed means basically measuring how many words you typed in a given amount of time. One of the most popular units used is wpm (words per minute). Maybe not very accurate and scientific, but we’re aiming for a ballpark figure here so some approximate measure will be fine for our purpose. Based on this information we can write the formula as:

typing_speed_in_wpm = num_words / ( (end_time - start_time) / 60 )
Last Updated on Tuesday, 12 July 2011 22:41 Read more...
 

Anna_Wifi Connectivity in Linux

E-mail Print

Anna_ wifi – the central access point is encrypted. It is secured by WPA enterprise with PEAP/MSCHAPv2 authentication protocol . It also requires a user name and password to authenticate a user . In linux, it has been a common issue to experience frequent disconnects. It was seen that the problem is due to the network manager in the OS and so ,I suggest an alternative. A command line way of doing it. More like a powerful way and so much better and it works really stable.

I strongly advise that this method be followed to connect to any other encrypted wireless access point.

1. First download and install “wicd”, a package that u can find in package-managers of most Linux distros.

2. Next create a configuration file that describes the encryption of the access point you try to connect. In our college, use the following lines and store it as “wireless.conf”.

Last Updated on Tuesday, 12 July 2011 22:42 Read more...
 

Changing login screen in Ubuntu 10.04

E-mail Print
User Rating: / 1
PoorBest 

hi guys,

In the earlier versions of Ubuntu we can easily change the login screen by going to System -> administration -> login screen. However 10.04 does not have the options of changing login screen through any menus. We can change the login screen by following the following steps...

1) First open a Terminal window (Applications -> Accessories -> Terminal) then copy+paste(ctrl+c and ctrl+shift+v) the following line:

sudo cp /usr/share/applications/gnome-appearance-properties.desktop /usr/share/gdm/autostart/LoginWindow

Last Updated on Sunday, 19 September 2010 13:41 Read more...
 

CEGLUG

E-mail Print
User Rating: / 4
PoorBest 

CeglugLogo

When you say "I wrote a program that crashed my OS", people just stare at you blankly and say "Hey, I got those with the system, for free!"!

So what has caused an unforeseen migration from proprietary software to free and open source software?Obviously one of the reasons for this phenomenal change is our innate quality which makes us raise the query- "Why pay for something when we can get it for free?". Open source is inevitable. It returns control to the customer. We can see the code, change it, learn from it. And when customers are unhappy with one vendor, they can choose another without overhauling their entire infrastructure. No more technology lock-in. No more monopolies.

Last Updated on Sunday, 05 September 2010 20:32 Read more...
 

CEGLUG Meet 11.07.2009

E-mail Print
User Rating: / 3
PoorBest 
Hi guys,

This is a small report on what went on in the PHP-MYSQL-HTML session. The goal of the session was very simple. "To create a Login page in simple HTML which accepts the username and password from the user. When the user clicks on send, a PHP page is called which accesses the backend MYSQL database to verify the entered information and directs him to another page if the entered information was correct."

The first step was to install the Web Server. The Web Server is the one which sits on your machine serving all your web pages. We learnt how to install this Web Server in the local machine. We installed XAMPP for Linux in a Ubuntu machine.

You can download XAMPP from here.

To install XAMPP, you need to do the following.

1. Goto the terminal (Applications -> Accessories -> Terminal)
2. Type in sudo su
3. Now navigate to the path where you have downloaded the XAMPP file.
4. Type in tar xvfz xampp-linux-1.7.2.tar.gz -C /opt

Once XAMPP is installed you can start it using the following steps.

1. Goto the terminal
2. Type in /opt/lampp/lampp start

Now you need to put all your website related files in a folder, inside /opt/lampp/htdocs. This is an important point to be noted. Sometimes you would be thrown with an error saying "You donot have permissions to access this folder". In that cases you can simply do this.

1. Goto the terminal.
2. Type in sudo nautilus .
3. Now navigate to the directory and do the necessary changes.

Now that you are ready with the Web Server, you need to get you have 3 nice steps to get your first website project up and running.

1. Designing the front end in HTML.
2. Designing the backend using MYSQL.
3. Connecting the front end and the back end using PHP.

Designing the HTML:


Some points to be noted:

1. The form should contain the required php file in the "action" attribute.
2. The button should be of type "submit".

I've uploaded the source code here.

Designing the backend MySQL:
  1. The phpMyAdmin is used for this purpose.
  2. To access phpMyAdmin goto your browser and type in http://localhost/
  3. Now click on phpMyAdmin from the list of options which appear on the side pane.
  4. phpMyAdmin gives you the GUI way of creating a database.
  5. Be sure that you draw your ER digrams and do your home work on Normalization before you create your database.

The PHP part:

  1. First we learnt what basic PHP was. Then we went on with creating variables and arrays.
  2. Important point to be noted is that arrays can have a "key" and a "value".
  3. We then learnt the connection between PHP and MYSQL.
  4. I've also uploaded these files here.

The final touch:

Once we did all this, I gave you a few information on the practical problems faced. We discussed on the md5 function. I also mentioned about cookies and sessions. I finally ended the session saying "The rest is left for you to explore :)"

You can learn basic PHP & HTML from "www.w3schools.com" which has an awesome collection of easy-to-read tutorials.

Last Updated on Friday, 11 September 2009 19:55
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »


Page 1 of 4