Información extraída de HolisticsBlog
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
| Table users { | |
| user_id integer [pk, increment] | |
| username varchar [not null, unique] | |
| email varchar [not null, unique] | |
| password varchar [not null] | |
| name varchar [not null] | |
| role varchar [not null] | |
| gender varchar(10) [not null] |
En la definición del método, se puede marcar como obsoleto (deprecated) con la justificación. Esto ayudará a que otros developers sepán que deben de utilizar ya la alternativa.
@Deprecated('Most use speak2 method instead')
speak() {
console.log(`${ this.name }, ${ this.name }!`)
}
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
| <div id="invoice-POS"> | |
| <center id="top"> | |
| <div class="logo"></div> | |
| <div class="info"> | |
| <h2>SBISTechs Inc</h2> | |
| </div><!--End Info--> | |
| </center><!--End InvoiceTop--> | |
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
| function parseJwt (token) { | |
| var base64Url = token.split('.')[1]; | |
| var base64 = base64Url.replace('-', '+').replace('_', '/'); | |
| return JSON.parse(window.atob(base64)); | |
| }; |