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
| [Unit] | |
| Description=set nvidia power limit | |
| [Service] | |
| Type=oneshot | |
| ExecStartPre=/usr/bin/nvidia-smi --persistence-mode=1 | |
| ExecStart=/usr/bin/nvidia-smi --power-limit=60 | |
| RemainAfterExit=yes | |
| [Install] |
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 | |
| // will be passed to dd as bs= | |
| $sizes = ['1K', '10K', '100K', '1M', '10M', '25M', '50M', '100M']; | |
| // http://de3.php.net/manual/en/function.hash-algos.php | |
| $algos = ['md5', 'sha256', 'sha512', 'ripemd320', 'whirlpool']; | |
| echo "After test, please remove all *.hashtest temporary files in this directory\n"; | |
| echo "Preparing temporary files...\n"; |
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
| do -> | |
| templateCache = {} | |
| Backbone.Marionette.Renderer.render = (template, data) -> | |
| if templateCache[template] | |
| tpl = templateCache[template] | |
| else | |
| source = $("script[data-template-name='#{template}']"); | |
| unless source.length > 0 |