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 21:36] – [helix] 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 1075: 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 1122: 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 1221: Line 1241:
 </code> </code>
  
 +===== python =====
 +
 +python relax dependency
 +
 +<code>
 +pythonRelaxDeps = [ "pydantic" ];
 +</code>
 ==== packaging module ==== ==== packaging module ====
  
onny/notizen.1786916173.txt.gz · Last modified: by fdc9:281f:4d7:9ee9::1