sh: npm-run-all: command not found sh: cross-env: command not found
Category Archives: Not for home page
Railway station with one main line and one branch line in Railway Empire 2
To connect a branch line to a main line at a railway station in Railway Empire 2, create a station with four platforms. In the example below the mainline is on the left side on tracks #1 and #2, the branch line arrives to tracks #3 and #4 at the bottom from the right. Connect …
Continue reading “Railway station with one main line and one branch line in Railway Empire 2”
Getting started with Railway Empire 2
Configuration – Automatic Pause stops the game when we open the track building panel. This prevents traffic jams, but stops the game and progress unnecessarily.– When the window loses focus the game and progress stops. – Edge scrolling is very fast and sensitive in Railroad Empire 2. To disable automatic edge scrolling. – It is …
Prevent scrolling in Lucid Charts embedded viewer
When a Lucid Chart image is embedded in a web page, the Lucid viewer allows the accidental scrolling and zooming of the image. Currently, there is no option to disable these features. There is a simple way to prevent accidental interaction with the Lucid Chart viewer. We can place a transparent layer on top of …
Continue reading “Prevent scrolling in Lucid Charts embedded viewer”
How to turn off the NSFW filter in Stable Diffusion
When the Stable Diffusion AI image generator creates pictures, it sometimes flags ordinary outputs as Not Safe For Work (NSFW). If you use the software at home on your personal computer you may disable the NSFW filter. When you clone the Stable Diffusion GitHub repository, the txt2img.py file should appear in the scripts directory. If …
Continue reading “How to turn off the NSFW filter in Stable Diffusion”
ImportError: cannot import name ‘CLIPTextModelWithProjection’ from ‘transformers’
When Stable Diffusion throws the following error ImportError: cannot import name ‘CLIPTextModelWithProjection’ from ‘transformers’
Installing Stable Diffusion AI image generator
Install the Git client Install Miniconda 3 Clone the Stable Diffusion GitHub repository Download the latest Stable Diffusion checkpoint Configure the Python environment with Miniconda Copy the checkpoint file into the models directory To use Stable Diffusion Activate the Python environment Generate the image We will call a Python script with the –prompt argument and …
Continue reading “Installing Stable Diffusion AI image generator”
Creating Remix (React.js) web applications
Remix has an HTML first, simple data access philosophy. Most Remix web applications work without JavScript code in the browser. It is possible to create a complete dynamic data driven Remix web application with only server side JavaScript code with pure HTML in the browser. About Remix This back to the roots approach makes Remix …
Continue reading “Creating Remix (React.js) web applications”
ERROR: relation “…_seq” does not exist
PostgreSQL has three auto increment column types: The pdAdmin 4 user interface unfortunately generates the wrong CREATE script for existing tables: If we execute it, we get the error message: ERROR: relation “test_id_seq” does not existLINE 3: id integer NOT NULL DEFAULT nextval(‘test_id_seq’::regcl… The correct syntax which auto generates the sequence too, is: For more …
Filter search results in Visual Studio Code
When we search in web application source directories, we usually find the same resource and variable names in the build outputs too. To filter out false positive search results, enter the comma separated list of build directory names into the files to exclude field:**/.next, **/build