Skip to content

Instantly share code, notes, and snippets.

View danila-panteleev's full-sized avatar

Danila danila-panteleev

View GitHub Profile
@danila-panteleev
danila-panteleev / code.gs
Last active March 14, 2025 04:34
Google Apps Script functions
// get response code for uri
function HTTPResponse(uri)
{
var response_code ;
try {
response_code = UrlFetchApp.fetch(uri).getResponseCode().toString();
}
catch(error) {
response_code = error.toString().match(/returned code (\d\d\d)\./)[1];
}
@danila-panteleev
danila-panteleev / MySql-5.6-installation guide.md
Created September 21, 2023 05:54 — forked from vinodpandey/MySql-5.6-installation guide.md
Install MySQL 5.6.xx on Ubuntu 18.04 & Ubuntu 20.04

MySQL Download URL

https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
Создание пользователя
---------------------
adduser username
usermod -aG sudo username
group username
su username
---------------------------------------
Компиляции python 3.6
----------------------
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev