Articles containing useful examples

Import JSON file in TypeScript

In this example, I will show you a simple way to import JSON files in TypeScript code. It requires just two simple steps. The first is to change the tsconfig.json file by adding the line: , "resolveJsonModule": true in "compilerOptions" section. { "compilerOptions": { ... , "resolveJsonModule": true ... } ... } After that, you have

2022-09-13T21:14:21+03:00By |Categories: How To|0 Comments

Install Django and Verify It

Django is a Python framework used to create websites. Installation is easy. The recommended way is to use pip. python -m pip install Django This will install Django and you will see something like this: Django instalation using pip After the installation is complete you can verify it using this code: import django print(django.get_version()) If

2020-11-15T21:15:44+02:00By |Categories: How To|0 Comments

KiCad – Create Template

KiCad templates are used to create projects with common settings. Templates can contain everything you need for a new project, for example, table and graphic formating, board outlines, schematic elements, etc. You can create a KiCad template with the following easy steps: Create a project with the settings you needAdd a folder named meta in

2020-07-26T19:33:56+03:00By |Categories: How To|1 Comment

KiCad – Annotate Schematic Elements

When you create a schematic, you need to annotate it. If you have a few elements, it is easy to do it manually. For larger schematics, it is better to use automatic annotation. KiCad provides this capability using an easy to use interface. Tools menu Select the "Tools" menuClick "Annotate Schematic..."When the window is opened

2020-06-21T16:28:59+03:00By |Categories: How To|0 Comments

Prusa i3 MK3S Filament Sensor rev. 0.4 and FW 3.9.0

In the latest firmware release (at the time of writing this article) Prusa Research added a feature for filament sensor recognition (available for i3 MK3S only). Essentially the printer can tell when then filament sensor is disconnected and can interrupt the print and wait for user action. More details can be found in their GitHub

2020-05-31T12:47:21+03:00By |Categories: How To, Embedded Systems|Tags: |0 Comments

Prusa i3 MK3/MK3S Backlight Control in FW 3.9.0

Prusa has introduced a new firmware version for their line of 3D printers. One of the cool new features is the capability to control the display's backlight intensity from the settings menu. There is a big chance that this option will not work if your 3D printer was produced early 2019 or before. The reason is

2020-05-26T17:55:12+03:00By |Categories: How To, Embedded Systems|Tags: |0 Comments

Rust error[E0554]

This Rust error (E0554) is simple and it occurs when we try to install/build projects with a stable version of Rust. The first step is to run the following command: rustup install nightly After that, you can run your cargo command. For example: cargo +nightly build If your encounter the error when you install a

2020-04-05T23:55:20+03:00By |Categories: How To|0 Comments

Node.js Config Files

Sometimes we need to create and use configuration files. One of the ways to create and use configurations is by using a config module. The first step is to install it using the following command: npm install config When we do this we have to create a directory with a name "config"(directory name/path can be

2020-03-29T15:39:40+03:00By |Categories: How To|0 Comments

Installing Laravel with Composer

The first thing required for installing Laravel with Composer is to have Composer installed on your machine. After that, you have to download the installation package for Laravel in Composer. You can do this using the following command: composer global require laravel/installer If the command is completed successfully you will see an output similar to

2020-02-02T20:49:07+02:00By |Categories: How To|0 Comments

Install TypeScript and Hello World Example

In this article, I will show you my first experience with TypeScript. I will follow instructions from the TypeScript website tutorials to create a "Hello World" example. What TypeScript is and reasons to use it can be found here. The first step is to install TypeScript using the command: npm install -g typescript After the

2019-12-08T17:21:41+02:00By |Categories: How To|0 Comments
Go to Top