Looking for a way to get Proxmox VM configuration in ansible? The community.general.proxmox_kvm module doesn’t have a
qm config output, but you can use the Rest API to find out all current configuration.
Non-recursive least common multiple function for multiple (vec) numbers in Rust.
With 2021 done, wanted to go back and put together a gist list of the input parsing, using standard crate Rust, for future reference
With moving my site off of Wordpress, I landed on Jekyll, but wanted to add an RSS feed option. Here is a simple way, without plugins.
One of its example
Generator plugins for Jekyll is their
jekyll-feed plugin, used as a reference for those creating similar style file generation. Since I am Gemfile less currently, I really didnt want to add another configuration item, and it dawned on me…just build the RSS feed using templates and liquid!
Day 9 done…thought it might be fun to visualize today’s solution (breadth-first search within a map space) with some holiday-themed 16 color ANSI console art! Happy coding!
Come see my inaugural presentation at the Lexington PASS User Group meeting, Tuesday, Nov 13th, at 6:30 PM at the Blue Stallion Brewing Co.
In or around Detroit? Come see my Getting Started with Machine Learning session at the Detroit PASS User Group Thursday, November 8th at 6 PM.
Come see my presentation on Machine Learning Server for SQL Server at SQL Saturday Denver
Jul 6th, 2018 under
Two years running, I will be presenting at SQL Saturday Indy and SQL Saturday Louisville this year again! Come see my session on Getting Started with Machine Learning
Quick and easy backup for VisualSVN. Wraps the svnadmin.exe and performs a hotcopy of all repositories in the
$source_path, dumping them to the
Third time in a month, I will be presenting Machine Learning Server, this time a
Come out Thursday, April 12 to learn how to leverage Microsoft Machine Learning Server.
Come out to see how to leverage Microsoft Machine Learning Server
Two years running, I will be presenting at SQL Saturday Indy and SQL Saturday Louisville this year again! Come see my SQL Server 2017 (Linux and Beyond) and Stretch Database and Managed Backups
Second of the year, I will be presenting at SQL Saturday Chattanooga 2017. Come see my SQL Server 2017 (Linux and Beyond) session
Come to SQL Saturday Rochester 2017, and see both of my sessions, Stretch Database and Managed Backups: Cloud Services for your SQL Servers and SQL Server vNext (Linux and Beyond)
I will be presenting my third SQLSaturday session at the upcoming Pittsburgh #545 Saturday, Aug. 13th, 2016. My session, Stretch Database and Managed Backups: Cloud Services for your SQL Servers, is a beginner track session going through the setup, configuration, usage and some real-world usage scenarios for both of these recently added features to the SQL Server product. Have you registered yet? Why not?
That’s right, back-to-back roll. I will be presenting my second SQLSaturday session at the upcoming Indianapolis #530, Saturday, Aug. 13th, 2016. My session, Stretch Database and Managed Backups: Cloud Services for your SQL Servers, is a beginner track session going through the setup, configuration, usage and some real-world usage scenarios for both of these recently added features to the SQL Server product. Have you registered yet? Why not?
That’s right. My way of giving back to the SQL Server community, I am presenting my first SQLSaturday session at the upcoming Louisville #531, Saturday, Aug. 6th, 2016. My session, Stretch Database and Managed Backups: Cloud Services for your SQL Servers, is a beginner track session going through the setup, configuration, usage and some real-world usage scenarios for both of these recently added features to the SQL Server product. Have you registered yet? Why not?
Ultra simple way to test a JSON API POST response using curl
The following powershell script creates snapshots or exports of VMs on the local, and performs retention/cleanup as well. Be forewarned. There are known bugs with the current hyper-v snapshot integration and *nix systems.
Aug 31st, 2014 under Homebrew
My clone of nothing…just 60 seconds of hopping involved, how much easier could it be.
The following PS script shows how to query ServiceNow via SOAP calls, using the WebServiceProxy object. View their Wiki for more examples of service methods
To synchronize file timestamps (creation, last access and last write) of two directory trees.
Utilizing the ActiveDirectory module, this returns user names with last logon time stamp
Venturing down the path of low voltage Atmega (Arduino)? The following references the two steps (set your fuses and add a board entry) to allow you to use an off-the-shelf 328p “naked” and at very low voltage ranges (disabling brown-out).
Via right click (context menu) within Explorer, save the following to a .reg registry key file.
To schedule PowerShell scripts to run via command line (or as a Task Scheduler task), using the following syntax:
Get-ChildItem -Recurse | Sort-Object Length -Descending | Select FullName, Length -First 10
Aug 25th, 2012 under Running
Loosely based off of other examples I found, this script will perform full database backups of all databases or tran log backups of all full/bulk-logged databases. In addition, it will utilize the default backup path (if one is not given), and delete old backup files (that conform to the file naming convention) that are older than a given number of retention hours (default to 48 hours): Examples:
The following script will create a local computer users in windows, set it’s password, mark the password to not expire and optionally set the description:
After walking through the installation GUI, copy the Configuration File Path on the ‘Ready To Install’ page. Copy and modify this file in the following order to generate a repeatable unattended install process:
The following script, meant to run as part of a pre-check for automated reboots, will check that all mirrored databases are in a Synchronized status and the witness is in a Connected status. If the above conditions are true, the script returns a 0 exit code, otherwise, it returns < 0.
The follow will prompt to add a given domain user/group to local admins on multiple boxes
From scavaging the around the web, I pieced together the follow steps to setup TortiseSVN’s revision number (aka subwcrev) and time stamp as part of the assembly version.
Oct 4th, 2010 under Running
|2010||8:18:00||25:40:00 – Actual distance was 3.5 mi (29:03)|
Sep 5th, 2010 under Cycling
Made it about 90% up the hill before I nearly had a heart attack at 202 bpm. 39 x 25 no good for climbs like this. Stats…
Oct 7th, 2009 under Homebrew
Brew #3 is in bottles and ready…and American IPA
The version of defrag that comes with most recent installs of Windows does not allow for scheduling…to get around this limitation, the following VBScript will enumerate all fixed harddrives on a machine, and launch defrag via command like for that drive. Set it up as a scheduled task and forget about it.
IIS 4 certificate files usually contain both the private key and public certificate for SSL. To convert these to RSA private key and x.509 public certificates from NET to DER format, you need to manually edit the binary key file as documented on te’s site then run the following OpenSSL commands:
Writes list of all files and subdirectories for a given path to standard output. Not really useful on it’s own, but recurse subroutine is a good base to recursive file processing.
Converts text files to properly encoded HTML form.
This script will append an extension to the end of the given files, optionally removing any existing extensions. Don’t ask me why I wrote this, must have been important at one point in time. Alot easier to do this via find in un*x. Giving the following files in a directory: