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.Security.Cryptography; | |
using System.Diagnostics; | |
using System.Text; | |
// Compile in the VS Developer Command Prompt with: csc /warnaserror+ /optimize+ hasingspeed.cs | |
// This is just a demonstration. :) | |
// Sample output: |
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
password | |
123456 | |
12345678 | |
1234 | |
qwerty | |
12345 | |
dragon | |
pussy | |
baseball | |
football |
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
<VirtualHost *:80 *:443> | |
# A config that scores abysmal in Ivan Ristic's SSL Server Test | |
# https://www.ssllabs.com/ssltest/analyze.html?d=badssl.atlex.nl | |
ServerName badssl.atlex.nl | |
DocumentRoot /home/akamsteeg/sites/badssl.atlex.nl/www | |
<Directory /home/akamsteeg/sites/badssl.atlex.nl/www> | |
Options FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
allow from all |
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
/* | |
Compile: csc.exe /target:library BigLib.cs | |
Output: 140+ MB DLL | |
*/ | |
class A<T1,T2,T3,T4,T5>{class B:A<B,B,B,B,B>{B.B.B.B.B.B.B.B.B.B y;}} |
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
root = true | |
[*.cs] | |
indent_size = 2 | |
indent_style = space | |
trim_trailing_whitespace = true | |
# Enable "this." | |
dotnet_style_qualification_for_field = true:warning | |
dotnet_style_qualification_for_property = true:warning | |
dotnet_style_qualification_for_method = true:warning |
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
[core] | |
autocrlf = false | |
[fetch] | |
prune = true | |
[alias] | |
st = status | |
co = checkout | |
ci = commit |
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
param( | |
[Parameter(Mandatory=$True)][string]$projectName, | |
[Parameter(Mandatory=$True)][string]$projectType, | |
[Parameter(Mandatory=$True)][bool]$createUnitTest=$False | |
) | |
dotnet new sln --name $projectName | |
dotnet new $projectType --name $projectName | |
dotnet sln $projectName.sln add $projectName\$projectName.csproj |
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
root = true | |
[*.cs] | |
indent_size = 2 | |
indent_style = space | |
trim_trailing_whitespace = true | |
# Enable "this." | |
dotnet_style_qualification_for_field = true:warning | |
dotnet_style_qualification_for_property = true:warning | |
dotnet_style_qualification_for_method = true:warning |