Skip to content

Instantly share code, notes, and snippets.

View mattzuba's full-sized avatar

Matt Zuba mattzuba

View GitHub Profile
@mattzuba
mattzuba / covid19.php
Last active March 27, 2020 03:02
/covid19 Slack Slash command in PHP using Johns Hopkins data
<?php
/**
* Create a new slack command such as /covid19. Put this script in a web accessible location
* and point your slash command at it. Update the $slack_token below with the token for your
* command. Accepts a none or one arguments - with no arguments provides US data; one argument
* can be the name of a state to get data for. Not much in the way of error checking, was quick
* and dirty.
*/
@mattzuba
mattzuba / gcna-cla
Created January 9, 2019 16:31
GCNA CLA
## Goodwill of Central and Northern Arizona Individual Contributor License Agreement
In order to clarify the intellectual property license granted with Contributions from any person or entity, Goodwill of Central and Northern Arizona ("GCNA") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for Your protection as a Contributor as well as the protection of GCNA; it does not change Your rights to use Your own Contributions for any other purpose.
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to GCNA. Except for the license granted herein to GCNA and recipients of software distributed by GCNA, You reserve all right, title, and interest in and to Your Contributions.
1. Definitions.
- "You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with GCNA. For leg
@mattzuba
mattzuba / beanstalkd.config
Created January 5, 2015 17:56
beanstalkd.config
sources:
/tmp: https://github.com/kr/beanstalkd/archive/v1.10.tar.gz
commands:
01_make_beanstalkd:
cwd: /tmp/beanstalkd-1.10
command: make
02_install_beanstalkd:
cwd: /tmp/beanstalkd-1.10
@mattzuba
mattzuba / 03_s3fs.config
Created November 24, 2014 16:23
s3fs-fuse on AWS Elastic Beanstalk
packages:
yum:
gcc: []
libstdc++-devel: []
gcc-c++: []
fuse: []
fuse-devel: []
libcurl-devel: []
libxml2-devel: []
openssl-devel: []
@mattzuba
mattzuba / 01_httpd_phpfpm.config
Last active December 20, 2022 19:53
Apache 2.4 / PHP-FPM 5.5 on Amazon Elastic Beanstalk
packages:
yum:
php55-fpm: []
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/26_phpfpm_config.sh":
mode: "000755"
owner: root
group: root
content: |