Tutorials Index Page 2
The error "The connection to the server localhost:8080 was refused - did you specify the right host or port?" is very common, check here how to solve the error with gcloud or while using kubectl command.
package.json contains information about your project, to update libraries automatically you can use "ncu -u" in the root of your project. ncu command can be installing with: npm i -g npm-check-updates
Convert a rune to an int using int(rune - '0'). Read our article for more information
To undo last commit not pushed try: git reset --soft HEAD~1. To undo last commit pushed use: git revert HEAD~1. Check this tutorial for more examples!
Here are some example on how to guess the mime type of a file using python. The first example uses the filename only and the second example opens the file to guess the mime type.
PostgreSQL 9.5 added the type JSONB, which supports json as datatype. Here we show an example on how to perform an UPDATE on a jsonb type using postgresql. If you want to override the whole dict, just send the json between single quotes. check here for some example queries.
In this tutorial, we are going to move a linux encrypted disk to a new one. In particular, we are going to move from an old hard drive to a brand new SSD (but smaller). This tutorial also works for moving encryted disk to a bigger disk.
In this tutorial, we are going to see how to create an API endpoint using flask. The endpoint will only accept POST request and it will use content-type application/json. Learn here how to create a minimal api rest with flask and python.
Steps to install Epson L355 on Ubuntu 18.04. You will need to download the official drivers from epson.net (deb file). Use dpkg to install epson-inkjet-printer-201207w_1.0.0-1lsb3.2_amd64.deb. Finally, use the wizard as always. Check here for full details and epson Ubuntu 18.04 drivers.
Learn here how to use SQLIte3 with SQLAlchemy step by step. First, we are going to define some models and then we will see how to connect and make some queries. We are going to learn about the Unit of Work pattern, which is a very important concept on sqlalchemy.