Mount SD image
sudo fdisk -u -l 64GBBACKUPINTERNAL
Disk 64GBBACKUPINTERNAL: 58,94 GiB, 63 281 561 600 bajtů, 123 596 800 sektorů
Jednotky: sektorů po 1 * 512 = 512 bajtech
Velikost sektoru (logického/fyzického): 512 bajtů / 512 bajtů
Velikost I/O (minimální/optimální): 512 bajtů / 512 bajtů
Typ popisu disku: dos
Identifikátor disku: 0xfbb2cd48
Zařízení Zaveditelný Začátek Konec Sektory Velikost ID Druh
64GBBACKUPINTERNAL1 32 819199 819168 400M b W95 FAT32
64GBBACKUPINTERNAL2 819200 123596799 122777600 58,5G 83 Linux
819200×512=419430400
mkdir /tmp/sd ; sudo mount -o loop,offset=419430400 64GBBACKUPINTERNAL /tmp/sd ; cd /tmp/sd
mic do icecast
pactl list short sources ; ffmpeg -f pulse -ac 2 -i alsa_input.usb-Anua_Mic_CM_900_Anua_Mic_CM_900-
00.mono-fallback -acodec libmp3lame -ab 128k -content_type audio/mpeg -f mp3 icecast://source:HESLO@127.0.0.1:8000/stream
Radio4U na vlastním icecast2 serveru
ffmpeg -i http://mpc1.mediacp.eu:8342/stream -acodec libmp3lame -ab 128k -content_type audio/mpeg –
f mp3 icecast://source:HESLO@127.0.0.1:8000/stream
sudo fsarchiver savefs -j2 -a -A -v -Z19 /mnt/HDD-3TB/archlinux.fsa id=0,dest=/dev/sda3
ntfsclone -s -o – /dev/nvme0n1p3 | gzip -c > /mnt/HDD-3TB/Zaloha/windows.fsa
unzip -c /mnt/HDD-3TB/Zaloha/windows.fsa | ntfsclone –restore-image –overwrite /dev/nvme0n1p3
Pipewire / wireplumber disable suspend blip
/usr/share/wireplumber/main.lua.d/50-alsa-config.lua
dole
odstranit –[„session.susp
[„session.suspend-timeout-seconds“] = 0, — 0 disables suspend
———-
wget –mirror \ –convert-links \ –adjust-extension \ –page-requisites \ –no-parent \ –wait=30 \ –random-wait \ –execute robots=off \ http://example.org
změna asociace torrent magnetu na qbittorent : gio mime x-scheme-handler/magnet org.qbittorrent.qBittorrent.desktop
Linux více disků do jedné složky : http://www.linux-mint-czech.cz/2016/01/snadna-kombinace-vice-oddilu-do-jednoho/
Regulovaný zdroj : http://www.youtube.com/watch?v=sirHycTFB9w
Cybernoid2 http://www.youtube.com/watch?v=0rhhjujLPQU
http://www.youtube.com/watch?v=nQJpuwGeSK8
http://www.youtube.com/watch?v=xS9OXBCwImw
http://www.youtube.com/watch?v=tEuWsYOV9tY
http://www.youtube.com/watch?v=80dSeNbFTeE
http://www.youtube.com/watch?v=eueQ1TwL7gg
http://icq.com/chat/AoLBs7ZOo1F6eO2KVlI
Firefox vzhled CARBON : http://addons.mozilla.org/en-US/firefox/addon/carbon-light/
http://www.youtube.com/watch?v=TJkjA-hWmJk
Chrome vzhled GLOW : http://chrome.google.com/webstore/detail/glow/bekmjjakgojplnhahcilegeiklenjbgb?utm_source=plus
http://www.youtube.com/watch?v=CVPcT0dJmoY
Samba :
# Global parameters
[global]
auto services = global
client max protocol = NT1
client min protocol = NT1
dns proxy = No
domain master = No
log file = /var/log/samba/%m.log
map to guest = Bad Password
max log size = 1000
name resolve order = bcast host
netbios name = CZ3DTC
obey pam restrictions = Yes
os level = 4
pam password change = Yes
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
passwd program = /usr/bin/passwd %u
preferred master = Yes
security = USER
server max protocol = NT1
server min protocol = NT1
smb ports = 139 445
unix password sync = Yes
usershare allow guests = Yes
usershare max shares = 100
usershare path = /var/lib/samba/usershare
wins support = Yes
workgroup = DOMA
idmap config * : backend = tdb
case sensitive = No
force create mode = 0070
force directory mode = 0070
guest ok = Yes
[homes]
browseable = No
comment = Home Directories
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers