Vamsi Pavan’s Place

When curiousity outbursts …..

Entries Tagged as 'Operating Systems'

Eclipse: resource is outof sync with the file system - permanent solution

January 29th, 2011 · No Comments · Java, Tools, Windows

Mysteriously got the following exception when trying to build an Eclipse project:
“resource is out of sync with the file system”
Although I can’t be sure, I think I may have deleted a file outside of Eclipse. To fix the problem, right click the project or edited resource […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:··

Vim: visual block mode commands

January 6th, 2010 · No Comments · Linux, Tools

Selecting Text (Visual Mode)

To select text, enter visual mode with one of the commands below, and use arrow keys to highlight the text you are interested in. Then, use some command on the text.
The operators that can be used are:
~ switch case
d delete
c change
[…]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Setup SVN Local Repository

June 23rd, 2009 · No Comments · Tools, Windows

0. FAQ First
Q: I heard that Subversion is an Apache extension? Does this mean I have to set up Apache to use Subversion?
A: The short answer: no. The long answer: if you just want to access a repository, then you only need to build a Subversion client. If you want to host a networked repository, […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Microsoft Word has encountered a problem and needs to close error

April 18th, 2009 · 5 Comments · Windows

Recently, I came across this scenario that when ever I open any word files which copy from different system, word getting crashed with error ‘Microsoft Word has encountered a problem and needs to close error’ . After a small search, I figured out that it is well known issue to the rest of world.
Checking Microsoft […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Ubuntu: firefox always starts in offline in hardy

March 11th, 2009 · No Comments · Linux

After my upgrade to hardy, firefox always starts with offline mode and it’s really hectic to keep change it back to online and refresh the each saved session tabs.
Also in parallel, I find my NM (network manager) applet showing status as not connected even though I connect by dhcp setting through dhcp-client.
After googling for some […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Linux : Awesome commands - find

March 9th, 2009 · No Comments · Linux, Tools

Name
find — Searching for files and possibly executing commands on them

Synopsis

find [path] [options]

Examples

To list all files below a given directory, say /home/user/some-directory […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Typical Unix/Linux recursive search commands

June 9th, 2008 · No Comments · Algorithms, Linux

The Typical one is - to find the files with some pattern recursively in a given directory.
$ find path/to/dir -name “*.html”
You can replace the “*.html” to your own filename pattern.
Another one is, in addition to above I need the text lines inside those files starting with letter t.

$ find path/to/dir -name “*.html” -exec grep “^t” […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:···

I DNT HATE MOZILLA BUT USE IE OR ELSE…

July 20th, 2007 · No Comments · Windows

Recently I came across a new worm(virus) in my friend’s system. When I started firefox, I got a message I DNT HATE MOZILLA BUT USE IE OR ELSE… as pop up window with USE INTERNET EXPLORER U DOPE as window title. At first, I thought this is fun and surprised to see that there are […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Sockets for interprocess communication

April 23rd, 2007 · No Comments · Networks, Operating Systems, Placements

This is a simple tutorial on using sockets for interprocess communication.
The client server model
Most interprocess communication uses the client server model. These terms refer to the two processes which will be communicating with each other. One of the two processes, the client, connects to the other process, the server, typically to […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags:

Recursive execusion of commands in Linux command prompt

December 6th, 2006 · No Comments · Linux, Shell

When we want to execute any command recursively for a directory, we can use find command for that.
find . -name ‘blah*’ -exec rm -rf {} ;
But some times, it gives the error as Argument list too long. In that kind of situations, we better we go for this.
find . -name ‘blah*’ -print0 | xargs -0 […]

Bookmark it! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • StumbleUpon
  • BlinkList
  • YahooMyWeb
  • NewsVine
  • blogtercimlap
  • Netvouz
  • Technorati
  • Slashdot
  • Print this article!

[Read more →]

Tags: