Nilesh's blog

libphp5.so on Apache 2 is faster than CGI or FastCGI

Why this site loads so fast ? The reason is we are using Apache 2.2.10 with libphp5.so

Earlier we were using CGI.

I also tried PHP-FastCGI

Lyrics Plugin

Tagged:  

From: lyricsplugin.com -

Lyrics Plugin is a piece of software tailored for music fans. To put it simply - it is an add-on to view lyrics in WinAmp or Windows Media Player. No more searching for lyrics. Just start listening to your favourite songs and lyrics will be displayed automatically. Oh, and if lyrics is not found, you can add it yourself :)

Download: www.lyricsplugin.com

Searching in VIM

Tagged:  

In this tutorial I explain how to search and replace strings in VIM. VIM is the best tool for programmers. It supports almost all languages (may exclude VB, VC, VC++).

Its a superb editor with tons of features. Yeah a little complicated thing for newbies. But you have their full support mailing list, vimtutor - the application which teaches you VIM online (not on the web!).

So how to search and replace strings in VIM ?

Searching-

There are two ways to search - forward and backward.

Searching forward means from the point where you are currently to the end of the file.

Searching backward means from the point where you are currently to the top of the file.

To search forward,

Exit Insert Mode by pressing Escape key. This will make VIM work on command mode.

Type

/

If you have spaces in you must escape them with a backslash(\).

For Ex: /WORD1\ WORD2

The above command will search for WORD1 WORD2 (note the space in the words).

To search backward all steps are same except instead of / you use ? (question mark).

To Find Next, (forward) press n, (backward) press N [Shift+N].

You can also use Regular Expressions in search string. More about searching in next tutorial.

Download VIM: VIM.ORG

Merging n PDFs to one under Linux

Tagged:  

For Linux a tool is available known as pdfmerge. With this tool you can merge many small pdfs into one large PDF. Its a command line tool.

Its syntax is as follows -

$ pdfmerge file1.pdf file2.pdf ... fileN.pdf outfile.pdf

The last argument (.pdf) is taken as the output file and the rest as input.

There is not limit on the no. of PDFs you can merge.

Download it from http://microtronyx.com/pdfmerge/

Nautilus: NScripts

Tagged:  

NScripts is a good collection of Scripts for Nautilus.

Here's a brief description of what all it can do:

 

  1. ChkMD5: Check MD5 Sums. This is often required to check whether a file-transfer was successful or not.
  2. CopyTo: Copy Files To.. dialog (similar to that in windows xp). This will copy file only if the target has write permissions for you.
  3. InstallTheme: This will install themes to various locations.
  4. MkMD5: Create MD5 Sums for your files to help your colleague to verify a file transfer.
  5. MoveTo: Similar to 2, except that it moves.
  6. OpeninGEdit: GEdit is a powerful text editor for GNOME. This will open the selected file(s) in it.
  7. Rootilus: Open the current directory in nautilus as root. (requires gksu).
  8. RootOpeninGEdit: Open selected file(s) in GEdit as root. (requires gksu).
  9. RootTerminCurdir: Open a privileged terminal (root) under current directory. (requires gksu).
  10. SetAsSplash: Set the selected file as Session Splash Screen.
  11. Shredder: Permanently delete files from HDD without leaving any trace.
  12. TerminCurdir: Open a terminal in current directory.
  13. SetAsWallpaper: If selected file is an image, set it as wallpaper with type (centered/streched).
  14. SendShortcutTo: Send Links to... [Not Weblinks.. Links in unix means shortcuts in windows].
  15. SendToMenu: send desktop launchers to menu ("Other"-submenu).
  16. MkPatch: Compare two selected files.
  17. WhichPKG: Find which package to the current file belongs to [Debian And Consorten Only]
  18. WhichPKG-G: Same as 17 [Gentoo And Consorten Only]
  19. WhichPKG-R: Same as 17 [RedHat and other RPM-distros]

WOW! So many functions and one set of scripts!!

Download [gnome-look.org]

"Hidden" Terminal in your GUI

Tagged:  

Yakuyake is a Virtual-Terminal (VT) basically for KDE but works well with GNOME also.

This is a special kind of terminal.

On KDE once started, it will start automatically on every login of yours on KDE.

So what's special in this Terminal Emulator that made us to post about it ?

Yeah there is something special in this.

And that is its hiding ability.

The default key is F12 (Function Key 12).

When you start Yakuyake it gets hidden. Pressing F12 will bring it front and again pressing F12 will hide it. It doesn't get minimised so its not going to take up your TaskBar.

It also supports multiple tabs like that of gnome-terminal and konsole.

A note taking application for KDE

Tagged:  

Here is a good note taking application for KDE known as Basket. It is an all-purpose note taker application.

Features-

  • Easily take all sort of notes
  • Collect research results and share them
  • Centralize your project data and reuse it
  • Quickly organize your thoughts in idea boxes
  • Keep track of your information in a smart way
  • Make intelligent To Do lists
  • And a lot more...

Screenshots

The speciality of this app is that it has a good editor which allows you to save images in notes, add styles to text, etc.

Best part of this is that all notes are composed in HTML formats. So no more writing your blog posts directly in the form. Compose here then copy and paste. ;) Enjoy

Official Website: basket.kde.org

Available in Fedora Repository: yum install basket

Syndicate content
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the Poster. Rest Copyright © iTech7.com

For License and Copyrights see http://www.itech7.com/Content-Copyrights