migrate from github to forgejo
Some checks failed
Compile / compile (push) Failing after 18s
Some checks failed
Compile / compile (push) Failing after 18s
This commit is contained in:
parent
83d8bc2ba3
commit
be54cfd0b5
7 changed files with 17 additions and 16 deletions
Before Width: | Height: | Size: 261 KiB After Width: | Height: | Size: 261 KiB |
|
@ -5,7 +5,7 @@
|
|||
These are digitized versions of cheat sheets/study notes I've been making since
|
||||
the early 2010s. Made with [Typst](https://typst.app/).
|
||||
|
||||

|
||||

|
||||
|
||||
## Progress
|
||||
|
||||
|
|
17
devenv.lock
17
devenv.lock
|
@ -74,17 +74,16 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1747060738,
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1",
|
||||
"type": "github"
|
||||
"lastModified": 1748302001,
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "d9dd002a294e676c49e27eae9166f73bd2ae5684",
|
||||
"revCount": 806557,
|
||||
"type": "git",
|
||||
"url": "https://git.pompy.dev/pomp/nixpkgs"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
"type": "git",
|
||||
"url": "https://git.pompy.dev/pomp/nixpkgs"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
|
4
devenv.nix
vendored
4
devenv.nix
vendored
|
@ -3,8 +3,8 @@
|
|||
let
|
||||
fontsOverlay = import (
|
||||
builtins.fetchTarball {
|
||||
url = "https://github.com/pompydev/nix-google-fonts-overlay/archive/fc0690302d895d6813a51bcd918442f7dc9db49a.tar.gz";
|
||||
sha256 = "sha256:1mvhxl20vbccwzcr55ghlxnr8fnanbzh3jy7l4k2mzin4vmz4qan";
|
||||
url = "https://git.pompy.dev/pomp/nix-google-fonts-overlay/archive/1c39bc6d96ecfba3ba355c979e288dde1c953678.tar.gz";
|
||||
sha256 = "sha256:1cwkvynskgkpr2kzkq9gpf1haxxlw97r0rzl33vi3i1vlzyy224k";
|
||||
}
|
||||
);
|
||||
in
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
inputs:
|
||||
nixpkgs:
|
||||
url: github:nixos/nixpkgs/nixpkgs-unstable
|
||||
url: git+https://git.pompy.dev/pomp/nixpkgs
|
||||
|
||||
allowUnfree: true
|
||||
|
|
|
@ -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"
|
||||
|
||||
#let cover(
|
||||
|
@ -6,7 +6,9 @@
|
|||
slug: str,
|
||||
) = {
|
||||
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(
|
||||
center,
|
||||
|
@ -24,7 +26,7 @@
|
|||
gutter: 1fr,
|
||||
[
|
||||
#align(top)[
|
||||
#link(gh)[#fa-github() pompydev/cheatsheets]\
|
||||
#link(gh)[#fa-git-alt() pomp/cheatsheets]\
|
||||
git revision: #HEAD.slice(0, 7)\
|
||||
made with #link("https://github.com/typst/typst")[Typst] // https://typst.app/legal/brand/
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue