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 locale-gen "en_US.UTF-8" | |
sudo nano /etc/environment | |
#LC_ALL=en_US.UTF-8 | |
#LANG=en_US.UTF-8 | |
sudo reboot | |
adduser ajenti | |
usermod -a -G admin ajenti | |
apt-get autoremove && apt-get remove apache2* |
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 locale-gen "en_US.UTF-8" | |
sudo nano /etc/environment | |
#LC_ALL=en_US.UTF-8 | |
#LANG=en_US.UTF-8 | |
sudo reboot | |
adduser webapp | |
usermod -a -G admin webapp | |
nano /etc/apt/sources.list.d/pgdg.list |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/xenial64" | |
# config.vm.network "forwarded_port", guest: 80, host: 8282 # WebDAV | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "1024" | |
end | |
config.ssh.forward_agent = true |
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 | |
docker run -p 6379:6379 --restart=unless-stopped -d --name redis redis:alpine |
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 | |
docker run -p 5432:5432 --restart=unless-stopped -d --name postgres -e POSTGRES_PASSWORD=Password1 -e POSTGRES_USER=webapp postgres:9.6.2-alpine |
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
docker run -p 27017:27017 --restart=unless-stopped -d --name mongo 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
--- | |
AllCops: | |
Include: | |
- "**/*.rake" | |
- "**/Gemfile" | |
- "**/Rakefile" | |
Exclude: | |
- vendor/**/* | |
- db/**/* | |
DisplayCopNames: false |
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
rules = { | |
'Layout/AndOr' => 'Style', | |
'Layout/BarePercentLiterals' => 'Style', | |
'Layout/BracesAroundHashParameters' => 'Style', | |
'Layout/ClassAndModuleChildren' => 'Style', | |
'Layout/ClassCheck' => 'Style', | |
'Layout/CollectionMethods' => 'Style', | |
'Layout/CommentAnnotation' => 'Style', | |
'Layout/Encoding' => 'Style', |
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 | |
docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:6.8.4 |
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 | |
docker run -v ~/docker/redmine:/root/shared -p 8080:3000 --restart=unless-stopped -d --name redmine redmine:3.3.0 |
OlderNewer