IPP and Airprint shared printer on CentOS Linux

yum install cups -y yum install foomatic* -y yum install avahi avahi-tools -y systemctl enable cups systemctl enable avahi-daemon systemctl start cups systemctl start avahi-daemon after each change in configuration, restart both of them using systemctl restart cups systemctl restart avahi-daemon lynx localhost:631  – allow from remote, then from your computer go to prinserver:631 and … Read more

CentOS 7 ACPI

yum -y install acpid systemctl start acpid systemctl enable acpid

Handbrake Recipe

Again, a personal recipe, no questions asked WORKFLOW: profile ipad + CBR 2000 double pas anamorphic none 1280×720 @2000 Join files: Create a list.txt with the following content: file ‘c:\TEST\1.mp4’ file ‘c:\TEST\2.mp4’ file ‘c:\TEST\3.mp4’ Run in CLI: ffmpeg -f concat -i list.txt -codec copy out.mkv mov > mp4 vlc not play in wmp

CentOS 7 root password reset

If we have a CentOS 7 or Red Hat Enterprise Linux (RHEL 7) with a selinux in enforced mode, the password resetting procedure need to be modified. From the Grub menu type “e” in order to edit the default menu item. Find the line that starts with “linux16”. At the end of this line append … Read more

Reduce raster effect from old photo

This is a internal recipe, not a tutorial. Scan at 9600 dpi (to enlarge a small photo) Rotate the photo with 180 degree and scan again. Place the second scan in another layer in Photoshop. Rotate the second layer with 180 degree. Use align layers function with 50% opacity of the top layer. Flatten the … Read more

Windows Server 2008 PDC external time

Internet time is hidden from control panel. As a PDC, Windows Server 2008 need to be synchronized with external source. You can select the closest NTP server from http://www.pool.ntp.org/en/ Microsoft recommends (quote from technet.microsoft.com): Click Start, and then click Command Prompt. In the Command Prompt window, type the following line, where peers is a comma-separated … Read more

Blocking spambots with SCROLLOUT F1 and fail2ban

I asume that you have a fuly functional SCROLLOUT F1 instalation and you want to add spambot blocking feature. Ad the following line to /etc/apt/sources list deb http://ftp.debian.org/debian unstable main Then run apt-get update apt-get -t unstable install fail2ban cd /etc/fail2ban cp jail.conf jail.local Edit jail.local [postfix] enabled = true port = smtp,ssmtp filter = … Read more

Low budget High Quality Digital Stereo Sound for Mac OS X Lion

Introduction: I used to have a 5.1 THX certified Logitech 5300Z sound system. Sound great, but some inconveniences related to analog 5.1 audio systems: extra wiring for rear speakers, only one audio source, huge subwoofer, lack of digital connectivity. I sold it with intention to buy Logitech Z-5500 that has digital inputs. Besides the fact that the last … Read more