SM2G

Amat Victoria Curam

Latest Articles

devops
ID: 20200520

Permanently authenticating with Git repositories

#AWS #Docker

On Linux you can use the ‘cache’ authentication helper that is bundled with Git 1.7.9 and higher. From the Git documentation: This command caches credentials in memory for use by future git progra... Read more

20 May 2020 - less than 1 minute read
devops
ID: 20200420

Performing large WordPress migrations

#wordpress #aws

In order to perform a migration, for example from a new Wordpress instance to the production one, the best tool currently is All-in-One WP Migration Plugin. However, this plugin has a paid limitati... Read more

20 Apr 2020 - less than 1 minute read
devops
ID: 20200320

Install Docker and docker-compose on Amazon Linux

#AWS #Docker

I often have to deploy an AWS instance running on Amazon Linux and using it to deploy Docker containers. As Amazon Linux don’t come with Docker preinstalled, you have to do it manually. Or even be... Read more

20 Mar 2020 - less than 1 minute read

database
ID: 20190520

Rename a Postgresql database

#database #postgresql

Here’s the procedure to rename a PostgreSQL database: Disconnect from the database that you want to rename and connect to a different database. Check and terminate all active connections to t... Read more

20 May 2019 - 1 minute read
database
ID: 20190420

How to duplicate a Postgresql database

#database #postgresql

If you need to duplicate an existing Postgresql database, and possibly transfer ownership of the database objects to a new user, here’s how to do that in a quick way: -- First, I recommand getting... Read more

20 Apr 2019 - less than 1 minute read
database
ID: 20190320

Forcing ASMM component to shrink

#oracle #database

Here’s the way to force the shared pool to shrink dynamically. Documentation states that ASMM can only increase shared pool, and can’t shrink. When the automatic shared memory management feature i... Read more

20 Mar 2019 - 2 minute read

development
ID: 20190220

Convert FLAC to mp3 like a hacker

#system #linux

So you need to convert a bonch of FLAC files to mp3 and your best search engine only recommands you online file converters that nobody trusts ore require a paid subscription to work. Don’t worry, ... Read more

20 Feb 2019 - less than 1 minute read
managment
ID: 20190120

How to conduct a job interview

#managment

Here are some tips for conducting job interviews that I gathered and compiled when I started recruiting. Introduction Introduce yourself (we often tend to overlook that one, but I think it’s impo... Read more

20 Jan 2019 - 1 minute read
database
ID: 20180220

How to extract Oracle user DDL

#database #oracle

In some cases, you need to duplicate an Oracle user, along with all it’s privileges. Doing this manually can be tedious. Hopefully, we can use the data dictionary to extract the data we need and du... Read more

20 Feb 2018 - 1 minute read

database
ID: 20180120

Change default schema on Postgresql

#database #postgresql

In PostgreSQL, users can have many namespaces to resolve objects names. These are called schemas like in Oracle, and can be altered through the search_path variable. Here’s how to check current sea... Read more

20 Jan 2018 - less than 1 minute read
database
ID: 20171220

Rename all tables in a Postgresql schema

#database #postgresql

After a conversion usually done through AWS Database Migration Service, you may have a Postgresql database converted with table names in uppercase. These tables needs renaming, because you can’t ac... Read more

20 Dec 2017 - less than 1 minute read
devops
ID: 20171120

Configure SSL Certificates on AWS EBS

#AWS #devops

Elastic Beanstalk is a fantastic way to deploy and manage web applications. Today, for most web apps, you’ll need SSL certificates to encrypt data between users and your server. For this, we’ll use... Read more

20 Nov 2017 - 2 minute read