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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
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
--- | |
# kubectl -n kube-system create -f create-kube-ceph-pbrc.yaml | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: rbd-provisioner | |
rules: | |
- apiGroups: [""] | |
resources: ["persistentvolumes"] | |
verbs: ["get", "list", "watch", "create", "delete"] |
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
windows "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --type=renderer --field-trial-handle=1300, | |
jjjjjjjjjjjjjjjj915,118jjjjjjjjjj7026613,1jj072 --service-pipe-token=9ssssssssssssssssssssssssssD11E6 --lang=zh- | |
TW --extension-process --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --device-scale- | |
factor=1 --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel- | |
token=964ABssssssssssssssssssssF8D11E6 --renderer-client-id=18 --mojo-platform-channel-handle=6836 /prefetch:1 | |
cloudready /opt/google/chrome/chrome --type=renderer --enable-logging --log-level=1 --use-gl=egl --vmodule=* | |
chromeos/login/*=1,auto_enrollment_controller=1,*/ui/ozone/*=1,*/ui/display/manager/chromeos/*=1,*night_light*=1, | |
power_button_observer=2,webui_login_view=2,lock_state_controller=2,webui_screen_locker=2,screen_locker=2 --field- | |
trial-handle=8702604jjjjjjj1620,jjjjjjjjjjj067910530,131072 --enable-features=Crostini,ExperimentalCrostiniUI -- |
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
nnoremap <leader>lc :terminal curl 'cht.sh/<c-r>=&filetype<cr>/'<left> | |
nnoremap <leader>ld :terminal ddgr <c-r>=&filetype<cr><space> | |
nnoremap <leader>lg :terminal w3m 'https://www.google.com/search?q=<c-r>=&filetype<cr> '<left> | |
nnoremap <leader>lh :terminal how2 -l <c-r>=&filetype<cr><space> |
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
let mapleader = "," | |
let maplocalleader = "_" | |
" Set extra options when running in GUI mode | |
if has("gui_running") | |
set guioptions-=T | |
set guioptions+=e | |
set t_Co=256 | |
set guitablabel=%M\ %t | |
endif |
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
- name: prepare kolla | |
hosts: "all" | |
tasks: | |
- name: remove "localdomain" from hostname | |
lineinfile: path=/etc/hostname regexp='^(.+)\.localdomain$' line="\1" backrefs=yes | |
become: yes |
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 | |
docker stop manila_share | |
docker stop manila_scheduler | |
docker stop manila_api | |
docker stop mistral_api | |
docker stop mistral_executor | |
docker stop mistral_engine | |
docker stop magnum_conductor | |
docker stop magnum_api |
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
nova delete a | |
#ironic node-delete test-b140i | |
openstack image delete bm-deploy-ramdisk | |
openstack image delete bm-deploy-kernel | |
openstack image delete overcloud-full | |
openstack image delete overcloud-full-initrd | |
openstack image delete overcloud-full-vmlinuz | |
sudo rm -f /httpboot/agent.kernel | |
sudo rm -f /httpboot/agent.ramdisk |
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/sh | |
REPODIR="$HOME/osprepo" | |
REPOFILE="$HOME/osp.repo" | |
rm $REPOFILE 2> /dev/null | |
rm -rf /etc/yum.repos.d/* | |
touch $REPOFILE | |
for DIR in `find $REPODIR -maxdepth 1 -mindepth 1 -type d`; do | |
echo -e "[`basename $DIR`]" >> $REPOFILE |