Create ssh-copy-id script for Windows

Create ssh-copy-id script for Windows
Those of us who use linux with keyless logins and ssh , usually find the utility ssh-copy-id as a convenient way to copy the ssh ke into the authorized keys files of the destination server. This works great on Linux systems, but windows (and also Mac) don’t have a native version fo ssh-copy-id, of course ...

How to detect IP change and send email alert (bash & powershell)

How to detect IP change and send email alert (bash & powershell)
A common thing folks that run any kind of home server, need to do, is detect when they’re IP addressed normally a DHCP assigned address via they’re Internet server provider changes, by doing this is allows them continue to communicate with they’re server. Below are a couple of script one a bash script and the ...

Log events via PHP to database with Windows or Linux command line

Log events via PHP to database with Windows or  Linux command line
Here’s a neat example (for Linux and Windows systems) of how to easily capture (log) and store the result of some script or program or really anything, in a central database table. Sure you could use just a log file, but spinning up an instance of MySQL (or SQLite) is trivial, and in the long ...
Newark , US
3:38 pm
76°F
Broken clouds
High: 79°F
Low: 69°F
Wind: 14 mph