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.Diagnostics; | |
using System.Linq; | |
namespace EnumTest | |
{ | |
/// <summary> | |
/// Test to discover how well enum lookups are handled in a Dictionary. |
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.Data; | |
using System.Data.Entity; | |
using System.Data.SqlClient; | |
namespace Eclipsoft.Db | |
{ | |
/// <summary> | |
/// Adds an extension method named ExecuteSqlCommandWithReturn | |
/// that extends EntityFramework's Database type (System.Data.Entity.Database) |
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 DotNetXtensions; | |
using static System.Console; | |
namespace Play1 | |
{ | |
public class Prog | |
{ |
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
/* | |
* Original version by Stephen Toub and Shawn Farkas. | |
* Random pool and thread safety added by Markus Olsson (freakcode.com). | |
* | |
* Original source: http://msdn.microsoft.com/en-us/magazine/cc163367.aspx | |
* | |
* Some benchmarks (2009-03-18): | |
* | |
* Results produced by calling Next() 1 000 000 times on my machine (dual core 3Ghz) | |
* |
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.Threading; | |
using System.Collections.Generic; | |
using System.Net.Security; | |
using System.Net.Sockets; | |
using System.Security.Authentication; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Threading.Tasks; | |
namespace ssltest |
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
{} |
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.Globalization; | |
namespace DotNetXtensions | |
{ | |
public struct ColorRGB | |
{ | |
public byte R { get; private set; } |
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
😄 | 1f604 | 128516 | smile | |
---|---|---|---|---|
😆 | 1f606 | 128518 | laughing | |
😊 | 1f60a | 128522 | blush | |
😃 | 1f603 | 128515 | smiley | |
☺ | 263a | 9786 | relaxed | |
😏 | 1f60f | 128527 | smirk | |
😍 | 1f60d | 128525 | heart-eyes | |
😘 | 1f618 | 128536 | kissing-heart | |
😚 | 1f61a | 128538 | kissing-closed-eyes | |
😳 | 1f633 | 128563 | flushed |
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
## To fix "cannot be loaded because running scripts is disabled on this system" (run: 'get-executionpolicy' returns: Restricted) --> | |
## set-executionpolicy remotesigned | |
# Run following to bypass "not digitally signed" issue (fixes per session only) | |
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass | |
$dryRun = $false; | |
$packages = 'packages.txt' #'packages-test.txt' |
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 stuff | |
dotnet | |
dotnet-sdk | |
powershell-core | |
microsoft-windows-terminal | |
7zip | |
#?? 7zip.install | |
# browsers |
OlderNewer