Skip to content

Instantly share code, notes, and snippets.

View krestenkrab's full-sized avatar

Kresten Krab Thorup krestenkrab

View GitHub Profile
@BennettSmith
BennettSmith / ..build-protbuf-2.5.0.md
Last active October 2, 2024 18:52
Script used to build Google Protobuf 2.5.0 for use with Xcode 5 / iOS 7. Builds all supported architectures and produces a universal binary static library.

Google Protobuf 2.5.0 - Mac OS X and iOS Support

The script in this gist will help you buid the Google Protobuf library for use with Mac OS X and iOS. Other methods (such as homebrew or direct compilation) have issues that prevent their use. The libraries built by this script are universal and support all iOS device architectures including the simluator.

Get the Script

The easiest way to use this script is to simply clone the gist onto your

@krestenkrab
krestenkrab / hindent.el
Created December 22, 2011 14:14
hindent.el: Highlight indentation of current line
;;;
;;; Copyright (C) Kresten Krab Thorup
;;; Available under Apache License, Version 2.
;;;
;;;
;;; This minor mode will highlight the indentation of the current line
;;; as a vertical bar (grey background color) aligned with the column of the
;;; first character of the current line.
;;;
@krestenkrab
krestenkrab / gist:835365
Created February 19, 2011 21:09
Do you know a nice private cottage for a vacation in Norway or Sweden?

Do you know a nice private cottage for a vacation in Norway or Sweden?

We're looking to go on vacation somewhere in Norway or Sweden in July, hoping that someone in my network can help us out. We will be 6 people, we would like some place remote in nature at a lake or beach with access to a boat the family can use for day trips. Good easy hikes/walks in the area would be nice. It is perfectly fine if it so remote that we have to bring food for a week.

If you have been a place like this, let me know.

Thanks

Kresten & Family