Hybris: How to Override a Bean in backoffice-web-spring.xml

Hybris: How to Override a Bean in backoffice-web-spring.xml

While working on a recent Hybris project for a client, I came across the need to override a Backoffice web context bean found in the backoffice-web-spring.xml application context file. As Backoffice based extension projects don’t provide access to the Backoffice web application context, I needed to find a way to override the bean and make it work. This tutorial describes the steps I took, and the way in which I accomplished it.

[ Read More ]

How to Disable WordPress Emojis

How to Disable WordPress Emojis

As WordPress continues to improve, it adds new features into each release. Some of these features are significant, and some are very subtle. One subtle feature that didn’t notice sneak …

[ Read More ]

How to Enable Jetpack Development Mode

How to Enable Jetpack Development Mode

Did you know Jetpack has a development mode? Until recently, I didn’t. While Jetpack is in development mode, features that do not require a connection to the WordPress.com servers can be activated and used on a local WordPress environment for testing and debugging.

[ Read More ]

Fix a Slow Website Due to a .local Hostname on Mac OS

Fix a Slow Website Due to a .local Hostname on Mac OS

In the past I’ve always setup my local development websites to utilize a .local hostname. (i.e., daharveyjr.local). Once I switched to utilizing a Mac for development, I noticed that my websites seemed to load extremely slow when running on my local MAMP installation. It always drove me crazy, but recently I discovered why it’s so slow, and found a way to resolve the issue.

[ Read More ]

Blocking Abusive IP Addresses with Iptables on Linux

Blocking Abusive IP Addresses with Iptables on Linux

I’ve recently had some questions come up from some of my clients who want to know how they can block specific IP addresses that are abusing their web sites and server. In those instances where you want to block a particular IP from your server and are running a distrubtion of Linux, you can block the traffic from that IP address by using iptables. This tutorial will teach you how to set up, view, and configure a rule to block a specific IP address.

[ Read More ]