Skip to content

Instantly share code, notes, and snippets.

View hughbiquitous's full-sized avatar

Hugh Williams hughbiquitous

  • Atlanta, GA, USA
View GitHub Profile
@hughbiquitous
hughbiquitous / BsonExtensions.cs
Created April 2, 2018 14:04
BsonDocument.Parse does not interpret ISO8601 date/time strings as ISODate values; these post-processing methods tidy that up after the fact.
using System;
using System.Globalization;
using MongoDB.Bson;
namespace CSharp2233
{
public static class BsonExtensions
{
private static readonly string[] _formats =
{
@hughbiquitous
hughbiquitous / .gitignore
Created October 24, 2016 17:20
.gitignore for Java/IntelliJ/gradle
# From https://github.com/github/gitignore/blob/master/Gradle.gitignore
.gradle
/build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
### Keybase proof
I hereby claim:
* I am hughbiquitous on github.
* I am hughbiquitous (https://keybase.io/hughbiquitous) on keybase.
* I have a public key whose fingerprint is 96F3 A90D 77DA 4FB7 AA14 1D76 07C0 3AC7 DFF1 EB4D
To claim this, I am signing this object: