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
-- General -- | |
Switch between windows: ctrl + ' | |
Quit app: ctrl + q | |
Close all app's windows: ctrl + shift + w | |
Change focus between option on opened alert: tab | |
Select focused option on opened alert: space | |
See current applications: super | |
Switch to workspace below: ctrl + shift + page down | |
Switch to workspace above: ctrl + shift + page up | |
Change display setup: super + t |
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
function validatorDigit(CPF) { | |
const CPFCopy = [...CPF]; | |
const initialSumValue = 0; | |
const sum = CPFCopy.reverse().reduce((previousValue, currentValue, index) => { | |
const multiplicator = index + 2; | |
const currentSum = previousValue + currentValue * multiplicator; | |
return currentSum; | |
}, initialSumValue); | |
const digit = (sum * 10) % 11; |
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
-- General -- | |
Close app: cmd + Q | |
Toggle fullscreen: ctrl + cmd + f | |
Switch between apps: cmd + tab | |
Switch between windows: cmd + ` | |
App preferences: cmd + , | |
Toggle auto/fixed Dock: cmd + option + d | |
Change focus between option on opened alert: tab | |
Select focused option on opened alert: space | |
Previous tab: cmd + shift + { |