Skip to content

Instantly share code, notes, and snippets.

View omerfarukz's full-sized avatar
🍓

Omer omerfarukz

🍓
View GitHub Profile
@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
{
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.Xml.Serialization;
using System.Linq;
namespace ometrikSample
{
/// </summary>
#include <ws2812_i2s.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
const char* ssid = "....";
const char* password = "....";
public class MiniProfiler : IDisposable
{
private Stopwatch _stopWatch;
private List<ProfilerEvent> _events;
public MiniProfiler()
{
_events = new List<ProfilerEvent>();
}
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Newtonsoft.Json;
using System;
using System.Linq;
namespace functionsDemo
{
class Program
{
using System;
using System.Collections.Generic;
namespace LcdManager
{
class MainClass
{
public static void Main (string [] args)
{
int characterIndex = 0;
import os
import datetime
class Display(object):
def __init__(self):
self.__messageIndex = 0
self.__lighsOn = False
self.__messages = []
def AddMessage(self, text):
import os, sys
import json
import PIL
from PIL import Image
directory = "output"
if not os.path.exists(directory):
os.makedirs(directory)
with open('Contents.json', 'rwb') as data_file:
using System;
using AutoMapper;
namespace pp
{
class MainClass
{
public static void Main (string [] args)
{
Mapper.Initialize ((obj) => obj.AddProfile<MyProfile> ());