teleren/devto huggingface dataset:
ResumeBoostAI Launch 🚀
Tags: productivity, resume, ai, writing
Published: 2023-03-27 12:46:56

{% embed https://youtu.be/njhrrderTLk %}Hello everyone! It's Bryam 👋 

As I was navigating the treacherous waters of job hunting, I found myself having to rewrite my resume multiple times to tailor it and make it fit to the job I was applying for, so I decided to come up with a tool to solve this problem and save time. This is how ResumeBoostAI came to life. 

ResumeBoostAI is a powerful AI tool that makes it easy to create great resumes to increase your chances of getting hired. 

With ResumeBoostAI, you can improve the quality of your resume in just minutes, saving you valuable time and boosting your chances of landing your dream job. When signing up, you get two free rewrites to try out the tool. Get unlimited rewrites for a one-time beta price of just $2.99, giving you free access to all future features and updates. 

It would mean the world if you could give me some feedback. Thank you! 😊 

Happy Programming! 🥳

[ResumeBoostAI](https://resumeboostai.com)

[Twitter](https://twitter/balt1794)
23- Modifying Toolbar Visibility in QGIS Using PyQGIS
Tags: python, programming, pyqgis
Published: 2023-03-27 12:46:47

--- series: A beginner's guide to using Python with QGIS ---
Learn how to customize the appearance of QGIS by changing the visibility of its toolbars with PyQGIS. In this tutorial, you will discover how to use the `setVisible()` method to show or hide specific toolbars such as Help, Vector, and Raster. With these simple lines of code, you can tailor QGIS to your needs and preferences.

- To hide the Help toolbar in QGIS, use the following line of code:
    

```python
iface.helpToolBar().setVisible(False)
```

- To show the Help toolbar in QGIS, use the following line of code:
    

```python
iface.helpToolBar().setVisible(True)
```

- To hide the vector toolbar in QGIS, use the following line of code:
    

```python
iface.vectorToolBar().setVisible(False)
```

- To show the vector toolbar in QGIS, use the following line of code:
    

```python
iface.vectorToolBar().setVisible(True)
```

- To hide the raster toolbar in QGIS, use the following line of code:
    

```python
iface.rasterToolBar().setVisible(False)
```

- To show the raster toolbar in QGIS, use the following line of code:
    

```python
iface.rasterToolBar().setVisible(True)
```

In conclusion, PyQGIS provides a simple and efficient way to customize the appearance of QGIS by changing the visibility of its toolbars. By using the `setVisible()` method, you can easily show or hide specific toolbars such as Help, Vector, and Raster, tailoring QGIS to your needs and preferences. With these lines of code, you can improve your workflow and make QGIS more user-friendly.

If you like the content, please [SUBSCRIBE](https://www.youtube.com/channel/UCpbWlHEqBSnJb6i4UemXQpA?sub_confirmation=1) to my channel for the future content
JavaScript Cheatsheet
Tags: javascript, webdev, programming
Published: 2023-03-27 12:41:22

JavaScript is a popular programming language used to create interactive web pages and web applications. Here is a quick cheatsheet of some of the most commonly used syntax and concepts in JavaScript:


**Variables**

- Declare a variable: `let variableName = value; or const constantName = value;`
- Change the value of a variable: `variableName = newValue;`


**Data Types**

- String: `"Hello World"`
- Number: `42`
- Boolean: `true` or `false`
- Array: `let myArray = [1, 2, 3];`
- Object: `let myObject = {name: "John", age: 30};`


**Operators**

- Assignment operator: `=`
- Arithmetic operators: `+`, `-`, `*`, `/`, `%`
- Comparison operators: `==`, `===`, `!=`, `!==`, `<`, `>`, `<=`, `>=`
- Logical operators: `&&`, `||`, `!`


**Functions**

- Declare a function: 

```
function functionName(parameter1, parameter2) { 
  // code to be executed 
}
```
- Call a function: 

```
functionName(argument1, argument2);
```


**Conditionals**

- if statement: 

```
if (condition) { 
  // code to be executed if condition is true 
}
```
- if-else statement: 

```
if (condition) { 
  // code to be executed if condition is true 
} else { 
  // code to be executed if condition is false 
}
```
- ternary operator: 

```
condition ? expressionIfTrue : expressionIfFalse
```


**Loops**

- for loop: 

```
for (initialization; condition; increment/decrement) { 
  // code to be executed 
}
```
- while loop: 

```
while (condition) { 
  // code to be executed 
}
```
- do-while loop: 

```
do { 
  // code to be executed 
} while (condition);
```
- for-of loop: 

```
for (let element of myArray) { 
  // code to be executed for each element 
}
```


**DOM Manipulation**

- Get an element by ID: 

```
let element = document.getElementById("idName");
```
- Get elements by class name: 

```
let elements = document.getElementsByClassName("className");
```
- Get elements by tag name: 

```
let elements = document.getElementsByTagName("tagName");
```
- Add an event listener: 

```
element.addEventListener("eventName", function() { 
  // code to be executed 
});
```
- Change the inner HTML of an element: 

```
element.innerHTML = "new text";
```
- Change the style of an element: 

```
element.style.propertyName = "value";
```


This is just a small taste of what you can do with JavaScript. With practice, you can create dynamic and engaging web applications using this powerful language.

You can learn more on Javascript on [https://www.vedvyas.io/topics/javascript](https://www.vedvyas.io/topics/javascript?utm_source=dev.to)
Multiple Choice Questions on Computer Science Engineering.
Published: 2023-03-27 05:35:27

[Multiple Choice Questions (MCQs) on Computer Science Engineering](https://www.onlineinterviewquestions.com/computer-science-mcq/) typically test a candidate's knowledge of various aspects of computer science, including programming languages, software engineering, computer networks, data structures, algorithms, operating systems, databases, and computer architecture. These mcq questions are usually designed test your final preparation for your  
**Some examples of MCQs on computer science engineering include:**
Which of the following programming languages is an object-oriented programming language?
a) C
b) Java
c) Python
d) Assembly

Which of the following software development models involves iterative development?
a) Waterfall
b) Agile
c) Spiral
d) Prototype

Which of the following network topologies allows for redundancy and fault tolerance?
a) Bus
b) Star
c) Ring
d) Mesh

Which of the following data structures uses a LIFO (Last-In-First-Out) approach?
a) Queue
b) Stack
c) Linked List
d) Tree

Which of the following sorting algorithms has a worst-case time complexity of O(n^2)?
a) Bubble Sort
b) Merge Sort
c) Quick Sort
d) Insertion Sort

Which of the following operating systems is not based on Unix?
a) Linux
b) macOS
c) Windows
d) Android

Which of the following database models uses a hierarchical structure?
a) Relational
b) NoSQL
c) Object-Oriented
d) Hierarchical

Which of the following computer architecture components is responsible for fetching instructions from memory?
a) ALU
b) Control Unit
c) Registers
d) Cache Memory

[Practice Category-wise popular Computer Science MCQ. (Click Here).](https://www.onlineinterviewquestions.com/computer-science-mcq/)

These MCQs are commonly used in exams and interviews for computer science engineering positions to assess the candidate's knowledge and understanding of the subject matter.
Street Programmer: 📸 REST Screenshoot
Tags: javascript, api, programming, webdev
Published: 2023-03-27 12:32:32

**REST Screenshoot** is a free tool for capturing screenshots of webpages via a REST API. It provides a simple, easy-to-use endpoint URL for generating screenshots.

> _Wrong spelling!!! But you know what I mean right?!_

To generate a screenshot, make a GET request to the following endpoint URL, replacing `{url}` with the URL of the webpage you want to capture:

```shell
https://rest-screenshoot.fly.dev/screenshot?url={url}
```

## Example

To capture a screenshot of the _React Table server-side pagination, search, and sort order story_ on [Metaphore](https://metaphore.vercel.app), use this URL:

**Request**

```shell
https://rest-screenshoot.fly.dev/screenshot?url=https://metaphore.vercel.app/stories/javascript/react-table-sever-side-pagination-search-sortorder
```

**Response**
![Response Image](https://rest-screenshoot.fly.dev/screenshot?url=https://metaphore.vercel.app/stories/javascript/react-table-sever-side-pagination-search-sortorder)

## See Other Options

| Query    | Type     | Description                           | Required |
| :------- | :------- | :------------------------------------ | :------- |
| `url`    | `string` | Valid url for target website          | Yes      |
| `width`  | `number` | Valid Number (pixel) default is `850` | No       |
| `height` | `number` | Valid Number (pixel) default is `400` | No       |
| `pick`   | `string` | Valid CSS Selector for element        | No       |

Note: This project idea is an extension for [Metaphor Website](https://metaphore.vercel.app)

{% embed https://github.com/darkterminal/rest-screenshoot %}
Week 10 - Scoping Project 2
Published: 2023-03-27 12:31:07

Our project will look like badge list, where each character is a panel and the character details and stats will be shown when clicked on the panel.


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


Some of the properties we will need headers, images, buttons, expandable panels.
We'll be adding external API's to this folder and incorpoate to our project. The images and content for the stats would have to come from the backend. The CSS styling such as the background color and fonts would also have to be included in the backend. Finally, we think the backend would also comprise of any links we choose to add that would lead to external websites.


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


For our next project, we would have a similar type of layout as above for the images and the stats that would be coming from the backend. This homework helped develop a folder dedicated to the API's and the function behind it.
Resolvendo problemas no HackerRank: Um novo desafio para Sherlock
Tags: javascript, beginners, programming
Published: 2023-03-27 12:28:35

Olá, seja bem vindo a mais um Resolvendo problemas no HackerRank: No caso de hoje, Watson deseja desafiar mais uma vez as capacidades de Sherlock, põe sobre ele um desafio. Vejamos agora uma explicação detalhada e sua resolução.

**Sherlock and Squares -**

Watson gosta de desafiar a habilidade matemática de Sherlock. Ele fornecerá um valor inicial e final que descreve um intervalo de números inteiros, incluindo os pontos finais. Sherlock deve determinar o número de inteiros quadrados dentro desse intervalo.

Um inteiro quadrado é um inteiro que é o quadrado de um inteiro, exemplo: 


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


Teremos como parâmetros:

- int a: o limite inferior do intervalo 
- int b: o limite superior do intervalo
- return: O número de quadrados inteiros no intervalo entre os dois.

Vejamos o código:

```
function squares(a, b) {
    // Write your code here
    let squareRootA = parseInt(Math.sqrt(a));
    let squareRootB = parseInt(Math.sqrt(b));
    let count = 0;

    if((squareRootA * squareRootA) === a) count++;
    if ((squareRootB - squareRootA) >= 0) 
    return (squareRootB - squareRootA) + count;
    return 0+count
}
```

A função retorna a quantidade de números inteiros entre a e b (incluindo a e b) que são quadrados perfeitos (ou seja, têm raiz quadrada exata).

Para isso, a função começa criando duas variáveis `squareRootA` e `squareRootB`, que representam a raiz quadrada inteira de a e b, respectivamente. A função então inicializa uma variável `count` em 0.

Em seguida, a função verifica se `squareRootA` é um quadrado perfeito, comparando `squareRootA` * `squareRootA` com `a`. Se `squareRootA` * `squareRootA` for igual a `a`, significa que `a` é um quadrado perfeito e, portanto, incrementa count em 1.

A função então verifica se a diferença entre `squareRootB` e `squareRootA` é maior ou igual a zero. Se for, significa que há pelo menos um número inteiro entre `squareRootA` e `squareRootB` que é um quadrado perfeito (além de a, se a for um quadrado perfeito). Nesse caso, a função retorna (`squareRootB` - `squareRootA`) + `count`, que é a quantidade de números inteiros entre a e b que são quadrados perfeitos. Se a diferença entre os dois for menor que 0, significa que não há nenhum número inteiro entre a e b que é um quadrado perfeito, então a função retorna 0 + `count`.



O resultado final encontrado por Sherlock será:

```
2
3 9
17 24

input:
2
0
```

Assim, concluímos mais um _Resolvendo problemas no HackerRank:_ até a próxima.
22- Personalize the Title of Your QGIS Window using PyQGIS
Tags: programming, python, pyqgis
Published: 2023-03-27 12:06:48

--- series: A beginner's guide to using Python with QGIS ---
Learn how to customize the title of your QGIS window using PyQGIS in this tutorial. With just a few lines of code, you can change the default title to any name you want, such as "My QGIS". Follow the step-by-step instructions and sample code to get started.

To get the current title of the QGIS window:

```python
title = iface.mainWindow().windowTitle()
```

To create a new title by replacing the substring 'QGIS' with 'My QGIS':

```python
my_title = title.replace('QGIS', 'My QGIS')
```

To set the new title to the QGIS window:

```python
iface.mainWindow().setWindowTitle(my_title)
```

Here's the overall code:

```python
title = iface.mainWindow().windowTitle()
my_title = title.replace('QGIS', 'My QGIS')
iface.mainWindow().setWindowTitle(my_title)
```

In conclusion, this tutorial provides a simple and easy-to-follow guide on how to customize the title of the QGIS window using PyQGIS. By following the step-by-step instructions and sample code provided in the article, users can easily change the default title of the QGIS window to any name they want. This feature can be useful for users who want to personalize their QGIS environment or create custom branding for their projects. Overall, this tutorial is a great resource for anyone looking to customize their QGIS window title using PyQGIS.

> If you like the content, please [SUBSCRIBE](https://www.youtube.com/channel/UCpbWlHEqBSnJb6i4UemXQpA?sub_confirmation=1) to my channel for the future content
lindeal
Published: 2023-03-27 12:01:17

[На новостном сайте linDEAL](https://lindeal.com/discussions) вы найдете все, что нужно для движения вперед. У нас самые свежие новости из мира политики, экономики, науки и культуры. Мы пишем об актуальных мероприятиях и делимся историями успеха реальных людей. Наши журналисты следят за трендами и научными исследованиями, чтобы вы могли получать только самую полезную и актуальную информацию.
S'Monday 😪 Ron Jeffries
Tags: beginners, codenewbie, discuss, motivation
Published: 2023-03-27 12:00:00

It's Monday out there, devs! This week's quote is from Ron Jeffries, one of the three founders of the Extreme Programming (XP) software development methodology and the author of Extreme Programming Installed and Extreme Programming Adventures in C#, among others books.

> Code never lies, comments sometimes do.


Food for thought, yeah? Share your quotes, inspirational memes, words of wisdom, or anything else to help us brave the day!
10 berufliches Vorwärtskommen: Die wohl wichtigste Charakter-Eigenschaft…
Tags: deutsch, career, austausch, 1min
Published: 2023-03-27 11:54:00

Moin Moin,

die wohl wichtigste Charakter-Eigenschaft im Umgang mit anderen könnte _Nachsichtigkeit_ sein.
> [Nachsicht↗](https://www.dwds.de/wb/Nachsicht) := Duldung und verzeihendes Verständnis, gütige Rücksichtnahme

Ich denke, dass Nachsichtigkeit unabhängig vom Beruf eine wichtige Eigenschaft ist. Es sollen dennoch Gedankenstützen aus dem Berufsalltag folgen:

- Wer sind die Vorgesetzten die _keiner_ mag ?
- Wer sind die Vorgesetzten die _jeder_ mag ?
- Entsprechend für Arbeitskollegen, Personalleiter, …

Meinst du ebenfalls, dass Nachsichtigkeit eine wichtige Charakter-Eigenschaft ist ?
Welche weitere wichtige Charakter-Eigenschaft fällt dir ein ?
Womit lässt sich Nachsichtigkeit gut ergänzen ?

Beste Grüße,
Mustafa
OSDC-2023-assignment3
Tags: osdc, git, github
Published: 2023-03-27 11:51:04

I learned a lot from latest lecture:

- how to Create Github pages use with Markdown.
- how to use with git bash-Setup local git configure, clone, add, commit, etc.
I build page in github that navigate to another page that is my cv.
I very like this course and it important to my Professional life.
Also I Check out what others in [other course](https://osdc.code-maven.com/instances) did for inspiration.

[my page and cv in github](https://github.com/zoharasulin/zoharasulin.github.io/blob/main/docs/index.md)
The benefits of using version control systems.
Tags: programming, tooling, devops, productivity
Published: 2023-03-27 11:35:01

In any project where multiple people are working together, keeping track of changes and collaborating effectively is key to success. Version control systems help with this by keeping track of changes and allowing for collaboration in a way that's efficient and organized. 
In this blog, we'll explore the benefits of using version control systems. Whether you're a software developer, a writer, or a designer, version control systems are an important tool that can help you manage your work more effectively.


- 
**What is version control system ?**

A version control system **_(VCS)_** is a software tool that helps developers manage changes to code or other digital assets over time. It allows developers to track changes to a project, collaborate with others on the same codebase, and maintain different versions of the codebase over time.

In a **_VCS_**, developers can create **"commits"** to save changes to the code and add comments to describe those changes. They can also create **"branches"** to work on different versions of the code in parallel, merge those branches together, and roll back changes if necessary. This makes it easier to collaborate on code with others and manage changes to the project over time.

- 
**Examples of VCS Tools:** 

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


- **Benefits of using VCS:** 

Here are some of the benefits of using version control systems:

1. **<u>Collaboration:</u>** VCS allows multiple developers to work on the same codebase simultaneously, without overwriting each other's changes. Developers can work on their own branches, merge changes, and review each other's work.

2. **<u>Automation:</u>** VCS can be integrated with other tools, such as continuous integration (CI) and continuous deployment (CD), to automate the build, test, and deployment process.

3. **<u>History tracking:</u>** VCS keeps track of all changes made to the codebase, including who made the change, when it was made, and why. This allows developers to review the history of the project and understand the evolution of the code.

4. **<u>Branching and merging:</u>** VCS allows developers to create different branches of the codebase, which can be worked on independently. Branches can be merged back into the main codebase when the work is complete.

5. **<u>Code reviews:</u>** VCS makes it easy to review code changes and provide feedback. This helps ensure that the code is of high quality and meets the project's requirements.

---

Overall, version control systems are essential for modern software development, providing a way to manage complexity, reduce errors, and improve collaboration among developers.💻
ChatGPT plugins was recently released and it could replace frontend development.
Tags: ai, chatgpt, frontend, programming
Published: 2023-03-27 11:34:03

ChatGPT plugins could replace frontend development. Because the requirement for user interfaces could become unnecessary if multiple plugins can be combined to deliver a response in a chat-based interface, something which ChatGPT plugins exactly does now. This raises the question, could this replace frontend development in general?

If you still don't know about openAI's latest release regarding chatGPT plugins, then I have made a video explaining everything about it in 4 minutes. Check it out to stay updated.

video link - https://www.youtube.com/watch?v=ezAzD2WMCUI
Regex learning by creating URL regex
Tags: regex, javascript, webdev, tutorial
Published: 2023-03-27 11:33:01

In Software development, **Regular expressions** (Regex)are handy tools for **pattern matching** and **text processing**. 
Input field values in a UI form can be validated using **Pattern Matching**.
This pattern matching can be used to validate input field values in a form shown in UI.
The goal of this article is to teach you how to create a regex for URL validation.
Let's get started! 🚀

How does a normal URL look like??
_https://www.google.com_

Here's how to add pattern to each part of this url - 

## 1. Addition of Prefix(http vs https) -
Websites may use _http or https_. Here **'s'** might or might not  be in the url. The **'?'** quantifier adds optionality to the preceding character or group. Also for addition of forward slash character(/), you need to use a backslash(\) since the forward slash by default ends the pattern.
So let's add the pattern to the Regex like this - **((http)s?:\/\/)**

## 2. Addition of sub-domain(www) - 
The example we took above uses **www** as a sub-domain name, which is the most common, but let's also look at these URLs -  https://www3.ntu.edu.sg/home/ehchua/programming/howto/Regexe.html and https://todoist.com. 
www isn't always a subdomain, and it's not always in the URL.
Check out the URL for dev.io. 
Regex uses the **/d** metacharacter to add digits. This part may or may not contain the number.
We use a **Kleene Star(*)** to represents 0 or more repetition of preceding character or group.
Also for addition of period character(.), you need to use a slash(\) since by default period character represents all allowed characters. 
so let's add the pattern to the Regex for this part - **(www\d*\.)?**

## 3. Addition of domain name - 
All alphanumeric(A-Z, a-z, 0-9) and special characters like **_, ., -, ~, /, # and -** are allowed in the domain name.
To represent alphanumeric characters, \w metacharacter is used in Regex.
**Kleene Plus(+)** represents 1 or more repetitions of a preceding character or group.
We use **square brackets([])** inside which we can write all the allowed characters to match the specific characters.
So let's write the Regex pattern for this part - **([\w_.\-~\/#-]+)**

## 4. Addition of extension(.com) -
Subdomain names can also contain all characters similar to the domain name as well as a question mark.
So let's also write the Regex pattern for this part - **([\w_.\-~\/?=#-]+)**



Now finalising our Regex pattern for the URL - **_^(((https:\/\/)|(http:\/\/))(www\d*\.)[\w_.\-~\/#-]+(\.[\w_.\-~\/?=#-]+)+)$_**
Where both the start and end of the line are described by the special metacharacters hat (^) and dollar sign ($).

That's all for now folks! 🎉

This might not be the best Regex for all usecases, so let me know what yours is.

Keep learning and sharing! 🚀