- Jack Dorsey is CEO of Twitter and Square.
- Nationals swept the Cardinals for NCLS. Astros are up on the Yankees 2-1.
- What to do after promotion to senior management: https://sriramk.com/exec-101-first-thirty-days.
- HTML/CSS layouts and other random tags.
- Webkit appearance <a type=”button> is deprecated, stop using it. For <button> elements, you still have to put the attribute type=”button” so that it indicates it’s a clickable button. For all browsers except IE, the default is “submit”.
- Tables come with a default bottom margin.
- em = font size of the element. rem = root em, the font size of the root document. This is usually 16px default in most browsers. Specifying something as 2rem would be twice the default font size, or 32px usually.
- In bootstrap the default $spacer is 1 rem. So for stuff like m-0 m-1 m-2 m-3 m-4 m-5, it’s all relative to the root font size. They almost double in size with each number.
- m-0 = 0 (0px)
- m-1 = 0.25 rem (4px)
- m-2 = 0.5 rem (8px)
- m-3 = 1 rem (16px)
- m-4 = 1.5 rem (24px)
- m-5 = 3 rem (48px)
- Card-header and card-body elements come with natural padding (as expected), so if you have a child element with additional padding/margin (heading, table, p), you probably want to remove it. Usually it’s the bottom.
- hr has top and bottom margins.
- The “role” attribute on many tags is not required, but is there as a helpful piece of information. The most common case is when people use links <a> as buttons, so role=”button” will tell screen readers and other accessibility tools what the user is actually supposed to do.
- When you specify `height: 30%`, it’s relative to the parent element. To make it relative to the viewport height, you can use `height: 30vh`. The same applies for width.
- Cols naturally have gutters between items and rows. Remove with px-0.
- Supercontest.
- Although the project is private, I would like a setting that allows the badges to be public, so that build status and such can be seen by non-gitlab-loggin-in-users and non-admin. Oh well. https://gitlab.com/gitlab-org/gitlab/issues/15646.
- Tons of UI updates, mostly from the css above. Cleaned up a lot of the spacing. Made the buttons proper. Padding, margins. Nothing uses fixed-width anymore, every single element is responsive.
- Made some adjustments for whitespace that flask-user and zero-md and such injected (inconsistently).
- Completely rewrote the navs, from the many bars to the various dropdowns.
- Reconfigured with multiple navbar-collapses at different breakpoints.
- Scheduler only runs in prod now.
- Fixed the js to allow the unselection of picks all the way to zero. It would only show the button on matchups.length > 0 before. Also moved the pick button disabling and div hiding to the ajax beforeSend, rather than in the target function.
- The britney banner required a little more, since I was created the gif mosaic in html with bootstrap’s img-fluid and other pieces. I also used the grid system within the jumbotron for the first time, which gave me a lot more control, and with more ease.
- Disabled shared and group runners for my gitlab project. Only using my machine now. Shared runners can be re-enabled with the click of a button from the frontend.
- Unlocked bmahlstedt-xps13 from just supercontest use, so that other projects (that I own) can run their pipelines on my machine as well.