This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Course - https://www.udemy.com/kubernetes-microservices | |
k8s example - https://github.com/apssouza22/k8s-microservices | |
Istio example - https://github.com/apssouza22/service-mesh-istio | |
## K8s commands | |
Delete all services | |
kubectl delete daemonsets,replicasets,services,deployments,pods,rc -n namespace-name —all | |
- kubectl describe pod pod_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread.getUncaughtExceptionHandler() | |
.uncaughtException( | |
Thread.currentThread(), | |
new IllegalStateException("Resource leak: finalizer fallback cleaned up") | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The term “Microservices Architecture” is now a popular term and in order to keep updated as a software developer, I’ve been putting some effort to get a good understanding about this architecture and the better way of implementing it in Java using Spring technologies. | |
I was working in a nice company with a great team and a good tech stack, however, we were not using the cutting edge Java features such as Java 8 and Microservices architectures in that moment, so I had to start looking for that knowledge outside the company. I wanted to play with the Java 8 and Microservices and the best way of doing it is hands on code, building something, then I decided to create a To Do system using as many fun stuffs as possible and I will try to write a series of posts talking about this experience. | |
The intention of this blog series is to have a source code walkthrough with many concepts and technologies put in place and combined within a whole system composed with different microservices. I’m not planning to go deep in th |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ([^ ]*) ([^ ]*)\n.[^@]*@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var class = function(){ | |
return { | |
myPublicMethod : function(){ | |
}, | |
otherPublicMethod : function(){ | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Money = (function(){ | |
function Money(qty) { | |
this.whole = 0; | |
this.cents = 0; | |
this.add(qty); | |
} | |
Money.prototype.calc = function() { | |
while (this.cents > 100) { | |
this.cents -= 100; | |
this.whole += 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* As configurações básicas do WordPress. | |
* | |
* Esse arquivo contém as seguintes configurações: configurações de MySQL, Prefixo de Tabelas, | |
* Chaves secretas, Idioma do WordPress, e ABSPATH. Você pode encontrar mais informações | |
* visitando {@link http://codex.wordpress.org/Editing_wp-config.php Editing | |
* wp-config.php} Codex page. Você pode obter as configurações de MySQL de seu servidor de hospedagem. | |
* | |
* Esse arquivo é usado pelo script ed criação wp-config.php durante a |