In *nix systems, you can make the display, the GUI of an application, appear on another machine. This if often required, when the machine you want to run the application on is in a lab, and you have access through a desktop machine that has a monitor.
You can do this, by running an XServer on the desktop machine and configuring the client (the one where you run your app) with the XServer details. By default, the XServer instance on your desktop disallows communication from all machines except localhost. Thus, you will need to add the host in the allowed list using the xhost command.
On your machine, to disable security checks:
$ xhost +
To allow connections from a single host:
$ xhost +<hostname/ip>
On the client machine where the application is run, set the X Server to display to (for bash shell):
$ export DISPLAY=<hostname>:<displaynumber>.<screennumber>
If you haven’t changed the display-number or screen-number :
$ export DISPLAY=<hostname>:0.0
For a more detailed description of the
How to export your X Display.
Several people are shocked to hear that I read 1000+ emails and several hundred blog posts a day. Ofcourse, when I say that, all I mean is that, I process that much content. I read around 30-40% (That is really the signal-to-noise ratio of web content these days–and that is, if you are subscribed to high quality feeds)
google reader trends
One of friends was curious how I can handle all that data flow, and I emailed her this:
- Everyday, go to bed with a zero count.
- Use tools to reduce your processing. (use email rules/filters to move mails to manageable folders and Google reader for feeds)
- Learn to skip-read. I use a 2 parse method.
- Parse through sets of items (email headers or blog post headlines), and mark the ones your need to pay attention to (usually around 40%).
- Filter based on short-listed items and then go through them in detail. In the case of blog posts, if something does retain my attention after the first 4 sentences, I skip that item.
- (only for blog posts) I mark the ones I have to comment on, and then do my commenting after I finish a folder.
- Sometimes, you just can’t squeeze everything in a day, I either bookmark or mail it to myself to be addressed over the weekend.
What do you think? Am I missing something that will make my life a little easier?
Update: Thanks to Aswinanand for pointing this out–I don’t really get 1000+ emails. I was just exaggerating (which is just another way of saying, click-baiting! )
The simple way to retreive the list of changed files would be to update the tree, which would then list the files updated.
#cvs update . > filelist.dat
The problem with this, is that if there have been changes to other files after your last update, you will have to manually glean the files that you have changed. I tend face this, particularly during the last couple of weeks before a release, since you don’t want to risk updating your tree everyday, but still have to make 2/3 checkins. I did some googling today, and found how to find the list of files changed without updating your tree.
#cvs -n update . > filelist.dat
Thanks Jonnay for this. I should used man before I googled, but hey, I’m lazy today
My ipod touch was upgraded to 1.1.3, after connecting to my computer, and I wanted to downgrade to 1.1.1, so I could jailbreak it and put any app I want on it.
ipodtouchmaster found a way to downgrade it using iPhuc.