mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

16K
active users

#Git

87 posts80 participants1 post today

Just added difftastic to #guix on the #rust team branch. It's a really good 'structural diff' which can provide a more human-readable diff.

Thanks to the contributor for sending it. I've found it really helpful for looking at package changes as I've been updating it.

difftastic.wilfred.me.uk/

difftastic.wilfred.me.ukDifftastic, a structural diff tool that understands syntaxDifftastic, a structural diff tool that understands syntax
#git#diff#nix

Rickroll w repo i bomba w (niezbyt) głębokim ukryciu

Podatności aplikacji webowych miewają różną genezę. Mogą być niezawinione – błędom typu 0-day nie da się skutecznie zapobiec. Mogą być w pełni zawinione – gdy w trzeciej dekadzie XXI wieku programista pisze kod podatny na SQL injection. Mogą być też wynikiem roztargnienia lub nieuwagi – np. wtedy, gdy na świat wystawione zostanie repozytorium kodu, w którym przechowywana jest owa aplikacja. Nieuprawniony dostęp do takiego repozytorium może oznaczać przejęcie kontroli nad całą webaplikacją – gdy w kodzie źródłowym albo plikach konfiguracyjnych znajdziemy hasło do bazy danych, klucze prywatne do usług chmurowych albo plik tekstowy z hasłem administratora. Podobnie stanie się, gdy operator zapisze kopię bezpieczeństwa do pliku backup.zip zlokalizowanego w głównym katalogu witryny.
Ja postanowiłem zażartować sobie z osób, które szukają takich podatności.
Autorem artykułu jest Tomasz Zieliński, autor szkolenia z automatyzacji pobierania danych z internetu (scrapowanie.pl), w wolnych chwilach prowadzący bloga Informatyk Zakładowy (informatykzakladowy.pl). Za publikację nie otrzymaliśmy wynagrodzenia, ale otrzymamy świadczenie barterowe.
Trojański backup.zip, który wybucha
Z kopią bezpieczeństwa było łatwo – plik informatykzakladowy.pl/backup. to tak zwana ZIP-bomba. Jest to archiwum plików spreparowane w taki sposób, aby zawartość po rozpakowaniu zajmowała możliwie najwięcej miejsca. Skorzystałem z wariantu opisanego na stronie bamsoftware.com – choć sam plik ZIP ma niespełna 10 megabajtów, to do zapisania zdekompresowanej zawartości potrzeba 281 terabajtów. Dla porównania – typowy dysk twardy w domowym komputerze ma nie więcej niż dwa terabajty.
W dzisiejszych czasach ZIP-bomby są raczej [...]

#ARTYKUŁSPONSOROWANY #Śmieszne #Git #Repozytoria #Scraping #Scrapowanie #Wycieki

niebezpiecznik.pl/post/rickrol

#git learning of the Day: Be careful with git worktrees when you want to perform some advanced git history rewriting black magic to repos.

When you copy a bare repo with an active worktree to another location to test your spells, the worktree itself will still point to the *old* location and you can mess up the original repo when something goes wrong.

Ich hab meinen Branch dich erst gestern mit Main gemerged und alle conflicts resolved.
Wie könne denn da jetzt schon wieder unzählige merge-conflicts drin sein 🤯😩😡

Manchmal ist das Leben als Entwickler auch einfach ein bisschen mühsam (auch wenn ich’s oft toll finde)

Gibt es irgendwo einen #forgejo server auf dem ich ein privates Repo mit 2-3 anderen Personen haben kann?

Ich möchte eine Schule davon überzeugen, dass wordpress unnötig komplex ist und sie von einer Hugo seite überzeugen. Dazu würde ich ihnen aber auch gern zugriff auf alles geben was die seite ausmacht.

das ist nichts für codeberg soweit ich das sehe und was anderes passendes hab ich nicht gefunden. Kennt da jemand was?
(Selbst hosten will ich nicht unbedingt)

Danke

#git becomes more interesting when you use the `--work-tree` and / or `--git-dir` options and relative paths.

This is even more fun when you throw `-C` into the mix.

Remember, both `-C` and `--work-tree` default to the current working directory and that `--git-dir` defaults to `.git`

SmartGit 25.1.028 makes working with feature branches safer and more streamlined.
- The force-push check can now optionally bypass feature branches
- A new Low-level Property can suppress the "commit is already pushed" confirmation dialogs for feature branches

How does this combo work for you?

Try 25.1: buff.ly/pAo1dMc and use Help|Check for Latest Build

#GitHub "enterprise" has some very weird properties:
* commits made with my email address not from the organization are not counted in statistics (oh how I despise these stats...)
* my #gpg signed commits are shown as unverified even though gh has my public key on my personal profile
* I can not add my public key nor my well known email address to my enterprise profile

All of this "enterprise"-junk just puts me off. No, #GitHub is not #git.