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
#!/usr/bin/perl -w | |
use strict; | |
use IO::File; | |
my $xsltproc = "/usr/bin/xsltproc"; | |
my $data = do {undef local($/); <>}; | |
my $xslt = do {undef local($/); <DATA>}; | |
my $tempfile = "/tmp/xml-prettyprint.$$"; |
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
# An RPM spec file to build the Phusion Passenger Apache 2 module | |
# as a binary RPM for CentOS 5 / Red Hat Enterprise Linux 5. | |
# | |
# Written by Marc Liyanage for futureLAB AG | |
# | |
%define gem_name passenger | |
%define gem_description Phusion Passenger is a deployment system for Ruby on Rails applications on Apache, i.e. a 'mod_rails' | |
Summary: rubygem-%{gem_name} - %{gem_description} | |
Name: rubygem-%{gem_name} |
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
Sampling process 16458 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling MondoMouseTool (pid 16458) every 1 millisecond | |
Call graph: | |
2564 Thread_455118 DispatchQueue_1: com.apple.main-thread (serial) | |
2564 0x2619 | |
2564 0x26f2 | |
2564 NSApplicationMain | |
2564 -[NSApplication run] | |
2564 0x163ab |
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
Sampling process 1529 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Versions (pid 1529) every 1 millisecond | |
Call graph: | |
2474 Thread_20945 DispatchQueue_1: com.apple.main-thread (serial) | |
2474 0x24f0 | |
2474 0x25c1 | |
2474 NSApplicationMain | |
2474 -[NSApplication run] | |
2474 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] |
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
echo "show State:/Network/BackToMyMac" | scutil |
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
PREFIX=/tmp/myframework | |
mkdir -p $PREFIX/{old,new} | |
rm -f $PREFIX/{old,new}/* | |
cat > myframework.c <<EOF | |
int foo() { | |
return 123; | |
} | |
EOF |
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
// LDFLAGS='-framework Foundation' make archivertest | |
#import <Foundation/Foundation.h> | |
typedef enum Foo { | |
Foo1 = 0UL, | |
Foo2 = 1, | |
Foo3 = 2 | |
} FooType; |
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
// LDFLAGS='-framework Foundation' make test2 && ./test2 | |
#import <Foundation/Foundation.h> | |
@interface Foo : NSObject { | |
NSString *bar; | |
} | |
@property (retain) NSString *bar; |
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
// CFLAGS='-arch i386' make blockstest && ./blockstest | |
#include <stdio.h> | |
#include <Block.h> | |
int main() { | |
int(^foo)() = ^() { | |
return 1+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
// CFLAGS='-std=c99 -arch x86_64' make cachetest && ./cachetest | |
#include <stdio.h> | |
#include <time.h> | |
void a(); | |
void b(); | |
int main() { |
OlderNewer