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
# file: .autotest | |
Autotest.add_hook :initialize do |at| | |
# don't look log/test.log | |
at.add_exception(%r{^\./log}) | |
end |
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
#original | |
def filter_slashslash(self, aLine): | |
[aLine, rest] = aLine.split('//', 1) | |
if rest: | |
aLine += '\n' | |
return aLine | |
#fixed | |
def filter_slashslash(self, aLine): | |
if (aLine.find('//') == -1): | |
return aLine |
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
# HG changeset patch | |
# Parent 635fcc11d2b16265114d6bbc02768d007f73d66b | |
# User Taro Matsuzawa <[email protected]> | |
diff --git a/config/Preprocessor.py b/config/Preprocessor.py | |
--- a/config/Preprocessor.py | |
+++ b/config/Preprocessor.py | |
@@ -377,16 +377,18 @@ class Preprocessor: | |
# Strips blank lines from the output. | |
def filter_emptyLines(self, aLine): |
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
# wget http://openssl.org/source/openssl-1.0.1c.tar.gz | |
# mkdir build config_temp tmp target | |
# SDKROOT=/Applications/Xcode4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk ARCHS=armv7 BUILD_DIR=/Users/btm/tmp/openssl/build CONFIGURATION_TEMP_DIR=/Users/btm/tmp/openssl/config_temp TARGET_BUILD_DIR=/Users/btm/tmp/openssl/target PROJECT_TEMP_DIR=/Users/btm/tmp/openssl/tmp sh build.sh | |
#set | grep ARCH | |
#set -x | |
## Determine the appropriate openssl source path to use | |
## Introduced by michaeltyson, adapted to account for OPENSSL_SRC build path | |
# locate src archive file if present |
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
[/Users/btm] % irb | |
>> require 'cgi' | |
=> true | |
>> CGI.escape("ネットアクション") | |
=> "%E3%83%8D%E3%83%83%E3%83%88%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3" | |
コンテンツ取得 | |
curl "http://localwiki.jp/api/page/?format=json&limit=0&page_tags__tags__slug__in=%E3%83%8D%E3%83%83%E3%83%88%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3" | |
地図取得 |
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
diff --git content/base/src/Makefile.in content/base/src/Makefile.in | |
index df6231c..2d076ca 100644 | |
--- content/base/src/Makefile.in | |
+++ content/base/src/Makefile.in | |
@@ -193,6 +193,7 @@ LOCAL_INCLUDES += \ | |
-I$(topsrcdir)/content/events/src \ | |
-I$(topsrcdir)/content/html/content/src \ | |
-I$(topsrcdir)/content/html/document/src \ | |
+ -I$(topsrcdir)/content/svg/content/src \ | |
-I$(topsrcdir)/content/xbl/src \ |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA4d8EuONtbrTMDWAXcVQ/Tr7ezOpnRNqo6D4hFSkyJDLHicITev0c7roR1/DWZ90gF1834tFAFggr9QlZ7ppEXzidSXfm1q7iS2UTKKQyoPNBNMKNfK+Jl+Nij0XTEfTNzNjGRxhtkAh9VU7d+rBO/9xfEoRxxgoGMQuX3G7Ym5LBP53rKan+51nFSWNwmqIV8Ktm5iK4AO77HKmMY20TGzeZ2LWepchqBKjGMFxKzuFKXd3zELv5cPhUOSIjMiGwe3kZzz4srvGrhaJhcHqTs8FTVqqpRR51D7OfMIL+N6NC3VR6XspMInHawk07NRoGpt5Eql3U43O2cKSQ3LxW/w== [email protected] | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDyiYjFoBjz17Cn/qE36bKTBgv9o2UmAcibCKPMSd8YCCTXaNmfgk6M2G3n6yNcSOekoftD5XT4ctoSBtnFTQOywpr1rbyPXk5mNmkT4r66uhxOQ79UE6laVbcxCeTqHcRtIhzO+1xbKil2RBI8FAiWaJ7th7gXvkzNb3e0WG1hw1c14BRiDt24ktxxQrZpbfrMMkU8kH4YWBynnEVhncpYn1NQX0wOUGeyU+xecy9yg4xn8uPekFYnEbqCAbrNs5LASOF/CvDQBAVMbfNJej3ZPSKaHoVCX+GvxaIBsaGMvYwv/8OPNU2cVcFZ5B79GBMOO/VPrVbuSiOnQ5KcGvxT [email protected] |
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
require "delegate" | |
require "optparse" | |
# Socail Logic | |
class Facebook | |
def self.post(title, user) | |
p "post to facebook, title: #{title}, user: #{user}" | |
end | |
end |
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
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>Lenovo</vendorname> | |
<vendorid>0x17ef</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>THINKPAD_KEYBOARD</productname> | |
<productid>0x6047</productid> |
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
for i in *.jpg; do; convert -resize '350x' -resize 'x350<' -gravity 'center' -crop '350x350+0+0' $i thum/$i; done |