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
sdfsdffd |
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 name = $("#form_title").val().replace("の評価と採用デッキ", "") | |
var rarity = $(".sv_text_info tr:nth-child(3) a").text().replace("(一覧)", "") | |
var clazz = $(".sv_text_info tr:nth-child(4) a").text().replace("(一覧)", "") | |
var kind = $(".sv_text_info tr:nth-child(5) td").text() | |
var stat = $(".sv_status h3:nth-child(1) div").text().split(" ") | |
var cost = stat[0] | |
var atk = "" | |
var def = "" | |
if (stat.length > 1) { | |
atk = stat[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
// ツイートにマウスオーバーしてプロフィールを表示させる | |
function focusTweet() { | |
$tweet = this; | |
return new Promise(function(resolve, reject) { | |
$avatar = $tweet.find("img.avatar"); | |
$avatar.mouseover(); | |
resolve($tweet); | |
}); | |
} |
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
/** | |
* フォロバックしてないフォロワーを外す | |
*/ | |
function wait() { | |
return new Promise(function(resolve) { | |
setTimeout(function() { | |
resolve(); | |
}, 1000); |
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 musics = $(".cl_music_data"); | |
musics.each(function() { | |
var music = $(this); | |
var seq = music.find('.cl_music_data_seq').text(); | |
var title = music.find('.cl_music_data_title').text(); | |
if (!title) return; | |
var level = getScore(seq, "level"); |
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
// Your Access Key ID, as taken from the Your Account page | |
var access_key_id = ""; // TODO 埋める | |
// Your Secret Key corresponding to the above ID, as taken from the Your Account page | |
var secret_key = ""; // TODO 埋める | |
// The region you are interested in | |
var endpoint = "webservices.amazon.co.jp"; | |
var uri = "/onca/xml"; |
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
/** | |
* 検索結果(ツイート一覧)のツイートすべてにいいねする | |
*/ | |
function wait() { | |
return new Promise(function(resolve) { | |
setTimeout(function() { | |
resolve(); | |
}, 1000); | |
}); |
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
public function buildTestCases($variations) { | |
$iterate = function($variations, $depth = 0, $indexies = []) use (&$iterate) { | |
$keys = array_keys($variations); | |
if ($depth >= count($keys)) { | |
yield $indexies; | |
} else { | |
$key = $keys[$depth]; | |
for ($i = 0; $i < count($variations[$key]); $i++) { | |
$val = $variations[$key][$i]; |
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
function myFunction() { | |
var issues = []; | |
var offset = 0; | |
do { | |
var fetchedIssues = fetchIssues(offset); | |
Array.prototype.push.apply(issues, fetchedIssues); | |
offset += 100; | |
} while (fetchedIssues.length == 100); | |
writeHeader(); |
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 | |
namespace App\Xxx; | |
use Illuminate\Database\Eloquent\Builder; | |
use Illuminate\Database\Eloquent\Collection; | |
use Illuminate\Database\Eloquent\Relations\HasOne; | |
/** | |
* Class HasOneCustomResolver |
OlderNewer