Skip to content

Instantly share code, notes, and snippets.

samcozmid sambgordon

View GitHub Profile
sambgordon /
Created Mar 27, 2019 — forked from bradtraversy/
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
sambgordon / fractrees.js
Created Mar 3, 2017
fractal trees app js available as gist
View fractrees.js
/*The following vars are used for different parameters of generated tree and can searched easily:
mainBranch = the main generated branch
subBranches = the sub branches that are generated "infinitely"
travel = "distance" the branches will travel
branchWidth = Width of the stroke generated branches - keep in mind they
get exponentially thinner and thinner as recursion continues
startX, StartY, endX, endY = Defines path starting and ending values
length = length of each new tree relative to window size
angle = angle of path of each new tree
sambgordon / script.js
Last active Jun 15, 2018
Use WP rev slider on non-wordpress site
View script.js
//Revolution Slider parameters
//With jquery-dependent rs-plugin in place, calls necessary elements to run this awesome plugin on whatever site you want.
jQuery(document).ready(function() {
You can’t perform that action at this time.