Skip to content

Instantly share code, notes, and snippets.

View ursbraem's full-sized avatar
💭
🐧

Urs Braem ursbraem

💭
🐧
View GitHub Profile
#!/bin/sh
hosts="user@server.com user@server2.com"
name="typo3_src-6.2.12"
oldname="typo3_src-6.2.11"
url="http://www.mystorage.com/temp/"$name".tar.gz"
for h in $hosts ; do
echo $h
@ursbraem
ursbraem / FilesizeViewHelper.php
Created March 19, 2014 16:30
Viewhelper for showing the size of a file in TYPO3 fluid
<?php
/* *
* This script belongs to the FLOW3 package "Fluid". *
* *
* It is free software; you can redistribute it and/or modify it under *
* the terms of the GNU Lesser General Public License as published by the *
* Free Software Foundation, either version 3 of the License, or (at your *
* option) any later version. *
* *
* This script is distributed in the hope that it will be useful, but *