- Full stack Spin application — https://github.com/fermyon/code-things
- GitHub webhook written in TypeScript — https://github.com/radu-matei/spin-github-webhooks
- QR code generator in C# — https://github.com/radu-matei/qr-generator (demo)
- Static site built with Eleventy (11ty) — https://github.com/radu-matei/eleventy-blog (demo)
- Spin and ChatGPT translator — https://github.com/radu-matei/belter-translator-chatgpt (demo)
- Spin and ChatGPT Chat Application — https://github.com/radu-matei/spin-chatgpt (demo)
- Spin key/value explorer — https://github.com/radu-matei/spin-kv-explorer
- React front-end, TypeScript API — https://github.com/radu-matei/spin-react-fullstack (demo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"net/http" | |
spinhttp "github.com/fermyon/spin/sdk/go/http" | |
) | |
func init() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am radu-matei on github. | |
* I am matei_radu (https://keybase.io/matei_radu) on keybase. | |
* I have a public key ASCGT_84ma77VAaNL4XYmAf_TA7tU_7miY9jdSqpOHcHuAo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare namespace WebAssembly { | |
interface CompileError { | |
} | |
var CompileError: { | |
prototype: CompileError; | |
new(): CompileError; | |
}; | |
interface Global { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM docker:19.03-dind | |
RUN apk add --no-cache \ | |
ca-certificates | |
ENV GOLANG_VERSION 1.11.12 | |
RUN set -eux; \ | |
apk add --no-cache --virtual .build-deps \ | |
bash \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.IO; | |
using Newtonsoft.Json; | |
namespace Cnab.Runtime | |
{ | |
public class Operation | |
{ | |
[JsonProperty("installation_name")] | |
public string Installation { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Newtonsoft.Json; | |
using System.Text.RegularExpressions; | |
using System.Collections.Generic; | |
using NUlid; | |
using Cnab.Bundle; | |
namespace Cnab.Runtime | |
{ | |
public class Claim |
I hereby claim:
- I am radu-matei on github.
- I am matei_radu (https://keybase.io/matei_radu) on keybase.
- I have a public key ASC5EpeI47yN5OvnJWZN-QP7h3_kMahsL0pTAK65n9zTRAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GitPushEvent models the data for a git.push event | |
type GitPushEvent struct { | |
Commits []struct { | |
CommitID string `json:"commitId"` | |
Author struct { | |
Name string `json:"name"` | |
Email string `json:"email"` | |
Date time.Time `json:"date"` | |
} `json:"author"` |