Ideas, and reference material I find useful

  • 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…

  • Mac OSx High Sierra Homebrew switching between PHP@7.2 and PHP@5.6

    Homebrew recently deprecated the repo https://github.com/Homebrew/homebrew-php as of March 31st, 2018. So, how do you install PHP@5.6, and/or PHP@7.2 (or @7.0, or @7.1, these are untested, but I assume will work). I work on some legacy sites, that require switching between the versions.   So, lets run through this… I’m going to assume you cleaned…

  • Autel maxitpms pad on a mac? Yes, and no.

    Can you run Autel MaxiTPMS Pad on a mac? Directly, no. Through virtual box, yes. Install virtualbox and Oracle VM VirtualBox Extension Pack, both from: https://www.virtualbox.org/wiki/Downloads Download the windows 10 trial image/iso/dmdk/ovf, which is free, from Microsoft. linke: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ After you’ve unzipped the image Double click the ovf to launch it with virtualbox. Ensure you add USB…

  • Automation…

    Controllers: Raspberry PI for the logic. it’ll have it’s own 802.11n USB adapter   Project Ideas: The promise, is to use an ESP8266, to control a bunch of relays.  Using the Raspberry PI for logic control. DIY 1 plug relay – HRV control. Check to see (via the NEST) if the humidity is high or…

  • rsync target permissions and ownership

    Add these flags, to set the target permissions, and ownership –chmod=a+rwx,g+rwx,o-wx –chown=OWNER:GROUP the chmod is 774.    

  • Excel date to unix time integer or unix time to excel date.

    FROM unix to excel date. [plain]=CELL/(60*60*24)+"1/1/1970"[/plain] From excel date to unix time. [text]=(CELL-"1970-01-01")*60*60*24[/text]   where “CELL” is your excel cell you’re trying to handle. CELL can also be replaced with the NOW() function.  

  • 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…