Skip to content

Instantly share code, notes, and snippets.

Angelo Marano angelo-marano

Block or report user

Report or block angelo-marano

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
angelo-marano / boxstarter.ps1
Last active May 21, 2019 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Install boxstarter:
# . { iwr -useb } | iex; get-boxstarter -Force
# You might need to set: Set-ExecutionPolicy RemoteSigned
# Run this boxstarter by calling the following from an **elevated** command-prompt:
# start<URL-TO-RAW-GIST>
# OR
# Install-BoxstarterPackage -PackageName <URL-TO-RAW-GIST> -DisableReboots

Keybase proof

I hereby claim:

  • I am angelo-marano on github.
  • I am keyshakeangelo ( on keybase.
  • I have a public key ASCVyhXoedXVahx6ekfXDQXv-v9EVZQWITDsVs1PcRZHlAo

To claim this, I am signing this object:

angelo-marano / MyFirstFunctionWithIoC.cs
Created Nov 2, 2018
Service Locator IoC in Azure Function
View MyFirstFunctionWithIoC.cs
public interface IWireCharacterFactory {
string GetWireCharactor();
public class TheBestWireCharacterFactory : IWireCharacterFactory {
public string GetWireCharactor() {
return "Bodie"; //Because he was.
angelo-marano / MyServiceLocator.cs
Created Nov 2, 2018
Really bad service locator
View MyServiceLocator.cs
public interface IServiceLocator {
//This is real bad, don't use this
//There's so much missing from this
void Register<T>(T t);
T Resolve<T>();
public class ServiceLocator : IServiceLocator
angelo-marano / MyFirstFunction.cs
Created Nov 2, 2018
What you see when you start a new Azure function
View MyFirstFunction.cs
public static class MyFirstFunction
public static async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
ILogger log)
log.LogInformation("C# HTTP trigger function processed a request.");
string name = req.Query["name"];
You can’t perform that action at this time.