Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 LINUX/UNIX


  How to commit code to OpenStack

If you want to make contributions to OpenStack, the best way to start is to help the community with blueprint or submit bug fix. To commit codes, you need to conform to some rules in the community.Work flowRegister an OpenIDApply for a CLA certificateApply for company CLA certificateUpdate contributor listJoin OpenStack Contributors group and OpenStack groupSet up SSH KeysGet a blueprint/buggit clone codes to local disk. Configure user name and user email and openidModify codes in a limited time and complete all the tests. The codes must conform to PEP8 guidelineIf goes over the limited time, ...

4,239 0       CONTRIBUTION OPENSTACK


  Install LAMP in two easy steps

You might have seen my earlier post related to installing PHP, Apache and MySQL on UBUNTU 11.10. That process contains number of steps and some lengthy commands which we can not remember easily.After good comments from Gaurav and Coward I have managed to get that lengthy process in just 2 steps. So I thought its great to share with all readers to they can get benefit as well.Before starting make sure that you have root user’s access to perform the sudo action. So now let...

4,192 0       PHP TUTORIAL LAMP STEPS


  bash network interface

Some of us may have seen /dev/tcp/<host>/<port> before, is this a special file system implemented in some BSD kernel? Because there is no /dev/tcp in Linux. Actually, this one is implemented in bash. We no need to rely on wget,nc to do network connection.It's very easy to use this interface:bash-4.2$ cat </dev/tcp/time.nist.gov/1356188 12-09-18 15:34:26 50 0 0 733.5 UTC(NIST) * bash-4.2$ exec 3<>/dev/tcp/www.w3.org/80bash-4.2$ echo -e "GET / HTTP/1.0\n\n" >&3bash-4.2$ cat <&3HTTP/1.1 200 OKDate: Tue, 18 Sep 2012 15:41:08 GMTServer: Apache/2Content-Location: H...

4,134 0       BASH NETWORK INTERFACE /DEV/TCP


  Learn Emacs: Keyboard Macros

An emacs keyboard macro is just a recording of user input into emacs, which means that most anything you can do in emacs can be recorded as a macro. Read that again. Pretty powerful.Here’s how it works. To start recording, typeC-x (and input the commands in your macro. Then typeC-x )to stop recording. Then typeC-x eto apply the macro once, orC-u 0 C-x eto apply the macro until the bell rings or end of buffer is reachedKeep in mind that you must not ring the bell when defining a keyboard macro (by accident, or with C-g). If you do, you’ll have to start all over defining your keybo...

3,807 0       CODE EXAMPLE MACRO EMAC


  Bash Shell Scripting - 10 Seconds Guide

This Bash shell scripting guide is not a detailed study but a quick reference to the BASH syntax. So lets begin...Common environment variablesPATH - Sets the search path for any executable command. Similar to the PATH variable in MSDOS.HOME - Home directory of the user.MAIL - Contains the path to the location where mail addressed to the user is stored. IFS - Contains a string of characters which are used as word seperators in the command line. The string normally consists of the space, tab and the newline characters. To see them you will have to do an octal dump as follows:$ echo $IFS | od -b...

3,782 0       TUTORIAL LINUX SHELL BASH 10 SECONDS SHORTCUT KEY


  Emacs adventures

I have been using Emacs for over a year now. I actually didn’t learn a lot when I started using it (just the basics to get going and then some relatively common keyboard shortcuts), but lately I have been reading and learning much more about it. I’m so grateful by everything I’ve learned from different people on the net that I wanted to share a couple of things I’ve learned, and a simple major mode for editing AsciiDoc documents.As a long-time VIM user, I feel it’s my duty to make a micro-introduction to Emacs to VIM users (skip this whole paragraph if you...

3,764 0       LINUX VIM EDITOR EMACX SHORTCUTS


  The tips of learning Linux kernel

 As the Linux kernel has become one of the most gigantic and complex software project in the world, its complication scare many novices away. In this post, I will give some personal experience on how to learn Linux kernel, and hope these tips can offer some help to newcomers.(1) Download vanilla kernel and install it.Yes, I suggest you can find a physical machine, or if you really don’t have one at hand, virtual machine is also OK. Download the newest vanilla kernel from kernel.org, then build and install it. This process isn’t too hard and makes you c...

3,750 0   


  Hello, Kernel!

When we learn module programming, the first small program must be hello, kernel!. For a novice, how do we avoid some mistakes and how to fix the bugs we have when writing the first module program? Is there any example we can refer to? Here is one example.1. Write the hello.c01#include <linux/init.h>02#include <linux/module.h>03#include <linux/kernel.h>04//Compulsory05//Module lincese declaration06MODULE_LICENSE("GPL");07//Module load function08static int hello_init(void)09{10    printk(KERN_ALERT "hello,I am edsionte\n");11   ...

3,579 0       LINUX MODULE KERNEL