Note that ANY flash update will wreck the extroot configuration. I didn't realize that and had to:
- Take the USB out and reboot so overlay would detach
 - Repartition/format the USB
 - Set up extroot from scratch.
 
Note that ANY flash update will wreck the extroot configuration. I didn't realize that and had to:
| function Prompt(){ | |
| $W = Split-Path -leaf -path (Get-Location) | |
| $prompt = Write-Prompt "$($env:UserName)@$($env:ComputerName):" -ForegroundColor Green | |
| $prompt += Write-Prompt $W -ForegroundColor DarkCyan | |
| $prompt += Write-Prompt '>' | |
| return ' ' | |
| } | |
| function Remove-StoppedContainers { | |
| docker container rm $(docker container ls -q) | 
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "AllowAllUsersToListAccounts", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "iam:ListAccountAliases", | |
| "iam:ListUsers", | |
| "iam:GetAccountPasswordPolicy", | 
| public class ExampleAutoDataSpecimenBuilder : ISpecimenBuilder | |
| { | |
| private readonly object[] _data; | |
| public ExampleAutoDataSpecimenBuilder(object[] data) | |
| { | |
| _data = data; | |
| } | |
| public object Create(object request, ISpecimenContext context) | 
| /// <summary> | |
| /// Sets the step argument conversion infrasuructure as default for CreateSet and CreateInstance | |
| /// </summary> | |
| /// <remarks> | |
| /// This method has to be called once, in a static ctor for example. Note: this way of setting is not | |
| /// supported for parallel execution. | |
| /// </remarks> | |
| private static void SetupStepArgumentConverterValueRetriever() | |
| { | |
| var assistService = TechTalk.SpecFlow.Assist.Service.Instance; | 
| using System.Web; | |
| using System.Web.Optimization; | |
| namespace WebApplication4 | |
| { | |
| public class BundleConfig | |
| { | |
| // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 | |
| public static void RegisterBundles(BundleCollection bundles) | |
| { | 
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Web.Http; | |
| using System.Web.Http.Controllers; | |
| using System.Web.Http.Filters; | |
| using Castle.Windsor; | |
| using Algorythmic.Web.API.Filters; | |
| namespace Algorythmic.Web.API.Windsor.Filters | |
| { | 
| using System.Web; | |
| using System.Web.Optimization; | |
| namespace WebApplication4 | |
| { | |
| public class BundleConfig | |
| { | |
| // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 | |
| public static void RegisterBundles(BundleCollection bundles) | |
| { | 
| #delete all the remote tags with the pattern your looking for, ie. DEV- | |
| git tag | grep <pattern> | xargs -n 1 -i% git push origin :refs/tags/% | |
| #delete all your local tags | |
| git tag | xargs -n 1 -i% git tag -d % | |
| #fetch the remote tags which still remain | |
| git fetch |