A Pen by João Bosco Dos Reis Becker on CodePen.
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
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Listen for Xdebug", | |
| "type": "php", | |
| "request": "launch", |
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
| Obtendo valor Integer(CbCidade.Items.Objects[CbCidade.ItemIndex]).ToString;; | |
| Adicionando valor CbMes.Items.AddObject('Janeiro',TObject(Integer(1))); |
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
| #Realizar o migrations | |
| dotnet ef migrartions add inicial | |
| #Atulizar a base de dados | |
| dotnet ef database update |
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
| <button> | |
| <div> | |
| A beautiful button | |
| </div> | |
| </button> |
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
| [ | |
| {"id": 1, "nome": "Produto 1", "preco": 19.99, "quantidade": 50}, | |
| {"id": 2, "nome": "Produto 2", "preco": 29.99, "quantidade": 30}, | |
| {"id": 3, "nome": "Produto 3", "preco": 14.99, "quantidade": 75}, | |
| // ... (repetir até 10.000 objetos, mantendo o mesmo padrão) | |
| {"id": 9998, "nome": "Produto 9998", "preco": 39.99, "quantidade": 10}, | |
| {"id": 9998, "nome": "Produto 9998", "preco": 39.99, "quantidade": 10}, | |
| {"id": 9998, "nome": "Produto 9998", "preco": 39.99, "quantidade": 10}, | |
| {"id": 9998, "nome": "Produto 9998", "preco": 39.99, "quantidade": 10}, | |
| {"id": 9998, "nome": "Produto 9998", "preco": 39.99, "quantidade": 10}, |
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
| AsyncMethod; | |
| begin | |
| TTask.Run( | |
| procedure | |
| begin | |
| // Código assíncrono aqui | |
| Sleep(5000); // Exemplo de operação assíncrona simulada | |
| // Atualizar a interface do usuário, se necessário | |
| TThread.Queue(nil, |
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
| { | |
| "pessoa":{ | |
| "nome":"João Bosco", | |
| "Estado":"Parana", | |
| "cidade":"Curitiba", | |
| "pais":"Brasil" | |
| } | |
| } |
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 GetDosOutput(CommandLine, Work: string): string; | |
| var SA: TSecurityAttributes; | |
| SI: TStartupInfo; | |
| PI: TProcessInformation; | |
| StdOutPipeRead, StdOutPipeWrite: THandle; | |
| WasOK: Boolean; | |
| Buffer: array[0..255] of AnsiChar; | |
| BytesRead: Cardinal; | |
| WorkDir: string; | |
| Handle: Boolean; |
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
| Código nosso que estás em C | |
| Santificado seja vós, console | |
| Venha a nós o vosso array[10] | |
| E seja feita, sim, | |
| {vossa chave} | |
| Assim no if{ | |
| } | |
| Como no else{ | |
| } | |
| O for (nosso; de cada dia; nos dai hoje++) |
NewerOlder