Skip to content

Instantly share code, notes, and snippets.


Maciej Łebkowski mlebkowski

View GitHub Profile
# 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 (
# Based on a modified script from here:
S3KEY="my aws key"
S3SECRET="my aws secret" # pass these in
function putS3
View index.php
header('Content-type: text/plain; charset=UTF-8');
$config = array(
'emails' => [''],
'subject' => "Nowe zgloszenie Energia",
'fields' => array (
'name' => array ('label' => 'Imię i nazwisko'),
'email' => array ('label' => 'Adres e-mail'),
'phone' => array ('label' => 'Telefon'),
View list-out-of-lambda.js
"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);
View SplClassLoader.php
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.