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 DBI; | |
use Path::Class; | |
use Test::mysqld; | |
my $mysqld = Test::mysqld->new( | |
my_cnf => { | |
'skip-networking' => '', | |
} | |
) or plan skip_all => $Test::mysqld::errstr; |
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 perl | |
use strict; | |
use warnings; | |
use v5.14; | |
use IO::Socket::INET;sub empty_port () { | |
my $sock = IO::Socket::INET->new( | |
Prot => 'tcp', | |
Listen => 1, | |
(($^O eq 'MSWin32') ? () : (ReuseAddr => 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
javascript:(function() {var date=(new Date()); location.href='http://ja.wikipedia.org/wiki/'+(date.getMonth()+1)+'月'+date.getDate()+'日#.E8.A8.98.E5.BF.B5.E6.97.A5.E3.83.BB.E5.B9.B4.E4.B8.AD.E8.A1.8C.E4.BA.8B';})() |
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 perl | |
use strict; | |
use warnings; | |
package A; | |
use Carp qw(cluck); | |
*name = sub { cluck 'no name' }; | |
package B; | |
use Sub::Name; |
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
# | |
# zaw-src-cdd | |
# | |
# zaw source for cdd command | |
# | |
(( $+functions[cdd] )) || return | |
function zaw-src-cdd () { | |
if [ -r "$CDD_PWD_FILE" ]; then |
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 bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
make install |
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
/* | |
Do not change this file. | |
Generated from BridgeSupport. | |
*/ | |
#include "cocoa.h" | |
#import "UIKit/UIAccelerometer.h" | |
#import "UIKit/UIAccessibility.h" | |
#import "UIKit/UIAccessibilityAdditions.h" | |
#import "UIKit/UIAccessibilityConstants.h" | |
#import "UIKit/UIAccessibilityElement.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
/* | |
Do not change this file. | |
Generated from BridgeSupport. | |
/usr/bin/gen_bridge_metadata --no-64-bit -f "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/QuartzCore.framework" -c "-I/Users/usr0600239/tmp/mobiruby-ios/modules/mruby/include -I/Users/usr0600239/tmp/mobiruby-ios/modules/libffi/include -I/Users/usr0600239/tmp/mobiruby-ios/modules/mobiruby-common/include -I/Users/usr0600239/tmp/mobiruby-ios/modules/mruby-cocoa/include -I/Users/usr0600239/tmp/mobiruby-ios/modules/mruby-cfunc/include -DALLOC_PADDING=8 -DUSE_MRBC_DATA -arch i386 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk" | |
/usr/bin/gen_bridge_metadata --no-64-bit -f "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/AVFoundation.framework" -c "-I/Us |
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
<?xml version='1.0'?> | |
<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd"> | |
<signatures version='1.0'> | |
<struct type='{CGAffineTransform="a"f"b"f"c"f"d"f"tx"f"ty"f}' name='CGAffineTransform'/> | |
<struct type='{CGDataConsumerCallbacks="putBytes"^?"releaseConsumer"^?}' name='CGDataConsumerCallbacks'/> | |
<struct type='{CGDataProviderCallbacks="getBytes"^?"skipBytes"^?"rewind"^?"releaseProvider"^?}' name='CGDataProviderCallbacks'/> | |
<struct type='{CGDataProviderDirectAccessCallbacks="getBytePointer"^?"releaseBytePointer"^?"getBytes"^?"releaseProvider"^?}' name='CGDataProviderDirectAccessCallbacks'/> | |
<struct type='{CGDataProviderDirectCallbacks="version"I"getBytePointer"^?"releaseBytePointer"^?"getBytesAtPosition"^?"releaseInfo"^?}' name='CGDataProviderDirectCallbacks'/> | |
<struct typ |
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 | |
class Foo { | |
public function __call($name, $arguments) { | |
echo $name . "\n"; | |
} | |
public function foo() { | |
echo "fooooo\n"; | |
} |