Eclipse: Cannot create project content in workspace.

Submitted by Druss on Mon, 2015-09-07 21:48

If you run into the following error while adding a project into Eclipse from existing source using the New Project dialog,

Cannot create project content in workspace.

then you are very likely trying to create a new Eclipse project that contains Eclipse metadata files from a previous Eclipse project created at the same location. The fix for this is to import this pre-existing project into your workspace using the Import, General, Existing Projects into Workspace option.

A journey Without You

Submitted by Druss on Tue, 2015-09-01 00:53

No self-respecting guy will admit to liking soppy girly pop by artists such as Mariah Carey. But it was with some happiness that TIL that a long-"loathed" favorite of mine, Mariah's Without You is actually a rip-off of a 1970 song by Welsh rock group, Badfinger (whose own story is pretty shocking (two of its band members committed suicide)). So I can now openly admit to liking the song :)

Adding a custom (service) menu to KDE's Dolphin (to queue a folder in VLC)

Submitted by Druss on Sat, 2015-08-29 22:07

I was looking for a way to add a custom context (right-click) menu to KDE's Dolphin (in Kubuntu 14.10, Utopic) that (much like in Windows) would allow me to enqueue an entire folder/directory in Videolan. Many of the examples that I looked at were rather sketchy or incomplete. Here's a simple working example that might be of help to someone else out there. You can modify it appropriately to get it working for other applications as well.

Joining multiple PDFs together on Linux

Submitted by Druss on Wed, 2015-08-26 22:44

A quick and easy way to join or merge multiple PDFs together on Linux (Kubuntu 14.10):

pdfunite toc.pdf chapter1.pdf chapter2.pdf  book.pdf

This doesn't resample pages or any other nonsense like that either :) pdfunite is provided by the poppler-utils package which should already be installed.

If you want to do the opposite, i.e. split a unified PDF file into multiple ones, poppler-utils also provides the aptly named pdfseparate.

Hope this helps :)

USB keyboard not being detected during boot

Submitted by Druss on Tue, 2015-08-04 02:21

Do you have a USB keyboard? Does it work fine? Does it also work fine once you boot into your operating system? Does it not work at all during the boot process before loading your operating system?

If your answer is yes to all of the above, then you've very likely been an idiot like yours truly and enabled the Fast Boot feature in your Intel motherboard's BIOS without reading the fine print.

Sed: invalid reference \1 on `s' command's RHS

Submitted by Druss on Mon, 2015-07-06 13:46

If you see something like the following error message when you run a sed command:

invalid reference \1 on `s' command's RHS

then it (probably) means that your regex capture group has not been escaped properly.

So, if you are using a command like:

sed "s/foo(bar)[123]/baz\1/"

then it needs to be escaped like so:

sed "s/foo\(bar\)[123]/baz\1/"

In other words, round parentheses/brackets need to be escaped while the square brackets do not :|

Unity3D: InputField caret position bug workaround

Submitted by Druss on Sat, 2015-07-04 02:06

If you, like me, have the (off and on) pleasure of working with Unity3D (5.1.1f1), you are probably familiar with implementing cute li'l workarounds to get around the pesky li'l niggles that seem to plague the otherwise fun package. Today, I ran into an issue with the Inputfield nGUI component. From the looks of things, it doesn't like you playing around with its font size.

Microsoft Virtual CD-ROM: vcdrom.sys "Driver has been blocked from loading"

Submitted by Druss on Tue, 2015-06-23 16:12

I had the misfortune of trying to install Microsoft's "Virtual CD-ROM Control Panel" which creates, well, a virtual CD/DVD-ROM drive that allows you to mount ISO images. There are a number of other programs that do this, but seeing as to how this was a M$ product, free, Window-7 compatible, and light of weight, I decided to give it a whirl. The README.txt that accompanies the installation file provides instructions for the manual addition of the vcdrom.sys driver to the Windows directory.

Pages

Subscribe to languor.us RSS