export KUBE_EDITOR='code --wait'
Running k edit ...
will open up the yaml using Visual Studio Code.
{ | |
"value": [ | |
{ | |
"id": "/subscriptions/c3dfd792-49a4-4b06-80fc-6fc6d06c4742/locations/eastasia", | |
"name": "eastasia", | |
"displayName": "East Asia", | |
"longitude": "114.188", | |
"latitude": "22.267" | |
}, | |
{ |
trigger: | |
- '*' | |
pool: | |
name: Default | |
variables: | |
image_name: mcr.microsoft.com/businesscentral/sandbox | |
container_name: Build | |
company_name: My Company |
/* | |
Given a string, your task is to replace each of its characters by the next one in the English alphabet; i.e. replace a with b, replace b with c, etc (z would be replaced by a). | |
Example | |
For inputString = "crazy", the output should be alphabeticShift(inputString) = "dsbaz". | |
*/ | |
function alphabeticShift(inputString) { | |
let newStr = []; |
global: | |
resolve_timeout: 1m | |
slack_api_url: 'https://hooks.slack.com/services/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' | |
route: | |
receiver: 'slack-notifications' | |
receivers: | |
- name: 'slack-notifications' | |
slack_configs: |
name: Azure Static Web Apps CI/CD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
branches: | |
- main |
View: Pods(<namespace>)[number of pods listed] | |
NAME pod name | |
READY number of pods in ready state / number of pods to be in ready state | |
RESTARTS number of times the pod has been restarted so far | |
STATUS state of the pod life cycle, such as Running | ... | Completed | |
CPU current CPU usage, unit is milli-vCPU | |
MEM current main memory usage, unit is MiB | |
%CPU/R current CPU usage as a percentage of what has been requested by the pod | |
%MEM/R current main memory usage as a percentage of what has been requested by the pod |
Rocket Chat search supports the use of "regular expressions", the benefits of which are great search flexibility and the ability to search chat entries in any language, even ones which are traditionally a challenge for search (e.g. "CJK" languages - Chinese, Japanese, Korean).
Regular expressions are a deep, but admittedly geeky topic. The flexibility of "regex" search increases as you learn more about how to write regex patterns, but if you learn just a couple of simple patterns, you can benefit right away.
Let's see a few simple examples that you can try.
trigger: | |
- '*' | |
pool: | |
name: Default | |
variables: | |
image_name: mcr.microsoft.com/businesscentral/sandbox | |
container_name: Build | |
company_name: My Company |
# !/bin/bash | |
# Rocket.Chat Matrix Federation Setup | |
# Author: Alan Sikora <[email protected]> | |
# https://github.com/alansikora | |
PWD=$(pwd) | |
[[ $1 = "-dev" ]] && DEV=true || DEV=false | |
# Set image versions | |
ROCKETCHAT_IMAGE_TAG="5.4.0" |