Fixing JWS.app: The Hero Image

Last week, we looked at more ways to tweak the nav bar on JWS.app.  This week, I figured that we would move down to the hero image.  The current hero image is dynamically generated based upon a subset of images on photos.jws.app.  It doesn’t look great, though. See the Pen JWS.app – Hero (Before) by Joe Steinbring …

Continue reading "Fixing JWS.app: The Hero Image"

Two really promising upcoming “pay what you want” online conferences

This year has caused a lot of plans to go out the window.  You can’t travel, go to school (in person), or even grab a beer at the neighborhood bar.  As we always do, we find a way though.  Two of the conferences that I have really enjoyed in the past are going online, this …

Continue reading "Two really promising upcoming “pay what you want” online conferences"

Fixing JWS.app: The Nav Bar (Part 2)

Last week, we looked at two ways to fix the nav on JWS.app.  For the first option, we simply added an additional header that displays when the screen width gets narrow enough.  For the second option, we introduced a hamburger menu.  This week, let’s look at two new options. The first of this week’s options …

Continue reading "Fixing JWS.app: The Nav Bar (Part 2)"
Photo by Jaromír Kavan on Unsplash

Living with an electric car in Wisconsin: The Heater

Back in May, I bought a 2016 VW e-Golf (my first electric car).  Before I bought it, I did a ton of research and I knew theoretically what I was getting into but really needed to figure out a few things in practice.  Two weeks after it arrived at my house, I tried a roadtrip …

Continue reading "Living with an electric car in Wisconsin: The Heater"
Guy writing code

My prefered tools for coding

Back in 2011, I wrote few short posts about what I install right after reinstalling windows.  I figured that 9 years is enough time between these kinds of posts.  This time, I’m going to go over my prefered tools for writing code.

Continue reading "My prefered tools for coding"

PHP function of the day: array_rand()

For day 20 of 21 in the “PHP Function of the day” series, I’m going to look at array_rand().  The function takes a required array and an optional number of random keys to return.  It returns a random key (not the value). Let’s take a look. <?php $names = array(“Joe”,”Jim”,”Sarah”,”Jill”); $numbers = array(1,2,3,4,5,6,7,8,9); $names_rand_keys = array_rand($names,3); $numbers_rand_keys …

Continue reading "PHP function of the day: array_rand()"

PHP function of the day: date_diff()

For day 19 of 21 in the “PHP Function of the day” series, I’m going to look at date_diff(). Let’s take a look. <?php $shoppingDay=date_create(“2020-05-28”); $payDay=date_create(“2020-06-01”); $difference = date_diff($shoppingDay,$payDay); print_r($difference); echo “<br /><br />”.$difference->format(“%R%a days”); ?>   See the output   As you an see, this calculates the difference between two dates (something that could be pretty …

Continue reading "PHP function of the day: date_diff()"