Image
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
同時取得 Audio 與 Video 的權限 |
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
package tw.epubcoverter | |
import java.util.zip.ZipFile | |
import java.io.FileInputStream | |
import java.io.FileOutputStream | |
import scala.collection.JavaConversions._ | |
import java.io.InputStream | |
import java.io.OutputStream | |
import java.io.File | |
import java.util.zip.ZipEntry |
This is for pet
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
:: Elvui | |
instawow install https://www.tukui.org/download.php?ui=elvui | |
:: DBM | |
instawow install https://www.curseforge.com/wow/addons/deadly-boss-mods | |
:: Raider.IO | |
instawow install https://www.curseforge.com/wow/addons/raiderio | |
:: Weakauras | |
instawow install https://www.curseforge.com/wow/addons/weakauras-2 | |
:: Simulationcraft | |
instawow install https://www.curseforge.com/wow/addons/simulationcraft |
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
import java.util.zip.ZipFile | |
import java.io.FileInputStream | |
import java.io.FileOutputStream | |
import scala.collection.JavaConversions._ | |
import java.util.zip.ZipEntry | |
import java.io.InputStream | |
import java.io.OutputStream | |
import java.io.File | |
class ZipArchive { |
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
dSg0SaqEQs7NsgWQsvTiLukJOivAfvQqZyQuAjturtzQiBzvPYywsrMtrQQrjrvDkjQYSwskAwkjULcQDjrfwxLkyElPsddfDmPQLPqUUKEMcvhuvHMMiAplPcxtIYffH2MujBubPVPQOPtACejUCrkNtI0KxsvT5PcJEvb9rLuQEqLQ0twsQYpPkUNQsvmuvLY(usrDvvL8QLuLluPISSLKkDGLuOfsepKiPjQG4efPkVOsv4gljfgPssojLkvRuQuDLkvkZuvbUPcLDQu3Piv8NkvrhAQuSukv1trMkfNAjPKTQKuXTgb2lCSLus)vv11Qur9TLuIZvPs8Ukvs3BjfmyQQdlLflr8yvzYs4YcBwj(mrnAu40ewTssPETQsvA2QCBuA3I63uz4I0rwsQQLRONJQpprLo9urTDf47ukJxe0Uwsfn6HbudgOG4GgvogvogvoscIfubOcyavi4R218tfdcqT7andzHlB8MgGKNUAkO2tfdcZuilhZXCfb2d3ZeKOauNtqNKw3(DG4XT8nNiRGK4Xy8m2hK4qnGYvwZuilhto29GoxRagqA7IScdi26PcyGcfuHyzr8QN6fgqS1tfWafkOP7cyaXwpvaduOGExJZHbexKLVa0qsCmp7v912KO9HckDqQ2UiRWaITEQagOqbT0EQWLHbeB9ubmqHcQYJ)314Cq6SgGMTxadi26PcyGcfkOiHPTCruajqb9Gb7Eya51ZYcpuSh(tMGApvmimtHSCmhZveyZeKofYYXegqQ30aexBALdQMJbrwb1QQduLh)CgoBEYqcOyqKvqF8Pcx2Y)lERKlanJ2rPXD7gBaQd7TB6Cc606BxShsRCUAcQYJFEAC3UXgqciodNnpzqCgoBEYs15UcNTmOxLRo2FgIIaKkyJcq804UDJnWUVRrJsoouqmcHmdf7KmbDUwbmG02fzfgqS1tfWafkO314CyaXfz5lanKehZZEvFTnjAFOGQ84NNgpibu6GuTDrwHbeB9ubmqHcQYJ)314Ci |
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
import inspect | |
import os | |
# http://stackoverflow.com/questions/3589311/get-defining-class-of-unbound-method-object-in-python-3/25959545#25959545 | |
def get_class_that_defined_method(meth): | |
if inspect.ismethod(meth): | |
for cls in inspect.getmro(meth.__self__.__class__): | |
if cls.__dict__.get(meth.__name__) is meth: | |
return cls | |
meth = meth.__func__ # fallback to __qualname__ parsing |
NewerOlder