Skip to content

Instantly share code, notes, and snippets.

Luke Merrett lukemerrett

Block or report user

Report or block lukemerrett

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
View Basic_Game.lua
in_progress = 0
start_end_game = 1
game_over = 2
left=0 right=1 up=2 down=3
valid_moves = {left,right,up,down}
function _init()
player = {}
player.x = flr(rnd(120))
lukemerrett / CalculateACICosts.fsx
Created May 6, 2018
Calculates the cost of an Azure Container Instances container
View CalculateACICosts.fsx
// Calculates the cost of an Azure Container Instances container
// Using the default Linux container with 1 vCpu and 1.5GB vRAM
[<Measure>] type gb
[<Measure>] type cores
[<Measure>] type sec
[<Measure>] type gbPerSec = gb/sec
[<Measure>] type corePerSec = cores/sec
lukemerrett / Program.cs
Last active Nov 26, 2018
When Does Await Actually Wait
View Program.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace WhenDoesAwaitActuallyWait
public class Program
public static void Main(string[] args)
lukemerrett / 01_StateMachineDefinition.json
Last active Nov 25, 2019
AWS Step Functions Workshop - Code Snippets
View 01_StateMachineDefinition.json
"StartAt": "Create User",
"States": {
"Create User": {
"Type": "Task",
"Resource": "arn:aws:lambda:REGION:ACCOUNT_ID:function:FUNCTION_NAME",
"Next": "Assign Roles"
"Assign Roles": {
"Type": "Task",
You can’t perform that action at this time.