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
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
- 2 comments
- 125 reads
Searching in VIM
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
- Add new comment
- 74 reads
Merging n PDFs to one under Linux
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/
- Add new comment
- 407 reads
Nautilus: NScripts
NScripts is a good collection of Scripts for Nautilus.
Here's a brief description of what all it can do:
- ChkMD5: Check MD5 Sums. This is often required to check whether a file-transfer was successful or not.
- CopyTo: Copy Files To.. dialog (similar to that in windows xp). This will copy file only if the target has write permissions for you.
- InstallTheme: This will install themes to various locations.
- MkMD5: Create MD5 Sums for your files to help your colleague to verify a file transfer.
- MoveTo: Similar to 2, except that it moves.
- OpeninGEdit: GEdit is a powerful text editor for GNOME. This will open the selected file(s) in it.
- Rootilus: Open the current directory in nautilus as root. (requires gksu).
- RootOpeninGEdit: Open selected file(s) in GEdit as root. (requires gksu).
- RootTerminCurdir: Open a privileged terminal (root) under current directory. (requires gksu).
- SetAsSplash: Set the selected file as Session Splash Screen.
- Shredder: Permanently delete files from HDD without leaving any trace.
- TerminCurdir: Open a terminal in current directory.
- SetAsWallpaper: If selected file is an image, set it as wallpaper with type (centered/streched).
- SendShortcutTo: Send Links to... [Not Weblinks.. Links in unix means shortcuts in windows].
- SendToMenu: send desktop launchers to menu ("Other"-submenu).
- MkPatch: Compare two selected files.
- WhichPKG: Find which package to the current file belongs to [Debian And Consorten Only]
- WhichPKG-G: Same as 17 [Gentoo And Consorten Only]
- WhichPKG-R: Same as 17 [RedHat and other RPM-distros]
WOW! So many functions and one set of scripts!!
- Add new comment
- 61 reads
"Hidden" Terminal in your GUI
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.
- Add new comment
- 208 reads
A note taking application for KDE
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...
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
- Add new comment
- 108 reads
Recent comments
2 days 47 min ago
2 days 56 min ago
4 days 11 hours ago
4 days 11 hours ago
4 days 13 hours ago
2 weeks 2 days ago
3 weeks 4 days ago
4 weeks 5 days ago
5 weeks 3 days ago
5 weeks 4 days ago