Skip to content

Instantly share code, notes, and snippets.

View clarkezone's full-sized avatar

James Clarke clarkezone

View GitHub Profile
@clarkezone
clarkezone / main.dart
Created August 14, 2019 20:00
Parsing XML
import 'package:xml/xml.dart' as xml;
void main() {
var st = """
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<status etag="066703a9557dca5d651363e4c24e7406">
<album>BBC Proms: 2019</album>
<artist>BBC Radio 3</artist>
<autofill>34</autofill>
<canMovePlayback>true</canMovePlayback>
@clarkezone
clarkezone / main.go
Last active September 11, 2020 03:05
Hello World for a SSH using Let's Encrypt in GoLang using nGrok and acme autocert
package main
import (
"crypto/tls"
"log"
"net/http"
"fmt"
"golang.org/x/crypto/acme/autocert"
)
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace BSONSerializationTest
{
public class ServiceDescription
{
[BsonId]
@clarkezone
clarkezone / clone.sh
Last active July 16, 2023 14:47
Current github projects
#!/bin/sh
# No set -e so re can rerun when adding new
ssh-add
mkdir -p ~/src/github.com/clarkezone
gh repo clone clarkezone/infra ~/src/github.com/clarkezone/infra
gh gist clone ce40fc823179c2103f2f1ae73e278b9f ~/src/github.com/clarkezone/clonescripts
gh gist clone clarkezone/neovimconfig ~/src/github.com/clarkezone/neovimconfig
gh gist clone clarkezone/neovimconfig-kickstart ~/src/github.com/clarkezone/neovimconfig-kickstart
@clarkezone
clarkezone / flat.yaml
Last active February 10, 2023 14:25
Flattened manifest and kubescore results
apiVersion: v1
kind: Namespace
metadata:
labels:
app: pocketshorten-viper
environment: development
name: pocketshorten
---
apiVersion: v1
data:
@clarkezone
clarkezone / tailscaleoperatortest.yaml
Last active September 11, 2023 15:31
Tailscale operator test
apiVersion: v1
kind: Namespace
metadata:
name: tailscaletest
---
apiVersion: apps/v1
kind: Deployment
metadata:
apiVersion: v1
kind: Namespace
metadata:
name: tailscaletest
---
apiVersion: apps/v1
kind: Deployment
metadata:
@clarkezone
clarkezone / overview.md
Last active January 15, 2025 17:20
Flutter Windows and UWP by Clarkezone

Flutter Support for Universal Windows Platform

This gist is a summary of contributions made by clarkezone, as a spare time hobby project, to bring the Flutter framework to the Universal Windows Platform application programming model for Windows. The result enabled Flutter native apps to run on Windows 10 and XBOX. Aditionally, it enabled Flutter to run on a new variant of Windows targeted at tablets called Windows 10x. A preview of the OS was available at the time in the form of an emulator image target at developers although the OS was later discontinued before release.

The work was released as an alpha in Flutter v2.2; [this writeup](https://visualstudiomagazine.com/articles/2021/05/19/fl