The microbiome and antibiotics
Innumerable tasks are handled by the bacteria in our intestines. The goal of the bacteria is selfish, they want to feed themselves and reduce competition, but in order to do this, they end up creating a complex ecosystem which we as animals take advantage of. Some bacteria digest things for us, because breaking down a molecule into another mole...
[read more]List of essential nutrients and recommended amounts
For reference:
Get at least ~ X each day, but try to stay < Y. Vitamins/minerals without "less than" amounts have no known caps.
Vitamin A ~900mcg < 3000mcg
Vitamin B group
- B1 (thiamine) ~1.2mg
- B2 (riboflavin) ~1.3mg
- B3 (niacin) ~16mg
- B5 (pantothenic acid) ~6mg
- B6 (Pyridoxine & friends) ~1.5mg < 100mg
- B7 (biotin) ~30mg
- B9 Folate ~500mcg < 1000mcg
- B12 ~2....
Useful Ketogenic Diet Links
Thomas DeLauer - Comparing training fasted vs. eating before training:
https://www.youtube.com/watch?v=a0qc8YHxIn0
Lazy man's Fat Bomb recipe:
https://www.youtube.com/watch?v=hxczliPFbXY
Keto cookies:
https://www.youtube.com/watch?v=ixbbQjisAgo
Thomas DeLauer - Gaining lean mass on Keto:
https://www.youtube.com/watch?v=9BV7InDUBNE
Thomas DeLauer - Maintain...
[read more]How to set up Drupal with Sqlite on Ubuntu 16.04
Get these packages with apt-get:
sudo apt-get install sqlite3
sudo apt-get install php7.0-sqlite3 // ...OR:
sudo apt-get install php-sqlite3 // This package pulls in the above one as a dependency, either way works
Then, use drush to install like normal. I'm using the multisite installation, see my multisite example or just ignore --sites-subdir:
d...
[read more]
How to set up Drupal Multisite
There are multiple ways to handle multisite in Drupal, but in this method, we will be using:
- The same codebase for all sites
- The same database, but different database instances
- Drush aliases to control drush command access to different sites
- Different (sub)domains for each site
Knowledge needed (and not included) for this tutorial involves:
- Having a prev...
How to use/update certbot certificate
I always hated doing this for Nginx, because Nginx was behind Apache on creating a helper script, and those are always less reliable than straight terminal commands anyway. This command gets around annoying things and gives you:
- One single certificate that doesn't randomly change its name to 001, 002, etc.
- Multiple domains in the same certificate, ...
jQuery $.Deffered objects, Promises, and Asynchronous Handling
Promises, like everything in Javascript, can be done and often is done in a great number of ways. This article shows the jQuery method. I should mention that ES6 contains its own Promise functionality, which presumably will become more popular in the near future. Nonetheless, it's good to know these things in case you ever encounter them in a...
[read more]