I hereby claim:
- I am dpup on github.
- I am dpup (https://keybase.io/dpup) on keybase.
- I have a public key whose fingerprint is 7BAA 5DDA 6FEE 47F8 EB71 51FC 2184 4463 B849 8133
To claim this, I am signing this object:
| # When specifying a named KMS Key for the S3 bucket, the default policy that | |
| # terraform applies causes Access Denied errors for PutObject. This policy | |
| # allows access to users with access to S3. | |
| resource "aws_kms_key" "uploads" { | |
| description = "Encrypts uploads stored in S3" | |
| deletion_window_in_days = 10 | |
| policy = "${data.aws_iam_policy_document.uploads_key_policy.json}" | |
| } |
I hereby claim:
To claim this, I am signing this object:
| FastMutex.prototype.runInLock = function (callback, opt_context) { | |
| this._setX() | |
| if (!this._isLockAvailable()) { | |
| this._retry(callback, opt_context) | |
| return | |
| } | |
| this._setY() |
| <? echo "<p>Hello?</p>"; ?> |
| <VirtualHost *:80> | |
| ServerAdmin me@mydomain.com | |
| DocumentRoot /var/www/site | |
| <Directory /var/www/site/> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order deny,allow | |
| Allow from all | |
| </Directory> |
| FROM ubuntu:latest | |
| MAINTAINER Dan Pupius <dan@pupi.us> | |
| # Install apache, PHP, and supplimentary programs. openssh-server, curl, and lynx-cur are for debugging the container. | |
| RUN apt-get update && apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | |
| apache2 php7.0 php7.0-mysql libapache2-mod-php7.0 curl lynx-cur | |
| # Enable apache mods. | |
| RUN a2enmod php7.0 | |
| RUN a2enmod rewrite |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "CoreOS on EC2 with load balancer and support for private images: http://coreos.com/docs/running-coreos/cloud-providers/ec2/", | |
| "Mappings" : { | |
| "RegionMap" : { | |
| "ap-northeast-1" : { | |
| "AMI" : "ami-c1421fc0" | |
| }, | |
| "sa-east-1" : { | |
| "AMI" : "ami-dfbe17c2" |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "math/rand" | |
| "strings" | |
| "time" | |
| ) |
| /** | |
| * @fileoverview Utility for creating Zip archives using the HTML5 Blob | |
| * interfaces. This allows for larger files to be constructed and downloaded to | |
| * the client. | |
| * | |
| * Copyright (c)2011 Daniel Pupius <pupius.co.uk> | |
| * | |
| * Based on JSZip from http://jszip.stuartk.co.uk | |
| * Original licence: | |
| * (c) 2009 Stuart Knightley <stuart [at] stuartk.co.uk> |
| #!/bin/bash | |
| # | |
| # Script that checks GitHub's status API before continuing. If GitHub does not return "good" then | |
| # you will be prompted whether you want to continue. | |
| # | |
| # Information messages are echoed to stderr so it is still possible to pipe the results of stdout to | |
| # a file. | |
| # | |
| # Example Usage: | |
| # $ if-github-up make clean |