sh install-docker.sh
- log out
- log back in
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 -e | |
# Current Directory | |
CURRENT_DIR=$(pwd) | |
# Header Function | |
function printhead() { | |
clear |
This is a sample script for executing a function with the minutes timer in the specific times using Google Apps Script. For example, when this sample script is used, the following situation can be achieved.
- Execute a function every 10 minutes only in 09:00 - 12:00 and 15:00 - 18:00 for the weekday.
When the above situation is shown as an image, it becomes as follows.
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
jsonData='[{"name": "name#1","value": "value#1"},{"name": "name#2","value": "value#2"}]' | |
for row in $(echo "${jsonData}" | jq -r '.[] | @base64'); do | |
_jq() { | |
echo "${row}" | base64 --decode | jq -r "${1}" | |
} | |
# OPTIONAL | |
# Set each property of the row to a variable | |
name=$(_jq '.name') | |
value=$(_jq '.value') |
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 | |
SECRETFILE=~/.digitalocean | |
if [[ -z $DIGOCEAN_ID ]] || [[ -z $DIGOCEAN_KEY ]]; then | |
if [ -e $SECRETFILE ]; then | |
. $SECRETFILE | |
fi | |
fi |
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
Instruction | |
1. goto: cd /usr/share/jitsi-meet/prosody-plugins/ | |
2. run: sudo patch -b </var/www/jitsi-meet/resources/prosody-plugins/muc_allow_moderator_enter_lobby.patch | |
3. You will see following:- | |
patching file mod_muc_lobby_rooms.lua | |
Hunk #1 succeeded at 1390 (offset 134 lines). | |
4. A backup file be saved in that same folder with named as mod_muc_lobby_rooms.lua.orig | |
================================================================== | |
--- mod_muc_lobby_rooms.lua 2021-09-16 11:43:45.425000000 +0530 | |
+++ mod_muc_lobby_rooms.lua 2021-09-16 11:42:16.435872526 +0530 |
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
<div> | |
<b>Message:</b> | |
<input | |
onchange="sendMessage(this.value)" | |
placeholder="Type and press enter to send message" | |
style="width: 640px" | |
/> | |
</div> | |
<div | |
id="info" |
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 -e | |
PATH=${PATH}:/usr/local/bin | |
# Configure Recordings | |
RECORDINGS_DIR=$1 | |
# Configure MinIO | |
MC_PROTOCOL="YOUR_MINIO_PROTOCOL_HTTP_OR_HTTPS" |
NewerOlder