teleren/devto huggingface dataset:
Hello world! O começo de novos começos …
Published: 2020-10-02 00:17:04

Em algum momento da vida vocês já se sentiram tão decepcionados consigo mesmos a ponto de se questionarem se a vida era só aquilo mesmo? Aquele ponto em que você se encontra meio triste e meio enraivecido ao comparar as suas reais realizações (ou falta de) com as suas ideologias da adolescência. Eu já. Quando fiz 30 anos, acordava todos os dias sentindo o peso do meu próprio desapontamento. Era como caminhar carregando grilhões de 30 quilos nas pernas. Eu só conseguia me perguntar “É isso Nicole? É só isso que você tem para oferecer para o mundo?”
Oi, sou a Nicole Aragão, 31 anos, nascida e criada no Rio de Janeiro, Brasil. Cursando segundo semestre em Ciência da Computação, entusiasta de Programação. Trabalhei com hotelaria a minha vida adulta quase inteira, metade por escolha, metade por indecisão. Eu sempre achei que fosse da área de “humanas”. Tinha isso tão entranhado na minha cabeça que nem sequer havia cogitado qualquer outro trabalho que exigisse o mínimo de raciocínio lógico. Eu simplesmente achei que não tinha isso em mim. Por outro lado, nenhum trabalho da área de humanas “raiz” me interessava. Passei uma década procurando por alguma coisa que eu amasse fazer. Estava indo bem na minha área, como GM de um restaurante bacana, mas sentia um vazio. Um vazio que já estava lá algum tempo, mas que tinha se escondido silencioso atrás das responsabilidades do meu dia-a-dia. Acho que aconteceu comigo o que acontece com muitas pessoas. Escolhemos um caminho e continuamos teimosos naquele trajeto ainda que isso nos faça infelizes. Temos medo de tentar algo novo e decepcionar outras pessoas e a nós mesmos. De novo.
Sabia que precisava de ajuda e tive uma sorte imensa de ter encontrado uma coach de carreira maravilhosa. Nosso processo, apesar de um tanto doloroso, foi uma daquelas experiências que mudam a vida de uma pessoa. Pela primeira vez na vida eu tive autoconfiança suficiente para sair do meu casulo e andar com as minhas próprias pernas em direção ao que eu realmente desejava, não ao que era mais fácil ou mais conveniente. E foi nessa estrada que eu acabei encontrando o mundo da Tecnologia. Eu soube desde a minha primeira linha de código, um “Hello, world” escrito em C que essa seria a aventura de uma vida inteira.
Criei esse blog para contar sobre a minha jornada nesse mundo fantástico. Compartilhar histórias, meus processos, as coisas que já aprendi e as que ainda vou aprender. Quebrar o paradigma de que programação é um bicho-de-sete-cabeças ou trabalho para gênios, pois é realmente surpreendente o que se pode alcançar quando nos permitimos acreditar que podemos.Isso não significa que eu não tenha dúvidas ou me sinta frustrada ou que tenha medo. Esses sentimentos são todos normais quando estamos nos aventurando fora da nossa zona de conforto. Porém eu escolho todos os dias ser o melhor que eu posso ser com o que eu tenho. E existe maneira melhor de “prever” o futuro senão sendo a pessoa que o escreve? Não né?! Então bora que o caminho é longo mas tem uma vista linda!
Disabling and re-enabling a button in Google Apps Script
Tags: javascript, googleappsscript, typescript
Published: 2020-10-02 06:23:30

The requirement is to be able to click on a button, have it launch a function and then be otherwise unclickable until that function has concluded. This is my first attempt.

So have a sheet called "tester". On it is a big green button Drawing with the word "Button" on the front. This is assigned to the _Button function.

![Button](https://dev-to-uploads.s3.amazonaws.com/i/9k9o0gnmjpiqer23bmwy.png)
 
![Button 1a](https://dev-to-uploads.s3.amazonaws.com/i/xnt2551c4nlws0oex019.png)
 
We have a function called `SwapDrawingOnActions` which is defined as follows (in TypeScript):
```typescript
function SwapDrawingOnActions(sheet:GoogleAppsScript.Spreadsheet.Sheet|string, actionToFind:string, actionToReplaceWith:string) : boolean {
    let replaced = false;

    if ("string" === typeof sheet) {
        sheet = SpreadsheetApp.getActive().getSheetByName(sheet);
    }

    const drawings = sheet.getDrawings();
    for (var i = 0; i < drawings.length; i++) {
        const drawing = drawings[i];
        if (drawing.getOnAction() === actionToFind) {
            drawing.setOnAction(actionToReplaceWith);
            replaced = true;
            break;
        }
    }
    return replaced;
}
```
We have two demonstration functions, `_Button()` and `_PleaseWait()`
```typescript
function _Button() {
    Browser.msgBox("Okay, we're about to do something important right now.");
    SwapDrawingOnActions("tester","_Button", "_PleaseWait");    
}

function _PleaseWait() {
    Browser.msgBox("Sorry, we're doing something important right now.");
    SwapDrawingOnActions("tester", "_PleaseWait", "_Button");
}
```
So on the first invocation, a msgBox appears and the OnAction of the button is set to `_PleaseWait`. On the second invocation, the OnAction is changed back to `_Button`.

![Button 1](https://dev-to-uploads.s3.amazonaws.com/i/ybwwinl6tnkcsgjjr13j.png)

![Button 2](https://dev-to-uploads.s3.amazonaws.com/i/rlbsnik3l1yf4kaujxq4.png)
 
The OnAction does actually get changed, viz

![Button 2a](https://dev-to-uploads.s3.amazonaws.com/i/a7wbpomnhl0bht6yf6e9.png)
 
I expect that there are other ways of doing this. [Tanaike](https://tanaikech.github.io/2020/06/11/disabling-buttons-put-on-google-spreadsheet-using-google-apps-script/) does one and it's amazing.
Hacktoberfest 2020 Beginner's Guide
Tags: opensource, hacktoberfest, github, beginners
Published: 2020-10-02 06:20:02

[StatusNeo](www.statusneo.com) have created an open source guide to help beginners and newbies in open source get started with their journeys in this year's edition of Hacktoberfest.

Introduce yourself to Open Source community and write technical blogs on relevant technical and programming topics.

{% github https://github.com/StatusNeo/Hacktoberfest_2020 no-readme %}
Local SEO Manchester
Tags: localseo, seomanchester
Published: 2020-10-02 05:20:19

Do you have a Manchester-based business? And do you want to increase your marketing effectiveness to bring customers into your store? If so, we can help. We're a [Local SEO Agency based in Manchester](https://seoreq.com/local/)
Local SEO is crucial for any business as it increases search visibility on Google Search, and Google Maps. What if, right now, someone is using Google to find a business just like yours, and your competitors’ site hits their screen? Simply, they have likely gained a customer, and you have lost a potential one.

We use Google My Business to increase our customers’ business visibility on Google search and Google Maps. We will improve your website and map rankings for location-related search terms.

This is especially important for businesses such as restaurants, hair salons, barbers, and beauty parlours. These businesses cannot survive through general SEO and e-commerce alone. They need to attract physical customers to keep their business alive. Local SEO is the perfect way to attract local customers. If you run a hair salon, and a local Google user searches ‘hair salon near me’, you are going to want your business to rank high.

Google Maps
Google Maps
Having a strong ranking on Google Maps. If you appear in the top three Google Maps results in your local area, your business will appear right at the top of the search results, even if your page SEO. In fact, it will appear above the top-ranking organic result. So, or local SEO purposes, it makes more sense to focus more on your Google Maps presence, than your traditional organic search SEO.

A good Google Maps ranking will also do wonders for your direct inquiries. All of your key business information, such as your business name, description, address, and phone number will all be collected together on the customer’s screen. This makes it easy for them to visit, or to pick up the phone and contact you directly.
I made 4 pull-requests
Tags: hacktoberfest2020, hacktoberfest
Published: 2020-10-02 05:13:35

---
title: I made 4 pull-requests
published: true
description: I made 4 pull-request to some projects
tags: #hacktoberfest2020 #hacktoberfest
//cover_image: https://direct_url_to_image.jpg
---

# elsaland/elsa

https://github.com/elsaland/elsa/pull/54

Fixed colors with escape sequences on Windows. :muscle:

# mattn/longcat

![longcat](https://raw.githubusercontent.com/mattn/longcat/master/screenshot.png)

https://github.com/mattn/longcat/pull/36

This is my project. Added -v to show version. :muscle:

# federico-terzi/espanso

https://github.com/federico-terzi/espanso/pull/476

Fixed `build.rs` to be possible to build espanso on Windows Rust gcc toolchain. :muscle:

# gorgonia/gorgonia.github.io

https://github.com/gorgonia/gorgonia.github.io/pull/98

Translate documentation to Japanese. :muscle:
Fellow maintainers, tell me about your project!
Tags: hacktoberfest, opensource, contributorswanted
Published: 2020-10-02 04:52:24

Hey all! Tell me about your project that you’re hoping to attract good PRs to. 

I maintain [`Net::AMQP::RabbitMQ`](https://github.com/net-amqp-rabbitmq/net-amqp-rabbitmq), which is a Perl module implementing AMQP via the `librabbitmq-c` bindings. 

The code is implemented in #perl and #C.

The biggest help that I could get would be good tests to improve coverage, and also some help hunting down some bugs. There’s also a little bit of green field in the form of implementing publisher confirms, which will be a super fun deep-dive into the guts of Perl.

If you have time, share your projects and goals.
Reviewing URLChecker
Tags: opensource, javascript, node
Published: 2020-10-02 04:09:03

Since I recently started development of a command line tool that searches a source file for URLs and check their status, I decided to review an existing one while I'm at it. My tool is written in Python, but I'm interested to see how the same task could be done using JavaScript.
{% github danishalim/URLChecker no-readme %} First thing I noticed was just how fast async functions are! I ran this tool against the same source file I've been using to develop my own work and it took maybe 15 seconds. **Maybe.** Usually when I run my Python URL checking tool, I get up to walk around and check back in a few minutes...

My one criticism of URLChecker is [the regular expression it uses](https://github.com/danishalim/URLChecker/issues/6) to find URLs in a file. I ran into the same issue myself during development and fixing it ended up opening up a whole other can of worms. Once the regex includes characters like **[]** and **()** then:
```javascript
"http://some(web).site" // matches http://some(web).site
"(http://someweb.site)" // matches http://someweb.site)
```
Although URLChecker will need to update its regex so it includes [all valid URL characters](https://developers.google.com/maps/documentation/urls/url-encoding#BuildingURLs), I am extremely envious of how fast it produces its results.
Linkedin Group
Tags: beginners
Published: 2020-10-02 04:06:05

Hello guys which of the group on Linkedin you find useful and want to share?

I am sending which I like most

Front End Developer: https://www.linkedin.com/groups/2231152/
Wonsulting Community: https://www.linkedin.com/groups/12323208/
Angular developer: https://www.linkedin.com/groups/4896676/
IamRemarkable: https://www.linkedin.com/groups/12074
TypeScript + GCP Secret Manager + Firebase + App Engine + Multiple Environment - Better Credential Management
Tags: api, googlecloud, typescript, firebase
Published: 2020-10-02 03:39:04

Hi everyone,

So in this article I will be discussing about how to use GCP Secret Manager [https://cloud.google.com/solutions/secrets-management](https://cloud.google.com/solutions/secrets-management) with App Engine written in typescript to manage run time credentials needed to access different APIs in our case, firebase project services.

I will be discussing only the relevant parts but will share links if you want to go into the details.


#Step 1 — Get the GCP App engine service account json file

Go to IAM & Admin -> Service Accounts

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/vn3vqfqun0gr9u3adnyo.png)
`click on actions -> Edit -> create key -> save the json file`


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/redpdhqzt6rfegz37yn9.png)
`Give the secret accessor permission.`

#Step 2— Set up GCP Secret Manager to your project.

* Enable billing to your project in Google Cloud
* Enable Secret Manager API, follow the guide and create a new secret.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ey5xb31zpp5vajivj0qd.png)
`click on create secret`

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

`Give a secret name (service_account)-> upload the secret value file (the JSON of service_account we got before) -> add label (optional) -> click on create secret`

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

`A new secret will be created. click on the actions and click Copy Resource ID`

#Step 3 — Use Secret Manager Node Package to get the secret value in runtime

Now that we have set up the secret manager and our credentials are in place. Use the following code to access the secret value (credentials).
1. Import “@google-cloud/secret-manager” npm package.
2. Copy the below code to get the secret value. Make sure you replace your copied resource ID in the previous step in place of <resource_id>.
3. You can also save the resource id in environment variables and access it instead of copying directly.

{% gist https://gist.github.com/shashkiranr/df00780520c918842d4071083c3890c1 %}

Incase you have to interact more than one firebase project, you can do it by following the code.

{% gist https://gist.github.com/shashkiranr/04b8f0c9c21f1fb4ed1654e83d26f473 %}

You can control different versions of the secret and disable them all from Google Cloud Console. You can set up multiple environments easily and set up run time variables to decide which environment to use.

That’s It! Hope this helps!
Happy Hacktoberfest 2020!
Tags: hacktoberfest, github, showdev, watercooler
Published: 2020-10-02 02:37:42

Hello everyone,

As [Hacktoberfest 2020](https://hacktoberfest.digitalocean.com/) is started, I wanted to share with you a repository that's created just for Developer's to contribute and grab free SWAGS ✨

Hacktoberfest encourages participation in the open source community, which grows bigger every year. Complete the 2020 challenge and earn a limited edition T-shirt.


{% github https://github.com/abhisheknaiidu/hacktoberfest2020  %}


TL;DR
_Make sure to **Star(watch)** [this](https://github.com/abhisheknaiidu/hacktoberfest2020) repo to keep yourself updated._

P.S - _Project maintainers can also add their work, in this repository_ 

_For more information, ping me on [Twitter](https://twitter.com/abhisheknaiidu)_! 

Lets Hack Together! 🎉🎊

Our Discord Channel : [Link](https://discord.gg/XTW52Kt)
Preparing for Hacktoberfest: Lab #2
Tags: opensource
Published: 2020-10-02 02:37:37

So, hacktoberfest is here. That means finding a repository to contribute to and make meaningful change to projects that need them. Before that however, we had 1 lab to cover. 

Our second lab required us to make PRs to other student's release 0.1 repos and add in an extra optional requirement while also reviewing PRs others make to our own repository. I added the parallelization functionality to two repos this week. Chris Pinkney (https://github.com/chrispinkney/He-s-Dead-Jim/pull/17) and TJ LeBlanc (https://github.com/IcemanEtika/deadlinkz/pull/3) both had their code updated by me as well as adding that info into their readme's as well. With TJ's repo, I actually had a merge conflict because he made some recent changes that I did not pull over so I had to figure out how to setup the upstream so that I could pull those changes before committing the changes that I made. It was a huge learning experience that I can appreciate even more when I have to deal with them again in the future.

Mo ended up being the lone student to contribute to my repo once again. He ended up making a PR also addressing the parallelization opportunity that my project had and can take advantage of (https://github.com/HyperTHD/URLAutomationMachine/pull/3). Feels sad that he's the only one doing any real change for me but I'm sure that will hopefully change in the future.

This lab taught me how to effectively deal with make changes and pull requests to projects, which is something I'll need to learn fast with hacktoberfest in full swing. Now to find a good first issue to resolve and leave my mark in this big, wide, world!

Until next time, stay tuned
Are you tryin' to learn a new language? Here is the best way to master it.
Tags: codenewbie, beginners, tutorial, discuss
Published: 2020-10-02 02:36:11

The best possible way to master a language for a newbie like me is to practice it with a real life problem. As an example if you try to build a simple calculator using a language that you don't know, you can always google the problems which you find in that project. You'll encounter bugs and you will debug them. So be practical when learning rather than watching some tutorials.
Migration to Gatsby v2 - Variable "$slug" of required type "String!" was not provided
Tags: gatsby, graphql, javascript, react
Published: 2020-10-02 02:35:48

when you run `gatsby develop`, you received the all data without these errors, but when use `gatsby build` you received this error.

> "Variable "$slug" of required type "String!" was not provided.".

#### solution

The issue is you should not put template files in src/pages folder.

you may be creating pages with gatsby page API.

```
result.data.allWordpressPost.edges.forEach(({ node }) => {
      createPage({
        // Decide URL structure
        path: node.slug,
        // path to template file do not put templates in pages
           folder.
        component: path.resolve("./src/templates/blog.js"),
        context: {
          slug: node.slug,
          $slug: node.slug
        },
      });
    });
```

It so happens that I have already moved my single-post.js, post.js and other CPT .js files into a new, custom folder (/src/templates).

If this didn't work then remove ! mark from ($slug: String!)

Thank you!
Pull Request
Tags: opensource, csharp, dotnet, github
Published: 2020-10-02 02:06:04

Creating pull requests is something big for me. As a rookie programmer, I don't have the confidence to contribute to other people's code. Therefore, it took me a while to view different repos from my classmates, trying to find a repo that I can contribute to.

Luckily, I found some repos that haven't implemented all optional features. The first pull request I sent is [fixing the version argument feature](https://github.com/Wei-J-Huang/dlcheck/pull/8). In this project, passing arguments like  "--version", or "/v" is supposed to return the current version of the npm package. I noticed that the version being returned is not the current version. Instead, it is a hardcoded string. I wrote the code to change it to return the current version number instead. 

In the meantime, I receive two pull requests to my repo. The first one is a simple [grammatical corrections](https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/5) which I do appreciate since English is not my first language. The second one is [adding Wayback machine feature](https://github.com/yuanLeeMidori/OSD600.GoodLinkOrBadLink/pull/8). The concept of [Wayback](https://archive.org/help/wayback_api.php) is new to me, therefore, I am grateful for having someone bringing this new stuff to me and adding it to my repo. 

To accomplish the requirements of our lab, I would need to find one classmate's repo and add a new feature to it. I want to keep working on C#, which is the new language that I want to focus on this semester, therefore, I chose my C# partner's repo to contribute. I sent the [adding reading directory feature](https://github.com/abuZayed15/check-link/pull/14) pull request. Basically, this new feature allows users to pass a directory or a single file. The application will automatically detect if the passing argument is a file or a directory. If it is a directory, the application will read all the files in the directory and check the links in these files respectively. Because of working on this pull request, I get more familiar with the [Directory class](https://docs.microsoft.com/en-us/dotnet/api/system.io.directory?view=netcore-3.1) in C#. 

I am so grateful to my C# partner. Because of my lack of experience, I did not know the distinction between different solution configurations. I tried to run the application without specifying solution configurations and it returned the unexpected outputs. My C# partner was patient and spent lots of time with me, helping me figure it out. 

Sending pull requests and contribute to other people's repos is amazing. I gain new knowledge and experience and being contributed at the same time. I believe this is the charm of the open-source community.
Learn HTML in 1 Minute (for real bruh)
Tags: html, webdev, tutorial, beginners
Published: 2020-10-02 01:53:53

# **WHAT!?**

Yeahhhh boi, you read well. After watching this video, you're going to be considered a **MASTER** in HTML, trust me.

### *"That must be bullsh*t"*
Oh you think it is impossible? Are you calling me a liar? Well, I feel ofended, so I'm calling the police.

### **Time-back guarantee! (not really lmao)**
Whatever, just give it a try. If you couldn't learn it in one minute, just send me a DM so I can give you your time back (and a sad emoji).


{% youtube fjNrdpNdZ0o %}

Thank me later...
Technical Titles to Blog About
Tags: challenge
Published: 2020-10-02 01:29:34

The beauty of reading a blog or article, that aligns with what you searched for is a truly divine experience. An article that buries your doubts, provides a new paradigm shift or gives you some ideas. However,such an experience is rare and in short supply, but it doesn't have to be. Here is a list of original, clickbaity & ordinary titles, that are just waiting to be used now or in the future. The only question is who?

### Example 1
- [Billion Dollar App Ideas](https://dev.to/33nano/billionar-dollar-app-ideas-5d6g)

### Non Existent
- Why Arch Linux Is The Fastest Linux Distro
- The Best Technology Is The One You Haven't Used Yet
- 2x Video Speed & tDCS
- Tools Of Modern Colonization
- I Have My API's On You
- Generators & No Code Tools; Birth Of A New Digital Nomad
- The Hex Code Of Indifference
- Doxxed On The Decentralized Web
- Cancel Culture & The Decentralized Web
- Bravo Studio vs Supernova Studio
- Techlead; The Most Woke Developer
- Cloudflare Is Dead; Hail IPFS
- A Reggae Music Generator; A New wave Of Riddim
- Disposable Emails; The SaaS Loophole
- 365 Days Spreadsheet Challenge
- Go Godot; The Fastest Game Development Combo?
- The Social Dilemna; A Technical Review
- Nlp Is The Key To NLP 
(Neuro Linguistic Programming is the key to Natural Language Processing)
- Fighting Racism With Artificial Intelligence
- Figma & Webflow; Web Development Made Easy
- Why Programming Isn't Enough
- Capps vs Dapps; A Technical Review
- Deep Learning vs Brain Training
- Why Developers Invest In Cybersecurity After They Get Hacked
- Music Theory vs Music Generators
- Battle Of The Music Generators
- Gamification; The Better Way To Hack Into Any Market
- Esoteric Sucess; How I Built the Coolest App Using An Esoteric language
- Why LinkedIn Is The Best Dating Platform
- World of Confusion; If WhatsApp, Instagram & Facebook Merged
- Solo Leveling In A Gamified world
- NFT's Can Solve Piracy?
- Safing Privacy Network; The Final Piece To The Decentralized Web

- Surface Web, Dark Web & Decentralized Web; Technical Review
- The Revelations Of 2013 & The Architecture Of Oppression 2020
- Whales vs Billionaires; The Battle For World Domination
- The Rise Of Self Taught Game Developers
- Gaming Phones Exist, What Other Reason Do You Need To Become A Mobile Game Developer
- Why Telegram & Discord Is Where The Cool Kids Hangout
- How Many NFT's Can You Collect Before Feeling Empty Inside?
- How Custom File Formats Can Solve Piracy
- Why Web Scraping Is The Best Way To Hack The Competition