How To Use SAJAX (AJAX Framework) from HTMLMay 15th, 2006 Sajax is an useful ajax framework to simplify ajax based development for languages like PHP, Ruby etc. Not many realize Sajax can be used equally well from plain old html pages (as in .html or .htm).
How to Disable ipv6 on UbuntuJanuary 16th, 2009 I have seen people facing problems with ipv6 in Ubuntu machines. The network performance dcecreases considerably through ipv6 protocols and there are some notable bugs too.
How to Hide A File inside an ImageJanuary 7th, 2009 How about a simple trick that hides a file in an image? Yes I will give you a simple tip which will hide a file inside an image. So much so that the image file will be a JPEG, look and act like a JPEG too.
How to Protect your RSS Feeds from Unscrupulous Aggregator'sJune 16th, 2005 Recently there has been a plethora web based aggregator sites. Some of them like diabetologica blatantly displays the full content from the feed.
WordPress Source Code Cross Reference w/ Commenting for Plugin / Theme / Code DevelopersMay 15th, 2006 We are doing extensive work with WordPress, developing plugins, themes and also modifying the code base where necessary. In the process I found it necessary to create a online cross-reference of WordPress source along with capability to annotate / comment (AJAX based) as necessary.
Program (Source Code) to Trim Whitespaces from Files...April 20th, 2008 PHP is not only a very competent web development language (and part of LAMP stack). It is also a very capable language for writing (command line) scripts.
Free Java Utility To Touch Files (Cross Platform)September 23rd, 2006 This is a simple commandline Java utility which I wrote down in under 5 minutes to help in checking-in (svn commit) over 500 files which were modified but the dates weren't changed due to an error in our settings. So subversion failed to recognize it.
Simplest Way to Mount / Extract iso files without BurningNovember 14th, 2008 Isn't it pretty annoying to burn any .iso file to make it work? In linux, you have a pretty simple way to mount an iso file without even burning them. This allows you to view the files within the iso file as simply as you would view files in any normal directory.
Play with VIM Editor to Start a New Shell, Change the Permission and MoreJanuary 15th, 2009 Suppose you were concentrating hard to develop something new and editing a file in vim editor. Just when you thought you are done with the problem, the save option reminded you how unfortunate you are.
How To Run Apache Ant Recursively From Any Sub-FoldersJuly 26th, 2006 The following command will recursively search for ant build file in the directories and then its parent directories, till it finds it; and then executes it. In short you can use this command to manage your project from any subdirectory of the project.
How To Save Video To File on Linux & WindowsJune 22nd, 2008 VLC Media Player is a leading player for displaying video on Windows & Linux. It supports a wide variety of formats.
Creating rss feed for your blogspot blogFebruary 2nd, 2004 One of the reasons I moved out from blogspot, to my own server, was because I couldn't create a RSS Feed of the blog easily. Today I found that blogstreet provides a simple way to do so.
Apache Ant: How To Include Multiple Jar Files In A Single Jar FileAugust 19th, 2008 Apache Ant is an excellent and popular Java based build system. It has several built-in commands (tasks in Ant lingo) one of which allows you to create Jar file from your existing class file and resources.
How To Fix SSH Automatic Connection ProblemsSeptember 12th, 2008 I was doing something very simple - connecting to my own machine (with ssh) without using password. That should be simple right?
I dutifully appended my id_dsa.pub to authorized_keys and expected that it would work.
How to: Save MS-DOS Output In a FileDecember 25th, 2008 This is a very important trick for Windows users. Though its fairly old still I thought of putting it up finally in case someone needs to copy the outputs of the DOS he is working on.
October 12th, 2008 at 12:10 pm
hi angsuman,
thanks for the tip.
the command you have given will be able to append the target file on the server running ssh. How about if I want to pull something from the server.
Let’s say, I want to append log files from a linux/unix server to my windows box. How would I do that ?
Thank you,
BR,
~A
October 12th, 2008 at 12:12 pm
BTW, It is impossible to leave comments on your blog using Firefox 3.x. I’ve tried, in vain, for several months, to leave comments.
Finally, i decided that I had to leave comments and finally switched to chrome and that worked.
BTW, I noticed that the browser had auto-filled the previous commentor “Kostikes” with his name, email and website.
Thanks for fixing these issues.
BR,
~A
October 12th, 2008 at 7:37 pm
@Anjan
Happy Dussera.
Thanks for letting me know.
BTW: Can you please try to comment again using Firefox. I think it will work now as we have fixed an issue.
I will look into the auto-filling issue. It is happening due o the caching of the pages.
October 12th, 2008 at 7:50 pm
> How about if I want to pull something from the server.
I updated the post with an example for that too.
Take care,
Angsuman
October 14th, 2008 at 6:50 am
hi angsuman,
thanks for replies. Happy dusshera.
I’m trying this on firefox 3.x on windows XP.
append to local file from remote : Actually, what I’m trying to do is tail multiple logs (on solaris) on my windows XP box. I guess that I need rsync since what I really want to do is look at updated log entries. But the problem is sysadmins don’t always let rsync traffic BUT always let ssh in. Do you have an example of rsync over ssh ?
Thank you,
BR,
~A
October 14th, 2008 at 6:52 am
hi angsuman,
thanks for replies. Happy dusshera.
I tried this on firefox 3.x on windows XP. I pressed submit but my comment appears to have disappeard so trying again on IE 7 on windows XP.
append to local file from remote : Actually, what I’m trying to do is tail multiple logs (on solaris) on my windows XP box. I guess that I need rsync since what I really want to do is look at updated log entries. But the problem is sysadmins don’t always let rsync traffic BUT always let ssh in. Do you have an example of rsync over ssh ?
Thank you,
BR,
~A
October 14th, 2008 at 6:54 am
Angsuman,
when using IE 7(NOW), I see that my comments are appended with anotice that they are being on WAIT for moderation. But I didn’t see my comment post at all on firefox.
BR,
~A