Skip to content

Instantly share code, notes, and snippets.

View sbruggmann's full-sized avatar

Stefan Bruggmann sbruggmann

View GitHub Profile
@chrismdp
chrismdp / s3.sh
Last active March 5, 2024 12:57
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine
# This is how I upload my new Sol Trader builds (http://soltrader.net)
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
{
path=$1
URL:
http://example.com/nodename.html?
--vendor_name-fooplugin[package]=vendor.name&
--vendor_name-fooplugin[controller]=standard&
--vendor_name-fooplugin[action]=index&
--vendor_name-fooplugin[object][__identity]=4de2cc9c-79c0-55e7-310e-91c5ae2fea19
should result in
http://example.com/nodename/custom-part/objectname.html
@bwaidelich
bwaidelich / EmailService.php
Last active May 23, 2016 13:35
Simple Email Service for TYPO3 Flow
<?php
namespace My\Package\Service;
use TYPO3\Flow\Annotations as Flow;
/**
* @Flow\Scope("singleton")
*/
class EmailService {