All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
mycroft's Avatar

mycroft / gist:541d690d82c14edabec9d9f24307f03b

0 likes
0 forks
1 files
Last active 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 likes
0 forks
1 files
Last active 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 likes
0 forks
1 files
Last active 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 likes
0 forks
1 files
Last active 1 year ago

README

This is a test gist

This is an update!

Newer Older

Powered by Opengist ⋅ Load: 64ms⋅

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