You are here

Tip

Removing trailing whitespace in Eclipse

Submitted by Druss on Sun, 2007-06-24 17:30

I suck at regex. But the fact that Eclipse leaves trailing whitespace everywhere is pretty fucking annoying. Although, this will apparently be solved in 3.3, that's still a month or so away (IIRC). Anyways, while I normally just use a   $ regex search (whitespace switches don't like working in Eclipse's find dialog) to repeatedly weed out the bastards, today, I came across a more robust expression. Here goes:

Find: [\t ]+(?:(\n)|$)

Eclipse + Subversion : RA layer request failed + could not read status line errors

Submitted by Druss on Tue, 2007-06-12 20:17

Server: Apache 2.0.52 + SVN 1.4.3 + mod_dav_svn enabled. Most repositories also use a bunch of post commit hooks to automate tasks.
Client: Eclipse 3.2.2 + stock subclipse callisto install.

Error message:

commit -m "commit message." files
RA layer request failed
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repo/path/!svn/vcc/default'
svn: PROPFIND of '/repo/path/!svn/vcc/default': Could not read status line: connection was closed by server. (http://example.com)

KDE: autostart programs upon login

Submitted by Druss on Thu, 2007-05-24 12:14

The following applies only for KDE 3.x and was the original article:

KDE for all its eye candy and general slickness really sucks on some basic points. One of these is with auto-starting programs upon login. Suggestions to get this working almost always involve having the use the command-line or following a prolonged series of steps for a task which should ideally involve no more than a few clicks. Usually, most people suggest the following as a solution even to newbies:

Tangling with the Samba

Submitted by Druss on Tue, 2007-05-22 13:47

I upgraded to Feisty over the weekend. Everything appeared to have gone through smoothly. However, I found that I could not access my Feisty shares from my other Linux / Windoze boxen. The connection just failed. I could however access other samba and windoze shares _from_ the Feisty box (which was living up to its name :S). So, I tried going into System Settings, Sharing to sort things out by fiddling with the options, making everything readable and writable by everybody, enabling guest account access and so on and so forth.

All to no avail.

Adjusting display / screen position using xvidtune

Submitted by Druss on Mon, 2007-05-21 14:09

Many moons ago, I had to run an update to the nVidia driver for my Kubuntu box. After installing it, I found that the next time I ran X, my display was offset by about 50px to the right. Normally, it would have been possible to fix this via the monitor, most of which have a convenient "auto" button to solve such issues. However, my set-up involves the use of a KVM switch, which allows me to use a single keyboard, mouse and monitor for more than one PC (four in my case).

Print to file : Viewing saved .prn files

Submitted by Druss on Thu, 2007-04-05 03:56

I usually have something along the lines of Adobe's PDF Writer or Flash Paper and such, to print stuff directly to a file. However, earlier today, I found myself needing similar functionality, but not having the afore mentioned software. Therefore, I had to resort to using the "print to file" check-box on the Windows print form that allowed me to save a document to a file on the hard disk.

Pages

Subscribe to RSS - Tip