1
0
Fork 0

migrate from github to forgejo
Some checks failed
Compile / compile (push) Failing after 18s

This commit is contained in:
Kim, Jimin 2025-06-03 12:49:51 +09:00
parent 83d8bc2ba3
commit be54cfd0b5
Signed by: pomp
GPG key ID: D3932F82A0667A3B
7 changed files with 17 additions and 16 deletions

View file

Before

Width:  |  Height:  |  Size: 261 KiB

After

Width:  |  Height:  |  Size: 261 KiB

Before After
Before After

View file

@ -5,7 +5,7 @@
These are digitized versions of cheat sheets/study notes I've been making since These are digitized versions of cheat sheets/study notes I've been making since
the early 2010s. Made with [Typst](https://typst.app/). the early 2010s. Made with [Typst](https://typst.app/).
![](./.github/img/notes.avif) ![](./.forgejo/img/notes.avif)
## Progress ## Progress

View file

@ -74,17 +74,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1747060738, "lastModified": 1748302001,
"owner": "nixos", "ref": "refs/heads/master",
"repo": "nixpkgs", "rev": "d9dd002a294e676c49e27eae9166f73bd2ae5684",
"rev": "eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1", "revCount": 806557,
"type": "github" "type": "git",
"url": "https://git.pompy.dev/pomp/nixpkgs"
}, },
"original": { "original": {
"owner": "nixos", "type": "git",
"ref": "nixpkgs-unstable", "url": "https://git.pompy.dev/pomp/nixpkgs"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"root": { "root": {

4
devenv.nix vendored
View file

@ -3,8 +3,8 @@
let let
fontsOverlay = import ( fontsOverlay = import (
builtins.fetchTarball { builtins.fetchTarball {
url = "https://github.com/pompydev/nix-google-fonts-overlay/archive/fc0690302d895d6813a51bcd918442f7dc9db49a.tar.gz"; url = "https://git.pompy.dev/pomp/nix-google-fonts-overlay/archive/1c39bc6d96ecfba3ba355c979e288dde1c953678.tar.gz";
sha256 = "sha256:1mvhxl20vbccwzcr55ghlxnr8fnanbzh3jy7l4k2mzin4vmz4qan"; sha256 = "sha256:1cwkvynskgkpr2kzkq9gpf1haxxlw97r0rzl33vi3i1vlzyy224k";
} }
); );
in in

View file

@ -2,6 +2,6 @@
inputs: inputs:
nixpkgs: nixpkgs:
url: github:nixos/nixpkgs/nixpkgs-unstable url: git+https://git.pompy.dev/pomp/nixpkgs
allowUnfree: true allowUnfree: true

View file

@ -1,4 +1,4 @@
#import "@preview/fontawesome:0.5.0": fa-github #import "@preview/fontawesome:0.5.0": fa-git-alt
#import "@preview/tiaoma:0.3.0" #import "@preview/tiaoma:0.3.0"
#let cover( #let cover(
@ -6,7 +6,9 @@
slug: str, slug: str,
) = { ) = {
let HEAD = read("../../.git/refs/heads/master").trim() let HEAD = read("../../.git/refs/heads/master").trim()
let gh = "https://github.com/pompydev/cheatsheets/blob/" + HEAD + "/src/" + slug + "/" + slug + ".typ" let gh = (
"https://git.pompy.dev/pomp/cheatsheets/src/commit/" + HEAD + "/src/" + slug + "/" + slug + ".typ"
)
align( align(
center, center,
@ -24,7 +26,7 @@
gutter: 1fr, gutter: 1fr,
[ [
#align(top)[ #align(top)[
#link(gh)[#fa-github() pompydev/cheatsheets]\ #link(gh)[#fa-git-alt() pomp/cheatsheets]\
git revision: #HEAD.slice(0, 7)\ git revision: #HEAD.slice(0, 7)\
made with #link("https://github.com/typst/typst")[Typst] // https://typst.app/legal/brand/ made with #link("https://github.com/typst/typst")[Typst] // https://typst.app/legal/brand/
] ]