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
- (NSString *)stringByMD5 | |
{ | |
const char *cStr = [self UTF8String]; | |
unsigned char result[CC_MD5_DIGEST_LENGTH]; | |
CC_MD5(cStr, strlen(cStr), result); | |
return [[NSString | |
stringWithFormat: @"%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", | |
result[0], result[1], | |
result[2], result[3], |
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
cd ~ | |
mkdir CoffeeHouse | |
cd CoffeeHouse | |
git clone git://github.com/fileability/coffee-house.git |
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
<codesense> | |
<provider> | |
<selector>c - comment</selector> | |
<completions>net.fileability.c.preprocessor</completions> | |
<complete-match capture="2">(\s*)#([a-zA-Z0-9-]+)</complete-match> | |
</provider> | |
<provider> | |
<selector>c - comment</selector> | |
<completions>net.fileability.c.keyword</completions> |
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
<?php | |
$projects = new AGTable("projects"); | |
$row = $projects->insert(array('title'=>"Test", 'description'=>"This is a test project!")); | |
$row2 = $projects->insert(); | |
$row2->update(array('title'=>"Second Test", 'description'=>"This is another test project!")); | |
$projects->delete($row); | |
?> |
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
000083c0 S .objc_class_name_AppDelegate | |
00008400 S .objc_class_name_DragImageController | |
00008440 S .objc_class_name_ExpandableViewController | |
00008480 S .objc_class_name_MainClassController | |
U .objc_class_name_NSArray | |
U .objc_class_name_NSAttributedString | |
U .objc_class_name_NSBundle | |
U .objc_class_name_NSColor | |
U .objc_class_name_NSData | |
U .objc_class_name_NSDictionary |
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
<?php | |
function gravatarsrc($size) | |
{ | |
$grav_url = "http://www.gravatar.com/avatar.php?gravatar_id=".urlencode(md5( strtolower($this->email()))). | |
"&rating=r". | |
"&default=wavatar". | |
"&size=".((int)$size); | |
return $grav_url; | |
} | |
?> |
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
2009-02-03 01:02:50.837 MacBase[3675:10b] [object image] = TBPlusButton_Image | |
MacBase(3675,0xa085d720) malloc: *** resurrection error for object 0x1bb99b0: auto_zone_write_barrier: NSTrackingArea._owner[48](0x1c4a290)[20] = TBView[112](0x1bb99b0) | |
MacBase(3675,0xa085d720) malloc: *** auto malloc[3675]: error for object 0x1bb99b0: pointer in garbage list being stored into reachable memory, break on auto_zone_resurrection_error to debug | |
MacBase(3675,0xa085d720) malloc: *** auto malloc[3675]: error for object 0x1ba1880: auto_zone_write_barrier_memmove: resurrecting collected object | |
MacBase(3675,0xa085d720) malloc: *** auto malloc[3675]: error for object 0x1ba1880: pointer in garbage list being stored into reachable memory, break on auto_zone_resurrection_error to debug | |
MacBase(3675,0xa085d720) malloc: *** resurrection error for object 0x1c1ce70: auto_zone_write_barrier: NSTrackingArea._owner[48](0x1c4a2f0)[20] = TBButton[96](0x1c1ce70) | |
MacBase(3675,0xa085d720) malloc: *** auto malloc[3675]: error for object |
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)drawRect:(NSRect)rect | |
{ | |
rect = [self bounds]; | |
float offset = [self offsetHeight]; | |
[[NSColor colorWithCalibratedRed:0.94 green:0.94 blue:0.94 alpha:1.00] set]; | |
NSRectFill(rect); | |
NSString *sourceListText = @"Double click on one of these items to open it in a tab"; |
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
<action-recipes> | |
<snippet id="net.fileability.TextActions.c.metadata.include" category="tools.Snippets"> | |
<title>#include <file></title> | |
<text><![CDATA[#include <${0}>]]></text> | |
<syntax-context>c, c *</syntax-context> | |
</snippet> | |
<snippet id="net.fileability.TextActions.c.metadata.include.double-quoted" category="tools.Snippets"> | |
<title>#include "file"</title> |
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
<page> | |
<title>Table-removeRowAtIndex</title> | |
<articleType>Scripting APIs</articleType> | |
<name>removeRowAtIndex</name> | |
<parent>Table</parent> | |
<proto>function void removeRowAtIndex(string fieldName, int index)</proto> | |
<description><![CDATA[Removes the row at: <em>fieldName</em> and row index: <em>index</em>]]></description> | |
<example><![CDATA[var products = Data["Products"]; | |
products.removeRowAtIndex("Name", 0); | |
]]></example> |