teleren/devto huggingface dataset:
What Factors Cause QuickBooks Error Code 20?
Tags: discuss, node, github, java
Published: 2022-07-18 11:28:15

**


 How to fix QuickBooks printer issue 20?
**
Came across QuickBooks printer not active error and don’t know what can be done? Well, if that is the case then reading this post will help you eliminate the issue from its root cause. Talking about this error, the printer quickbooks error code 20 not is active. Occurs when a user try to install or upgrade to a newer Windows version. It can be caused if the KEY_CURRENT_CONFIG\Software key is deleted. As a result of this issue, the users are not able to publish or send the invoices and payslips which leads to inconvenience.
https://www.qberrorsupport.com/quickbooks-printer-not-activated-error-20/
 To know the steps to fix the issue along with the factors causing it, make sure to read the post till the end, or contact us at +18445210490
What Factors Cause QuickBooks Error Code 20?
The below factors can trigger this error in QuickBooks:
•	Elimination/deletion of the ‘HKey_current_config\software’ key. 
•	When the multiple QuickBooks versions are installed in the computer. 
•	QuickBooks application isn’t compatible with the PDF driver & operating system.
Steps to reinstall QuickBooks to fix the issue 
The user can perform the below steps related to clean installing QuickBooks and try to eliminate this issue. 
•	The very first step is to close your QuickBooks and all the running programs on your systems.
•	After that head to Control panel.
•	Find programs (Apps) & features option.
•	The next step is to click on Programs & Features.
•	Also, locate the QuickBooks and click on the Uninstall option.
•	The next step is to uninstall and Reinstall QuickBooks on your server computer - Screenshot
•	The user is then required to install a fresh copy of QuickBooks version that is compatible with your system.
•	After the re-installation process gets complete, the program along with the printer will work again.
•	Reboot the system 
•	In case the issue is with PDF converter only, then it is advised to uninstall the old driver and install a compatible driver with your operating system.
After implementing the steps above, it is expected that the reader might be able to eliminate the error code 20 from its root cause. However, if the user isn’t able to, then in that case, contact our QuickBooks support team at +18445210490 and they will provide you with instant support and assistance. We are a team of technically sound QuickBooks professionals who work round the clock to provide immediate support and assistance. 
Get More Information-https://amarawilliam.blogspot.com/2022/07/quickbooks-desktop-mac-2022-features.html
Concact csv
Published: 2022-07-18 11:25:22

Oi Pessoal,

Neste meu primeiro post, irei mostrar como manipular arquivos csv com python. Vamos unir vários arquivos excel em um só! 
Essa necessidade surgiu quando o Scrum master da minha equipe me passou o desafio, pois, _Python_ é uma linguagem que não sei quase nada e para começar a desenvolver essa skill.

**Vamos lá!!!!**

**Por que você precisa disso?**
Copiar e colar manualmente não é um problema quando você **não** tem muitos arquivos com os quais trabalhar. 

Imagine, que você tenha mais de 100 arquivos para concatenar — está disposto a fazer isso manualmente? Além de ser entediante, trabalhoso, é passível de erros né?!

**Você precisa ter instalado em sua máquina:**

- Excel
- Windows Terminal
- Python
- Vs-Code ou o programa de sua preferência
- Biblioteca _Pandas_

Lembrando que, neste caso todos os arquivos precisam ter a mesma estrutura de tabela (mesmos cabeçalhos e número de colunas), vamos deixar esse pequeno script em Python fazer o trabalho por nós.

**Etapa 1: Importar os pacotes e definir o diretório de trabalho**
Altere os.chdir('c:\\minhapasta') pelo nome do diretório de trabalho desejado.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1bw086oce3r4rzql6er4.png)

 **Etapa 2: Ler os arquivos que estão dentro do diretório.**
Aqui, vamos ler, percorrer os arquivos para add os itens de cada linha ao fim da lista com o append.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9711qz1khc8oh0isc2w4.png)
 

**Etapa 3: Concatenar os aquivos**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y9tm4ux3js6xb6mpyzsv.png)

**Etapa 4: Exportar o arquivo unificado.** 
Usamos a Lib Pandas para concatenar todos os arquivos da lista e exportá-los como um arquivo CSV. O arquivo resultante é chamado de "merge.csv" e fica localizado em seu diretório de trabalho. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m6e44z8q1una4wfae634.png)

encoding = ‘utf-8-sig’ é adicionado para vencer o problema de exportar em outros idiomas que não sejam o inglês.

Ao receber este desafio, confesso que pensei que não fosse conseguir ou que não estava preparada. Mas quando bate essa insegurança, precisamos AGIR para obter resultado, e adivinha???

Está pronto!!!!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/68ykdpbgaxld5t054fd2.png)
 

Espero que consiga ajudar mais gente!
How To Make Personal Portfolio Using HTML CSS JavaScript
Tags: css, javascript, beginners, tutorial
Published: 2022-07-18 11:18:23

{% youtube SAu7e09vXoQ %}

How To Make Personal Portfolio Using HTML CSS JavaScript

In this video, I will show you how to Create a Responsive Personal Portfolio Website Using Html CSS JavaScript

[Live Website](https://codewithsadee.github.io/portfolio)
[Github Repo](https://github.com/codewithsadee/portfolio)

---

HI 👋
I'm Sadee (webdev)
In this channel I make videos about Complete Responsive website.
You can checkout my channel 👇

📺 My Channel : [codewithsadee](https://www.youtube.com/channel/UC1PZHWV6VvICTL1LgFUZq6g)
🔔 Subscribe : [subscribe now](https://www.youtube.com/channel/UC1PZHWV6VvICTL1LgFUZq6g?sub_confirmation=1)

---

🔗 Essential links
-----------------------------
[Starter file](https://drive.google.com/file/d/1-7CFLggJaR7iHlFphZ26jvqFEvfdeiHQ/view?usp=sharing)

---

⏱️ Timestamps
-----------------------------
0:00 - Demo
2:53 - File structure
3:20 - Project initial
8:12 - Header
19:10 - Hero section
26:45 - About section
32:23 - Portfolio section
38:20 - Skills section
45:16 - Contact section
54:18 - Blog section
59:53 - Footer
1:06:42 - Media queries

---

[![Become a patreon](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fnjl14kdm5qf08hu5lop.png)](https://www.patreon.com/bePatron?u=62535867)
GraphQL Udemy の Mirko のコースの通りに import と await でサーバーの作成を試みて失敗した
Tags: graphql
Published: 2022-07-18 11:13:56

# udemy mirkonasato のコースを参考に Apollo サーバーをつくる

https://www.udemy.com/course/graphql-by-example/learn/lecture/31830022?start=0#overview

## GraphQL サーバーのフォルダと package.json を作成

gq1/ のフォルダと、中に server/ のフォルダを作成

この中にファイルを作る。

package.json を作成して

```json
{
  "name": "gq1",
  "private": true,
  "type": "module"
}
```

name, private, type を記入

---

## NPM で apollo-server と graphql をインストール

```php
npm i apollo-server graphql
```

---

## server.js ファイルを作成して起動するが、gql の import と await の実行に失敗。 

https://github.com/mirkonasato/graphql-hello-world/blob/main/server/server.js

このソースコードの通りに書いて実行すると

```php
node server/server.js 

const { url } = await server.listen({ port: 9000 });
                ^^^^^

SyntaxError: Unexpected reserved word
```

await が予期しない予約言葉と出る。

async の中でしか使えないからと解釈した。

この await を削除して 実行すると

```php
import { ApolloServer, gql } from 'apollo-server';
                       ^^^
SyntaxError: The requested module 'apollo-server' does not provide an export named 'gql'
```

apollo-server は gql を供給しないとでてしまう。

https://github.com/apollographql/apollo-server/issues/1356

issues をみても解決策は見当たらなかった。

---

## 3 倍使われている apollo-server-express を使ってみる

いくつか調べると、だいたい apollo-server ではなく
apollo-server-express を仕様して gql を供給していた。

https://npmtrends.com/apollo-server-vs-apollo-server-express-vs-express-graphql-vs-graphql-yoga-vs-prisma

trends を調べると
apollo-server-express が 1.4M なのに対して、
apollo-server は 0.5M しか使われていない。

なので apollo-server-express を使うことにする。

```ts
import { ApolloServer, gql } from 'apollo-server-express';
                       ^^^
SyntaxError: The requested module 'apollo-server-express' does not provide an export named 'gql'
```

-express も同じエラーを吐いた。
なので諦めて、apollographql.com の公式チュートリアルで環境構築をはじめた。

---
GraphQL 内部定義した オブジェクトたちの配列を返すサーバーを立てる
Tags: graphql
Published: 2022-07-18 11:10:56





# apollographql のチュートリアル通りに作る

https://www.apollographql.com/docs/apollo-server/getting-started/#step-1-create-a-new-project

## ディレクトリの作成と npm init

```php
mkdir ~/source/gq2
cd ~/source/gq2
npm init --yes
```

ディレクトリを作成して npm を初期化する
 
```php
  "name": "gq2",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
```

今回は private: true も type:module も入らなかった。

## apollo-server と grapql の インストール

```php
npm install apollo-server graphql
```

apollo-server と graphql をプロジェクトに入れる。

---

## index.js で使うライブラリを apollo-server から require して、型定義を gql で typeDefs として作る。

```ts
const { ApolloServer, gql } = require('apollo-server');

const typeDefs = gql`
  type Book {
    title: String
    author: String
  }

  type Query {
    books: [Book]
  }
`;
```

require を使って apollo-server から gql たちを import する

typeDefs に型定義として gql を使ってまずは必須の Root である Query
そこに title と author をもつ Book を結びつける。

---

## index.js に実データのオブジェクトの配列の books を作る

```ts
const books = [
  {
    title: 'The Awakening',
    author: 'Kate Chopin',
  },
  {
    title: 'City of Glass',
    author: 'Paul Auster',
  },
];
```

実データのオブジェクトの配列を作る。

---

## index.js に query のリクエストが来た時の対応の resolvers を書く。

```ts
const resolvers = {
  Query: {
    books: () => books,
  },
};
```

リゾルバとして、books のクエリが来た時に books のオブジェクトを返すように組む。

---

## ApolloServer を使って型定義とリゾルバをまとめ、csrf 防止と Cache Bounded をつける。

```ts
const server = new ApolloServer({
  typeDefs,
  resolvers,
  csrfPrevention: true,
  cache: 'bounded',
});
```

型定義とリゾルバをまとめ、csrf 防止と Cache Bounded をつける。

---

## listen でサーバーを起動して、.then で起動後に url を読み取って console に出力する

```ts
server.listen().then(({ url }) => {
  console.log(`🚀  Server ready at ${url}`);
});
```

これでサーバーを起動できる。

listen の中身では、普通に express の http server のスタートなどが組まれている。

---

## 実際に走らせて、ブラウザで確認する

```ts
node index.js 
🚀  Server ready at http://localhost:4000/
```

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2c543i7yxv07zf307qw6.png)

開いているのを確認。

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ofcpeyur1qiv67lufaja.png)
 
books の title だけをリクエストすると

2 つのデータのタイトルのみが

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o1koiah74yqh2iq0ckf8.png)
 
author もリクエストにつけると、
2 つのデータのタイトルも著者も

レスポンスとして返ってくるのが確認できた。

```ts
curl --request POST \
>    --header 'content-type: application/json' \
>    --url http://localhost:4000/ \
>    --data '{"query":"query ExampleQuery { books { title, author }}"}' 


{"data":{"books":[{"title":"The Awakening","author":"Kate Chopin"},{"title":"City of Glass","author":"Paul Auster"}]}}

```

curl で POST リクエストをしても
中身が返ってくるのを確認できた。
Link building on budget – Is it possible and when should it be done?
Tags: seo
Published: 2022-07-18 11:04:52

**Link building on budget** – Is it possible and when should it be done?

What is link building, what is the purpose and what is the price? Link building is the process of SEO site optimization to build incoming links from other sites to yours.

**What is the purpose?**

The goal is to improve the site's top position in Google SERP.

**Why?**

To increase organic traffic and from there to sales and customers.

**How much does it cost?**

Prices start at 1000 BGN per month for a Bulgarian online store that wants to improve its search engine visibility and increase targeted traffic, sales and customers for its business. Depending on the niche, competition and goals, the price can go up a lot.

**Is it a subscription service or is it one time?
**
It is subscription-based and the shortest term is one year. The business must be aware that when signing a contract for SEO services, it must have the necessary budget to realize its goals. There is no point in starting something to "see" and to "test". These are long-term processes that require resources, expertise and serious commitments, but they pay off appropriately for visionaries who know how to run a business.
Source: [https://blog7.org/link-building-na-budget-vazmozhno-li-e-koga-da-se-pravi/](https://blog7.org/link-building-na-budget-vazmozhno-li-e-koga-da-se-pravi/)
Help Help Help 😆
Tags: help
Published: 2022-07-18 10:59:14

Hello Everyone , i need help in my MERN project 
i have created the project and Created a login form and signup form , When i log in , the credentials are checked and the user get logged in and the user Dashboard is shown
But When i refresh the page or the page gets refresh , the user got back to the login/signup page
I want to create a session type something that will make the user logged in even if the page gets refresh and only see the login/signup when the user log out by themselves

THANK YOU
4 steps to add absolute imports in reactjs
Tags: programming, webdev, javascript, react
Published: 2022-07-18 10:59:01

You really use absolute import to improve the code reading and writing.

**Introduction**
In today’s story, we will learn to import the modules from the absolute path. Instead of importing the packages, and components from the existing path, we will learn to import from the absolute path starting from the root directory.

**Step 1**
Install nextjs in your current react application, I am assuming you have nextjs repository if not go to this link to download your first nextjs repository.

**Step 2**
Create jsconfig.json file in the root directory, it’s easy once the project is created to add jsconfig.json file in the root directory.

**Step 3**
Add the baseUrl key with the root path as the value in the config file. Just add the below code in the config file.

```
{
 "compilerOptions": {
   "baseUrl": "."
  }
}
```

**Step 4**
Start importing the components using baseUrl as the starting point.

**Conclusion**
Until next time, have a good day.

Keep developing!!

Our website [iHateReading](www.ihatereading.in) || [Youtube](https://www.youtube.com/channel/UC6I-Tz6QwYbJpoIK7l0NtXA) || [Twitter](https://twitter.com/treyvijay)
Remove meta generator tag from WordPress
Tags: wordpress, security, webdev
Published: 2022-07-18 10:51:01

Standard WordPress installation displays version of WordPress in source code:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fc493tli178ap0y18cgt.png)

There are some security reasons to hide or remove this information. It's better than bad guys will not see your version of WordPress.

So, if you want to remove WordPress version from `<head>`section put this code into `functions.php` file:

{% gist https://gist.github.com/texe/352dacf386c7f3b2d942d79172a2b0c7 %}

After saving the file, the whole tag has gone!

And maybe better cheat bad guys?

{% gist https://gist.github.com/texe/18ecc12805a86f0641ba22ec7cbda63c %}

After saving the second code in the source code you will see:

`<meta name="generator" content="FrontPage 4.0">`

If you want more tips follow me on Twitter: [@TexeChris](https://twitter.com/TexeChris):
Why your password is weak
Tags: security, webdev
Published: 2022-07-18 10:34:39

Does your password requires at least the following?

- Must be a minimum of 8 characters
- Must contain at least 1 number
- Must contain at least one uppercase character
- Must contain at least one lowercase character
- Must contain at least one special character (!@#$%^&*)

Research recently showed this password is **cracked in 39 minutes**! Yes... you took a risk for brain damage in order to come up with a password like this or let your password manager did the job en still it can be cracked so so fast.

In 2020 this password was cracked in 8 hours. That's just 12 times slower then what it is now, imagine how fast it will be within the next 2 years from now.

### Password on steroids
Best possible way to come up with a password is according to the Diceware-method [https://diceware.dmuth.org/](https://diceware.dmuth.org/)

Experts use this to add randomness to the words your password contains. Every 5 numbers you throw in a row belongs to a word. Repeat this process until you have at least 7 words and create a passphrase:

```
CannonVirtuousMovableUnnerveRectifiedCreasing
```

### Safety vs userfriendly
One problem is this won't be acceptable by our minimal requirements like we said in the beginning. Of course we can add a number and exclamation mark or whatever, but this isn't the best solution.

Also this is pretty harshe to ask everyone to do for "just a password". This also depends on what the value is of what you are trying to secure. But since people are lazy, lets come up with a solution that works for everyone.

What we can do is higher the least minimal of characters used. If you go from 8 to 12, this means it can be cracked in 3000 years(!) in 2022. Still in 2020 this was 34000 years, so what will it be within the next 2 years? But this takes waaayyyy more time to crack so hopefully the hackers decides to target an easier victim.

Source: [https://www.hivesystems.io/blog/are-your-passwords-in-the-green?utm_source=tabletext](https://www.hivesystems.io/blog/are-your-passwords-in-the-green?utm_source=tabletext)
Blockchain - Introdução
Tags: blockchain, web3
Published: 2022-07-18 10:28:54



Para toda tecnologia que usamos no dia a dia tivemos um problema antes da solução existir, nesse caso vamos começar do começo para facilitar o entendimento.

> Disclaimer: Essa serie de posts sobre blockchain tem como maior objetivo ajudar a documentar minha jornada de estudos em web3, espero que te ajude de alguma forma mas não é a intenção principal dos posts.

## Problema

Sabemos que em computação temos a facilidade de duplicar informações de forma muito fácil, basta um "ctrl+C" "ctrl+V" que temos uma copia quase idêntica do arquivo original.

Dito isso, o estado atual da internet e a forma como interagimos com ela nos dificulta criar sistemas que provem sua identidade e autoridade, já que tudo é facilmente duplicável fica fácil fingir ser alguém e assumir autoria de algo.

Um bom exemplo onde a tecnologia blockchain pode ser usada é em redes sociais que estamos constantemente criando conteúdo seja na forma de texto ou imagem, e nossos amigos nessas redes acreditam que o dono de cada postagem feita é de nossa autoria.

O problema seriam os perfis fakes, que basta utilizar o mesmo nome e imagem de alguma pessoa famosa e se passar por ela, causando o problema de identidade nas redes sociais, já que poderíamos confundir facilmente o perfil fake com o original.

## Solução atual (Web2)

O mais próximo que chegamos de resolver esse problema hoje é através de perfis verificados que exibem um ícone diferente em suas contas, que só recebem esse selo de verificação após atingirem um certo numero de seguidores e maturidade na plataforma e então essa conta vai para um processo manual de verificação e após isso é concedido o selo de verificado.

## Solução com blockchain (Web3)

Em blockchain, conseguimos facilmente auditar qualquer post feito por esse autor na rede social, e esse processo vem naturalmente já que cada ação executada na internet fica registrada em uma espécie de livro, com uma ação seguida da outra.


![Representação visual de blocos de um blockchain](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/36is25o5mha955p7je5u.png)

- Na imagem acima vemos a "hash" atual do bloco, que é gerado através de um calculo matemático para garantir que esse texto será único em toda essa cadeia de blocos.

- Também vemos a hash anterior, dessa forma garantimos que nada pode ser mudado nessa cadeia de blocos, uma vez que foi feita uma alteração de qualquer caractere o resultado será uma hash totalmente diferente, o que vai ser impedido de acontecer por sua dependência do "hash" anterior.

- E por fim temos os registros que aconteceram naquele bloco, como por exemplo as ações de criar uma conta, postar algo e interações na rede social.


## Conclusão

Graças a esse simples conceito de blocos, e para cada bloco novo ter como base o bloco anterior, temos a melhor solução pensada até o momento para autenticidade, imutabilidade e transparência, já que essa cadeia de blocos é visível para todos, não pode ser alterada e o dono de cada ação faz uma assinatura para tudo que fizer na rede.
SVG intro
Published: 2022-07-18 10:28:31

## What is SVG?
SVG is an image format for vector graphics. It literally means Scalable Vector Graphics
<br>
##Why SVG does not lose clarity? (It scales to any size while maintaining quality)

An SVG image's data is stored as XML instead of pixels, and consists of components that can be scaled to any level without losing source quality.

<br>

## Differences Between SVG and Canvas
SVG is a language for describing 2D graphics in XML.

Canvas draws 2D graphics, on the fly (with a JavaScript).

SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element.

In SVG, each drawn shape is remembered as an object. If attributes of an SVG object are changed, the browser can automatically re-render the shape.

Canvas is rendered pixel by pixel. In canvas, once the graphic is drawn, it is forgotten by the browser. If its position should be changed, the entire scene needs to be redrawn, including any objects that might have been covered by the graphic

Example Code of a triangle:

```
<svg height="210" width="400">
  <path d="M150 0 L75 200 L225 200 Z" />
</svg>
```
Explanation:
M = moveto
L = lineto
Z = closepath

Capital letters means absolutely positioned, lower cases means relatively positioned.

Source: W3 school
SUGGESTED FUTURE PLAN FOR STUDENTS AND NEWBIES.
Tags: career, beginners, codenewbie, discuss
Published: 2022-07-18 10:27:52

## **01. 3 MONTHS:**
For 3 months learn Online on YOUTUBE **HTML CSS PHP AND JAVASCRIPT.** OR **FLUTTER DART, FIREBASE, SQL AND PYTHON.**
.
.
.
## **02. INTERNSHIP:**
Apply  for an internship in any Software House for **NEXT 3 MONTHS** And complete your **6 MONTHS IN DEVELOPMENT.**
.
.
.

## **03. AFTER 6 MONTHS:**
After 6 months apply for a job in any Software House to Complete **ONE YEAR OF DEVELOPMENT**.
.
.
.

## **04. NOW SINCE YOU HAVE COMPLETED ONE YEAR IN DEVELOPMENT:**

Since you have completed **One year in Developement** you have got a lot of Infromation based on that apply for highly professional and good paying Job or find **ONLINE FREELANCING** to earn for the next 1 year to complete **2 YEARS OF YOUR EXPERIENCE IN DEVELOPMENT.**
.
.
.

## **05. AFTER 2 YEARS OF PERFECT PROGRAMMING:**
Start searching about building a Digital Software. Build your own Brand Identity and find any problem to resolver for next 3 years to complete **5 YEARS OF EXPERTISE.**
.
.
.

## **06. FIND STARTUPS:**
Find startups and Ideas and Invest in them, Collaborate with them and start **MAKING MONEY AS A INVESTOR.**
The project creator for Rails 🎉
Tags: rails, ruby, webdev
Published: 2022-07-18 10:16:35

Hello!

I’ve been developing a CLI for Ruby on Rails for a while.

As you know, after we set up a project in Ruby on Rails, we need to install and configure the gems we want 🤯 Thanks to this CLI, we can select the gems and set them automatically before and create the project as fully ready ⭐️ 

Finally, we can say that [Rails Interactive](https://github.com/oguzsh/rails-interactive) is ready to use 🎉 Feel free to give feedback to improve this package for the Rails community 🥳

Thanks!