This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DateRange : IEquatable<DateRange> | |
{ | |
public DateTime Start { get; } | |
public DateTime End { get; } | |
public double Days { get; } | |
public DateRange(DateTime start, DateTime end) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/a/3670089/1933104 | |
public static bool ScrambledEquals<T>(this ICollection<T> self, ICollection<T> other) | |
{ | |
if (self == null) | |
{ | |
throw new ArgumentNullException(nameof(self)); | |
} | |
if (other == null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Temnota Plus | |
// @namespace http://temnota.cz | |
// @include http://temnota.cz/* | |
// @include http://www.temnota.cz/* | |
// @version 7.1.1 | |
// @grant none | |
// @require https://code.jquery.com/jquery-3.2.1.min.js | |
// @require https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js | |
// ==/UserScript== |
NewerOlder