This file contains hidden or 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
Создание симлинков при обращении к d:\domains\chelduma.loc\bitrix переадрессовывает на d:\domains\shared_chelduma.loc\bitrix | |
mklink /D d:\domains\chelduma.loc\bitrix d:\domains\shared_chelduma.loc\bitrix | |
mklink /D d:\domains\smichelduma.loc\bitrix d:\domains\shared_chelduma.loc\bitrix | |
mklink /D d:\domains\chelduma.loc\upload d:\domains\shared_chelduma.loc\upload | |
mklink /D d:\domains\smichelduma.loc\upload d:\domains\shared_chelduma.loc\upload | |
удаление симлинков | |
erase d:\domains\chelduma.loc\upload d:\domains\smichelduma.loc\upload |
This file contains hidden or 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
Private Declare Function ActivateKeyboardLayout _ | |
Lib "user32" (ByVal HKL As Long, ByVal flags As Long) As Long | |
Const kb_lay_ru As Long = 68748313, kb_lay_en As Long = 67699721 | |
Private Sub Worksheet_SelectionChange(ByVal Target As Range) | |
'Так работает для листа Если надо для всей книги то оборачиваем в Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) | |
Select Case Target.Column ' select Column | |
Case 7 ' for column 7 | |
SetRusLayout | |
Case 2 To 6: ' for Columns fron 2 to 6 |
This file contains hidden or 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
Заспрос для отделения таймкодов после расшифровки чата Jazz | |
(<2)*(>\):) | |
Найти даты | |
[0-9]{2}.[0-9]{2}.[0-9]{4} |
This file contains hidden or 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 stuff WHERE EXTRACT(MONTH FROM `birthdate`) = '12' OR EXTRACT(MONTH FROM `birthdate`) = '1' |
This file contains hidden or 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
//Заголовок станицы | |
<? $APPLICATION->SetPageProperty('title', 'Какой-то заголовок (новый)'); ?> | |
//Вывод массива | |
<? | |
//удобный вывод дампа в php.ini | |
function sl_dump($var, $all = false, $die = false) | |
{ | |
global $USER; | |
if(($USER->isAdmin() == 1) || ($all == true)) | |
{ |
OlderNewer