Links

Jitsi: SIP Communicator

Jitsi (previously SIP Communicator) is an audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabber, AIM/ICQ, Windows Live, Yahoo!, Bonjour and many other useful features.

Jitsi is Open Source / Free Software, and is available under the terms of the LGPL.

The application is developed (mostly) in Java and basd on OSGi.

http://www.jitsi.org/

(download)

Filed under  //   audio   calls   conference   java   linux   opensource   osgi   osx   sip   video   windows  
Posted June 29, 2011 by email 

Bash Parameter Substitution

String Manipulation and Expanding Variables

For your ready references here are all your handy bash parameter substitution operators. Try them all; enhance your scripting skills like a pro:

${parameter:-defaultValue}

Get default shell variables value

${parameter:=defaultValue}

Set default shell variables value

${parameter:?"Error Message"}

Display an error message if parameter is not set

${#var}

Find the length of the string

${var%pattern}

Remove from shortest rear (end) pattern

${var%%pattern}

Remove from longest rear (end) pattern

${var:num1:num2}

Substring

${var#pattern}

Remove from shortest front pattern

${var##pattern}

Remove from longest front pattern

${var/pattern/string}

Find and replace (only replace first occurrence)

${var//pattern/string}

Find and replace all occurrences

Explanation and details:

http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html

Filed under  //   bash   linux   parameter   scripting   shell   unix  
Posted October 18, 2010 by email 

Calibre: Open source e-book library management app for Linux, Mac OS X, and Windows

calibre is a free and open source e-book library management application developed by users of e-books for users of e-books. It has a cornucopia of features divided into the following main categories:

  • Library Management
  • E-book conversion
  • Syncing to e-book reader devices
  • Downloading news from the web and converting it into e-book form
  • Comprehensive e-book viewer
  • Content server for online access to your book collection

http://calibre-ebook.com/

MobileRead: E-Book community

http://www.mobileread.com/

(download)

Filed under  //   ebook   library   linux   opensource   oss   osx   windows  
Posted September 15, 2010 by email 

libimobiledevice: library to support iPhone, iPod Touch and iPad devices on Linux

0outlook

libimobiledevice is a software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux. Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking. It allows other software to easily access the device's filesystem, retrieve information about the device and it's internals, backup/restore the device, manage SpringBoard® icons, manage installed applications, retrieve addressbook/calendars/notes and bookmarks and synchronize music and video to the device. The library is in development since August 2007 with the goal to bring support for these devices to the Linux Desktop.

Outlook

http://www.libimobiledevice.org/

Filed under  //   ipad   iphone   ipod   library   linux  
Posted April 12, 2010 by email 

Linux: Per-process namespaces

Linux has had this neat feature for quite some time now: since 2.4.19 according to the docs. Yet, it is neither very known nor very used. I couldn't even find a program that would create a new namespace for its subprocesses, similar to what chroot does with the root of the file hierarchy.

This neat feature allows each process to have a different set of mount points. While you most of the time want processes to share their mount points, there are some cases where you may want to have some processes have a different set of mount points. Combined with bind mounts, it can allow some useful setups.

http://glandium.org/blog/?p=217

Filed under  //   linux   mount   namespace   process  
Posted December 11, 2009 by email 

Timechart: Finding out why your Linux computer performs the way it does has

Media_httpblogfenrusorgwpcontentuploads200909highlevelpng_biducdbhitibdtl

  
Finding out why your Linux computer performs the way it does has been a hard task. Sure, there is Oprofile, and even 'perf' in recent kernels. There is LatencyTOP to find out where latencies happen.

 But all of these tools are rather limited when the software stack that has the performance issue is more complex than a single program. The tool that comes closest to being useful is `bootchart', but that has a rather limited resolution.

 http://blog.fenrus.org/?p=5

Filed under  //   charts   linux   performance   tools  
Posted September 21, 2009 by email 

What is my NFS server doing?

From http://dev.eclipse.org/blogs/eclipsewebmaster/2009/09/02/what-is-my-nfs-serve...

If you're running an NFS daemon (nfsd), at some point in time you may have wondered what it was doing right now. If it's running in kernel space, tools like lsof and strace don't work, so you're left guessing.
 
After much Googleing and some inspecting of the Kernel source code, I discovered some debugging values that can be poked into /proc/sys/sunrpc/nfsd_debug. The most useful was 32, which I used like this:
 
echo 32 > /proc/sys/sunrpc/nfsd_debug; tail -f /var/log/messages | grep lookup
 
Essentially, this will give you an idea as to what files are being served up by nfsd. Be careful, though: on a busy NFS server, this will spew lots of output to /var/log/messages.
 
After stopping the above command with CTRL+C, don't forget to turn off nfsd_debug:
 
echo 0 > /proc/sys/sunrpc/nfsd_debug
 
With this trick I was able to find some nasties that were hurting our NFS performance.

Filed under  //   debug   linux   nfs  
Posted September 3, 2009 by email