Becoming Productive In Bash Using The Keyboard Shortcuts
Moving around
You can use the arrow keys on keyboard to move around in the command line. Bash also provides convenient keyboard shortcuts to navigate effectively. Try them out and see for yourself.
To become a Bash pro user you have to get yourself familiar with the keyboard shortcuts. Once you do, you’ll find yourself productive.
Shortcut | Description |
---|---|
CTRL+b | move backward one character |
CTRL+f | move forward one character |
ESC+b | move one word backward |
ESC+f | move one word forward |
CTRL+a | move to beginning of line |
CTRL+e | move to end of line |
CTRL+p | move to previous line |
CTRL+n | move to next line |
ESC+< | move to first line of history list |
ESC+> | move to last line of history list |
Moving around words using ESC+f
and ESC+b
are my favourites in this list. Jumping to first and last lines of the
history list is also useful.
Concluding The Bangalore PHP User Group Meeting - January 30, 2010
Last Saturday, the Bangalore PHP User Group conducted a meeting. The venue was same as the last time, Microsoft office, Bangalore! The topic of the meeting was Framework Shootout. The frameworks represented were:
- Zend Framework
- CakePHP
- Symfony
- WordPress
I was glad to get an opportunity to represent the Zend Framework. The slides I presented with Ganesh H S can be downloaded or viewed online at SlideShare.
I liked all the presentations. Personally, I believe Zend Framework and Symfony are the two PHP5 frameworks you would want to seriously consider using in your projects. The strengths and weaknesses of each framework varies. In a previous post we discussed the reasons to use Zend Framework. Sjoerd de Jong has offered to conduct training sessions on Symfony for free.
Concluding The Bangalore PHP User Group Meeting - Oct 31 2009
Today, the Bangalore PHP User Group had a meeting. The meetup.com site reports that sixty eight people attended the meeting. The venue was at Microsoft. The increasing participation of Microsoft in PHP conferences and meetings have taken many by surprise. Microsoft were kind enough to offer free Pizza for all the attendees.
They have given me a copy of Windows 7 Release Candidate which expires on June 1, 2010. If time permits, I will sure try to install it as a virtual guest.
How To Remove Alpha Channel From The Image Using GIMP
As per the Wikipedia “alpha compositing is the process of combining an image with a background to create the appearance of partial transparency”. To remove the transparency or the alpha channel:
Fire up GIMP
- Open the image for which the alpha channel has to be removed
- Click the Image menu on the image window
- Click Flatten Image from the pull down menu
- Save In short, remember to flatten the image when you want to remove the alpha channel.
Quote from the GIMP docs: