Skip to content

Instantly share code, notes, and snippets.

View SergeyParamoshkin's full-sized avatar
🐼

Sergey SergeyParamoshkin

🐼
View GitHub Profile
#!/bin/sh
TMPFILE="/tmp/xtrabackup-runner.$$.tmp"
USEROPTIONS="--user=${MYSQL_USER} --password=${MYSQL_PASSWORD} --host=${MYSQL_HOST}"
BACKDIR=/srv/mysql-bak
BASEBACKDIR=$BACKDIR/base
INCRBACKDIR=$BACKDIR/incr
FULLBACKUPCYCLE=604800 # Create a new full backup every X seconds
KEEP=1 # Number of additional backups cycles a backup should kept for.
START=`date +%s`
@SergeyParamoshkin
SergeyParamoshkin / metrials-go.md
Created August 11, 2021 08:09 — forked from egorsmkv/metrials-go.md
Материалы по Go (golang): мануалы, статьи, книги и ссылки на сообщества

Материалы по Go (golang)

На русском языке

Мануалы и туториалы

  • [Введение в программирование на Go][1]
  • [Маленькая книга о Go][3]
  • [Эффективный Go][2]
  • Есть еще [Краткий пересказ Effective Go на русском языке][4], но 2009 года
### Keybase proof
I hereby claim:
* I am sergeyparamoshkin on github.
* I am serg3091 (https://keybase.io/serg3091) on keybase.
* I have a public key ASDEe5VnTFKCiqqBITtpvvZLm8AEUVoUHBget4MfpljL-Qo
To claim this, I am signing this object:
#navs { position: fixed; left: 4px; bottom: 4px; width: 40px; height: 40px; line-height: 40px; list-style-type: none; margin: 0; padding: 0; text-align: center; color: #fff; cursor: pointer;}#navs>li,#navs:after { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; -webkit-border-radius: 50%; background-color: #4ECDC4;}#navs>li { transition: all .6s; -webkit-transition: all .6s; -moz-transition: .6s;}#navs:after { content: attr(data-close); z-index: 1; border-radius: 50%; -webkit-border-radius: 50%;}#navs.active:after { content: attr(data-open); }#navs a { width: 40px; height: 40px; display: inline-block; border-radius: 50%; -webkit-border-radius: 50%; text-decoration: none; color: #fff; font-size: 0.8em;}
/** * Position icons into circle (SO) * http://stackoverflow.com/q/12813573/1397351 */
.circle-container {
position: relative;
width: 24em;
height: 24em;
padding: 2.8em;
/*= 2em * 1.4 (2em = half the width of an img, 1.4 = sqrt(2))*/
border: dashed 1px;
border-radius: 50%;
margin: 1.75em auto 0;