Skip to content

Instantly share code, notes, and snippets.

Luke Venediger lukevenediger

Block or report user

Report or block lukevenediger

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lukevenediger
lukevenediger / AudioLoaderService.java
Created Sep 28, 2015
A service that prepares MediaPlayer instances and caches the most-requested ones for you
View AudioLoaderService.java
package app
import android.content.Context;
import android.media.MediaPlayer;
import org.androidannotations.annotations.EBean;
import org.androidannotations.annotations.RootContext;
import java.io.IOException;
import java.util.Arrays;
View linked_list.js
/**
* Linked Lists.
* @author Luke Venediger
* @source https://gist.github.com/lukevenediger/8488862
* Read more here: http://lukevenediger.me/algorithms/linked_lists.html
*/
@lukevenediger
lukevenediger / BetterExpando.cs
Last active Apr 9, 2018
BetterExpando is a better Expando object because you can: 1) test for the presence of a property 2) return String.Empty for all properties that aren't found 3) control whether property names are case-sensitive or not 4) augment two BetterExpando objects together to get a union of their properties.
View BetterExpando.cs
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace statsd.net.shared
{
public class BetterExpando : DynamicObject
You can’t perform that action at this time.