Skip to content

Instantly share code, notes, and snippets.

View mijndert's full-sized avatar
💻
Remote

Mijndert mijndert

💻
Remote
View GitHub Profile
@mijndert
mijndert / Dockerfile
Created May 28, 2021 13:31
WIP multi-stage build for Laravel
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
#!/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}"
@mijndert
mijndert / dracula.tmux
Last active September 6, 2022 15:00
Dracula colors for Tmux statusbar
# 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) "