sudo apt-get updatesudo apt-get install -y libssl1.0.0 opensslopenssl version -aand confirm the "built on" date is >= 2014-04-07sudo lsof -n | grep ssl | grep DELand restart all listed services.
Repeat #4 until no results are returned.
| /* | |
| * a small mixin for easy use of rem with px as fallback | |
| * usage: @include x-rem(font-size, 14px) | |
| * usage: @include x-rem(marign, 0 12px 2 1.2) | |
| * usage: @include x-rem(padding, 1.5 24px) | |
| * | |
| * thanks to Eric Meyer for https://github.com/ericam/susy | |
| * and Hans Christian Reinl for http://drublic.de/blog/rem-fallback-sass-less/ | |
| */ | |
| @mixin x-rem($property, $values) { |
| /*jslint sloppy:true, white:true, vars:true, plusplus:true */ | |
| var permutation = function (collection){ | |
| var current, | |
| subarray, | |
| result = [], | |
| currentArray = [], | |
| newResultArray = []; | |
| if (collection.length){ |
This gist assumes:
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParentelem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeightelem.getClientRects(), elem.getBoundingClientRect()| <script type="text/javascript"> | |
| (function () { | |
| "use strict"; | |
| // once cached, the css file is stored on the client forever unless | |
| // the URL below is changed. Any change will invalidate the cache | |
| var css_href = './index_files/web-fonts.css'; | |
| // a simple event handler wrapper | |
| function on(el, ev, callback) { | |
| if (el.addEventListener) { | |
| el.addEventListener(ev, callback, false); |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |