The process of getting my Azure cert to work on an Azure VM seems needlessly complicated and took forever to figure out so, I'm documenting it here. The Powershell script provided by Microsoft produces a console screen full of red errors. I debugged some of them but, never could get the thing to work.
Azure Key Prep
Login to portal.azure.com
Search for the KeyVault that contains your App Service Certificate and open it.
Under Settings, go to Secrets
Open the certificate
Open the Current Version
Click 'Download as a certificate' to download your PFX file.
Download and install Win32 OpenSSL Light: https://slproweb.com/products/Win32OpenSSL.html
To extract the private key from a .pfx file, run the following OpenSSL command:
From the Raspberry Pi terminal or SSH into the Pi:
sudo apt-get update
sudo apt-get install netatalk
sudo /etc/init.d/netatalk stop
sudo vi /etc/netatalk/AppleVolumes.default
Change this line: :DEFAULT: options:upriv,usedots
To this line: :DEFAULT: options:upriv,usedots,rw
sudo /etc/init.d/netatalk start
On a mac connected to the same network: Finder >> Go >> Connect to Server >> Browse. Double-click on the hostname of your Raspberry Pi and click the "Connect as" button. Enter your username and password for the Raspberry Pi and you should see the share contents.
If you cannot browse to the Raspberry Pi: Finder >> Go >> Connect to Server. For server address, put in: afp://[IP ADDRESS OF PI] so, for example: afp://192.168.10.129 and click the "Connect" button.
Add more shares:
sudo vi /etc/netatalk/AppleVolumes.default
Go to the bottom of the file (hit G in vi) and add new paths under:
Download and install: Fuse for OS X (Make sure to check: MacFUSE Compatibility Layer)
Download and install: fuse-ext2
Open Terminal
Type: sudo nano -c /System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util
Press: [CONTROL W]
Type in: function mount [ENTER]
Arrow down to:
OPTIONS="auto_xattr,defer_permissions"
Change it to:
OPTIONS="auto_xattr,defer_permissions,rw+"
Press [CONTROL X]
Press [Y]
Press [ENTER]
Plug in the SD Card!
I've been building a web app that analyzes data from an application called Ultimate Racer used to control the race track circuit for slot car racing. Ultimate Racer conveniently keeps all of it's data in a SQLite database.
However, getting the SQLite database to work with Railo was a little problematic so, I'm documenting the process here in the event that I need to do it again or someone else is googling how to make it happen.
Due to a series of unfortunate events, the surface mounted 1/8 jack was torn off of the board of this Korg Monotron analog synth. I decided to try and tie into the existing onboard speaker to allow the synth to still connect to external speakers or mixer.
I drilled a small hole on the left side to allow wires into the enclosure.
I noted the wires so that if pulled, the solder joints won't be stressed.
I ran the new line-out red line into the existing solder joint for the onboard speaker.
I desoldered the black line to the onboard speaker. I made a joint between the new line-out black line, the speaker black line, and a new jumper.
All soldered together and bit of heat shrink.
Connected the switch (momentary - normally off) to the original speaker black line solder joint and to the jumper from above.
All put together with the switch mounted and a lesbian adapter on the 1/8 inch male plug end.
Here is a video of the synth put back together and operating. First part of the video (~20 secs) is demoing the momentary switch activating the onboard speaker. The rest is using an external speaker system.