- download the ps file from https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script
- ensure the SDK is installed via
dotnet --list-sdks
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 Newtonsoft.Json; | |
using NUnit.Framework; | |
using System; | |
namespace JSON_empty_string_or_null_to_false_conversion | |
{ | |
public class MyDocument | |
{ | |
public bool MyFlag { get; 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
namespace Sandbox | |
{ | |
public class MyTests | |
{ | |
[Test] | |
public async Task Run_me() | |
{ | |
var numbers = new List<int> { 1, 2, 3, 5, 8 }; | |
var sum = SumAsync(numbers); |
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
<?php | |
declare(strict_types=1); | |
namespace App\Tests\Unit; | |
use LogicException; | |
use PHPUnit\Framework\TestCase; | |
class MyClass {} |
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
from PIL import Image | |
import os, sys | |
path = "c:\\Workspace\Images" | |
dirs = os.listdir( path ) | |
mywidth = 640 | |
def resize_keep_aspect_ration(): | |
for item in dirs: | |
img_path = path + "\\" + item |
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
<?php | |
class dynamic { | |
private $data; | |
public function __construct($data) { | |
$this->data = $data; | |
} | |
public function __call($method, $arguments) { |
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
# update .gitignore properly | |
# after that: | |
git rm -rf --cached . | |
git add . |
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.Reactive.Concurrency; | |
using System.Reactive.Linq; | |
using System.Reactive.Subjects; | |
using System.Threading.Tasks; | |
using FluentAssertions; | |
using NUnit.Framework; | |
namespace Tests | |
{ |
Youtube: Software-Architektur für Entscheider – INNOQ Technology Lunch
Die Komponenten eines Systems, ihre Beziehungen zueinander sowie die Prinzipien und Regeln, denen ihre (Weiter-)Entwicklung folgt. (ISO 42010)
Die Summe der bedeutenden Design-Entscheidungen, die das System formen, wobei >>bedeutend<< anhand der Änderungskosten gemessen wird. (Grady Booch)