openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
# !/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" |
To verify that the controller is installed
kubectl get deployment -n kube-system aws-load-balancer-controller
This is what i used nginx controller please update the nginx controller service controller annotations. Once the manifest is applied next
trigger: | |
- '*' | |
pool: | |
name: Default | |
variables: | |
image_name: mcr.microsoft.com/businesscentral/sandbox | |
container_name: Build | |
company_name: My Company |
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.
Livechat rooms and messages both are stored in the same collection, rocketchat_room
& rocketchat_message
.
To first export the livechat rooms as a json file, use mongoexport
like so,
mongoexport --collection=rocketchat_room --db=rocketchat \
--jsonArray -q='{"t": "l"}' --sort='{_id: 1}' --pretty \
--jsonFormat=relaxed --type=json --out=livechat_rooms.json