Skip to content

Instantly share code, notes, and snippets.

Avatar

Uli Armbruster Uli-Armbruster

View GitHub Profile
View gist:7429e9dc665a87a0ae9100d3e3b42d68
var totalTimeout = Observable
.Throw<TimeoutException>(new TimeoutException("my own text"))
.DelaySubscription(TimeSpan.FromSeconds(10));
var processStepTimeout = Observable
.FromEventPattern(btn_nextStep, nameof(btn_nextStep.Click))
.Timeout(TimeSpan.FromSeconds(3));
var sub = totalTimeout.Amb(processStepTimeout).Subscribe(ex => {}, ex => MessageBox.Show(ex.Message));
View git-history-commit-redos.md

Blog Post

GIT_EDITOR=true git rebase -i --root -x 'git diff --name-only HEAD~1..HEAD;git show --oneline --no-patch; printf "Return for next commit"; read;clear'

View keybase.md

Keybase proof

I hereby claim:

  • I am Uli-Armbruster on github.
  • I am uliarmbruster (https://keybase.io/uliarmbruster) on keybase.
  • I have a public key whose fingerprint is 0499 876F C0A7 E453 1FE8 A247 8A6E 0256 85B3 DABD

To claim this, I am signing this object:

@Uli-Armbruster
Uli-Armbruster / youtrack.rb
Created Jan 25, 2016
Our rake file for automating release notes.
View youtrack.rb
require 'youtrack'
require 'ostruct'
module Build
class YouTrack
class View
attr_reader :issues, :by_department, :by_relevance
def initialize(issues)
@issues = issues
@Uli-Armbruster
Uli-Armbruster / CastleWindsor.CollectionResolver.cs
Last active Oct 8, 2015
Open Closed Principle with Castle.Windsor Collection Resolver
View CastleWindsor.CollectionResolver.cs
public class Installer : IWindsorInstaller
{
/// <summary>
/// Performs the installation in the <see cref="T:Castle.Windsor.IWindsorContainer" />.
/// </summary>
/// <param name="container">The container.</param>
/// <param name="store">The configuration store.</param>
public void Install(IWindsorContainer container, IConfigurationStore store)
{
container.Kernel.Resolver.AddSubResolver(new Castle.MicroKernel.Resolvers.SpecializedResolvers.CollectionResolver(container.Kernel));