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 [2022/07/07 08:58] – 10.25.0.100 | onny:notizen [2022/09/17 13:37] – [qemu] 10.25.0.100 | ||
---|---|---|---|
Line 214: | Line 214: | ||
</ | </ | ||
+ | ==== xargs ==== | ||
+ | |||
+ | < | ||
+ | fd . | xargs -I {} rm " | ||
+ | </ | ||
===== rsync ===== | ===== rsync ===== | ||
custom ssh port | custom ssh port | ||
Line 469: | Line 474: | ||
sec tools | sec tools | ||
+ | * dirbuster | ||
* https:// | * https:// | ||
* **tiger** - system sec scanner | * **tiger** - system sec scanner | ||
Line 1312: | Line 1318: | ||
</ | </ | ||
- | quick launch | + | run program |
<code bash> | <code bash> | ||
- | nix run nixpkgs.electrum --command | + | nix run nixpkgs#electrum |
+ | nix shell nixpkgs# | ||
</ | </ | ||
Line 1448: | Line 1455: | ||
< | < | ||
patches = [ | patches = [ | ||
- | ./ | ||
- | |||
# Support HBPL1 printers https:// | # Support HBPL1 printers https:// | ||
./ | ./ | ||
Line 1458: | Line 1463: | ||
url = " | url = " | ||
sha256 = " | sha256 = " | ||
+ | stripLen = 1; | ||
+ | name = " | ||
}) | }) | ||
Line 2135: | Line 2142: | ||
# download kernel and stuff from here http:// | # download kernel and stuff from here http:// | ||
qemu-system-arm -M virt -m 512M -cpu cortex-a15 -kernel vmlinuz-lts -initrd initramfs-lts -append " | qemu-system-arm -M virt -m 512M -cpu cortex-a15 -kernel vmlinuz-lts -initrd initramfs-lts -append " | ||
+ | </ | ||
+ | |||
+ | ===== postgresql ===== | ||
+ | |||
+ | dump database | ||
+ | < | ||
+ | pg_dump -U gitlab gitlabhq_production > / | ||
+ | </ | ||
+ | |||
+ | dump all | ||
+ | < | ||
+ | pg_dumpall > / | ||
+ | </ | ||
+ | |||
+ | import database | ||
+ | < | ||
+ | psql# CREATE DATABASE gitlabhq_production; | ||
+ | psql -U gitlab gitlabhq_production < gitlab.pgsql | ||
</ | </ |