These are files used to prevent apt from overriding alternative package sources. See more at https://help.ubuntu.com/community/PinningHowto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Hide contrast checker warning in admin */ | |
function custom_admin_styles() { | |
?> | |
<style type="text/css"> | |
.block-editor-contrast-checker>.components-notice { | |
margin: 0; | |
display: none; | |
} | |
</style> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uncomment and modify any variables you need | |
# see https://github.com/srvrco/getssl/wiki/Config-variables for details | |
# see https://github.com/srvrco/getssl/wiki/Example-config-files for example configs | |
# | |
# The staging server is best for testing | |
#CA="https://acme-staging.api.letsencrypt.org" | |
# This server issues full certificates, however has rate limits | |
#CA="https://acme-v01.api.letsencrypt.org" | |
#PRIVATE_KEY_ALG="rsa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<modification> | |
<id>Remover index.php?route=common/home da Página Principal da loja</id> | |
<version>1.0</version> | |
<vqmver required="false">1.0</vqmver> | |
<author>Guilherme de Lima Campos</author> | |
<file name="catalog/view/theme/*/template/common/header.tpl"> | |
<operation> | |
<search position="replace"><![CDATA[href="<?php echo $home; ?>"]]></search> | |
<add><![CDATA[if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Opencart Turbo | |
* Developed by Atomix | |
* Version: 0.1 | |
* http://www.atomix.com.au | |
* | |
* This script will apply several changes to boost the performance of OpenCart, including: | |
* 1) DONE: Convert MySQL DB Storage Engine from MyISAM to InnoDB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits | |
# Generate with: cd /etc/ssl/certs && sudo openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 | |
ssl_dhparam /etc/nginx/ssl/dhparam.pem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install dependencies | |
# | |
# * checkinstall: package the .deb | |
# * libpcre3, libpcre3-dev: required for HTTP rewrite module | |
# * zlib1g zlib1g-dbg zlib1g-dev: required for HTTP gzip module | |
apt-get install checkinstall libpcre3 libpcre3-dev zlib1g zlib1g-dbg zlib1g-dev && \ | |
mkdir -p ~/sources/ && \ | |
# Compile against OpenSSL to enable NPN |