This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Toliman.Cryptography | |
{ | |
/// <summary> | |
/// comparable, equatable byte[] |
This file contains 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
| NTVS | TSLS | |
---------------------------|--------|--------- | |
Show compiler command line | + | - | |
Specify building options | - | + | |
Wraps npm | + | - | |
Generate AMD | - | + | |
Generate CJS | + | + | |
Use node_modules | + | - | |
Clean sollution [1] | + | - | |
Valid import system [2] | + | - |
This file contains 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
export function asyncReduce<T, TR>(list: T[], callback: | |
(prev: Promise<TR>, cur: T, i: number, list: T[], cont: (result: TR) => void, | |
aborter: (reason: any) => void, breaker: (result: TR) => void) => void, | |
interval?: number, initial?: TR): Promise<TR> { | |
return new Promise(function (resolveAll, rejectAll) { | |
var iv = interval || 100; | |
var res: TR = undefined; | |
var shouldSkip = false; | |
var breaker = function (r: TR) { | |
res = r; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains 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
0 = Success | |
1 = Operation not permitted | |
2 = No such file or directory | |
3 = No such process | |
4 = Interrupted system call | |
5 = Input/output error | |
6 = No such device or address | |
7 = Argument list too long | |
8 = Exec format error |
This file contains 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
.floatlabel { | |
display: flex; | |
position: relative; | |
flex-direction: column; | |
width: 300px; | |
margin-top: 20px; | |
} | |
.floatlabel > label { | |
position: absolute; |
This file contains 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
package crossplatformtest; | |
import haxe.Log; | |
import neko.vm.Thread; | |
/** | |
* ... | |
* @author Wizzard | |
*/ | |
class Main |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace CryptoBoxLib.Data | |
{ | |
public class DumbTable<T, V> where T : IEquatable<T> | |
{ | |
public List<KeyValuePair<T, V>>[] Buckets; |
This file contains 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
using System; | |
using System.Net; | |
using Newtonsoft.Json; | |
using System.Security.Cryptography.X509Certificates; | |
namespace Chat | |
{ | |
class Program | |
{ | |
private static bool RemoteCertificateValidate(object sender, X509Certificate cert, X509Chain chain, System.Net.Security.SslPolicyErrors error) |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace GenericEntityFramework | |
{ | |
/// <summary> |
OlderNewer