A list of open source and free* variable fonts.
* Some fonts may require a license to be used for commerical use.
| # Docker file used for traefik in CircleCI | |
| FROM traefik | |
| # Necessary because CircleCI use a tcp endpoint and not the unix socket. | |
| # It requires certificats for TLS, and because CircleCI use docker machine, | |
| # mounting a volume doesn't work. | |
| # NB circle-cert needs to contain $DOCKER_CERT_PATH, see README.md | |
| COPY circle-cert /cert | |
| # if you used to share other volumes, you need to copy them now or with `docker cp` |
| <?php | |
| /** | |
| * WordPress Scoped Cache Helper | |
| * | |
| * This addresses the problem of obsolete cached data for an object after it is updated. | |
| * | |
| * Sometimes we need to cache specific bits of data related to a certain object, and keep the cached data in sync | |
| * with the object's state. This helper makes it easier to tap into object update process to clear ( and optionally | |
| * rebuild ) the cache. | |
| * |
| [alias] | |
| # Merge the current branch to another one, created back when I needed to merge into three branches before issuing a PR | |
| merge-to = "!f() { git checkout $1 && git merge $2 && git checkout $2; }; f" | |
| # Commit shorthand family: | |
| c = commit | |
| cm = commit -m | |
| cam = commit -am | |
| camp = "!f() { git commit -am \"$1\"; git push; }; f" | |
| ca = commit -a |
| var util = require('util'); | |
| // nobody cares about warnings so lets make them errors | |
| // keep a reference to the original console methods | |
| var consoleWarn = console.warn; | |
| var consoleError = console.error; | |
| function logToError() { | |
| throw new Error(util.format.apply(this, arguments).replace(/^Error: (?:Warning: )?/, '')); |
| <?php | |
| /** | |
| * Plugin Name: (WCM) Backbone/Underscore template loader | |
| * Description: Loads Underscore (or other) templates using the WP Dependency API | |
| */ | |
| /** | |
| * @author Franz Josef Kaiser http://unserkaiser.com/ | |
| * @link http://chat.stackexchange.com/transcript/message/19439060#19439060 | |
| */ |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545
| ############################## | |
| ## Kirby configuration | |
| ############################## | |
| location /kirby/ { | |
| include /etc/nginx/mime.types; | |
| index index.php; | |
| root /var/www/addons88/; | |
| if (!-e $request_filename){ |
| # Basically the nginx configuration I use at konklone.com. | |
| # I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
| # | |
| # To provide feedback, please tweet at @konklone or email [email protected]. | |
| # Comments on gists don't notify the author. | |
| # | |
| # Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
| # Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
| server { |