Pennsylvania COVID-19 Data Scraping with Python

Over the last few weeks I've been using Python to scrape the Pennsylvania Department of Health's Coronavirus page. Over time the page has evolved and even split into sub-pages which contain table date of cases, deaths and other statistics. I've decided to put my Python script on GitHub for public consumption. Initially when I had created the script, it was used to send me alerts when the reported numbers changed as there was no set time during the day that the website was updated, so I wanted Continue reading →

#python

Allscripts Vision User Reporting

A quick Powershell script I hacked together that will enumerate all Active Directory users, and build an XML file for an application I wrote that generates user reports for a specific application. The output file format is similar to: <quickreports> <report name=Organizational Unit> <database name=v001/> <usrlogin name=jdoe01/> </report> <quickreports> $ErrorActionPreference= 'silentlycontinue' $arr=@{} foreach ($usr in Get-ADUser -Filter * | select Continue reading →

#powershell

Raid and IOPs Cheat Sheet – Excel

I made this 5 years ago in Excel and it was pretty popular. I think there are some errors in the math formulas that were pointed out for RAW calculations of backend IOPs. So use with caution, but mostly it should give a good enough idea on whatever it is you might be doing. If you make modifications, please drop me a line in the comments or get in touch with me. I'll update my post to include fixes. RAID-and-IOPS Cheat Sheet Download Continue reading →

#iops

Calculator

This article was posted more than 1 year ago. Please keep in mind that the information on this page may be outdated, insecure, or just plain wrong today.

I mean, who hasn’t written a calculator application? Not much explaining to do here…

Userlock – Restricting Number of Remote Desktop Sessions Per OU

This was a rather interesting project I took on.  The project was created to monitor and restrict how many Remote Desktop sessions were permitted to logon based on configuration per-OrganizationalUnit (OU) in Active Directory. There are 2 parts to this. Userlock - the GUI management partsessioncheck - the executable that needs to be set to run for each user login and logoff script on a RDS Host.Syntax of sessioncheck: sessioncheck logon or sessioncheck logoff Userlock GUI sessioncheck Continue reading →