My Pet Projects
- AwesomeBurner.com - simplest RSS aggregator based on NewsArggregator
- Glavpodcast.com - podcast aggregator
Infra Projects
Stack
- Python
- Golang
- PHP
- C++
- C#
- SQL (MySQL, Postgresql)
- NoSQL (CouchDB, MongoDB)
Social
Yet another backup tool
Home Page: https://github.com/vanzhiganov/backup
License: The Unlicense
My Pet Projects
Infra Projects
Stack
Social
Debian / ubuntu
dpkg --get-selections
RHEL/Centos/Fedora
rpm -qa
or
yum list installed
daily: max 7 days
weekly: max 4 weeks
month: max 12 month
make structure and data separated if possible
Like this
[Union:site-and-db-anzhiganov.com]
File = site-anzhiganov.com
Database = mysql-anzhiganov.com
Remote = webdav_yandex
[File:site-anzhiganov.com]
Enabled = yes
Directory = /var/www/anzhiganov.com/
Compression = yes
CompressionLevel = 9
[Database:mysql-anzhiganov.com]
Enabled = yes
Engine = mysql
Host = localhost
User = dbuser
Password = dbpassword
Database = anzhiganovcom
Compression = yes
CompressionLevel = 9
make restore tool
with features:
import easywebdav
webdav = easywebdav.connect(remote['host'], port=remote['port'], protocol=remote['protocol'], username=remote['login'], password=remote['password'])
webdav.download("remote source file", "destination file")
python backupfiles.py
Traceback (most recent call last):
File "backupfiles.py", line 75, in
backup(FilesToBackup)
File "backupfiles.py", line 65, in backup
logging.error(u'Ошибка добавления файла: %s в архив %s' % (l, Backup.filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
like
ArchiveName = %(date)s-%(instance)s-%(task)s
DateFormat = %Y%m%d
or
DateFormat = %A %d.%m.%Y
parameters
%(date)s
%(instance)s
%(task)s
Ini файл с имеющимся паролем для подключения к серверу mysql
Пример:
[client]
password=PasswordStrin1356
Email notifications after finish with errors and short stats.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.