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
<activity android:name="com.google.ads.AdActivity" | |
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-sdk android:minSdkVersion="4" /> //動かすAndroidバージョン |
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
// reference http://www.geocities.jp/tomtomf/JScience/JScience.htm | |
// | |
@GrabResolver (name='jcurl-repository', root='http://jcurl.berlios.de/m2/repo/') | |
@Grab(group = 'org.jscience', module='jscience', version='4.3.1') | |
import org.jscience.mathematics.number.Complex | |
import org.jscience.mathematics.vector.ComplexMatrix | |
//計算結果の出力様関数 | |
def show(cm) { |
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
// | |
// http://www.ibm.com/developerworks/jp/java/library/j-jodatime.html | |
// http://program.g.hatena.ne.jp/halflite/20101120/seventeen | |
// http://d.hatena.ne.jp/ikeike443/20100406/1270572212 | |
// | |
@Grab(group='joda-time', module='joda-time', version='1.6.2') | |
import org.joda.time.DateTime |
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
// g100pon #52 XMLDB(existが一番簡単かな?)の操作 | |
// 検索編 | |
// | |
// 動作させるためには、下記のサーバ設定が必要です | |
// http://github.com/kimukou/g100pon/blob/master/note_xmltest.txt | |
import java.text.* | |
import java.util.* | |
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
import android.content.Context; | |
import android.net.ConnectivityManager; | |
import android.net.NetworkInfo; | |
import android.os.Build; | |
import android.telephony.PhoneStateListener; | |
import android.telephony.TelephonyManager; | |
import permissions.dispatcher.PermissionUtils; | |
/* |
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
//see http://www.moriwaki.net/wiki/index.php?[[PDFBox]] | |
//see pdfbox-1.4.0/pdfbox/src/main/java/org/apache/pdfbox/examples | |
@Grab(group='org.apache.pdfbox', module='pdfbox', version='1.3.1') | |
import org.apache.pdfbox.pdfwriter.* | |
import org.apache.pdfbox.pdmodel.* | |
import org.apache.pdfbox.pdmodel.font.* | |
import org.apache.pdfbox.pdmodel.edit.* | |
String writeFile = "d:/xxx.pdf" |
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
// | |
// ref https://gist.github.com/1899391 | |
import java.io.* | |
import java.net.* | |
import groovy.transform.Field | |
//see @Field's Explanation http://d.hatena.ne.jp/uehaj/20110703/1309685397 |
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
// TestNG RunningTest | |
// see http://groovy.codehaus.org/Using+TestNG+with+Groovy | |
// http://groovy.codehaus.org/Using+Testing+Frameworks+with+Groovy#UsingTestingFrameworkswithGroovy-AnItemStorerExample | |
// http://d.hatena.ne.jp/irof/20111220/p1 | |
// | |
// assert | |
// http://d.hatena.ne.jp/uehaj/20100606/1275826776 | |
// http://d.hatena.ne.jp/nobeans/20100317/1268787645 | |
// http://groovy-almanac.org/catch-assertion-exceptions-in-groovy/ | |
// |
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
// HighlighterDemo Test | |
// | |
// refarence http://itpro.nikkeibp.co.jp/article/COLUMN/20110329/358840/?ST=develop&P=3 | |
// http://griffon.codehaus.org/SwingxBuilder | |
// | |
@Grab(group='org.swinglabs', module='swingx', version='1.6.1') | |
@Grab(group='org.codehaus.griffon', module='swingxbuilder', version='0.1.7') | |
import java.awt.Color; |
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
//=============ココらへん記述でコマンドラインは通る ========== | |
buildscript { | |
repositories { | |
jcenter() | |
maven { url 'https://maven.fabric.io/public' } | |
maven { url "https://plugins.gradle.org/m2/" } | |
//google() //support gradle runtime 4.0 upper | |
maven { url 'https://maven.google.com' } | |
} | |
dependencies { |
NewerOlder