git clone http://..../foo
cd foo
./foo.sh
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
{ | |
"imports": { | |
"std/": "https://deno.land/[email protected]/" | |
} | |
} |
D:\>one.cmd
success
D:\>cmd /c one.cmd
fail
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 NUnit.Framework; | |
public class Hiker | |
{ | |
[TestFixture] | |
public class Tests | |
{ | |
[Test] | |
public void life_the_universe_and_everything() | |
{ |
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
fun main() { | |
val foo = Foo() | |
val aClass = AClass() | |
aClass.OnBaz = foo::Bar | |
aClass.Do() | |
println(aClass.OnBaz == aClass.OnBaz) | |
println(aClass.OnBaz) | |
} |
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
[TestClass] | |
public class Tests | |
{ | |
[TestMethod] | |
public void TestProgram() | |
{ | |
foreach (var main in new[] { | |
DirectCall.Program.Main1, | |
DependencyInjection.Program.Main2, | |
EventBased.Program.Main3, |
Current:
r extract method
R extract method
R!! extract method
R** clean stuff up
B oh no
B!! oh no
B** oh no
F good stuff
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
interface ITaxInfo { | |
async GetTaxInfo(sin: SIN) -> TaxInfo? | |
class Error {} | |
} | |
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
// requires https://www.nuget.org/packages/FluentAssertions/ | |
using FluentAssertions; | |
using FluentAssertions.Primitives; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
[TestClass] | |
public class UnitTest1 | |
{ | |
[TestMethod] | |
public void TestMethod1() |
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
# I'm experimenting with a GitLab Push Rule to force all commits to follow Arlo's Commit Notation. Here's my latest regex: | |
^([RFB]!!)|([RFBa-z] )|(\*\*\*)[- ].* | |
NewerOlder