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
import click, sys, os, pprint, subprocess | |
def dump(p, depth, prefix='>'): | |
m = prefix * (depth + 1) | |
for sub in p: | |
print(m, end=' ') | |
print(sub.lower()) | |
print() |
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 Microsoft.Win32; | |
public class GetDotNetVersion | |
{ | |
public static void Main() | |
{ | |
GetDotNetVersion.Get45PlusFromRegistry(); | |
} |
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 Microsoft.Win32; | |
public class GetDotNetVersion | |
{ | |
public static void Main() | |
{ | |
GetDotNetVersion.Get45PlusFromRegistry(); | |
} |
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
import click | |
import os | |
@click.group() | |
def cli(): | |
pass | |
@cli.command(name='all') |
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; | |
using System.Linq; | |
namespace ShowEnv | |
{ | |
class Program | |
{ | |
static void PrintUsage() | |
{ |