Skip to content

Instantly share code, notes, and snippets.

View omerfarukz's full-sized avatar
🍓

Omer omerfarukz

🍓
View GitHub Profile
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)
{
//
// MethodBaseRocks.cs
//
// Author:
// Jb Evain (jbevain@novell.com)
//
// WARNING: code now lives in http://github.com/jbevain/mono.reflection
//
// (C) 2009 Novell, Inc. (http://www.novell.com)
//
@omerfarukz
omerfarukz / Program.cs
Created December 23, 2015 10:15
dummy query parser
using System;
namespace demo2
{
class MainClass
{
public static void Main(string[] args)
{
Interpret("command=read;pin=3;callback=handle_temperature");
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)
{