GCALDaemon: Sync your Google Calendar

GCALDaemon [1] is an OS-independent Java program that offers two-way synchronization between Google Calendar [2] and various iCalendar compatible calendar applications. GCALDaemon is primarily designed as a calendar synchronizer but it can also be used as a Gmail notifier, Address Book importer, Gmail terminal and RSS feed converter.

GCALDaemon is released under Apache License version 2.0.

[1] http://gcaldaemon.sourceforge.net
[2] http://www.google.com/calendar/

Convert .avi into .mp3 on Linux

From time to time I have to google for this, now I am making a post so I know where I can find :)

This converts the complete avi into mp3:

1
ffmpeg -i movieSample.avi -ab 256k -vn autioSample.mp3

This extracts from 00:21:24 for 40s and converts avi into mp3:

1
ffmpeg -ss 00:21:24 -t 00:00:40 -i movieSample.avi -ab 256k -vn autioSample.mp3

SLF4J – Simple Logging Facade for Java

The Simple Logging Facade for Java or (SLF4J) [1] serves as a simple facade or abstraction for various logging frameworks, e.g. java.util.logging, log4j and logback, allowing the end user to plug in the desired logging framework at deployment time.

SLF4J source code and binaries are distributed under the MIT license.

[1] http://www.slf4j.org/

jcouchdb – Java5 couchdb driver

jcouchdb [1] is a java5 couchdb driver using the svenson JSON library.

It offers features to support the full range from totally dynamic parsing to parsing into concrete java POJOs, including a mix in between.

jcouchdb is in the early stages of development but there’s a test suite proving that it does at least most of the couchdb operations.

Jcouchdb is released under BSD license.

[1] http://code.google.com/p/jcouchdb/

Zeya – Streaming music server using HTML 5

Zeya [1] is a streaming music server that brings your music to any computer with a web browser. It reads your music library, lets you browse your files, and streams them on demand.

The client runs entirely in the browser using the HTML 5 draft standard technologies— no Flash needed! No Silverlight, no applets, no plugins, no external players.

Zeya is free software. You may use it under the terms of the GNU Affero GPL, version 3 or (at your option) any later version.

[1] http://web.psung.name/zeya/

XMLUnit: JUnit and NUnit testing for XML

XMLUnit [1] for Java provides two JUnit extension classes, XMLAssert and XMLTestCase, and a set of supporting classes (e.g. Diff, DetailedDiff, Transform, SimpleXpathEngine, Validator, NodeTest) that allow assertions to be made about:

  • The differences between two pieces of XML
  • The outcome of transforming a piece of XML using XSLT
  • The evaluation of an XPath expression on a piece of XML
  • The validity of a piece of XML
  • Individual nodes in a piece of XML that are exposed by DOM Traversal

XMLUnit for Java can also treat HTML content (even badly-formed HTML) as valid XML to allow these assertions to be made about the content of web pages too.

[1] http://xmlunit.sourceforge.net/

Developing Android Applications

Android 1.6

Postfix: Host not found, try again

Small hint from me: If you set up Postfix to relay your mails and your relay host does not have an MX record (anymore), mailq has a lot of mails on standby and you see something like:
Jul 14 12:45:39 myhostname postfix/smtp[2349]: 74FBF30501:
to= relay=none, delay=3944,
status=deferred (Name service error for name=recip.domain
type=MX: Host not found, try again)

And found this FAQ on Posfix.org and you say: “Yeah, the FAQ is right but so what now?”. Just boot your VI editor and open $ vi /etc/postfix/main.cf and change relayhost = smtp.myhostname.org:587 to relayhost = [smtp.myhostname.org]:587 and perform /etc/init.d/posfitx reload so Postfix will not looking for a valid MX record anymore. After this, go to the important work again…

Varnish: HTTP accelerator and caching proxy

Varnish [1] is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6, FreeBSD 6/7 and Solaris 10 to achieve its high performance.

Some of the features include

  • A modern design
  • VCL – a very flexible configuration language
  • Load balancing with health checking of backends
  • Partial support for ESI
  • URL rewriting
  • Graceful handling of “dead” backends

Varnish is free software and is licenced under a modified BSD licence. Please read the introduction to get started with Varnish.

[1] http://varnish.projects.linpro.no/

« Previous PageNext Page »