This file contains hidden or 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 | |
set -ex | |
nats stream del NO_COMPRESSION --force > /dev/null || true | |
nats stream del WITH_COMPRESSION --force > /dev/null || true | |
nats stream add NO_COMPRESSION \ | |
--subjects NO_COMPRESSION \ | |
--replicas 1 \ | |
--storage=file \ |
This file contains hidden or 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDVS2nVZloSrnNXY2r2dQkwETOMnSwMy99aQQ4bJtR5Ml7CdysYUmTw8ue5R6Uaz++5wV1QIbBRvjLwJC+JQDdsDNc7kCyRZZD0GXvb6JXalu0DvS62U2vwa4FurOcOkwwwM9HdaeikHVhs3uN9nGngB/YAwybOl/WBGWivFCZS1SBjdvD7RKBgruF8tDSn2VOTJmrqiTH+G8iAv/3QFHvI4vekJFg5ag+0GM+7grA+94cyTX14yM6tXvTC2B4ebVO2JxtzbimPkGZfIYwpZ9rb0V4EVAXkv+WvS5kPAaQK6ysJIyUihlXCGMFAgxhJJh+B2GFu+JA0evAJpJ/T0z/wZt7wleBO74WilfgA70YiSjWuy0DP3EFmV5J3oLGQanqhN7xAZvXWjFWdT5hqBGvl+80wnGwFh+FlbqdaGD4euA3SCFFR5exOXbfKByrs+RSXu9wYC9vQilaeAPu2q/SMoIGrrCN80dUImQ+QPuSYkylIvRZAiHKGX562AOTMkvMX1StiQ9tJyofgliOeWUnIUEZhdemQ9AYaAC7TPV3/Ff1UfsP5vWnKxVzel/uKTyINcyfIVYiARyd/86mX3Fk0ePQ/36+Hov6fffTWQQN1ISBCbBhCG2tC+4ANCrgVT/KFVvYu1hG8wGloUGLpefnMyAZTJXAReK9EPdU6bHbpSw== Sebastian.Holstein@C02FQDC1MD6M |
This file contains hidden or 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
log: | |
stdout: true | |
level: info | |
persistence: | |
defaultStore: postgres | |
visibilityStore: postgres | |
numHistoryShards: 4 | |
datastores: | |
postgres: |
This file contains hidden or 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
if ('Notification' in window && Notification.permission === 'granted') { | |
// it's save to send notifications here if you want to... | |
) |
This file contains hidden or 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
if ('Notification' in window) { | |
Notification.requestPermission().then(status => { | |
// status can be 'granted' or 'denied' | |
// code to handle the result here... | |
}); | |
} |
This file contains hidden or 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 | |
source /etc/environment | |
hostname=$(cat /etc/machine-id) | |
machines=$(etcdctl ls /consul.io/bootstrap/machines) | |
#If there are 'machines' then the cluster has been initialised. | |
if [ -z "$machines" ] | |
then | |
flags="${flags} -bootstrap" |
This file contains hidden or 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 | |
# From https://gist.github.com/philips/56fa3f5dae9060fbd100 | |
source /etc/environment | |
name=$(cat /etc/machine-id) | |
if [ ! -f /opt/consul ]; then | |
mkdir /opt | |
mkdir /var/lib/consul |
This file contains hidden or 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
<link rel="import" href="../chart-js/chart-js.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../speech-mic/speech-mic.html"> | |
<link rel="import" href="../topeka-elements/category-images.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> |
This file contains hidden or 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
// Karma configuration | |
// Generated on Thu Oct 16 2014 20:54:32 GMT+0200 (CEST) | |
module.exports = function(config) { | |
config.set({ | |
// base path that will be used to resolve all patterns (eg. files, exclude) | |
basePath: '', | |
This file contains hidden or 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
/* mixin namens border-radius */ | |
=border-radius($radius: 5px) | |
-webkit-border-radius: $radius | |
-moz-border-radius: $radius | |
-khtml-border-radius: $radius | |
border-radius: $radius | |
.box-xy | |
/* würde in diesem beispiel einen radius von 5px nehmen */ |
NewerOlder