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
# ceph orch device ls | |
HOST PATH TYPE DEVICE ID SIZE AVAILABLE REJECT REASONS | |
ceph-admin /dev/xvda1 ssd 536M Insufficient space (<5GB), locked | |
ceph-mon /dev/xvda1 ssd 536M Insufficient space (<5GB), locked | |
ceph-osd1 /dev/sda hdd QEMU_HARDDISK_drive-scsi0-0-2 214G Insufficient space (<10 extents) on vgs, LVM detected, locked | |
ceph-osd1 /dev/sdc hdd QEMU_HARDDISK_QM00002 2147M Insufficient space (<5GB) | |
ceph-osd2 /dev/xvda1 ssd 536M Insufficient space (<5GB), locked | |
ceph-osd2 /dev/xvda3 ssd 214G In |
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
oki@debian:~/vaultwarden$ find . | |
. | |
./ssl | |
./ssl/xxx.xxx.xxx.pem | |
./docker-compose.yml | |
./haproxy | |
./haproxy/haproxy.cfg | |
./vw-data | |
./vw-data/rsa_key.pub.pem | |
./vw-data/rsa_key.pem |
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
INFLUXDB_USERNAME=foo | |
INFLUXDB_PASSWORD=bar | |
GRAFANA_USERNAME=foo | |
GRAFANA_PASSWORD=bar |
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
import React from 'react' | |
import SubmitButton from '../../common/inputs/submit_button' | |
import request from 'superagent' | |
import { zoomBasedOnRadius } from '../../common/utils/zoom_calculation' | |
const { compose, withProps, withState, withHandlers } = require("recompose"); | |
import { | |
withScriptjs, |
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
- alias: Tuscon home parking - front gate close | |
trigger: | |
platform: state | |
entity_id: proximity.tucon_parking | |
attribute: dir_of_travel | |
to: "stationary" | |
for: | |
minutes: 5 | |
seconds: 42 | |
condition: |
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
version: "3" | |
services: | |
whoami: | |
image: containous/whoami | |
networks: | |
- default | |
- traefik-public | |
deploy: | |
replicas: 1 | |
labels: |
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
FROM ruby:2.3.1 | |
RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && apt-get update -qq && apt-get install -y \ | |
build-essential \ | |
libpq-dev nodejs \ | |
libsodium-dev \ | |
lsof \ | |
vim \ | |
graphicsmagick \ | |
postgresql-client \ | |
locales \ |
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
=> [["203", "1", "721"], | |
["301", "1", "720"], | |
["368", "1", "720"], | |
["385", "1", "720"], | |
["508", "1", "720"], | |
["697", "1", "720"], | |
["812", "1", "720"], | |
["883", "1", "720"], | |
["893", "1", "720"], | |
["907", "1", "720"], |
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
[["203", "1", "721"], | |
["697", "1", "720"], | |
["883", "1", "720"], | |
["893", "1", "720"], | |
["908", "1", "720"], | |
["911", "1", "722"], | |
["944", "1", "720"], | |
["1245", "1", "720"], | |
["1253", "1", "720"], | |
["1301", "1", "721"], |
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
#!/usr/bin/env bash | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates curl vim sudo | |
curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg | |
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list | |
apt-get update | |
apt-get install -y kubelet kubeadm kubectl | |
curl -fsSL https://get.docker.com/ -o get-docker.sh | |
sh get-docker.sh |