Tips & Tricks

Reading .msg without outlook

posted 26 Nov 2014, 08:40 by Tony Wouters

very easy with this one.
Works with attachments and inline pictures

http://sourceforge.net/projects/msgviewer/?source=typ_redirect

How I watermark my photo's

posted 4 Nov 2014, 04:45 by Tony Wouters

In case you wonder how I watermark my photo's before I put them on google plus, well this is how:

you'll need:
As I'm an Ubuntu user I have my script in shell script. For windows users... euh, well you'll need to create your own .cmd or .bat file (Or buy some fancy expensive program)

The script as I use it needs to be run in the directory where the JPG files are located, and it converts .JPG files only, not .jpg files (windows users: yes, this does makes a difference)

The code:
for IN in *.JPG
do 
OUTt="/somedirectory/where/you/can/write/and/filename/output_tmp.JPG"
OUTt2="/somedirectory/where/you/can/write/and/anotherfilename/output_tmp2.JPG"
OUT="/Directory/to/put/the/endresult/"${IN}
WATERMARK="/fullpath/and/name/to/your/watermark.png/.gif/.jpg"
WATERMARK2="/fullpath/and/name/to/your/2ndwatermark.png/.gif/.jpg"
echo "convert "${IN}" to "${OUT}
# This line will resize the image and add a border to it.
convert ${IN} -auto-orient -resize "2000>x2000>" \( +clone -background black -shadow 90x10+20+20 \) +swap -background white -layers merge +repage -resize "2000>x2000>" -bordercolor white -border 8 ${OUTt}
ww=`convert ${OUTt} -format "%[fx:.06*w]" info:`
hh=`convert ${OUTt} -format "%[fx:.06*h]" info:`
# Following line will create a post-it like watermark and rotate it in a random angle Size is based on the size of out photo
convert ${WATERMARK} -resize ${ww}x${hh} -bordercolor yellow -background black +polaroid "/tmp/watermark.png"
ww=`convert ${OUTt} -format "%[fx:.12*w]" info:`
hh=`convert ${OUTt} -format "%[fx:.12*h]" info:`
# resize our second watermark
convert ${WATERMARK2} -resize ${ww}x${hh} "/tmp/watermark2.png"
# Add the watermarks to the photo
composite -dissolve 65% -gravity southeast -geometry +60+60 \( "/tmp/watermark2.png" \) ${OUTt} ${OUTt2}
composite -gravity northwest -geometry +60+60 \( "/tmp/watermark.png" \) ${OUTt2} ${OUT}
# Clean-up
rm ${OUTt} ${OUTt2}
done
rm /tmp/watermark.png /tmp/watermark2.png

Bypass adblock detector/killers

posted 4 Nov 2014, 03:36 by Tony Wouters   [ updated 4 Nov 2014, 04:52 ]

/!\ IMPORTANT /!\

THIS IS NOT A UNIVERSAL SOLUTION FOR ALL ANTI ADBLOCK SCRIPTS

BEFORE REPORTING ANYTHING PLEASE READ THIS

About

Anti-Adblock Killer is a userscript whose functionality is removes many protections used on some website that force the user to disable the AdBlocker. So you can continue to visit this website without having to disable your Adblocker.

Instruction

Requires: Adblock or Adblock Plus

Step 1: Script Manager (Install)

Note: After installation (which requires restarting your browser), you are now ready to install userscripts.

Step 2: Filters for Adblockers

Step 3: Userscript

Note: Test
Source: https://greasyfork.org/en/scripts/735-anti-adblock-killer-reek

Telenet YeloTV op Ubuntu (any Linux)

posted 28 Oct 2014, 04:50 by Tony Wouters

Onderstaande komt van de FDS-Team Pipelight site (http://fds-team.de/cms/pipelight-installation.html), ik heb het op deze manier steeds aan de praat gekregen op *buntu:

You just have to type in the following commands in your terminal (één na één - nvdr) to add the necessary repository to your system and to install pipelight-multi:

CODE: SELECTEER ALLES
sudo add-apt-repository ppa:pipelight/stable
sudo apt-get update
sudo apt-get install --install-recommends pipelight-multi
sudo pipelight-plugin --update

The installation of pipelight/pipelight-multi will also install the Microsoft core fonts as they are required by Silverlight. If you don't have them yet, you will be asked to accept a license agreement during the installation (Just press TAB and ENTER to accept it). The core fonts package is only available in the multiverse repository, which is enabled by default on newer Ubuntu versions, but if this is not the case for your installation / distribution take a look at this question on how to enable it.

After the installation of pipelight-multi you have to select which plugins you want to use. The next commands illustrates how to enable Silverlight 5.1. If you don't want to use this plugin, simply skip it. More information on how to enable other plugins or how to use a different Silverlight versions is available at the end of the page. After typing the command to enable Silverlight you have to accept the corresponding Silverlight licenses. This was added in Pipelight release 0.2.4 to make it more transparent which licenses a user has to accept to use a specific browser plugin. To accept the license just type Y, if you don't want to accept the license or want to look up the details first type N and redo the command later when you change your decision.

CODE: SELECTEER ALLES
sudo pipelight-plugin --enable silverlight

# Type in 'Y' to accept the license of Silverlight and all required modules

EXIFTOOLS

posted 17 Sep 2014, 02:24 by Tony Wouters

Change Date/time : 
subtracts 720 hours (30 days) off the dates of each image file in the images directory
exiftool -AllDates-=720:00 -overwrite_original images

Rename to date-time based on exif data:
exiftool '-filename<CreateDate' -d %Y%m%d%-%H%M%S.%%ue -r *.JPG

1-5 of 5

Comments