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 | |
# | |
# Watch current directory (recursively) for file changes, and execute | |
# a command when a file or directory is created, modified or deleted. | |
# | |
# Written by: Senko Rasic <[email protected]> | |
# | |
# Requires Linux, bash and inotifywait (from inotify-tools package). | |
# | |
# To avoid executing the command multiple times when a sequence of |
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
ALTER TABLE forms_fields_validation CHANGE `type` `type` enum('required','email','number','time') COLLATE utf8mb4_unicode_ci NOT NULL; | |
UPDATE `forms_fields_validation` SET `type` = "number" WHERE `type` = ""; | |
RENAME TABLE meta TO old_meta; | |
CREATE TABLE `meta` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`keywords` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`keywords_overwrite` enum('Y','N') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '(DC2Type:enum_bool)', | |
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | |
`description_overwrite` enum('Y','N') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'N' COMMENT '(DC2Type:enum_bool)', |
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 | |
rsync -Xrupv --delete /vagrant/* /home/ubuntu/dev/bigbluebutton | |
cd ~/dev/bigbluebutton/bbb-common-message/ | |
sbt clean && sbt compile && sbt publish && sbt publishLocal | |
cd ~/dev/bigbluebutton/bbb-common-web/ | |
sbt clean && sbt compile && sbt publish && sbt publishLocal | |
cd ~/dev/bigbluebutton/bbb-apps-common/ | |
sbt clean && sbt compile && sbt publish && sbt publishLocal |
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
sudo apt-get -y install wget git-core ant openjdk-8-jdk-headless | |
# vi ~/.profile | |
# export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
source ~/.profile | |
curl -s "https://get.sdkman.io" | bash | |
source "$HOME/.sdkman/bin/sdkman-init.sh" | |
sdk install gradle 2.12 | |
sdk install grails 2.5.2 | |
sdk install sbt 0.13.9 | |
sdk install maven 3.5.0 |
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 | |
# Ensure the script is run with superuser privileges | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
# Update packages and the system | |
apt update && apt upgrade -y |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"*" | |
] | |
}, |