Juozas's Dump

A growing collection of anime, photos and any other kind of weird content.
[Tumblr|​X/Twitter|​Pillowfort|​Loforo|​Mastodon] [Random post]

 tags  journal  gallery  RSS

7.5.2022 19:39:05


reposted by anime
7.5.2022 06:48:51

from https://przecinek.loforo.com/ngku


reposted by cats
5.5.2022 14:48:17 reposted from fail

from https://smoke11.loforo.com/gsmxx

5.5.2022 14:44:01 reposted from cats

from https://carmenluna.loforo.com/bzu2y

3.5.2022 08:08:56 reposted from looque

from https://i.redd.it/6cgzkb5ntol41.png

1.5.2022 20:50:51

A screenshot of a hexdump of first 768 bytes of random data made on linux

1.5.2022 06:55:46 reposted from looque

from https://i.redd.it/bf6wia93cow81.jpg

27.4.2022 20:42:15 reposted from bears

from https://skydelan.loforo.com/5texj

27.4.2022 20:39:40 reposted from engrish

from https://malborghetto.loforo.com/epet3

27.4.2022 20:39:35 reposted from fail

from https://noxeo.loforo.com/1ghr9

27.4.2022 20:39:31 reposted from engrish

from https://mariusz.loforo.com/sepiachord


reposted by abledowa
27.4.2022 20:39:23 reposted from memes

from https://ikari.loforo.com/pxpc

26.4.2022 15:56:04

1202620488681

from https://twitter.com/gayocats/status/1518940465470394368


reposted by cats schaaf
20.4.2022 08:04:00 reposted from looque

from https://i.redd.it/eb8194u8o3y01.png

19.4.2022 15:53:55

Lithuania ditches Russian gas thanks to LNG while EU remains heavily dependent | DW News

from https://www.youtube.com/watch?v=RyBSt-ncpC8

16.4.2022 16:17:42

Automatic linking annoyance

The editor is too trigger happy to automatically mark anything that looks like links to appear as links. E.g. typing somefile.sh becomes linked w/o asking. It's very annoying when trying to type or paste code snippets that has fragments looking like that and removing them is quite troublesome :\

Edit: Links can be removed after they've been inserted by editor, but this leaves extra unused garbage html, and that can be removed by editing hidden textarea using browser developer tools and not directly interacting with text field thus avoiding accidental reinsert of link where it is not wanted.

1 comments
16.4.2022 20:44:41
this is known bug. I struggle with this all the time just not found enough courage to go and fix the editing component. :-D
16.4.2022 16:01:49

Find manually installed packages that has other packages depending on it on Debian based systems

Running command below generates a list of packages that can be marked as automatically installed, as long as apt-rdepends package were already installed. It generates a script that can be used to mark all found packages as manually installed.

echo \#\!/bin/bash > mark-auto.sh; apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2>/dev/null)" ] || echo apt-mark auto {}' >> mark-auto.sh

It can be modified to mark packages automatically if preferred instead of writing to a script

apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2>/dev/null)" ] || apt-mark auto {}'

Before running apt-get autoremove run it with pretend mode (-s), e.g

apt-get -s autoremove --purge

Mark any package not desired to be removed with

apt-mark manual <package>

reposted by linux schaaf
16.4.2022 11:47:36

14.4.2022 20:44:42 reposted from linux

Installed Ubuntu 22.04 LTS from scratch, to be released within a week (April 21, 2022)

Ubuntu 22.04 LTS is soon to be released so I decided to do a complete reinstall. After booting into Linux Live USB first I've deleted everything from my old install except for the important stuff I needed to keep. Then I've reinstalled the base system using debootstrap and used a script I made to enter the chroot, I installed required packages there to make it boot and to be able to access network. Finally I've installed everything else I needed including graphical interface where a list of installed previously packages would help alot. Such list could be generated by running commands as shown in example below.

First generate package list files while in old system as shown below

$ apt-mark showmanual > manual_old.txt
$ dpkg-query -Wf '${Package}\n' > packages_old.txt

After reinstalling system repeat same in the new installation, only change output file names where needed.

$ apt-mark showmanual > manual.txt
$ dpkg-query -Wf '${Package}\n' > packages.txt

Finally compare package list files generated above, a list of missing packages would be stored in files as shown below

$ sort manual_old.txt > 1.txt; sort manual.txt > 2.txt; comm -23 1.txt 2.txt > missing_manual.txt
$ sort packages_old.txt > 1.txt; sort packages.txt > 2.txt; comm -23 1.txt 2.txt > missing.txt
14.4.2022 17:23:22 reposted from cats

from https://larrygreensky.loforo.com/ljqdx

5.4.2022 19:56:44

thtronger

1.4.2022 16:23:23

It’s april fools day today so have a nice picture of exhaust in place of usual stuff today instead.

 
▼ see more... ▼
 

Timeline speed: 21.95 posts per month

Just 46 pages to end...

login