Skip to content

Instantly share code, notes, and snippets.

Avatar
💪

Shoya Shiraki morugu

💪
View GitHub Profile
View mautic-docker-compose.yml
mautic:
image: mautic/mautic
links:
- mauticdb:mysql
ports:
- 80:80
mauticdb:
image: mysql:5.6
environment:
View ffmpeg-linux-static-build-install-one-liner
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz && mkdir -p ffmpeg-static && tar xvf ffmpeg-release-64bit-static.tar.xz -C ffmpeg-static --strip-components 1 && sudo mv ffmpeg-static/ff* /usr/bin/
@morugu
morugu / cron.yaml
Last active Nov 10, 2016
aws-eb-queue-worker-cron-sample-yaml
View cron.yaml
version: 1
cron:
- name: "send-test-event"
url: "/send-test-event"
schedule: "* * * * *"
@morugu
morugu / snsToSlack.js
Created Nov 10, 2016 — forked from terranware/snsToSlack.js
AWS Lambda function to Slack Channel hookup
View snsToSlack.js
var https = require('https');
var util = require('util');
exports.handler = function(event, context) {
console.log(JSON.stringify(event, null, 2));
console.log('From SNS:', event.Records[0].Sns.Message);
var postData = {
"channel": "#aws-sns",
"username": "AWS SNS via Lamda :: DevQa Cloud",
View gist:30b9e6f0051cb414cbf2
#!/bin/sh
if [ "$1" = "" ]
then
echo "Usage: $0 <project directory path>"
exit
fi
PROJECT_DIR=$1
cd ${PROJECT_DIR}
You can’t perform that action at this time.