Skip to content

Instantly share code, notes, and snippets.

View jimmcslim's full-sized avatar

James Webster jimmcslim

  • Brisbane, Australia
View GitHub Profile
@jimmcslim
jimmcslim / AGENT.md
Created July 28, 2025 23:51
Template AGENT.md - from https://agent.md

Project Name

Provide a high-level overview of the project, including its purpose, scope, and major components. Describe the general structure of the codebase and the separation of concerns between different layers (e.g., client, server, shared utilities).

Build & Commands

Document the key commands for interacting with the project during development and deployment. This may include:

@jimmcslim
jimmcslim / resume.json
Last active August 4, 2024 10:52
My resume
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "James Webster",
"label": "Software engineer",
"email": "[email protected]",
"phone": "+61422036741",
"summary": "I am a technical lead, software architect and lead developer with over 20 years of experience in software development. I have worked in a variety of industries including finance, energy, and software consulting. I have a strong background in software development and architecture, and I have worked in a variety of roles including technical lead, software architect, and lead developer. I have experience in a variety of technologies including Java, C#, and JavaScript, and I have experience in a variety of software development methodologies including Agile and Scrum.",
"location": {
"city": "Brisbane",
@jimmcslim
jimmcslim / something.ign
Created March 11, 2024 14:22
this is a test
blah blah blah
@jimmcslim
jimmcslim / install-tmux-config.sh
Created September 29, 2022 01:56
Install tmux config
#!/bin/bash
# Installs https://github.com/gpakosz/.tmux
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
@jimmcslim
jimmcslim / TestStack.Dossier.Parent.Child.cs
Created October 7, 2019 21:16
Demonstrating constructing parent/child relationships via TestStack Dossier.
using System;
using System.Collections.Generic;
using System.Linq;
using Shouldly;
using TestStack.Dossier;
using TestStack.Dossier.Lists;
using Xunit;
namespace Dossier
{

Keybase proof

I hereby claim:

  • I am jimmcslim on github.
  • I am jimmcslim (https://keybase.io/jimmcslim) on keybase.
  • I have a public key ASBT50ipVd_wUBR-tbIoW1n3GlKj380Bn7vqONIjGzACDgo

To claim this, I am signing this object:

@jimmcslim
jimmcslim / gist:58d82277eaf82a3b8ec4
Created January 25, 2016 03:30
Quick demo of creating a spreadsheet
using System.IO;
using System.Linq;
using OfficeOpenXml; // comes from EPPlus
namespace SpreadsheetGenerationSample
{
class Program
{
static void Main(string[] args)
{
using System;
using System.Security;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Runtime.CompilerServices;
namespace net.visibleblue.util
{
public static class SecureStringExtensions
{
@jimmcslim
jimmcslim / Grok.cs
Created October 28, 2015 07:11
Bare-bones Grok implementation in C#, translated from http://stackoverflow.com/a/23078970/28381
var Types = new Dictionary<string, string>
{
{"WORD", @"\w+"},
{"NUMBER", @"\d+"},
};
var grok = new Regex(@"%{(\w+):(\w+)}");
MatchEvaluator e = match => string.Format("(?<{0}>{1})", match.Groups[2].Value, Types[match.Groups[1].Value]);
var regex = new Regex(grok.Replace("%{WORD:method} %{NUMBER:bytes} %{NUMBER:duration}", e));
@jimmcslim
jimmcslim / RoyalTS-Helpers.ps1
Created September 22, 2015 06:30
A collection of Powershell functions that make the RoyalTS Powershell module a little more sane to work with.
function Load-RoyalDocument
{
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)] [string] $Path
)
$cred = Get-Credential
$store = New-RoyalStore -UserName $cred.UserName
$document = Open-RoyalDocument -Store $store -FileName $path -Password $cred.Password