This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
onny:notizen [2023/12/27 09:16] – [mail] 127.0.0.1 | onny:notizen [2024/05/02 08:29] – [git] 127.0.0.1 | ||
---|---|---|---|
Line 621: | Line 621: | ||
git remote set-url origin gitlab@http-new.pi: | git remote set-url origin gitlab@http-new.pi: | ||
</ | </ | ||
- | tagging | + | |
- | <code bash> | + | |
- | git tag -a v0.1 -m ' | + | |
- | </ | + | |
merge commits from a remote repository | merge commits from a remote repository | ||
+ | |||
<code bash> | <code bash> | ||
git fetch https:// | git fetch https:// | ||
Line 720: | Line 718: | ||
git commit --allow-empty -m 'run tests again' | git commit --allow-empty -m 'run tests again' | ||
git push --set-upstream USERNAME mynewbranch | git push --set-upstream USERNAME mynewbranch | ||
- | </ | ||
- | change message of last git commit | ||
- | <code bash> | ||
- | git commit --amend | ||
</ | </ | ||
force push, remove latest commit of remote repository (origin) | force push, remove latest commit of remote repository (origin) | ||
Line 1225: | Line 1219: | ||
< | < | ||
- | let | + | nixpkgs.config.packageOverrides = pkgs: rec { |
- | + | unstable = import unstableTarball { }; | |
- | # FIXME | + | opensnitch = unstable.opensnitch; |
- | unstableTarball = | + | }; |
- | fetchTarball | + | |
- | https:// | + | |
- | + | ||
- | in | + | |
- | { | + | |
- | + | ||
- | disabledModules = [ | + | |
- | " | + | |
- | " | + | |
- | ]; | + | |
- | + | ||
- | imports = [ | + | |
- | " | + | |
- | / | + | |
- | ]; | + | |
- | | + | |
- | unstable = import unstableTarball { }; | + | |
- | opensnitch = unstable.opensnitch; | + | |
- | }; | + | |
- | # | + | |
</ | </ | ||
Line 1375: | Line 1349: | ||
}; | }; | ||
}; | }; | ||
- | </ | ||
- | |||
- | nix repl | ||
- | |||
- | <code bash> | ||
- | nix repl '< | ||
- | # wordpressPackages.plugins.gutenberg.meta.license | ||
</ | </ | ||
==== packaging ==== | ==== packaging ==== | ||
Line 1969: | Line 1936: | ||
</ | </ | ||
- | ===== cups ===== | ||
- | |||
- | list printers | ||
- | < | ||
- | $ lpstat -p -d | ||
- | printer Dell_1250c is idle. enabled since Tue 28 Dec 2021 09:44:59 AM UTC | ||
- | printer Dell_1250c_USB is idle. enabled since Tue 28 Dec 2021 09:44:59 AM UTC | ||
- | </ | ||
- | |||
- | print file | ||
- | < | ||
- | lp -d Dell_1250c_USB -o fit-to-page -o media=A4 scared_cat.png | ||
- | </ | ||
- | |||
- | list jobs | ||
- | < | ||
- | $ lpstat | ||
- | Dell_1250c_USB-2 | ||
- | </ | ||
- | |||
- | cancel job | ||
- | < | ||
- | cancel 1 | ||
- | </ | ||
===== qemu ===== | ===== qemu ===== |