CA Authority

Create private key: openssl genrsa -des3 -out CAPrivate.key 2048 Generate root certificate: openssl req -x509 -new -nodes -key CAPrivate.key -sha256 -days 365 -out CAPrivate.pem Generate CSR: generate private key: openssl genrsa -out MyPrivate.key 2048 generate CSR: openssl req -new -key MyPrivate.key -out MyRequest.csr generate certificate: openssl x509 -req -in MyRequest.csr -CA CAPrivate.pem -CAkey CAPrivate.key -CAcreateserial […]

Fix tooltip in shopify infinite options

In theme.liquid add the following after the </head> tag: <!– Infinite Options by ShopPad –> <script> // Create “window.Shoppad.apps.infiniteoptions” object if it doesn’t already exist “Shoppad.apps.infiniteoptions”.split(“.”).reduce(function(o, x) { if (!o[x]) {o[x] ={};} return o[x] }, window); // Define beforeReady callback window.Shoppad.apps.infiniteoptions.beforeReady = function(subscribe) { subscribe(‘appLoad’, function(event) { // Remove title attribute from spb-tooltip Shoppad.$( ‘.spb-tooltip’ […]

xen-tools not detected even though installed on ubuntu

After 2 days of search why xen-tools is not detected by xen center or orchestra I managed to get it working by doing this: apt-get purge xen* rm -Rf /var/lib/xen/* update-grub LinuxGuestTools-7.20.1-1/Linux/

Forum Vintage Theme bug

When Vintage theme is updated add the following in the Functions.php function remove_siteorigin_mobilenav_nav_filter() { remove_filter( ‘wp_nav_menu’, ‘siteorigin_mobilenav_nav_filter’, 10, 2 ); } add_action( ‘wpforo_menu_bar_start’, ‘remove_siteorigin_mobilenav_nav_filter’ ); This will remove the html tag that shows in the forum menu

FreePBX Refresh Signature

On freepbx if you modify .htaccess or any other file in html folder you need to run: fwconsole ma refreshsignatures This is to avoid “file tempering” message.

FreePBX Admin Password Reset

Connect to the pbx using ssh and root account. In a browser navigate to your PBX web interface and select ALL the content. The session ID is in white text on white background so selecting the text will allow you to see it. In your ssh session run fwconsole unlock fn7v38ue7gnrneqo2gu8aj0 Refresh your browser. Change […]

Windows Problems

The best place to find what is wrong with windows is the event log. In order to start the event log type “Windows-R” and: eventvwr Or you can simply open a command prompt and again type: eventvwr In powershell the command will be: evenvwr.msc In control pannel you can search for event. You do not […]

Portainer the Window to Docker

I started using docker about 2 days ago and just as I know myself I already put it in production without knowing too much about it. Of course I had a bad experience, especially when after using a wordpress docker and doing development on the site, I did run: docker-compose down and then I did […]

Clean Docker Environment

In my fight with docker I need to have a clean environment. Here is how to get one: List all containers (only IDs) docker ps -aq Stop all running containers docker stop $(docker ps -aq) Remove all containers docker rm $(docker ps -aq) Remove all images docker rmi $(docker images -q) Remove all networks docker […]