Code Monkey home page Code Monkey logo

blog's Introduction

Hi ๐Ÿ‘‹, I'm Marc!

I'm a DevOps software engineer. I follow DevOps practices and develop all kinds of software! I also do mobile development with Android Kotlin, and sometimes a bit of game development.

My technical blog: blog.mnguyen.fr (Look at how fast it is! It's running on a Raspberry Pi with only a few MB or RAM!).

๐Ÿ”ง My daily tools

These are the tools I use every day, for prototyping or hobby:

Kubernetes Podman VSCodium Gentoo Linux Go-Logo_Blue img Svelte_Logo

I also use other programming languages and tools... but this isn't a CV.

๐Ÿ”— Contact with me

LI-In-Bug

Don't hesitate to use PGP, I will use your public key too!

PGP

๐Ÿ“Š Some stats

Darkness4's GitHub stats

blog's People

Contributors

darkness4 avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

blog's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
Dockerfile
  • registry-1.docker.io/library/golang 1.22-alpine
  • registry-1.docker.io/library/busybox 1.36.1
github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v4
  • actions/setup-go v5
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/golang.yml
  • actions/checkout v4
  • actions/setup-go v5
  • golangci/golangci-lint-action v5
  • actions/checkout v4
  • actions/setup-go v5
  • actions/checkout v4
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5
gomod
go.mod
  • go 1.22
  • go 1.22.2
  • cdr.dev/slog v1.4.2
  • github.com/Masterminds/sprig/v3 v3.2.3
  • github.com/alecthomas/chroma/v2 v2.13.0
  • github.com/go-chi/chi/v5 v5.0.12
  • github.com/gorilla/feeds v1.1.2
  • github.com/joho/godotenv v1.5.1
  • github.com/litao91/goldmark-mathjax v0.0.0-20210217064022-a43cf739a50f@a43cf739a50f
  • github.com/rs/zerolog v1.32.0
  • github.com/stefanfritsch/goldmark-admonitions v1.1.1
  • github.com/urfave/cli/v2 v2.27.2
  • github.com/yuin/goldmark v1.7.1
  • github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc@37449abec8cc
  • github.com/yuin/goldmark-meta v1.1.0
  • go.abhg.dev/goldmark/anchor v0.1.1
  • go.abhg.dev/goldmark/toc v0.10.0
  • oss.terrastruct.com/d2 v0.6.5

  • Check this box to trigger a request for Renovate to run again on this repository

diagrams like sequence diagrams to replace mmdc

Hey @Darkness4

I am also into htmx...

I noticed that this needs an external system for the mermaid diagrams

go generate ./...
{"level":"fatal","error":"generate svg: mmdc: exec: \"mmdc\": executable file not found in $PATH","time":"2023-10-28T14:44:12+02:00","message":"write file failure"}
exit status 1

Been using this one for a while, and you might like it.

https://github.com/terrastruct/d2 is a Golang diagram system that can do the same and can also be used as a lib or exe.

go install oss.terrastruct.com/d2@latest

Assets for testing:

  • save this to disk as sequence.d2:
scorer -> itemResponse.a
itemResponse.a -> item.a.b
item.a.b -> essayRubric.a.b.c
essayRubric.a.b.c -> concept.a.b.c.d
item.a -> essayRubric.a.b
concept.a.b.c.d -> itemOutcome.a.b.c.d.e

scorer.abc -> item.a

itemOutcome.a.b.c.d -> concept.a.b.c
itemOutcome.a.b.c -> essayRubric.a.b
itemOutcome.a.b -> item.a
itemOutcome.a -> itemResponse
itemOutcome.a -> scorer.abc

Test it out.

gen a svg :

d2 sequence.d2 sequence.svg
success: successfully compiled sequence.d2 to sequence.svg in 425.757833ms

gen a png:

d2 sequence.d2 sequence.png
[14:39:59] stdlog: Downloading driver to /Users/apple/Library/Caches/ms-playwright-go/1.20.0-beta-1647057403000
[14:40:07] stdlog: Downloaded driver successfully
Downloading Playwright build of chromium v978106 - 118.4 Mb [====================] 100% 0.0s 
Playwright build of chromium v978106 downloaded to /Users/apple/Library/Caches/ms-playwright/chromium-978106
Downloading Playwright build of ffmpeg v1007 - 1 Mb [====================] 100% 0.0s 
Playwright build of ffmpeg v1007 downloaded to /Users/apple/Library/Caches/ms-playwright/ffmpeg-1007
success: successfully compiled sequence.d2 to sequence.png in 2.37039625s

sequence

SEO

Missing

<link rel="canonical" href={{ "{ page.url }" | escape }}/>
<meta name="robots" content="index, follow" />
<meta property="og:title" content={{ "{ title or renderData.title or metadata.title }" | escape }}/>
<meta property="og:url" content={{ "{ page.url }" | escape }} />
<meta property="og:description" content={{ "{description or renderData.description}" | escape }} />
<meta property="og:image" content="/static/img/logo.png" />
<meta property="og:type" content="article" />
{{- if .Paginator -}}
 {{- if .Paginator.HasPrev -}}
   <link rel="prev" href="{{ .Paginator.Prev.URL | absURL }}" />
 {{- end -}}
 {{- if .Paginator.HasNext -}}
   <link rel="prev" href="{{ .Paginator.Next.URL | absURL }}" />
 {{- end -}}
{{- end }}

Add 404 page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.