Skip to content

Instantly share code, notes, and snippets.

View hamburger1984's full-sized avatar

Andreas Krohn hamburger1984

  • Hamburg, Germany
View GitHub Profile
@davidfowl
davidfowl / MinimalAPIs.md
Last active June 28, 2024 17:42
Minimal APIs at a glance
@Intyre
Intyre / Wahoo_Elemnt.md
Last active June 25, 2024 14:44
Wahoo Elemnt - Tips, tricks and custom images
@burgalon
burgalon / AccountAuthenticator.java
Last active July 15, 2023 08:29
Implementing OAuth2 with AccountManager, Retrofit and Dagger
public class AccountAuthenticator extends AbstractAccountAuthenticator {
private final Context context;
@Inject @ClientId String clientId;
@Inject @ClientSecret String clientSecret;
@Inject ApiService apiService;
public AccountAuthenticator(Context context) {
super(context);
@arashadbm
arashadbm / PanAndZoomBehavior.cs
Last active January 28, 2016 16:18 — forked from sgraf812/PanAndZoomBehavior.cs
Pan and zoom behavior for Windows Phone 8 with DoupleTap to zoom in/out and Fixed Translation Issue when zoomed in .No pan inertia/squish.
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
using System.Windows.Media;
using Microsoft.Phone.Controls;
using System.Windows.Media.Animation;
using System;
//Original behavior in this Link : https://gist.github.com/sgraf812/7033464#file-panandzoombehavior
//In this version: