Hola!

You've found my spot on the internet that's all about me. I put together this little site to show off my work and keep track of my various projects.

2017 HTPC Upgrade and Repurpose. Part 3.

This is my third and final post about putting together my new HTPC and home Linux server. Everything is up and running now and I wanted to highlight the server here today. See other posts: 2017 HTPC Upgrade and Repurpose. Part 1. 2017 HTPC Upgrade and Repurpose. Part 2. The build here was probably the simplest of them as this…

2017 HTPC Upgrade and Repurpose. Part 2.

This is the second post in my series about putting together my new HTPC as well as converting the old one into a media server for the house. The new HTPC, Project Brussels, is done and I’m ready to walk through the build here today. See other posts: 2017 HTPC Upgrade and Repurpose. Part 1. 2017 HTPC Upgrade and Repurpose.…

2017 HTPC Upgrade and Repurpose. Part 1.

It’s been more than six years since I posted about my first ever HTPC build and recently I’ve been amassing parts for a new build to replace the one from 2011. In part 1, I want to go over the need for the upgrade and what I’m trying to accomplish with the new setup. See other posts: 2017 HTPC Upgrade…

Taking Photos in VR

Just trying out VR photos, taken with my Samsung Galaxy S7. With a Gear VR, I can immerse into these photos. What I want to do is use this, potentially, as a new way to show content on the Raleigh Connoisseur blog.

Apache Config For Two Django Sites on the Same Server

Recently, I had a need to create two separate Django projects. The requirements were similar but dissimilar enough that I wanted to have two projects rather than two apps in the same project. I decided to try and work with Apache to get the two sites running side-by-side on the same server. Using two virtual environments, using the same process…

Threading in Python

Threading has been very helpful in some situations. Here’s how I implemented it in my recent project. I’m posting it here as a reference. import threading, Queue #Create the queue for threading queue1 = Queue.Queue() class thread_cmm_scan(threading.Thread): def __init__(self, queue1): threading.Thread.__init__(self) self.queue1 = queue1 def run(self): while True: try: item = self.queue1.get() #This is the function that I have firing…

Python and SSH

A majority of the python scripts and projects that I work on, there is a need for an ssh connection. Paramiko is my friend. import paramiko, os address = ‘127.0.0.1’ ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) #Testing if we can ping then SSH to the endpoint try: print ‘Pinging ‘ + address response = os.system(“ping -c 1 ” + address) if response…