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
*** maple/filter/Filter_RequestCheck.class.php 2013-05-21 10:23:01.765957813 +0900 | |
--- maple/filter/old_Filter_RequestCheck.class.php 2013-05-21 09:47:56.538958483 +0900 | |
*************** | |
*** 92,99 **** | |
} | |
} else if ($this->_request->getMethod() == "POST" && isset($_FILES) && (0 < count($_FILES))) { | |
//ファイルアップロード処理の場合、リファラチェック | |
! if ($this->_refcheck()) { | |
! return; | |
} |
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
apply plugin: 'eclipse' | |
apply plugin: 'groovy' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
groovy "org.codehaus.groovy:groovy-all:2.0.5" | |
testCompile 'org.apache.ivy:ivy:2.2.0-rc1' |
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 | |
cat >>Makefile.am <<EOF | |
#testと言うプログラムをビルド、インストールするためのサンプル | |
#ビルドしてインストールするプログラム名 | |
bin_PROGRAMS=test | |
#test_CFLAGSはtestをコンパイルする際のコンパイルオプション | |
#../configureなどルートディレクトリ以外で実行した時のインクルードディレクトリの指定 | |
test_CFLAGS=-g -I @srcdir@/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
<?xml version="1.0" encoding="UTF-8"?> | |
<project default="backup" basedir="."> | |
<property environment="env" /> | |
<target name="backup" > | |
<zip basedir="${env.HOME}" | |
destfile="/tmp/jenkins-backup.zip" excludes="war/**, workspace/*/**"> | |
</zip> | |
</target> | |
</project> |
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
function sendMailFromForm() { | |
Logger.log('sendMailFromForm() debug start'); | |
//------------------------------------------------------------ | |
// 設定エリアここから | |
//------------------------------------------------------------ | |
// 件名、本文、フッター | |
var subject = "[お問い合わせ]"; | |
var body |
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
<project name="sample_project" default="help"> | |
<property file="${basedir}/ant.properties" /> | |
<loadproperties srcFile="${basedir}/project.properties" /> | |
<!-- quick check on sdk.dir --> | |
<fail | |
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'" | |
unless="sdk.dir" | |
/> |