Skip to content

Instantly share code, notes, and snippets.

View bookmebus's full-sized avatar
🎯
Focusing

BookMeBus bookmebus

🎯
Focusing
View GitHub Profile
@bookmebus
bookmebus / 01_add_cors.config.yaml
Created February 7, 2019 11:13 — forked from vsviridov/01_add_cors.config.yaml
Add CORS to Nginx on AWS Elastic Beanstalk
container_commands:
01_fix_static_cors:
command: "/tmp/fix_static_cors.sh"
files:
"/tmp/fix_static_cors.sh":
mode: "000755"
owner: root
group: root
content: |
#!/bin/bash
@bookmebus
bookmebus / install_ffmpeg_ubuntu.sh
Created March 27, 2019 07:35 — forked from channainfo/install_ffmpeg_ubuntu.sh
Install latest ffmpeg on ubuntu 12.04 or 14.04, 16.04
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
@bookmebus
bookmebus / .dockerignore
Created January 9, 2020 08:40 — forked from davidderus/.dockerignore
Docker + Rails + Puma + Postgres + Nginx
.git
.gitignore
/doc
.yardoc
coverage
jsdoc
/tmp
/log
Dockerfile
Dockerfile.prod