Skip to content

Instantly share code, notes, and snippets.

View achmedzhanov's full-sized avatar

Nail achmedzhanov

  • https://mk-sense.com/
  • Russia, Izhevsk
View GitHub Profile
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<!-- log4net color console -->
<log4net>
<appender name="ColoredConsoleAppender" type="log4net.Appender.ColoredConsoleAppender">
<mapping>
<level value="WARN"/>
@achmedzhanov
achmedzhanov / async_spawn.js
Created September 2, 2015 03:41
Аснихронный код с генераторами
function async_spawn(generatorFunc) {
function continuer(verb, arg) {
var result;
try {
result = generator[verb](arg);
} catch (err) {
return Promise.reject(err);
}
if (result.done) {
return result.value;
<filter type="log4net.Filter.LoggerMatchFilter">
<loggerToMatch value="Only.Logger.To.Match" />
</filter>
<filter type="log4net.Filter.DenyAllFilter" />
DEBUG 2015-09-25 14:03:56,680 [20] Midway.Crypto.Sign.Enhancing.EnhanceSignService [signId:6cdd1064-8d69-4694-81a7-a2aa33a0bc48] [NDC:Enhance] - ### Усовершенствование подписи ###
DEBUG 2015-09-25 14:03:56,683 [20] Midway.Crypto.Sign.Enhancing.EnhanceSignService [signId:6cdd1064-8d69-4694-81a7-a2aa33a0bc48] [NDC:Enhance] - Извлечение штампа времени на подпись
DEBUG 2015-09-25 14:03:56,692 [20] Midway.Crypto.Sign.Enhancing.EnhanceSignService [signId:6cdd1064-8d69-4694-81a7-a2aa33a0bc48] [NDC:Enhance InnerTimeStamp CreateRevocationData] - Извлечение сертификата подписанта из подписи.
DEBUG 2015-09-25 14:03:56,693 [20] Midway.Crypto.Sign.Enhancing.EnhanceSignService [signId:6cdd1064-8d69-4694-81a7-a2aa33a0bc48] [NDC:Enhance InnerTimeStamp CreateRevocationData] - Построение цепочки доверия сертификата подписанта
DEBUG 2015-09-25 14:03:56,701 [20] Midway.Crypto.Sign.Enhancing.EnhanceSignService [signId:6cdd1064-8d69-4694-81a7-a2aa33a0bc48] [NDC:Enhance InnerTimeStamp CreateRevocationData] - Сбор и проверка доказа
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
param(
[string]$vsTestVersion,
[string]$testAssembly,
[string]$testFiltercriteria,
[string]$runSettingsFile,
[string]$codeCoverageEnabled,
[string]$pathtoCustomTestAdapters,
[string]$overrideTestrunParameters,
[string]$otherConsoleOptions,
[string]$platform,
@achmedzhanov
achmedzhanov / performance.now()-polyfill.js
Created April 17, 2016 12:05 — forked from paulirish/performance.now()-polyfill.js
performance.now() polyfill (aka perf.now())
// @license http://opensource.org/licenses/MIT
// copyright Paul Irish 2015
// Date.now() is supported everywhere except IE8. For IE8 we use the Date.now polyfill
// github.com/Financial-Times/polyfill-service/blob/master/polyfills/Date.now/polyfill.js
// as Safari 6 doesn't have support for NavigationTiming, we use a Date.now() timestamp for relative values
// if you want values similar to what you'd get with real perf.now, place this towards the head of the page
// but in reality, you're just getting the delta between now() calls, so it's not terribly important where it's placed
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.