Changing Images Shockingly Fast with JavaScript

This is a dead simple solution to the following problem, “Develop a JavaScript-based solution for changing background images very fast”. Continue reading

Posted in Software Development | Tagged | Leave a comment

Setup Odisee Server 2 on Linux

Odisee is a document generation server using Apache OpenOffice or LibreOffice to produce documents.

Odisee® — Make Your Documents Smile. Continue reading

Posted in Odisee | Leave a comment

Implementing a Web Application Firewall

To protect a web application against security flaws, you can use mod_security, a module for the well-known, serving 50% of the internet, Apache httpd. Continue reading

Posted in Security, System Administration | Tagged , | Leave a comment

Compressed HTTP Requests

Optimizing traffic size is a important thing for two main reasons: speed and traffic — saving time and bandwidth. For example think of mobile applications. Continue reading

Posted in Software Development, System Administration | Tagged , , , | Leave a comment

Using LDAP Under FreeBSD

Installation notes for OpenLDAP under FreeBSD, using LDAP for user management. Continue reading

Posted in System Administration | Tagged , | Leave a comment

Installation Notes for Oracle 10g R2 on Solaris 10

Installation notes for Oracle 10g R2 on Solaris 10, Sun Fire 2900. Continue reading

Posted in Databases, System Administration | Tagged , | Leave a comment

GlassFish, OS X and launchctl

While testing an application with Arquillian, GlassFish and Maven I got launchctl bsexec failed: Inappropriate ioctl for device from OS X. GlassFish cannot be started, failing with lots of org.osgi.framework.BundleExceptions. Continue reading

Posted in Software Development, System Administration | Tagged , , , | Leave a comment

Installing Jenkins on FreeBSD 8.3

Install Jenkins is as easy as downloading the .war or using a port. Continue reading

Posted in Software Development, System Administration | Tagged , | Leave a comment

Setting Up FreeBSD

This setup of FreeBSD was done on Hetzner servers. Continue reading

Posted in System Administration | Tagged , | Leave a comment

Setting Up FreeBSD 9.1 With VirtIO On IaaS Platform

Setup notes for FreeBSD with VirtIO on Iaas platform of ProfitBricks, Berlin. Continue reading

Posted in System Administration | Tagged , , | Leave a comment

String Operations in bash

This is a collection of string operations in bash, Bourne Again Shell. Continue reading

Posted in Software Development | Leave a comment

TextMate Snippet Generating Java Getter and Setter

Just found a simple TextMate snippet for generating getter and setter in Java: Continue reading

Posted in Tooling | Tagged | Leave a comment

Setup Notes for Solaris on Sun Fire 2900

Solaris 10 9/10, keine Patchsets Entire Distribution plus OEM Continue reading

Posted in System Administration | Tagged | Leave a comment

JAX-WS 2.2 and Method Not Found

Just got Method not found for required = false when working on a Maven based project in IntelliJ IDEA 12. Continue reading

Posted in Software Development | Tagged , , | Leave a comment

Migrate To New Ports Collection

The FreeBSD ports collection was migrated from CVS to Subversion. The old-style csup method to update the ports tree won’t be available after February 28th, 2013, see FreeBSD Handbook, Using the Ports Collection and FreeBSD Handbook, Using CVSup (Deprecated).

Continue reading

Posted in System Administration | Tagged , | Leave a comment

Oracle Database And nnfyboot

One I got an error according to nnfyboot when installing Oracle on Linux, so here is a script nnfyboot_fixbug: Continue reading

Posted in Databases, System Administration | Tagged | Leave a comment

Editing a Commit Message in git

To correct a typo in a git commit message, get the hash of the commit, e.g. by using git log:

Continue reading

Posted in Software Development, Tooling | Tagged , | Leave a comment

Finding And Fighting Malware On Your Website

A customer just called for emergency when they got a mail from Google saying their websites are infected by malware. It took half an hour to analyse and resolve the situation. We show how to get rid of malware using UNIX command line tools.

Continue reading

Posted in System Administration | Tagged , | Leave a comment

httrack With SSL

To use httrack (installed through MacPorts on OS X) with SSL, create the following link:

sudo ln -s /usr/lib/libssl.dylib /usr/lib/libssl.so

And use httrack with SSL:

httrack -Y https://www.example.com/dir

HTH.

Posted in Tooling | Tagged | Leave a comment

Java And NPT Library Not Found Error

Finding

Just got a NPT ERROR: Cannot open library while starting Java application server GlassFish Open Source Edition 3.1.2.2 under FreeBSD 8.3 with OpenJDK 7 in --debug=true mode.

Continue reading

Posted in Software Development | Tagged , | Leave a comment