/**
* Timing Logger, Author: Yoshi Jaeger
* LICENSE: MIT
*/
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/sh | |
# Author: Yoshi Jaeger | |
# License: MIT | |
# | |
# Description: This script converts an svg file to all required sizes | |
# for iOS and Android. Two directories will be created next to | |
# the icon (ios/ and android/) in which the generated files will | |
# reside. Be careful and ensure these directories do not exist | |
# prior executing this script. | |
# |
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
/* Convert endianness of hex input */ | |
String.prototype.rev = function () { return this.match(/.{1,2}/g).reverse().join("") } | |
"ae5a2f6f11d841e3351b49341cda6e9e097324c23d5a866a2fa0cfc566a402ef".rev() == | |
"ef02a466c5cfa02f6a865a3dc22473099e6eda1c34491b35e341d8116f2f5aae" |