https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
Make sure the following options are off:
Disable pre-fetching
<?php | |
/** | |
* Это стандартный заголовок для какого-либо обработчика AJAX вызова | |
* или обращения к API на Битриксе: всё то, где не выполняется обычная страница сайта. | |
* Коллекция "магических" констант Битрикса, меняя которые под требования скрипта, - | |
* можно существенно снизить нагрузку сервера (меньше исполнения PHP-кода, меньше запросов к БД). | |
* ВНИМАНИЕ! Константы с комментариями - нужно менять их значения или вообще удалять, - | |
* в каждом конкретном применении надо действовать индивидуально | |
*/ |
Можно расширить функционал, добавив в корень модуля файлы addon_options.php
(для админки) и addon_include.php
(для рантайма). Эти изменения сохранится при обновлении базового модуля.
В файле addon_options.php
нужно определить метод showAddonTab()
который отвечает за рендер содержимого карточки.
В файле addon_include.php
можно произвести любые действия и записать их в массив $result. Все содержимое этого массива будет включено в макросы письма.
<?php | |
//(js -> php) code. letter by letter | |
global $n, $i, $id; | |
$n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMN0PQRSTUVWXYZO123456789+/="; | |
$id = 12345; //YOUR USER ID | |
$i = [ | |
'v' => function($e) { | |
return strrev($e); |
<? $APPLICATION->IncludeComponent("bitrix:menu", "menu-template", Array( | |
"ALLOW_MULTI_SELECT" => "N", // Разрешить несколько активных пунктов одновременно | |
"CHILD_MENU_TYPE" => "catalog", // Тип меню для остальных уровней | |
"DELAY" => "N", // Откладывать выполнение шаблона меню | |
"MAX_LEVEL" => "4", // Уровень вложенности меню | |
"MENU_CACHE_GET_VARS" => array( // Значимые переменные запроса | |
0 => "", | |
), | |
"MENU_CACHE_TIME" => "3600", // Время кеширования (сек.) | |
"MENU_CACHE_TYPE" => "N", // Тип кеширования |
<div id="my_container"></div> <!-- Form container --> | |
<!-- JS code from CRM Bitrix24 --> | |
<!-- Added "node" parametr --> | |
<script id="bx24_form_inline" data-skip-moving="true"> | |
(function(w,d,u,b){w['Bitrix24FormObject']=b;w[b] = w[b] || function(){arguments[0].ref=u; | |
(w[b].forms=w[b].forms||[]).push(arguments[0])}; | |
if(w[b]['forms']) return; | |
s=d.createElement('script');r=1*new Date();s.async=1;s.src=u+'?'+r; | |
h=d.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h); | |
})(window,document,'http://cp.silaev.bx/bitrix/js/crm/form_loader.js','b24form'); |
Mozilla is doing it again: detering the addon developers who once made it „big“ (last time was when they forced them from XUL to their new „stable API“ for „long-time compatibility“ – which then proved to change as often as the XUL did before). So again, many of them are „jumping boat“, as they a) have no time to migrate to the new WebExtensions, b) WebExtensions don't offer the APIs required to perform the tasks needed by their addon, c) WebExtensions not even being ready yet (with just a couple of weeks left to the deadline, the API is still changing and far from being completed).
I won't start a rant on „if I wanted a browser that looks like Chrome (Aurora with FF29), behaves like Chrome (only signed addons via a central store), and now feels like Chrome, I'd use Chrome“. Of course that's true, and having to re-configure ~80% of the browser of course lets me consider changing to a different browser (certainly not Chrome, though). But first let's look where we stand (comments, additions and suggestions wel
# Must be run under 32-bit PowerShell as ProfilesApi is x86 | |
[System.Reflection.Assembly]::LoadFrom("C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\ProfilesApi.dll") | Out-Null | |
# This script programmatically applies an Intel XTU profile. | |
# This script can replace the CLI method outlined here: https://www.reddit.com/r/Surface/comments/3vslko/change_cpu_voltage_offset_with_intel_xtu_on/ | |
[ProfilesApi.XtuProfileReturnCode]$applyProfileResult = 0 | |
$profileApi = [ProfilesApi.XtuProfiles]::new() | |
$profileApi.Initialize() | Out-Null |
#!/bin/bash | |
# How to install PHP memcached on CentOS 6.5 | |
# Install dependencies | |
yum install cyrus-sasl-devel zlib-devel gcc-c++ | |
# Get the latest libmemcached | |
wget https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz | |
tar -xvf libmemcached-1.0.16.tar.gz |