Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ################################################################# | |
| ## Iro | |
| ################################################################ | |
| ## | |
| ## * Press Ctrl + '+'/'-' To Zoom in | |
| ## * Press Ctrl + S to save and recalculate... | |
| ## * Documents are saved to web storage. | |
| ## * Only one save slot supported. | |
| ## * Matches cannot span lines. | |
| ## * Unicode chars must be defined in \u0000 to \uffff format. |
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
| <!DOCTYPE html><html><head><title>COLOR COMPLIMENT</title></head><body><script type="text/javascript"> | |
| function hexToRgb(hex) { | |
| var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex) | |
| return (result ? { | |
| r: parseInt(result[1], 16), | |
| g: parseInt(result[2], 16), | |
| b: parseInt(result[3], 16) | |
| } : null) |
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
| <?php | |
| require(__DIR__ . '/../vendor/autoload.php'); | |
| require "../app/Mage.php"; | |
| umask(0); | |
| Mage::app(); | |
| header("Content-type: text/plain"); | |
| if (php_sapi_name() != 'cli') { | |
| throw new Exception('This application must be run on the command line.'); | |
| } |
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
| <?php | |
| require(__DIR__ . '/../vendor/autoload.php'); | |
| require "../app/Mage.php"; | |
| umask(0); | |
| Mage::app(); | |
| header("Content-type: text/plain"); | |
| if (php_sapi_name() != 'cli') { | |
| throw new Exception('This application must be run on the command line.'); | |
| } |
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
| // https://stackoverflow.com/questions/15464896/get-cpu-gpu-memory-information/42143572#42143572 | |
| // https://stackoverflow.com/users/6179827/aaron-becker | |
| var _speedconstant = 8.9997e-9; //if speed=(c*a)/t, then constant=(s*t)/a and time=(a*c)/s | |
| var d = new Date(); | |
| var amount = 150000000; | |
| var estprocessor = 1.7; //average processor speed, in GHZ | |
| console.log("JSBenchmark by Aaron Becker, running loop "+amount+" times. Estimated time (for "+estprocessor+"ghz processor) is "+(Math.round(((_speedconstant*amount)/estprocessor)*100)/100)+"s"); | |
| for (var i = amount; i>0; i--) {} | |
| var newd = new Date(); |
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
| RAlt::^c | |
| RCtrl::^v |
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
| login url | |
| <?php echo Mage::getUrl('customer/account/login'); ?> | |
| logout url | |
| <?php echo Mage::getUrl('customer/account/logout'); ?> | |
| My Account url | |
| <?php echo Mage::getUrl('customer/account'); ?> | |
| Register url |