See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
See how a minor change to your commit message style can make a difference.
Tip
Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs
$color-blueGray-50: #F8FAFC; | |
$color-blueGray-100: #F1F5F9; | |
$color-blueGray-200: #E2E8F0; | |
$color-blueGray-300: #CBD5E1; | |
$color-blueGray-400: #94A3B8; | |
$color-blueGray-500: #64748B; | |
$color-blueGray-600: #475569; | |
$color-blueGray-700: #334155; | |
$color-blueGray-800: #1E293B; | |
$color-blueGray-900: #0F172A; |
IMPORTANT: Read this before implementing one of the configuration files below (for either Varnish 3.x or 4.x+).
USE: Replace the contents of the main Varnish configuration file located in /etc/varnish/default.vcl (root server access required - obviously) with the contents of the configuration you'll use (depending on your Varnish version) from the 2 examples provided below.
IMPORTANT: The following setup assumes a 3 minute (180 sec) cache time. You can safely increase this to 5 mins for less busier sites or drop it to 1 min or even 30s for high traffic sites.
This configuration requires an HTTP Header and a user cookie to identify if a user is logged in a site, in order to bypass caching overall (see how it's done in the Joomla section). If your CMS provides a way to add these 2 requirements, then you can use this configuration to speed up your site or entire server. You can even exclude the domains you don't want to cach
varnishlog -g request -q 'ReqMethod eq "PURGE"' |
cd /home/dspace/source-5.5/dspace | |
mvn package -P !dspace-jspui,!dspace-sword,!dspace-swordv2,!dspace-rdf | |
cd /home/dspace/source-5.5/dspace/target/dspace-installer | |
ant update_configs |
# PHP-FPM FastCGI server | |
# network or unix domain socket configuration | |
upstream php-fpm { | |
server 127.0.0.1:9000; | |
#server unix:/run/php-fpm/www.sock; | |
} |
# This configuration requires httpd 2.4 with support for UDS (Unix domain | |
# sockets). This was added upstream in version 2.4.10, and was also backported | |
# to 2.4.6 in EL7. | |
# The following lines prevent .user.ini files from being viewed by Web clients. | |
<Files ".user.ini"> | |
Require all denied | |
</Files> | |
# Allow php to handle Multiviews. |
$('#ds-body > ul > li.ds-artifact-item.community.odd > ul').find('.collection a').each(function(i,e){ | |
var tokens = $(this).text().split('- '); | |
var coltype = tokens[tokens.length - 1].trim(); | |
console.log('<name-map collection-handle="' + $(this).attr('href') + '" form-name="' + coltype + '" />'); | |
}); |
{"wbcr_clearfy_attachment_pages_redirect":"0","wbcr_clearfy_attachment_pages_redirect_is_active":"1","wbcr_clearfy_change_login_errors":"1","wbcr_clearfy_comment_text_convert_links_pseudo":"1","wbcr_clearfy_comment_text_convert_links_pseudo_is_active":"1","wbcr_clearfy_content_image_auto_alt":"0","wbcr_clearfy_content_image_auto_alt_is_active":"1","wbcr_clearfy_disable_admin_bar":"enable","wbcr_clearfy_disable_admin_bar_is_active":"1","wbcr_clearfy_disable_admin_bar_logo":"1","wbcr_clearfy_disable_admin_bar_logo_is_active":"1","wbcr_clearfy_disable_admin_notices":"0","wbcr_clearfy_disable_admin_notices_is_active":"1","wbcr_clearfy_disable_auto_correct_dangit":"0","wbcr_clearfy_disable_auto_correct_dangit_is_active":"1","wbcr_clearfy_disable_auto_paragraph":"0","wbcr_clearfy_disable_auto_paragraph_is_active":"1","wbcr_clearfy_disable_embeds":"0","wbcr_clearfy_disable_embeds_is_active":"1","wbcr_clearfy_disable_emoji":"1","wbcr_clearfy_disable_emoji_is_active":"1","wbcr_clearfy_disable_feed":"0","wbcr_clearfy_d |
-- delete any usermeta specific to the other subsites | |
delete from wp_usermeta where meta_key regexp '^wp_([0-9]+)_'; | |
-- duplicate the wp_usermeta structure in a working data table, | |
-- but add a unique index for filtering out duplicates | |
create table _fix_usermeta like wp_usermeta; | |
-- fix to allow larger keys on InnoDB | |
set global innodb_large_prefix = 1; | |
set global innodb_file_format = BARRACUDA; | |
alter table _fix_usermeta ENGINE=InnoDB; |