Archive

Archive for the ‘linux’ Category

Checkout maven project trunks from SVN

No Gravatar

Just a short bash script on how to check out only trunks of Maven projects (single and multi-module).

Note: This works only for default svn layout with default maven layout.

output=`svn ls -R | grep trunk/pom.xml`

for line in $output
do
  len=`expr ${#line} - 8`
  p=${line:0:$len}
  echo $p
  res=`svn up --parents $p`
done

Usage: check out the “root” of form the SVN with -N, like this:

svn co -N https://my.com/svn/myRoot

Go to the new directory (cd myRoot) and execute the script.

Share

openconnect: SSL wrote too few bytes!

No Gravatar

At the time of writing this openconnect in Ubuntu 12.10 have a bug, that disconnects the client from the VPN.

There is an issue for it: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1072328

And a solution from Michael R. Crusoe.

Just do:

sudo apt-add-repository ppa:misterc/ppa

sudo apt-get update

sudo apt-get upgrade

That’s it.

Share
Categories: linux, open source, oss, ubuntu Tags: , , ,

Openconnect replacement for Cisco AnyConnect on Linux (Ubuntu)

No Gravatar

Your company decided to use Cisco AnyConnect. You are on Linux, and you are provided with Cisco AnyConnect Linux client, and you are happy: At last, they had Linux in mind… But your happiness lasts only for a half an hour, when you realize, that the client just does not work. Or you might be lucky and the client work as expected, but in that case you wouldn’t be here… ;-)

But fear not, there is a better solution for your problem. And it is called Openconnect. What you will need:

  • Windows machine with configured AnyConnect — needed just to create an initial configuration; not needed for operation
  • any flavor of Linux, – but I’m using Ubuntu, so the there will be some Ubuntu specific parts, but you’ll know how to translate those to your flavor of Linux
  • about 1h
To set up just follow these steps… Read more…
Share

Farewell Vuze, wellcome Deluge

No Gravatar

Occasionally I use bittorent, and I really liked Azureus (or Vuze). But they switched attitude.

Azureus: A nice application, with lot a features. Built on Eclipse platform, – a model of how great is Eclipse RCP. I’ve been using it since about version 3.x, – about 2 yrs or more. It was one of my first torrent client. But things change. Licensing changed, interface changed, and now you could occasionally get an annoying pop-up calling for donation, – check Wikipedia on Vuze for details. I dislike this kind of attitude, and I started to search for a new client.

Under Ubuntu Transmssion would be a natural choice. But Transmission had a slow bootup, and freezed from time to time for a half minute or more. Then I decided to search for other free, featureful torrent client. I check wikipedia as usually, and after few hours of evaluations, I choose my new bittorent client: Deluge.

Deluge is really nice. Fancy, easy to use interface, with all the stuff I need: It has uPnP support, so no router hacking, has support for moving finished stuff to a new location, etc.. If you are also disappointed with Vuze consider Deluge!

There is only one thing I’m missing: the search. – Vuze/Azureus get that rigth, in my oppinion.

To be honest, I was hopping that Vuze will provide service-on-demand, pay-per-view (download), but that did not happened.

Share

Ubuntu guy in a world of Apples… Part IV: Java Developer

No Gravatar

After a lot of work and some traveling I’m back, and I’m about to write about how do I manage to use Mac for Java development. (Note: This is the last part of the Apple Project series.)

First of all, let me describe what I use and how do I/we use it.

Eclipse is our choice of IDE. We use Subversion as SCM, Maven as a build system/dependency management/reporting/documentation/etc.. Beside these we use, (just to mention few that could be in relation with OS):

  • AspectJ
  • Spring
  • Hibernate for JPA
  • TestNG

Primarily we are building web applications, backed with RDBMS – so I need a some local database for my Mac, and our choice of RDBMS is PostgreSQL, but we use Oracle and DB2 as well.

Read more…

Share

Subversive with JavaHl under Ubuntu

No Gravatar

Eclipse SVN plugin Subverisve comes with javaHl support for windows, but not for linux.

Under linux you could use SVNKit, but that is somewhat slower, and a bit buggy. That is an out-of-box solution. But you could use javaHl JNI svn client too.

Read more…

Share

RAW Photo processing under Linux

No Gravatar

If you’re serious about photography and you own a dSLR, you probably shoot all your photos in RAW quality. As RAW contains much more information than a simple jpeg or tiff, you need to process it. And that processing is essential step, so you need a good software for it.

Under Linux you’re somewhat limited, but only in quantity… You might be missing Adobe LightRoom, or CaptureOne, or whatever. – Do not forget you still can run a Windows inside of your Linux with VirtualBox or vmware, if you’re addicted to some of those software.

Read more…

Share

Linux and the Active Directory

No Gravatar

(update: may 29., as a result of feedback)

As a Linux fan, I’m in minority in a company I work. Or at least if we look at the fact that there are about 140 Windows workstations, and just about 3 Linux workstations. – This is a result of company policy and the lack of time and knowledge at support level. This might change, but it would need really lot of time.

For those windows workstations, there are of course an NT domain defined, which is controlled with Active Directory (AD). As the member of the team I need to access shares of co-workers and the central file server. Read more…

Share

Bibble Pro 4.9.9b here!

No Gravatar

I was really impatient to get hands on new BibblePro 4.9.9b release. The reason is it does support my new Nikon D300.

BibbleLabs did a fine tune. My RAW images loads fine, and everything works as expected.

Well, I’m still missing few things… Looks like some of them will be never ever a part of Bibble, but I’m optimistic… The list of things I’d like to have in Bibble (just major stuff):

  1. TIFF support! – Yeap, there are now TIFF “RAW images” right out of the camera… :-) No more excuses…
  2. Stacked (or layered) effects. – This goes hand-in-hand with history and undo.
  3. Tethered shooting under Linux too.
  4. Selection tool. – Rectangular, ecliptic at least, with new/add/subtract/intersect. Increase, decrease, … would be nice tool. – And applying effects on selection only…
  5. Fill and draw tool…
  6. :-)

Oups, looks like I’d like a Photoshop competitor… well, if I see the first two/three in the near future, that would be like being in heaven…

Just a minor note on PS: Photoshop… expensive, ouch. And it does not run on my favorite OS. Gimp stuck with 8bit, Pixel buggy as hell, Cinepaint – is it alive? So it looks like, for photo editing on Linux the only solutions is Krita. Krita is not bad, but it is a bit slow, and crashes some times… but another time on that topic.

Bibble rocks. Thanks!

Share
Categories: bibble, linux, photography Tags: ,

e17 – impressive and immature

No Gravatar

All I can say about E17 is that is impressive, but immature.

Few basic things are missing, like notification area or good keyboard configuration. – I use Amarok from the notification area, – starting it from E17 results… khm… well notting, because there is no notification area… I do not think I could used to live without it…

For keyboard configuration I’m missing some options, like Ctrl key position. – I use to swap ctrl and caps keys.

On the other side it does look impressive. There are few themes, – unfortunately none of them became my favorite. All the themes were overwhelmed with animations. There are animations I really dislike, like glitter over the window border on focus, or in menu. I hope there will be other themes soon with other animations… :-) or maybe fewer animations.

From time to time, I’m sure I’ll get back to see the progress. But until I then I’m back to simple gnome with metacity.

Share
Categories: e17, linux, ubuntu Tags: