This post deals with the configuration of a theme for the prompt command line of PowerShell and WSL (Ubuntu) in Windows Terminal with posh-git, oh-my-posh and powerline
Windows Terminal is the new terminal application for command line users provided (free) by Microsoft. This includes the most requested features by users of Windows command line tools, such as tabs, rich text, globalization, advanced configuration capabilities, interface themes and styles, and more. This tutorial details the installation and the configuration of the Windows Terminal. All examples are accompanied by the corresponding source files to be downloaded from this site.
How to solve a failure of NuGet restores "Package Download Failure," "Cannot Resolve Assembly," "New Attempt to 'FindPackagesByIdAsync" (impossible to access a deleted object) from Visual Studio 2019 package manager
To kill a process in a Windows script environment, PowerShell is the perfect tool. Just make a PowerShell script file: script file: kill_process.ps1 This script kills the process named MyProcess if it exists. The error action prevents the script from outputting information if an error occurs, for example if the process does not exist. [shell … Continue reading Killing a process with a PowerShell script
1. What is ANTLR? ANTLR4 is a lexer / parser generator. A parser takes a text input, and according to a grammar, extracts the recognized lexicons terms (action of the lexer), and produce an AST: Abstract Syntax Tree (action of the parser). We can have parsers without grammars (the PEG: Parsing Expression Grammar, which are … Continue reading First steps with ANTLR4 in C #
The official Google Translate API is available to businesses by paying a license fee ... But it is possible to call the secret API translate.googleapis.com which is used internally by the extension for Google Translate Chrome! On his website Digital Inspiration, the famous Amit Agarwal (historically the 1st Indian blogger) informs us of this possibility … Continue reading Use Google Translate for free on the command line
The CSV Comma Separated Values) files are text files that describe a table. Columns are identified on a line of text by a particular character. For CSV it is normally a comma (comma). The common separators are: comma (,) semicolum (;) tabulation (\t) space ( ) We often use Excel to open the CSV, and … Continue reading Transform the separators of a CSV file