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
# Node artifact files | |
node_modules/ | |
dist/ | |
# Compiled Java class files | |
*.class | |
# Compiled Python bytecode | |
*.py[cod] |
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
tailf /opt/webdir/temp/site_create_1347145202/status | |
sh fpm.sh capitalan.profycode.pro 74 | |
sh ssl.sh /home/bitrix/ext_www/capitalan.profycode.pro capitalan.profycode.pro |
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
php artisan -V | |
php artisan optimize:clear | |
php artisan make:model Bla | |
php artisan make:controller Bla --resource | |
php artisan schedule:run | |
php artisan route:list | grep bla |
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
<?php | |
$iblock = \Bitrix\Iblock\Iblock::wakeUp($intIblockId); | |
$strIblockClass = $iblock->getEntityDataClass(); | |
// элемент | |
$arParams = array( | |
'select' => array('ID', 'NAME', 'ARTNUMBER_' => 'ARTNUMBER', 'MORE_PHOTO.FILE') | |
); | |
$arElement = \Bitrix\Iblock\Elements\ElementCatalogTable::getByPrimary($intElementId, $arParams)->fetch(); |
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
<?php | |
CModule::IncludeModule('iblock'); | |
$iblockId = 5; | |
Bitrix\Iblock\PropertyIndex\Manager::DeleteIndex($iblockId); | |
Bitrix\Iblock\PropertyIndex\Manager::markAsInvalid($iblockId); |
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
<?php | |
\Bitrix\Main\Loader::includeModule('iblock'); | |
CIBlockSection::ReSort($intIblockId); |
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
DISM.exe /Online /Cleanup-image /Restorehealth | |
sfc /scannow |
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
git checkout -b dev origin/dev | |
git pull --recurse-submodules | |
git reset --hard HEAD | |
git rm --cached bla | |
git push --force | |
git clean -fd | |
git push --set-upstream origin dev |
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
df -h | |
du -sh upload/ | |
tar cfvz upload.tgz upload/ > /dev/null | |
tar cfvj upload.tbz2 upload/ > /dev/null | |
tar xfvz upload.tgz > /dev/null | |
tar xfvj upload.tbz2 > /dev/null | |
ssh-keygen -t ed25519 -C "[email protected]" | |
screen -S bla |
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
<?php | |
// from component | |
$this->SetViewTarget('mycontent'); | |
echo 'bla'; | |
$this->EndViewTarget(); | |
// from other areas | |
$APPLICATION->AddViewContent('mycontent', 'bla'); |
NewerOlder