Skip to content

Instantly share code, notes, and snippets.

View point111's full-sized avatar

Mikhail point111

  • ru
View GitHub Profile
@point111
point111 / db_backup.cmd
Created June 24, 2025 10:56 — forked from delphinpro/db_backup.cmd
OSPanel 6: Batch database backup and recovery
@echo off
set BASE_BACKUP_DIR=D:\dev\.local_databases
set MYSQL_USER=root
set MYSQL_PASSWORD=
set MYSQL_HOST=mysql-8.0
set MYSQL_PORT=3306
set TIMESTAMP=%date:~-4,4%%date:~-7,2%%date:~0,2%_%time:~0,2%%time:~3,2%
set TIMESTAMP=%TIMESTAMP: =0%
@point111
point111 / modern-form-sending.php
Created November 19, 2022 08:32 — forked from sxidsvit/modern-form-sending.php
Отправка формы с помощью AJAX, PHP и PHPMailer. Валидация формы
// HTML-форма
// Статья: Вменяемая инструкция к PHPMailer “Отправка писем и файлов на почту
// Статья: ”Стилизация и кастомизация File Inputs
<form class="form" action="#" method="post" id="sendform" enctype="multipart/form-data">
<fieldset>
<div class="first-row">
<div class="first-row_first-block">
<input class="first-block__input" name="location" type="text" placeholder="Местонахождение объекта оценки: *"
@point111
point111 / README.MD
Created February 21, 2022 15:36 — forked from artistro08/README.MD
Dynamic Layout builder for OctoberCMS
@point111
point111 / Плавный скролл по якорям.js
Last active December 29, 2015 10:11
Плавный скролл по якорям, для работы требуется jQuery
// Плавный скролл по якорям
$('a[href*=#]').bind("click", function(e) {
var anchor = $(this);
/*
//-- начало -- отступ для фиксированого меню
if (document.documentElement.clientWidth <= 749) {
var otskok = 150;
} else {