Skip to content

Instantly share code, notes, and snippets.

Roffe's Guide to Setting Up Go and C Compiler on Windows for Fyne Development ( but you really want to use something other than Fyne )
This guide assumes you do not already have other C compilers installed in the system that will interfere with the setup below.
!! LLVM 21.x has a bug that generates invalid object files, the last known working version is 20.1.8. The bug will be fixed once llvm 21.1.3 is released !!
1. Install Go from https://go.dev/doc/install (I installed in C:\Go; any path is fine but adjust steps below accordingly)
2. Download llvm-mingw from https://github.com/mstorsjo/llvm-mingw/releases (As of writing this doc, I used llvm-mingw-20250709-ucrt-x86_64.zip
package main
import (
"crypto/hmac"
"crypto/sha256"
"encoding/base64"
"fmt"
)
func main() {
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: imaginary
spec:
rules:
- host: imaginary.domain.com
http:
paths:
---
apiVersion: v1
kind: Service
metadata:
name: imaginary
labels:
app: imaginary
spec:
ports:
- port: 9000
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: imaginary
spec:
selector:
matchLabels:
app: imaginary
replicas: 1
@roffe
roffe / index.html
Created October 5, 2018 17:53
Matrix rain animation using HTML5 canvas and javascript
<canvas id="c"></canvas>