How to setup remote website deployment using git the proper way

Years ago I set this up with a bunch of convoluted scripts, and etc. No fun. Today I did a bit of research and found out how to easily setup your web server to pull updates from your git repo anytime you publish to it – the proper way. Here’s how to do it. First, connect to your remote web server ssh youruser@yourserver.com Note, we make some assumptions that you host your site in /var/www/html and that you’ve already added your ssh keys to your git server for both master, and production web server....

January 9, 2021 · 2 min · 321 words · Matt G

Using eyeD3 to change a bunch of mp3’s information in bulk.

I needed to modify a ton of mp3 files today, and thought I would document it for me, and, for you. rename all files based on id3 tags ** use with caution eyeD3 --rename '$artist - $album - $title' *.mp3 RENAME ALL FILES IN ALL SUB DIRS BASED ON FILE NAME ** use with caution find . -name *.mp3 -execdir eyeD3 --rename '$artist - $album - $title' *.mp3 {} \; DELETE FILES OF SPECIFIC TYPE AND DOTFILES...

August 13, 2018 · 4 min · 685 words · Matt G

Using two ODROID HC2’s to create a small NAS with GLUSTERFS for PLEX server

My Mac Mini acting as a PLEX server was from late 2009 and had began stuttering when playing some recent high quality rips or transcoding. It was time to upgrade. Luckily I had an old i7-4790K processor laying around. I bought a case from amazon, and sourced a cheap 1150 motherboard locally. I also already had a 250gb SSD I wasn’t using. All I needed was some ram and I was in business....

August 4, 2018 · 3 min · 571 words · Matt G

Upgrading ElementalX, Android and Magisk on Google Pixel 2 on MacOS X

This is almost for sure the wrong way to do things, but this is my current process (as of apr 22, 2018) to upgrade my phone when new android releases are out, and/or new elemental x. UPDATE TO LATEST FULL RELEASE OF ANDROID: download latest elementalx – http://elementalx.org/devices/pixel2/ download latest twrp – https://twrp.me/google/googlepixel2.html download latest magisk – https://github.com/topjohnwu/Magisk/releases/ download latest android image from –https://developers.google.com/android/ota unzip android image # nano flash-all.sh IMPORTANT: REMOVE ‘-w’ from the ‘fastboot update’ line in the flash-all....

April 22, 2018 · 2 min · 274 words · Matt G

Radeon RX 580 on Hackintosh OSX 10.13.4 Automatically Rotate Screen on Boot

Recently I got an ASUS Radeon RX 580 to replace an NVidia Card I was tired of fighting and trying to make work properly. As it turns out, no video card is very easy to get working with Hackintosh! Anyway, today the problem was after finally getting two monitors working the secondary monitor was booting with a weird rotation and was a pain in the ass to change each time I logged in because the mouse was about 5″ off location on that screen....

April 9, 2018 · 2 min · 393 words · Matt G