Skip to content

Instantly share code, notes, and snippets.

View bassam's full-sized avatar

Bassam Tabbara bassam

View GitHub Profile
@bassam
bassam / mono.rb
Created May 21, 2013 23:42
Build mono from git HEAD on OSX using home brew
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class Mono < Formula
homepage 'http://www.mono-project.com/'
head 'git://github.com/mono/mono.git', :using => :git
depends_on 'automake'
depends_on 'autoconf'
@bassam
bassam / symform-mono.rb
Last active December 19, 2015 06:29
Symform's fork of mono-3-0
# http://www.mono-project.com/Compiling_Mono_on_OSX
require 'formula'
class SymformMono < Formula
homepage 'http://www.mono-project.com/'
head 'https://github.com/symform/mono.git', :using => :git, :branch => 'symform-3-0'
depends_on 'automake'
depends_on 'autoconf'
>>> Verifying ebuild manifests
>>> Running pre-merge checks for cross-aarch64-cros-linux-gnu/gcc-4.9.3
>>> Emerging (1 of 1) cross-aarch64-cros-linux-gnu/gcc-4.9.3::x-crossdev
>>> Failed to emerge cross-aarch64-cros-linux-gnu/gcc-4.9.3, Log file:
>>> '/var/log/portage/cross-aarch64-cros-linux-gnu:gcc-4.9.3:20151231-203329.log'
* Package: cross-aarch64-cros-linux-gnu/gcc-4.9.3
* Repository: x-crossdev
* Maintainer: toolchain
* USE: abi_x86_64 amd64 crosscompile_opts_bootstrap elibc_glibc kernel_linux nls nptl pie ssp userland_GNU
* FEATURES: ccache compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
@bassam
bassam / gist:cc78dbcbc7c8b307bf8e
Created March 28, 2016 18:34
Circular Dependencies
Calculating dependencies... done!
[nomerge ] net-firewall/iptables-1.4.21-r1::portage-stable to /build/amd64-usr/ USE="ipv6 -conntrack -netlink -static-libs"
[nomerge ] virtual/os-headers-0::portage-stable to /build/amd64-usr/
[nomerge ] sys-kernel/linux-headers-3.18::portage-stable to /build/amd64-usr/
[nomerge ] dev-lang/perl-5.20.2:0/5.20::portage-stable to /build/amd64-usr/ USE="gdbm -berkdb -debug -doc -ithreads"
[nomerge ] app-admin/perl-cleaner-2.19::portage-stable to /build/amd64-usr/
[nomerge ] sys-apps/portage-2.2.26::coreos to /build/amd64-usr/ USE="(ipc) xattr -build -doc -epydoc -selinux" LINGUAS="-ru" PYTHON_TARGETS="python2_7 (-pypy) -python3_3 -python3_4 -python3_5"
[nomerge ] dev-lang/python-2.7.9-r1:2.7::portage-stable to /build/amd64-usr/ USE="gdbm hardened ipv6 ncurses readline ssl threads (wide-unicode) xml (-berkdb) -build -doc -examples -sqlite -tk -wininst"
29-Mar-2016 18:28:22 >>> Installing (131 of 198) sys-block/thin-provisioning-tools-0.3.2-r1::portage-stable
29-Mar-2016 18:28:40 >>> Installing (156 of 198) app-emulation/qemu-2.4.0-r1::portage-stable
29-Mar-2016 18:28:47 >>> Installing (154 of 198) coreos-devel/mantle-0.0.10-r2::coreos
29-Mar-2016 18:28:48 >>> Installing (34 of 198) app-eselect/eselect-vi-1.1.7-r1::portage-stable
29-Mar-2016 18:28:50 >>> Installing (60 of 198) dev-util/ctags-5.8::portage-stable
29-Mar-2016 18:28:52 * Package: dev-libs/protobuf-c-0.15
29-Mar-2016 18:28:52 * Repository: portage-stable
29-Mar-2016 18:28:52 * Maintainer: [email protected]
29-Mar-2016 18:28:52 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp userland_GNU
29-Mar-2016 18:28:52 * FEATURES: ccache compressdebug preserve-libs sandbox splitdebug userpriv usersandbox
@bassam
bassam / test_simd_compile_aarch64_cortex-a57.results
Last active September 3, 2016 03:45
gf-complete SIMD test results (prior to runtime detection)
Compiling with NO SIMD support...SUCCESS
Compiling with FULL SIMD support...SUCCESS
# OSD/ObjectStore
# make rocksdb statically
if(NOT ALLOCATOR STREQUAL "jemalloc")
set(ROCKSDB_JEMALLOC "DISABLE_JEMALLOC=1")
endif()
set(ROCKSDB_EXTRA_CXXFLAG "-fPIC -Wno-unused-variable")
if(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
set(ROCKSDB_EXTRA_CXXFLAG "${ROCKSDB_EXTRA_CXXFLAG} -DNDEBUG")
endif(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
> make -j4 rocksdb_ext
Scanning dependencies of target rocksdb_ext
[ 0%] Creating directories for 'rocksdb_ext'
[100%] No download step for 'rocksdb_ext'
[100%] No patch step for 'rocksdb_ext'
[100%] No update step for 'rocksdb_ext'
[100%] Performing configure step for 'rocksdb_ext'
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
[Unit]
Description=Rook Daemon - software defined storage
Requires=network-online.target
After=network-online.target
[Service]
Slice=machine.slice
Restart=always
KillMode=process
Rook: Kubernetes-native file, block and object storage
Kubernetes is desperately missing native persistent storage. Storage is the third leg of the stool
and just like compute and networking it needs to be integrated into Kubernetes. If you're running Kuberentes in
public clouds you can rely on block and object storage albeit in non-portable ways. If you're running on-premise
your choices are limited and frequently fallback to traditional storage systems.
Rook is an open-source storage project that exposes block, file and object storage to Kuberentes Pods. Rook itself
runs as a pod and uses the full power of Kubernetes to ensure that data is reliably stored, and that pods are
getting high performance access to data. While Rook is a new project, its based on an embedded version of Ceph