See: http://codingdojo.org/kata/DictionaryReplacer/
using System;
import argparse | |
import requests | |
def parse_command_line_args(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('-t', '--token', required=True) | |
parser.add_argument('-n', '--name', required=True) | |
args = parser.parse_args() | |
return args.token, args.name |
See: http://codingdojo.org/kata/DictionaryReplacer/
using System;
See:
Create a Docker machine named default
, sharing D:\
(only one drive can be specified):
#!/bin/bash | |
# See: https://docs.microsoft.com/en-us/sql/linux/tutorial-restore-backup-in-sql-server-container | |
SA_PASSWORD=<YourStrong!Passw0rd> | |
function show_info { | |
tput setaf 6; echo $1; tput sgr 0 | |
} | |
show_info 'Pulling the container image...' |
param ( | |
[Parameter(Mandatory = $true)] | |
[string] $gitHubUsername | |
) | |
$env:GIT_CONFIG_GLOBAL = '/dev/null' | |
$env:GIT_CONFIG_SYSTEM = '/dev/null' | |
Remove-Item -Recurse -Force $HOME\.dotfiles -ErrorAction Ignore |