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/11/10 14:16] – [avahi] 127.0.0.1 | onny:notizen [2024/02/20 17:46] – [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 837: | Line 835: | ||
</ | </ | ||
* check spamminess of email server: https:// | * check spamminess of email server: https:// | ||
- | * manual imap login | + | |
- | openssl imaps login | + | |
- | < | + | |
- | openssl s_client -connect mail.sexypump.de: | + | |
- | A login cypherpunk cypherpunk | + | |
- | </ | + | |
- | get quota | + | |
- | < | + | |
- | a GETQUOTAROOT INBOX | + | |
- | </ | + | |
- | get msg count of folder | + | |
- | < | + | |
- | a LIST INBOX * | + | |
- | * LIST (\HasChildren) " | + | |
- | * LIST (\HasNoChildren \UnMarked) " | + | |
- | * LIST (\HasNoChildren \UnMarked) " | + | |
- | * LIST (\HasNoChildren \UnMarked \Trash) " | + | |
- | * LIST (\HasNoChildren \UnMarked \Sent) " | + | |
- | * LIST (\HasNoChildren \UnMarked) " | + | |
- | * LIST (\HasNoChildren \UnMarked \Junk) " | + | |
- | * LIST (\HasNoChildren \UnMarked \Drafts) " | + | |
- | * LIST (\HasNoChildren \UnMarked) " | + | |
- | a OK List completed (0.001 + 0.000 secs). | + | |
- | a SELECT INBOX | + | |
- | </ | + | |
send smtp mail | send smtp mail | ||
< | < | ||
Line 1249: | Line 1223: | ||
< | < | ||
- | 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 1304: | Line 1258: | ||
''; | ''; | ||
}); | }); | ||
- | </ | ||
- | |||
- | use local src / source | ||
- | |||
- | < | ||
- | src = / | ||
- | unpackPhase = '' | ||
</ | </ | ||
Line 1349: | Line 1296: | ||
}); | }); | ||
}) | }) | ||
- | ]; | ||
- | </ | ||
- | |||
- | fetchpatch | ||
- | |||
- | < | ||
- | patches = [ | ||
- | # Support HBPL1 printers https:// | ||
- | ./ | ||
- | |||
- | # Fix " | ||
- | # https:// | ||
- | (fetchpatch { | ||
- | url = " | ||
- | sha256 = " | ||
- | stripLen = 1; | ||
- | name = " | ||
- | }) | ||
- | |||
]; | ]; | ||
</ | </ | ||
Line 1425: | Line 1353: | ||
}; | }; | ||
}; | }; | ||
- | </ | ||
- | |||
- | nix repl | ||
- | |||
- | <code bash> | ||
- | nix repl '< | ||
- | # wordpressPackages.plugins.gutenberg.meta.license | ||
</ | </ | ||
==== packaging ==== | ==== packaging ==== | ||
Line 1726: | Line 1647: | ||
--add-flags "-jar $out/ | --add-flags "-jar $out/ | ||
''; | ''; | ||
- | </ | ||
- | ==== tests ==== | ||
- | |||
- | run tests interactively | ||
- | |||
- | <code bash> | ||
- | nix build -L -f . nixosTests.invoiceplane.driverInteractive | ||
- | ./ | ||
- | > startAll | ||
- | > testScript | ||
- | > $machine-> | ||
- | > print($machine-> | ||
</ | </ | ||