Skip to content

Instantly share code, notes, and snippets.

View marlinspike's full-sized avatar

Reuben Cleetus marlinspike

  • Chief Architect@Microsoft
  • USA
View GitHub Profile
@marlinspike
marlinspike / wordle_words.txt
Created February 2, 2022 16:56
Words for Wordle
This file has been truncated, but you can view the full file.
a
aah
aahed
aahing
aahs
aardvark
aardvarks
aardwolf
ab
abaci
@marlinspike
marlinspike / gist:95a79ac0ffaa5c079e66775c7012cc18
Created October 29, 2018 14:39
Create an Azure Web App from scratch using PowerShell
# Replace the following URL with a public GitHub repo URL
$gitrepo="https://github.com/Azure-Samples/app-service-web-dotnet-get-started.git"
#Name the web app
$webappname="mywebapp$(Get-Random)"
$location="West Europe"
# Create a resource group.
New-AzureRmResourceGroup -Name myResourceGroup -Location $location
@marlinspike
marlinspike / gist:6ca44a6ec1a2c823b24116f88a9c2773
Created October 29, 2018 14:38
Create and deploy an Azure Web App from scratch using CLI
#!/bin/bash
# Replace the following URL with a public GitHub repo URL
gitrepo=https://github.com/Azure-Samples/app-service-web-dotnet-get-started.git#
#Here's a PHP app you can use to test instead if you'd like
#gitrepo=https://github.com/Azure-Samples/php-docs-hello-world
#Name the web app
webappname=mywebapp$RANDOM
@marlinspike
marlinspike / run.csx
Created May 10, 2018 12:42
Azure function to send email (works with GMail). You can use this as a WebHook URI
#r "Newtonsoft.Json"
using System;
using System.Net;
using Newtonsoft.Json;
using System.Net.Mail;
public static async Task<object> Run(HttpRequestMessage req, TraceWriter log)
{
log.Verbose($"Webhook was triggered!");
@marlinspike
marlinspike / nginx.conf
Created May 3, 2018 12:13
Minimal nginx.conf file for a Proxy Server
server {
listen 80;
server_name localhost;
server_tokens off;
add_header x-proxy-version 0.1;
location / {
proxy_pass http://10.0.1.4:80/;
}
}

Keybase proof

I hereby claim:

  • I am marlinspike on github.
  • I am marlinspike (https://keybase.io/marlinspike) on keybase.
  • I have a public key ASAukyJ6T9vOBozlhhjXaNtq_zQHJZLTTXjJytMgNtZqbAo

To claim this, I am signing this object: