LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Sorting pictures, removing duplicates

Posted 11-20-2010 at 08:37 AM by jere21
Updated 10-11-2014 at 10:02 AM by jere21

EDIT 2012-02-03/2014-10-11:
In Debian I just discovered "duff". A tool to find duplicate files-.-
Unfortunately it doesn't work with symbolic links to files.
---



All files with their md5sum
Code:
PICS="pics"
find . -type f -exec md5sum '{}' ';' > $PICS
Lists with only md5sum, once with duplicates removed (should be improved to handle double spaces in filenames).
Code:
cat $PICS | sed -r "s|^(.*)
...
LQ Newbie
Posted in Uncategorized
Views 4115 Comments 2 jere21 is online now
Old

virtualization with kvm

Posted 11-16-2010 at 07:30 AM by jere21
Updated 02-17-2011 at 11:50 AM by jere21

Code:
[INSTALL, DEPENDENCIES] bridge-utils
[INSTALL, DEPENDENCIES] libaio1
[INSTALL, DEPENDENCIES] libvde0
[INSTALL, DEPENDENCIES] libvdeplug2
[INSTALL] qemu-kvm
[INSTALL] vde2

[INSTALL, DEPENDENCIES] etherboot-qemu
[INSTALL, DEPENDENCIES] openbios-ppc
[INSTALL, DEPENDENCIES] openbios-sparc
[INSTALL, DEPENDENCIES] openhackware
[INSTALL, DEPENDENCIES] qemu-keymaps
[INSTALL, DEPENDENCIES] qemu-system
[INSTALL, DEPENDENCIES]
...
LQ Newbie
Posted in Uncategorized
Views 764 Comments 0 jere21 is online now
Old

flashplayer amd64 Debian squeeze

Posted 11-15-2010 at 08:03 AM by jere21
Updated 10-03-2011 at 05:48 AM by jere21

I switched to the official Debian contrib package that directly downloads the, now again available, 64bit flashplayer plugin.
Code:
flashplugin-nonfree 1:2.8.2
youtube works. imdb doesn't, but at least it doesn't freeze the browser/system any more.

Subscribe to http://wiki.debian.org/FlashPlayer! Flash sucks and I bet it will cause problems soon again.

Do a
Code:
sudo dpkg-reconfigure flashplugin-nonfree
or a
Code:
sudo update-flashplugin-nonfree --install
...
LQ Newbie
Posted in Uncategorized
Views 1242 Comments 0 jere21 is online now
Old

Format output to columns

Posted 11-09-2010 at 04:08 PM by jere21
Updated 10-09-2011 at 08:08 AM by jere21

Format output, e.g. postings of iptables output or /etc/mtab with column -t

Thanks to http://www.df7cb.de/blog/2010/column_-t.html
LQ Newbie
Posted in Uncategorized
Views 857 Comments 0 jere21 is online now
Old

xrandr multi

Posted 08-17-2010 at 01:16 PM by jere21
Updated 08-17-2010 at 02:47 PM by jere21

/usr/local/bin/xrandr_TV_dual.sh:
Code:
xrandr \
  --output LVDS1 --mode 1280x800 --primary \
  --output TV1 --mode 640x480 --rate 25 --right-of LVDS1 --set mode PAL
/usr/local/bin/xrandr_VGA_dual.sh:
Code:
#If command fails, readd mode and try again
xrandr \
  --output LVDS1 --mode 1280x800 \
  --output VGA1 --mode 1280x1024 --rate 75 --above LVDS1 --primary ||
(
xrandr --newmode 1280x1024 138.75  1280 1368 1504 1728  1024 1027 1034
...
LQ Newbie
Posted in Uncategorized
Views 1410 Comments 0 jere21 is online now

  



All times are GMT -5. The time now is 08:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration