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
| #Chame o script passando o nome da Solucao seguido do nome do projeto | |
| #Irá criar dentro de uma pasta com o mesmo nome da solução. | |
| mkdir %1 | |
| cd %1 | |
| dotnet new gitignore | |
| dotnet new sln -n %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
| #Chame o script passando o nome da Solucao seguido do nome do projeto | |
| #Irá criar dentro de uma pasta com o mesmo nome da solução. | |
| # Não esquecer de dar permissão de execução | |
| mkdir $1 | |
| cd $1 | |
| dotnet new gitignore |
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
| #!/bin/bash | |
| # Adicione um novo remote; pode chamá-lo de "upstream": | |
| git remote add upstream URL_GIT_PROJETO_ORIGINAL | |
| # Obtenha todos os branches deste novo remote: | |
| git fetch upstream | |
| # Certifique-se de que você está no branch main: |
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": "06fd5aef-bb36-47bd-9419-c9dfd1f291b0", | |
| "Name": "BANCO DE DADOS \u2013 PROJETO E IMPLEMENTA\u00c7\u00c3O", | |
| "Price": 72.69, | |
| "Quantity": 10, | |
| "Category": "Banco de Dados", | |
| "Image": "https://m.media-amazon.com/images/I/51E9+KPb9ML.jpg" | |
| }, | |
| { |
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
| [ | |
| { | |
| "customerId": "8505a811-6593-4438-9d7d-af8df6f92e97", | |
| "code": "1", | |
| "name": "Google LTDA", | |
| "commercialName": "Google", | |
| "status": "Active" | |
| }, | |
| { | |
| "customerId": "85d81fa2-33c7-40a4-97db-edac5843b1ef", |
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-Module -Name Terminal-Icons | |
| #Import-Module -Name Terminal-Icons | |
| #Functions | |
| #function projetos { set-location "D:\OneDrive\Projetos" } | |
| #Alias | |
| new-alias rename rename-item | |
| new-alias lsa get-childitem |
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
| [ | |
| { | |
| "category": "CNPJ", | |
| "items": [ | |
| { | |
| "title": "Simples Nacional", | |
| "url": "http://www8.receita.fazenda.gov.br/SimplesNacional/Servicos/Grupo.aspx?grp=t&area=1" | |
| }, | |
| { | |
| "title": "Emissão/Comprovante de inscrição", |
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
| param([switch]$Elevated) | |
| function Test-Admin { | |
| $currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
| $currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
| } | |
| if ((Test-Admin) -eq $false) { | |
| if ($elevated) | |
| { |