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
################### | |
# compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.pdb | |
*.dll.config | |
*.cache |
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.Runtime.InteropServices; | |
using System.Text; | |
namespace GoSharedDLL | |
{ | |
class Program | |
{ | |
[DllImport("shared.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] | |
private static extern IntPtr ReturnReversedString(byte[] input); |
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
<# | |
.Description | |
Setup-WSL-Port-Forwarding function forwards commonly used ports from host to WSL. | |
The forwarded ports include standard HTTP, HTTPS, Postgres, Redis and other development ports. | |
Run: | |
Setup-WSL-Port-Forwarding.ps1 | |
#> | |
$PortsToForward = @(80, 443, 1025, 3000, 3001, 4444, 5000, 5900, 8025, 8080, 8081, 8888, 8900, 9090, 9091, 9190, 9191, 5432, 6379) |
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
global using Microsoft.CodeAnalysis; | |
global using Microsoft.CodeAnalysis.CSharp.Syntax; | |
using System.Diagnostics; | |
namespace Srcgen; | |
/// <summary> | |
/// Author: Saahil Claypool | |
/// https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md |