Getting peaclock to build on Ubuntu 18.04

Peaclock uses C++17, this requires us to go through some hoops. sudo apt install clang-7 llvm-7-dev git clone https://github.com/octobanana/peaclock.git cd peaclock export CC=/usr/bin/clang-7 export CXX=/usr/bin/clang++-7 find . -type f -exec sed -i -e \ ‘s#std::filesystem#std::experimental::filesystem#g’ {} \; find . -type f -exec sed -i -e \ ‘s#<filesystem>#<experimental/filesystem>#g’ {} \; find . -type f -exec sed …

Continue reading ‘Getting peaclock to build on Ubuntu 18.04’ »

sitespeed.io

A great open source tool for measuring website performance Run in one line to get a report for your site: docker run –rm -v “$(pwd)”:/sitespeed.io sitespeedio/sitespeed.io:8.9.0 https://www.sitespeed.io/

Using pfsense / OpenVPN client access and can’t reach your internal LAN?

Remember to create a route from your internal LAN machines to your pfsense / OpenVPN network. ie if internal lan is 192.168.10.0/24, pfsense is on 192.168.10.3 & your OpenVPN client lan is 192.168.20.0/24, you’d want something like route add -net 192.168.20.0/24 gw 192.168.10.3

Fix ARA warnings with mysql

Getting errors like “/root/.virtualenvs/utils35/lib/python3.5/site-packages/pymysql/cursors.py:170: Warning: (1300, “Invalid utf8 character string: ‘9C1DCE’”) result = self._query(query)”  when you run an ansible playbook with the ARA plugin? Change the mysql python lib to cymysql ie in $ANSIBLE_CONFIG [ara] database = mysql+cymysql://ara:dbpass@localhost/ara Seems like pymysql has issues with utf-8 & python v3