Skip to content

Instantly share code, notes, and snippets.

@traedamatic
traedamatic / renameFiles
Created May 6, 2015 10:42
remove whitespaces from all files
find . -depth -name '* *' \
| while IFS= read -r f ; do mv -i "$f" "$(dirname "$f")/$(basename "$f"|tr -d ' ')" ; done
@traedamatic
traedamatic / PlaintextMessage.php
Created June 19, 2014 10:16
MtMail ContentType Fix
<?php
/**
* MtMail - e-mail module for Zend Framework 2
*
* @link http://github.com/mtymek/MtMail
* @copyright Copyright (c) 2013-2014 Mateusz Tymek
* @license BSD 2-Clause
*/
namespace MtMail\ComposerPlugin;