How to’s

How to add print template for Print Manager for WooCommerce

cd print-google-cloud-print-gcp-woocommerce/includes vi Templates.php class Templates { public function __construct() { self::registerTemplate(new \Zprint\Templates\Customer()); self::registerTemplate(new \Zprint\Templates\Details()); self::registerTemplate(new \Zprint\Templates\Order()); self::registerTemplate(new \Zprint\Templates\New());//added to use new template cd print-google-cloud-print-gcp-woocommerce/templates add new-html.php new-plain.php

Add multimedia support centos 7

Install Handbrake, VLC and smplayer cd /tmp wget yum install epel-release-latest-7.noarch.rpm yum -y install yum install vlc smplayer ffmpeg HandBrake-{gui,cli} yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld   Install Flash Plugin for Firefox yum -y install yum install flash-plugin

SSH Login Without Password

root@local-host$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa):[Enter key] Enter passphrase (empty for no passphrase): [Press enter key] Enter same passphrase again: [Press enter key] Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/ ssh-copy-id -i…