Released svelte-lexical 0.3.1: Upload images

Released svelte-lexical 0.3.1: Upload images

It is a minor release including few bug fixes and minor enhancements. We have to ability to upload images now, earlier images could only be added using a URL. Another enhancement is the ability to use collaboration in nested editors like image caption. Here is a demo: Change Log:

Released svelte-lexical 0.3.0: Code blocks and link editor

Released svelte-lexical 0.3.0: Code blocks and link editor

svelte-lexical version 0.3.0 is out with a lot of new features and bug fixes. Now, we can insert code blocks. They support keyword and syntax highlighting in 14 different languages. Also, there is support for code formatting using Prettier for HTML, JavaScript, CSS and markdown. Another focus area for enhancements in this release is hyperlinks.…

Read More Read More

Customise terminal prompt on Mac OS using Starship

Customise terminal prompt on Mac OS using Starship

Starship works across shells, so the customised prompt will apply across applications like Warp, Visual Studio Code and builtin Terminal app. 1. Install Fira Code Nerd Font code Fira Code Nerd Font enables us to show symbols in the prompt. It is also highly recommended for programming. Download link: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/FiraCode.zip 2. Change the font to…

Read More Read More

Type transformations in TypeScript: Removing functions from a type

Type transformations in TypeScript: Removing functions from a type

TypeScript is often quoted as one of the most loved programming languages (StackOverflow, 2022). I guess, what contributes to it is the ease with which TypeScript can be introduced in a JavaScript project and the benefits it bring like static type checking, null safety, better refactoring and IntelliSence support. Another aspect of TypeScript which I…

Read More Read More

Unit testing in Svelte

Unit testing in Svelte

We are going to set up unit testing in Svelte using Testing Library and Jest. The working version of the project is available here. You can use it as a starter template for your project. 1 – Let’s start with the standard svelte template to create a new project. You need to have Nodejs, npm,…

Read More Read More

Developed a Rich-text Editor for Svelte (svelte-lexical)

Developed a Rich-text Editor for Svelte (svelte-lexical)

Developed a rich-text editor for svelte called svelte-lexical. It is based on Lexical, an open source framework for creating rich-text editors developed by Facebook. Here is the GitHub repo: https://github.com/umaranis/svelte-lexical Technical details

Maximo Anywhere: Monitor Network Traffic using Fiddler

Maximo Anywhere: Monitor Network Traffic using Fiddler

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Maximo Anywhere: Monitor Network Traffic using mitmproxy

Maximo Anywhere: Monitor Network Traffic using mitmproxy

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Dart Code Coverage with Github Actions and CodeCov

Dart Code Coverage with Github Actions and CodeCov

Unit tests and Code Coverage not only improves the code quality but also provides agility in developing new features with confidence. How to set it up for a Dart repository hosted on GitHub? We will be using the following two packages for writing/running unit tests and collecting code coverage data. Package Description test Provides a…

Read More Read More

Programming in Rust

Programming in Rust

Rust has a unique place among programming languages. Apart from being the most loved programming language as often cited in popular surveys, Rust has a distinctive set of features. It is first and foremost a systems programming language. As one would expect, it is statically typed. In this regard, it is different from dynamic scripting…

Read More Read More