Skip to content

Instantly share code, notes, and snippets.

View KrisJanssen's full-sized avatar

Kris Janssen KrisJanssen

View GitHub Profile
@bobslaede
bobslaede / modernizr.positionfixed.js
Created September 16, 2011 08:50
Modernizr position fixed check
;(function(Modernizr, window) {
Modernizr.addTest('positionfixed', function () {
var test = document.createElement('div'),
control = test.cloneNode(false),
fake = false,
root = document.body || (function () {
fake = true;
return document.documentElement.appendChild(document.createElement('body'));
}());
$paths =
"C:\SyncLog\logFile1.log",
"C:\SyncLog\logFile2.log",
"C:\SyncLog\logFile3.log",
"C:\SyncLog\logFile4.log",
"C:\SyncLog\logFile5.log"
$reportsPath = "C:\SyncLog\Reports"
foreach ($p in $paths) {
@Silthus
Silthus / Get-FailedFiles.ps1
Created March 12, 2018 08:57
Powershell script that parses RoboCopy log and extracts failed files to .csv. Copied from: https://gallery.technet.microsoft.com/scriptcenter/Powershell-script-to-parse-a1bc8a92
#Requires -Version 4
function Log {
<#
.Synopsis
Function to log input string to file and display it to screen
.Description
Function to log input string to file and display it to screen. Log entries in the log file are time stamped. Function allows for displaying text to screen in different colors.