Showing posts with label or. Show all posts
Showing posts with label or. Show all posts
Tuesday, September 26, 2017
Streaming log or Tail log using Notepad
Streaming log or Tail log using Notepad
Notepad++ has the feature to update the file/log silently like "tail -f" in linux.
1. Select the Setting -> Preferences..


1. Select the Setting -> Preferences..

2. In the MISC tap select "Update silently" and "Scroll to the last line after update" option under "File Status Auto-Detection" part.

Other Alternative windows applications
- Tail for Win32
- Baretail
download file now
Sunday, September 10, 2017
Student ur Sir Pyar or ishq me kya Funny Msg
Student ur Sir Pyar or ishq me kya Funny Msg
Pyar or ishq me kya farq hy?
Student:
sir pyar wo jo aap apni beti se krte hen.
Sir:shabash Beta or ishq?
Student:
Ishq wo jo hum aapki beti se krte hen!
download file now
Wednesday, August 16, 2017
strace to the rescue or program uses mysterious config defaults
strace to the rescue or program uses mysterious config defaults
Strace is a powerful tool that lets you debug other programs, and find where config files are found.
Programs have bugs. Theyre written for one platform and ported to another. In any case sometimes things dont work as they should.
I manage this website using the rather nice FTP client lftp. It can automatically "mirror" a local directory on my lappytop onto the web server. This means I dont manage the server directly, I only push files up, so if something happens I can switch to another server with very little hassle.
Today I noticed I couldnt store the password to the FTP account. The documented command bookmark edit brought up an editor, but it didnt have my saved bookmark! On my system its misconfigured. Bookmarks work, as I can do open jta to connect to this site.
To find out where lftp is storing bookmarks, I used the wonderful tool strace. It lets you run a subcommand, and monitor exactly what is going on from a system perspective. It logs system calls.
In this case, I knew I wanted to scan for the open() system call, when the program opens up the bookmark file. Heres the command I used to get lftp to cough up the information:
$ strace -o z -e trace=open lftp -c open jta
Password:
cd: Login failed: 530 Login incorrect.
The above command ran lftp, read the bookmark file, and tried to connect (open) to the JTA ("John Tells All") FTP bookmark. I exited out because I just wanted to see the strace log to find the bookmark file.
I guessed the bookmark file would have the letters ook in it:
$ egrep ook z
open("/home/johnm/.local/share/lftp/bookmarks", O_RDONLY) = 4
The above trace shows that the application is storing bookmarks in ~/.local/share/lftp/bookmarks The open() command returned a number which means the file was found and opened correctly.
Success! I can now edit this file and add my own bookmarks, including passwords.
See also: How to Bookmark Passwords with Lftp
download file now
Wednesday, August 9, 2017
Submit Your Website or Blog for the Best Search Engines in the World
Submit Your Website or Blog for the Best Search Engines in the World

Add your blog or website to the worlds best engines; to get a quick archiving and visitors from all parts of the world, everyone works with these sites, especially google,yahoo,msn
First: Search Engines
google
http://www.google.com/addurl/?continue=/addurlyahoo
http://search.yahoo.com/info/submit.html
msn
http://search.msn.com/docs/submit.aspx
Second: Find the Evidence
addme
http://www.addme.com/submission/free-submission-start.php
download file now
Subscribe to:
Posts (Atom)