Category: Uncategorized

  • IPv6 DNS Setup

    I recently swapped servers, as my old one was running Ubuntu 14.04, I decided to just swap out the server completely to Ubuntu 20.04, port the data… hence the recent rsync post. The process was simple: create new server setup apache (vhosts), mysql, php, etc… firewall rules should be the same, so you could use…

  • IoT and wifi system security

    Many people now have Amazon echo/dots / Google home / Apple HomePod, smart TVs, smart thermostats, etc… What happens if one of those get hacked? They’re already on your system? they’re authorized and allowed on your network… now what? That’s why you should have a WiFi network dedicated to IoT devices on a separate VLAN.…

  • Fast rsync in the year 2020

    TL;DR; rsync -aHAXxv –numeric-ids –delete –info=progress2 -e “ssh -T -c [email protected] -o Compression=no -x” <source> <target> options: a – archiveH – preserve hard-linksA – preserve ACLSX – preserve extend attributesx – don’t cross filesystem boundariesv – verbose–numeric-ids – don’t map uid/gid values by user/group name–delete – delete extraneous files from destination dirs–info=progress2 — show progression-e…

  • Teaching your kid how to ride a bike

    It’s been a while since I posted anything… Kids/family have taken up a lot of time. Dylan’s started to ride two wheels, learning about the Pedrin method was a little too easy to teach him. Dylan was in training wheels for a while and was ready, as he could ride a few meters without either…

  • Apache Vhost Macro / Variables

    [update: 2020-05-20] There does seem to be a conflict with Let’s Encrypt certbot. You’ll need to manually run updates. I’ll update once I figure it out, how to do it more automated. Looks like possible race condition for the ghost, and then the SSL… but since you’re defining them by macro’s it’s not so bad.…

  • Mac Docker PHP Xdebug and Api-platform and PHPStorm.

    Having trying to debug without xdebug felt like my hands were being tied behind my back. Took a while, but my friend Bart was able to help me get this up and running, after lots of trouble shooting. The way it seems, api-platform sets docker up in distinct containers: client db admin php api cache-proxy…

  • Watts Ander-Lign Compression fittings

    I was looking around, and couldn’t find anything.   Lots of people on home-depot felt that these things were not the greatest. Problems that people ran into, where reusing the old tubes.  These are meant for a complete system.  It’s color coded for ease. I was using the 1/4″ tubing so that it’ll fit my…

  • BTSync on AWS EC2

    Objective: Allow Ubuntu to start BTSync on reboot.   Server create an EC2 instance, with appropriate storage space. Ubuntu LTS 64bit (currently 14.04) download the BTSync client http://www.bittorrent.com/sync The 64bit linux version. dump the btsync.conf ./btsync –dump-sample-config > btsync.conf edit the btsyn.conf for your settings. sudo su create /etc/init.d/btsync file See below chmod 755 /etc/init.d/btsync update-rc.d btsync…

  • How/What do you backup?

    Things of importance Family photos/videos Documents scanned docs license/registration information for software Everything else.     How to backup, rule of 3-2-1 3 – (three) copies of everything of importance. 2 – (two) media types at least.  Remember floppies? Remember Zip disks? Beta tapes… yeah… 1 – (one) off site copy.  Home burns down… you’re…

  • Automated watering system project notes

    The plastic T-connectors broke over the winter.  Not very hardy.  Use the internal ones with hose clamps. The solenoids kept up, so far.   Lost the code to the automated system.   GPIO pin 7 – Far East solenoid – hanging plants. GPIO pin 8 – One West of Pin 7 solenoid – walk way…