Site Tools


Hotfix release available: 2026-07-14b "Mort". upgrade now! [57.2] (what's this?)
onny:notizen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
onny:notizen [2026/08/16 09:59] – [Android] fdc9:281f:4d7:9ee9::1onny:notizen [2026/08/31 15:04] (current) – [date] fdc9:281f:4d7:9ee9::1
Line 143: Line 143:
 </code> </code>
 ===== date ===== ===== date =====
 +
 +convert date to unix timestamp
  
 <code bash> <code bash>
Line 148: Line 150:
 </code> </code>
  
 +convert unix timestamp to datetime
 +
 +<code bash>
 +date -d @1254330900 '+%Y-%m-%d %H:%M:%S'
 +</code>
 ===== rsync ===== ===== rsync =====
 custom ssh port custom ssh port
Line 584: Line 591:
 git rebase upstream/master git rebase upstream/master
 </code> </code>
 +
 squash commits squash commits
 +
 <code bash> <code bash>
 git rebase -i upstream/master git rebase -i upstream/master
 # < choose squash for all of your commits, except the first one > # < choose squash for all of your commits, except the first one >
 # < Edit the commit message to make sense, and describe all your changes > # < Edit the commit message to make sense, and describe all your changes >
-git push origin omgpull -f +# or
-</code> +
-alternatively +
-<code bash>+
 git rebase -i HEAD~3 git rebase -i HEAD~3
-</code> +# or (replace main with origin branch) 
-alternatively +git rebase -i $(git merge-base HEAD main) 
-<code bash>+# or
 git merge --squash apple-a9 git merge --squash apple-a9
 </code> </code>
 +
 rerun tests with empty commit rerun tests with empty commit
 <code bash> <code bash>
Line 1044: Line 1051:
  
 <code bash> <code bash>
-git clone https://github.com/NixOS/nixpkgs.git 
-cd nixpkgs 
 nixpkgs-review pr 98044 nixpkgs-review pr 98044
 +nixpkgs-review wip --build-args="-j3"
 </code> </code>
  
Line 1076: Line 1082:
     '';     '';
   });   });
 +</code>
 +
 +override only source hash
 +
 +<code>
 +django-oauth-toolkit = super.django-oauth-toolkit.overrideAttrs (old: {
 +  version = "3.3.0";
 +
 +  src = old.src.override {
 +    hash = "sha256-eRQzAFUvSgoDiP7LW/+hMrNxHuXVxY+wc/E3VU/zeXo=";
 +  };
 +});
 </code> </code>
  
Line 1123: Line 1141:
 nix-update gelly nix-update gelly
 nix-update stamp --version=branch=main nix-update stamp --version=branch=main
 +nix-update --use-update-script python3Packages.django-filingcabinet
 </code> </code>
 ==== packaging package ==== ==== packaging package ====
Line 1222: Line 1241:
 </code> </code>
  
 +===== python =====
 +
 +python relax dependency
 +
 +<code>
 +pythonRelaxDeps = [ "pydantic" ];
 +</code>
 ==== packaging module ==== ==== packaging module ====
  
Line 1975: Line 2001:
 md5sum -t recovery.tar >> recovery.tar md5sum -t recovery.tar >> recovery.tar
 mv recovery.tar recovery.tar.md5 mv recovery.tar recovery.tar.md5
 +</code>
 +
 +apk list installed files
 +
 +<code>
 +apk info -L calls-systemd
 </code> </code>
 ===== parted ===== ===== parted =====
Line 2137: Line 2169:
 <code> <code>
 % %
 +</code>
 +
 +buffer close
 +
 +<code>
 +:bc
 </code> </code>
 ===== traceroute ===== ===== traceroute =====
onny/notizen.1786874391.txt.gz · Last modified: by fdc9:281f:4d7:9ee9::1