This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var gesturesSetUp = false; | |
var ua = navigator.userAgent.toLowerCase(); | |
var isAndroid = ua.indexOf("android") > -1; | |
document.addEventListener('textlayerrendered', function (e) { | |
if (gesturesSetUp || e.detail.pageNumber !== PDFViewerApplication.page) { | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you should have nginx-proxy and letsencrypt-nginx-proxy-companion | |
# https://github.com/jwilder/nginx-proxy | |
# https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion | |
# Then, start cozy/full | |
docker run -d --name cozy-cloud \ | |
-e VIRTUAL_HOST=cozy.example.net \ | |
-e LETSENCRYPT_HOST=cozy.example.net \ | |
-e LETSENCRYPT_EMAIL=postmaster@example.net \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Make sure Graphicsmagick is installed on your system | |
* osx: brew install graphicsmagick | |
* ubuntu: apt-get install graphicsmagick | |
* | |
* Install these gulp plugins | |
* glup, gulp-image-resize, gulp-imagemin and imagemin-pngquant | |
* | |
* Group images according to their output dimensions. | |
* (ex: place all portfolio images into "images/portfolio" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/dash -f | |
# Configure wmii | |
wmiiscript=wmiirc # For wmii.sh | |
. wmii.sh | |
# Configuration Variables | |
MODKEY=Mod1 | |
UP=k | |
DOWN=j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -------------------------------------------------- | |
// Flexbox LESS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
// flex or inline-flex | |
.flex-display(@display: flex) { | |
display: ~"-webkit-@{display}"; | |
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox |