Skip to content

Instantly share code, notes, and snippets.

View clemensg's full-sized avatar

Clemens Gruber clemensg

  • Austria
  • 08:15 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am clemensg on github.
  • I am clemensg (https://keybase.io/clemensg) on keybase.
  • I have a public key whose fingerprint is 6209 82CC 6D32 5FC6 C1D7 1436 26E2 776B DA54 0501

To claim this, I am signing this object:

OS X 10.10 Guide

Here's what I did to get things working.

1. Install Xcode 6

Yep, over at: https://developer.apple.com

2. Install the Command Line Tools (CLT)

@clemensg
clemensg / rake.log
Created June 30, 2014 12:38
Rubinius 2.2.10 build error on Linux
** Invoke install (first_time)
** Invoke build:build (first_time)
** Invoke build:llvm (first_time)
** Execute build:llvm
sh -c "/home/clemens/.rvm/src/rbx-2.2.10/vendor/llvm/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --enable-optimized --disable-assertions --enable-targets=host,cpp"
checking for x86_64-unknown-linux-gnu-clang... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
@clemensg
clemensg / vmware-10.0.3.patch
Created July 4, 2014 13:35
VMware Workstation 10.0.3 modules patch on Linux 3.15, apply in addition to http://pastie.org/9090538
diff -ur vsock-only/linux/notify.c ~vsock-only/linux/notify.c
--- vsock-only/linux/notify.c 2014-07-04 15:12:12.286408886 +0200
+++ ~vsock-only/linux/notify.c 2014-07-04 15:13:16.573315661 +0200
@@ -516,7 +516,7 @@
PKT_FIELD(vsk, sentWaitingRead) = FALSE;
#endif
- sk->sk_data_ready(sk, 0);
+ sk->sk_data_ready(sk);
}
@clemensg
clemensg / unicorn
Created January 26, 2012 20:08
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@clemensg
clemensg / unicorn
Created January 26, 2012 20:08
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@clemensg
clemensg / unicorn
Created January 26, 2012 20:08
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@clemensg
clemensg / macvim_drawer.rb
Created August 8, 2012 11:48 — forked from tubbo/macvim_drawer.rb
macvim-drawer homebrew formula
require 'formula'
class MacvimDrawer < Formula
homepage 'https://github.com/alloy/macvim'
head 'git://github.com/alloy/macvim.git', :branch => 'split-browser'
def options
[
# Building custom icons fails for many users, so off by default.
["--custom-icons", "Try to generate custom document icons."],
@clemensg
clemensg / keccak.rb
Created October 4, 2012 13:51
Minor changes to Christian Neukirchens Keccak implementation in pure Ruby
# To the extent possible under law, Christian Neukirchen has waived
# all copyright and related or neighboring rights to the source code
# in this file.
# http://creativecommons.org/publicdomain/zero/1.0/
#
# Minor changes by Clemens Gruber, 04.Oct. 2012:
# * Added time measurement to tests
# * Optimized rotl64 a little bit (roughly 30 percent faster),
# because rotl64 is the function which is called most often.
#
@clemensg
clemensg / homebrew_mavericks_fix.patch
Last active December 18, 2015 13:18
Fixes most of homebrew's problems on OSX 10.9 Mavericks (If /usr/include does not exist, treat it like a system with Xcode only)
From 3a37b93f95081f697f9d0941360af7fcee701099 Mon Sep 17 00:00:00 2001
From: Clemens Gruber <clemensgru@gmail.com>
Date: Sat, 15 Jun 2013 18:38:32 +0200
Subject: [PATCH] Fix Homebrew on OSX 10.9 Mavericks
---
Library/Homebrew/os/mac/xcode.rb | 2 +-
Library/Homebrew/superenv/macsystem.rb | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)