guide

Publishing with React VR

  • Posted on: 17 March 2017
  • By: davis

Here are some steps you might have overlooked when publishing your React VR project for the first time.

Here's my first finished project: http://daviseford.com/tcpi-react-vr/

1.) You have to upload the static_assets folder yourself - it's not included in the build folder.

2.) You need to modify your vr/build/index.html file to resemble this

<!-- When you're ready to deploy your app, update this line to point to your compiled client.bundle.js -->
    <script src="./build/client.bundle.js"></script>
    <script>
      // Initialize the React VR application
      ReactVR.init(
        // When you're ready to deploy your app, update this line to point to
        // your compiled index.bundle.js
        './build/index.bundle.js',
        // Attach it to the body tag
        document.body
      );
    </script>

3.) Seriously, pay careful attention to the index.html file

Building an LED Hula Hoop From Scratch

  • Posted on: 26 November 2016
  • By: davis

I'll save you a read if you don't care about details. Long story short - buy yourself a quality hoop from Hyperion. Save yourself the trouble of doing this, because frankly, the results we obtained were not that impressive. We spent around $800 in materials by the end of this project and ended up with a heavy, bulky, large, cumbersome hoop that broke after 10 minutes. Seriously - just get a good hoop from a pro.

Our final result, starring my girlfriend Amanda:

 

Bootstrap Buttons with Loading Progress Bars

  • Posted on: 16 November 2015
  • By: davis

Here's how to add loading bars to bootstrap buttons.

To start, you'll need the following files:

progress_bar.css

progress_bar.js

In your header, you'll need to include the above Javascript file (adapted from http://tutorialzine.com/2013/10/buttons-built-in-progress-meters/)

Fixing a Slow Site, in Real Time

  • Posted on: 23 January 2015
  • By: davis

Due to other responsibilities popping up, I haven't been able to devote much time to optimizing americanlibertypac.com. As such, the performance has taken a hit due to heavy use, frequent experimentation, and the usual reasons for performance degradation. 

Anyways, I logged the experience. Follow along as we fix a website.

Important benchmarks to note before heading down the rabbit hole. This table is my initial measurement of the site.