In order to test all oh-my-posh templates:
- Set in your
.zshrc
file:
source ~/test_script.sh
- Save the script to the file
~/test_script.sh
rsync -azP --delete source_dir/ destination | |
# -a (archive mode) sync option (recursion, keep the same symlinks, preserve file attributes ex. premissions, time) | |
# -z compress file data during the transfer | |
# -P show progress | |
# --delete delete extra files | |
# -e specify the remote shell to use | |
rsync -azP --delete -e "ssh -p 22 -i ~/.ssh/key" source destination | |
# receiving file list ... | |
# 1 file to consider |
# komendy do installacji na ubuntu | |
GIT_NAME="bajorekp" | |
GIT_EMAIL="bajorekp@gmail.com" | |
# install Java 8 from oracle | |
sudo apt-get update && \ | |
sudo add-apt-repository -y ppa:webupd8team/java && \ | |
sudo apt-get update && \ |
# komendy do installacji na ubuntu | |
GIT_NAME="bajorekp" | |
GIT_EMAIL="bajorekp@gmail.com" | |
sudo yum update | |
sudo yum groupinstall -y development | |
sudo yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs python35 | |
#!/usr/bin/env ruby | |
require 'optparse' | |
require 'net/http' | |
options = { | |
last_ip_file: "/var/www/last_ip.txt", |
version: "3" | |
services: | |
db: | |
image: postgres:10.1 | |
env_file: | |
- postgres_env | |
ports: | |
- '5432:5432' | |
restart: always |
In order to test all oh-my-posh templates:
.zshrc
file:source ~/test_script.sh
~/test_script.sh