This spring, Google introduced eight new TLDs, and two of them are creating a little bit of a stink online. The top-level domain “.zip” is also an extension for archive files employing the compression format known as “zip.” Similarly, the TLD “.mov” is also the file format extension “.mov”. So, how can this be abused?
Continue reading "What kind of shinanigans can you get up to with a .zip or .mov TLD?" →
Back in January, I promised that a future post would cover how to go from a street address to latitude / longitude coordinates. Previously, we have covered how to get the user’s street address, using navigator.geolocation and MapQuest and more recently, we covered converting addresses to latitude and longitude but that wasn’t an actual street …
Continue reading "How to use Mapbox to convert from coordinates to address and back again" →
I have been poking at the Milwaukee County Trasit System (MCTS) APIs over the past few weeks. A few years ago, I tried to write a bus app using Angular and it just didn’t work out well. I figured that I would try it again, using what I have learned since then. The first step …
Continue reading "How to autofill an address using mapbox" →
Over the holidays, I created Good Morning, Milwaukee! (a Mastodon bot that posts a “Good Morning” toot every morning). The problem is that it hasn’t been behaving correctly since shortly after I finished it. I want to simplify it a bit, so I can make it a little less fragile. The first component of the …
In my previous post, I talked about how after Elon Musk’s purchase of Twitter, I was giving more attention to Mastodon. Since then, I killed my twitter account, launched my own Mastodon instance, launched three new Mastodon bots (including a new one that goes live this morning), and converted Joe Travels to only post to …
Continue reading "I might have been spending a lot of time on Mastodon" →
In this week’s blog post, I want to cover how to center divs inside of other divs horitontally, vertically, and both horizontally and vertically. You can do this with CSS Grid or Flexbox but I want to go over how to do it with standard CSS.
Continue reading "How to center all of the things in all the other things without CSS Grid or Flexbox" →
The goal of a CSS reset is to reduce inconsistencies with things like line height, font sizes, and margins. Every browser defaults to different sizes and spacing and if you set a common baseline, you end up with a better end-product. A basic example would look like: body, div, h1,h2, h3, h4, h5, h6, p,ul …
Continue reading "What is a CSS Reset?" →
Previously in this series, we have looked at how to install laravel, how laravel works, and how to deploy a laravel app. In today’s post, we are going to look at how you would protect a route so that the user would need to login in order to view a webpage.
Continue reading "Learning Laravel: Protected Routes and Authentication" →
Looking back, the recent Bootstrap vs Bulma post left me wondering why you really need either. Two years ago, I did a post on what CSS Grid is and I figured that you can consider this to be an continuation of that.
Continue reading "Styling a webform with CSS Grid" →
As I promised in the most recent Laravel post, today we are going to talk about how to deploy a Laravel app to a production environment. At the time that I write this, the most recent version of Laravel is 9.x but when you read this, there is a good chance that 10.x or 11.x …
Continue reading "How to deploy a Laravel app" →