I hereby claim:
- I am mlehmk on github.
- I am mlehmk (https://keybase.io/mlehmk) on keybase.
- I have a public key ASC7yOFmN2BAKOqmhGis2OhPIjfXW9lX1lmhBuUmNgsxgQo
To claim this, I am signing this object:
using System; | |
using System.Collections; | |
using System.Globalization; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.Serialization; | |
using System.Text; | |
namespace HaSeWaWiModule | |
{ |
/* minimalistic AMD implementation (experimental) | |
* put following script as first before all other script tags in the header | |
<script> | |
function define(){define.$.push(arguments)}define.$=[];define.amd={}; | |
</script> | |
* then load all other scripts in any order with async | |
*/ | |
//define=define||(function(){var define=function(){define.$.push(arguments);};define.$=[];define.amd={};return define;})(); | |
(function(global){ | |
"use strict"; |
I hereby claim:
To claim this, I am signing this object:
using System; | |
using System.Runtime.CompilerServices; | |
using System.Threading; | |
namespace CustomNamespace | |
{ | |
public class Guard | |
{ | |
private SemaphoreSlim _semaphore = new SemaphoreSlim(1); |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Security.Permissions; | |
using System.Text; | |
namespace Compression | |
{ | |
public class RangeCoder : IDisposable | |
{ |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Security.Cryptography; | |
public class HashingStream : CryptoStream | |
{ | |
private readonly SHA256 _hasher; | |
private string _hash = null; | |
private byte[] _hashBytes = null; |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<UseCommonOutputDirectory>true</UseCommonOutputDirectory> | |
</PropertyGroup> | |
<Target Name="AfterBuild"> | |
<Copy SourceFiles="@(ReferenceCopyLocalPaths)" DestinationFiles="@(ReferenceCopyLocalPaths->'$(SolutionDir)$(Configuration)\lib\%(DestinationSubDirectory)%(Filename)%(Extension)')" Condition="'%(ReferenceCopyLocalPaths.Extension)' == '.dll' Or '%(ReferenceCopyLocalPaths.Extension)' == '.pdb'"/> | |
</Target> | |
<Target Name="AfterClean"> | |
<RemoveDir Directories="$(SolutionDir)$(Configuration)\lib"/> | |
</Target> |
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] | |
private static char HexDigit(int p) | |
{ | |
if (p < 10) return (char)(48 + p); | |
return (char)(87 + p); | |
} | |
public static string ToHexString(this byte[] ba) | |
{ | |
char[] digits = new char[ba.Length * 2]; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace NotifyImpl |
grammar CsExpression; | |
options { | |
language=CSharp3; | |
TokenLabelType=CommonToken; | |
output=AST; | |
ASTLabelType=CommonTree; | |
} | |
@lexer::namespace{ExpressionParser} |