LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

net keyboard

Posted 04-05-2020 at 05:28 PM by karanis

$ cat /dev/input/by-path/platform-i8042-serio-0-event-kbd | nc 4444

$ nc -l -p 4444 > /dev/input/by-path/platform-i8042-serio-0-event-kbd
LQ Newbie
Posted in Uncategorized
Views 256 Comments 0 karanis is offline
Old

slackware package building

Posted 04-05-2020 at 05:26 PM by karanis

checkinstall

https://asic-linux.com.mx/~izto/checkinstall/
https://asic-linux.com.mx/~izto/chec...tallwatch.html
LQ Newbie
Posted in Uncategorized
Views 1254 Comments 0 karanis is offline
Old

image resize

Posted 04-05-2020 at 05:25 PM by karanis
Tags image

convert xxx.png -resize 600 example.png (wrt Width)
convert xxx.png -resize 600x1000! example.png (force scale distorsion)
LQ Newbie
Posted in Uncategorized
Views 91 Comments 0 karanis is offline
Old

tar specific extensions

Posted 04-05-2020 at 05:25 PM by karanis
Tags tar

find ./someDir -name "*.php" -o -name "*.html" | tar -cf my_archive -T -
LQ Newbie
Posted in Uncategorized
Views 79 Comments 0 karanis is offline
Old

MULTI image resize on disk

Posted 04-05-2020 at 05:24 PM by karanis
Tags image

#!/usr/bin/env bash
# Purpose: batch image resizer
# Source: https://guides.wp-bullet.com
# Author: Mike

# absolute path to image folder
FOLDER="/var/www/wp-bullet.com/wp-content/uploads"

# max height
WIDTH=540

# max width
HEIGHT=300

#resize png or jpg to either height or width, keeps proportions using imagemagick
#find ${FOLDER} -iname '*.jpg' -o -iname '*.png' -exec convert \{}...
LQ Newbie
Posted in Uncategorized
Views 69 Comments 0 karanis is offline

  



All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration