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 os | |
| import time | |
| from faster_whisper import BatchedInferencePipeline, WhisperModel | |
| MODELO = "large-v3-turbo" # ou "large-v3-turbo" para ficar bem mais rápido | |
| DEVICE = "cpu" # "cuda" se tiver GPU NVIDIA no WSL | |
| COMPUTE_TYPE = "int8" # "float16" na GPU | |
| USAR_BATCH = True # True usa BatchedInferencePipeline (mais rápido, mais memória) | |
| BATCH_SIZE = 8 |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "version": 2, | |
| "final_space": true, | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "segments": [ | |
| { |
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
| { | |
| "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
| "blocks": [ | |
| { | |
| "alignment": "left", | |
| "segments": [ | |
| { | |
| "foreground": "#111111", | |
| "background": "#15C2CB", | |
| "options": { |
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
| $userPath = $env:USERPROFILE | |
| $pathExclusions = New-Object System.Collections.ArrayList | |
| $processExclusions = New-Object System.Collections.ArrayList | |
| $pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
| $pathExclusions.Add('C:\Windows\assembly') > $null | |
| $pathExclusions.Add($userPath + '\Downloads\HeidiSQL_11.3_64_Portable') > $null | |
| $pathExclusions.Add($userPath + '\.dotnet') > $null |
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
| $userPath = $env:USERPROFILE | |
| $pathExclusions = New-Object System.Collections.ArrayList | |
| $processExclusions = New-Object System.Collections.ArrayList | |
| $pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
| $pathExclusions.Add('C:\Windows\assembly') > $null | |
| $pathExclusions.Add($userPath + '\Downloads\HeidiSQL_11.3_64_Portable') > $null | |
| $pathExclusions.Add($userPath + '\.dotnet') > $null |
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
| /********************************************************************************************************************************** | |
| Enumerados | |
| **********************************************************************************************************************************/ | |
| //Preenchimento obrigatório, com valor menor que dez e valor default | |
| [Column(TypeName = "tinyint(2) default 1")] | |
| public Pessoa Pessoa { get; set; } = Pessoa.Juridica; | |
| //Sem preenchimento obrigatório, com valor menor que dez | |
| [Column(TypeName = "tinyint(2)")] |
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
| What you could try in Chrome is this: Open the developer-tools goto tab Application and in the left pane choose Clear storage. | |
| Under the diagram on the right click Clear site data even if the usage shows 0 Bytes used. Do it anyway. |
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
| Just create a folder on your desktop called Pics, open PowerShell and paste the following command press Enter: | |
| Get-ChildItem -Path $env:localappdata\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets | Copy-Item -dest {"$home\desktop\pics\" + $_.BaseName + ($i++) +".jpg" } | |
| All the images from the LocalState/Assets folder should be there in Pics folders. You’ll need to delete out the useless files, but | |
| otherwise it saves you a lot of time. Enjoy! |
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
| $userPath = $env:USERPROFILE | |
| $pathExclusions = New-Object System.Collections.ArrayList | |
| $processExclusions = New-Object System.Collections.ArrayList | |
| $pathExclusions.Add('C:\source\repos') > $null | |
| $pathExclusions.Add('C:\Windows\Microsoft.NET') > $null | |
| $pathExclusions.Add('C:\Windows\assembly') > $null | |
| $pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null | |
| $pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio Services') > $null | |
| $pathExclusions.Add($userPath + '\AppData\Local\GitCredentialManager') > $null |
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
| "editor.tokenColorCustomizations": { | |
| "[Visual Studio Dark]": { | |
| "comments": "#444444", | |
| "functions": "#AAAAAA", | |
| "keywords": "#00AAAA", | |
| // "numbers": "#009999", | |
| "strings": "#BF7766", | |
| "types": "#AAAAAA", | |
| "variables": "#AAAAAA", | |
| "textMateRules": [ |
NewerOlder