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
killall ssh-agent; eval $(ssh-agent) |
EMOJI CHEAT SHEET
Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.
People
😄
version: '2' | |
services: | |
db: | |
container_name: database | |
image: mariadb # Pull mysql image from Docker Hub | |
ports: # Set up ports exposed for other containers to connect to | |
- "3306:3306" | |
volumes: | |
- ./dep/mysql:/docker-entrypoint-initdb.d |
- Open Automator | |
- File -> New -> Service | |
- Change "Service Receives" to "files or folders" in "Finder" | |
- Add a "Run Shell Script" action | |
- Change "Pass input" to "as arguments" | |
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
- Save it as something like "Open in Visual Studio Code" |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
var Arch; if (!Arch) Arch = {}; // set up custom namespace 'Arch' | |
Arch.AjaxPagination = function(paginationContainer, storiesContainer, filtersContainer) { | |
// Only html5 browsers can use ajax pagination. We don't want no stinkin' hashbang URLs. | |
if (!history.pushState) { | |
return; | |
} | |
this.$paginationContainer = $(paginationContainer); |
/*! | |
* William DURAND <[email protected]> | |
* MIT Licensed | |
* | |
* GistID: 5705453 | |
* | |
* Usage: | |
* | |
* $('.photos').flickrPhotoStream({ id: '12345', setId: '67890' }); | |
* |
$(document).ready(function(){ | |
//setup info | |
var id = "";//<- You user id | |
var num = 1;//<- How many images to pull in | |
// Grab JSON from Flickr | |
$.getJSON("http://api.flickr.com/services/feeds/groups_pool.gne?id="+id+"&lang=en-us&format=json&jsoncallback=?", displayImages); | |
// | |
function displayImages(data) |
/* | |
--- | |
name: List.CheckBox | |
license: MIT-style license. | |
copyright: Copyright (c) 2011 [Ryan Florence](http://ryanflorence.com/). | |
author: Ryan Florence |