Tag: node
When starting with TensorFlow library bindings for NodeJS, for instance by
installing: ``bash
npm i @tensorflow/tfjs-node
` And then importing it inside a node module: `javascript
import * as tf from "@tensorflow/tfjs-node"
` The following error can be seen: `
This TensorFlow bin... This topic is drives me for some time. Cross-compiling is actually a
misnomer. Or and ambiguous term. Whatever. Basically, cross-compiling means
at least two different things in different peoples minds. The first group think of cross-compiling as a process, after which an
executa... It is possible to set the global npm config via the global switch ``bash
short version
npm config set init-version "0.0.1" -g long version
npm config set init-version "0.0.1" --global
` The location of the global npm config in nvm is tied to node version,
rendering it unsuitable... Here's how I use Cypress to assert that the user interface I am building
displays datetime information sorted chronologically. Consider the list of
dates served at the port 3000 that looks like this: ``html 14.12.1999
12.03.1975
28.02.2001
20.08.2010
05.07.2018 ` I live... After my previous attempt to get
published date and the edited date of the post that lives entirely in the
git somehow reached the dead end because I could not reliably find out how
to handle renames, I have finally found a working way.
Start by preparing a file with a git histor... There is a more updated method I use now descried in the
part 2. Here's way I use to prevent pushing changes when some of the Cypress tests
are being skipped
Install required packages ``bash
npm i -D cypress husky start-server-and-test
`
Define your dev script in package.json if... Download 2020-08-20-raspios-buster-armhf-lite.zip from the
official site
Install required tools ``bash
sudo pacman -S unzip util-linux docker
`
Start Docker service `bash
sudo systemctl start docker.service
` Add yourself into the docker group, otherwise permissions are needed...