Skip to content

Instantly share code, notes, and snippets.

@wellle
wellle / welle.vimrc
Created November 1, 2012 15:00
my current vimrc
set nocompatible
syntax enable
set hidden
" set noesckeys " messes up the mouse
" set timeoutlen=0 " messes up mappings
set ttimeoutlen=50
set shortmess=atI
set scrolloff=2
@wellle
wellle / AdView.h
Created October 9, 2012 14:35
A simple pseudo advertising banner view that illustrate how tracking could be handled in combination with the SKProductViewController in iOS6.
#import <UIKit/UIKit.h>
// We need store kit to use the product view controller.
#import <StoreKit/StoreKit.h>
// This is a minimal example of a pseudo advertising banner view.
// It is meant to illustrate how tracking could be handled in
// combination with the new product view controller in iOS6. The main
// mechanism is the callback to a callback URL with an advertising ID.
@interface AdView : UIView <SKStoreProductViewControllerDelegate>