Skip to content

Instantly share code, notes, and snippets.

View lazyasync.cs
/// <summary>
/// Provides support for asynchronous lazy initialization.
/// </summary>
/// <typeparam name="T"></typeparam>
public class LazyAsync<T> : Lazy<Task<T>>
/// <summary>
/// Initializes a new instance of the LazyAsync`1 class. When lazy initialization
/// occurs, the specified initialization function is used.
/// </summary>
alexdeloy /
Last active Oct 20, 2021
get all tweets between two dates from a specified twitter user
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import tweepy
import datetime
import xlsxwriter
import sys
# credentials from
consumerKey = "CONSUMER_KEY"
wmiller / Events.cs
Last active Oct 5, 2021
Unity3D Event System
View Events.cs
using System.Collections;
using System.Collections.Generic;
public class GameEvent
public class Events
static Events instanceInternal = null;