Skip to content

Instantly share code, notes, and snippets.

@pleabargain
pleabargain / IMscript-png.sh
Created October 11, 2018 14:51
this will write the file name on to the png image
for img in *.png; do
width=$(identify -format %W ${img})
width=$(( ${width} * 9 / 10 ))
convert \
-background '#0008' \
-gravity center \
-fill white \
-size ${width}x100 \
@Mo45
Mo45 / PHPMailer.php
Last active May 27, 2021 04:33
Rust-Server-Website-Template — How to use PHPMailer Example
<?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <[email protected]>
* @author Jim Jagielski (jimjag) <[email protected]>
* @author Andy Prevost (codeworxtech) <[email protected]>