This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/adeven/amqp" // `adeven` works, `streadway` doesn't | |
"log" | |
"time" | |
) | |
func main() { | |
amqpConfig := "amqp://guest:guest@localhost:5672/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"launchpad.net/gocheck" | |
) | |
type containsChecker struct { | |
*gocheck.CheckerInfo | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 99b2236c037c src/buffer.c | |
--- a/src/buffer.c Mon Jun 03 12:17:05 2013 +0200 | |
+++ b/src/buffer.c Mon Jun 03 16:23:39 2013 +0200 | |
@@ -3567,11 +3567,6 @@ | |
if (fillchar == 0) | |
fillchar = ' '; | |
-#ifdef FEAT_MBYTE | |
- /* Can't handle a multi-byte fill character yet. */ | |
- else if (mb_char2len(fillchar) > 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src hg:default ❱ make | |
mkdir objects | |
CC="gcc -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp " srcdir=. sh ./osdef.sh | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/blowfish.o blowfish.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/charset.o charset.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/diff.o diff.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/digraph.o digraph.c | |
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/edit.o edit.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ ❱ gcc -dM -E - < /dev/null | |
#define OBJC_NEW_PROPERTIES 1 | |
#define _LP64 1 | |
#define __APPLE_CC__ 5621 | |
#define __APPLE__ 1 | |
#define __ATOMIC_ACQUIRE 2 | |
#define __ATOMIC_ACQ_REL 4 | |
#define __ATOMIC_CONSUME 1 | |
#define __ATOMIC_RELAXED 0 | |
#define __ATOMIC_RELEASE 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sergio:~/git/Android-App$ ant | |
Buildfile: /Users/sergio/git/Android-App/build.xml | |
...bla bla bla... | |
-set-mode-check: | |
-set-release-mode: | |
-release-obfuscation-check: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// ... | |
Terminate *terminate = [[Terminate alloc] init]; | |
[terminate release]; | |
return YES; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct Results { | |
int * R; | |
int N; | |
}; | |
struct Results solution(int A[], int N) { | |
struct Results result; |
OlderNewer