Security

Using a usb stick to login to gentoo Linux

It was kinda late, and I wanted to do something tonight…something interesting. I was looking at my usb key when I had this flash…”Could I use my usb key to login to my pc with a certain account ?”. Googling … googling… I need a PAM module to do it. eix time now! #eix pam […]

Read More
Linux

WebDAV with cadaver

Upload multiple files: cadaver mput DSC* Uploads all files named DSC* in reverse order, greatest number first. I’m using cadaver to upload files to my eZ Publish CMS site.

Read More
Linux

Watermark images with imagemagick ++

Script som legger til watermark tekst: #!/bin/bash width=`identify -format %w DSC06861.JPG`; \ convert -background ‘#0008’ -fill white -gravity center -size ${width}x90 \ -pointsize 36 \ caption:”Copyright (c) 2007 Pario.no” \ +size DSC06861.JPG +swap -gravity north -composite Output_image_watermarked.jpg Vis hvilke bildeformater imagemagick støtter: convert identify -list format

Read More