View php.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
View httpd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This is the main Apache HTTP server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. | |
# In particular, see | |
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> | |
# for a discussion of each configuration directive. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |
View .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea/ | |
.c9/ | |
/bitrix/backup | |
/bitrix/cache | |
/bitrix/managed_cache | |
/bitrix/modules/*.log | |
/bitrix/php_interface/crontab | |
/bitrix/php_interface/dbconn.php | |
/logs |
View html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Настоящая политика конфиденциальности персональных данных (далее — Политика конфиденциальности) действует в отношении всей информации, которую данный сайт, на котором размещен текст этой Политики конфиденциальности, может получить о Пользователе, а также любых программ и продуктов, размещенных на нем.</p> | |
<p>1. ОПРЕДЕЛЕНИЕ ТЕРМИНОВ</p> | |
<p>1.1. В настоящей Политике конфиденциальности используются следующие термины:</p> | |
<p>1.1.1. «Администрация сайта» — уполномоченные сотрудники на управления сайтом, действующие от его имени, которые организуют и (или) осуществляет обработку персональных данных, а также определяет цели обработки персональных данных, состав персональных данных, подлежащих обработке, действия (операции), совершаемые с персональными данными.</p> | |
<p>1.1.2. «Персональные данные» — любая информация, относящаяся к прямо или косвенно определенному или определяемому физическому ли |
View js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var preloaderClosedFlag = 0; | |
$(window).on('load', function () { | |
//------------------------------------------------------------------------ | |
// PRELOADER SCRIPT | |
//------------------------------------------------------------------------ | |
if (!preloaderClosedFlag) { | |
preloaderClosedFlag = 1; | |
$("#preloader").delay(400).fadeOut("slow"); | |
$("#preloader .clock").fadeOut(); |
View sql, bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- перенес в маны | |
Вывести всех пользователей | |
SELECT * FROM pg_shadow; | |
Поменять пароль пользователю | |
ALTER USER "user_name" WITH PASSWORD 'new_password'; | |
командой psql | |
\password user_name |
View gist:a070fb82e0945b4c1949c78c603a18f2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Перенес в мой ман | |
Большая шпора по командам | |
http://help.ubuntu.ru/wiki/%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B0 | |
Update packages | |
sudo apt-get update | |
sudo apt-get upgrade | |
Перезагрузить комп |
View bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Перенес в мой ман https://github.com/igorpronin/my-mans/blob/master/ubuntu/administrating_users.md | |
Ссылки | |
http://help.ubuntu.ru/wiki/%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D0%B8_%D0%B8_%D0%B3%D1%80%D1%83%D0%BF%D0%BF%D1%8B | |
https://losst.ru/kak-posmotret-spisok-polzovatelej-v-ubuntu | |
Работа с пользователями | |
Поменять пользователя | |
su - anotheruser |
View txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Перенесено в мой ман https://github.com/igorpronin/my-mans/blob/master/ssh-zip/ssh.md | |
Пример 1: Копируем файл «file.txt» из удаленного сервера на локальный компьютер. | |
$ scp user@remote.host:file.txt /some/local/directory | |
Пример 2: Копируем файл «file.txt» с локального компьютера на удаленный сервер. | |
$ scp file.txt user@remote.host:/some/remote/directory | |
Пример 3: Копируем папку «dir1» с локального хоста в директорию «dir2» на удаленном хосте. | |
$ scp -r dir1 user@remote.host:/some/remote/directory/dir2 |
View bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy C:\Users\igor\Desktop\AbilityCash\abilitycash_base_1.cash C:\Users\igor\YandexDisk\_AbilityCash\db_archive\%DATE%.cash | |
toast\toast.exe -t "Backup AbilityCash is made" -m "More info in: C:\Users\igor\arch_abi_db.bat" | |
# в качестве уведомлялки для винды используем toaster: https://github.com/nels-o/toaster | |
# привер использования тостера toast -t "Title text" -m "Message text goes here" -p c:\users\me\picture.png | |
# http://stackoverflow.com/questions/13885098/windows-8-notification-service-notification-from-command-prompt |
NewerOlder