Skip to content

Instantly share code, notes, and snippets.

View pbolduc's full-sized avatar

Phil Bolduc pbolduc

  • NTT Data Services
  • Victoria, BC
View GitHub Profile
@reedacartwright
reedacartwright / generate-world.bash
Created June 28, 2020 00:29
A bash script using xdotool to pregenerate a Minecraft Bedrock world using Linux.
# I use this script to generate a Minecraft world.
# I run a BDS instance with sim distance 12 and a
# instance of the unofficial Linux client.
# Using a server-client setup seems to be more stable
# than running client only.
#
# Make sure your player is in creative and flying before
# you begin.
# Script parameters
@jsauve
jsauve / AsyncDapperDemo.cs
Last active August 18, 2023 17:58
Async Dapper Demo. Includes buffered and non-buffered connection helpers.
using System;
using System.Linq;
using System.Data;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Dapper;
public class Program
{
public static void Main()
namespace crap
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
public class PartialAppPlayground
{
private static Dispatcher<IHandlerResult> _dispatcher;