View keybase.md

Keybase proof

I hereby claim:

  • I am nzhuk on github.
  • I am nzhuk (https://keybase.io/nzhuk) on keybase.
  • I have a public key whose fingerprint is DA03 0148 D8BE CEB3 527A 7A3F 2058 85CC B3EA BA1D

To claim this, I am signing this object:

View Macros.h
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
View boost.sh
#===============================================================================
# Filename: boost.sh
# Author: Pete Goodliffe
# Copyright: (c) Copyright 2009 Pete Goodliffe
# Licence: Please feel free to use this, with attribution
# Modified version
#===============================================================================
#
# Builds a Boost framework for the iPhone.
# Creates a set of universal libraries that can be used on an iPhone and in the
View Joyent Micro
nzhuk@nzhuk1:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 2
model name : QEMU Virtual CPU version 0.14.1
stepping : 3
cpu MHz : 2400.035
cache size : 4096 KB
fpu : yes
View gist:6578812
- (IBAction)share:(id)sender
{
NSURL *url = [NSURL URLWithString:@"https://itunes.com/apps/apple/pages"];
UIActivityViewController *vc = [[UIActivityViewController alloc] initWithActivityItems:@[url] applicationActivities:nil];
[self presentViewController:vc animated:YES completion:nil];
}
View gist:1870147
$ time hg branches -c | wc -l
10001
real 0m6.677s
user 0m6.167s
sys 0m0.508s
$ time hg heads -t | wc -l
View gist:1862529
$ cat foo.h
#define VALUE 2012-02-19
Output: VALUE
$ clang -E -P foo.h
Output: 2012 -02 -19
$ gcc -E -P foo.h
View gist:1817176
Process: SourceTree [21840]
Path: /Applications/SourceTree.app/Contents/MacOS/SourceTree
Identifier: com.torusknot.SourceTree
Version: 1.3.1 (1.3.1)
App Item ID: 411678673
App External ID: 6209231
Code Type: X86-64 (Native)
Parent Process: launchd [129]