teleren/devto huggingface dataset:
What are oracles?
Tags: chainlink, cryptocurrency, blockchainoracle, blockchain
Published: 2021-03-18 10:26:03

---
title: What are oracles?
published: true
date: 2021-02-04 13:20:23 UTC
tags: chainlink,cryptocurrency,blockchainoracle,blockchain
canonical_url: https://medium.com/coinmonks/what-are-oracles-bdc5e4a2b6c3
---

[![](https://cdn-images-1.medium.com/max/2050/1*CoHCGDeGObEvFwcDylo3GQ.png)](https://medium.com/coinmonks/what-are-oracles-bdc5e4a2b6c3?source=rss----721b17443fd5---4)

Very often we talk about Decentralized Finance without being clear about what are the foundations that allow having all these protocols on…

[Continue reading on Coinmonks »](https://medium.com/coinmonks/what-are-oracles-bdc5e4a2b6c3?source=rss----721b17443fd5---4)
How to Install and Configure CSF on AlmaLinux 8
Tags: almalinux, linux, linuxfirewall, csf
Published: 2021-02-04 13:17:04

In this article we will learn to install and configure CSF on AlmaLinux 8.

ConfigServer Security & Firewall (it is also called csf in short) is a Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers.

<strong>Prerequisites</strong>
A <a href="https://www.hostnextra.com/dedicated-server.html">AlmaLinux 8 installed dedicated server</a> or <a href="https://www.hostnextra.com/vps-hosting.html">KVM VPS</a>
A root user access or normal user with administrative privileges.

Learn more: <a href="https://www.hostnextra.com/kb/install-and-configure-csf-on-almalinux-8/">Install and configure CSF on AlmaLinux 8</a>
Daily Developer Jokes - Thursday, Feb 4, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-02-04 13:00:19

---
title: "Daily Developer Jokes - Thursday, Feb 4, 2021"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Thursday%2C%20Feb%204%2C%202021"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259082460c.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Why do kayakers make bad programmers?

___A:___ Because they're afraid of waterfall.
 -->
Activate Logging for Azure Web App for Containers
Tags: logging, azuremonitoring, monitorapps, azureloganalytics
Published: 2021-02-04 16:41:36

---
title: Activate Logging for Azure Web App for Containers
published: true
date: 2021-02-04 12:54:44 UTC
tags: logging,azuremonitoring,monitorapps,azureloganalytics
canonical_url: https://medium.com/@bervianto.leo/activate-logging-for-azure-web-app-for-containers-d67a857854cf
---

#### Why my logs not shown?

I will assume you are already have deployed the applications at Azure Web App, but it show nothing at Log Stream. Here is the Log stream looks.

![](https://cdn-images-1.medium.com/max/944/1*f-wQqaQa2sOQjgRMWvCe-Q.png)<figcaption>Log stream</figcaption>

**Log stream** menu under **Monitoring** section.

When you have warning about the **App Service logs** not activated, you come to the right place. You need to go **App Service logs** menu under **Monitoring** section **.**

![](https://cdn-images-1.medium.com/max/948/1*-J-BC_WEQx8gIKeZJLRlpw.png)<figcaption>App Service logs</figcaption>

Click the Application Logging menu to **File System**. Define the **Quota (MB)** and **Retention Period (Days)** with your needs, as my example fill about 35 MB and 5 Days, I fill low number because this is only for testing/development for the Production maybe you will need higher quota and longer retention period. After finished, you can try again into **Log stream** and also do any tasks that will trigger the logs.

### Another Options to Get Logs

Anyway, this step only to find the logs same as **Log stream** , but not about to activate it.

#### Linux

Visit this: _https://<Your-app-name>.scm.azurewebsites.net/_

You will get pages like this

![](https://cdn-images-1.medium.com/max/1024/1*EVwjVtOxd37__J_UM-a_VQ.png)<figcaption>Kudu — Azure App Service</figcaption>

You can try check the logs by click **Current Docker logs** or if you need download the logs, click **Download as zip**.

### More Information

If you need more information about to get logs, it will good if you try to check the Azure Documentation. Here the link: [https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs](https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs)

This is part of learning this module: [https://docs.microsoft.com/en-us/learn/paths/az-400-develop-instrumentation-strategy/](https://docs.microsoft.com/en-us/learn/paths/az-400-develop-instrumentation-strategy/)
This post should appear on my blog automatically
Tags: nextjs, devto, react, ssr
Published: 2021-02-04 12:52:06

---
title: This post should appear on my blog automatically
published: true
canonical_url: https://juliangaramendy.dev/blog/cross-posting
description: My personal site uses a Next.js **Incremental Static Regeneration**. Posts published on dev.to automatically appear on my blog.
tags: nextjs, devto, react, ssr
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/evhxktmqljw7kx2nnhls.jpg
---

My personal site uses a Next.js **Incremental Static Regeneration**. Posts published on dev.to automatically appear on my blog.

The `canonical_url` for this post is [https://juliangaramendy.dev/blog/cross-posting](https://juliangaramendy.dev/blog/cross-posting).

That page should contain the same article, as soon as it's published on dev.to, **without re-deploying**.

Here's how it works: [Using Dev.to as CMS for my Next.js blog](https://dev.to/juliang/using-dev-to-as-cms-for-my-next-js-blog-1aan)

----

Photo by [Manki Kim](https://unsplash.com/@kimdonkey)</a> on [Unsplash](https://unsplash.com).
Welcome to Intuitive Tech!
Published: 2021-01-25 03:42:10

Hello everyone!

# Introduction

My name is Alex and I am a junior at Penn State University. I am studying Information Sciences & Technology (IST). This major is basically a mix of business/IT and computer science. I am also pursuing a minor in Supply Chain Management, which I think will give me an edge against any people I may be competing with for a job position. After graduating, I'm not completely sure yet which career path I would like to pursue. IT Consulting is one of the areas that I have really enjoyed so far, so that is definitely a top contender between possible career paths. 
Technology has always been an area/topic that has interested me. I grew up surrounded by devices which is probably what led to my inclination. When deciding what I wanted to major in at school came pretty easily to me -- something tech. This is why I love the major I chose. It combines both of the things that I love and I really couldn't see my self doing anything else. 
Since I was 16, I've been working part-time jobs in the food industry. These jobs have taught me a lot about hard-work, time management, communication, and resilience. This summer I am going to have my first professional internship which is something I am very excited about. I can't wait to take what I've learned in the classroom and apply it to a real world solution. I'm not exactly sure if the position is going to be virtual or in-person, but I'm looking forward to it regardless.  

# Visual Studio Code

In the video attached below, I will be talking about how to set up a simple HTML file in Visual Studio Code and I will show some of my favorite/most useful plugins. Though I have not had a lot of experience programming HTML, I really enjoy using Visual Studio and I would definitely consider using it in the future for any other programming needs. Visual Studio also makes it very easy for users to acquire plugins to customize the program so its catered to them. 
I have only taken one course that revolves around HTML and CSS and web development in general. I thought the class was very interesting but I feel like I didn't become as well-rounded with the language as I should've. Being that I have a background in programming primarily with Java and Python, I thought the language itself was fairly easy to pick up-- it doesn't feel like it takes a great deal of technical skills in order to effectively use it. Though I am more interested in back-end development than front-end, I think that HTML is very interesting and something that I would consider learning more about given the opportunity. 

{% youtube EiXWzua7lqk %}
How to Install Ruby on Rails on Ubuntu 20.04 LTS
Tags: rails, technology, ubuntuupgrade
Published: 2021-02-25 12:54:36

---
title: How to Install Ruby on Rails on Ubuntu 20.04 LTS
published: true
date: 2021-02-04 12:49:15 UTC
tags: RubyonRails,Technology, Ubuntuupgrade,rails
canonical_url: https://www.botreetechnologies.com/blog/ubuntu-upgrade-existing-rails-application/
---

![Ubuntu upgrade from 18.04 to 20.04 LTS: Installation Requirements for an Existing Rails Application](https://www.botreetechnologies.com/blog/wp-content/uploads/2021/02/ubuntu-upgrade.jpg)

Upgrading Ubuntu from 18.04 – 20.04 is easy and takes a few moments. When it comes to [Ruby on Rails app development](https://www.botreetechnologies.com/ruby-on-rails-development), you need the latest version of Ubuntu to achieve smooth performance. 

The command for upgrade is shown below:

__sudo apt update && sudo apt upgrade__

After upgrading Ubuntu, some sets of binary libraries were found missing while bundling the dependencies and serving the rails application. 

You will also notice the following enlisted set of errors arising while serving the bundling the dependencies or serving the Rails application or if there are missing SSL certificates for a specific ruby version in the local machine:

__Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
GYou must add /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root
CA to your local trusted store__

                          OR

__An error occurred while installing nokogiri (Nokogiri Version),
and Bundler cannot continue.__

                          OR

__-bash: cd: /usr/share/rvm/usr/ssl: No such file or directory__

                          OR

__SSL_connect returned=1 errno=0 state=error: certificate verify failed__

If you are facing any issues related to the specific nokogiri version used for existing Ruby on Rails rapid application development or SSL/CA certificates. 

Then, install the following packages to successfully bundle the dependencies and serve Ruby on Rails application development:

The post [Ubuntu upgrade from 18.04 to 20.04 LTS: Installation Requirements for an Existing Rails Application](https://www.botreetechnologies.com/blog/ubuntu-upgrade-existing-rails-application/) appeared first on [BoTree Technologies](https://www.botreetechnologies.com/blog).
Too quick, What hoisting really is ?
Tags: javascript, fancywords
Published: 2021-02-04 12:48:51

---
title: Too quick, What hoisting really is ?
published: true
description: understanding hoisting
tags: Javascript, fancywords
cover_image: https://miro.medium.com/max/660/1*RbMacHBAn9q1FVtRz5wBRA.png
---

Simply, **Hoisting** in javascript is a memory space that the javascript engine sets up before executing your code.

it sets up a memory space for your variables and functions, that's what explain when you call your function and then actually create it, works.

code example:
```js
add(2, 2) // this will work fine and it will return 4

function add(a, b){
  return a + b;
}

console.log(x); // this will return "undefined" 

var x;
```

if you rewrite this code in languages like python, php or go, it will throw an error, because the function is called before its defined and the variable too.

but as I said before, the javascript engine creates a memory space for your functions and variables too and it sets the value of the variables as "undefined".

so when the javascript engine start to execute your code it sees the `add()` function, and it recognize it cause its already in its memory, so it execute it without any issues, and for the variable too, it sees the `x` variable and it recognize it, but the value is set to "undefined" by default so it returns it.

some articles say that the javascript engine moves the variables and functions to top, thats not it, javascript engine doesn't do that, it just remember them cause they are already in its memory.
Test-gen: Quickly Generate test cases using interactive CLI
Tags: showdev, testing, typescript, programming
Published: 2021-02-04 12:46:22

Hi 👋, Competitive Fans! 

Sometimes generating test-cases in between the contests to finding bugs is a bit tedious when it comes to generating tests for complex pattern strings, trees, or graphs.

Here I come with a solution, A minimal interactive-CLI that can generate test-cases of almost all input types. It also allows us to leverage the Regular Expression's power to generate complex test-cases and make CLI simpler. 


![demo](https://dev-to-uploads.s3.amazonaws.com/i/vhnbevofecek0ylj9s87.gif)

`Node.js` and `NPM` are needed to install this CLI.

### Install

```bash
$ npm i -g @rohitbakoliya/test-gen

# or without installing it globally
$ npx @rohitbakoliya/test-gen
```

## Usage

```bash
$ test-gen
```

## Built With

* Node
* Typescript
* [More deps](https://github.com/rohitbakoliya/test-gen/blob/093ce77d4ab6e1a1bf6d406e3b1e007f9bbddb92/package.json#L79)

## What's Next?

The initial release doesn't support command-line arguments and custom seed value, no need though but some of may prefer to use, so I'll probably work on these.

In case you are curious, here's the source code 👇
{% github rohitbakoliya/test-gen no-readme %}


If you found any bug, feel free to open up an [issue](https://github.com/rohitbakoliya/test-gen/issues/new?assignees=&labels=bug&template=bug_report.md&title=).

> Thank you for reading!
> I'd love to hear your thoughts on the project.
> Have a nice day 😄
mkdir Command in Linux
Tags: linux, mkdir, mkdircommand, mkdirinlinux
Published: 2021-02-04 12:45:47

mkdir Command helps to create new directories. If the directory present already in the case doesn’t create new directories and gives a warning message inside the terminal.

Syntax:
```
mkdir [OPTION]... DIRECTORY...
```

![mkdir command output ](https://dev-to-uploads.s3.amazonaws.com/i/6kwuv7fkuhdfjx8hjhjn.png)

---

### Command Options
#### mkdir -m=Mode linuxBook
-m Option help to assign  new permission on creating time (Like in chmod)

#### Mode Options:
rwx: read-write execute permission on this file
wx: only write execute permission on this file
rx: only Read execute permission on this file
rw: only Read execute permission on this file

![mkdir -m option output ](https://dev-to-uploads.s3.amazonaws.com/i/fa19u9pcow0et0y3tczo.png)

---

####  mkdir -p or mkdir --parents
-p option does not show an error if the directory exists.  also, the directory that exists then overwrites your directory. your directory does not exist then create a new directory.


![mkdir -p option output](https://dev-to-uploads.s3.amazonaws.com/i/54cjeqn6oqj33bck0fdl.png)

---

####  mkdir -v or mkdir --verbose
check working behind mkdir command and print a message in the terminal after each created directory

![mkdir -v flag output](https://dev-to-uploads.s3.amazonaws.com/i/ay1l8lq390t4qw6kkf0n.png)

---

####  mkdir --help
display this help and exit

![mkdir --help flag output](https://dev-to-uploads.s3.amazonaws.com/i/p3h8yhxbam3yh0xa4qk2.png)

---

####  mkdir --version
output mkdir command version information.

![mkdir --version flag output](https://dev-to-uploads.s3.amazonaws.com/i/0sb8y2azwg13btrvzmst.png)

---

####  man mkdir
print mkdir manual page Information Inside Your Cmd Tool.
![man mkdir output](https://dev-to-uploads.s3.amazonaws.com/i/ebz52z0p5jb72uqhweay.png)

---

####  Hire me:

##### Fiverr:
https://www.fiverr.com/users/officialrajdeep/

##### Upwork:
https://www.upwork.com/freelancers/~01a4e8ba7a41795229

---

####  Contact me
* https://www.facebook.com/officialrajdeepsingh/
* https://medium.com/officialrajdeepsingh
* https://www.officialrajdeepsingh.dev/
* officialrajdeepsingh@gmail.com
Bootstrap 5 CheatSheet By ThemeSelection! 🚀
Tags: beginners, webdev, javascript, css
Published: 2021-02-04 12:43:02

## What is Bootstrap 5 CheatSheet?

It is an interactive list of Bootstrap 5 **classes**, **variables** and **mixins**.🎁 It helps you easily find the differences between Bootstrap 4 and Bootstrap 5.🎊 The only **[Bootstrap 5 CheatSheet](https://bootstrap-cheatsheet.themeselection.com)** you will ever need whether you are upgrading your Bootstrap 4 project or starting a new Bootstrap 5 project.

Bootstrap 5 CheatSheet is aimed towards a large community of bootstrap users who find it difficult to search for bootstrap classes, variables, and mixins.


### Key Features 🛠

 - Search for your class, variable, or mixin
 - Highlight Difference Between Bootstrap 4 & 5 Classes
 - Live preview of HTML &  code snippet
 - Update code snippet on the go
 - Easily copy the code snippet and use it


### Contents 🤩


| Bootstrap 5 CheatSheet | URL |
|--|--|
| Classes | https://bootstrap-cheatsheet.themeselection.com/ |
| Variables | https://bootstrap-cheatsheet.themeselection.com/variables.html |
| Mixins | https://bootstrap-cheatsheet.themeselection.com/mixins.html |


[![Sneat Bootstrap 5 HTML Admin Template](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s9qh271yn442f6embri7.png)](https://themeselection.com/item/sneat-bootstrap-html-admin-template/)
Check out this impressive  [Bootstrap Dashboard template](https://themeselection.com/item/category/bootstrap-admin-templates/):  [**Sneat Bootstrap 5 HTML Admin Template**](https://themeselection.com/products/sneat-bootstrap-html-admin-template/)


### Contributing 📝

Git Repo: https://github.com/themeselection/bootstrap5-cheatsheet

If you find something which doesn't make sense, or something doesn't seem right, please make a pull request and please add valid and well-reasoned explanations about your changes or comments.

Before adding a pull request, please see the **[contributing guidelines](CONTRIBUTING.md)**. You should also remember about this:

All **suggestions/PR** are welcome!

### Credits 🤘
| Name | URL |
|--|--|
| Bootstrap | https://getbootstrap.com/ |
| Ace Editor | https://ace.c9.io/ |
| Shuffle JS | https://vestride.github.io/Shuffle/ |
| Humans | https://wannathis.one/humans |

### Feedback 📒

Check our live tool (https://bootstrap-cheatsheet.themeselection.com/) and share your ideas, suggestions & feedback.

You can also check Sneat **[Bootstrap 5 HTML Admin Template](https://themeselection.com/products/sneat-bootstrap-html-admin-template/)**, **[Free Figma Bootstrap 5 UI Kit](https://themeselection.com/products/free-figma-bootstrap-ui-kit/)** and **[Free Sketch Bootstrap 5 UI Kit](https://themeselection.com/products/free-sketch-bootstrap-ui-kit/)**

Stay Safe 🙏
Criando uma extensão para o Chrome
Tags: javascript
Published: 2021-02-04 12:30:50

Hoje vou mostrar como criar um simples extensão para o chrome. Uma extensão bem boba, que muda(levando para um lado mais cômico) o nome de uma série por outra :p 


# Estrutura de pastas do projeto

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

## Arquivos 

 **content.js** 
```js
document.body.innerHTML = document.body.innerHTML.replace(new RegExp("(how i met your mother|How I Met Your Mother|HIMYM|himym)", "g"), "Friends is Better");
```
Em **content.js** é feito uma regex que basicamente vai substituir as palavras passadas por: **Friends is Better**
Ou seja, no navegador, ao aparecer uma das palavras passadas, automaticamente será substituída por **Friends is Better** :)

**manifest.json** 

```json
{
    "manifest_version": 2,
    "version": "0.0.1",
    "content_scripts": [{
        "matches": [
            "*://*/*"
        ],
        "js": [
            "content.js"
        ],
        "run_at": "document_end"
    }],
    "name": "Friends is Better",
    "description": "Extensão que muda o nome daquela cópia barata de friends",
    "author": "Emerson Vieira",
    "browser_action": {
        "default_title": "Friends is Better",
        "default_icon": "icon.png"
    }
}
```

## Carregando a extensão no Chrome

Na barra de navegador, coloque: chrome://extensions/
Na tela que abrir, clique em: Carregar sem compactação
Na pasta do projeto, selecione a pasta: extension 
E pronto, sua extensão será carrega e já estará pronta para uso 

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

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

## Até a próxima :)

link do projeto: https://github.com/mensonones/friendsbetter
I built a collaborative list of resources for developers
Tags: showdev, tooling, webdev, productivity
Published: 2021-02-04 12:26:37

Hi everyone! 👋

I'm so excited to share with you what I've been creating, but let me start by explaining how Dev Resources came to be.

DR started as my personal compilation of resources for development. After a few years of (messy) bookmarking, I decided it was time to put everything in one place, categorized and most importantly, available for everyone.

Since its release (October 2020), many devs have contacted me to add their own creations and favourites, increasing, even more, the number of resources.
With that said, you can already guess: DR has all the things I like and find important for software development, but it can also have what you want.

Here's a brief of what you can find there:

🛠 tools
🧩 assets
🧪 learning
👨‍💻 jobs
💰 product offers
➕ and a lot more

But you know what makes it even better?

The resources list is now open source, so everyone can contribute and be a part of it! 🤝

I hope that together we can create the biggest repository of resources for developers, so we can easily find what we need, share our creations and stay updated with new releases.

I'm planning a few more things for the next months:

📬 newsletter with trending resources, deals and updates (already on the making)
⬆️ upvoting to help amazing projects stand out
🔖 bookmarking for a more personalised experience
☎️ communication between devs and makers
🔥 and whatever else you guys find useful, after all, Dev Resources is made from us to us

I launched it on Product Hunt today, and I'd love your feedback on it. It's my first time launching something there, and I've postponed it many times, always trying to get some more things done, but I think the current state is already good enough for a launch.

Anyway, I'd love to hear what you think of it!

Dev Resources: https://devresourc.es
Resouces list and public API: https://github.com/marcelscruz/dev-resources
Product Hunt: https://www.producthunt.com/posts/dev-resources

That's it, have a nice day and enjoy Dev Resources! 🤘