Skip to content

Instantly share code, notes, and snippets.

View tecbot's full-sized avatar

Thomas Adam tecbot

  • Fastic, BRNC
  • Dresden, Germany
View GitHub Profile
@ric03uec
ric03uec / Vagrantfile
Last active January 2, 2023 11:39
flannel setup
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.define "host1" do |hostone|
@clohfink
clohfink / cassandra_cfstats_histogram.py
Last active December 20, 2015 03:59 — forked from Kami/cassandra_cfstats_histogram.py
Changed to just make bar graph. With large values histogram version takes multiple GB of ram
#!/usr/bin/env python
# Licensed to Tomaz Muraus under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# Tomaz muraus licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
/*
Implements different bin packer algorithms that use the MAXRECTS data structure.
See http://clb.demon.fi/projects/even-more-rectangle-bin-packing
Author: Jukka Jylänki
- Original
Author: Claus Wahlers
- Ported to ActionScript3