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
Migrating to CreateAccounts (20160220174730) | |
== 20160220174730 CreateAccounts: migrating =================================== | |
[strong_migrations] DANGER: No lock timeout set | |
-- create_table(:accounts, {:id=>:integer}) | |
-> 0.0182s | |
-- add_index(:accounts, [:username, :domain], {:unique=>true}) | |
-> 0.0029s | |
== 20160220174730 CreateAccounts: migrated (0.0222s) ========================== | |
Migrating to CreateStatuses (20160220211917) |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: cluster-autoscaler | |
namespace: kube-system | |
labels: | |
name: cluster-autoscaler | |
annotations: | |
prometheus.io/scrape: 'true' | |
spec: |
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
influx -database '$DATABASE' -format 'csv' -execute 'SHOW SERIES' | grep -v "name,_id,host" | wc -l |
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
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: cluster-autoscaler | |
namespace: kube-system | |
labels: | |
k8s-addon: cluster-autoscaler.addons.k8s.io | |
app: cluster-autoscaler | |
spec: |
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
--- | |
apiVersion: networking.k8s.io/v1 | |
kind: NetworkPolicy | |
metadata: | |
name: allow-cluster-autoscaler | |
namespace: kube-system | |
spec: | |
podSelector: | |
matchLabels: | |
app: cluster-autoscaler |
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
FROM dictvm/react-native-yarn:0.1.2 | |
ADD file:204fb7ccb19ff7e863331131138621ff4d22720b3718e8f296902cc7d4f635b5 in / | |
RUN /bin/sh -c set -xe \ | |
&& echo '#!/bin/sh' > /usr/sbin/policy-rc.d \ | |
&& echo 'exit 101' >> /usr/sbin/policy-rc.d \ | |
&& chmod +x /usr/sbin/policy-rc.d \ | |
&& dpkg-divert --local --rename --add /sbin/initctl \ | |
&& cp -a /usr/sbin/policy-rc.d /sbin/initctl \ | |
&& sed -i 's/^exit.*/exit 0/' /sbin/initctl \ | |
&& echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup \ |
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
{ | |
"Apple Bitpool Max (editable)" = 80; | |
"Apple Bitpool Min (editable)" = 35; | |
"Apple Initial Bitpool (editable)" = 35; | |
"Apple Initial Bitpool Min (editable)" = 53; | |
"Negotiated Bitpool" = 80; | |
"Negotiated Bitpool Max" = 80; | |
"Negotiated Bitpool Min" = 80; | |
} |
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 | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
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/sh | |
# Install | |
REDIS_SOURCE="redis-stable.tar.gz" | |
curl -LO http://download.redis.io/$REDIS_SOURCE | |
tar xvzf $REDIS_SOURCE | |
cd redis-stable | |
make | |
mv src/redis-{server,cli} ~/bin/ |
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
#!/usr/bin/env sh | |
if [ "$#" -ne 1 ] | |
then | |
echo "Usage: $0 <db_name>" | |
exit 1 | |
fi | |
db_name=$1 |
NewerOlder