Now Available: Zone Diet - Blocks Lookup Tool (initial release)

Announcing the immediate availability of a new Zone Diet - Blocks lookup tool.

I’ve been eating with the Zone Diet” for about a year and a half now. I really enjoy it and it works for me. I’m going to assume for the rest of this post that you know about the Zone Diet”, if not - you can read more about it here.

ZDP Version 1.0

I’ve created a simple web application utilizing React and Bootstrap to make a quick and easy to use, mobile-friendly lookup table for Zone Blocks. Every row is the amount that makes up one block of each category (fat, carb, protein).

Most foods are available as a weight in grams as well as an eyeball” amount (either cups, ounces, or count).

Consider this a first version and I’ll add to it to make it easier to use as I use it more.

Check it out here.

· devlogs · zdp · development

avatar
· illustration · sketch

whale
· illustration

english muffin
· illustration

bear
· illustration · sketch

Command Line Fu - MySQL - find last update per database

Want to find the last time a database was updated?

SELECT MAX(UPDATE_TIME), TABLE_SCHEMA as last_update from information_schema.tables GROUP BY TABLE_SCHEMA;

Livereload JS Snippet

Just a snippet to keep handy for livereload.

    <script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
· Code Snippets

Savage Doctor - Drawing Timelapse

One of the things I’ve been doing recently is making comics. Every once in a while, I’ll make a recording and convert it into a timelapse, as I’ve done here, enjoy! You can view the full comic here, and you can get new comics on Instagram, if that’s your jam.


New Gamejam Game: SSSK

I participated in the 2018 MonoGameJam on Itch.

I created a small game called Super Sexy Space Knights using MonoGame over the course of a week.

I streamed most of the development on my Twitch Channel

YOU CAN PLAY THE GAME HERE!

Want to see a really sped up version of creating it? Well HERE YOU GO!


New Gamejam Game: Hey You! Let’s Sword Fight!

This past weekend, I participated in 1 Class Jam.

Rather than a themed jam, this jam was a coding challenge. The objective: To create a game in a single class / structure, no subobjects. You can see my code on github.

The game I created was a simple turn-based card fighting game. I like the idea, although the execution (with the time limits of the jam) could use a little more balance and polish. I may continue on with this idea in the future.


Command-Line Fu: mysqldump | gzip one-liner

Quick MySQL / gzip one-liner for backups, including current date/time filename

For reference, here’s a quick MySQL and gzip one-line terminal command, useful for a scheduled backup

/usr/bin/mysqldump --opt -u <username> -p<password> <DATABASE> | gzip -9 > /data/backup/sql_backup_`date +'%Y%m%d%H%M'`.sql.gz

Notes:


Command-line Fu: Deleting a remote git branch

For reference, delete a remote git branch on origin

git push origin --delete branch/to/delete

moab 6

IMG 20171022 100904-EFFECTS

arches pano 01

arches 14

arches 11

arches 03

View the archives