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
npm install npm@latest -g | |
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable |
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
const uniqueArray = things.thing.filter((thing,index) => { | |
return index === things.thing.findIndex(obj => { | |
return JSON.stringify(obj) === JSON.stringify(thing); | |
}); | |
}); |
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
reserved = { | |
'static': 'STATIC_KW', | |
'boolean': 'BOOLEAN_KW', | |
'character': 'CHARACTER_KW', | |
'integer': 'INTEGER_KW', | |
'char': 'CHAR_KW', | |
'bool': 'BOOL_KW', | |
'int': 'INT_KW', | |
'void': 'VOID_KW', | |
'if': 'IF_KW', |
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
'STATIC_KW', | |
'BOOLEAN_KW', | |
'CHARACTER_KW', | |
'INTEGER_KW', | |
'CHAR_KW', | |
'BOOL_KW', | |
'INT_KW', | |
'VOID_KW', | |
'IF_KW', | |
'OTHER_KW', |
NewerOlder