- 
Ship secure high quality software faster.
- 
Latest Posts
- 
Tag! Your it!
- .NET .NET Core ASP.NET MVC BackAndForth Behemoth Garden BEMCheckBox Birm C# DataGrip Docker Edmonton .NET User Group Entity Framework fun hack the box human resource machine Introduction to ORMs for DBAs ios kids thinking outside the box Mini-Compressor native-binding NUnit ORM picoctf python react Reduce image size Reduce photo size ruby RubyMine ruby on rails saturdaymp show saturdaympshow security Smaller images software development sql-server standard ruby Takeaways TeamCity Temporal Database Today I Learned xamarin xamarin ios .net native-binding xplugins xplugins.iOS.BEMCheckBox 
- 
Archives
Category Archives: Code Examples
SaturdayMP Show 57: Something’s Rotten at the Gilded Rose: A Refactoring Tale
In this episode I tackle the famous Gilded Rose refactoring kata as practice for my upcoming Edmonton .NET User Group (EDMUG) presentation. One of the great things about the Gilded Rose kata is the different ways to “solve” it. What … Continue reading
									
						Posted in Code Examples, Edmonton .NET User Group, Presentations, Saturday MP Show, Software Development					
					
				
								
					Tagged C#, Edmonton .NET User Group, gildedrose, refactoring, rider, saturdaympshow				
				
				
				Comments Off on SaturdayMP Show 57: Something’s Rotten at the Gilded Rose: A Refactoring Tale
							
		SaturdayMP Show 36: picoCTF Gym
In this episode I do some picoCTF exercises inspired by the picoCTF 2024 competition starting. The last problem was a Unicode byte problem that I figured out with help from GitHub Copilot. I don’t fully understand the solution so let … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Security					
					
				
								
					Tagged ctf, picoctf, saturdaympshow, security				
				
				
				Comments Off on SaturdayMP Show 36: picoCTF Gym
							
		SaturdayMP Show #29: Upgrading Website from Rails 6.1 to 7.0 Part 2: Upgrading Rails
In this episode I do the actual upgrade from Rails 6.1 to 7.0 for the SaturdayMP site. The upgrade actually goes pretty smooth aside from an issue setting up the system tests. Does not include removing Webpacker which I will … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged ruby on rails, saturdaymp show				
				
				
				Comments Off on SaturdayMP Show #29: Upgrading Website from Rails 6.1 to 7.0 Part 2: Upgrading Rails
							
		SaturdayMP Show #22: Adding Basic Auth to NGINX Passenger Docker (Part 2)
In this episode I get the Basic Authentication NGINX configuration working using the envsubst tool to replace environment variables in the config file. Ran out of time to test the fix in actual staging. That will hopefully be done in … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged Docker, http basic auth, nginx, passenger, ruby on rails, saturdaymp show				
				
				
				Comments Off on SaturdayMP Show #22: Adding Basic Auth to NGINX Passenger Docker (Part 2)
							
		Saturday MP Show #12: Refactoring of a System Test While Fixing the Standard Ruby Linter ToDo Bug
Getting to the end of fixing the Standard Ruby Linter ToDo bug. In this video I refactor and remove duplicate code from a system tests that are similar. It goes well for the most part. The only hiccup is the … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged automated tests, refactoring, ruby, saturdaymp show, standard ruby, system tests				
				
				
				Comments Off on Saturday MP Show #12: Refactoring of a System Test While Fixing the Standard Ruby Linter ToDo Bug
							
		SaturdayMP Show #11: Refactoring System Tests for the Standard Ruby Linter Todo Bug
The system test is finally working!! I go over, again, why it’s important to make sure your tests fail. Now that the test is working I start refactoring it to remove duplicate code. Spent longer then I would have thought … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged ai, jetbrains, ruby, saturdaymp show, standard ruby				
				
				
				Comments Off on SaturdayMP Show #11: Refactoring System Tests for the Standard Ruby Linter Todo Bug
							
		Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug
I get my system test working at the start of video but the problem is it works so well that it still passes even after I re-introduce the bug when it should have failed. Crap! That means my test is … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged rubocop, ruby on rails, RubyMine, saturdaymp show, standard ruby				
				
				
				Comments Off on Saturday MP Show #10: Finally get the System Test Working for the Standard Ruby Linter ToDo Bug
							
		Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug
I get one system test working for generating the todo file and almost get the second test working. The second test that actually tests the bug we fixed. Went down a bit of rabbit hole trying to get the optimal … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged ai, jetbrains, ruby on rails, RubyMine, saturdaymp show, standard ruby				
				
				
				Comments Off on Saturday MP Show #9: Add 1.9 (e.g. almost 2) System Tests for the Standard Ruby Linter ToDo Bug
							
		Saturday MP Show #8: Another Failure at Adding System Test for the Standard Ruby Linter ToDo Bug Fix
Similar to the previous episode I fail at adding a system test. Should I be live coding all these failures? I think so. Maybe? Do they make boring videos? Probably. Should I say “ummm” less? Most definitely. I think there … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged ruby on rails, RubyMine, saturdaymp show, standard ruby				
				
				
				Comments Off on Saturday MP Show #8: Another Failure at Adding System Test for the Standard Ruby Linter ToDo Bug Fix
							
		Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix
I, Chris, try to add a system test for the todo bug fix in episode 5 but run into some issues. I find out I stupidly hard coded the todo file name when he first added the ability to generate … Continue reading
									
						Posted in Code Examples, Saturday MP Show, Software Development					
					
				
								
					Tagged ruby, saturdaymp show, standard ruby				
				
				
				Comments Off on Saturday MP Show #7: Trying to Add a System Test for the Standard Ruby Linter ToDo Bug Fix
							
		