function observeNode(node) {
console.log(node);
}
var observer = new WebKitMutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
for (var i = 0; i < mutation.addedNodes.length; i++) {
observeNode(mutation.addedNodes[i]);
}
})
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
| response = (narou4py.requester() | |
| .word("百合") | |
| .response_params(NovelInfoParams.TITLE, | |
| NovelInfoParams.STORY, | |
| NovelInfoParams.NOVEL_UPDATED_AT) | |
| .request()) | |
| time_now = datetime.datetime.now() | |
| for info in response: |
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
| import ctypes | |
| from ctypes import c_char_p, c_wchar_p, c_int, c_wchar | |
| user32 = ctypes.windll.user32 | |
| def win32_func(native_func, res_type, arg_types): | |
| def decorator(decorate_func): # not use | |
| def func_wrapper(*args): | |
| native_func.restype = res_type |
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
| package com.getaji.josou; | |
| import net.orekyuu.javatter.api.plugin.OnPostInit; | |
| import net.orekyuu.javatter.api.service.TwitterUserService; | |
| import net.orekyuu.javatter.api.twitter.userstream.events.OnStatus; | |
| import javax.inject.Inject; | |
| public class JosouPluginCore { |
アイテム拾得範囲を広げる
同じ種類のアイテムを無限に入れられるストレージボックスを追加
一括伐採
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
| class Decorator: | |
| def __init__(self, func): | |
| self.func = func | |
| self.__decorator_class__ = type(self) | |
| def __call__(self, *args, **kwargs): | |
| return self.wrapper(*args, **kwargs) | |
| def wrapper(self, *args, **kwargs): | |
| return self.func(*args, **kwargs) |