Tuesday, December 24, 2024

Advent of Code 2024 - Day 24 - Go

   --- Day 24: Crossed Wires ---

https://adventofcode.com/2024/day/24

Day 24 - Solution

Thursday, December 19, 2024

Advent of Code 2024 - Day 19 - Go

  --- Day 19: Linen Layout ---

https://adventofcode.com/2024/day/19



Day 19 - Solution

Wednesday, December 18, 2024

Advent of Code 2024 - Day 18 - Go

 --- Day 18: RAM Run ---

https://adventofcode.com/2024/day/18


Day 18 - Solution

Wednesday, December 6, 2023

Advent of Code 2023 - Day 6 - Salesforce Apex

Lot's of ways to approach this, I implemented the iterative approach for part 1, stepping through each variance in the range. 

Part 2 was a much larger range to search against and the iterative approach wouldn't work given CPU limits. Instead I used a binary search to find the low and high ends of the range that meet the criteria, and then find the difference for the possible solutions. 

For fun I also implemented a straight math solution using a quadratic formula. This is by far the fastest solution.  

--- Day 6: Wait For It ---

https://adventofcode.com/2023/day/6

Advent Calendar Progress

Tuesday, December 5, 2023

Advent of Code 2023 - Day 5 - Salesforce Apex

--- Day 5: If You Give A Seed A Fertilizer ---

https://adventofcode.com/2023/day/5

Advent Calendar Progress


Monday, December 4, 2023

Advent of Code 2023 - Day 4 - Salesforce Apex

--- Day 4: Scratchcards ---

https://adventofcode.com/2023/day/4

Advent Calendar Progress


Sunday, December 3, 2023

Advent of Code 2023 - Day 3 - Salesforce Apex

Day 3 was traversing a grid of data. Finding certain coordinates based on criteria, and then exploring adjacent coordinates for values. A nice slightly difficult challenge for only Day 3.

--- Day 3: Gear Ratios ---

https://adventofcode.com/2023/day/3

Advent Calendar Progress



Saturday, December 2, 2023

Advent of Code 2023 - Day 2 - Salesforce Apex

Day 2 was slightly less complicated than Day 1. Some string parsing and map collections helped with Part 1. Part 2 was similar parsing with a few edits to find the power of the minimum cube values.

--- Day 2: Cube Conundrum ---

https://adventofcode.com/2023/day/2

Advent Calendar Progress

Friday, December 1, 2023

Advent of Code 2023 - Day 1 - Salesforce Apex

Advent of Code has begun! I'll be completing this year's coding challenges using Apex. 

--- Day 1: Trebuchet?! ---

Let's dive into Day 1's challenge part 1. Setting up a reusable LWC Puzzle Input File Reader. And with Apex, I'll tackle the first part of the puzzle.

https://adventofcode.com/2023/day/1


Sunday, June 4, 2023

Hey Google Bard, please write a Salesforce Apex Trigger

Functional Test Case 

Given An existing Contact 
When A user updates an existing Contact email address 
Then Timestamp a field on the Contact record, Email_Updated_Date__c, with the current date/time 

Test Driven Development 

Monday, June 21, 2021

Netlify custom domain DNS setup w/ Godaddy

 

Quick Reference Guide:

Login your Netlify account.. navigate to site settings / domain mgmt .. "Add custom domain"

Saturday, March 13, 2021

ReactJS + TailwindCSS + Tailblocks

Have you checked out building your web app with TailwindCSS yet? Minimal production builds, unused code is removed during build process, regularly updated content. It has become my go to when outside of salesforce.. Check it out!

Sunday, December 13, 2020

Github Pull Request Resolve Conflicts with VSCode (many conflicts)

When trying to merge a pull request and faced with hundreds of conflicts the UI option in Github will no longer be an option.. and instead you are going to have to do the merge yourself using the command line! 

Luckily vscode makes this process visual and easy to digest. It has become my preference for resolving any number of conflicts.

Lets take a look at the following scenario:

Sunday, September 27, 2020

Salesforce Consuming a Rest API with Apex (Zendesk)

A lightweight design pattern for consuming a REST API(Zendesk) with APEX.

Thursday, September 24, 2020

Jenkins Parameterized Jenkinsfile Build (Salesforce SFDX Deploy Params)

Overview

This article will discuss how to introduce declarative configurable parameters to your Jenkinsfile build job. We will be tying these parameters into the Salesforce SFDX Deploy Stage of our build. The goal of this is to have a very diverse way to kick of builds from different Git branches and to different Salesforce environments as well.




Sunday, September 13, 2020

Jenkins Pipeline with Bitbucket Integration (Continuous Integration)

Overview

This article will focus on a step-by-step setup guide for a continuous integration pipeline leveraging Jenkins and Bitbucket Cloud.

    


Prerequisites

+ Jenkins server hosted on a AWS EC2 Instance
+ Bitbucket Private Repo

Install Bitbucket Source Plugin