Verifying that "maverik.id" is my Blockstack ID. https://onename.com/maverik
This file contains hidden or 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.Runtime.InteropServices; | |
using System.Runtime.InteropServices.ComTypes; | |
using System.Reflection; | |
using System.IO; | |
using System.Windows; | |
using System.Windows.Forms; |
This file contains hidden or 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
// this snippet can be easily used in any normal c# project as well by simply removing the .Dump() methods | |
// and saving the output into a variable / file of your choice. | |
// you'll need to add BouncyCastle.Crypto nuget to use this. | |
// tested on 1.8.1 | |
// OUTPUTS: CSR, Private Key, Public Key, Self-signed Certificate | |
using Org.BouncyCastle.Asn1; | |
using Org.BouncyCastle.Asn1.Cms; | |
using Org.BouncyCastle.Asn1.Pkcs; | |
using Org.BouncyCastle.Asn1.X509; |
This file contains hidden or 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
static readonly SerializationTypeConverter Converter = new SerializationTypeConverter(); | |
static readonly Command SelectSerializationDataCommand = new Command("Select-Object") { Parameters = { { "Property", "SerializationData" } } }; | |
static IEnumerable<T> ExchangeSerializerCastTo<T>(IEnumerable<object> results) => results.Where(x => Converter.CanConvertFrom(x, typeof(T))) | |
.Select(x => Converter.ConvertFrom(x, typeof(T), CultureInfo.CurrentCulture, false)) | |
.OfType<T>(); | |
void Main() | |
{ | |
var state = InitialSessionState.CreateDefault2(); | |
//Exchange2010SP3.psm1 was created using `Export-PSSession -OutputModule Exchange2010SP3 -CommandName *` command |
I hereby claim:
- I am maverik on github.
- I am maverik (https://keybase.io/maverik) on keybase.
- I have a public key ASAsTbvDO_BXz021JE9WlDAIOy9tVgQXcXe3WXl44zfx7Qo
To claim this, I am signing this object:
This file contains hidden or 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
https://symbols.nuget.org/download/symbols | |
https://referencesource.microsoft.com/symbols | |
https://msdl.microsoft.com/download/symbols | |
https://srv.symbolsource.org/pdb/Public |
This file contains hidden or 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
-Xms4096m | |
-Xmx8192m | |
-XX:MaxInlineLevel=18 | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-XX:ReservedCodeCacheSize=256m | |
-XX:InitialCodeCacheSize=256m | |
-XX:+UnlockExperimentalVMOptions | |
-XX:ParallelGCThreads=3 | |
-XX:ZAllocationSpikeTolerance=4 | |
-XX:+UseZGC |
This file contains hidden or 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
[wsl2] | |
swap=0 | |
nestedVirtualization=true | |
guiApplications=true | |
#networkingMode=mirrored | |
firewall=false | |
dnsTunneling=true | |
#https://github.com/Locietta/xanmod-kernel-WSL2/releases/ | |
kernel=C:\\bzImage-x64v3 | |
memory=2GB |
Prefix using RFC 4193
Generate bytes from local server
echo "$(date +%s%N)$(cat /var/lib/dbus/machine-id)" | sha1sum | cut -c 31-
output of the form:
65ede472f0 -