Skip to content

Instantly share code, notes, and snippets.

View igolka97's full-sized avatar

Igor Mayorov igolka97

View GitHub Profile
@igolka97
igolka97 / style.css
Created December 9, 2023 10:46
Disable font smoothing
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-smooth: never;
}
@igolka97
igolka97 / mysql-docker.sh
Created September 1, 2020 19:15 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
module.exports = {
http: function(cont, options, next) {
if (cont.$root.$get('nanobar.value') > 1) {
return false;
}
cont.$root.$get('nanobar').go(20)