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
Reformat codeのダイアログが表示されるので、セレクトボックスは現在のファイルを、下のOnly VCS changed textにチェックを入れる。Do not show this dialog in the futureにもチェックを入れてしまおう。もしこのダイアログを再表示したくなったら、Preferences -> Editor -> Formatting -> Show "Reformat code" dialog にチェックを入れればOK |
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
def getFeed() { | |
// dbからリスト取得 | |
def tableData = Rsslist.list() | |
def feedList = [] | |
// urlからパース | |
for (column in tableData) { | |
def url = column.url | |
def root = new XmlSlurper().parse(url) | |
def nodes |
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
<key>VMOptions</key>↲ | |
<string>-ea -Dfile.encoding=UTF-8 -Dsun.io.useCanonCaches=false -Xverify:none -Xbootclasspath/a:../lib/boot.jar</string>↲ | |
<key>WorkingDirectory</key>↲ | |
<string>$APP_PACKAGE/bin</string>↲ |
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
<?php | |
// port number | |
$port = 8081; | |
// open the socket | |
$socket = socket_create_listen($port); | |
if ($socket === false) die("Error"); | |
while (true) { | |
// accept a request | |
$client = socket_accept($socket); | |
while (true) { |
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
$x("//tr[@name='tag'][child::td[.='hoge']]") | |
$x("//tr[@name='tag'][child::td[.='hoge']]/preceding-sibling::tr[@name='tag']") | |
$x("count(//tr[@name='tag'][child::td[.='hoge']]/preceding-sibling::tr[@name='tag'])") // countを取る | |
$x("//tr[child::td[text()='TestTag']]/preceding-sibling::tr[@name='tag']") // 前方のWebElementsを取る→findElementsでこいつのsize()とった方がいい? | |
これに1加算するのがいい感じっぽい |
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
var LINE = require('./line.js'); | |
var line = new LINE(); | |
var email = 'your email'; | |
var password = 'your password'; | |
line.login(email, password, function(error, result) { | |
if (error) { | |
return; | |
} |
NewerOlder