You need to add in root directory netfily.toml. 1[build] 2publish = "public" 3command = "hugo --gc --minify" 45[context.production.environment] 6HUGO_VERSION = "0.74.3" 7HUGO_ENV = "production" 8HUGO_ENABLEGITINFO = "true" 910[context.split1] 11command = "hugo --gc --minify …
Read MoreIn most cases, themes do not exactly match what you want in your site. For instance, you have an old version of jquery is in the theme: 1/themes/themename/static/js/jquery.min.js Override it by copying the new version as: 1/static/js/jquery.min.js So as you may already have figured out by now, you just have to remove …
Read More1drush dl og-7.x-1.3 2drush en og-7.x-1.4 More details in https://www.drupal.org/node/1499548
Read MoreIf you even have a need to connect to a remote laptop, tmate is the solution. Had tried this personally in MacOS Catalina (10.15.5) and it works fine. 1brew install tmate I encountered this error though after installation: 1$ tmux 2dyld: Library not loaded: /usr/local/lib/libevent-2.0.5.dylib 3Referenced from: …
Read More1composer remove Vendor/Package_Name See https://stackoverflow.com/questions/23126562/how-to-remove-a-package-from-laravel-using-composer
Read MoreNginx SSL PEM_read_bio End of Line Error
2020-07-27 · 1 min read · sslcert tlscert nginx troubleshooting error network-solutions network-solutions-cert ·We had this ssl cert issued by Network Solutions 1root@www:/etc/nginx/conf.d/ssl/example-2020# unzip -l EXAMPLE.ORG.zip 2Archive: EXAMPLE.ORG.zip 3Length Date Time Name 4--------- ---------- ----- ---- 52150 2020-07-14 16:59 DV_NetworkSolutionsDVServerCA2.crt 6Network Solutions DV Intermediate CA 72093 2020-07-14 16:59 …
Read MoreScenario: Cert was purchased originally for 5 years. Cert with that validity need to revalidate every 2 years as per https://www.digicert.com/shortening-validity-periods-for-ov-dv-certificates However, the cert has been configured with the following SAN: www.example1.com www.example2.com Problem: www.example2.com is …
Read MoreOneliner solution using the following command: 1~$ openssl crl2pkcs7 -nocrl -certfile www.example.org-bundle.crt | openssl pkcs7 -print_certs -noout With sample output as follows: 1~$ openssl crl2pkcs7 -nocrl -certfile www.example.org-bundle.crt | openssl pkcs7 -print_certs -noout 2subject=/OU=Domain Control …
Read More1sudo dd if=/dev/zero of=/mnt/file.swap bs=1M count=512 2sudo mkswap /mnt/file.swap 3sudo chmod 0600 /mnt/file.swap 4sudo swapon /mnt/file.swap 5echo "/mnt/file.swap none swap sw 0 0" >> /etc/fstab See details in https://www.garron.me/en/linux/increase-swap-memory-linux.html
Read More