BlackJack

Old school BlackJack game for Windows. Need to move this to the web/mobile next! https://github.com/mcullinan44/BlackJackNet4.5 0 forks. 0 stars. 0 open issues. Recent commits: cleanup, Matt fix color, matt@mattcullinan.com test, matt@mattcullinan.com sfsfffd, matt@mattcullinan.com refactor, matt@mattcullinan.com

Package libicu60 is not available => solved

I keep getting this when trying to get dotnetcore running on linux: Package libicu60 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ‘libicu60’ has no installation candidate To solve this, I’ve done the

ASP.NET WebForms – Use ICallbackEventHandler to lighten the load of PostBacks

Much has been written over the years regarding the drawbacks of ASP.NET and how MVC/SPAs solve many of these problems, so there’s not much to rehash there. However, if you’re stuck working with older technology, there is a handy tool to make your ASP.NET WebForms site more responsive. Implementing the ICallbackEventHandler interface in your WebForms

CAUTION: This SQL will DELETE all rows in your table

I came across this gem the other day. Fortunately, I ran it locally first. There are two tables. Person and AlienPerson. Lets create the tables and seed with some data. [crayon-68cb5d727b5a0917198044/] Try to run a bad select statement: [crayon-68cb5d727b5aa668041199/] Here’s the baddie. This will delete all data in the Person table: [crayon-68cb5d727b5b0102314363/] [crayon-68cb5d727b5b5107203008/] To get

Nullable booleans reconsidered

If you’re about to use a Nullable<bool>, I would consider using an Enum or other data structure instead. It may help you avoid mistakes when the meaning of NULL is not known. Recently, I mishandled a Nullable<bool>. I won’t go into the details of the mistake, but lets just say it was bad enough to require

XML to Key Value Pairs (Works well for exporting data to Excel)

On a recent project, I had to provide export functionality for a web grid’s data source that contained wildly varying data structures. The XML structure contained anywhere between 1 to 10 levels of nesting and we needed to be able to export this data into an Excel or comma separate values file. This code will show