%title: Kubeception %author: @dghubble
// Youtube: https://www.youtube.com/watch?v=tlUiQa2JYQU
-> Experiments with QEMU/KVM on Kubernetes <-
| /** | |
| * @file endianness.h | |
| * @brief Convert Endianness of shorts, longs, long longs, regardless of architecture/OS | |
| * | |
| * Defines (without pulling in platform-specific network include headers): | |
| * bswap16, bswap32, bswap64, ntoh16, hton16, ntoh32 hton32, ntoh64, hton64 | |
| * | |
| * Should support linux / macos / solaris / windows. | |
| * Supports GCC (on any platform, including embedded), MSVC2015, and clang, | |
| * and should support intel, solaris, and ibm compilers as well. |
%title: Kubeception %author: @dghubble
// Youtube: https://www.youtube.com/watch?v=tlUiQa2JYQU
-> Experiments with QEMU/KVM on Kubernetes <-
| ; https://autohotkey.com/board/topic/72918-my-ahk-stuff/ | |
| ; | |
| ; AutoHotkey Version: 1.x | |
| ; Language: English | |
| ; Platform: windows | |
| ; Author: Andre Blanchard | |
| ; | |
| ;Windows Slide | |
| ; Script Function: | |
| ; This script allows you to move around windows by pressing the hotkey of your choice. |
| project ( lua C ) | |
| cmake_minimum_required ( VERSION 2.8 ) | |
| include_directories ( src ${CMAKE_CURRENT_BINARY_DIR} ) | |
| set ( SRC_CORE src/lapi.c src/lcode.c src/lctype.c src/ldebug.c src/ldo.c src/ldump.c src/lfunc.c src/lgc.c src/llex.c | |
| src/lmem.c src/lobject.c src/lopcodes.c src/lparser.c src/lstate.c src/lstring.c src/ltable.c | |
| src/ltm.c src/lundump.c src/lvm.c src/lzio.c ) | |
| set ( SRC_LIB src/lauxlib.c src/lbaselib.c src/lbitlib.c src/lcorolib.c src/ldblib.c src/liolib.c | |
| src/lmathlib.c src/loslib.c src/lstrlib.c src/ltablib.c src/lutf8lib.c src/loadlib.c src/linit.c ) |
| #!/usr/bin/env python | |
| import os | |
| import re | |
| import threading | |
| import time | |
| import subprocess | |
| from os.path import splitext, expanduser, normpath | |
| import click |
| import sys | |
| import logging | |
| import tornado.httpserver | |
| import tornado.log | |
| import tornado.options | |
| import tornado.web | |
| logger = logging.getLogger(__name__) | |
| tornado.options.define("access_to_stdout", default=False, help="Log tornado.access to stdout") |
| // Base code taken from | |
| // https://github.com/mfontanini/Programs-Scripts/blob/master/constexpr_hashes/md5.h | |
| // and expanded to include a main function | |
| #ifndef CONSTEXPR_HASH_MD5_H | |
| #define CONSTEXPR_HASH_MD5_H | |
| #include <array> | |
| #include <iostream> | |
| #include <cstdint> |
Response to https://twitter.com/jeffreymaxwell/status/705760483391963136 requiring more than the 77 characters left on Twitter.
DISCLAIMER: The quality of writing and thinking here is aligned with a Twitter conversation, not a blog post, presentation, or book ;-)
Synchronous RESTful communication between Microservices is an anti-pattern ... you seem to being saying that the Netflix architecture (hystrix, eureka, ribbon, ..) is broken ... hmm what would @benjchristensen say?
The general goal of this doc is to show how to use qemu, ipxe and tgt to test iscsi and iBFT.
There are loads of things that could be done to make this test environment. But for now, it just shows a simple case to show parameters necessary.
In examples here, the iscsi server is available at 192.168.1.10. The qemu host system is available at 192.168.1.11. We assume port 9999 is available to run a python simple web server.
| def isolation_level(level): | |
| """Return a Flask view decorator to set SQLAlchemy isolation level | |
| Usage:: | |
| @main.route("/thingy/<id>", methods=["POST"]) | |
| @isolation_level("SERIALIZABLE") | |
| def update_a_thing(id): | |
| ... | |
| """ | |
| def decorator(view): |