Laravel – testing environment file

It is often helpful to have different configuration values based on the environment the application is running in. In order to do that Laravel utilizes the DotEnv PHP library by Vance Lucas. Unfortunately Laravel considers that application can run only in one environment per server and fetches all custom configuration parameters only from .env file. If you […]

Phonegap APK signing

When you are ready to publish your Phonegap app on Google Play, you need to build it.

This will provide a build file, usually inside platforms/android/build/outputs/apk/android-release-unsigned.apk Then you need to sign it with your private key.

And the last step is to zipalign it

If zip align is not in your path, try […]

Prolog knowledge base

In Prolog there are three basic constructs: facts, rules, and queries. A collection of facts and rules is called a knowledge base (or a database). The main advantage of Prolog is simple questions asking about the information stored in the knowledge base. Prolog knowledge base example – facts

Prolog query example

Prolog answers […]