This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
Based on https://gist.github.com/GAS85/990b46a3a9c2a16c0ece4e48ebce7300
Per default it will be apache2 version 2.4.29 what is enought for http2 support.
Based on https://techwombat.com/enable-http2-apache-ubuntu-16-04/
This totorial is for an older Ubuntu 16.04, for a Ubuntu 18.04 please read here --> https://gist.github.com/GAS85/8dadbcb3c9a7ecbcb6705530c1252831
| window.addEventListener('load', function(){ | |
| Postmon = { | |
| data: {}, | |
| uf: {AC:"Acre",AL:"Alagoas",AP:"Amapá",AM:"Amazonas",BA:"Bahia",CE:"Ceará",DF:"Distrito Federal",ES:"Espírito Santo",GO:"Goiás",MA:"Maranhão",MT:"Mato Grosso",MS:"Mato Grosso do Sul",MG:"Minas Gerais",PA:"Pará",PB:"Paraíba",PR:"Paraná",PE:"Pernambuco",PI:"Piauí",RJ:"Rio de Janeiro",RN:"Rio Grande do Norte",RS:"Rio Grande do Sul",RO:"Rondônia",RR:"Roraima",SC:"Santa Catarina",SP:"São Paulo",SE:"Sergipe",TO:"Tocantins"}, | |
| autofill: function() { | |
| if ($j('#billing\\:street1').val().trim() == '' && typeof this.data.logradouro != 'undefined') { | |
| $j('#billing\\:street1').val(this.data.logradouro); | |
| } | |
| if ($j('#billing\\:street4').val().trim() == '' && typeof this.data.bairro != 'undefined') { |
| ## How to install mcrypt in php7.2 | |
| ## | |
| ## https://lukasmestan.com/install-mcrypt-extension-in-php7-2/ | |
| ## | |
| # | |
| # Check version php and pecl | |
| # | |
| php -v # if default php is not 7.2 then use /usr/bin/php7.2 instead php |
| #!/bin/bash | |
| URL='domain.com' | |
| wget --quiet http://$URL/sitemap.xml --no-cache --output-document - | egrep -o "http://$URL[^<]+" | while read line; do | |
| time curl -A 'Cache Warmer' -s -L $line > /dev/null 2>&1 | |
| echo $line | |
| done |
| // http://bit.ly/qDefer | |
| $(function(){$('script[type="text/javascript/defer"]').each(function(){$(this).clone().attr('type','').insertAfter(this)})}); |
| /** | |
| * Add XHR compatibility to Magento action buttoms | |
| * | |
| * Author: | |
| * Rafael Patro <[email protected]> | |
| * | |
| * Requirements: | |
| * DOMParser HTML fixes | |
| * jQuery Growl library | |
| * |
| /* | |
| * DOMParser HTML extension | |
| * 2012-09-04 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ | |
| /*! @source https://gist.github.com/1129031 */ |