teleren/devto huggingface dataset:
Oracle Linux 7 yum ++
Tags: oracle, linux, yu, cloud
Published: 2020-02-16 22:45:43

Theres more than meets the eye to Oracle Linux 7 yum as well as the default yum repo there are also BONUS yum repos for EPEL, NODE etc

```
# yum repolist
Loaded plugins: langpacks, ulninfo
repo id                                      repo name                                                                                      status
ol7_UEKR5/x86_64                             Latest Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64)                  228
ol7_addons/x86_64                            Oracle Linux 7Server Add ons (x86_64)                                                             400
ol7_developer/x86_64                         Oracle Linux 7Server Development Packages (x86_64)                                              1,177
ol7_developer_nodejs10/x86_64                Oracle Linux 7Server Node.js 10 Packages for Development and test (x86_64)                        100
ol7_ksplice                                  Ksplice for Oracle Linux 7Server (x86_64)                                                       4,138
ol7_latest/x86_64                            Oracle Linux 7Server Latest (x86_64)                                                           16,356
ol7_oci_included/x86_64                      Oracle Software for OCI users on Oracle Linux 7Server (x86_64)                                    136
ol7_optional_latest/x86_64                   Oracle Linux 7Server Optional Latest (x86_64)                                                  11,986
ol7_software_collections/x86_64              Software Collection Library release 3.0 packages for Oracle Linux 7 (x86_64)                   14,366
repolist: 48,887

```

And if you are running Oracle Linux 7 in the cloud you can connect to yum mirrors in different Oracle Cloud Infrastructure (OCI) regions

http://yum.oracle.com/getting-started.html
What are your favorite/most useful GitHub Gists and/or CodePen samples?
Tags: discuss, vscode, showdev, webdev
Published: 2020-02-16 22:42:22

---
title: What are your favorite/most useful GitHub Gists and/or CodePen samples?
published: true
description: 
tags: discuss, vscode, showdev, webdev
---

Hi all! I built GistPad (https://aka.ms/gistpad), which is a VS Code extension that allows you to create, share and [talk](https://twitter.com/JustinWGrote/status/1217129224013676544) about [code samples](https://twitter.com/NMeuleman/status/1220483530700075009), documentation, [tutorials](https://twitter.com/LostInTangent/status/1228780570932498432), and interactive [playgrounds](https://twitter.com/LostInTangent/status/1211342492324388864), all backed by GitHub Gists (that way you keep/manage your own data!).

{% twitter 1207718123241033728 %}

In order to help new users get started quicker, and spark the imagination of what can be done with GistPad and GitHub Gists, I'm adding a  new "showcase" view that will highlight some of the most interesting and useful examples across the community. The showcase will include multiple categories and will be updated every week. That way, we can drive weekly "challenges" (e.g. coolest outer space playgrounds) and continuously keep the content "fresh".

Below is what GistPad and the new showcase will look like (categories/gists are for illustration purposes). 
However, before I release the showcase v1, I need your help! In order to ensure the initial showcase is as compelling/diverse as possible, I'd love to hear from folks about what their favorite GitHub Gists, CodePen pens, [Bl.ocks](https://bl.ocks.org), etc. are. The content/subject matter can be literally anything, as long as you find it cool. I'll then use folks votes to start the showcase, and then we can iterate from there 👍

<img src="https://dev-to-uploads.s3.amazonaws.com/i/6e650fjc85iryubnwllc.png" width="300px" />
What is CNCF Cloud Native ? & What is OCI Cloud Native ?
Tags: cloud, cncf, devops, serverless
Published: 2020-02-16 22:29:58

What is CNCF Cloud Native ?

https://dev.to/azure/what-is-cloud-native-388i
https://dev.to/raghwendrasonu/what-is-cloud-native-31f5
https://dev.to/cloudskills/cloud-native-patterns-and-practices-540c
https://dev.to/ahmedat71538826/defining-cloud-native-apps-and-why-you-should-care-36n

What is OCI Cloud Native ?

https://www.oracle.com/uk/it-infrastructure/software.html
https://www.oracle.com/uk/a/ocom/docs/oracle-linux-cloud-native-environment-ds.pdf
Oracle Linux 7 on Raspberry Pi / ARM
Tags: raspberrypi, arm, embedded
Published: 2020-02-16 22:22:12

It may be obvious by now that I am a 'lazy' 'ONE pkg person' for example ive been using Firefox on every home/corp desktop and VirtualBox on every home/corp desktop for many years now ! 

Yes I know there are OTHER browsers and OTHER hypervisors but I only want to learn ONE tool whatever my hardware platform is !

That is my excuse why my Raspberry Pi's B/B+ have been gathering dust as i cant face learning a distro (raspbian ?) JUST for ARM. So at OOWLON last week I was shocked to learn Oracle Linux 7 has been available for over 2 years (and that there is a specific oracle yum repo for ARM - apparently  AARCH64 means ARM) 

* http://yum.oracle.com/
* http://yum.oracle.com/repo/OracleLinux/OL7/latest/aarch64/index.html

See also
* https://fsse8info.wordpress.com/2020/02/16/oracle-linux-7-on-arm-raspberry-pi/
* https://fsse8info.wordpress.com/2020/02/16/oracle-linux-7-edu-hcl-kernel-kvm/
📮 MqttTopicBuilder: build valid and verified MQTT topics
Tags: showdev, csharp, mqtt, opensource
Published: 2020-02-16 21:55:11

:wave: Everyone !

Lately I worked with [MQTT](http://mqtt.org/) in C# for a big project in my company. I already had the opportunity to work with it in the past, mostly in C and Python, and with other developers familiar with it.

However MQTT is not widely used in our projects and for most of the people I worked with, it was something new. Understanding its core concepts and limits was fun but sometimes they were feeling a lack of support from the libraries used for the communication while configuring them.

In fact, it is true that topics are strings values but embedding specific logic. Therefor they are much more complex that _just_ strings and could be represented by a logic structure.

That's why I built [`MqttTopicBuilder`](https://github.com/pBouillon/MqttTopicBuilder): to encapsulate the inner logic of MQTT's topics and to provide help to developers who may want a more robust support for it.

## The project

{% github pbouillon/MqttTopicBuilder no-readme %}

`MqttTopicBuilder` is a tool allowing developers to delegate topic construction's logic to another entity to safely build MQTT topics without checking every constraints required by the protocol. 

To help people mastering MQTT and this tool, I wrote a small wiki both [on MQTT Topics](https://github.com/pBouillon/MqttTopicBuilder/wiki/MQTT-Topics) and on [MqttTopicBuilder's usage](https://github.com/pBouillon/MqttTopicBuilder/wiki).

The project is build in C# with .Net Core 3.1 but I will work on making it available for as much configurations as possible.

The test coverage for the project is around 95% (without including exceptions constructors in the coverage profile).

It is also [available on NuGet](https://www.nuget.org/packages/MqttTopicBuilder/) as a ready-to-use library for your C# projects !

## Hidden goal: diving into the open-source

I find open-source awesome: it allows people all around the world to exchange and collaborate, the culture it spreads, etc. I'm a huge fan.

I already had a GitHub profile but no projects really open-source ready (no wiki, no contributing guide, etc.)

With this project, I tried to prepare as many resources as I can from [a wiki](https://github.com/pBouillon/MqttTopicBuilder/wiki) to [a contributing guide](https://github.com/pBouillon/MqttTopicBuilder/blob/master/CONTRIBUTING.md) and even [a CI/CD](https://github.com/pBouillon/MqttTopicBuilder/actions).

With it, I hope to help a little the open-source community and provide a better tool for people who may need it, with high code and quality standards.

## Last words

You got it, contributions are welcomed ! But so is your feedback. I'm still a young developer and far from mastering everything, I would gladly hear your advice if you have any !

---

Credits:  
Cover photo by Oleg Magni from Pexels
Is really open source community exist? Could they give some feedback?
Tags: react, component, table, help
Published: 2020-02-16 21:50:11

Hi dev community, I believe somebody is a React developer here.
Then could you please take a look at my component ka-table? [Github link](https://github.com/komarovalexander/ka-table) [Demos link](https://komarovalexander.github.io/ka-table/#/overview) 
I've worked on it for almost half a year in my free time, and have long terms plans to continue doing it. I know the pros and cons of this table, and I have some plans for how to do it better. This component is fully free and under the MIT license. If you have free twenty minutes, please try it and give some feedback - thanks!
UI/UX communities to follow / Where to find help with UI/UX design?
Tags: design, ui, ux, beginners
Published: 2020-02-16 21:24:08

Hi!

I've just finished with design for my first freelance project and about to start coding it.
Although I am satisfied how it looks, I would love to ask for critique from experienced UI/UX designers to further improve my design.

Which communities/networks you recommend for this ?
Where could I find help?
Block Promoted Tweets on Twitter using Brave
Tags: twitter, brave
Published: 2020-02-16 21:20:24


If like me, you'd like to stop seeing obnoxious "Promoted" tweets in your Twitter feed, then this article for you! 

I get it. Ad revenue powers the web. But in 2019, Twitter's annual revenue came to 3.46 billion U.S. dollars. So I'll sleep just fine tonight.

Note that this only works if you are using Brave as your browser, but I might ask why you aren't using it already. :)

Brave has a feature where you can filter HTML elements based on a CSS selector. As luck would have it, Twitter marks it's promoted tweets with a `data-testid="placementTracking"`.

To set this in Brave:

1. Navigate to Twitter.
1. Right-click anywhere on the background and select the `Brave` then `Block element via selector`.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ny3mu5x4k7xk7hbmsonr.png)
1. A popup dialog will appear like this.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/58d6y11pvjrvdbeueirk.png)
1. Enter `div[data-testid="placementTracking"] article` in the text box and click the `OK` button.

That's it! Your feed will now be free from obnoxious ads for automobile companies, mobile phones, and others.

>Note: Twitter could change it's markup at any time, making this selector invalid. If/when they do, I'll do my best to update the instructions.


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/3n9veh6i2v4o73c0uw45.gif)
Why did I stray from Oracle Linux 7 and waste the last few years on Canonical/Debian/Ubuntu ?
Tags: gnulinux, distro, devops, sysadmin
Published: 2020-02-16 20:51:30

Yes my loyalty can be bought with [CodeCards]() and [CupCakes]() BUT lasting loyalty can only be bought with extreme tech and from my recent posts (and my next posts) you will see that extreme tech exists in Oracle Linux 7 on AMD64, ARM & Cloud !

The ONE distro dream is almost here ! Oracle Linux 7 only needs XFCE and chromium to be the perfect distro !
Its time to learn to ❤️ Oracle Linux 7 systemd
Tags: sysadmin, systemd, devops, devsecops
Published: 2020-02-16 20:43:05

Its time to learn to ❤️ Oracle Linux 7 systemctl & systemd

```
# systemctl list-unit-files

UNIT FILE                                     STATE   

proc-sys-fs-binfmt_misc.automount             static  
```

See also
* https://dev.to/mayeu/running-systemd-commands-on-remote-host-from-your-local-host-2jea
* https://dev.to/suntong/autostart-docker-container-with-systemd-5aod
* https://dev.to/djmoch/hardening-services-with-systemd-2md7
* https://dev.to/sematext/how-to-centralize-logs-linux-system-journal-jpa
* https://dev.to/macnux/everything-you-need-to-know-about-linux-logs-4ppo
Tabela de caracteres Base64 completa – Codificação/Decodificação
Tags: tech, ascii, base64, deconding
Published: 2020-03-14 19:31:26

---
title: Tabela de caracteres Base64 completa – Codificação/Decodificação
published: true
date: 2020-02-16 20:29:31 UTC
tags: Tech,ascii,base64,deconding
canonical_url: https://marquesfernandes.com/tabela-de-caracteres-base64-completa-codificacao-decodificacao/
---

O alfabeto Base64 contém 64 caracteres [ASCII básicos](https://marquesfernandes.com/codigo-ascii-tabela-ascii-completa) que são usados para codificar dados. Sim, isso mesmo, apenas 64 caracteres são suficientes para codificar qualquer dado, de qualquer tamanho.

## Os caracteres do alfabeto Base64 podem ser agrupados em quatro grupos:

- Letras maiúsculas (0-25): `ABCDEFGHIJKLMNOPQRSTUVWXYZ`
- Letras minúsculas (26-51): `abcdefghijklmnopqrstuvwxyz`
- Dígitos decimais (52-61): `0123456789`
- Símbolos especiais (62-63): `+/`

A codificação Base64 diferencia maiúsculas de minúsculas, portanto ao tentar decodificar fique atento que as variação do alfabeto pode alterar todo o seu resultado.

A codificação [Base64](https://pt.wikipedia.org/wiki/Base64) é frequentemente utilizada quando existe uma necessidade de transferência e armazenamento de dados binários para um dispositivo designado para trabalhar com dados textuais. Esta codificação é amplamente utilizada por aplicações em conjunto com a linguagem de marcação XML, possibilitando o armazenamento de dados binários em forma de texto.

Confira as tabelas completas dos grupos mencionados acima:

### Letras maiúsculas

| Index | Carácter |
| --- | --- |
| 0 | **A** |
| 1 | **B** |
| 2 | **C** |
| 3 | **D** |
| 4 | **E** |
| 5 | **F** |
| 6 | **G** |
| 7 | **H** |
| 8 | **I** |
| 9 | **J** |
| 10 | **K** |
| 11 | **L** |
| 12 | **M** |
| 13 | **N** |
| 14 | **O** |
| 15 | **P** |
| 16 | **Q** |
| 17 | **R** |
| 18 | **S** |
| 19 | **T** |
| 20 | **U** |
| 21 | **V** |
| 22 | **W** |
| 23 | **X** |
| 24 | **Y** |
| 25 | **Z** |

### Letras minúsculas

| Index | Carácter |
| --- | --- |
| 26 | **a** |
| 27 | **b** |
| 28 | **c** |
| 29 | **d** |
| 30 | **e** |
| 31 | **f** |
| 32 | **g** |
| 33 | **h** |
| 34 | **i** |
| 35 | **j** |
| 36 | **k** |
| 37 | **l** |
| 38 | **m** |
| 39 | **n** |
| 40 | **o** |
| 41 | **p** |
| 42 | **q** |
| 43 | **r** |
| 44 | **s** |
| 45 | **t** |
| 46 | **u** |
| 47 | **v** |
| 48 | **w** |
| 49 | **x** |
| 50 | **y** |
| 51 | **z** |

### Dígitos

| Index | Carácter |
| --- | --- |
| 52 | **0** |
| 53 | **1** |
| 54 | **2** |
| 55 | **3** |
| 56 | **4** |
| 57 | **5** |
| 58 | **6** |
| 59 | **7** |
| 60 | **8** |
| 61 | **9** |

### Símbolos

| Index | Carácter |
| --- | --- |
| 62 | **+** |
| 63 | **/** |

O post [Tabela de caracteres Base64 completa – Codificação/Decodificação](https://marquesfernandes.com/tabela-de-caracteres-base64-completa-codificacao-decodificacao/) apareceu primeiro em [Henrique Marques Fernandes](https://marquesfernandes.com).
Learn C# Through Console Games
Tags: csharp, gamedev, console
Published: 2020-01-29 04:53:25

---
title: Learn C# Through Console Games
published: true
description: An argument for learning C# through console games.
tags: csharp, gamedev, console
---

Learning to program for the first time (or just picking up a new language) can be frustrating. Many languages have documentation that covers the basic features of the language, and that documentation is usually the best place to start, but once you complete that... **What do you do now?**

This is one of the most common questions I see beginner developers asking (especially self-taught developers). They learn the basics but they don't know how/where to start on their first actual project. There are tons of ideas that make great starter projects, such as a console math calculator, movie library manager, or file I/O operations (perhaps with csv files).

**However, the most important thing about your first project is to choose something that you will actually enjoy and be motivated to complete.** If you don't complete your first project in a new programming language, it will likely lead you to resent the language.

Most programmers enjoy video games so why not make a game? Making small games (especially for the console/terminal) is a great way to get started, and it will definitely help you learn a programming language.

My programming language of choice is C#, and in attempts to help more programmers learn how to code C#, I started a GitHub project with game examples implemented as .NET Core (C#) console applications:

GitHub: https://github.com/ZacharyPatten/dotnet-console-games

As of writing this article, I have already implemented 8 games in the GitHub project, and each of them is only a few hundred lines of code. Making a game might be easier than you think.

So if you want to learn C# (or know someone else who does) and making a game sounds fun, I encourage you to give it a shot. Play the games in the GitHub project and pick one you want to try to make. Try to code the game yourself from scratch, but if you ever get stuck, you have a working example to refer to. Then if/when you complete your own version of the game, compare it to the provided example. Your implementation might be better than my version. :)

Good Luck!
What You Need To Do To Become A Great Developer?
Tags: javascript, python, devops, help
Published: 2020-02-16 20:01:30


>There are a ton junior developers learning to program for the first time. This is amazing since we always need more programmers, but it means that it is increasingly difficult to standout among the crowd of junior developers. In this video I will be sharing with you the steps that you can take in order to go from a good developer to a great developer and standout from the rest of the crowd. These are the exact steps and processes I took which made me standout far above the competition when applying for my first full time job.

{% youtube FNk2NYW-13k %}
Firebase Rest on Raspberry Pi
Tags: dotnet, csharp, iot, firebase
Published: 2020-02-16 19:54:59

---
title: Firebase Rest on Raspberry Pi
published: true
description: How I've used Firebase on the Raspberry Pi in my dotnet iot project.
tags: dotnet, csharp, iot, firebase
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/ip9pil3e1b1f3srf3245.jpg
---

I’ve tried to use Google’s Firebase with the Firebase Admin SDK in my C# project. The good news is that the Admin SDK is easy to use and all you need to do is call two methods. The authentication part is handled by an environment variable which points to some .json file which you download. The bad news is that the SDK depends on gRPC and the dotnet version of it doesn’t work well on the Raspberry Pi.

What I’m going to do is to replace the admin SDK with simple REST API calls, this way I can post data to Firebase from anywhere, at this moment I only want to post data from the Raspberry Pi.

I’ve been browsing the [REST API Reference](https://firebase.google.com/docs/firestore/reference/rest/) docs in in order to figure it out how to make requests and after some time of experimenting and reading the documentation I’ve translated by hand a simple telemetry request from my Raspberry Pi into a restful Firebase request.

This is how it looks like in the Firebase format:

PATCH https://firestore.googleapis.com/v1/projects/project_name/databases/(default)/documents/collection_name/doc_id

```json
{
	"name": "batman",
	"fields": {
		"source": {
			"stringValue": "NucuCar.Sensors"
		},
		"timestamp": {
			"timestampValue": "2019-12-01T23:26:13.5537227+02:00"
		},
		"data": {
			"arrayValue": {
				"values": [
					{
						"mapValue": {
							"fields": {
								"sensor_state": {
									"integerValue": 2
								},
								"cpu_temperature": {
									"doubleValue": 48
								},
								"_id": {
									"stringValue": "CpuTemperature"
								}
							}
						}
					},
					{
						"mapValue": {
							"fields": {
								"sensor_state": {
									"integerValue": 2
								},
								"temperature": {
									"doubleValue": 32
								},
								"humidity": {
									"doubleValue": 100.0
								},
								"pressure": {
									"doubleValue": 6222
								},
								"voc": {
									"doubleValue": 0.0
								},
								"_id": {
									"stringValue": "Bme690-Sensor"
								}
							}
						}
					}
				]
			}
		}
	}
}
```

All what’s left to do now is to write a translator which translates raw C# dictionaries into the format from above. I want to reuse this without much hassle if my telemetry data format changes.

After a bit of trial and error I’ve managed to implement a [translator](https://github.com/dnutiu/NucuCar/blob/master/NucuCar.Domain/Utilities/FirebaseRestTranslator.cs), thus completely dropping the dependency for Firebase’s Admin SDK. I haven’t implemented authentication handling yet, but it’s on my board.

Thank you for reading!
Spent my Sunday building a TARDIS...
Tags: showdev, codepen, css, webdev
Published: 2020-02-16 19:47:10

---
title: Spent my Sunday building a TARDIS...
published: true
description: 
tags: showdev, codepen, css, webdev
---

Not the most productive or useful Sunday I've ever had, but I sure enjoyed it. :)

{% codepen https://codepen.io/Sidstumple/pen/bGdpREQ %}

Let me know if you have any questions on how I created this.
SERVERLESS discussion
Tags: discuss
Published: 2020-02-16 19:37:35

---
title: SERVERLESS discussion
published: true
description: 
tags: #discuss
---

The whole idea is intriguing: I can focus on the front-end and focus on important things like accessibility and usability, and actually the work I do enjoy (This doesn't mean that backend work isn't important of course). 

The problem is, pricing seems like a tricky battle, do I need a PhD in pricing to do what I want?

Any experience with the serverless services like AWS, Firebase, etc ? 

I'm just exploring the case of creating traditional web apps, no big enterprise use cases.
Show Dev: Blook - A Stripe Atlas alternative 
Tags: showdev
Published: 2020-02-16 19:35:22

Hi Everyone,

I wanted to introduce a product a few buddies and I have been working on Blook - We help global entrepreneurs setup their business in the US (LLC or Corporation) and you can even do it from your phone!  

Our services include:  
-Registered Agent for one year    
-Company Formation (LLC or Corporation)    
-Multiple State filing options    
-Bank Account    
-US Address  
-Lifetime customer support 


Let me know if you have any questions :)
Issue contacting the Dev.to API from personal site
Tags: help
Published: 2020-02-16 19:27:18

So I'm trying to set up a feed on my personal portfolio website to show my most recent couple blog posts. This is a simple Javascript frontend hosted on Netlify.


I've set up a fetch to the api for my articles, with api-key and everything. It works in Postman, but once I'm running it in Chrome I run into what I think is a CORS issue. The console puts out: `Failed to load resource: net::ERR_BLOCKED_BY_CLIENT` and `Failed to load resource: the server responded with a status of 404 ()`

Here is my fetching code: 
```
  var myHeaders = new Headers();
  myHeaders.append("api-key", "xxx");

  var requestOptions = {
    method: "GET",
    headers: myHeaders,
    redirect: "follow"
  };

  fetch("https://dev.to/api/articles/me/published?=", requestOptions)
    .then(response => response.text())
    .then(result => console.log(result))
    .catch(error => console.log("error", error));
```

Has anyone had success setting up an API call to their blog? Can anyone suggest how to get around this issue?

Googling this proves incredibly difficult for some reason.