Skip to content

Instantly share code, notes, and snippets.

Обновление Postgres Pro Standard с версии 12 на версию 13 (При содействии ChatGPT 4)

Пошаговая инструкция по обновлению Postgres Pro Standard с версии 12 на версию 13 с помощью pg_upgrade

  1. Резервное копирование данных.

    Для начала создайте резервную копию вашей текущей базы данных, на случай если что-то пойдет не так в процессе обновления.

  2. Остановка службы Postgres Pro Standard 12.

@krcm0209
krcm0209 / README.md
Last active November 16, 2024 11:28
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
@ishad0w
ishad0w / sources.list
Last active October 24, 2024 18:44
Debian 11 (Bullseye) -- Full sources.list
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
@ishad0w
ishad0w / sources.list
Last active October 7, 2024 08:22
Debian 10 (Buster) -- Full sources.list
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ buster/updates main contrib non-free
@tomasevich
tomasevich / remove-all-from-docker.md
Last active November 18, 2024 16:09 — forked from beeman/remove-all-from-docker.sh
Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Удалить/очистить все данные Докера (контейнеры, образы, тома и сети)

Одной строкой

docker stop $(docker ps -qa) && docker rm $(docker ps -qa) && docker rmi -f $(docker images -qa) && docker volume rm $(docker volume ls -q) && docker network rm $(docker network ls -q)

Описание команд

@wtw24
wtw24 / docker_rus.md
Last active November 17, 2024 08:28
Шпаргалка с командами Docker

Шпаргалка с командами Docker

1552317264965 1552317537397 1552317711879

1552318467562 1552318531067 1552318577900 1552318614839

@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active November 18, 2024 21:25
crack activate Office on mac with license file
@Yegorov
Yegorov / ya.py
Created January 13, 2018 16:08
Download file from Yandex.Disk through share link
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# https://toster.ru/q/72866
# How to
# wget http://gist.github.com/...
# chmod +x ya.py
# ./ya.py download_url path/to/directory
import os, sys, json