Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key
| // Shamelessly stolen and adapted from http://stackoverflow.com/questions/506096/comparing-object-properties-in-c | |
| public static class Comparisons | |
| { | |
| public static bool PublicInstancePropertiesEqual<T>(this T self, T to, params string[] ignore) where T : class | |
| { | |
| if (self != null && to != null) | |
| { | |
| var type = typeof(T); | |
| foreach (var propertyName in type.GetProperties(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance).Select(pi => pi.Name).Except(ignore)) | |
| { |
| using System; | |
| using System.Threading; | |
| namespace TestExceptions | |
| { | |
| /// <summary> | |
| /// Wrapper around a standard synchronization context, that catches any unhandled exceptions. | |
| /// Acts as a facade passing calls to the original SynchronizationContext | |
| /// </summary> | |
| /// <example> |
| var toast = ToastContentFactory.CreateToastText02(); | |
| var item = x.First(); | |
| toast.TextHeading.Text = item.Subject.Type; | |
| toast.TextBodyWrap.Text = "DO IT"; | |
| toast.Lang = "en_US"; | |
| toast.BaseUri = "http://google.com"; | |
| toast.Duration = BoxKite.Notifications.ToastDuration.Long; | |
| toast.StrictValidation = false; |
Probably one of the easiest things you'll ever do with gpg
Install Keybase: https://keybase.io/download and Ensure the keybase cli is in your PATH
First get the public key
keybase pgp export | gpg --import
Next get the private key