View eca_fluid_sim.py
#!/usr/bin/env python | |
# Idea: YankeeMinstrel | |
# Python code: torstengrust | |
# Animated GIF: Nicolas Seriot, 2017-07-01 | |
# https://www.reddit.com/r/cellular_automata/comments/6jhdfw/i_used_1dimensional_cellular_automata_to_make_a/ | |
from PIL import Image, ImageDraw | |
import os |
View gist:0421fc97c62480cdac998f0577fa0968
buildscript { | |
... | |
} | |
... | |
android { | |
... | |
} | |
dependencies { |
View gist:6364903
include Java | |
require 'blpapi3.jar' | |
opts = com.bloomberglp.blpapi.SessionOptions.new | |
opts.server_host = 'localhost' | |
opts.server_port = 8194 | |
session = com.bloomberglp.blpapi.Session.new opts | |
service = '//blp/refdata' | |
throw "Can't start Bloomberg" unless session.start && session.open_service(service) |
View awesome.rb
require 'java' | |
require 'jruby/core_ext' | |
class MyService | |
def hello(who) | |
"Hello #{who}" | |
end | |
end | |
MyService.add_class_annotations( |
View boost_property_tree_json_array.cpp
#ifdef _MSC_VER | |
#include <boost/config/compiler/visualc.hpp> | |
#endif | |
#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> |
View torquebox.yml
--- | |
# This is the TorqueBox configuration file. Refer to the TorqueBox | |
# documentation at http://torquebox.org/documentation/current/ | |
# for all configuration options. | |
ruby: | |
version: 1.9 | |
web: | |
context: "/" |