I hereby claim:
- I am webinspectinc on github.
- I am howlermiller (https://keybase.io/howlermiller) on keybase.
- I have a public key ASAMGR1dZYix5uk9sNM4PFhFFDjRApZ6JgFM42HElDLpHAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
version: '3' | |
services: | |
mysql: | |
image: mysql:5.7 | |
volumes: | |
- ./db:/docker-entrypoint-initdb.d | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: wordpress |
If you think you want to add something to this documentation, then great! Kudos to you. Documenting your work is good.
But there are a few rules you'll have to follow. We aren’t trying to destroy your fun, but we have specific goals in mind for what should be here, and everything here has to fit those goals. This document should also be reviewed prior to reviewing pull requests that include documentation changes, so everyone is held accountable to these rules.
In a nutshell, all documentation should be (1) useful, (2) easy to read, and (3) easy to maintain. To be more specific:
<header> | |
<h1 class="entry-title">Just Use Sublime Text</h1> | |
<p class="meta"> | |
<time datetime="2013-03-16T19:06:00-07:00" pubdate="" data-updated="true">Mar 16<span>th</span>, 2013</time> | |
</p> | |
</header> | |
// Usage: cache_for_a_day('data_id', <data>); | |
// If you only provide an ID, it gets | |
// If you provide both, it checks the date and returns cached data if it's been cached less than a day. Otherwise it sets the new data | |
function cache_for_a_day(id, data) { | |
var new_data = {}; | |
var old_data = JSON.parse(localStorage.getItem(id)); | |
if (old_data) { | |
var cache_date = new Date(old_data.cache_date); |
Paste into your location bar: | |
data:text/html, <body oninput='e.firstChild.srcdoc=t2[v="value"]+"<script>"+t0[v]+"<\/script><style>"+t1[v]'onload='for(i=3;i--;)e.innerHTML+="<textarea id=t"+i+">"'id=e><iframe> |
[alias] | |
st = status -s -b | |
cam = commit -a -m | |
oops = commit --amend | |
co = checkout | |
br = branch | |
unstash = stash pop | |
update = merge develop | |
howmany = rev-list HEAD --count | |
rdel = push origin --delete |
function animate (callback, time, oldTime) { | |
var oldTime = oldTime || new Date().getTime(); | |
var now = new Date(); | |
if (new Date(oldTime + time) < now) { | |
callback(); | |
oldTime = now.getTime(); | |
} | |
requestAnimationFrame(function() { animate(callback, time, oldTime); }); | |
} |
var KeyCode = { | |
backspace: 8 | |
,tab: 9 | |
,enter: 13 | |
,shift: 16 | |
,ctrl: 17 | |
,alt: 18 | |
,pause: 19 | |
,capsLock: 20 | |
,escape: 27 |