Quickly set up a local Gitlab CE server using Vagrant.
Run vagrant up
to setup the virtual server.
- Ubuntu 16.04
- Installs latest Docker
Backup: | |
docker exec -t -u postgres your-db-container pg_dumpall -c > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql | |
Restore: | |
cat your_dump.sql | docker exec -i your-db-container psql -Upostgres |
package com.erp.jpa; | |
import java.io.Serializable; | |
import javax.enterprise.context.ApplicationScoped; | |
import javax.enterprise.context.RequestScoped; | |
import javax.enterprise.inject.Disposes; | |
import javax.enterprise.inject.Produces; | |
import javax.persistence.EntityManager; | |
import javax.persistence.EntityManagerFactory; |
"gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" CentOS's and Fedora +22 workaround | |
Install `redhat-rpm-config` | |
$ sudo dnf install redhat-rpm-config |
Authorization and Authentication are hard. when you only have to implement them once (as you do within a monolith) instead of over and over again, it makes the developer happy :-), and maybe leads to less implementation failures.
When you have a bunch of microservices, this is something that has to be considered.
Implement it once or in every microservice, or something in between?
The gist that used to be here has since been implemented as a complete pip-installable package: https://github.com/anqxyr/mkepub | |
This notice is left here as a courtesy to the people who starred/bookmarked this gist in the past. | |
(pequena) Lista visual de (algumas das diversas) Funcionalidades:
Possui duas versões: O Redmi2 e o Redmi2 PRO, a diferenças entre eles é que o Redmi2 tem 1GB de memoria RAM e 8GB de memoria interna (4.3GB livre para vc usar) e o Redmi2 PRO tem 2GB de memoria RAM e 16GB de memoria interna. Os dois são dualchip 4G.
PROS: