Skip to content

Instantly share code, notes, and snippets.

@dhoffend
dhoffend / kolab-31-ssl.md
Last active December 25, 2015 16:49
Simple SSL Configuration for Kolab 3.1

Simple SSL Configuration for Kolab 3.1

Newer Version in official docs

Please check the new ssl documentation in the docs: http://docs.kolab.org/howtos/secure-kolab-server.html

Intro

This howto is based on Centos 6.4. The configuration on Debian is similar, just the path

@dhoffend
dhoffend / index.html
Created February 22, 2012 13:25
Simple NodeJS Logfile Streamer
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io.connect('http://<server>:3000');
socket.on('log', function (data) {
$('#log').prepend($('<li></li>').text(data.line));
$('#log li:gt(50)').remove();
});