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
| New-ItemProperty ` | |
| -Path 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -PropertyType Binary ` | |
| -Value 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x00, 0x00 | |
| Restart-Computer |
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
| ; Процедура принимает в R0 число-маску с единицами слева, | |
| ; до которых будет обрезан вывод | |
| ; Например #7 - 111 - будет выдавать числа от 0 до 7 | |
| ; #377 - 11111111 - будет выдавать числа от 0 до 255 | |
| ; Возвращает в R0 число в заданном диапазоне | |
| ; Схема генерации: | |
| ; x ^= x << 7; | |
| ; x ^= x >> 9; | |
| ; x ^= x << 8; | |
| GENRNDVALUE: |
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
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # This skeleton also assumes you're using the following gems: | |
| # | |
| # rspec-rails: https://github.com/rspec/rspec-rails |