I hereby claim:
- I am alexjamesbrown on github.
- I am alexjamesbrown (https://keybase.io/alexjamesbrown) on keybase.
- I have a public key ASB0Gxr4M3LbZS9krOtmcde-dvUGs6WCzYukAf3R6RCp4go
To claim this, I am signing this object:
{ | |
"basics": { | |
"name": "Alex Brown", | |
"email": "[email protected]", | |
"phone": "07989 697860", | |
"summary": "Dedicated and diverse senior developer / technical lead; I lead by example, with a passion for software architecture and agile practices, and interest in 'getting things done'. My 16+ year career has allowed me to develop a wide skill set which is highly transferable to a range of business situations.", | |
"profiles": [ | |
{ | |
"network": "GitHub", | |
"username": "alexjamesbrown", |
az ad signed-in-user show --query id -o tsv | clip |
76133139c9a0edc998882c32e95affe22e10762aaf5c6c2eb6a17ab2c4c4f94b |
public class Startup | |
{ | |
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | |
{ | |
app.Use | |
( | |
async (context, next) => | |
{ | |
Console.WriteLine("Hello from middleware"); | |
await next.Invoke(); |
I hereby claim:
To claim this, I am signing this object:
[ | |
{ | |
"title": "PURE ELITE", | |
"date": "27-Apr-2019", | |
"beforeEventPrice": "£40.00", | |
"afterEventPrice": "£50.00", | |
"": null, | |
"key": "#NAME" | |
}, | |
{ |
function ClearCache() { | |
UrlFetchApp.fetch("https://api.mattmarshevents.co.uk/events/cache", {method: "delete"}); | |
} |
public static class DeleteCache | |
{ | |
private static readonly HttpClient HttpClient = new HttpClient(); | |
[FunctionName("DeleteEventsCache")] | |
public static async Task<IActionResult> Run( | |
[HttpTrigger(AuthorizationLevel.Anonymous, "delete", Route = "events/cache")] HttpRequest req, | |
ILogger log) | |
{ | |
var zoneId = Environment.GetEnvironmentVariable("CloudflareZoneId"); |
curl -X POST "https://api.cloudflare.com/client/v4/zones/023e105f4ecef8ad9ca31a8372d0c353/purge_cache" \ | |
-H "X-Auth-Email: [email protected]" \ | |
-H "X-Auth-Key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41" \ | |
-H "Content-Type: application/json" \ | |
--data '{"files":["http://www.example.com/css/styles.css",{"url":"http://www.example.com/cat_picture.jpg","headers":{"Origin":"cloudflare.com","CF-IPCountry":"US","CF-Device-Type":"desktop"}}]}' |
function Slugify(title, date) { | |
if (!title) | |
return ""; | |
if(!date) | |
return ""; | |
slug = ''; | |