Skip to content

Instantly share code, notes, and snippets.

View buu700's full-sized avatar

Ryan Lester buu700

View GitHub Profile
@buu700
buu700 / TryHelper.cs
Last active December 29, 2015 07:09
Writing fault-tolerant codes would be a pain without this (licence: public domain)
using System;
using System.Linq;
/// <summary>
///
/// Helper class for retry logic
///
/// Example usage:
///
/// string[] strings = TryHelper.TryUntilSuccessful

Keybase proof

I hereby claim:

  • I am buu700 on github.
  • I am ryanlester (https://keybase.io/ryanlester) on keybase.
  • I have a public key whose fingerprint is 952A F10C B271 BBD0 2355 2847 0A53 09A7 C208 5405

To claim this, I am signing this object:

@buu700
buu700 / gae-authboss-sample.go
Last active October 22, 2018 12:28
Google App Engine Authboss sample
/*
The MIT License (MIT)
Copyright (c) 2016 Cyph
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@buu700
buu700 / argbash.sh
Created October 2, 2020 17:07
argbash function
parseArgs () {
argbash-init "${@}" - |
argbash - |
tr '\n' '☁' |
perl -pe 's/.*START OF CODE GENERATED BY Argbash(.*)END OF CODE GENERATED BY Argbash.*/#$1/g' |
tr '☁' '\n'
}