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
{ | |
"meters":[ | |
{ | |
"power":1.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
/** | |
* Ties the lifetime of an instance to the lifetime of a set of activities. | |
* If all activities in the scope are destroyed, T will be stopped and recycled. | |
* | |
* This solves the problem that it is very hard to stop and recycle objects when no longer needed | |
* that need to survive activity navigation. | |
* | |
* An example is when you have a MainActivity, and a feature with Activities A, B, C and D. | |
* If you must have an session object hold by a Module that is instantiated in A and needed in B, C and D. | |
* Then it needs to be recycled whenever the user leaves the feature. |
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
#!/bin/bash | |
# emuparadise.me SNES roms start at id 32787 and ends with 36466, loop through the ids: | |
for i in {32787..36466} | |
do | |
# Define emuparadise rom ID to be downloaded | |
gameId=$i | |
# The url where to start |