Skip to content

Instantly share code, notes, and snippets.

View TurtleWolfe's full-sized avatar
🏠
Working from home

TurtleWolfe TurtleWolfe

🏠
Working from home
View GitHub Profile
@TurtleWolfe
TurtleWolfe / Dockerfile
Created November 19, 2018 18:05 — forked from michaelneu/Dockerfile
docker-compose configuration for PHP with NGINX and MySQL, including sendmail, MailDev and phpmyadmin
# see https://github.com/cmaessen/docker-php-sendmail for more information
FROM php:5-fpm
RUN apt-get update && apt-get install -q -y ssmtp mailutils && rm -rf /var/lib/apt/lists/*
RUN docker-php-ext-install mysql mysqli sysvsem
RUN pecl install xdebug-2.5.5 \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
@TurtleWolfe
TurtleWolfe / reload.md
Created October 14, 2018 05:39
install from scratch
  1. Chrome
  2. DockerCE
  3. f.lux
  4. Git
  5. GitDesktop
  6. Microsoft Visual C++ 2017 redistributable (x64)
  7. NodeJS
  8. OBS Studio
  9. OneDrive
  10. RescueTime
@TurtleWolfe
TurtleWolfe / docker-help.md
Last active October 10, 2018 15:22 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@TurtleWolfe
TurtleWolfe / app.js
Created October 4, 2018 18:19
asdfg pianoMACHINE demo
function removeTransition(e) {
if (e.propertyName !== "transform") return;
e.target.classList.remove("playing");
}
const players = document.querySelectorAll("audio");
const volumeControl = document.getElementById("accent-control");
let globalVolume = 1;
volumeControl.addEventListener("change", function() {
@TurtleWolfe
TurtleWolfe / Vagrant.bootstrap.sh
Created May 19, 2018 18:43 — forked from asmerkin/Vagrant.bootstrap.sh
A simple LAMP Vagrantfile and Bootstrap file for Vagrant and ubuntu/trusty64 box. It uses mpm-workers and php5-fpm + some extra tools like grunt, gulp and composer.
#!/usr/bin/env bash
# ---------------------------------------
# Virtual Machine Setup
# ---------------------------------------
# Adding multiverse sources.
cat > /etc/apt/sources.list.d/multiverse.list << EOF
deb http://archive.ubuntu.com/ubuntu trusty multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse