Tech

Building XCA on macOS from source

Posted on

brew install pkg-config autoconf automake openssl qt libtool mkdir ~/src cd ~/src git clone https://github.com/chris2511/xca.git cd xca ./bootstrap mkdir build && cd build ../configure –prefix=/tmp/xca –with-openssl=/usr/local/opt/openssl –with-qt=/usr/local/Cellar/qt/5.13.1/ replace in Makefile (near bottom):     – -codesign –force –deep –signature-size=96000 -s "Christian Hohnstaedt" $(DMGSTAGE)/xca.app –timestamp     + -codesign –force –deep –signature-size=96000 -s "YOUR SIGNING IDENTITY" […]

Tech

Boot to macOS Recovery in VMware Fusion 11

Posted on

I found the following three ways to boot to macOS recovery in VMware Fusion, sadly they don’t all work in version 11: Add macosguest.forceRecoveryModeInstall = “TRUE” to you .vmx file – however it doesn’t seem to work with APFS volumes Add bios.bootDelay = “5000” to your .vmx file and press CMD+R during boot – doesn’t […]

Tech

PHP TO GET CUSTOM PLAYLIST FROM XTREAM-CODES API

Posted on

Use the code below as simple reference to build your own custom playlist from your xtream-codes server. Change the $url and $port values with your main server domain and port values. <?php $url = "domain.com"; $port = 1234; $protocol = "http"; $pls_header = "#EXTM3U"; $json = json_decode(file_get_contents("{$protocol}://{$url}:{$port}/panel_api.php?username={$_GET[‘username’]}&password={$_GET[‘password’]}"), true); $link = "{$protocol}://{$json[‘server_info’][‘url’]}:{$json[‘server_info’][‘port’]}"; if(!isset($_GET[’type’]) || empty($_GET[’type’])){   […]

Tech

Resync mysql master and slave without master downtime

Posted on

On the Master server dump a backup of the database you want to resync mysqldump –skip-lock-tables –single-transaction –flush-logs –hex-blob –master-data=2 -q <<dbname>>  | gzip -c > ~/dump.sql.gz Move compress backup to Slave server scp ~/dump.sql.gz <<user>>@<<slave-server-ip>>:~/ On the Slave server decompress the backup gunzip ~/dump.sql.gz Get the Master Log Name and Position from the dump, […]

Tech

Setting up MySQL replication without the downtime

Posted on

I clearly don’t need to expound on the benefits of master-slave replication for your MySQL database. It’s simply a good idea; one nicety I looked forward to was the ability to run backups from the slave without impacting the performance of our production database. But the benefits abound. Most tutorials on master-slave replication use a […]

Tech

Deploying FileVault with a Configuration Profile

Posted on

This article will discuss deploying FileVault 2 via a Configuration Profile to managed Macs with Jamf Pro using either an Individual Recovery Key, an Institutional Recovery Key, or both together. Creating an Institutional Recovery Key Skip this section if you do not plan to deploy an Institutional Recovery Key. Jamf has excellent documentation on how […]

Tech

How to Accurately Calibrate Your 3D Printer

Posted on

One of the steepest learning curves when starting with 3D printing is learning how to calibrate all the motors accurately. The good news is that once you know how to calibrate one motor of the printer, the rest are pretty well the same. The following instructable shows you how to accurately calibrate your printer using […]

Tech

Jamf Pro – Database maintenance

Posted on

The JSS keeps every recon for every computer. It only needs the last one. In large estates this can be GB’s of data and can slowdown or stop upgrades. Heres how to clean the tables ########### # flush reports, keep newest reports for each computer only # count before select count(*) from reports; #make a […]

Tech

Ender 3 Flash firmware using a Mac

Posted on

Some notes on this process on the Mac To install the Ardunio IDE on the Mac download the Unified firmware from TH3D. Inside is a folder called MacOSX Arduino. Two zip files are present, arduino-1.8.5-macosx.zip and TH3DArduinoLibraries.zip First unzip the arduino-1.8.5-macosx.zip and place the Arduino.app into /Applications Then unzip TH3DArduinoLibraries.zip. this will result in 3 […]

Tech

macOS 10.14 beta SUS URL

Posted on

https://swscan.apple.com/content/catalogs/others/index-10.14beta-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz