Browsing Category:

Uncategorized

In Uncategorized on
November 3, 2022

Flexbox vs Grid

With web development, there are two main choices to how to layout the display – flexbox or grid. In order to better understand the advantages and use cases of each, this post briefly explores each.

Flexbox

Most of what I’ve read describes the use case of flexbox as 1 dimensional. Really what this means is each flexbox is a row. So, when you want control over each row as the overall box, flexbox is your option.

<div class="flexbox-container>
    <p>Div text goes here</p>
</div>

.flexbox-container {
  display: flex;
}

Grid

Now, if you read about Grid, you’ll find this described as 2 dimensional. This covers both rows and columns. With grid, you’re creating exactly that, a grid layout defining the rows and columns (yes, like a table).

So, which do you use?

Easy answer here, both. Why? Because you can use both together. You can put a flexbox inside of a grid, or a grid inside of a flexbox. Of course, you don’t actually need to do this. You can use one or the other. Point is, you’ve got options and it’s about selecting the right tool for the job – as usual.

In Uncategorized on
April 22, 2017

Dell PowerEdge T310

A few months back I’d purchased a (used) Dell PowerEdge T310 Server. I came across one in a search where the price was right to give this a go. Currently, I run one home server with a personal home page, file server, etc. Whereas the first one was limited as it’s a compact version, running hardware that’s a few years old, and a little under powered to do much more than serve up movies via Plex.

Image result for dell poweredge t310
Read more