This file contains hidden or 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
| #pragma mark - | |
| #pragma Sample Usage | |
| - (void)fetchGuidesForMapItem:(NSNumber *)mid | |
| { | |
| [self request:@"GetMapItemAudioGuides" MapItemId:mid invoking:^(BOOL ok, id obj){ | |
| // do something... for op=GetMapItemAudioGuides&MapItemId=xxx request data | |
| }]; | |
| } | |
| #pragma mark - |
This file contains hidden or 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
| #pragma mark - | |
| #pragma Sample Usage | |
| - (void)fetchGuidesForMapItem:(NSNumber *)mid | |
| { | |
| [self request:@"GetMapItemAudioGuides" MapItemId:mid invoking:^(BOOL ok, id obj){ | |
| // do something... for op=GetMapItemAudioGuides&MapItemId=xxx request data | |
| }]; | |
| } | |
| #pragma mark - |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import sys, subprocess, re | |
| RX_SUITE_START = re.compile(r"Test Suite '(?P<suitename>\w+)' started at (?P<date>[\d\-]+) (?P<time>[\d\:]+) (?P<tz>[\d\-\+]+)") | |
| RX_SUITE_END = re.compile(r"Test Suite '(?P<suitename>\w+)' finished at (?P<date>[\d\-]+) (?P<time>[\d\:]+) (?P<tz>[\d\-\+]+)") | |
| RX_TEST_START = re.compile(r"Test Case '(?P<testname>[^']+)' started\.") | |
| RX_TEST_END = re.compile(r"Test Case '(?P<testname>[^']+)' passed \((?P<sec>[\d\.]+) seconds\)\.") | |
| RX_TEST_FAIL = re.compile(r"Test Case '(?P<testname>[^']+)' failed \((?P<sec>[\d\.]+) seconds\)\.") |
This file contains hidden or 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
| firestorm:Servers/smat% ./smat-webconf.py -h | |
| Usage: smat-webconf.py [options] | |
| Options: | |
| -h, --help show this help message and exit | |
| Domain options: | |
| -d DOMAIN, --domain=DOMAIN | |
| Target domain | |
| -x DOMAIN_RX, --domain-rx=DOMAIN_RX |
This file contains hidden or 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
| - (void)loadWindow | |
| { | |
| [super loadWindow]; | |
| var v = [[self window] contentView]; | |
| [v removeFromSuperview]; | |
| var w = [[CPWindow alloc] initWithContentRect:[v bounds] styleMask:CPDocModalWindowMask]; | |
| [w setContentView:v]; | |
| _window = w; | |
| } |
This file contains hidden or 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
| 2010-10-11 11:52:58.071 hummba[7085:6f03] *** __NSAutoreleaseNoPool(): Object 0xf2254e0 of class NSCFNumber autoreleased with no pool in place - just leaking | |
| [Switching to process 7085] | |
| [Switching to process 7085] | |
| (gdb) bt | |
| #0 0x0339723d in __NSAutoreleaseNoPool () | |
| #1 0x032c7394 in _CFAutoreleasePoolAddObject () | |
| #2 0x032c70ba in -[NSObject(NSObject) autorelease] () | |
| #3 0x08bebc0c in _UIAccessibilityContainerCache () | |
| #4 0x08bf10cd in -[NSObject(NSObjectAccessibility) _accessibilityHandleUnregisterContainer] () | |
| #5 0x08bf4571 in -[NSObject(NSObjectAccessibility) _accessibilityUnregister] () |
This file contains hidden or 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
| > s = 'foo bar baz baz' | |
| > reduce(lambda x,y:dict([ (k, (lambda a,b,k:(a[k] + (1 if k in b else 0)))(x,y,k)) for k in x.keys()]+[ (k,1) for k in y.keys() if not k in x ]), map(lambda x: {x:1}, s.split())) | |
| {'bar': 1, 'baz': 2, 'foo': 1} |
This file contains hidden or 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
| // | |
| // VFReverseQueue.m | |
| // Berlingske | |
| // | |
| // Created by Farcaller on 09.11.10. | |
| // Copyright 2010 Ciklum. All rights reserved. | |
| // | |
| #import "VFReverseQueue.h" |
This file contains hidden or 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
| // | |
| // VFReverseQueue.h | |
| // Berlingske | |
| // | |
| // Created by Farcaller on 09.11.10. | |
| // Copyright 2010 Ciklum. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or 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
| <p> | |
| <a href="kullanim.html" class="bumpbox" rel="1100-600">Kullanım Şartları</a> | | |
| <a href="aileler.html" class="bumpbox" rel="1100-600">Aileler İçin</a> | | |
| Kurallar ve Koşullar | | |
| Bize Ulaşın</p> | |
| <map name="MapMap" id="MapMap"> | |
| <area shape="rect" coords="5,9,85,64" href="http://www.cartoonnetwork.com.tr" target="_blank" alt="Cartoon Network" /> | |
| <area shape="rect" coords="112,9,167,68" href="http://www.kfcturkiye.com/" target="_blank" alt="Kentucky Fried Chicken" /> | |
| <area shape="rect" coords="190,3,279,72" href="http://www.projecalide.com" target="_blank" alt="Proje Calide" /> |