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
/* Instructions | |
This guide assume that admin has added dark-mode from https://github.com/pbaity/rocketchat-dark-mode/blob/master/dark-mode.css and | |
https://github.com/pbaity/rocketchat-dark-mode/blob/master/dark-mode-toggle.js | |
for more detail about how to install these files, please refer to : https://github.com/pbaity/rocketchat-dark-mode | |
## Updating RC with Slack Style | |
1. Navigate to [rocket-chat-url]/admin/settings/General, and disable: "Enable Content-Security-Policy" |
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 | |
# Recursively delete an entire directory in S3, including versions and deletemarkers. | |
# Modify these variables: | |
BUCKET="_bucket_" | |
PROFILE="_profile_" | |
PREFIX="_directory_prefix_" | |
# Delete Object Versions: |
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 | |
set -e | |
set -o pipefail | |
# https://gist.github.com/sdarwin/ffc5fed82b6128a7549fd6d5696d98a8 | |
# | |
# Based on https://gist.github.com/innovia/fbba8259042f71db98ea8d4ad19bd708 | |
# Add user to k8s using service account, no RBAC (must create RBAC after this script) | |
if [[ -z "$1" ]] || [[ -z "$2" ]]; then |
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/python3 | |
# Replaces indented code with fenced code blocks | |
import re | |
import glob | |
skiplist=['doc/src/concepts.md', 'doc/src/faq.md'] | |
def replfunction1(matchobj): |