Skip to content

Instantly share code, notes, and snippets.

View clemensg's full-sized avatar

Clemens Gruber clemensg

  • Austria
  • 09:26 (UTC +02:00)
View GitHub Profile
@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 / 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...

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)

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:

@clemensg
clemensg / etc_sysctl.conf
Created February 5, 2014 16:50
My FreeBSD /etc/sysctl.conf
# /etc/sysctl.conf
# Clemens Gruber, 2014
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0
## I/O
@clemensg
clemensg / boot_loader.conf
Created February 5, 2014 16:44
My FreeBSD /boot/loader.conf
# /boot/loader.conf
# Clemens Gruber, 2014
#
autoboot_delay="5"
# Intel AES-NI Hardware Crypto
aesni_load="YES"
# Intel CPU Temp
@clemensg
clemensg / etc_make.conf
Last active June 1, 2020 21:37
My FreeBSD make.conf
# /etc/make.conf
# Clemens Gruber, 2017
#
# Nearby mirror
#MASTER_SITE_OVERRIDE="ftp://ftp.at.freebsd.org/pub/FreeBSD/ports/distfiles/"
#MASTER_SITE_OVERRIDE="ftp://ftp.de.freebsd.org/pub/FreeBSD/ports/distfiles/"
# Build
MAKE_JOBS_NUMBER?=8
@clemensg
clemensg / libmemcached.rb
Last active December 21, 2015 15:49
Mavericks guessing game
require 'formula'
class Libmemcached < Formula
homepage 'http://libmemcached.org'
url 'https://launchpad.net/libmemcached/1.0/1.0.17/+download/libmemcached-1.0.17.tar.gz'
sha1 '1023bc8c738b1f5b8ea2cd16d709ec6b47c3efa8'
depends_on 'memcached'
# Disable superenv
@clemensg
clemensg / gist:6079961
Created July 25, 2013 14:02
Homebrew Mavericks DP4, reordered and changed comments
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index b86bc8f..259d53a 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -40,12 +40,12 @@ module MacOS extend self
end
def dev_tools_path
- @dev_tools_path ||= if tools_in_prefix? CLT::STANDALONE_PKG_PATH
- # In 10.9 the CLT moved from /usr into /Library/Developer/CommandLineTools.
@clemensg
clemensg / usr_include_content.txt
Last active December 20, 2015 03:09
tree -L 2 /usr/include on OS X 10.9 Mavericks DP4
/usr/include
├── AssertMacros.h
├── Availability.h
├── AvailabilityInternal.h
├── AvailabilityMacros.h
├── Block.h
├── CommonCrypto
│   ├── CommonCrypto.h
│   ├── CommonCryptor.h
│   ├── CommonDigest.h