Welcome to CodeChef Marc

Summer Bread

Submitted by Marc on Sat, 08/11/2018 - 12:10

It's been a while since I've posted on here! Summer vacation, my current development project is a Drupal 7 site so I haven't had the time to return to my Drupal 8 development (which actually is going quite well, and I'll update in another post) and other such things have been taking a lot of my time. Today, however, I'm going to post something that will (hopefully) be the start of a new experiment in keto bread making!

Migration Mess

Submitted by Marc on Sun, 06/17/2018 - 14:44

When I set out to learn Drupal 8, I wanted to do things in the recommended ways - of course! So, when I ran into the challenge of importing items into Drupal, I got a little stuck. In Drupal 7, I've used the Feeds module for MANY uses and it's worked very well. When it came time for D8, however, it seemed as though Feeds hasn't really been a big focus in favor of the core module, Migrate. So, I dove headfirst into the new migrate API and started writing code.

You Say Custom Field Formatter I Say Template Preprocess Field

Submitted by Marc on Sat, 05/19/2018 - 13:31

I must admit that in all the time I've spend developing Drupal 7 modules, I've never quite fully understood render arrays. Oh, I understand that it's basically an array of stuff with some objects mixed in for chaos and I've used preprocess functions to change some of the array adding custom functionality prior to it being rendered in the DOM. But, when it really came down to brass tax, I sort of always felt as if I were "hacking" it a little. Almost like I thought there was some Drupal API call that I was missing to get at the values, set custom values, etc.

Tags

Keep Talking

Submitted by Marc on Sun, 05/13/2018 - 16:05

I'm not sure when I started doing it. I'm not sure if my coworkers are annoyed by it. I certainly hope not. But, many years ago, I started whispering to myself while I was programming something new. Sometimes it was just a validation of something that I was working on, other times it was asking questions about what I was seeing or not seeing. I've researched this phenomenon a few times and thankfully I'm not crazy.

Cocoanut Crazy

Submitted by Marc on Wed, 05/02/2018 - 20:38

This weekend one of my favorite food bloggers, Deb at Smitten Kitchen, posted this beauty - Triple cocoanut cream pie. Could I keto-fy it? Well, challenge accepted! We've been eating a lot of cocoanut things lately and this just seemed like the perfect dessert that could be easily converted to keto. And it worked pretty well, I must admit! Here were my changes:

Dependency Injection or: How I Learned to Stop Worrying and Love OO-PHP

Submitted by Marc on Wed, 04/25/2018 - 21:01

I spent much of the past 2 days deep in training on Drupal 8 module development. I'm using the fantastic Drupalize.me and the articles on Drupal.org. Even though I went though the OO-PHP training recently so more of the Drupal 8 stuff makes more sense than before, my head was still reeling from all of the new particles whizzing past.

Trusted Host Localhost

Submitted by Marc on Tue, 04/24/2018 - 20:29

So, the other day I ran into an oddity with Drupal 8 and local development. I've known about how to configure the Trusted Host Settings before. However, this was the first time I decided to try using the settings.local.php file and I thought why not put the trusted host for my local dev environment in there only. And of course keep my main server trusted host in the regular settings.php file. Well, as it turns out, that didn't work at all.

Tags

Hasselback in Quantity

Submitted by Marc on Sun, 04/15/2018 - 15:05

One of our favorite dishes lately has been this fantastic hasselback chicken from Ruled.me. I've made it a bunch of times, but only have done it with a package of chicken breasts. And then last week, our family and friends were finally all able to get together to celebrate Passover and I decided to try my hand at this in bulk! It worked better than expected!

Tags

Where am I with Drupal 8?

Submitted by Marc on Sat, 03/17/2018 - 14:36

One of the original goals of this website was to help me train on Drupal 8 and I promise I will get there! I'm just involved with a Drupal 7 site build at the moment (which is going very well) and so I'm putting off my Drupal 8 training for a little bit. But I'll get back there! One thing to note about this recent build is I've incorporated two new technologies that I've not used in production before - CSS Grid and CSS Variables. I also started with the Tao theme so I could start with as base a level as possible.

The Keto Email

Submitted by Marc on Sat, 03/17/2018 - 14:31

For those who have asked us for more information about the keto way of eating, we've typically copied and pasted an email that seems to have grown over time to include all sorts of amazing resources. So, I've now created a new page on this site that includes those resources and we'll update this page over time as we gather more information. As this website grows, my hope is to start a recipe section with our favorites. Check out the keto info page here!

Tags

Down to Basics - Replacing Frameworks with CSS Grid

Submitted by Marc on Sun, 03/04/2018 - 15:24

Like many web developers, I've been using CSS frameworks for years - Bootstrap and Foundation being the main ones. Of course using these has been incredibly helpful when it came to layout and not having to worry about mobile responsiveness, layout percentages, mobile menu's built in, and some other extras like accordions and such. While I love these frameworks, I kept hearing about CSS Gris as a replacement and now that browser support has gotten really good, I thought why not give it a try?

Tags

FatHead Pizza - A Keto Staple

Submitted by Marc on Sat, 03/03/2018 - 16:22

Before going keto, one of the things we did on the regular was get a weekly pizza. Of course after keto, this isn't something we can do anymore. Until now! A few months after started eating this way, we stumbled on this beauty of a recipe that makes an amazing pizza replacement that is completely keto. It comes from The Fat Head movie website. I don't know how many times I've made this, but it's amazing. Top it with your favorite toppings and you're golden.

Three Times An Object

Submitted by Marc on Mon, 02/19/2018 - 18:05

When I was in High School, I took trigonometry and failed miserably. It frustrated me because up until that point, math had always been so easy to learn for me. Perhaps it was my dad spending time with me when I was 8 going over algebra, or that I got excited when I learned a new theory in geometry, but I took to math up until that point with little to no issues. Trig seemed like a foreign language to me and the more the class went on, the more lost I became.

Keep Calm and Keto On

Submitted by Marc on Mon, 02/12/2018 - 20:45

As mentioned in the about page, my wife and I started a ketogenic way of eating in June of 2017. Basically, we've kept to the diet for the most part and are both down about 30 lbs. However, this isn't the ultimate goal of our keto lifestyle. We've noticed tons of changes in our lifestyle from feeling healthier in general, sleeping better, better skin, less allergic reactions, and other amazing side effects. The main reason I started on this way of eating was the potential medical benefits. After some blood tests, I found my numbers put me into a possible pre-diabetic stage.

Tags