This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am sammyd on github. | |
| * I am samd (https://keybase.io/samd) on keybase. | |
| * I have a public key whose fingerprint is C18B BFF1 EDF6 E7A1 6C50 3B45 B8D4 E3D1 026A 6023 | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import CoreImage | |
| let url = NSBundle.mainBundle().URLForResource("400x400", withExtension: "jpeg") | |
| let image = CIImage(contentsOfURL: url) | |
| let filter = CIFilter(name: "CISepiaTone", | |
| withInputParameters: [kCIInputImageKey : image, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Need two parameters | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 <path to book directory> <path to output dir>" | |
| echo " No spaces or such funny characters are allowed." | |
| exit 1 | |
| fi | |
| # Location for the output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:5.6-fpm | |
| MAINTAINER Sam Davies <[email protected]> | |
| # Add the required PHP extensions | |
| RUN set -ex \ | |
| && apt-get update \ | |
| && apt-get install -y libjpeg-dev libpng12-dev git wget --no-install-recommends \ | |
| && rm -r /var/lib/apt/lists/* \ | |
| && echo '' | pecl install apcu-4.0.11 redis \ | |
| && docker-php-ext-enable apcu redis \ |
OlderNewer