Category Archives: #Tech Business

I am building the world…

…that I want live in. Not waiting for the future…

Code snippits : perl date stamp for adding to file

#!/usr/local/bin/perl

my @lt = localtime(time);
my $dte = sprintf “%04d%02d%02d%02d%02d%02d”, $lt[+5]+1900, $lt[4]+1, @lt[3,2,1,0];
my $path=”/var/logs”;

$file=”$path/file-$dte”;
print “$file \n”;

DIY Water gauge

This a project is for a friend was concerned about how much water was in her cistern.  I decided to use a rangefinder to measure the water level and then email this value.  I also 3D printed a case for the Raspberry Pi.

This is currently a work in progress.

Materials

  • Hardware
    • Arduino
    • Raspberry Pi
    • Ultrasonic Rangefinder
    • Wifi Dongle
    • Powered USB Hub
    • Cables
    • Power Blocks
  • Softwre
    • Raspberian
    • Custom Code
  • Services
    • Email Server (SMTP Relay)

image

Ultrasonic Rangefinder

 

image

image

Rasperry Pi + Arduino + Powered USB Hub

 

Todo:

  • Graph Data (Google Spreadsheets)
  • Enclosure for Rasperry Pi, Arduino,Powered USB Hub (3D Printed)

 

Tech Support in the Caribbean

Ohhh you think the warranty is your ally….
You merely purchased a support contract…..
I trained to resist calling tech support… was molded by it…
I didn’t get a tier-3 tech until the recognized I wasn’t in Latin American region…..
And by then I was l33t !!!

The manufacturers betray you, because the technology belongs to me !!!

A nice internet speed test tool for IT professionals

This is a great tool for folks who know how to interpret the data.  Be warned, if you use this and on’t know what it it means, you are the same folks that will go on WebMD and then tell your doctor what prescription you need.

http://speedof.me/

Command line to disable Windows 10 update

Put this in a batch file

rem Take ownership
takeown /f C:\Windows\System32\GWX /r /d y

rem Set Permission
icacls C:\Windows\System32\GWX\* /grant %USERNAME%:F

Rem Kill process
taskkill /f /im gwx.exe
taskkill /f /im GWX.exe

Rem Remove Folder
rd /S /q C:\Windows\System32\GWX