Author: LloydLeung

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

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

  • Mass VHOST wildcard; subdomain to folder

    I couldn’t find any information as my search terms were incorrect. My google-fu was off when I was searching. My objective was to make http://*.localhost.com go to /var/www/*/www, where * is a wildcard. I’m hoping that this will help others; specifically developed that work on multiple projects. First, I wanted to wildcard my in my…

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

  • [fixed] raspbian / debian apt-get connect (101: Network is unreachable)

    Are you having issues When I ran: $> sudo apt-get install mosh Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: libio-pty-perl libprotobuf7 libutempter0 The following NEW packages will be installed: libio-pty-perl libprotobuf7 libutempter0 mosh 0 upgraded, 4 newly installed, 0 to remove and 1 not…