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/bash | |
sudo docker pull nginx:alpine | |
sudo docker pull jwilder/docker-gen | |
sudo docker pull jrcs/letsencrypt-nginx-proxy-companion | |
sudo docker pull zzrot/alpine-ghost | |
wget https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl | |
sudo cp nginx.tmpl /volumes/proxy/templates/ |
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
function Grouping(title, value, count) { | |
Object.defineProperties(this, { | |
title: { value: title }, | |
value: { value: value }, | |
count: { value: count }, | |
groups: { writable: true } | |
}); | |
} | |
function getGroupedViewData(listTitle, viewTitle, success, fail) { |
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
using System; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
using System.Runtime.CompilerServices; | |
using System.Threading; | |
using SHDocVw; | |
namespace Capto | |
{ | |
/// <summary> |
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
# | |
# This is a VCL file for Varnish used with @TryGhost blog. | |
# It rewrites Wordpress-style /yyyy/mm/dd/slug urls | |
# to /slug and /rss20.xml to Ghost's /rss/ | |
# Adds 60 mins cachability to pages, adds AMP Project CSP header and a few other | |
# security headers giving the site an A+ on https://securityheaders.io/ | |
# Marker to tell the VCL compiler that this VCL has been adapted to the | |
# new 4.0 format. |
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
(ContentTypeId:0x0104*) (contentclass:STS_ListItem) (Path:{SiteCollection.URL}) NOT (ExpirationTime<{Today}) | |
OOB on O365 |
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
(function () { | |
"use strict"; | |
///// | |
// Deserialize and serialize a query string | |
function QueryString(qs) { | |
var re = /([^&=]+)=([^&]*)/g, | |
m; | |
while (m = re.exec((qs || location.search).substring(1))) { // skip the question mark | |
this[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); |
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
function QueryString(qs) { | |
var re = /([^&=]+)=([^&]*)/g, | |
m; | |
while (m = re.exec((qs || location.search).substring(1))) { // skip the question mark | |
this[decodeURIComponent(m[1])] = decodeURIComponent(m[2]); | |
} | |
} | |
QueryString.prototype.toString = function () { | |
var ser = "?"; |
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
### Keybase proof | |
I hereby claim: | |
* I am klinkby on github. | |
* I am klinkby (https://keybase.io/klinkby) on keybase. | |
* I have a public key whose fingerprint is F9D7 19F6 A0A0 0278 FFB3 3AF0 BC98 741A 9997 9D59 | |
To claim this, I am signing this object: |
NewerOlder