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
| Public Sub SheetsToJSON() | |
| Dim fso As Object | |
| Set fso = CreateObject("Scripting.FileSystemObject") | |
| jsonFilename = fso.GetBaseName(ActiveWorkbook.Name) & ".json" 'Aqui será salvo o nome do arquivo JSON baseado na sua tabela ativa do Excel' | |
| fullFilePath = Application.ActiveWorkbook.Path & "\" & jsonFilename 'Aqui definirá o caminho que será salvo o arquivo JSON gerado' | |
| Dim fileStream As Object | |
| Set fileStream = CreateObject("ADODB.Stream") | |
| fileStream.Type = 2 | |
| fileStream.Charset = "utf-8" 'Define o formato do charset que será exportado o arquivo' |
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
| // IMPORT ALL MATERIAL COMPONENTS | |
| // #STEPS | |
| // 1- Import this file as module in app.module.ts ==> import { MaterialModule } from './xyz/abc'; | |
| // 2- Initialize it in imports:[] array ==> imports:[MaterialModule] | |
| import { NgModule } from '@angular/core'; | |
| // *************** FORM CONTROLS *************** | |
| import {MatAutocompleteModule} from '@angular/material/autocomplete'; | |
| import {MatCheckboxModule} from '@angular/material/checkbox'; | |
| import {MatDatepickerModule} from '@angular/material/datepicker'; |
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
| #!/usr/bin/lua5.1 | |
| --- Async/Await for Lua 5.1 | |
| -- This script implements async/await functions for Lua, allowing tasks to | |
| -- be queued and scheduled independently. | |
| -- | |
| -- This is just an example and has a bunch of issues, isn't tested, isn't | |
| -- even actually used anywhere; I basically just got bored and had one of | |
| -- those "what if?" type ideas 6 hours ago. | |
| local co_create = coroutine.create |
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
| <h1 align="center"> | |
| <br> | |
| <img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120"> | |
| <br> | |
| <br> | |
| YOUR_PROJECT_NAME | |
| </h1> | |
| <p align="center">A little description about your project</p> |
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
| <h1 align="center"> | |
| <br> | |
| <img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120"> | |
| <br> | |
| <br> | |
| YOUR_PROJECT_NAME | |
| </h1> | |
| <p align="center">A little description about your project</p> |