Skip to content

Instantly share code, notes, and snippets.

View thebooleanfrog's full-sized avatar

Pascal Tbf thebooleanfrog

  • TheBooleanFrog
  • London, UK
View GitHub Profile
@thebooleanfrog
thebooleanfrog / check_azure_supported_datetime.cs
Last active December 21, 2015 17:28
Check Azure Supported DateTime
using Microsoft.WindowsAzure.Storage.Table.Protocol;
public static class DateTimeExtensions
{
public static bool CheckAzureSupportedDateTime(this DateTime? dateTime)
{
return dateTime == null || TableConstants.MinDateTime <= dateTime;
}
public static void VerifyAzureSupportedDateTime(this DateTime? dateTime)
About Windows winver
Add Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Tools control admintools
Advanced Startup Options bootim
Advanced User Accounts netplwiz
Application Data Folder %appdata%
Authorization manager azman.msc
Backup/Restore User Names and Passwords credwiz
Calculator calc
@thebooleanfrog
thebooleanfrog / gist:1581688
Created January 9, 2012 07:39
Get all subsets of a sequence.
def get_subsets(arr)
0.upto(arr.size).map { |n| arr.combination(n).to_a }.flatten(1)
end