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
module Jekyll | |
module Generators | |
class Pagination | |
# Monkey patch this method to exclude some cats and tags from all standard | |
# paginators | |
# | |
# For this to take effect, you have to define a ``exclude_home`` property in your _config.yml: | |
# | |
# exclude_home: | |
# categories: [notes] |
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
#### Jekyll Layout: /_layouts/.htaccess | |
# Apache Configuration File | |
{% if ((page.auth_dir.users != empty) or (page.auth_dir.groups != empty)) %} | |
AuthName "Privater Bereich" | |
AuthType Basic | |
# => mehrere Require Blocks werden geodert: http://d43.me/blog/1157 | |
AuthzUserAuthoritative Off | |
AuthUserFile {{ page.auth_remote_user_file }} |
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
{ | |
"globals": { | |
"log": false | |
}, | |
"rules": { | |
"indent": [ | |
2, | |
2, | |
{"VariableDeclarator": { "var": 2, "let": 2, "const": 3}} | |
], |
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
CFLAGS="-O2 -fno-tree-dce -fno-optimize-sibling-calls" RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl/1.0.2k rbenv install 1.8.7-p302 |
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
# BEGIN CACHIFY | |
<IfModule mod_rewrite.c> | |
# ENGINE ON | |
RewriteEngine on | |
RewriteBase / | |
# set hostname directory | |
RewriteRule .* - [E=CACHIFY_HOST:https-%{HTTP_HOST}] | |
# set Doument root - `DCOUMENT_ROOT` is set to ~/html - the virtual host config on uberspace | |
RewriteRule .* - [E=MY_DOCUMENT_ROOT:/var/www/virtual/user/html] |