View ZebraPuzzleLinq.cs
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
#nullable enable | |
/* Zebra Puzzle: https://en.wikipedia.org/wiki/Zebra_Puzzle | |
* | |
> The following version of the puzzle appeared in Life International in 1962: | |
> | |
> 1. There are five houses. | |
> 2. The Englishman lives in the red house. | |
> 3. The Spaniard owns the dog. | |
> 4. Coffee is drunk in the green house. |
View Extensions.cs
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
#region Copyright (c) Microsoft. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
View oregon1975.bas
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
8 REM MINNESOTA EDUCATIONAL COMPUTING CONSORTIUM STAFF | |
9 REM PROGRAMMING REVISIONS BY DON RAWITSCH - 1975 | |
11 REM CURRENT VERSION - 3/27/75 | |
15 REM **FOR THE MEANING OF THE VARIABLES USED, LIST LINES 4900-4960** | |
25 PRINT "DO YOU NEED INSTRUCTIONS (YES/NO)"; | |
30 DIM C$[5] | |
35 INPUT C$ | |
40 IF C$="NO" THEN 400 | |
45 PRINT LIN(2) | |
59 REM ***INSTRUCTIONS*** |
View lorem.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
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris eu nibh | |
ultrices, commodo metus placerat, lobortis magna. Vivamus hendrerit aliquam | |
cursus. Nulla tempus neque tellus. Etiam euismod elit vitae odio accumsan | |
bibendum nec et elit. Etiam sed tincidunt nisi. Maecenas ullamcorper placerat | |
nulla, quis fringilla purus pharetra vel. Praesent consequat et metus quis | |
commodo. Maecenas fringilla consequat hendrerit. Sed imperdiet cursus nunc at | |
auctor. Donec ac massa orci. | |
Sed eget gravida lacus. Pellentesque at nibh venenatis, feugiat sapien a, | |
tempor augue. Nullam consequat leo et mauris dictum, et interdum erat gravida. |
View ProgramArguments.cs
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
#nullable enable annotations | |
using System.Collections; | |
using System.Collections.Generic; | |
using DocoptNet; | |
using DocoptNet.Internals; | |
using Leaves = DocoptNet.Internals.ReadOnlyList<DocoptNet.Internals.LeafPattern>; | |
namespace GrpcCurl | |
{ |
View Vipr.Bootstrapper-Arguments.cs
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
#nullable enable annotations | |
using System.Collections; | |
using System.Collections.Generic; | |
using DocoptNet; | |
using DocoptNet.Internals; | |
using Leaves = DocoptNet.Internals.ReadOnlyList<DocoptNet.Internals.LeafPattern>; | |
namespace Vipr | |
{ |
View ProgramArguments.cs
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
#nullable enable annotations | |
using System.Collections; | |
using System.Collections.Generic; | |
using DocoptNet; | |
using DocoptNet.Internals; | |
using Leaves = DocoptNet.Internals.ReadOnlyList<DocoptNet.Internals.LeafPattern>; | |
namespace Devlooped | |
{ |
View ProgramArguments.cs
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
#nullable enable annotations | |
using System.Collections; | |
using System.Collections.Generic; | |
using DocoptNet; | |
using DocoptNet.Internals; | |
using Leaves = DocoptNet.Internals.ReadOnlyList<DocoptNet.Internals.LeafPattern>; | |
namespace NavalFate | |
{ |
View Extensions.cs
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
#region Copyright (c) Microsoft. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
View git-branch-orphan.ps1
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
git stash # 1. save index changes | |
git rm -r --cached . # 2. empty the index | |
git branch orphan ( # 5. create the orphan branch | |
git commit-tree -m 'Empty commit' ( # 4. commit the empty tree | |
git write-tree)) # 3. write the empty index | |
git reset HEAD # 6. revert emptying of the index | |
git stash pop --index # 7. restore stashed changes |
NewerOlder