Christoph Polcin

I Love Free Software

#ILOVEFS

Ein Certificate Signing Request mit OpenSSL erstellen

Um für die eigene In­ter­net­prä­senz bzw. Domain ein signiertes Zertifikat zu erhalten wird eine so genannte Zer­ti­fi­kats­re­gis­trie­rungs­an­for­de­rung / Cer­ti­fi­ca­te Signing Request CSR benötigt. Diese kann mit Hilfe von OpenSSL wie folgt erzeugt werden:

openssl req -nodes -new \
    -newkey rsa:4096 -keyout domain.tld.key \
    -out donain.tld.csr

Read on →

resize & watermark your images

If You looking for a smart gui-less way to resize and watermark your images then try out Im­ageMag­ick. Use the following shell script to wrap and simplify the call. Copy it into your ~/bin folder an adjust the variables at the top. Execute it with a source image and des­ti­na­tion path as arguments.

Some helpful hints:

Copy to ~/bin/downscale

#!/bin/sh
# www.christoph-polcin.com

[ $# != "2" ] && \
    echo "usage: downscale <source> <destination>" && exit 1

WATERMARK='WWW.CHRISTOPH-POLCIN.COM'
# get from http://fontzone.net/font-details/Agency+FB/
FONT='AgencyFB-Bold'
# get from http://www.fontsquirrel.com/fonts/download/roboto
#FONT='Roboto-Thin'
FONTSIZE=72
COLOR='#999999AA'

MAX_W=1280
MAX_H=896
QUALITY=85

echo "converting $1"
convert \
    -flatten \
    -alpha On \
    -font $FONT \
    -pointsize $FONTSIZE \
    -fill $COLOR \
    -gravity NorthEast -annotate +60+20 "${WATERMARK}" \
    -gravity SouthWest -annotate +60+20 "${WATERMARK}" \
    -resize "${MAX_W}x${MAX_H}>" \
    -quality $QUALITY \
    "$1" "$2"

Uberspace Und Dein Firefox Sync Server

Für Alle die auf Ihrem uberspace einen eigenen minimalen Firefox Sync Server früher Weave Server betreiben wollen, gibt es hier eine kurze Anleitung.
Read on →

Wolves In The Throne Room & Harey Milk

Wolves In The Throne Room & Harvey Milk im UT Connewitz

Start SSH-Agent Shell Script

a very simple keychain re­place­ment script to manage your SSH and GPG keys.
Read on →

Black Shape Of Nexus & beehoover

Black Shape Of Nexus (BSON) & beehoover im Nexus

Change PDF Resolution

Get Ghost­script and replace <DPI>

gs -sDEVICE=pdfwrite \
-dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dNOPAUSE -dQUIET -dBATCH \
-sOutputFile=out.pdf \
-r<DPI> \
in.pdf

Elektronische Gesundheitskarte

Auch meine Kran­ken­kas­se forderte ein Foto an, um mir meine neue EGK / e-Card zügig zur Verfügung zu stellen. Damit ICH von der ersten Stunde an pro­fi­tie­ren kann - Nein Danke!

Es folgen ein paar le­sens­wer­te Artikel zum Thema:

uberspace X uberspace

Neulich Außerirdische entdeckt - uberspace.de ein Web-Hosting Anbieter der anderen Art. Es folgt mein Eindruck vom Ihrem System. Ich muss sagen, dass Ganze hat mich umgehauen! Noch nie habe ich eine so kon­sis­ten­te und um­fang­rei­che Kon­fi­gu­ra­ti­on erlebt. Mit Abstand!

Eine durch­dach­te Datei- und Rechte- sowie E-Mail-Verwaltung, einfach geniale In­ter­pre­ter Verwaltung (PHP, Python), eine eigene php.ini, pear module zum selbst in­stal­lie­ren, Un­ter­stüt­zung von GCC, ruby, node.js, CGI & FastCGI, suEXEC, error_logs, Couch- und MongoDB, runwhen, de­a­m­on­tools, Zwei-Faktor-Au­then­ti­fi­zie­rung, GIT, Mercurial und ein Dutzend cooler Sachen die ohne Hacks laufen. Uber­Kom­pe­ten­ter und schneller Support. Und über den Preis läßt's sich reden.

Ihre Phi­lo­so­phie, mein Uberspace, ... zum duchdrehen. Danke!