Home
Jorge Levy
Cancel

Winget.- Quick Helper

Winget helper List pending updates winget upgrade Install all updates (adminitrator) sudo winget upgrade --all Search package winget search [package_name]

Jekyll.- Quick Helper

Jekyll helper Execute bundle exec jekyll s Build jekyll build Configure $ENV:JEKYLL_ENV = "production" $ENV:JEKYLL_ENV = $null Bundle clean bundle clean --force

JavaScript.- Quick Helper

JavaScript helper Fileter and order this.recordTypes = res.filter(x => x.isBusinessRecord && x.order !== null).sort((a, b) => a.order! - b.order!); Find a single result this.formul...

Power Shell.- OhMyPosh configuration

Configura Oh My Posh for PowerShell Oh My Posh Winget winget install JanDeDobbeleer.OhMyPosh --source winget Download CaskaydianMono Nerd Font https://ohmyposh.dev/docs/installation/fonts oh-my...

Node.js.- Common CLIs

List of common CLI and how to install using node.js I usually use Angular CLI https://angular.io/guide/setup-local npm install -g @angular/cli Azure Function Core Tools https://github.com/Azure/...

Node.js.- Update packages

Update to last version for a npm package npm update -g [package] List npm packges with version npm list -g --depth=0 List available versions for a npm packge npm view [package] versions List ...

Html/Css/Js.- Configure/Init projects

Html/Css/Js snippets Vanilla mkdir swa-vanilla cd swa-vanilla New-Item -Path . -Name "index.html" Html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"&gt...

C#.- Required Fields

How to use Required keyword for C# 11 Code using System.Diagnostics.CodeAnalysis; var book1 = new Book("Jean M Auel", "The Clan of the Cave Bear"); var book2 = new Book { Author = "Jean M A...

Azure Functions.- Http Trigger read query and post data

How to read query string in a get call and how to read body content on a post call for Http Triger Azure Functions Each escenary Read Query [Function("ReadQuery")] public async Task<HttpRespo...

Azure Functions.- Message Queue Messsage Properties

Message Properties on a Message Queue Azure Function [Function("Function1")] public void Run([ServiceBusTrigger("myqueue", Connection = "sbconnectionstring")] string myQueueItem, FunctionContext c...