teleren/devto huggingface dataset:
Seeking feedback/beta testers for a Free Multi-Cloud network creator (using Terraform) 
Tags: cloudnative, cloud, terraform, security
Published: 2021-03-23 01:34:34

Do you have apps that are in different clouds or regions and need to talk to each other over a private network segment? Or do you have to access cloud resources (like S3/DynamoDB) from different clouds on a secure network?

You can easily use epica arena to create a multi-cloud full mesh network in minutes. This network uses all cloud native functions so you can control your own resources and get the best latency and performance.

A generated terraform template is created from the No-Code UI that can be used to deploy the network in minutes.

We are seeking help from beta testers who can use this service. You can be one to help mold it to your needs. Thanks! 

Here is a medium article showing the same: {% medium https://medium.com/epiphani/create-your-own-cloud-native-multi-cloud-network-in-minutes-using-terraform-generator-edd19ccbe00a %}
Mkdocs automate CI/CD with Github actions
Tags: github, devops, python
Published: 2021-03-23 01:03:02

I'm developing my own mkdocs as a personal wiki. I've been working as a system engineer for 10 years and I have a lot of notes, cheats, scripts and tips on my laptops. And it's been a mess to look for some of them when I really needed. That's because I started a mkdocs project :)

I've been working on it, installing all the pip packages manually, testing the builds and then publishing into github pages. One time, and another, and another the same repetitive task. So I've managed a Github action to publish the mkdocs in Github pages automatically.

But, what's Github actions? GH Actions are a feature that allows anyone to generate a CI/CD pipeline into your own git repository with no need to manage Jenkins, TravisCI or any other engine to realize that.

As you create a Github repository, you're able to create "Actions" just clicking on the project menu, then it will show you a set of different predefined actions or create a blank one. I created one from scratch:

```yaml 
 name: mkdocs

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [ 3.8 ]

    steps:
      - uses: actions/checkout@v2

      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
          architecture: x64

      - name: Install requirements
        run: python3 -m pip install -r requirements.txt
        
      - name: Deploy 🚀
        run: python3 -m mkdocs gh-deploy --force
```
This job is run when a commit or pull request is merged in the "main" branch, then it creates an Ubuntu agent with a matrix of different Python version; in here I only use Python v3.8; then it installs all the pip packages declared in the "requirements.txt" file and then runs the mkdocs command "gh-deploy" that builds and deploy the mkdocs project in the "gh-pages" branch.

Now I only have to commit my local changes into the "main" branch and Github deploys everything for me :P

Enjoy!
localhost에 인증서(SSL) 설정하기
Tags: localhost, ssl, mkcert, chocolatey
Published: 2021-03-23 00:11:09

로컬에서 개발을 진행할 때 SSL문제로 테스트에 문제가 되는 경우가 있습니다.
그래서 로컬에도 SSL을 적용할 수 있는 방법들이 추가되고 있습니다.

# mkcert
mkcert는 로컬에 **SSL**을 적용할 수 있는 솔루션입니다.

- [mkcert](https://github.com/FiloSottile/mkcert)
- [mkcert.dev](https://mkcert.dev/)

___

윈도우 환경에서 **mkcert**를 설치하기 위해서는 윈도우 패키지 관리자 [Chocolatey](https://chocolatey.org/)가 필요합니다.

1. Chocolatey를 이용하여 mkcert를 설치합니다.
```
>choco install mkcert
```

2. 도메인 인증서를 추가합니다.
```
>mkcert localhost demo2.localhost ok.localhost
```

3. pem파일을 옮깁니다.
```
localhost+2.pem => c:\xampp\apache\conf/ssl.crt
localhost+2-key.pem => c:\xampp\apache\conf/ssl.key
```

4. Apache 설정파일에 SSL 반영
```
<VirtualHost _default_:443>
#   General setup for the virtual host
DocumentRoot "C:/xampp/htdocs"
ServerName localhost:443
ServerAdmin abc@abc.com
ErrorLog "C:/xampp/apache/logs/error.log"
TransferLog "C:/xampp/apache/logs/access.log"
#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on
SSLCertificateFile "conf/ssl.crt/localhost+2.pem"
SSLCertificateKeyFile "conf/ssl.key/localhost+2-key.pem"
...
</VirtualHost> 
```

5. Apache 재시작

영상강좌는 웹학교 [그누보드5](https://365ok.co.kr/tj/gnuboard) 제30강에서 이용할 수 있습니다.
Day 004: On Showing Up
Tags: writing, 100daysofcs
Published: 2021-03-23 00:07:20

This challenge is not about as much about learning or CS, as much it is about discipline and showing up. Showing up everyday, despite everything. The virtue Neil Gaiman talks about when we says:

> Husband runs off with politican.
> MAKE GOOD ART.
> 
> Leg crushed and then eaten by mutated Boa constrictor?
> MAKE GOOD ART.
>
> IRS on your trail?
> MAKE GOOD ART.
> 
> Cat exploded?
> MAKE GOOD ART.
> 
> Somebody on the internet thinks what you're doing is stupid, or evil, or has been done before?
> MAKE GOOD ART.
> 
> Probably things will work out somehow, and eventually take the sting away, but that doesn't matter, DO ONLY WHAT YOU DO BEST.
> MAKE GOOD ART.

So, I'm showing up here, everyday, to make good art. Of course, life gets in it's way, as it did today and I couldn't give a whole lot of time to learning, and towards making that compiler or writing about it. But, I decided to show up nevertheless!
How to get the version number of the OS in Node.js?
Tags: node
Published: 2021-03-23 00:00:00

---
  title: How to get the version number of the OS in Node.js?
  published: true
  tags: Nodejs
  date: Tue Mar 23 2021 05:30:00 GMT+0530 (India Standard Time)
  canonical_url: https://melvingeorge.me/blog/get-version-number-of-os-nodejs
  cover_image: https://melvingeorge.me/_next/static/images/main-cda3b9b83d9529990636b1de1b895b47.jpg
  ---
  [Originally posted here!](https://melvingeorge.me/blog/get-version-number-of-os-nodejs)
  
To get the version number of the OS, you can use the `release()` method from the `os` module in Node.js.

```js
/* Get version number of os in Node.js */

// import os module
const os = require("os");

// get version number of os
const versionNumber = os.release(); // 20.3.0
```

- The method returns the version number of the OS currently installed as a `string`.

See the above code live in [repl.it](https://replit.com/@melvin2016/get-version-number-of-os-nodejs).

You can also use the [`platform()` method](https://melvingeorge.me/blog/get-the-platform-name-of-os-nodejs) from the `os` module to get the operating system name along with the version number.

It can be done like this,

```js
const os = require("os");

// get name and version number of os
const versionNumber = os.release();
const operatingSystemName = os.platform();

console.log(versionNumber, operatingSystemName); // darwin 20.3.0
```

That's all! 😃

### Feel free to share if you found this useful 😃.

---
Paypr
Published: 2021-05-03 19:44:13

---
title: Paypr
published: true
date: 2021-03-23 00:00:00 UTC
tags: 
canonical_url: https://www.jakehayes.net/tech/paypr
cover_image: https://www.jakehayes.net/static/70ff85477a356ade0fd12f9d2afa649b/29114/paypr-after.png
---

# Paypr

_This is an Open Source project, you can find the repo [here](https://github.com/thejayhaykid/paypr)._

Have a folder of images that you have your computer shuffle through as your wallpapers? Have some images you want to add that aren’t quite the right size or aspect ratio? Have you put pictures in your Chromecast Ambient mode folder and noticed that images that don’t quite fit have a cool affect so that it fits on the screen and you can see the whole image?

Well this project aims to bring that simple thing that the Chromecast Ambient mode does to any image. If you look at the code, you will see that it is very simple. All it does it take the image, copy it stretch it to fit whatever resolution the user decides (with FHD 1920x1080 being the default), blurs that and then centers the original image, shrinking it to fit if necessary. That’s it. Now you have a new picture that can be used as a wallpaper and can be the exact size of your screen!

I used to do this by hand, but thought that I could automate it so I did. I just believe having the image blurred looks better than having whatever the windows color is on the sides when the image doesn’t fit.

Give it a try for yourself! Or fork the code and submit a PR if you can think of a helpful feature!

* * *

## Before

![Before](https://www.jakehayes.net/static/28e4dbebd3ce9053a03267c7fd4fb49a/47311/paypr-before.jpg)

## After

![After](https://www.jakehayes.net/static/70ff85477a356ade0fd12f9d2afa649b/29114/paypr-after.png)
How to automate anything
Tags: automation, productivity
Published: 2021-03-25 09:24:14

---
title: How to automate anything
published: true
date: 2021-03-23 00:00:00 UTC
tags: automation, productivity
canonical_url: https://jhall.io/archive/2021/03/23/how-to-automate-anything/
---

I’ve been thinking a lot lately about the relationship between manual tasks and automation. In this process, I’ve found myself describing how to move from one to the other in various contexts, and a pretty clear pattern has popped out at me. Here I want to distill the pattern down to the steps necessary to automate practically any process.

1. **Document all the steps.**

    If the process is baking cookies, your list might look something like:

      - Mix ingredients
      - Form small balls from the dough, and place them on a baking sheet
      - Place the baking sheet in the oven for a while
      - Remove the baking sheet, and eat cookies

![Nom nom nom!](https://jhall.io/archive/images/cookie-monster.jpg)

2. **Create a checklist.**

    When baking cookies, this is usually called a recipe. This is a more detailed list of your list of steps. It should be sufficiently detailed that “anyone” can follow the instructions, and have the predictable desired result.

      - Mix 2 cups flour, 1 cup sugar, 2 eggs…
      - Preheat the oven
      - Bake for 20 minutes

    I like to think of this step as a sort of ”manual automation”. It’s designed to be done by a person, but in a way that requires no human ingenuity. In this case, the person acts as a [human Turing machine](https://jhall.io/archive/2021/03/19/humans-are-turing-complete/), simply executing each step in the checklist.

3. **Automate the single most painful task.**

    It’s usually a bad idea to automate an entire process all at once. There’s usually [one constraint](https://en.wikipedia.org/wiki/Theory_of_constraints) that’s acting as a bottleneck to your process. Identify the single most painful (or time-consuming, or costly) step, and automate it. Don’t worry about the other steps.

    When baking cookies, it’s common to automate the “mixing” step, with some sort of electric mixer.

4. **Observe, iterate.**

    After the single most painful task is automated, you may decide you’re done with your automation task. Unless you’re an [elf living in a tree](https://www.keebler.com/), it’s likely not worth the cost of automating the insertion and removal of cookies into the oven.

    Or maybe you’re like my wife, and decide to purchase a [kichen robot](https://www.thermomix.com/) that automates many other parts of the cooking process (it measures, chops, mixes, even cooks some things).

    If you find that your process is still painful, or later becomes painful (due to a change in context or scale), then return to step 3.

This is the same process I use when automating a build, or deployment, or setting up a CI/CD pipeline. If you’re interested, I discuss this in the context of CI/CD more at [LeanCD.com](http://leancd.com/).
Who is Mahabobur Rahaman Pollob?
Published: 2021-03-22 23:27:17

Mahabobur Rahaman Pollob (Bengali: মাহাবুবুর রহমান পল্লব) is a Professional Digital Marketer and SEO Expert. He is the Founder & CEO of "Softy Digital - A Digital Marketing Agency". He already help more than 1200+ StartUp in Bangladesh & other Countries. Now he is working with many other BRANDS as a Digital Marketing Expert.
What Am I Doing Here? 🤔
Tags: learning, markdown, testing, html
Published: 2021-03-22 22:59:34

In 2020 a lot of people stayed home and learned many new things. I could have done this.

##I rescued cats.

All summer my computers all broke down, one by one, and rescuing cats was easier.

##I love the cats.

When I finally restored my last remaining computer to working condition, I decided to learn Markdown once and for all. Now here I am.

*I'm finally learning Markdown.*

~~I expect to forget the rules in about an hour.~~

Now I just need to:

1. Finish re-installing apps on my computer.
2. Make dinner.

---

>There are two means of refuge from the miseries of life: music and cats. - *Albert Schweitzer*

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

####About Me:

*Lynda can be found at [Tails From The Backyard](https://www.tailsfromthebackyard.com) where she draws silly pictures of her cats and dog when her computer is working properly.*
The importance of coffee behind development
Tags: healthydebate, productivity, javascript, discuss
Published: 2021-03-22 22:40:55

> A bad day with coffee is always better than a good day without it.

`Hello World!` [My first three #healthydebate](https://dev.to/devlorenzo/series/11376) generated more than 6000 views and 200 comments! So I decided to create another one, it feels so good to have interactions with other programmers! 
I'm interested in the importance of coffee in our everyday life and even more in our developer life. How much coffee do you usually drink in a day? Out of ten, what is the importance of coffee for you? Do you think you can survive a day / a week / a month without coffee? 

> Most don't know, but a developer is someone who turns coffee into code. ☕

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gvo7o1ueecls9jilv1uv.png)

Hey, remember to drop that follow!

While searching online, I found [this very cool](https://dev.to/darkphantom7750/coffee-a-dev-s-heaven-egb) article about [Coffee - A Dev's Heaven](Coffee - A Dev's Heaven).

---

Ps: Tea and other drinks will not be marginalized. 
In this case, What do you usually drink when coding?

---

Remember the comment!

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aqefvymp8s1dxngaeseu.png)
 
Check these articles about [how programmers love to code](https://dev.to/devlorenzo/how-do-you-love-to-code-2l29) / [best operating system for dev](https://dev.to/devlorenzo/windows-or-mac-4f8k)

{% link https://dev.to/devlorenzo/how-do-you-love-to-code-2l29 %}

{% link https://dev.to/devlorenzo/windows-or-mac-4f8k %}

---

Recommended reading:

{% link https://dev.to/devlorenzo/the-ultimate-compilation-of-cheat-sheets-100-268g %}

---

PS: I add another very Italian question; A great debate here in Italy is about the cup, glass, or ceramic?
I'm not kidding, there are those who refuse to drink coffee except in their favorite type of cup. 😂
What do you think about that?


PPS: Here the cup of @panditapan 😍

![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ut154ylxbsno1en67yy.png)

Here another cup 🙃
![image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e41ldgsys3kbc8qy1f2a.png)

 
---

## **[Subscribe to my Newsletter!](https://chipper-motivator-3112.ck.page/05710ea3d3)**
A loooong, and fun, weekly recap for you 
Free PDF version of my articles
Highly customizable inbox
That's --> free <-- and you help me!
How to make your terminal smart? 😎
Tags: terraform, iterm, docker, kubernetes
Published: 2021-03-22 22:37:32

Past few months, I’ve been busy learning Cloud architectures and improving the current workflow at my workplace.

I had few challenges as others might have to choose the right technology and techniques to make things more productive. Having a UX mindset, I think, made pretty good choices and helping me a lot with what I’m doing on my day-to-day tasks.

Today, I would like to share one of the challenges and solutions I found during my learning and implementation.

Like many developers, who work mainly on the command-line interfaces (CLI), I think you might have that same frustrating issues when you have to input the same commands and arguments with different variables, except you already made the script to overcome that. Where I didn’t want to write something from scratch and maintain it where there are tools available to solve that.

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

Luckily, I found Fig in my search. A macOS app for terminal. Yes, an app that works like an add-on but so much powerful. It has a sidebar that attaches to your terminal and gives you handy apps like git, curl, ssh, and many more, and you can build your own.

Few of the features and reason I choose fig:

🌟 Sidebar Apps
🌟 Local execution
🌟 Supports SSH
🌟 Crowdsourced apps and autocomplete

Another cool feature is command autocomplete, which gives you vscode style suggestions. It gives you command completion based on your current dir, state, auth info etc., and I think that’s why they called it 21st centuries terminal.

At this stage, it has more than 20 autocomplete specs for CLI’s and growing. I build one for Terraform, which made my life so easy doing thing commands so easy.

{% twitter 1373792156456951809 %}

You can try it out by downloading from [withfig.com](https://dipak.to/fig) or send me a [message](https://twitter.com/iamdipakparmar/) for an invite.

Currently only available for Mac, Linux version coming up soon.
Overthewire.org Bandit Level 1 -> 2
Published: 2021-03-22 22:32:10

This is the second in a series that will show how I solve the overthewire.org Bandit puzzles as I am completing them.

[Bandit Level 1 → Level 2](https://overthewire.org/wargames/bandit/bandit2.html)

# Level Goal
The password for the next level is stored in a file called **-** located in the home directory

# Walkthrough
This level similar to the first one is to just read the contents of a file to get the password. Login using the password obtained from the first level.

```shell
~$ ssh bandit1@bandit.labs.overthewire.org -p 2220
bandit0@bandit.labs.overthewire.org's password:
```

Once logged in I found a file named - . Running the command 'cat -' does not work as the cat command thinks your entering an option rather then the file name being '-'. 
To read the file '-' I entered the the path to the file.

```shell
bandit1@bandit:~$ ls
-
bandit0@bandit:~$ cat ./-
```

The output from the **cat ./-** command is the password for the next level.
That's the second level completed.
This industry is cruel. (Bytes Of Wisdom: Day 31)
Tags: career, journey, advice
Published: 2021-03-22 22:23:24

---
title: This industry is cruel. (Bytes Of Wisdom: Day 31)
published: true
description: Bytes of Wisdom is a new project by Sam Jarman that brings together snippets of advice for software engineers
tags: career, journey, advice
//cover_image: https://direct_url_to_image.jpg
---

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5kv3hiikac6zwec4hyie.png)


This industry is cruel. It’ll make you feel stupid on a daily basis. It'll remind you of how dumb you once were or how your old decisions have lead to the terrible situation you're in now. You've got to really love this career to put up with this.

The second thing I'll say on this is feeling stupid is a good thing. It means you're learning. Stick with it. It may be cruel, but it's just so rewarding. Stick with it.

Heads up: As with any terse bit of advice, there will be exceptions of course, and subtleties and nuance that can't possibly be captured in a Byte of Wisdom. This has been what I've experienced, I'd love to hear yours in the comments too!

You can catch up with all the other bytes at http://bytesofwisdom.com/
Day 334 : Get Sun
Tags: hiphop, code, coding, lifelongdev
Published: 2021-03-22 22:11:27

_liner notes_:
- Saturday : Super productive day! Got the uploading functionality working on the dashboard portion of my side project. Now I'm able to create the project from the admin side and upload to that project from the dashboard. Then it was time to do the radio show. Had no technical issues so that was great. Also, the show didn't go over the time like normal. haha Did the post show work and got everything uploaded. The recording of this week's show is at https://kNOwBETTERHIPHOP.com

![Radio show episode image of De La Soul in the animated TV show Teen Titans Go with the words Mar 20th 2021 Bait and Switch](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p28xcos89s7ombgpi9c2.jpg)

- Sunday : Did some post radio show promo work. Did some research on recording video from a web page. Part of the dashboard of the side project will also the user to either upload a prerecorded video from their computer or record one from the site. Found a pretty good article that I can use as a base and tweak to fit my needs. Got some food and watched "The Walking Dead" and called it a night.

- Professional : Didn't do the live stream this week. The part I was helping with is basically done. Other members of the team jumped on the stream to talk about their section of the work. It was fun to be a viewer this time. After that, had a meeting with my manager. I've been assigned the task of updating a blog post so I started working on that.

- Personal : Pretty happy that I got the upload stuff working. Not only that, but I abstracted the actual uploading function so I can upload different files from different sections of the dashboard. I may do some more refactor later, but it's working for now. Really want to get the video recorder tool working.

![An overhead view of a beach in Sydney, Australia with a rocky shore covered in yellow-green trees](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cpudlh2oa4lcnuapbz6y.jpg)

Want to take another walk around the park. Normally it would be to get sun, but it's been pretty cloudy and cloud. Going to see if I can get the video recording upload tool working. After that, watch some anime and eat dinner. Then maybe go back to working on the dashboard to get more parts working then head to bed.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 9IcJw8EteSc %}