teleren/devto huggingface dataset:
Has Reality Punched You in the Nose?
Tags: webdev, agile, softwaredevelopment, programming
Published: 2021-04-22 12:37:05

---
title: Has Reality Punched You in the Nose?
published: true
date: 2021-04-22 12:34:53 UTC
tags: webdevelopment,agile,softwaredevelopment,programming
canonical_url: https://medium.com/chingu/has-reality-punched-you-in-the-nose-e12467c7c4f4
---

#### Dealing with Uncertainty as a Developer

![](https://cdn-images-1.medium.com/max/1024/1*EB5gYiO_JQOX4EZK6k1uEg.jpeg)<figcaption>Photo by <a href="https://unsplash.com/@single_lens_reflex?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Dan Burton</a> on <a href="https://unsplash.com/s/photos/punch?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption>

Something every Developer faces is that reality sometimes rears its ugly head and punches you right in the nose! Everyone and every team have moments of **_uncertainty_** when a project doesn’t go as planned.

This could be the result of a technical problem, a team issue, or the realization that the project is too complex to complete in the available time.

> But **`uncertainty !== failure`**!!!

Uncertainty is your signal to pause, evaluate the situation, and adjust your project plan and perhaps even your outlook.

This might be as simple as just **_asking for help_** on a technical issue, or it may **_reducing the scope_** of your project so it becomes achievable.

Emotions are part of the human experience, but don’t let them dictate your future. Take a **fact-based** approach to dealing with what reality throws at you to find the best solution with less stress.

![](https://cdn-images-1.medium.com/max/648/0*D095UraMHXkikH75.gif)


### Before you Go!

> _Chingu helps you to get out of “Tutorial Purgatory” by transforming what you’ve learned into experience. The experience to boost your Developer career and help you get jobs._

> _You can learn more about_ **_Chingu_** _& how to join us at_ [_https://chingu.io_](https://chingu.io/)

* * *
Spring Boot Unit Test for Spring MVC Controller
Tags: springboot, springmvc, unittest
Published: 2021-04-22 12:28:28

https://grokonez.com/testing/unit-test-for-spring-mvc-controller-with-spring-boot

Spring Boot Unit Test for Spring MVC Controller

Spring provides powerful features to make controller tests by creating request and receiving response without need of deploying code to a web container. This tutorial introduces Spring Boot <strong>Unit Test</strong> for Spring MVC Controller.

Related posts:
- <a href="https://grokonez.com/tool/maven/unittest-maven-skip-test-springboot">UnitTest – Maven skip test with SpringBoot</a>
- <a href="https://grokonez.com/testing/datajpatest-with-spring-boot">@DataJPATest with Spring Boot</a>
- <a href="https://grokonez.com/spring-framework/spring-boot/use-spring-jpa-mysql-spring-boot">How to use Spring JPA MySQL | Spring Boot</a>

<!--more-->
<div id="tuttoc" class="jsa-toc"></div>
<div id="tutcontents">
<h2>I. Technology</h2>
- Java 1.8
- Maven 3.3.9
- Spring Tool Suite – Version 3.8.1.RELEASE
- Spring Boot: 1.4.2.RELEASE
<h2>II. Overview</h2>
<h3>1. Goal</h3>
To build an REST web service and use Unit Test for Controller testing case without deploying code to a web container.
<h3>2. Project Structure</h3>
<img class="alignnone size-full wp-image-2309" src="https://grokonez.com/wp-content/uploads/2016/12/unittest-structure.png" alt="" width="694" height="390" />
<h3>3. Step to do</h3>
- Create Spring Boot project &amp; add Dependencies
- Create a DataModel class
- Create a Web Controller
- Create a UnitTest class
- Run Spring UnitTest &amp; Enjoy Result
<h2>III. Practice</h2>
<h3>1. Create Spring Boot project &amp; add Dependencies</h3>
- Open <strong>Spring Tool Suite</strong>, on <strong>Menu</strong>, choose <strong>File</strong> -&gt; <strong>New </strong>-&gt; <strong>Spring Starter Project</strong>, then fill each fields.

Click <strong>Next</strong>, in <strong>Web</strong>: choose <strong>Web</strong>:
<img class="alignnone size-full wp-image-1091" src="https://grokonez.com/wp-content/uploads/2016/09/springaop-aspectj-configweb.jpg" alt="springaop-aspectj-configweb" width="688" height="95" />

Click <strong>Finish</strong>. Spring Boot project will be created successfully.

- Open <strong>pom.xml</strong>, necessary dependencies for Spring Boot Web MVC and Test are created automatically:

<pre><code class="language-html">&lt;dependencies&gt;
	&lt;dependency&gt;
		&lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
		&lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
	&lt;/dependency&gt;

	&lt;dependency&gt;
		&lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
		&lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
		&lt;scope&gt;test&lt;/scope&gt;
	&lt;/dependency&gt;
&lt;/dependencies&gt;
</code></pre>

https://grokonez.com/testing/unit-test-for-spring-mvc-controller-with-spring-boot

Spring Boot Unit Test for Spring MVC Controller
I want to manually delete rows, so tell me about all referenced tables
Tags: sql
Published: 2021-04-22 12:28:16

``` 
 SELECT 
 	  COL_NAME (col.referenced_object_id, col.referenced_column_id) as primary_column,
	  OBJECT_NAME (fkey.referenced_object_id) AS in_primary_table,

	  '1 to N' as [refers],

	  OBJECT_NAME (fkey.parent_object_id) AS in_foreign_table,
	  COL_NAME (col.parent_object_id, col.PARENT_COLUMN_ID) AS to_foreign_column,
	
      fkey.name AS foreign_key_name 
FROM 
	sys.foreign_keys AS fkey
  
	INNER JOIN sys.foreign_key_columns AS col 
	ON col.constraint_object_id = fkey.object_id
WHERE 
	fkey.type = 'F'
	--AND OBJECT_NAME(fkey.referenced_object_id) like 'YourPrimaryTableName'
ORDER BY 
	in_primary_table, in_foreign_table
```

Result:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nivw4u3pimoabain4sw9.png)
JavaScript Interview Question #35: What is faster, zero timeout, or immediate resolve?
Tags: beginners, javascript, codenewbie, webdev
Published: 2021-04-22 12:25:30

![js-test-35](https://learn.coderslang.com/js-test-35.png)

What's the order of the output?

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Both `setTimeout` and `Promise.resolve` are asynchronous actions, which means that the inner `console.log` statements will be evaluated after some delay.

The difference is that `Promise.resolve` schedules the microtask, and `setTimeout` schedules the macrotask. Micro tasks have higher priority than macrotasks, thus `Promise.resolve` will be evaluated faster and the first output will be `2`.

---

**ANSWER**: `2` will be printed on the first line, followed by `1`.

[Learn Full-Stack JavaScript](https://js.coderslang.com/sign-in)
Is "..." in javascript a spread operator or are they rest parameters?
Tags: javascript, angular, react, vue
Published: 2021-04-22 12:23:57

Short answer? They're both. Here's to another question that choked up an interview process recently. Every time we come across the three dots in our javascript code, either it makes our life look so easy or it's another day of googling "Spread operator". Just remember the two points below if you're looking for a TL;DR or continue reading if you want to dig deeper.

Keep in mind:-

1. The three dots (...) act as rest parameters if we aren't  sure of the number of parameters in a function

2. The three dots (...) act as spread operator when we have to merge two or more  objects.

## Rest Parameters

```
const sumOfAllArgs(...args){
 let result = 0;
 args.forEach((arg) => {
     result += arg;
 })
 return result
}

sumOfAllArgs(1,2,3,4,5) // would return 15
```

The above function which uses the rest parameters doesn't have a limit on the number of arguments to be passed to it. 


## Spread Operator

When you need to unpack an array or join an array with another or in case of copying the values of an array to another we can use the same operator (...) for a different cause

#### Concatenating an array
```
const myArr = ["jack", "jill", "hill"]
const yourArr = ["water", ...myArr]
```

Here the value of "yourArr" would be ["water", "jack", "jill", "hill"]. 

#### Copying arrays
```
const a1 = [1, 2, 3]
const a2 = [...a1]
```

Any changes made to a1 wont affect array a2. 


The spread operator can also be used to perform the same actions on objects as well. Hope you get it right the next time! :)
CSS Only Dog Walk Puzzle Simple Game
Tags: codepen, webdev, gamedev, css
Published: 2021-04-22 12:22:24

<h1>CodepenChallenge On and Off</h1>

<h2>Description</h2>

<p>I hope this is considered as microinteractions. 😅</p>

<p>This game is full of hidden radio buttons, and checkboxes inside.</p>

<p>CSS only simple game built with Pug, SCSS, and pixel-art images.</p>

<p>I actually intended to draw a cat, but when I tried, the result looked like a dog, so I decided to make this game a 'dog' game.</p>

<p>When one of the radios/checkboxes was ticked, the controls will hide/show depends on the condition.</p>

<p>I thought of this game because in recent times, the switches element are created by hidden checkboxes anyway.</p>

<p>There are actually many rendered controllers on the DOM, but are just hidden.</p>

<p>The Dog is also animated when moving. Although the dog stays at the center while moving.</p>

<p>The actual moving objects are the background. Which I also used parallax to animate. The 'farthest' object moves slower than the 'nearest' object. Which covers the 'parallax effect'.</p>

<p>Recently, I've been studying the ways to draw a pixel art. Which I found interesting.</p>

<hr>

<h2>Controls</h2>

<p>Although stated at the instructions, here is how to control the game:</p>

<ol>
<li>At the bottom right of the screen, the ▷ (Triangle facing right) icon will make you move to the right.</li>
<li>At the bottom right of the screen, the ◁ (Triangle facing left) icon will make you move to the left.</li>
<li>At the bottom left of the screen, the fang or tooth or whatever icon will make you interact with the object.</li>
</ol>

<h2>Objective</h2>

<p>Because this is just a simple game, there aren't that much puzzles that will make you think.</p>

<p>Just move further, take away the obstacle, and get the bone. Simple isn't it?</p>

<hr>

<h2>Tools</h2>

<p>This game doesn't have any Javascript code for the functionality (Except the comment, and Pug's (or Jade) Javascript). But heavily relies on <a href="https://sass-lang.com/">SCSS</a>' loop, which makes the SCSS code so large when compiled.</p>

<p>I used <a href="https://www.getpaint.net/">Paint.NET</a> to draw the assets.</p>

{% codepen https://codepen.io/takaneichinose/pen/LYxgvQW %}
DISCUSS: JavaScript just DIED! What language should replace it?
Tags: discuss, watercooler, javascript, webdev
Published: 2021-04-22 12:18:25

People usually have a love-hate relationship with JavaScript. It's got its beauty and its unavoidable quirks. We're all familiar with them. We can't deny that it's been an absolute powerhouse for the web, though.

You'll always find Js in the top 10 or even top 5 lists of most popular programming languages. It's also the #1 topic on dev.to!

But what if all of that suddenly went, like, POOF! 👻

# Now now, where's this coming from?

First of all, special thanks to @technoglot for the inspiration!

{% post https://dev.to/technoglot/javascript-is-dead-14bm %}

Her article asked this simple question: What would your tech stack look like if JavaScript didn't exist?

I'm a webdeveloper through and through. Naturally, I'd start unpacking all CSS-only solutions! However, I started thinking more about the implications of JavaScript's death, like...

# ✍ Comment below answering the following question

If JavaScript stopped existing, **what language do you think should replace it?**

Now, I understand that some programming languages aren't quite ready for things like DOM manipulation and such. Imagine these things would be implemented into said languages.

Or perhaps you have a better version of JavaScript in mind? 😮☝ Let me know! 

---

![Thalita logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sa0hfs0886uf0g7c0b7e.png)

[Twitter](https://twitter.com/thalitadev) | [Website](https://thalita.dev)
Give back to Earth this Earth Day
Tags: earthday, earthday2021, restoreourearth, climatechange
Published: 2021-04-22 11:57:23

---
title: Give back to Earth this Earth Day
published: true
description: This year the theme of Earth Day is #RestoreOurEarth, so as Software developers lets try to do our part in restoring Earth.
tags: #EarthDay, #EarthDay2021, #RestoreOurEarth, #climateChange
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j3q8hbu0gmu91w732l24.jpg
---

Latest reports suggest that the ICT sector emits about 2% of global CO2 emissions, and has now surpassed the airline industry in terms of the levels of its impact. Others suggest that the digital sector will emit as much as 4% of total greenhouse gas emissions in the coming years.
Source: https://www.ictworks.org/digital-technologies-climate-change-problem/#.YIFZLegzY2w

This year the theme of Earth Day is <b>#RestoreOurEarth</b>, so as Software developers let's try to do our part in restoring Earth.

1) <b>Performance </b>: Try to keep your websites light, you can optimize assets, use lazy loading, optimize your code(it's basic for any website nowadays). This won't even just impact the environment but make your users super happy with the website's performance.

2) <b>Videos</b>: Use links to youtube videos instead of embedding the entire video on the website as it takes a lot of bandwidth to transfer data even before it is being interacted with.

3) <b>CSS cleanup</b>: Often we have unused CSS laying in our code and since every character takes weight even after it's compressed, try to do a clean-up once a while to get rid of unwanted CSS.

4) <b>HTTP requests </b>: Reduce the number of HTTP requests check for situations where you are maybe calling an API in a loop you can try to send the entire data in a single request, it will make the code more performant.

5) <b>Green Hosting </b>: Host your websites on data centers that rely on renewable energy. Find out more about green web hosts on https://www.thegreenwebfoundation.org/.

6) <b>Contribute</b>: You can contribute to some environment-friendly open source projects.

List of open-source projects dedicated to improving our environment:

<a link="https://medium.com/planet4">Planet 4</a>
<a link="https://wiki.ecohackerfarm.org/start">Eco Hacker Farm </a>
<a link="https://publiclab.org/">Public Lab</a>
<a link="https://opensource.com/article/17/1/apache-open-climate-workbench">Open Climate Workbench</a>
<a link="https://wiki.opensourceecology.org/wiki/Project_needs">Open Source Ecology</a>
<a link="https://pangeo.io/">Pangeo</a>
<a link="https://leafletjs.com/">Leaflet</a>
<a link="https://wiki.mozilla.org/ScienceLab">Mozilla Science Lab </a>

This Earth day let's try to commit time to these projects and do our bit for mother earth.
How to stay focused in a distracted world
Tags: productivity, beginners
Published: 2021-04-22 11:45:59

_If you found value in this thread you will most likely enjoy my tweets too so make sure you follow me on [Twitter](https://twitter.com/VladPasca5)  for more information about web development and how to improve as a developer. This article was first published on my [Blog](https://vladpasca.hashnode.dev/)_

### 1. Have a clear goal in mind

Every morning you should wake up with a clear goal in mind

First, create bigger goals, and then break them down until you know what you need to do each day

This way, when you wake up each morning you know exactly what you need to do

### 2. Have a clear To-Do list

Use Notion

Use a pen and paper

Use whatever feels right for you, but write down your 3 main goals for each day

Now spend your energy on completing these

Keep this simple and don't have more than 3 goals

### 3. Turn notification off

Beside phone calls keep every notification off

Don't even let them show on your home screen

This is the thing that will increase your focus by 100%

Trust me, you don't miss out on something

If someone needs you, they'll call you

### 4. Use the Pomodoro technique

I don't think that you need to follow those 25 minutes of work and 5 minutes of break

You can change those intervals

I work for about one hour and then take a 15 minutes break

Take the time to find what works the best for you

### 5. Have only a few tabs open

I realized that when you have lots of tabs open you tend to go on Twitter or search for something on Google

Try to keep open just the tabs you need and close everything else

This will take some time to master but it will definitely help

### 6. If you can work on something you enjoy

I realized that when I work on something I love, my focus increases

So try to find something you enjoy doing, or make your work in some way more enjoyable

How?

Listening to a podcast
Playing some music

### The end

_I hope found this useful and if you did please let me know. If you have any question feel free to DM me on  [Twitter](https://twitter.com/VladPasca5) ._
Mulesoft developer
Published: 2021-04-22 11:33:55

Hi Everyone!

Atlanticsoft is looking for a **Mulesoft developer**.

**1 year experience**: Mule ESB, Software development .
Location: **Remote job**.
Language(s) needed: English - Conversational.

Compensation: **3.000 - 6.500 UDS montly**.

You can apply easily using the following link: https: https://jobs.torre.co/2RYXgrz

And if you don't have a torre.co account yet, I can help you set it up and then submit the application for you.

Reach out to me at lmedina@torre.co with your CV and if you’d like my help.
Unistore  : a nice little observable  state container
Tags: javascript, preact, state, unistore
Published: 2021-04-22 11:33:38

[Unistore](https://github.com/developit/unistore) :

*A tiny 350b centralized state container with component bindings for Preact & React*

But you can use it in vanilla JS.

Here is a demo [unistore](https://flems.io/#0=N4IgtglgJlA2CmIBcBmAHAOgOwFYA0IAxgPYB2AzsQskVbAIYAO58UIB5hATncgNoAGPAIC6BAGYQE5fqFL0wiJCAwALAC5hY7WqXXw9NADycuERuoAE5LoQC8AHRAb1zJAHp3AV1KMA1gDmGCRg3qQQ5OrEXPDuUBHqYQnR8BheYFAYAFbkTgB8Ru6m5up5DqRGAEZe6lGklmSEsBCEfnYA5FDwYMQAFACU7WX1lgAy9D6EqpYAIt3E5YXVtWTDRvEAbpbQjiCwxAEB8Fz55ZaWi3EQG8PlOiwIhOoQZDLKAExIAIwoIAC+eDkCiUKhyOhIegM6ho5XKEMi1iiMUsdksPmSMV6wDOlhIPisSEsQhxU0shMsAxReUsAFl6OpVBguPRSFBiGBKUYiRgcJYAPwXECAHg3AMv7TjJgqFgGb98XnOVy8p-fqw0jwqwQVUoxEpDD0J4vUi9HHiSbPMgU8h4bb9SzAc44ywxdReLj1O14vSE8jBYj4ywAam2lj+9tISrO5Xo5AAnpqTaqzfVyAh4IwKWByDbsSMnS76qR4AB3SwABR4kBYvV6MUtlmOXBtdmpdodcpY6gAKhBFL71NX4LWMzaceGwyr4-rzfsAumB+R6EcsziEFZ4LArKi2YR0lDgjF6fAAKIIRR6I0gTZOG0XEZr9QYDUFrgACQ7NNGWoABgASYCKcjzkcIYALQUr+kQ6kc6gAMrqAeAw+viSqfsuBxHFwuqMIwBhQAAwqoUhQL0d7KmGN7lBOiaWF0PQUkuIzTuhD6kE+r7vlqThOAA3DivRRrGhB0VSto3vK4jRL0EBagIXFBlyWCyRA-r+lmonypY9CFvQEBWMm8Cpr0XzvAIpHqdsqqGaZcp-CO-SUqGNmkOUEExBg5BeJUxSVPAvSIgewnTr0kQHsEqgDP0-SySq0VObF4LsowUjHDQlT0N52gcGu8CThQNACEgAjAQALF8BX-ICIDyIoNDBAB8WQoYyiVMQUDRraOKpa0AQ8D4UCEpUDCtDxIwkPsXCElwASpb0QjvDg+AmcNirlMsdTtSMzVcF042WF8jAAB7WFQ0COqww3nJ1gQ9ayhLqMyFCMPQMR6OduJUNESCFgR+ivY9MAagEhIoAIB2vduXCUDtjDEBq+hcMNjnlAAxIxxzrec4l6MB5AQAAXvAhIAGxFaDrajR9lhfTp8DDfo+3qMB9DNAEpBIIQULHAj9xZTlbwgF8hPfGg-wiH8QA)

```html
<script src="https://unpkg.com/unistore/dist/unistore.umd.js"></script>
```

```js


const store = unistore({
  count : 0,
  ch :  () => Math.random() < 0.5 ? "🏓" : "🎳"         
})

const inc = store.action(
  function (s, i) {  
   return { count: s.count + i }  
})
 
async function sleep (ms) {
  return new Promise((res, err) => { 
      setTimeout(res, ms) 
  })
}

function log (message) {
  let elt = document.createElement("div")  
  elt.innerHTML = `${message} - (${store.getState().count})`
  logger.appendChild(elt)
} 

function demo () {
  logger.innerHTML = "";
  (async () => { 
    for(i = 0; i < 7; i++) { 
      await sleep(120)
      inc(1)
    }
  })()   
}

store.subscribe( state => log(state.ch())); 

```

Another Example :

{% codesandbox unistoredemo-i8cby %}
Quick Post - I found the meaning... LOL!
Tags: python, jokes, programming
Published: 2021-04-22 11:16:48

#### Meaning of what? - This is the question in your mind right now, correct?
Well, I know why they named the language Python and not anything else! So, let's start with some animals - **Python**

You know, like when a **Python** has caught you and is crawling around you, there is no way you can escape, right?!

Similarly, once you start using **Python**, there is no way you can escape and use another language!!! :joy::joy:

And, byeee!!!
Do You Do Home Automation? Join Us!
Tags: homeautomation, smarthome, community, hometechnica
Published: 2021-04-22 11:06:00

A lot of developers like tinkering with all sorts of tech. And if you own, build or rent a house or an apartment, home automation is a cool area to discover and play with.

But home automation can be frustrating as well. Which system should I choose? Should I go with an open-source system like Home Assistant? Or maybe with something like Philips Hue? Where do I start? Lighting? Heating? Cameras? Door locks?

But even if you found a system to go with, there will be hurdles. I mean, it's tech, isn't it? :wink: And that's where a community would be awesome. Asking questions. Giving advice to others. That's what we are here for. And [Ben](https://dev.to/ben)  created a special (of course Forem-powered) community for everything related to technology in your home.

## Join [Hometechnica](https://www.hometechnica.com)

It's not just about home automation. There is much more. Here is the "tagline" of Hometechnica.

> Homebuilding in the age of automation, privacy, security, and alternative energy. Gadgets, ideas, and community.

If you are interested in any of these topics, come join us over there. 

https://www.hometechnica.com

It will be fun. I promise. :smile:
How to connect your Server to Discord in 10 Minutes
Tags: discord, linux, server, buildinpublic
Published: 2021-04-22 11:04:49

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/voubj18gy3d2gzj2yd54.jpeg)

I've created a tiny article at our new Blog as we found this implementation useful for our starting SaaS-Service `JUST-SELL.online`

So I share it here... might be help somebody to fast and easy connect their own server with discord.

## EN:
https://just-sell-online-en.blogspot.com/2021/04/send-server-messages-to-discord.html

## DE: 
https://just-sell-online.blogspot.com/2021/04/servernachrichten-in-discord-ausgeben.html
pgAdmin4-5.1 for Arch distros (decompiled from deb)
Tags: postgres, archlinux, docker, showdev
Published: 2021-04-22 10:54:22

[The link to `*.pkg.tar.zst` is here.](https://github.com/patarapolw/postgres/releases/tag/v0.0.0)

This is a temporary (?) solution to [my rant](https://dev.to/patarapolw/comment/1dkeg). And the tarball with `make` + `make install` does not work. (And installing from pip is not as beautiful as Ubuntu.)

> pgadmin4 in AUR is outdated.

```
$ yay -Ss pgadmin4
community/pgadmin4 4.30-1 (30.7 MiB 118.4 MiB) (Installed)
    Comprehensive design and management interface for PostgreSQL
```

I am not running latest supported Ubuntu or Debian right now, so I used Docker.

```dockerfile
FROM debian:bullseye-slim
RUN apt-get update
RUN apt-get install -y curl gnupg2 lsb-release
RUN curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | apt-key add
RUN echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt-get update
RUN apt-get install -o dir::cache::archives="/" -d -y pgadmin4
ENTRYPOINT [ "/bin/bash", "-c", "cp pgadmin4*.deb /out/" ]
```

Then,

```sh
docker build -t pgadmin4-get .
docker run -v $(pwd)/out:/out pgadmin4-get
```

Then, use [debtap](https://www.maketecheasier.com/install-deb-package-in-arch-linux/)

```sh
debtap pgadmin4-server_5.1_amd64.deb
debtap pgadmin4-desktop_5.1_amd64.deb
debtap pgadmin4-web_5.1_all.deb
```

However, for the last two files, we need to edit dependencies to avoid circular deps (which there is already an option in `debtap`).

Don't blame me for decompiling this on Manjaro Linux, though. Otherwise, do it on real Arch yourself...