Fitbit Notifications with iPhone

I recently decided to start using my Fitbit Charge 3 to receive notifications from my iPhone again. When activated, the Charge 3 can receive SMS, Calendar, and call notifications from your iPhone.

I had the settings in the Fitbit app on my iPhone set to “All Day Sync” and notifications turned on but I still was not receiving notifications on my Fitbit.

I searched online and followed all of the guides that would supposedly fix this, but none of them worked for me.

I finally realized the Fitbit itself had the Notifications setting set to off. All I needed to do was hold down the button when on the Notifications screen, pictured below:

So if you have exhausted other solutions, make sure the Fitbit’s setting is set to receive notifications on the device itself.

Reading List

Currently Reading

  1. Running With the Demon by Terry Brooks
  2. The Unicorn Project


  1. The Thorn Birds by Colleen McCullough (5/5)
  2. The Road by Cormac McCarthy (4/5)
  3. Wards of Faerie: The Dark Legacy of Shannara by Terry Brooks (5/5)
  4. Bloodfire Quest: The Dark Legacy of Shannara by Terry Brooks (5/5)
  5. Witch Wraith: The Dark Legacy of Shannara by Terry Brooks (5/5)


  1. Blood Meridian by Cormac McCarthy (5/5)
  2. One Hundred Years of Solitude by Gabriel García Márquez (Didn’t Finish)
  3. The Shallows: What the Internet Is Doing to Our Brains by Nicholas Carr (Rating: 3/5)
  4. Revelation Space by Alastair Reynolds (5/5)
  5. Redemption Ark by Alastair Reynolds (5/5)
  6. Absolution Gap by Alastair Reynolds (5/5)


  1. Animal Farm by George Orwell
  2. 12 Rules for Life: An Antidote to Chaos by Jordan Peterson
  3. No Country for Old Men by Cormac McCarthy


  1. Brave New World by Aldous Huxley (5/5)


  1. On Writing: A Memoir of the Craft by Stephen King
  2. Ur by Stephen King
  3. The Dark Tower: The Wind Through the Keyhole by Stephen King
  4. The Gunslinger by Stephen King
  5. The Drawing of the Three (Dark Tower 2) by Stephen King
  6. The Waste Lands (Dark Tower 3) by Stephen King
  7. Wizard and Glass (Dark Tower 4) by Stephen King
  8. Wolves of the Calla (Dark Tower 5) by Stephen King
  9. Song of Susannah (Dark Tower 6) by Stephen King
  10. The Dark Tower (Dark Tower 7) by Stephen King
  11. From a Buick 8 by Stephen King
  12. Prepper’s Home Defense: Security Strategies to Protect Your Family by Any Means Necessary by Jim Cobb
  13. The Trial by Franz Kafka
  14. The Autobiography of Benjamin Franklin by Benjamin Franklin
  15. Hackers & Painters by Paul Graham
  16. The Antichrist by Friedrich Nietzsche
  17. Zen and the Art of Motorcycle Maintenance by Robert M. Pirsig
  18. The Circle by Dave Eggers (5/5)
  19. Freakonomics: A Rogue Economist Explores the Hidden Side of Everything by Stephen J. Dubner and Steven D. Levitt (4/5)
  20. Walden and Other Writings by Henry David Thoreau (5/5)


  1. 1984 by George Orwell (5/5)
  2. Ubik by Philip K. Dick (5/5)
  3. Catch-22 by Joseph Heller (5/5)
  4. State of Fear by Michael Crichton
  5. Watership Down by Richard Adams (5/5)
  6. Second Variety by Philip K. Dick
  7. Bell Jar by Sylvia Plath
  8. The Last Stand by Stephen King (5/5)
  9. The Postman by David Brin

How to Import a MySQL Database Dump or Backup

Now that we have covered how to make a backup of your MySQL database, we can go over how to import the backup. To do this, you can use the cat command:

cat thebackupfile.sql | mysql -D mydatabase -u myusername -p

This command uses cat to write your database to stdout and then pipes it into mysql. You’ll need to have your database created first, but you can do that with:

mysql -u myusername -p -e "create database mydatabase"

Write id3 tags based on filename with Mac OS

Throughout my various backup schemes, my id3 tags get clobbered. I wrote a script to rewrite the tags based on the filename and directory structure of an mp3 collection:

ID3 Tag Namer Script

As the comment in the script says:

 * Music needs to be in /Users/username/Music/
 * in format Artist/Album/00 Title.mp3
 * id3lib required

You can get id3lib with homebrew: `brew install id3lib`

Tiling App for Mac OS

Coming from Windows and Linux distros, I was used to using a tiling application with my desktop. This is a program that allows you to move windows to fill certain portions of your display with keyboard shortcuts. For example, in Windows 7+, holding down the windows key and pressing left or right will fill the left or right half of the screen with that window.

If you’re looking for this on Mac OS, check out Spectacle. It works great and it’s very customizable.

Update June 8, 2020: Spectacle is no longer supported so I have switched to Rectangle.

Raspberry Pi Keeps Rebooting

For a while now, I’ve had issues with my Raspberry Pi rebooting by itself. At first I thought I was drawing too much power with the items I had plugged into the USB ports. So I unplugged them both (an external hard drive and a USB WiFi dongle), but the Pi kept rebooting. Finally, I remembered that I had traded the power supply out to use as my phone charger a while back. It turns out that the new power supply I was using is only rated at 550 milliamps. That’s a lot less than the old supply I was using, which was 1 amp or 1,000 milliamps.

It turns out the recommended power supply should provide at least 1.8 amps for my Raspberry Pi Model B+. So 550 mA was just not going to cut it.

Even though the Pi uses micro USB for power, you can’t just plug in any charger or power supply that will fit. Look for a 2 amp supply, like this one: EasyAcc 5V 2A Micro USB Charger. Or check out other options on Amazon.

My Raspberry Pi set up, for reference:

  1. Raspberry Pi Model B
  2. Toshiba 1 TB External Hard Driv
  3. Edimax WiFi Dongle

Check out more posts about the Raspberry Pi here: Raspberry Pi Posts

How to Stream Videos from a Raspberry Pi to a Smart TV


Install and configure minidlna on your Raspberry Pi and make sure it’s on the same network as your Smart TV. Your TV’s media playing application should see the Pi on the network and let you browse and play videos on the Pi.

More In-Depth Guide

First you need to install minidlna on your Raspberry Pi:

sudo apt-get install minidlna

minidlna’s configuration file is located at /etc/minidlna. We want to edit this to point to our video files:

sudo nano /etc/minidlna

Around line 25, your media folder is set:


You can either change that to something like


or link your video folder there with this command:

sudo ln -s /home/username/videos /var/lib/minidlna

Finally, restart the minidlna service:

sudo service minidlna restart

Now you’re Smart TV’s media application should be able to find your Pi if they are on the same network.

Check out more posts about the Raspberry Pi here: Raspberry Pi Posts