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
apt update | |
apt install apt-transport-https curl software-properties-common certbot ufw | |
apt-add-repository universe | |
curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c 'gpg --dearmor > /usr/share/keyrings/jitsi-keyring.gpg' | |
echo 'deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/' | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null | |
apt update | |
hostnamectl set-hostname YOUR_DOMAIN | |
# add new line | |
# x.x.x.x meet.YOUR_DOMAIN.org |
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
source 'https://rubygems.org' | |
gem 'devise' | |
gem "cancan" | |
gem 'simple_form' | |
gem 'friendly_id', '~> 5.0.0' | |
gem "paperclip", "~> 4.1" | |
gem 'kaminari' | |
gem "bson_ext" | |
gem 'mongo' |
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
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | |
id: | |
devise: | |
confirmations: | |
confirmed: 'Akun anda telah berhasil dikonfirmasi. Anda telah login.' | |
send_instructions: 'Anda akan menerima e-mail berisi instruksi untuk melakukan konfirmasi akun dalam beberapa menit lagi.' | |
send_paranoid_instructions: "Jika email anda benar-benar terdaftar, anda akan menerima email untuk mengkonfirmasi akun anda dalam beberapa menit lagi." | |
failure: | |
already_authenticated: "Anda telah login." |
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/sh | |
# | |
# init.d script for single or multiple unicorn installations. Expects at least one .conf | |
# file in /etc/unicorn | |
# | |
# Modified by jay@gooby.org http://github.com/jaygooby | |
# based on http://gist.github.com/308216 by http://github.com/mguterl | |
# | |
## A sample /etc/unicorn/my_app.conf | |
## |
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
class User | |
has_attached_file :photo, | |
processors: [:watermark], | |
styles: { | |
medium: { | |
geometry: "300x300>", | |
watermark_path: "#{Rails.root}/public/images/watermark.png", | |
auto_orient: false | |
}, | |
thumb: "100x100>", |