I hereby claim:
- I am joshuabaker on github.
- I am joshuabaker (https://keybase.io/joshuabaker) on keybase.
- I have a public key ASATyrPN0eBfpZ3ItW5ehJwZr0lRZATQJy0ZpojHnr7B3go
To claim this, I am signing this object:
| [ | |
| { | |
| "code": "aa", | |
| "name": "Afar", | |
| "native": "Afar" | |
| }, | |
| { | |
| "code": "ab", | |
| "name": "Abkhazian", | |
| "native": "Аҧсуа" |
| { | |
| "name": "remove-focus-outline", | |
| "version": "1.0.0" | |
| } |
I hereby claim:
To claim this, I am signing this object:
| !function(){var e=history,t=location;if(e&&e.replaceState&&t.search){var n=t.search.slice(1).split("&"),l=n.filter(function(e){return"utm_"!==e.slice(0,4)});if(l.length<n.length){var a=l.length?"?"+l.join("&"):"",i=t.pathname+a+t.hash;setTimeout(function(){e.replaceState(null,null,i)},3e3)}}}(); |
| <?php | |
| $bands = [ | |
| [ | |
| 'threshold' => 0, | |
| 'primaryRate' => 0, | |
| 'secondaryRate' => 0.03, | |
| ], | |
| [ | |
| 'threshold' => 125000, |
| # Get latest tag | |
| git describe --abbrev=0 --tags | |
| # Get latest commit | |
| git rev-parse HEAD | |
| # Get latest commit author | |
| git --no-pager show -s --format="%aN <%aE>" HEAD | |
| # Get latest commit message (trimmed) |
| select | |
| `table_schema` as `database`, | |
| `table_name` as `table`, | |
| format(`table_rows`, 0) as `rows`, | |
| format(round(((`data_length` + `index_length`) / 1024 / 1024), 2), 2) as `megabytes` | |
| from `information_schema`.`TABLES` | |
| where `table_schema` != 'information_schema' | |
| order by `database`, `data_length` + `index_length` desc; |
| UPDATE craft_content | |
| SET craft_content.title = CONCAT(craft_content.title, ' (duplicate)') | |
| WHERE craft_content.elementId IN ( | |
| SELECT tmp.elementId | |
| FROM ( | |
| SELECT * | |
| FROM craft_content | |
| ) AS tmp | |
| JOIN craft_tags ON craft_tags.id = tmp.elementId | |
| GROUP BY tmp.title |
| (function(window, document, tag, src, object) { | |
| window[object] = window[object] || []; | |
| var script = document.createElement(tag); | |
| script.async = true; | |
| script.src = src; | |
| var firstScript = document.getElementsByTagName(tag)[0]; | |
| firstScript.parentNode.insertBefore(script, firstScript); | |
| }(window, document, 'script', '//example.com/path/to/file.js', 'myObject')); |
| (function() { | |
| var addTest = Modernizr.addTest; | |
| var timeout; | |
| var waitTime = 300; | |
| var elem = document.createElement('video'); | |
| var elemStyle = elem.style; | |
| function testAutoplay(arg) { | |
| clearTimeout(timeout); | |
| elem.removeEventListener('playing', testAutoplay, false); |