We will use minimalistic Linux distribution called Alpine (5MB)
FROM alpine:latest
RUN apk --update add redis
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
/etc/vconsole.conf | |
KEYMAP="ruwin_ct_sh-UTF-8" | |
LOCALE="ru_RU.UTF-8" | |
CONSOLEMAP= | |
FONT="UniCyr_8x16" | |
USECOLOR="yes" | |
/etc/X11/xorg.conf.d/00-keyboard.conf | |
Section "InputClass" | |
Identifier "system-keyboard" |
#!/bin/bash | |
if [ $# -eq 0 ]; then | |
echo "Usage: ./pushover <message> [title]" | |
exit | |
fi | |
MESSAGE=$1 | |
TITLE=$2 |
-- Create a group | |
CREATE ROLE readaccess; | |
-- Grant access to existing tables | |
GRANT USAGE ON SCHEMA public TO readaccess; | |
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess; | |
-- Grant access to future tables | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess; |
cd /etc/mongod.conf
#security:
# authroization: "enabled"
kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
# ~/.config/gtk-3.0/gtk.css | |
decoration, decoration:backdrop { | |
border-radius: 0; | |
border-width: 0; | |
box-shadow: none; | |
margin: 1px; | |
} |
#!/usr/bin/env bash | |
# Quick setup my zsh | |
# set -Eeuo pipefail | |
# MultiOS block | |
if [[ $(cat /etc/os-release | grep ID_LIKE) == *"debian"* ]]; then | |
echo -e "\nDebian-based system\n" | |
sudo apt update | |
sudo apt install git zsh fzf thefuck wget -y |
#!/usr/bin/env zsh | |
# Quick config my zsh | |
# set -Eeuo pipefail | |
# Fix for Linux TTY | |
if [[ "$OSTYPE" == "linux"* ]]; then | |
sed -i 's/ZSH_THEME="robbyrussell"/if [ "$TERM" = "linux" ]; then\n\ ZSH_THEME="clean"\nelse\n\ ZSH_THEME="robbyrussell"\nfi/' ~/.zshrc | |
echo -e "\nif [ \"\$TERM\" = \"linux\" ]; then\n ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'\nelse\n ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=245'\nfi\n" >> ~/.zshrc | |
fi |