by Andrea Leofreddi

Using Slf4j from C++ JNI

Lately I've been gluing some Java+Netty code with a C++ native library, and I wanted the native code to use Java's logging too (in

by Andrea Leofreddi

Internet is a safe place

In the meantime... a.leofreddi@XXX's password: Last login: Thu Oct 13 17:26:12 UTC 2016 from YYY on pts/0 Last failed login:

Scanner with mono document-feeder: how to scan double-sided documents?
by Andrea Leofreddi

Scanner with mono document-feeder: how to scan double-sided documents?

I'm a happy owner of a Brother DCP-9020CDW which has a nice document-feeder feature, allowing you to automatically scan multi page documents (and perfectly integrated

by Andrea Leofreddi

How to compress a PDF file on MacOSX (& Linux)

Often (and especially when scanning documents with my printer) from MacOSX I would get unreasonable huge PDFs which are not suitable for emails. To strip

Tags: Unix, Linux, macOSX, pdf
Yubico Yubikey, CentOS/RHEL 7 and ssh
by Andrea Leofreddi

Yubico Yubikey, CentOS/RHEL 7 and ssh

Today I wanted to setup ssh yubikey authentication for a CentOS 7 box, and I've lost more time that expected. Since I've found a lot

TimEL: a new streaming API
by

TimEL: a new streaming API

TimEL, a Java library specifically developed to ease the evaluation of time series data, comes to with a new streaming API allowing it to crunch

by

Jetty on RHEL 7/CentOS 7

If you look around on the internet you may find a lot of blogs guiding you on the installation of Jetty in RHEL 7 (or

Tags: Java, Linux
by

cyberz.org is now vleo.org

Back in the 90s I was used to hang out on the irc network, and there, for many years, I’ve used the cyberz nickname,

by

SELinux: how to change default context of a directory

Sometimes you may want to override the default SELinux context for a given path. This can be easily accomplished editing /etc/selinux/targeted/contexts/files/

by

WebLogic 12c: very slow domain creation

When creating a new domain on Linux, does Weblogic gets stuck at the message? Try passing the -Djava.security.egd=file:///dev/urandom option to