LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > karanis
User Name
Password

Notices


Uncategorized Entries with no category
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 607 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 1522 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 392 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 355 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 379 Comments 0 karanis is offline

  



All times are GMT -5. The time now is 06:34 AM.

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
Open Source Consulting | Domain Registration