mkdir -p ~/.vim/pack/local/start
cd ~/.vim/pack/local/start
git clone https://github.com/editorconfig/editorconfig-vim.git
mkdir -p ~/.vim/pack/themes/start
cd ~/.vim/pack/themes/start
# Refresh statusbar every second | |
set-option -g status-interval 1 | |
# status bar (dracula) | |
set-option -g message-style "bg=#44475a,fg=#f8f8f2" | |
set-option -g status-style "bg=#44475a,fg=#f8f8f2" | |
set-option -g status-left "#[bg=#50fa7b,fg=#282a36]#{?client_prefix,#[bg=#f1fa8c],} #S " | |
set-window-option -g window-status-format "#[fg=#f8f8f2]#[bg=#44475a] #I #W " | |
set-window-option -g window-status-current-format "#[fg=#f8f8f2,bg=#6272a4] #I #W#{window_flags} " | |
set -g status-right "#[fg=#282a36,bg=#50fa7b] #(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD) " |
#!/bin/bash | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
echo "${green}Hostname of the resource you want to connect to:${reset}" | |
read -e hostname | |
echo "${green}Port of the thing you want to connect to:${reset}" | |
read -e port | |
echo "${green}Connecting (quit with ctrl+c)${reset}" |
#!/bin/bash | |
green=`tput setaf 2` | |
reset=`tput sgr0` | |
echo "${green}Hostname of the resource you want to connect to:${reset}" | |
read -e hostname | |
echo "${green}Port of the thing you want to connect to:${reset}" | |
read -e port | |
echo "${green}Connecting (quit with ctrl+c)${reset}" |
FROM php:7.4-fpm-alpine AS be-build | |
WORKDIR /app/ | |
COPY . . | |
RUN apk add libzip-dev \ | |
&& docker-php-ext-install zip \ | |
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
docker run -d \ | |
--name statping \ | |
-p 8181:8080 \ | |
-v /home/mijndert/statping:/app \ | |
--restart always \ | |
statping/statping |
docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer |
docker run -d \ | |
--name watchtower \ | |
--restart always \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-v /etc/timezone:/etc/timezone:ro \ | |
containrrr/watchtower --cleanup --no-startup-message --schedule "0 0 * * *" |
profiles > general > send text at start | |
tmux ls && read tmux_session && tmux attach -t ${tmux_session:-default} || tmux new -s ${tmux_session:-default} |
UPDATE wp_options SET option_value = replace(option_value, 'http://www.example.com', 'https://www.example.com') WHERE option_name = 'home' OR option_name = 'siteurl'; | |
UPDATE wp_posts SET guid = replace(guid, 'http://www.example.com','https://www.example.com'); | |
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.example.com', 'https://www.example.com'); | |
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.example.com','https://www.example.com'); |