teleren/devto huggingface dataset:
Top 50 Linux Commands You Must Know as a Regular User 

Tags: linux, beginners, computerscience, tutorial
Published: 2021-11-05 05:08:14

The top 50 Linux Commands You Must Know as a Regular User are

1. ls - view contents of directory (list)

2. pwd - path of the current directory

3. cd -  change directory

4. mkdir - make new directory 

5. mv - move files / rename files

6. cp - copy files 

7. rm - remove files

8. touch - create blank new file

9. rmdir - delete directory

10. cat - list content of file to terminal

11. clear - clear terminal window

12. echo - move data into a file

13. less - Read text file one screen at a time

14. man - show manual of Linux commands 

15. sudo - enables you to perform tasks that require administrative or root permissions

16. top - task manager in terminal

17. tar - used to archive multiple files into a tarball

18. grep - used to searching words in specific files

19. head - view first lines of any text file

20. tail - view last lines of any text file

21. diff - compares the contents of two files line by line

22. kill - used for killing unresponsive program

23. jobs - display all current jobs along with their statuses

24. sort - is a command line utility for sorting lines of text files 

25. df - info about system disk

26. du - check how much space a file or directory takes

27. zip - to compress your files into a zip archive 

28. unzip - to extract the zipped files from a zip archive

29. ssh - a secure encrypted connection between two hosts over and insecure network

30. cal - shows calendar

31. apt - command line tool for interaction with packaging system

32. alias - custom shortcuts used to represent a command 

33. w - current user info

34. whereis - used to locate the binary, source, manual page files

35. whatis - used to get one-line man page description

36. useradd - used to create a new user 

37. passwd - used to changing password of current user

38. whoami - print current user 

39. uptime - print current time when machine starts 

40. free - print free disk space info

41. history - print used commands history

42. uname - print detailed information about your Linux system

43. ping - to check connectivity status to a server

44. chmod - to change permissions of files and directories 

45. chown - to change ownership of files and directories

46. find - using find searches for files and directories

47. locate - used to locate a file, just like the search command in Windows 

48. ifconfig - print ip address stuff

49. ip a - similar to ifconfig but shortest print

50. finger - gives you a short dump of info about a user

**Ask Cyber Security related question on**
https://discourse.heeraj.com/

**Join my telegram Group to know about latest Ethical hacking news and tools more than 300 members I have big plans for you 
Join Now**
https://t.me/infosecbugbounty
[FIX] Fatal error: Class UpdateHelper\ComposerPlugin_composer_tmp1
Tags: composer, php
Published: 2021-11-05 05:06:54

## Problem
> Fatal error: Class UpdateHelper\ComposerPlugin_composer_tmp1 contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Composer\Plugin\PluginInterface::deactivate, Composer\Plugin\PluginInterface::uninstall) in phar:///bin/composer/src/Composer/Plugin/PluginManager.php(221) : eval()'d code on line 11

## Solution
```sh
rm -rf vendor
rm -f composer.lock
composer install
```

- https://stackoverflow.com/a/69248316/4810183
Video: Sending an SMS Message, Looking at Code and No-Code Workflows
Tags: nocode, workflows
Published: 2021-11-05 15:56:58

---
title: Video: Sending an SMS Message, Looking at Code and No-Code Workflows
published: true
date: 2021-11-05 04:25:03 UTC
tags: NoCode,Workflows
canonical_url: https://maxkatz.org/2021/11/04/video-sending-an-sms-message-looking-at-code-and-no-code-workflows/
---

This short video looks at a workflow sending an SMS message with code (Node.js) and with no-node workflow. It’s an interesting (and fun) comparison as both achieve the same result.

The following two screenshots show the same result. The one on the left shows code (Node.js). The one on the right shows Okta Workflows flow (no-code).

![Code workflow](https://katzmax.files.wordpress.com/2021/11/workflow_twilio_code-1.png)

![Visual workflow](https://katzmax.files.wordpress.com/2021/11/screen-shot-2021-11-04-at-3.38.24-pm.png)

This is perhaps a simplistic view but code is also a workflow.

_Everyone line of code is a step in a program or a workflow._

_Every no-code card (step) is a step in a workflow._

Sounds the same? Well, it is the same. It is simply a higher abstraction level.

{% youtube Jo10k6RTC7A %}

Want to learn more about Okta Workflows? [Try these step-by-step tutorials](https://help.okta.com/wf/en-us/Content/Topics/Workflows/Tutorials/tutorials-workflows-learn.htm)
How to become a Pentester 
Tags: ctf, programming, beginners, webdev
Published: 2021-11-05 04:22:55

𝙒𝙝𝙖𝙩 𝙞𝙨 𝙖 𝙥𝙚𝙣𝙩𝙚𝙨𝙩𝙚𝙧

“A Pentester is someone who helps a business test their security posture through a structured attack simulation with a predefined and agreed scope, this is referred to as a penetration test. They help businesses see their vulnerabilities from an attacker’s perspective to highlight the impact of successful exploitation, they will also provide the necessary remediation to mitigate those vulnerabilities."

𝙒𝙝𝙖𝙩 𝙖𝙧𝙚 𝙩𝙝𝙚 𝙨𝙠𝙞𝙡𝙡𝙨 𝙧𝙚𝙦𝙪𝙞𝙧𝙚𝙙?

- Solid understanding of all IT fundamentals (Networking Included).
- In depth Knowledge of administering Windows, MacOS and Linux operating systems.
- Basic understanding of Web servers and their technologies
- Basic understanding of Database servers and their technologies
- Basic understanding of Application development
- Basic understanding of Mobile Application development
- Expert in Report writing

𝙒𝙝𝙮 𝙖𝙧𝙚 𝙩𝙝𝙚𝙨𝙚 𝙨𝙠𝙞𝙡𝙡𝙨 𝙧𝙚𝙦𝙪𝙞𝙧𝙚𝙙?

Penetration testing mainly involves identifying vulnerabilities. Attempting to exploit some of them to demonstrate potential impact may be possible depending on the project. You will also need to portray them in a non-technical way to stakeholders and then make recommendations on fixes. To do this accurately and quickly, in-depth knowledge of as much as possible is required. Where knowledge doesn't exist, a penetration tester can acquire it quickly and efficiently. Penetration testing is a vital part of an organisational security plan, however, the output needs to be aligned with business needs. Being able to understand this need and scope it appropriately can have a drastic effect on the career progression of a penetration tester. When studying ensure you have a firm grasp on all of the concepts and invest time in learning how you, as an individual, absorb information quickly.

𝗥𝗲𝗰𝗼𝗺𝗺𝗲𝗻𝗱𝗲𝗱 𝘁𝗿𝗮𝗶𝗻𝗶𝗻𝗴

𝙄𝙏 𝙁𝙪𝙣𝙙𝙚𝙢𝙚𝙣𝙩𝙖𝙡𝙨

CISCO Netacad https://www.netacad.com/
Professor Messer - https://lnkd.in/gF7QqZDj

𝙄𝙣𝙩𝙧𝙤𝙙𝙪𝙘𝙩𝙞𝙤𝙣 𝙩𝙤 𝙥𝙚𝙣𝙩𝙚𝙨𝙩𝙞𝙣𝙜

https://ine.com/ - The eJPT free course, overall best foundation cert in the field.

𝙋𝙚𝙣𝙩𝙚𝙨𝙩𝙞𝙣𝙜 𝙋𝙧𝙖𝙘𝙩𝙞𝙘𝙖𝙡 𝙩𝙧𝙖𝙞𝙣𝙞𝙣𝙜

TCM Academy - https://lnkd.in/dWRhH_NX
TryHackMe - https://tryhackme.com/
HackThebox - https://lnkd.in/d-zvvHGN
Virtual Hacking Labs - https://lnkd.in/d9PQR9UK
OSCP Prep - https://lnkd.in/eaUgBjK

𝙒𝙚𝙗 𝘼𝙥𝙥𝙡𝙞𝙘𝙖𝙩𝙞𝙤𝙣 𝙋𝙚𝙣𝙩𝙚𝙨𝙩𝙞𝙣𝙜

OWASP - https://lnkd.in/gKT8qBq
Portswigger Web security academy - https://lnkd.in/dGbVHbN

𝗔𝗱𝗱𝗶𝘁𝗶𝗼𝗻𝗮𝗹 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻

Public Pentest Reports - https://lnkd.in/eYV-Aku


**Ask Cyber Security related question on**
https://discourse.heeraj.com/

**Join my telegram Group to know about latest Ethical hacking news and tools more than 270 members I have big plans for you** 
**Join Now**
https://t.me/infosecbugbounty
Creating Interactive NFTs
Tags: nft, javascript, zimjs, interactive
Published: 2021-11-05 03:24:42


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/495bb379xxxxcl32o6wz.jpg)

I have made TWENTY interactive NFTs in two months and made $2000 from them!  Here is the information: 

https://zimjs.com/nft

This uses the ZIM JavaScript Canvas to code creativity.

https://zimjs.com

The reason we did this is not to make money but to show you that you can make interactive NFTs with ZIM.

For instance, here is the code to make an interactive puzzle in ZIM:

```javascript
const scaling = FIT; 
const w = 1000;
const h = 1000;
const color = darker;
const outerColor = darker;
const pic = "danzen_0000.jpg";
const path = "assets/";

var frame = new Frame(scaling, w, h, color, outerColor, pic, path);
frame.on("ready", () => {
    
    const num = 4;    
    const t = chop(asset(pic), num, num);
    const s = new Scrambler(t).center();
    s.scramble(2,0,4); // time, wait, num
    s.on("complete", () => {
        // show and animate final picture
        asset(pic).centerReg().animate({
            props:{scale:1.3},
            rewind:true,
            time:.2,
            loopCount:2,
            call:a=>{a.removeFrom();}
        })
        s.scramble(2,3,4);
    });

}); 
```

These are selling quickly and are up for resale at 60 Tez which is approximately $400.  

https://www.hicetnunc.xyz/objkt/466071

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

Now, I would rather you not flood the market with such puzzles as I am doing that!  But we have made all sorts of wonderful gadgets and if you want to as well, please see: 

https://zimjs.com/gadgetminters

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

All the best, and we are happy to discuss further at:

https://zimjs.com/discord
https://zimjs.com/slack

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vue1q8h6330uhbyoh9s5.jpg)
Clean Code Tips - Usar nombres significativos
Tags: beginners, programming, productivity, cleancode
Published: 2021-11-05 03:15:52

# Clean Code Tips - 01

## Usar nombres significativos

Hola, bienvenidos a este nuevo blog. Comenzar&eacute; con uno de los puntos m&aacute;s dif&iacute;ciles al momento de comenzar a programar y es el **Poner nombre** a tus variables, clases, arreglos, etc.

Y vaya que es un martirio comenzar a ponerles nombre, sin embargo uno de los primeros tips para tener un c&oacute;digo limpio y claro es nombrar correctamente cada elemento que se utilice.

Para ello no te quiebres la cabeza cuando recien empiezas a codificar. Los expertos recomiendan que primero escribas el codigo como va, sin importar los nombres; puesto que en este proceso no se tienen claras las ideas y mucho menos tienes visible todo el alcance del codigo.}

Así que primero codifica como gustes.

``` cs
public static string Get(string input)
{
  char[] arr = new char[input.Length];
  int i = input.Length - 1;
  foreach (var e in input)
  {
    arr[i] = e;
    i--;
  }

  return new String(arr);
}
```

Ya que tengas todo claro, ahora si dedicate un tiempo a revisar y a nombrar cada uno de:
 - Clases
 - Metodos
 - Parametros
 - Variables
 - Librerias
 - Namespaces

 ``` cs
 public static string GetReversedString(string originalString)
{
  char[] reversedChars = new char[originalString.Length];
  int currentIndex = originalString.Length - 1;
  foreach (var currentChar in originalString)
  {
    reversedChars[currentIndex] = currentChar;
    currentIndex--;
  }

  return new String(reversedChars);
}

```

Lamentablemente tal vez nunca seamos expertos para nombrar cada seccion de nuestro codigo, triste pero cierto.


Muchos de ustedes se preguntaran para que perder tiempo limpiando y refactorizando mi codigo, si yo le entiendo y con eso basta!; ese es uno de los errores mas graves que cometemos como programadores.


Sin embargo este tiempo lo podemos considerar una inversion
Web Development or App Development? Where to start?
Tags: webdev, appdev, beginners, developers
Published: 2021-11-05 03:09:19


One common question that I have seen my peers ask is whether to start their development journey with Web development or App Development. Beginners in tech are often confused about the right choice to make because there is a wide variety of options and areas to explore.


 Web Development and App Development are emerging sectors for developers. Both the fields have their own benefits and complexities and require different skills, different markets and diversified usage. Therefore, there is no model answer to what you should be starting first.


But according to my own experience I would suggest to go for web development first due to the following reasons:


• App development is the fastest leading trend but web development is something that will never disappear. The web is the best platform for acquiring new users and building a brand. Nearly all brands that opt for an app-based approach build a website too in order to market and promote their app. 


• Web development is slightly easier to understand and apply than app development and it also lays down a framework which helps in many areas of app development as well like making an API, using different database technologies, working with server and backend etc.


Whichever route you choose, you'll learn something great and there's no better time to kickstart your development journey than now. So, get yourself started now. Good luck!

Be curious, Be Innovative and Keep Learning!
Why I Love TDD And Why I'm Looking For Ways To Go Beyond TDD - Alex Bunardzic
Tags: tdd, git, poo, conference
Published: 2021-11-05 03:09:04

First International Test Driven Development took place on July 10th. 

In this series, I will include every talk together with my notes and further reading.

Hopefully, a lot of readers will watch and rewatch the talks, as they are worth several reviews.

Let's continue...

## Bio 

Alex is a software engineering veteran with over 30 years of hands-on professional experience. A staunch advocate of Extreme Programming and TDD, Alex is currently leading DevOps teams by coaching them in TDD practices. 
 
> TL;DR:  We need superfast feedback. TCR does it very well

## Talk

{% youtube U1j9tGLo-wM %}

# My Personal notes

- We spend half our time playing the guitar and the other half tuning it
- The longer we wait before we make a change and see its impact, the more we dive in the dark
- We need to shorten the feedback loop
- We should deploy every keystroke to production like collaborating on Google Docs
- Creating from scratch a [TCR](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864) system with an automated script going to commit or revert according to test results.
- We go from a steady state to another steady state
- We are driven by symmetry
- As always, we start faking it until we start making it
- Prime directive is for system to be always up and running
- Once we write many tests, we can run mutation testing
- Accidental complexly is the pain on our systems
 
# Speaker Links

- Twitter [@alexbunardzic](https://twitter.com/alexbunardzic) 
- LinkedIn [@alexbunardzic](https://www.linkedin.com/in/alexbunardzic/) 
- DevTo @alexbunardzic 
- Medium [https://medium.com/alex-bunardzic/](https://medium.com/alex-bunardzic)

* * *

Please follow TDD Conference on:

- [YouTube](https://www.youtube.com/channel/UCKn-DadPoyYssfAOMk1LSew)
- [Twitter](https://twitter.com/tddconf)
OSD600 – LAB 07
Tags: opensource, javascript, beginners
Published: 2021-11-05 02:35:36

## Hi There
This time this lab is all about setting configuration files for our SSG project. [mine]( https://github.com/GMOTGIT/GMOT-SSG).
The configuration that we should add is:
-	Prettier
-	Eslint
-	Husky
-	VSCode

---

## Prettier
To set up prettier I  followed its [documentation]( https://prettier.io/docs/en/install.html) and had to do the following steps:
1.
```js
npm install --save-dev --save-exact prettier
```

2. Create a prettierrc.json
Inside it will be configuration


3. Create a .prettierignore
Inside it will be files to be ignored by prettier

4. Setting the script
The script will run
```js
npx prettier --write .
```
and format all the files.

---

## ESlint
To set up ESlint I  followed its [documentation]( https://eslint.org/docs/user-guide/getting-started) and had to do the following steps:

1.
```js
npm install eslint --save-dev
```

2. Set up configuration file
```js
npx eslint --init
```

3. Create a .eslintignore
Inside it will be files to be ignored by ESlint

4. Setting the script
The script will run
```js
npx eslint .
```
and do the linting for all the files.

---


## VSCode

For the VSCode I adde a .vscode folder with configuration inside it
Settings.json:
```js
{
  "editor.insertSpaces": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },

  "files.eol": "\n",
  "files.insertFinalNewline": true
}
```

Extensions.json:
```js

  "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
```

---

## Finally
I also tried to implement Husky but could not understand it very well, so I commented out the configuration files to do it later.
Now everyone that work on this project will be able to have same linting and formatting which is very important.
Thank you for reading.
Best programming languages to start your coding journey with
Tags: javascript, python, cpp, java
Published: 2021-11-05 02:31:55

Whether you are looking to start coding as a hobby or to pursue a career, the very first step is to decide which programming language to begin with.

 There are hundreds of programming languages in widespread use, each with it's own complexities, pros and cons. If you are a beginner then it might be confusing to choose where to start from, after all you will be putting time and efforts into learning so you would want to steer in the right direction.

There are several things to consider while making your decision like: 

• The fields which are accompanied by the language
• Speed and Efficiency
• Portability
• Degree of use
• Level of the language
• Developer Experience
• Level of difficulty
• Job opportunities
• Support and Resources

You should do a thorough research about the benefits and drawbacks of the language you want to choose, consider the above mentioned conditions along with your requirements and kickstart your coding journey. 

Be Curious and Keep Learning!
Jquery Lazy Load Tabs from just DataAttributes
Tags: jquery, webdev, beginners, html
Published: 2021-11-05 01:54:11

## Scenario
The content of my tab comes from another url address and I need to process a lazy bootstrap tab! Once the tab content has been visited, the url should no longer be loaded.

## Proposal
I created some data attributes to handle getting another page on demand. After that, I set the tab as loaded, passing the tab to the static tab!

### The three attributes 
``` javascript
 /*
  Attributes: 
        data-lazy-url: string (required) to get
        data-lazy-loaded: boolean (optional) default false, once true, the tab never load anymore
        data-lazy-target: string (required) selector to element 
*/
```

### The Html 
``` html
<a class="nav-link"
     data-lazy-url="https://dev.to/raafacachoeira" 
     data-lazy-target="#MyTab" 
     data-toggle="tab" 
     href="#MyTab" 
     role="tab" 
     aria-controls="MyTab" 
     aria-selected="false">
      My blog posts
    </a>
```

### And for the Tab Content

``` html
<div class="tab-pane" id="MyTab" role="tabpanel">
</div>
```

Code: https://codepen.io/raafacachoeira/pen/mdMXwWW
#100DaysOfCode - Day 1: Building my first API
Tags: 100daysofcode, programming, webdev
Published: 2021-11-05 01:05:57

Well, today I officially started to study the previous mentioned topics. I had an idea of develop an API based on the MVC pattern, that way I'll be able to implement most of the things I want to learn. I have worked on API systems before, but never built any from scratch.

###Building a Pókemon API

I thought that choosing a topic that I'm already related to could make this a little more fun. And being honest, it is something that I already wanted to try out.

I did some research and decided that I'll be using [Tutorials Teacher](tutorialsteacher.com/webapi) documentation to learn the basics, and once I finish that, I might move to the next topic, but I'm not sure (Any suggestions for related courses, will be welcome).

###What I learnt today

*Web Api uses a naming structure that allows asumptions about what type of method is being executed. This can be done by naming the method as the command you want to implement. For example, a Get() method is running a GET command.
*The routes for the API calls can be changed by modifying WebApiConfig file
*Instances of a class made in a call get wipe out after it finishes
*GET command could, in theory, save data too as POST does, but by sending the data in the URL instead of the JSON's body. Cons of using this method, would be that the URL only admits a total of 2000 characters, and data is completly visible, even in HTTPS.

###Conclusion

I tried to stick to the "1 hour a day" rule, but it definetly took much more than that. Anyways, it is what it is...(as a native spanish speaker, I love how that last phrase sounds)
38/45 Books: Read! 7 more to Go!
Tags: books
Published: 2021-11-05 01:02:15

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

7 more to go till the end of the year. Tracking my progress [here](https://github.com/MokoSan/BookReviews_2021/blob/main/Progress%20Tracker.ipynb). 

Top 5 Books:
1. Atomic Habits - James Clear
2. Mindset - Carol Dweck
3. Stillness is the Key - Ryan Holiday
4. The War of Art - Steven Pressfield
5. Man's Search For Meaning - Viktor Frankl
Tutorial: Write Your First JavaScript Program
Tags: javascript, codenewbie, tutorial, 100daysofcode
Published: 2021-11-05 00:37:49

---
title: Tutorial: Write Your First JavaScript Program
published: true
description: Tutorial: Write Your First JavaScript Program
tags: JavaScript, codenewbie, tutorial, 100daysofcode
//cover_image: https://direct_url_to_image.jpg
---

JavaScript programs execute in the browser. That means you need an HTML document. Here is a simple one to start with:

```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>My document</title>
</head>
<body>


</body>
</html>
```

That is a very basic HTML document that doesn’t do much. For now, save it to a file named `helloworld.html`. The `.html` extension indicates that the file is an HTML document.

Now add JavaScript to the HTML document. Write JavaScript code inside a `<script> </script>` element:

```html
<!DOCTYPE html>
<html lang="en">
<head>
<title>My document</title>
</head>
<body>

<script>
let s = "Hello, world.";

document.write(s);

console.log(s);
</script>

</body>
</html>
```

This JavaScript code declares a variable `s` and assigns the string `"Hello, world."` to it.

Next, it outputs `s` to the document.

Finally, it outputs `s` to the console.

To execute the JavaScript code, double-click the `helloworld.html` file. The program will execute in your browser. Note the output in the body of the document.

To see the console output, view the browser console:

* Right-click anywhere in the document and click *Inspect*.
* Expand the browser window wide.
* Click the *Console* tab in the top-right.

🏆 Congratulations! That’s your first JavaScript program!

Now you can explore and learn the rest of the JavaScript language.

Follow me on Twitter [`@realEdwinTorres`](https://twitter.com/realEdwinTorres) for more programming tips. 😀
English-Tajik Computer Science Glossary |Истилоҳоти ингилисӣ-тоҷикии улуми роёна
Tags: computerscience, glossary
Published: 2021-11-05 00:26:43

Дар саҳифаи [зерин](https://m19v.github.io/docs/references/glossary/eng-tjk-computer-science-glossary) истилоҳоти ингилисӣ-тоҷикии улуми роёна ва тавсифи онҳо ҷамъоварӣ мешавад, то ба омузанда дар фаҳмидани мавзуъҳои соҳаи улуми роёна кӯмак расонад.

Cаҳифаи номбурда пайваста таҳрир, тасҳеҳ ва нав карда мешавад. Ҳамаи хонандагон метавонанд барои беҳтар кардани саҳифа саҳми худро гузоранд. Барои он шумо метавонед илова, эрод ва пешниҳодҳои худро дар шарҳ бинависед ва ё ба суроғаи электронии mnineteenv@gmail.com равона кунед.

**Диққат!** Истифодаи истилоҳоти саҳифаи боло дар мақолаҳо ва корҳои илмӣ бидуни тасдиқи дурустии он бо мутахассиси соҳаи забоншиносӣ тавсия дода намешавад.