全部 新建

user:thomas 由用户创建的 Gists

title:mygist 包含指定标题的 Gists

filename:myfile.txt 包含指定文件名的 Gists

extension:yml 包含指定扩展名的 Gists

language:go 包含指定编程语言的 Gists

topic:homelab 具有给定主题的 Gists

注册

登录


全部 新建 注册 登录

所有 Gists

最近 创建
最早 创建
最近 更新
最早 更新
mycroft's Avatar

mycroft / gist:541d690d82c14edabec9d9f24307f03b

0 喜欢
0 派生
1 文件
最后活跃于 1 year ago
1 /* check for step size
2 */
3 if (ch == '/') {
4 /* eat the slash
5 */
6 ch = get_char(file);
7 if (ch == EOF)
8 return EOF;
9
10 /* get the step size -- note: we don't pass the
mycroft's Avatar

mycroft / shell.nix

0 喜欢
0 派生
1 文件
最后活跃于 1 year ago
nix-shell for python + poetry + psycopg
1 # Small nix-shell environment for python 3.10 + poetry
2 #
3 # See https://nixos.wiki/wiki/Python
4 # launch with nix-shell (and not 'nix shell' !)
5 #
6 # nix-shell --run 'python --version; poetry --version'
7 # Python 3.10.13
8 # Poetry (version 1.7.1)
9 #
10 # Also, you can heck https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-mkShell
mycroft's Avatar

mycroft / gist:05b966c824fc4e1a9c253195039539f3

0 喜欢
0 派生
1 文件
最后活跃于 1 year ago
1 docker run \
2 -d \
3 --publish 127.0.0.1:3003:3000 \
4 --name wiki \
5 --restart unless-stopped \
6 --volume=/etc/wikijs/config.yml:/wiki/config.yml \
7 --volume=/var/lib/wikijs:/data \
8 requarks/wiki:2
mycroft's Avatar

mycroft / README.md

0 喜欢
0 派生
1 文件
最后活跃于 1 year ago

README

This is a test gist

This is an update!

上一页 下一页

由 Opengist 强力驱动 ⋅ Load: 62ms⋅

中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文