Skip to content

Instantly share code, notes, and snippets.

View MaxwellRU's full-sized avatar
🇷🇺
.

MaxwellRU

🇷🇺
.
  • Samara, Russia
View GitHub Profile
@MaxwellRU
MaxwellRU / ohmyposhv3-v2.json
Created October 22, 2021 14:37 — forked from shanselman/ohmyposhv3-v2.json
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
Initialize engine version: 5.0.0f4 (5b98b70ebeb9)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [nvldumdx.dll 27.21.14.5671]
Renderer: NVIDIA GeForce GTX 980
Vendor: NVIDIA
VRAM: 4053 MB (via DXGI)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 NULL=1 RESZ=0 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: D:\steam\steamapps\common\My Summer Car\mysummercar_Data\Managed\UnityEngine.dll (this message is harmless)
@MaxwellRU
MaxwellRU / functions.php
Last active October 29, 2019 04:54
Функция debug для Битрикс
<?function debug($var, $die = false, $all = false) {
global $USER;
if( $USER->IsAdmin() || $all == true ) { ?>
<font style="text-align: left; font-size: 9px;line-height: 1;display:block;clear:both"><pre><?print_r($var)?></pre></font>
<? } if($die) {
die;
}
}?>
@MaxwellRU
MaxwellRU / readme.md
Last active January 25, 2024 14:00
Название раздела и элемента в хлебных крошках, вместо SEO поля. Bitrix

Не забываем подключать файл в шаблоне хлебных крошек.

Для этого в самом начале шаблона, сразу после подключения пролога, добавляем строчку:

include_once 'result_modifier.php';