Hello, Javaniceday!

Reading Time: < 1 minute
  • Define environment variables in Tomcat

    Reading Time: < 1 minute Sometimes you want to change the behavior of your code without recompiling or deploying. One way to do this is by defining environment variables that you can change at any time. A typical use case is for database connection properties (username, password, port, etc). In your Tomcat home create this… Read more

  • Do you really need a mobile app?

    Reading Time: < 1 minute I see lots of brands advertising “Hey, download our mobile app and…” …and you will have a menu with 5 items. The most complex item probably will be a form with 3 o 4 fields and one submit button. Ah, with a success message! – Do you really need a… Read more

  • How to use a GitHub repository as a dependency in Node.js

    How to use a GitHub repository as a dependency in Node.js

    Reading Time: < 1 minute Sometimes you need a dependency that is not published as a regular package at npmjs.com. Probably is the case of a private package. Read more

  • Template of Java web and Heroku

    Reading Time: < 1 minute I’ve worked in several projects with Java, specially Java web using Tomcat as a web container and then Glassfish as application server. Lastly I’m working in Java projects deployed on Heroku, an amazing platform acquired by Salesorce. I faced many problems configuring deployment, JPA with Tomcat, oauth Salesforce flow, etc.… Read more

  • How to get all the tables in Redshift

    How to get all the tables in Redshift

    Reading Time: < 1 minute To get all tables in Amazon Redshift, you can use the following query: Replace 'your_schema_name' with the name of the schema you want to retrieve the tables from. This query will return a list of table names in the specified schema. Read more

  • Search columns in Postgres

    Reading Time: < 1 minute A simple query to search columns in different schemas SELECT t.table_schema, t.table_name FROM information_schema.tables t INNER JOIN information_schema.columns c ON c.table_name = t.table_name and c.table_schema = t.table_schema WHERE c.column_name = 'my_column' AND t.table_schema IN ('pg_catalog', 'another_schema') ORDER BY t.table_schema; Photo by Markus Winkler on Unsplash Read more