Debugging AEM: java code in IntelliJ

When you are working on Adobe AEM, you usually have to debug some sling or OSGi classes to understand what is happening “behind the scene”. IntelliJ allows you to download source code and attach it to IntelliJ, but sometimes you cannot do it (you do not have internet access, your vpn to your nexus is down, etc…). This trick allows you to import the jar bundles into IntelliJ and debug them without downloading the sources!...

January 31, 2021 · 2 min · Tomás Dias Almeida

Mocking a http post server with node.js

Sometimes we need to contact remote servers and send him some data. It is hard to test the whole feature if the remote server does not offer you a sandbox environment. An easy way to do it is creating a mock http server and for me, the easiest way of doing it is with node.js Install node.js Node.js offers a great page for downloading it, I prefer to use it the package manager options....

January 6, 2021 · 2 min · Tomás Dias Almeida

Showing hidden files and folder on Finder (MacOS)

One thing that I miss from Windows is the Windows Explorer (yes, I like it). Finder is not as good as Windows Explorer… Permanent solution I like to see all my files, so to do it on MacOS , open a terminal and type defaults write com.apple.Finder AppleShowAllFiles true killall Finder Revert changes This setting is persisted even after a restart, so if you want to go back to your previous status (hidden files are hidden), open a terminal again and type:...

December 26, 2020 · 1 min · Tomás Dias Almeida