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
<html> | |
<body> | |
<table style="width:100%; padding:15px; background-color:black;"> | |
<tr> | |
<th style="width:40%"><h7>Home</h7></th> | |
<th style="width:20%"><h3>Game 1</h5></th> | |
<th style="width:40%"><h7>Away</h7></th> | |
</tr> | |
<tr> | |
<td style="padding: 15px; text-align:center"><h3>Mönchengladbach Wolfpack</h3></td> |
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
function myCircleFunction() { | |
var x = document.getElementById("my_circle_svg"); | |
if (x.style.width === "100%") { | |
x.style.width = "50%"; | |
} else { | |
x.style.width = "100%"; | |
} | |
} |
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.Drawing; | |
using System.Linq; | |
using System.Threading; | |
namespace Snake | |
{ | |
public enum Direction { Stop, Up, Down, Left, Right } |
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
// based on the work of JerryNixon | |
// find origin code here | |
// https://gist.github.com/JerryNixon/52e2821cdf888a3c492e22397c4b5dda | |
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Linq; | |
using System.Threading; |
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
[HttpPost] | |
[ApiExplorerSettings(GroupName = "v2")] | |
public void Post([FromBody]Product product) |
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; | |
int? x = 3; | |
if (x is int) | |
Console.WriteLine(x); | |
x = null; | |
if (x is null) | |
Console.WriteLine("x is null"); |