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
services: | |
minio: | |
image: minio/minio | |
restart: on-failure | |
env_file: .env | |
environment: | |
MINIO_ROOT_USER: $USER_NAME | |
MINIO_ROOT_PASSWORD: $PASSWORD | |
MINIO_ACCESS_KEY: $USER_NAME | |
MINIO_SECRET_KEY: $PASSWORD |
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
set actions to {"up", "down"} | |
set action to choose from list actions with prompt "Select your action:" | |
if action = false then | |
else | |
if action = {"up"} then | |
tell application "Terminal" | |
activate | |
do script ("cd /Users/emreayrilmaz/Projects/github/docker-builds/pgadmin4/ && docker-compose up -d") |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net5.0</TargetFramework> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="Libext"> | |
<HintPath>Libext.dll</HintPath> |
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
cd var/www | |
mkdir -p proje | |
sudo chown -R www-data: /var/www/proje | |
sudo nano /etc/nginx/sites-available/proje.conf | |
server { | |
listen 80; | |
server_name proje.domain.com; | |
location / { | |
proxy_pass http://localhost:5000; |
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
#create | |
ssh-keygen -t rsa | |
#copy | |
pbcopy < ~/.ssh/id_rsa.pub | |
#paste to remote machine | |
nano ~/.ssh/authorized_keys |
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
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
Git clone https://github.com/abertsch/Menlo-for-Powerline.git | |
Theme -> agnoster | |
open ~/.zshrc | |
Source ~/.zshrc |
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 install python-certbot-nginx -y | |
sudo certbot --nginx -d proje.com | |
sudo certbot renew --dry-run |
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 update | |
wget https://dl.min.io/server/minio/release/linux-amd64/minio | |
sudo chmod +x minio | |
sudo mv minio /usr/local/bin | |
sudo useradd -r minio-user -s /sbin/nologin | |
sudo chown minio-user:minio-user /usr/local/bin/minio | |
sudo mkdir /usr/local/share/minio | |
sudo chown minio-user:minio-user /usr/local/share/minio | |
sudo mkdir /etc/minio | |
sudo chown minio-user:minio-user /etc/minio |
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 install xvfb libfontconfig wkhtmltopdf | |
#test | |
xvfb-run wkhtmltopdf http://google.com google.pdf |
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 update && sudo apt install wget -y | |
sudo apt install apt-transport-https -y | |
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
sudo apt update | |
sudo apt install rabbitmq-server | |
systemctl status rabbitmq-server.service | |
sudo nano /etc/default/rabbitmq-server |
NewerOlder