Make Sphinx Work With Django Project

Was having a heck of a time trying to get my Sphinx documentation to properly automodule my project. Eventually found this answer on a stackoverflow question, so here’s how they did it (so simple!). There are a few pieces of magic here. First, the sys.path.insert is done to the root of the project. That allows…

Read More

Django Tests

There’s so much I could write about django in general, but right now I’d like to address an issue that I just ran into and found a quick solution to. Using Model Bakery to create a new model (or really any ‘create’ action), custom save actions update the database, but not the model. The model…

Read More

MS SQL Express Static Port

Because SQL Express defaults to a dynamic port, opening the firewall can be a bit tricky. Typically, for PDM, it’s easiest to just set it to something static that can then be opened through the firewall. Instead of creating my own guide, here’s a link to a step by step guide by Javelin Technologies.

Read More

Upgrade to SQL 2014 SP3

For some reason, this is harder to find than it should be, so here’s a GoEngineer link as well as the actual link to the MS page. SOLIDWORKS PDM Upgrading SQL 2014 to Service Pack 3 | GoEngineer Download Microsoft® SQL Server® 2014 Service Pack 3 (SP3) from Official Microsoft Download Center

Read More

Linux Commands

Some useful commands that I’ve found/have been shown to me. Use find to find all files that are not underneath folders named something specific (used for finding duplicates on Synology not in the @eaDir folders). Capitalization of the file extension matters. Used with rmlint: Also, grep can be used with an “exclude”: The one downside…

Read More

Add Alias to Synology Applications

This didn’t seem like it should be a big deal, but to make it easy to get to things like Synology Photos, a manual alias needs to be set. Go to Control Panel Login Panel Applications tab Double-click on the app Add your alias and save it From Synology Photos Quick Start Guide

Read More

Synology ZeroTier Setup

Create a persistent TUN SSH into your NAS The following setup steps must be run as root Write script to /usr/local/etc/rc.d/tun.sh that will setup /dev/net/tun on startup Set executable permissions on script Run script once to create a TUN Check for the TUN If you experience trouble getting the TUN to work check out Rui Marinho’s guide Install docker on your NAS…

Read More