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
| export iphonefs=/Users/typester/app/toolchain/iPhone-2.0 | |
| export target=arm-apple-darwin9 | |
| export leopardsdk=/Developer/SDKs/MacOSX10.5.sdk | |
| export leopardinc=${leopardsdk}/usr/include | |
| export leopardlib=${leopardsdk}/System/Library/Frameworks | |
| export iphoneplt=/Developer/Platforms/iPhoneOS.platform | |
| export iphonesdk=${iphoneplt}/Developer/SDKs/iPhoneOS2.0.sdk | |
| export iphoneinc=${iphonesdk}/usr/include |
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
| use FindBin::libs; | |
| use Benchmark qw/cmpthese/; | |
| use Array::Diff 0.05; | |
| use Algorithm::Diff; | |
| use Algorithm::Diff::XS; | |
| my $d = Array::Diff->new({ diff_class => 'Algorithm::Diff' }); | |
| my $xs = Array::Diff->new({ diff_class => 'Algorithm::Diff::XS' }); |
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
| ## MySQL DB Schema | |
| CREATE TABLE user ( | |
| id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
| username VARCHAR(255) NOT NULL | |
| ); | |
| CREATE TABLE bookmark ( | |
| id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
| user INTEGER UNSIGNED NOT NULL, -- user.id | |
| url VARCHAR(255) NOT NULL |
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/sh | |
| export iphonefs=$HOME/tmp/iphone/iPhone2.1 | |
| export target=arm-apple-darwin9 | |
| export leopardsdk=$HOME/tmp/iphone/Developer/SDKs/MacOSX10.5.sdk | |
| export leopardinc=${leopardsdk}/usr/include | |
| export leopardlib=${leopardsdk}/System/Library/Frameworks | |
| export iphoneplt=$HOME/tmp/iphone/Developer/Platforms/iPhoneOS.platform |
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 Module::Setup::Flavor::iPhoneApp; | |
| use strict; | |
| use warnings; | |
| use base 'Module::Setup::Flavor'; | |
| 1; | |
| =head1 | |
| Module::Setup::Flavor::iPhoneApp - pack from iphone | |
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
| #!ruby -Ku | |
| class << (_ = × = 来週も見てくださいね! = 'ひだまりスケッチ×365 ') | |
| def / x=/_/x | |
| sub! /(.*)/, ''; print $1 | |
| self | |
| end | |
| def < x=/_/x | |
| print open(caller.first.split(':').first).read.split(/\s/)[-2..-1].join(' ') | |
| end |
NewerOlder