One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
.flex { | |
display: flex | |
} | |
.flex > .full-height { | |
flex: 1 1 auto | |
} |
# TODO use a dedicated backup user, protect gzip file with password etc | |
echo "/var/backups/all-databases.sql.gz { | |
daily | |
rotate 8 | |
nocompress | |
create 640 root adm | |
postrotate | |
mysqldump -uroot --all-databases > /var/backups/all-databases.sql --single-transaction | |
gzip -9f /var/backups/all-databases.sql.sql | |
endscript |
#!/bin/bash | |
PROGNAME=${0##*/} | |
INPUT='' | |
QUIET='0' | |
NOSTATS='0' | |
max_input_size=0 | |
max_output_size=0 | |
usage() |
https://sir-sherwin.blogspot.com.by/2012/04/how-to-access-router.html |
# Minimal makefile for Sphinx documentation | |
# | |
# You can set these variables from the command line. | |
SPHINXOPTS = | |
SPHINXBUILD = sphinx-build | |
SOURCEDIR = . | |
BUILDDIR = _build | |
ROOT_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) |
find /home/salaros -regextype posix-egrep -iregex "(packages-|shaders_|Shader|repository-|_ca|GPU|v3-|.)+?cache" -type d -exec rm -rfv "{}" \; |
## sudo apt install -qy ghostscript imagemagick | |
mkdir -pv pages | |
## gs -dNOPAUSE -dBATCH -sDEVICE=jpeg -r96 -sOutputFile='pages/page-%02d.jpg' 'input.pdf' | |
gs -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r96 -sOutputFile='pages/page-%02d.png' 'input.pdf' | |
## convert -adjoin pages/*.png 'output.pdf' | |
convert -adjoin pages/*.png 'output.pdf' |
# Disable touchpad when mouse is plugged | |
# file: /etc/udev/rules.d/01-touchpad.rules | |
ACTION=="add", ENV{ID_CLASS}="mouse",ENV{DISPLAY}=":0.0", ENV{XAUTHORITY}="/home/salaros/.Xauthority", RUN+="/bin/sh -c 'xinput disable DELL0767:00\ 06CB:7E92\ Touchpad'" | |
ACTION=="remove", ENV{ID_CLASS}="mouse", ENV{DISPLAY}=":0.0", ENV{XAUTHORITY}="/home/salaros/.Xauthority", RUN+="/bin/sh -c 'xinput enable DELL0767:00\ 06CB:7E92\ Touchpad'" |
# | |
LANG=en_US.UTF-8 | |
LC_NUMERIC="be_BY.UTF-8" | |
LC_TIME="ru_RU.UTF-8" | |
LC_MONETARY="be_BY.UTF-8" | |
LC_PAPER="be_BY.UTF-8" | |
LC_NAME="be_BY.UTF-8" | |
LC_ADDRESS="be_BY.UTF-8" | |
LC_TELEPHONE="be_BY.UTF-8" | |
LC_MEASUREMENT="be_BY.UTF-8" |