Enforce Java version on Maven

Enforce Java version on Maven

In a Maven project for managing Java application, to enforce usage of a specific Java version, you will need to add configuration option to...
Config for X-Frame-Options for the web

Config for X-Frame-Options for the web

Because of security reasons, so some web servers or web frameworks will make request/response headers to be rejected, which is DENY, which means it...
Protect your Laravel-based websites from iframe embed

Protect your Laravel-based websites from iframe embed

Just another tip for the day, to protect your Laravel sites from iframe embed, use this hidden middleware, FrameGuard. IlluminateHttpMiddlewareFrameGuard::class What it does is simple, set...
Remove image border effects on RevealJS

Remove image border effects on RevealJS

On RevealJS presentation, when you add a new image to the slides, it will be decorated around with border settings. In case you want...
FastCGI

Get FastCGI post body data using C

FastCGI is basically not different from a regular CGI application, hence, you can get the post body content from stdin. However, we need to...