The most simple gitlab-ci file to deploy your commits – Devops

Usually, we have a git repositori setup in a test server where we execute a git pull every time we want to deploy code changes to the this server. We want to automate "git pull" and many other task in every commit to our git server branch (master), using gitlab devops. We have created a … Continue reading The most simple gitlab-ci file to deploy your commits – Devops

Command line tool for digital signature of PDF files

It is useful for example in Batch processes, from non Java programming languages like Php, Shell scripts, etc... You can find it in Github BatchPDFSign is a command line to sign PDF file with a PKCS12 certificate. You need a PKCS12 certificate. It should be a .pfx file. You need a password for the .pfx … Continue reading Command line tool for digital signature of PDF files

How to redirect WordPress public site to any url

WordPress is great as a content manager, but when you want to publish that content, the performance and other requirements can make it advisable to use another publishing environment. For example, you can use Django and the wordpress JSON API. In these cases you may be interested in redirecting calls to the public part of … Continue reading How to redirect WordPress public site to any url

How to disable WordPress REST API to not logged in user without a plugin

I think it should be disabled to not logged in users by default. Anyway, here you have the code to place in functions.php : JSON Rest is enabled public by default, and it's used by V5 new WP editor. You can disable it and install the Classic Editor Plugin and disable API for non locahost. … Continue reading How to disable WordPress REST API to not logged in user without a plugin