Skip to content

Instantly share code, notes, and snippets.

View randomaccess3's full-sized avatar

Phill Moore randomaccess3

View GitHub Profile
@randomaccess3
randomaccess3 / chromedriver-version.py
Last active September 3, 2022 04:51 — forked from primaryobjects/chrome-version.py
Identify the correct chromedriver-version to download
#
# Programmatically detect the version of the Chrome web browser installed on the PC.
# Compatible with Windows, Mac, Linux.
# Written in Python.
# Uses native OS detection. Does not require Selenium nor the Chrome web driver.
# Forked version of https://gist.github.com/primaryobjects/d5346bf7a173dbded1a70375ff7461b4
# Modified to obtain the right version of the selenium driver
# Doesn't support getting the M1 Mac version
@randomaccess3
randomaccess3 / Merge-CSVFiles.ps1
Created August 31, 2020 00:23 — forked from svch0stz/Merge-CSVFiles.ps1
Merge-CSVFiles: PowerShell Function to Merge a Folder of CSVs and Append a Filename column
# Usage: Merge-CSVFiles
# Usage: Merge-CSVFiles -Path C:\files\to\merge\ -Filter "*.csv" -OutputFile C:\Temp
# Combination of https://declanbright.com/downloads/Combine-Files.ps1 and https://gallery.technet.microsoft.com/scriptcenter/CombineMerge-multiple-CSV-23a53e83
#function Merge-CSVFiles {
#[cmdletbinding()]
param(
[string]$Path = ".",
[string]$Filter = "*.csv",