-
- Some chargers have a UV bath for sanitizing your phone: https://www.amazon.com/PhoneSoap-Sanitizer-Universal-Patented-Clinically/dp/B072R6MJKQ.
- In Python, you can unpack (destructure) strings as an iterable just like a list!
- Should probably hook my public github apps into travisci at some point.
- Talked with the spacex folks a little bit about investing. Many hold philip morris, which is bullshit, but we talked about recession strategies as well. Some are putting into fixed rate savings accounts @2.5%, which I guarantee I can beat on the public market. My portfolio grew during 07-09. Companies like Netflix, Amazon, Groupon, Lego, and many more all saw between 20-80% annual growth during the last bear.
- APR is a little different, it’s the charge.
- The rule of 72: timeToDouble= 72/interestRate So if you want to double your money in ten years, you need to find an annual interest rate of 7.2%.
- two-movies.name is a good alternative for stuff like yesmovies, watchseries, movie4k, etc.
- Vegas odds has the 2019-2020 nba champs at clippers (3.5) lakers (4) bucks (6) rockets (8) 76ers (8) warriors (12).
- Placed fresh order. Trying a ton of new vegetables to juice like radicchio, green cabbage (usually do red), and golden beets (usually do red).
- The Jamie from JRE is Jamie Vernon: http://www.youngjamie.com/. He’s a producer/photographer/gamer. His website isn’t encrypted lol.
- Started using google calendar more deliberately. Wanted to avoid conflicts like the blake st trip.
- Uninstalled ticktick, no longer need a todo list. Calendar has tasks and I want to keep it all in the same place.
- SpaceX FF draft.
- Bottled kombucha for second fermentation with blueberries. Made new batch.
- Supercontest.
- Talked logistics with petty for a little bit. Gave the creds to the account.
- Created another ticket with some cleanup: https://github.com/brianmahlstedt/supercontest/issues/35.
- Made the sc container names unique to not conflict with bmahlstedt.com.
- Docker system prune (not volumes), reclaiming 13GB lol.
- The password had been wiped on the supercontest db in my local persistent volume. Alter user to fix it, back to what it was before.
- Jinja’s |safe filter is what you use to disable all autoescaping. This allows you to do things like pass raw html via python strings to the renderer (similar to a jsx fashion, having html in the app), rather than relying on the template to contain all of the html.
- Removed the week shim, the / home route will run the url_defaults to set the week at the max available.
- Restricted it so that other users’ picks for the current week are hidden until midnight on saturday.
- Made the leaderboard, graph, and navbar show first name and last name instead of email. If names aren’t present, it defaults back to email.
- Customized the flask-user templates for various things like registration and login. Removed my main/profile and replaced it with the standard user/edit_user_profile. It was just naivete when I first built the app.
- Centered everything, including the feedback route. Styled them all much better and much more consistent. There was a lot of shitty styling, and still is. I’ve moved bits and pieces over to the proper bootstrap implementation, but there’s still a lot of conflict between custom classes and styles.
- Closed https://github.com/brianmahlstedt/supercontest/issues/35.
- Slight bootstrap refresher, since enough time usually passes between UI projects to forget syntax.
- form-group for inputs with other tags. form-control for styling.
- container, row, and col. You can align and justify within. 12 columns. Assign width however you want, and it can be different across different screen sizes. Comes with natural gutters, 15px on each side of each column. You can lay out forms in rows/cols in the same way.
- text-center. <abbr> for hover. <pre> and <code> for code. Variables. User input. nav, navbar (dropdown), jumbotron.
- clearfix should be added to the parent div around floating elements, like float-right or left.
- Pagination, popovers, progress bars, spinners, shadows.
- Width w height h padding p margin m. Margin can go negative (padding can’t), so you could have something like mr-lg-n2 which would mean negative right margin on large viewports.
- Screen size callouts apply to that and anything larger. sm > 576px, md > 768px, lg > 992px, xl > 1200px.