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
ping localhost -n 10 > nul | |
start pathto/file.exe | |
exit |
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
Type GetPropertyType(SerializedProperty property) | |
{ | |
var paths = property.propertyPath.Split('.'); | |
var target = property.serializedObject.targetObject as object; | |
return paths.Aggregate(target, (t, path) => t.GetType().GetField(path).GetValue(t)).GetType(); | |
} |
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
using UnityEditor; | |
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
[InitializeOnLoad] | |
class MissingScriptChecker : Editor | |
{ |
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
if ( Input.GetKeyUp(KeyCode.S)) | |
{ | |
var filePath = Application.dataPath + "/screenshot/" + System.DateTime.Now.ToFileTime() + ".png"; | |
Application.CaptureScreenshot(filePath, screenShotScale); | |
} |
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
javascript: | |
f = (document.getElementById('accesskey_5') | |
|| (function(){ | |
var inputs = document.getElementsByTagName('input'); | |
for(var i=0;i<inputs.length;++i){ | |
if(inputs[i].accessKey==5 || /home|btn_main/.test(inputs[i].className)) return inputs[i]; | |
} | |
})() | |
).form; | |
cnt = 0; |
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
javascript: | |
var els = document.getElementsByTagName('a'); | |
as=[]; | |
for(var i=0;i<els.length && as.length<3;++i){ | |
var e = els[i]; | |
if ('進化素材にする'==e.text && 'shortcut_link_show'!=e.id) as.push(e); | |
} | |
(function(){ | |
var e = as.shift(); | |
if ( e ){ |
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
javascript: | |
$.each($('tr td:last-child').find('a'), function(){ | |
var a_tag = $(this); | |
$.get(a_tag.attr('href'), function(data){ | |
$.each($(data).find('tr td:first-child'), function(){ | |
var value = $(this).text().match(/防戦力:\d+/); | |
if ( value ){ | |
a_tag.parent().append(value[0]); | |
return false; | |
} |
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
javascript: | |
var posts = $.map($('input[value="報酬を受け取る"]').parents('form'), function(form){ | |
return $.post(form.action); | |
}); | |
$.when.apply(null,posts).done(function(){ location.reload();}); |
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
javascript: | |
function seq_func(){ | |
$.get(location.href, function(data){ | |
$.get($(data).find('#resque-pop-wrapper a').first().attr('href'), function(){ | |
location.reload(); | |
}); | |
}); | |
} | |
$.get($('#raid-menu a').first().attr('href'), seq_func); |
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 prog(url,html) | |
{ | |
var ajax = function(next_url, func){ | |
return next_url && func(next_url, function(data){ | |
prog(next_url, data); | |
}); | |
} | |
var get_func = function(next_url){ return ajax(next_url, $.get)}; | |
var post_func = function(next_url){ return ajax(next_url, $.post)}; | |
var link = function(btn_sel) |
OlderNewer