全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

註冊

登錄


全部 新建 註冊 登錄

所有 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: 54ms⋅

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