Open in app

Sign In

Write

Sign In

m4nu56
m4nu56

35 Followers

Home

About

Oct 10, 2020

Update a PostgreSQL table using a WITH query

I often need to update a table using values from a different table and most of the time the quickest and also dirtiest solution is simply to do a subquery. A better and cleaner solution is to use the UPDATE .. SET .. FROM: Let’s describe our case with an…

Postgresql

2 min read

Update a PostgreSQL table using a WITH query
Update a PostgreSQL table using a WITH query
Postgresql

2 min read


Apr 30, 2020

Build a simple CLI tool to simplify your day-to-day tasks

It’s a common task in my current position to download and restore client schema on my local postgres to debug it. So I decided to build a small CLI tool to help me. Fully inspired (to not say copy/pasted) from this post by Lukas White and James Hibbard: Build a JavaScript…

JavaScript

3 min read

Build a simple CLI tool to simplify your day-to-day tasks: automatically restore postgres schema
Build a simple CLI tool to simplify your day-to-day tasks: automatically restore postgres schema
JavaScript

3 min read


Feb 4, 2020

Basic monitoring with curl and jenkins/gitlab

So you just finished your super webapp/api and it’s already going live. I’ll show you a simple way to add a basic monitoring on your server without adding a new dedicated app to do the task, using only your CI/CD The scripts Say you want to check if your app responds with…

Gitlab

3 min read

Basic monitoring with curl and jenkins/gitlab
Basic monitoring with curl and jenkins/gitlab
Gitlab

3 min read


Dec 5, 2019

Overriding Dependency Injection with HK2 in Jersey Tests

A common problem when testing APIs is to be able to inject Mock of the services we don’t want to invoke during our test. Imagine you’re testing an API that sends Email through the Postal Api. The open source mail server Postal is a complete and fully featured mail server for use by websites & web servers. Think Sendgrid, Mailgun or…postal.atech.media The service postalServicethat will be sending the email should be tested on its own…

Java

3 min read

Overriding Dependency Injection with HK2 in Jersey Tests
Overriding Dependency Injection with HK2 in Jersey Tests
Java

3 min read


Nov 19, 2019

Run multiple Postman Collection in parallel — Stress-Tests

A known limitation of the Postman Collection Runner is that it can only execute collection in a consecutive way. This is just a simple implementation of the solution explained in this StackOverflow conversation. Create your Postman Collection and corresponding tests Here I needed to attack first /api/persons to get the list of persons ids. And then /api/persons/:id…

JavaScript

2 min read

Run multiple Postman Collection in parallel — Stress-
Run multiple Postman Collection in parallel — Stress-
JavaScript

2 min read


Nov 14, 2019

Jersey Injection Dependency example with HK2

Example of a Jersey project using the dependency injection framework HK2 to inject logged user into the application via a custum annotation Jersey is a Java Framework that is commonly used to help generate REST Api. …

Java

3 min read

Jersey Injection Dependency example with HK2
Jersey Injection Dependency example with HK2
Java

3 min read


Nov 11, 2019

Automatiser le déploiement avec Gitlab + Docker + Ouroboros

Le but de cet article est de vous montrer une solution simple et rapide pour mettre en place du déploiement continue. La stack du projet est composée d’une partie API en nodejs et d’une base de donnée en mongodb. …

Gitlab

3 min read

Automatiser le déploiement avec Gitlab + Docker + Ouroboros
Automatiser le déploiement avec Gitlab + Docker + Ouroboros
Gitlab

3 min read


Nov 11, 2019

Automatiser les tests d’intégration de votre API avec Postman et Newman

Les tests sont une composante primordiale de n’importe quel développement et il est aujourd’hui très commun de retrouver un grand nombre de tests unitaire et de tests d’intégration avec nos projets. Mais il est moins fréquent de retrouver des tests qui s’exécutent directement sur l’application déployée. …

Postman

6 min read

Automatiser les tests d’intégration de votre API avec Postman et Newman
Automatiser les tests d’intégration de votre API avec Postman et Newman
Postman

6 min read

m4nu56

m4nu56

35 Followers
Following
  • Pen Magnet

    Pen Magnet

  • Dan Goslen

    Dan Goslen

  • Ben Weidig

    Ben Weidig

  • Aphinya Dechalert

    Aphinya Dechalert

  • Eran Stiller

    Eran Stiller

See all (59)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams