Skip to content

Instantly share code, notes, and snippets.

Working from home

Nurettin Onur TUĞCU nurettin

Working from home
View GitHub Profile
nurettin /
Last active Aug 16, 2020 — forked from nst/
Fluid simulation from 1D cellular automata
#!/usr/bin/env python
# Idea: YankeeMinstrel
# Python code: torstengrust
# Animated GIF: Nicolas Seriot, 2017-07-01
from PIL import Image, ImageDraw
import os
View gist:0421fc97c62480cdac998f0577fa0968
buildscript {
android {
dependencies {
View gist:6364903
include Java
require 'blpapi3.jar'
opts =
opts.server_host = 'localhost'
opts.server_port = 8194
session = opts
service = '//blp/refdata'
throw "Can't start Bloomberg" unless session.start && session.open_service(service)
nurettin / awesome.rb
Last active Dec 11, 2015 — forked from simonharrer/gist:1173228
awesome jax-ws Soap1.2 web service running on jruby 1.7.2
View awesome.rb
require 'java'
require 'jruby/core_ext'
class MyService
def hello(who)
"Hello #{who}"
nurettin / boost_property_tree_json_array.cpp
Created Nov 29, 2012 — forked from mloskot/boost_property_tree_json_array.cpp
Simple example of parsing and consuming JSON array with boost::property_tree
View boost_property_tree_json_array.cpp
#ifdef _MSC_VER
#include <boost/config/compiler/visualc.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/foreach.hpp>
#include <cassert>
#include <exception>
#include <iostream>
#include <sstream>
nurettin / torquebox.yml
Created Nov 28, 2012
issues with queues in torquebox 2.1.2 and jruby-1.7.0
View torquebox.yml
# This is the TorqueBox configuration file. Refer to the TorqueBox
# documentation at
# for all configuration options.
version: 1.9
context: "/"