-
Download lastest Android platform tools
-
Unzip the folder to
platform-tools- Use ADB with
./platformtools/adb <COMMAND>
- Use ADB with
https://apple.stackexchange.com/questions/94330/how-can-i-convert-a-dmg-to-iso-on-mac-os-x-preferably-for-free
hdiutil makehybrid -iso -joliet -o [filename].iso [filename].dmg
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
| // e.g. console.save({hello: 'world'}) | |
| (function(console){ | |
| console.save = function(data, filename){ | |
| if(!data) { | |
| console.error('Console.save: No data') | |
| return; | |
| } | |
| if(!filename) filename = 'console.json' | |
| if(typeof data === "object"){ | |
| data = JSON.stringify(data, undefined, 4) |
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 dataUrItoBlob(dataUri) { | |
| var binary = atob(dataUri.split(',')[1]); | |
| var mimeString = dataUri.split(',')[0].split(':')[1].split(';')[0]; | |
| var array = []; | |
| for (var i = 0; i < binary.length; i++) { | |
| array.push(binary.charCodeAt(i)); | |
| } | |
| return new Blob([new Uint8Array(array)], { type: mimeString }); | |
| }; |