Skip to content

Instantly share code, notes, and snippets.

View guenter's full-sized avatar

Tobi Knaup guenter

View GitHub Profile
Index: Rakefile
===================================================================
--- Rakefile (revision 1572742)
+++ Rakefile (working copy)
@@ -36,7 +36,7 @@
Dir.glob('*.md').each { |doc|
puts "working on: #{doc}"
IO.write(doc, File.open(doc) { |f|
- f.read.gsub(/\((.*)(\.md)\)/, '(\1)')
+ f.read.gsub(/\((.*)(\.md)\)/, '(/documentation/latest/\1/)')

Software projects built on Mesos

PaaS and Long Running Services

  • Aurora is a service scheduler that runs on top of Mesos, enabling you to run long-running services that take advantage of Mesos' scalability, fault-tolerance, and resource isolation.
  • Marathon is a private PaaS built on Mesos. It automatically handles hardware or software failures and ensures that an app is "always on".
  • SSSP is a simple web application that provides a white-label "Megaupload" for storing and sharing files in S3.

Big Data Processing

@guenter
guenter / mesos.rb
Created March 31, 2014 15:56
Mesos homebrew
require 'formula'
class Mesos < Formula
homepage 'http://incubator.apache.org/mesos/'
head 'https://git-wip-us.apache.org/repos/asf/mesos.git'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
depends_on 'zookeeper'
3.95% libc-2.17.so [.] _int_malloc
3.76% libc-2.17.so [.] malloc
3.74% libc-2.17.so [.] _int_free
3.53% [kernel] [k] __ticket_spin_lock
2.83% libstdc++.so.6.0.18 [.] std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<unsigned long>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned long&) const
2.56% libstdc++.so.6.0.18 [.] 0x000000000008a2b5
1.83% [kernel] [k] generic_exec_single
1.37% libstdc++.so.6.0.18 [.] std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<long>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, long&) const
1.35% li
Index: source/blog/2014-04-10-mesos-community-update-2.md
===================================================================
--- source/blog/2014-04-10-mesos-community-update-2.md (revision 0)
+++ source/blog/2014-04-10-mesos-community-update-2.md (working copy)
@@ -0,0 +1,51 @@
+---
+layout: post
+title: "Mesos Community Update #2"
+permalink: /blog/mesos-community-update-2/
+published: true
diff --git a/configure.ac b/configure.ac
index c1de6d7..3197d00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -436,6 +436,13 @@ __EOF__
AC_DEFINE([MESOS_HAS_JAVA])
has_java=yes
+
+ # Test for Maven so we can build the jar
@guenter
guenter / clean-github.js
Created April 29, 2014 21:57
Remove nav elements on github page to clean it up for PDF. Paste in your browser console.
$('.file-navigation, .repository-sidebar, .header, .pagehead, .breadcrumb, .commit, .meta, .site-footer').remove(); $('#files, .file').css({"background":"none", "border":"none"}); $('link').removeAttr('media');
@guenter
guenter / velocity.md
Created September 15, 2014 19:24
velocity
@guenter
guenter / Node-and-Redis.json
Last active August 29, 2015 14:13
Prepare a cluster started with https://google.mesosphere.com for the Mesos DNS demo
{
"id" : "/mysite",
"apps": [
{
"id": "frontend",
"container": {
"type": "DOCKER",
"docker": {
"image": "superguenter/node-redis-demo",
"network": "HOST"
@guenter
guenter / mysql_commands_i_always_forget.sql
Created September 1, 2010 15:58
MySQL commands I forget all the time
-- Reset the query cache
RESET QUERY CACHE;
-- Closes all open tables, forces all tables in use to be closed, and flushes the query cache.
FLUSH TABLES;
-- Show character set in use by client, server, etc.
SHOW VARIABLES LIKE 'character_set%';