Install package pdftk To merge two pdf files, file1.pdf and file2.pdf:
- development
- ...
Chrome DevTools Shortcuts
Open panels with shortcuts in OS (Windows/Linux) Useful panels Shortcut Run Command Ctrl+Shift+P Elements (CSS) Ctrl+Shift+C Console (Javascript) Ctrl+Shift+J Your last panel (I) Ctrl+Shift+IF12 Easy way to memorize the shortcuts:– C stands for CSS.– J for JavaScript.– I designates your choice. More info from Chrome for Developers
- design
- ...
10 Usability Heuristics for User Interface Design
Jakob Nielsen’s 10 general principles for interaction design. They are called «heuristics» because they are broad rules of thumb and not specific usability guidelines. More info in Jakob Nielsen’s article and summary
- development
- ...
How to add FontAwesome to you web project
Install the new dependency in the project FontAwesome, a well known icon library. To install this library execute the following command: As is explained in its documentation. Now that the dependency is installed we need to use it in the project. Open the file src/index.html with your preferred text editor and add the following snippet whenever […]
How to reduce a PDF file size
To reduce size of a pdf it is possible to use ghostscript command: -PDFSETTINGS=configuration:
- development
- ...
Fixing SPA routing 404 issue on refresh
In a Single Page Application (SPA), client-side routing manages navigation without full page reloads, which means the server needs to serve the index.html file for any routes requested by the client, except for static resources. Some servers do not support this kind of application, so it is necessary to configure it manually by adding some […]
ORA-54032 Hidden Virtual Column Mystery
This error happend when it tries to modify a column definition. To solve this problem just drop and recreate the extended stats. To solve this problem just drop and recreate the extended stats Info obtained from Chris Saxon – Developer Advocate on the following link ORA-54033 and the Hidden Virtual Column Mystery
Components of a URL
A URL (Uniform Resource Locator) is a specific type of URI (Universal Resource Identifier). A URL normally locates an existing resource on the Internet. A URL is used when a web client makes a request to a server for a resource. Uniform Resource Identifiers (URL): Generic syntax rfc2396. A URL for HTTP (or HTTPS) is […]
- development
- ...
How to update node to latest version
We use n module from npm to upgrade node to the stable version To upgrade to the latest version (no stable version) Fix PATH /usr/bin/node To undo n installation Found in David Walsh blog.
Nginx proxy basic configuration for Wildfly/JBoss
We are going to explain how to configure a nginx proxy to redirect wildfly port 8443 to 443 and redirect requests from application context path to domain name. The following basic configuration it goes in http context and the base file without can be downloaded here. This file is created on /etc/nginx/conf.d/wildfly-basic.conf with following command […]