Skip to content

Instantly share code, notes, and snippets.

View omerfarukz's full-sized avatar
🍓

Omer omerfarukz

🍓
View GitHub Profile
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:
import os
import datetime
class Display(object):
def __init__(self):
self.__messageIndex = 0
self.__lighsOn = False
self.__messages = []
def AddMessage(self, text):
using System;
using System.Collections.Generic;
namespace LcdManager
{
class MainClass
{
public static void Main (string [] args)
{
int characterIndex = 0;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using Newtonsoft.Json;
using System;
using System.Linq;
namespace functionsDemo
{
class Program
{
public class MiniProfiler : IDisposable
{
private Stopwatch _stopWatch;
private List<ProfilerEvent> _events;
public MiniProfiler()
{
_events = new List<ProfilerEvent>();
}
#include <ws2812_i2s.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
const char* ssid = "....";
const char* password = "....";
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.Xml.Serialization;
using System.Linq;
namespace ometrikSample
{
/// </summary>
@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");
@omerfarukz
omerfarukz / DemoBehaviour.cs
Last active August 1, 2021 19:21
unity plugin demo free native share and alert dialog sample source code
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using UnityEngine;
public class demo : MonoBehaviour
{
#if UNITY_IPHONE
//
// 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)
//