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
http://dl.dropbox.com/u/16988659/jeditSettings.tgz |
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
NSLog(@"\n\tFunction\t=>\t%s\n\tLine\t\t=>\t%d", __func__, __LINE__); |
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
Process: Xcode [87733] | |
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode | |
Identifier: com.apple.dt.Xcode | |
Version: 4.2.1 (834) | |
Build Info: IDEApplication-834000000000000~2 | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [151] | |
Date/Time: 2011-11-18 10:49:26.545 -0600 | |
OS Version: Mac OS X 10.7.2 (11C74) |
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
author= | |
output.dir=output/ | |
output.file.summary= | |
output.file.unique= | |
output.file.bigwords= | |
output.file.token.count= | |
output.file.token.size= |
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)saveData | |
{ | |
NSURL *documentsDirectory = [self applicationDocumentsDirectory]; | |
NSURL *dataFilePath = [documentsDirectory URLByAppendingPathComponent:@"wordData.plist"]; | |
[self.wordsByLetter writeToURL:dataFilePath atomically:YES]; | |
} |
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
- (NSURL *)applicationDocumentsDirectory | |
{ | |
return [[[NSFileManager defaultManager] | |
URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] | |
lastObject]; | |
} |
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
package java112.$1; | |
import java.io.*; | |
import java.util.*; | |
import javax.servlet.*; | |
import javax.servlet.http.*; | |
import javax.servlet.annotation.*; | |
/** | |
* @author <#=AUTHOR#> |
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
#!/bin/bash | |
file=$1 | |
function tile() { | |
convert $file -scale ${s}%x -crop 256x256 \ | |
-set filename:tile "%[fx:page.x/256]_%[fx:page.y/256]" \ | |
+repage +adjoin "${file%.*}_${s}_%[filename:tile].${file#*.}" | |
} | |
s=100 | |
tile | |
s=50 |
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
CGSize constraint = CGSizeMake(310, 20000.0f); | |
CGSize size = [wordDefinition sizeWithFont:[UIFont systemFontOfSize:18] | |
constrainedToSize:constraint lineBreakMode:UILineBreakModeWordWrap]; |
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
To display the Library directory in Lion | |
chflags nohidden ~/Library |