Skip to content

Instantly share code, notes, and snippets.

View omerfarukz's full-sized avatar
🍓

Omer omerfarukz

🍓
View GitHub Profile
namespace OMR.Core.Collections
{
using System;
using System.Collections.Concurrent;
using System.Threading;
/// <summary>
/// This class implements a collection of multi-threaded queue.
/// 2012 - OMR
/// </summary>
using System;
using System.Text;
namespace NumberToAlpha
{
public static class NumericExtensions
{
public static string ToAlphabetic(this int number)
{
if (number < 1)
@omerfarukz
omerfarukz / Program.cs
Last active December 28, 2015 00:48
Simple pub sub pattern demo
using System;
using System.Collections.Generic;
using System.Threading;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
using System;
using System.IO;
namespace Generators.RandomStream.Demo
{
class Program
{
static Random _random = new Random();
static void Main(string[] args)
@omerfarukz
omerfarukz / gist:7994182
Created December 16, 2013 20:51
simple console test executer
using System;
using System.Linq;
using System.Reflection;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
@omerfarukz
omerfarukz / GenericDiffrenceDetector.cs
Last active January 1, 2016 01:58
GenericDiffrenceDetector
/// 2013-12-22 Omer Faruk ZORLU
/// http://zor.lu
namespace Depthloy.Common.Helpers
{
using Depthloy.Common.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
public class GenericDiffrenceDetector<T>
@omerfarukz
omerfarukz / DepthloyFileSystemWatcher.cs
Created December 22, 2013 15:40
manual file changes detection
using Depthloy.Common.Cache;
using Depthloy.Common.Helpers;
using Depthloy.Common.Interfaces.Cache;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
namespace Depthloy.Server.WebServices
{
require("vector")
local physics = require("physics")
physics.setDrawMode("normal")
physics.start()
local ground = display.newRect(0,470,320,10)
ground.anchorX, ground.anchorY = 0,0
ground:setFillColor(0,1,0)
physics.addBody(ground,"static")
namespace OMR.Core.Helpers
{
using System;
using System.Collections;
using System.Collections.Generic;
public class EventAggregator
{
public IDictionary<Type, IList> Subscribers;
using System;
using System.Transactions;
namespace TransactionInterceptorSample
{
class MainClass
{
public static void Main(string[] args)
{