<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Samples</title>
	<atom:link href="https://codesamples.net/feed/" rel="self" type="application/rss+xml" />
	<link>https://codesamples.net/</link>
	<description>Simplified example code of the work that I&#039;ve done</description>
	<lastBuildDate>Thu, 19 Nov 2026 14:31:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://codesamples.net/wp-content/uploads/2025/08/cropped-taro_photogenic-32x32.jpg</url>
	<title>Code Samples</title>
	<link>https://codesamples.net/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Spring Send Mail Example</title>
		<link>https://codesamples.net/2026/11/spring-send-mail-example/</link>
					<comments>https://codesamples.net/2026/11/spring-send-mail-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sun, 15 Nov 2026 07:51:27 +0000</pubDate>
				<category><![CDATA[google cloud platform]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[google-cloud-platform]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=1187</guid>

					<description><![CDATA[<p>Did you follow Spring Boot Send Email Example and ran Crowsnest? Got it to send the email monitoring notification? If so, bien hecho! But in the end we want it to work for real and not just for local testing purposes. Here, I&#8217;ll demonstrate how to send the notification email via Gmail&#8217;s SMTP server. This [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/11/spring-send-mail-example/">Spring Send Mail Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/11/spring-send-mail-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Enhanced SystemD Service Example</title>
		<link>https://codesamples.net/2026/10/enhanced-systemd-service-example/</link>
					<comments>https://codesamples.net/2026/10/enhanced-systemd-service-example/#comments</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Fri, 30 Oct 2026 22:03:38 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[rocky]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[linux-administration]]></category>
		<category><![CDATA[rocky-linux]]></category>
		<category><![CDATA[system-administration]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=1169</guid>

					<description><![CDATA[<p>Have you tried running your web app as a SystemD Service? This blog enhances the systemd service example in Run App as SystemD Service Example. The systemd service example written in Run App as SystemD Service Example is probably good for lower environments (e.g. development, preproduction, etc.). For production however, we&#8217;ll need a few steps [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/10/enhanced-systemd-service-example/">Enhanced SystemD Service Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/10/enhanced-systemd-service-example/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Fix npm error code ERESOLVE</title>
		<link>https://codesamples.net/2026/10/fix-npm-error-code-eresolve/</link>
					<comments>https://codesamples.net/2026/10/fix-npm-error-code-eresolve/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 10 Oct 2026 10:00:05 +0000</pubDate>
				<category><![CDATA[node]]></category>
		<category><![CDATA[react]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=1039</guid>

					<description><![CDATA[<p>Have you encountered this error, npm error code ERESOLVE? Right, following the setup instructions in a node app project, it was time to run npm ci. Lo and behold, the npm error code ERESOLVE error staring right into my face. Feeling confident I ask GitHub Copilot to fix my npm error. Let me share this [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/10/fix-npm-error-code-eresolve/">Fix npm error code ERESOLVE</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/10/fix-npm-error-code-eresolve/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Apache Virtual Host Example</title>
		<link>https://codesamples.net/2026/09/apache-virtual-host-example/</link>
					<comments>https://codesamples.net/2026/09/apache-virtual-host-example/#comments</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 19 Sep 2026 11:35:29 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[apache virtual host]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[apache-virtual-host]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=1020</guid>

					<description><![CDATA[<p>What is a virtual host? Why would I want one? It&#8217;s a way of saving costs. At minimum, you&#8217;ll only need one physical or virtual machine, one backend instance and Apache. So an Apache virtual host manages the routing of IP requests to your backend instance. Allowing you to host multiple distinct websites (domain name [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/09/apache-virtual-host-example/">Apache Virtual Host Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/09/apache-virtual-host-example/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>JSON Custom Deserialize/Serialize Example</title>
		<link>https://codesamples.net/2026/07/json-custom-deserialize-serialize-example/</link>
					<comments>https://codesamples.net/2026/07/json-custom-deserialize-serialize-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Fri, 31 Jul 2026 15:53:54 +0000</pubDate>
				<category><![CDATA[jackson]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[junit]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=989</guid>

					<description><![CDATA[<p>Do you need to support multiple environments? Tired of spinning up instances? Perhaps custom JSON serialization and deserialization can help. The Ask Here&#8217;s the situation. You got a web API and then one day your customer wants to roll out two more development environments. This will result in three instances hitting your web API. Production [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/07/json-custom-deserialize-serialize-example/">JSON Custom Deserialize/Serialize Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/07/json-custom-deserialize-serialize-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Go Unit Testing Example</title>
		<link>https://codesamples.net/2026/07/go-unit-testing-example/</link>
					<comments>https://codesamples.net/2026/07/go-unit-testing-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Fri, 03 Jul 2026 11:25:46 +0000</pubDate>
				<category><![CDATA[go]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=969</guid>

					<description><![CDATA[<p>As a software developer nowadays, we are expected to pick things up rather quickly. You can be assigned to a JIRA ticket to make changes to an app written in a programming language you are not that familiar with. It&#8217;s normal to compare or ask for example how is it done in Go when you [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/07/go-unit-testing-example/">Go Unit Testing Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/07/go-unit-testing-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Spring Boot Send Email Example</title>
		<link>https://codesamples.net/2026/05/spring-boot-send-email-example/</link>
					<comments>https://codesamples.net/2026/05/spring-boot-send-email-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Tue, 19 May 2026 09:57:03 +0000</pubDate>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=861</guid>

					<description><![CDATA[<p>Now that you got your monitoring up and running, what&#8217;s next? Do you relax, put your feet up and read Jack Reacher Tripwire? I&#8217;m sure your boss will say &#8220;Can this notify us when something is wrong? Like send an email or something. There you go. This bit is about adding that send email functionality. [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/05/spring-boot-send-email-example/">Spring Boot Send Email Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/05/spring-boot-send-email-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Spring WebClient Failed to Resolve Example</title>
		<link>https://codesamples.net/2026/04/spring-webclient-failed-to-resolve-example/</link>
					<comments>https://codesamples.net/2026/04/spring-webclient-failed-to-resolve-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sun, 26 Apr 2026 14:27:27 +0000</pubDate>
				<category><![CDATA[java]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[webclient]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=854</guid>

					<description><![CDATA[<p>Have you ever encountered Spring&#8217;s WebClient throwing a &#8220;failed to resolve &#8216;hostname&#8217; after x queries&#8221; error?. Well, if you ran my Crowsnest project prior to my latest merge, then chances are you may have. Especially, if you ran it inside your internal network. Here&#8217;s what the error looks like. Spring WebClient Failed to Resolve Cause [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/04/spring-webclient-failed-to-resolve-example/">Spring WebClient Failed to Resolve Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/04/spring-webclient-failed-to-resolve-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Run App as SystemD Service Example</title>
		<link>https://codesamples.net/2026/03/run-app-as-systemd-service-example/</link>
					<comments>https://codesamples.net/2026/03/run-app-as-systemd-service-example/#comments</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Thu, 26 Mar 2026 12:08:11 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[rocky]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[linux-administration]]></category>
		<category><![CDATA[rocky-linux]]></category>
		<category><![CDATA[system-administration]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=845</guid>

					<description><![CDATA[<p>Here we go. You got an old web app that start/stop/restart using initd scripts. This was well and good in the CentOS days. After some OS updates here and there, your web app now runs on Rocky 9.7. Trouble is on VM reboots, your web app does not start up automatically and you have 10 [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/03/run-app-as-systemd-service-example/">Run App as SystemD Service Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/03/run-app-as-systemd-service-example/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Deploy to Kubernetes Example</title>
		<link>https://codesamples.net/2026/03/deploy-to-kubernetes-example/</link>
					<comments>https://codesamples.net/2026/03/deploy-to-kubernetes-example/#respond</comments>
		
		<dc:creator><![CDATA[Joel Patrick Llosa]]></dc:creator>
		<pubDate>Sat, 07 Mar 2026 13:49:40 +0000</pubDate>
				<category><![CDATA[docker]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[kubernetes]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[spring boot]]></category>
		<category><![CDATA[spring-boot]]></category>
		<guid isPermaLink="false">https://codesamples.net/?p=762</guid>

					<description><![CDATA[<p>Alright, now that you got a docker image in the previous example, Dockerize Spring Boot App Example, what now? The most obvious next step is to spin up the docker image in a Kubernetes cluster. But GKE (Google Kubernetes Engine) is bloody expensive for us mere mortals. Luckily we can practice Kubernetes stuff with Docker [&#8230;]</p>
<p>The post <a href="https://codesamples.net/2026/03/deploy-to-kubernetes-example/">Deploy to Kubernetes Example</a> appeared first on <a href="https://codesamples.net">Code Samples</a>.</p>
]]></description>
		
					<wfw:commentRss>https://codesamples.net/2026/03/deploy-to-kubernetes-example/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
