Skip to content

Instantly share code, notes, and snippets.

View mlebkowski's full-sized avatar
🤷‍♀️

Maciej Łebkowski mlebkowski

🤷‍♀️
View GitHub Profile
@mlebkowski
mlebkowski / s3.sh
Last active August 29, 2015 14:20 — forked from chrismdp/s3.sh
# 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
<?php
header('Content-type: text/plain; charset=UTF-8');
$config = array(
'emails' => ['ener@mailinator.com'],
'subject' => "Nowe zgloszenie Energia",
'fields' => array (
'name' => array ('label' => 'Imię i nazwisko'),
'email' => array ('label' => 'Adres e-mail'),
'phone' => array ('label' => 'Telefon'),
"use strict";
var empty_list = function (selector) {
return selector(undefined, undefined, true);
};
var prepend = function (el, list) {
return function (selector) {
return selector(el, list, false);
}
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.