Skip to content

Instantly share code, notes, and snippets.

View frelon's full-sized avatar
🌴
On vacation

Fredrik Lönnegren frelon

🌴
On vacation
View GitHub Profile
@frelon
frelon / Dockerfile
Last active March 19, 2024 14:22
Elemental toolkit RISCV64
ARG GO_VERSION=1.20
FROM --platform=linux/riscv64 riscv64/debian:sid AS elemental-bin
RUN apt update -y && apt-get install golang
ENV CGO_ENABLED=0
WORKDIR /src/
# Add specific dirs to the image so cache is not invalidated when modifying non go files
ADD go.mod .
ADD go.sum .
ADD vendor vendor
@frelon
frelon / .tmux.conf
Created August 12, 2019 12:38
tmux config
bind-key -n M-0 select-window -t 0
bind-key -n M-1 select-window -t 1
bind-key -n M-2 select-window -t 2
bind-key -n M-3 select-window -t 3
bind-key -n M-4 select-window -t 4
bind-key -n M-5 select-window -t 5
bind-key -n M-6 select-window -t 6
bind-key -n M-7 select-window -t 7
bind-key -n M-8 select-window -t 8
bind-key -n M-9 select-window -t 9
@frelon
frelon / test.fs1
Last active January 29, 2018 17:24
let hello world =
Console.WriteLine "Hello " + world + "!"
hello "world"