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
| "use strict"; | |
| const fs = require("fs"); | |
| const url = require("url"); | |
| const request = require("request"); // dependency | |
| const throat = require("throat"); // dependency | |
| const list = fs.readFileSync("list.txt"); | |
| Promise.all(list.map(throat(5, uri => dl(uri).then(() => { |
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
| (function (e, c) | |
| { | |
| var b = e.getElementsByTagName("head")[0]; | |
| var a = e.createElement("script"); | |
| a.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1.8.22/jquery.min.js"); | |
| a.addEventListener("load", function () | |
| { | |
| var d = e.createElement("script"); | |
| d.textContent = "jQuery.noConflict();(" + c.toString() + ")(jQuery);"; | |
| b.appendChild(d) |
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 hoge; | |
| import android.content.Context; | |
| import android.content.SharedPreferences; | |
| import android.content.res.Resources; | |
| import android.preference.PreferenceManager; | |
| import hoge.R; | |
| import java.lang.reflect.ParameterizedType; |