1.3.2023 20:47:46

1.3.2023 20:45:33 reposted from juozaspo

1.3.2023 18:19:59

1 comments
1.3.2023 20:45:57
the hobbits the hobbits the hobbits the hobbits to Isengard to Isengard
1.3.2023 18:06:32


reposted by looque
28.2.2023 21:47:08

Oneline random image html file generator

The command below generates a html file pointing to 100 random image files found in the directory tree of the working directory. You can adjust it to your needs by putting the paths you want to exclude or adding more extensions to placeholders as shown below. The output file shows images centered on screen, with max widths no larger than screen.

echo -e "<html>\n<head>\n<title>Random Images</title>\n</head>\n<style>\nimg {max-width:100%; height:auto}\nbody{text-align:center}\n</style>\n<body>\n$(find -type f -not \( -ipath "./paths/*" -or -ipath "./to/*" -or -ipath "./exclude/*" \) -and \( -iname "*.jpg" -or -iname "*.jpeg" -or -iname "*.png" -or -iname "*.gif" -or -iname "*.webp" -or -iname "*.bmp" \) | cut -d\/ -f2- | sort | shuf -n 100 | tr '\n' '\0' | xargs -0 -I{} echo "<div style=\"margin:auto\"><img title=\"{}\" src=\"$(realpath "{}")\"></div>")</body>\n<html>" > /tmp/random.htm

The output file is saved as /tmp/random.htm


reposted by linux
28.2.2023 11:55:45

from https://i.redd.it/1w7w9e74gtga1.png


reposted by kalesor
28.2.2023 11:54:34

from https://i.redd.it/0akepul3e9ka1.jpg


reposted by severak
27.2.2023 21:50:51 reposted from juozaspo

27.2.2023 14:35:54


reposted by demotivational memes
27.2.2023 14:32:45


reposted by fail kalesor
27.2.2023 14:29:42 reposted from demotivational

27.2.2023 14:28:36


reposted by larrygreensky severak raumfahrtagentur
26.2.2023 22:52:45

Electrocuted mouse


reposted by dit kalesor raumfahrtagentur
26.2.2023 21:13:08


reposted by kalesor looque
25.2.2023 10:37:41

Russian Missile Alert System Hacked

from https://www.youtube.com/watch?v=EYrRL0WQz5Q

24.2.2023 19:07:49


reposted by kalesor dit
24.2.2023 00:10:59 reposted from juozaspo

from https://i.redd.it/315n6ijrqq3a1.jpg

23.2.2023 20:54:57

Zero Width Space

A vere useful where text needs to be wrapped and regular spaces cannot be used. The unicode for it is 0x200B, in linux it can be inserted by typing Ctrl+Shift+U with unicode characher code following right after that

This​is​a​test​paragraph​where​unicode​character​that​is​invisible​space​otherwise​called​zero​width​space​is​used.​It​wraps​around​the​edges​of​the​screen​and​/​or​parent​element​and​is​very​useful​in​other​places​.​Text​just​nicely​wraps​around​such​place​even​if​it​looks​weird​otherwise​.​I​used​it​in​my​blog​settings​so​my​social​links​would​wrap​around​nicely​where​needed.​Unicode​is​a​​very​useful​indeed.

Having a nbsp (0x00A0) in tags also returns weird results in when browsing and/or reading posts. It also can't be copy-pasted. It must be typed manually by using keyboard shortcut and hex code right after that.


reposted by test
23.2.2023 19:42:11 reposted from foobar123


reposted by telu
23.2.2023 19:41:45 reposted from kalesor

soupcycle

 
▼ see more... ▼