teleren/devto huggingface dataset:
Finally, being useful (almost)
Tags: opensource
Published: 2021-10-31 15:21:05

I have done my PR for 7tv! Yes! The most serious PR I have. It is awkward when the dev team trusts to put you amongst themselves, but actually you are not really doing anything there for the most part, and just have a role... 
<img src="https://cdn.discordapp.com/attachments/353432193730871296/904384208422703154/Screenshot_62.png" />
But those days are over, since I have done something! Something small, sure, but more than nothing already. I did the style for comments at the emote page. Here's how it looks like with my changes. 
<img src="https://cdn.discordapp.com/attachments/353432193730871296/904385046784376842/Screenshot_63.png" />
Sadly, the new data structure is not ready yet to actually connect it to my front end. I want to follow the project closely for longer, to perhaps see when they add it. Maybe I could connect it myself. (only if I have an example of how first though)

The timing for this project was pretty bad. I have had my worst state during the days when I was supposed to be working on it. I kept feeling that completing this thing wasn't enough, but realistically that's how it works out sometimes. I don't think I was able to do more in my state. 

Despite the smallness of my contribution, I have learned a lot of unforseen things. For example, I learned about differences in windows/linux new line characters. How you can configure your VS code formatting. How to even deal with prettier and a little bit with lint. I had to ask the dev for help with those trivial things, which felt terrible, but I'm glad I'm now past those roadblocks. I'm sure I'll see them again, but this time prepared.
Useful Shortcut Keys for VSCode
Tags: vscode, productivity, codenewbie, tooling
Published: 2021-10-31 15:05:30

## Basic Editing

```
Ctrl + X                    // Cut line
Ctrl + C                    // Copy line
Alt + ⬆ or ↓                // Move line up / down
Shift + Alt + ⬆ or ↓        // Copy line up / down
Ctrl + Shfit + K            // Delete line
Enter                       // Insert line below
Ctrl + Shift + Enter        // Intsert line above
Ctrl + F                    // Find
Ctrl + H                    // Replace
Ctrl + /                    // Toggle line comment
Shift + Alt + A             // Toggle block comment
Alt + Z                     // Select Multiple line individually
Tab                         // Indent line
Shift + Tab                 // Indent back the line
```

## Navigation

```
Ctrl + Shift + `            // Open New Terminal
Ctrl + Shift + M            // Open Problem Panel
Ctrl + P                    // Go to File

```

## File Management

```
Ctrl + N                    // New file
Ctrl + O                    // Open file
Ctrl + S                    // Save
Ctrl + Shfit + S            // Save As
Ctrl + Shfit + T            // Reopen closed file
Ctrl + Tab                  // Open next file
Ctrl + Shfit + Tab          // Open previous file
```

## Display

```
Ctrl + / -                  // Zoom in / out
Ctrl + B                    // Show sidebar visibility
Ctrl + Shfit + F            // Show Search
Ctrl + Shfit + X            // Show Extension
Ctrl + Shfit + D            // Show Debug
Ctrl + Shfit + U            // Show Output Panel
Ctrl + Shfit + G            // Show Source Control
```

---

Did you find it help? Let me know your thoughts in the comments below!

## Let's connect!

You can follow me on [Twitter](https://twitter.com/MrDanishSaleem), [LinkedIn](https://www.linkedin.com/in/mrdanishsaleem/) & [GitHub](https://github.com/mrdanishsaleem/)

---

If you like this post. Kindly support me by [Buying Me a Coffee](https://www.buymeacoffee.com/mrdanishsaleem)

![Buy Me a Coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v0ikih5nlsqs0oops11e.png)
Contain scrolling, contain reading
Tags: css, webdev
Published: 2021-10-31 15:03:35

2 interesting articles in [this week's Frontend Focus](https://frontendfoc.us/issues/514).

1. Contain scrolling behavior

When you add scrolling behavior to a certain container you sometimes do not want to continue scrolling when you reach the end of the container. This can be achieved with by setting the CSS `overscroll-behavior` property to `contain`. Read more in [Prevent Scroll Chaining With Overscroll Behavior](https://ishadeed.com/article/prevent-scroll-chaining-overscroll-behavior/). 

2. Restrict width of text container

Swyx reminds us about the simple `max-width: 70ch;` property to keep texts readable on large screens. He also links to some bookmarklets so you can apply readability to whatever website (for example Wikipedia): [100 Bytes of CSS to look great everywhere](https://www.swyx.io/css-100-bytes/).
Divtober Day 30: Contrast
Tags: codepen, divtober, css, art
Published: 2021-10-31 14:58:33

---
title: Divtober Day 30: Contrast
description: A couple of cartoons for divtober day 30: contrast.
published: true
tags: codepen,divtober,css,art
series: divtober
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w7mrugnfkt09dzh0i6hy.png
---

Again, I forgot to publish this yesterday, when the word was "Contrast." I did two drawings:

The first one was a basic "logo" showing the word "contrast" with the contrast symbol (kind of):

{% codepen https://codepen.io/alvaromontoro/pen/MWvvMpy %}


The second one was an animated drawing showing the contrast between the summer and winter season on the same landscape (slide right and left to see the changes):

{% codepen https://codepen.io/alvaromontoro/pen/VwzMvzx %}

Unfortunately, this last one won't work for Firefox users, who will only see the static winter landscape and won't be able to interact with it.
Decode GZIP response in Laravel
Tags: laravel
Published: 2021-11-20 11:14:32

---
title: Decode GZIP response in Laravel
published: true
date: 2021-10-31 14:37:34 UTC
tags: laravel
canonical_url: https://adithya.dev/decode-gzip-response-in-laravel/
---

If you try to decode a GZIP response without decoding, you will have seen this error

```
XMLReader::read(): /var/www/html/:1: parser error : Document is empty {"exception":"[object] (ErrorException(code: 0): XMLReader::read(): /var/www/html/:1: parser error : Document is empty at
```

To decode a XML ZIP response in Guzzle, you can do this as recommended by the [documentation](https://docs.guzzlephp.org/en/stable/request-options.html#decode-content)

```
// Request gzipped data, but do not decode it while downloading
$client->request('GET', 'foo.xml.gz', [
    'headers' => ['Accept-Encoding' => 'gzip'],
    'decode_content' => false
]);
```

When set to a string, the bytes of a response are decoded and the string value provided to the decode\_content option is passed as the Accept-Encoding header of the request.

```
// Pass "gzip" as the Accept-Encoding header.
$client->request('GET', 'foo.xml.gz', ['decode_content' => 'gzip']);
```

Laravel provides useful header methods via its HTTP client.

```
$response = Http::withOptions([
            'decode_content' => 'gzip'
        ])->get('foo.xml.gz');
```

or using headers, this can be

```
   $response = Http::accept('gzip')
				->get('foo.xml.gz');

```
How to solve CTF ☠️ (Capture_the_flags) 
Tags: ctf, programming, beginners, webdev
Published: 2021-10-31 14:37:18


Challenge types

Jeopardy style CTFs challenges are typically divided into categories. I'll try to briefly cover the common ones.

Cryptography - Typically involves decrypting or encrypting a piece of data

Steganography - Tasked with finding information hidden in files or images

Binary - Reverse engineering or exploiting a binary file

Web - Exploiting web pages to find the flag

Pwn - Exploiting a server to find the flag

Where do I start?

If I managed to pique your curiosity, I've compiled a list of resources that helped me get started learning. CTF veterans, feel free to add your own resources in the comments below!

Learning

http://ctfs.github.io/resources/ - Introduction to common CTF techniques such as cryptography, steganography, web exploits (Incomplete)

https://trailofbits.github.io/ctf/forensics/ - Tips and tricks relating to typical CTF challenges/scenarios

https://ctftime.org/writeups - Explanations of solutions to past CTF challenges

Resources

https://ctftime.org - CTF event tracker

https://github.com/apsdehal/awesome-ctf - Comprehensive list of tools and further reading

Tools (That I use often)

binwalk - Analyze and extract files

burp suite - Feature packed web penetration testing framework

stegsolve - Pass various filters over images to look for hidden text

GDB - Binary debugger

The command line :)

Practice

Many of the "official" CTFs hosted by universities and companies are time-limited competitions. There are many CTFs however that are online 24/7 that can be used as practice and learning tools. Here are some that I found to be friendly for beginners.

https://ctflearn.com - A collection of various user-submitted challenges aimed towards newcomers

https://overthewire.org/wargames/ - A series of progressively more difficult pwn-style challenges. (Start with the bandit series)

https://2018game.picoctf.com/ - Yearly time-limited CTF now available to use as practice

Conclusion

CTF is a great hobby for those interested in problem-solving and/or cyber security. The community is always welcoming and it can be a lot of fun tackling challenges with friends. 


Thank you for reading!
Happy Hacking ☠️

Listen to my favorite Lofi music Tracks
https://www.youtube.com/watch?v=_C12AC2Cxn8

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
How to install Gromacs, PyMOL, AutoDock Vina, VMD, MGLTools, Avogadro2, Open Babel in Ubuntu 20.04
Tags: linux, bash, bioinformatics
Published: 2021-10-31 14:34:52

One of the most time-consuming and frustrating aspects of computational tasks has always been properly installing software and getting it up and running in no time. In the case of bioinformatics tools, this is notoriously difficult in some cases, particularly in Linux-based operating systems such as Ubuntu, where one-click installer files, unlike Windows, are not an option. Although much of the popular software in the bioinformatics world is easy to install in Ubuntu if one is familiar with the ecosystem, a beginner will certainly have a difficult time circling the internet trying to find a proper installation method, at least, that’s what I had to go through when I first started out.

Here in this article, I compiled out the installation methods of some of the most commonly used bioinformatics and simulation tools, as well as how to run these tools after installing them on an Ubuntu 20.04 machine. Feel free to let me know which software should be added next.
<br/>
### Before running any of the commands below, run this command once:
```
sudo apt-get -y update
```
-----------------------------------------
## 1. Avogadro2 <br/>

### Installation
```
sudo apt-get install -y avogadro
```
### How to run `Avogadro2`
```
avogadro2
```
-----------------------------------------
## 2. PyMOL

### Installation
```
sudo apt-get install -y pymol
```
### How to run `pymol`
```
pymol
```
-----------------------------------------
## 3. Gromacs

### Installation
```
sudo apt-get install -y gromacs
```
### How to run `Gromacs`
```
gmx
```
-----------------------------------------
## 4. VMD

### Installation
```
cd ~

curl -k https://www.ks.uiuc.edu/Research/vmd/vmd-1.9.3/files/final/vmd-1.9.3.bin.LINUXAMD64-CUDA8-OptiX4-OSPRay111p1.opengl.tar.gz --output vmd.tar.gz

mkdir -p vmd

tar -xvzf vmd.tar.gz -C vmd --strip-components=1

cd vmd

./configure

cd src

sudo make install
```
### How to run `VMD`

```
vmd
```
-----------------------------------------
## 5. AutoDock Vina

### Installation
```
sudo apt-get install -y autodock-vina
```
### How to run `AutoDock Vina`
```
vina
```
-----------------------------------------
## 6. MGLTools

### Installation
```
cd ~

curl -k https://ccsb.scripps.edu/download/532/ --output mgltools.tar.gz

mkdir -p mgltools

tar -xvzf mgltools.tar.gz -C mgltools --strip-components=1

cd mgltools

bash install.sh

source ./initMGLtools.sh 

```
### How to run `Python Molecule Viewer (PMV)`
```
pmv
```
### How to run `AutoDockTools (ADT)`
```
adt
```
### How to run `Vision`
```
vision
```
-----------------------------------------
## 7. Open Babel Command Line Program

### Installation

```
sudo apt-get install -y openbabel
```

### How to run `openbabel`
```
obabel
```
-----------------------------------------
## 8. Open Babel Graphical User Interface (GUI)

### Installation
```
sudo apt-get install -y openbabel-gui
```

### How to run `openbabel gui`
```
obgui
```
Launch Website
Tags: vue
Published: 2021-10-31 14:30:55

We had launched #wizdwarfs-web. Now our users interact with our website through web or mobile device. In future we will add so many other existing features that engage user interaction. I hope you like our website and in upcoming weeks we will announced another product which we had working over a year. Until the announcement day, please stay tune with us. We like your engagement that remind us that there are people who are waiting for something that change their life experience. However, this can't be possible even in dreams without your engagement. Have a good day.   
https://wizdwarfs-365b9.web.app/
Data Structures and Algorithms Every Software Developer/Engineer Needs to Learn
Tags: algorithms, beginners, programming, codenewbie
Published: 2021-10-31 14:28:46

## Searching

- Linear Search
- Binary Search
- Depth First Search
- Breadth First Search

## Sorting

- Insertion Sort
- Heap Sort
- Selection Sort
- Merge Sort
- Quick Sort
- Counting Sort

## Graphs

- Kruskal’s Algorithm
- Dijkstra’s Algorithm
- Bellman Ford Algorithm
- Floyd Warshall Algorithm
- Topological Sort Algorithm
- Flood Fill Algorithm
- Lee Algorithm

## Arrays

- Kadane’s Algorithm
- Floyd’s Cycle Detection Algorithm
- KMP Algorithm
- Quick Select Algorithm
- Boyer – More Majority Vote Algorithm

## Basics

- Huffman Coding Compression Algorithm
- Euclid’s Algorithm
- Union Find Algorithm

---

## Let's connect!

You can follow me on [Twitter](https://twitter.com/MrDanishSaleem), [LinkedIn](https://www.linkedin.com/in/mrdanishsaleem/) & [GitHub](https://github.com/mrdanishsaleem/)

---

If you like this post. Kindly support me by [Buying Me a Coffee](https://www.buymeacoffee.com/mrdanishsaleem)

![Buy Me a Coffee](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v0ikih5nlsqs0oops11e.png)
Flutter JAM #GDGChennai
Published: 2021-10-31 14:00:32

My experience of the event,
The element of Anxiety to learn Something :
It was never whether the event is of small or big it's the enthusiastic audience that makes it a successful one and only then it would be worth the effort and as far as I've seen never any of the Google event or GDG Chennai failed to meet expectations. And this wasn't my first but something about this made me happy and you know the satisfaction at the end of the day. I was accompanied with Abhishek Uniyal from FnPlus Tech and my friends overall were group of people eager to learn.
Why Jam?
I've just tried flutter on my own and was looking for a Study Jam to get started you know people with common interests ready to learn and share information that was always the best way to begin learning. Alone you don't know anything but just share and collaborate with people and you can do wonders.
ThoughtWorks-office Chennai
Yeah though the event was set to start at 11AM you know traffic in Chennai or any other city, some-how we made it early to ThoughtWorks(the Venue) and trust me it is such an great place to work and it's was a perfect venue for the Jam.
The Speaker
Pavan Kumar GDE (Google Developer Expert) for Flutter and Dart was the speaker and he's come from a long way thank him for that ,especially he was so patient and the explanation, the detail was just amazing he explained everything from the scratch clearly it was very interesting to listen to him and the event was of course a Jam so we were having more of a Hand's on experience than just words so it was more of an experience.
First we were taught the basic structure of a flutter app and then as we move forward we tried to make an Instagram clone app and it was just the same wonder what flutter can do more however out of interest I also made a Gmail clone that day and we had a lot of other fun like some three rounds of quiz based on the learning about things on the day of event and goodies were given for the winners .

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

In the End
It was a good day and everyone were leaving but then it was a five-minute talk with the speaker and man it was awe-inspiring he just broke down the reality of the situation and future to us like his idea as so practical and logical like he said ask yourself whether you want to work for passion or want to get a job ? Stay away from family and alone in another country making a huge sum? It's up-to your satisfaction and zeal to passion at the end of the day But this is just a Glimpse there's was more.
A huge Thanks to everyone who made the Day Count, GDG: Somasundaram and Varun and Kishore from ThoughtWorks, Volunteers : Teja Kummarikuntla, Praveen, Syed Rafi and Karan Ganesan and many others for your efforts for I say it was worth it.
What is Vishing? And How to Protect from it?
Published: 2021-10-31 13:45:23

All of us at least ones got that phone call telling us we won the lottery of million dollars but when we try to get that so-called winning money they told us to give them our bank detail and that is what we called Vishing in technical terms.
 
The word vishing made up of two terms voice and phishing. Phishing is the word used mostly by cybersecurity professionals, meaning trying to get sensitive information about one’s bank account, credit card number, etc. through emails, dummy websites, or any other electronic communication.
 
So the word Vishing means trying to get someone’s personal information through the voice that is through phone calls.

How many kinds of Vishing is there?

There are numerous ways people can do Vishing. Some of them are as follows.

 

Bank frauds

In this kind of fraud, a person tries to get your bank details by saying your bank account is compromised.

 

Credit card frauds

In this scammer try to get detail of your credit card by saying they can give you an exclusive offer on your credit card.

 

Tax frauds

A fraud person can call you telling he is from the Income Tax Department and if you don’t file your Income Tax today only, you will need to pay extra charges. And then can tell you to file income tax with a given website. In this way, you will lose the money you put on to file income tax and your bank details.


Original Article
What is Vishing?

https://comparecheapssl.com/what-is-vishing-and-how-to-protect-from-it/
Hello World 👋
Published: 2021-10-31 13:28:02

I was in London when pandemic started and locked in the house for several months. I started programming since then. I did not have any experiences in programming before and I've been learning by myself so I've been struggling a lot. 
For those reasons, I was hoping to learn things from professionals and maybe get some help. I recently joined a Frontend bootcamp after moving back to Seoul. I would like to share things I've learnt and my programming journey here! 🙂
Hawk Open Source Project
Tags: python, showdev, github, security
Published: 2021-10-31 13:25:51

Hawk is a network and pentest utility that I developed so that I could perform different kinds of task using the same suite, instead of jumping from one tool to another.
Currently, this script can perform a good variety of tasks such as: 
- ifconfig, 
- ping, 
- traceroute, 
- port scans (including SYN, TCP, UDP, ACK, comprehensive scan), 
host discovery (scan for up devices on a local network), 
- MAC address detection (get MAC address of a host IP on a local network), 
- banner grabbing, 
- DNS checks (with geolocation information), 
- WHOIS, 
- subdomain enumeration, 
- vulnerability reconnaissance, - 
- packet sniffing, 
- MAC spoofing, 
- IP spoofing, 
- SYN flooding, 
- deauth attack, 
- brute-force attack (beta).

Other features are still being implemented. Future implementations may include WAF detection, DNS enumeration, traffic analysis, XSS vulnerability scanner, ARP cache poisoning, DNS cache poisoning, MAC flooding, ping of death, network disassociation attack (not deauth attack), OSINT, exploits, some automated tasks and others.
If you want to become a contributor, make a pull request or issue.
Waiting for your feedback. Kudos

Link to the repository: 
https://github.com/medpaf/hawk
How to upload multi files in react native using apollo, graphql and node js
Published: 2021-10-31 13:19:16

apollo-upload-client: 16.0.0
apollo-boost: 0.4.9
apollo-link: 1.2.14
apollo-link-error: 1.1.13
graphql: 15.3.0
@baronha/react-native-multiple-image-picker: 0.4.6

here is a youtube link
https://youtu.be/n0qdt61cpkU
Firestore V9 Stack-board app with react.js
Tags: react, firebase, showdev, webdev
Published: 2021-10-31 13:17:42

Hello everyone few weeks ago I opened my react app and when I run it nothing worked I was so frustrated, it took a while to figure it out that firestone have changed their APIs so I decide to start learning about the new way of doing things.

in the Quest I managed to create an app that I call stack-board.
What can you do with this is very simple
you simple can create a label, give it a color and share it to the other people or keep it private.

You can also add voices stacks and what even more interesting you can add (stack-up) another stacks inside shared stacks
https://stack-board.web.app/
Installing Docker
Tags: devops, docker
Published: 2021-10-31 13:14:54

Docker has different versions:
- Community 
- Enterprise

We will be working with the community edition.

If you are using:
- **Windows** Visit [Windows Docker Installation Notes](https://docs.docker.com/desktop/windows/install/)
- **Mac Os** Visit [Mac Docker Installation Notes](https://docs.docker.com/desktop/mac/install/)
- **Linux** Visit [Linux Docker Installation Notes](https://docs.docker.com/engine/install/)

If you have trouble installing ,reach out to me on [Twitter](https://twitter.com/ZeeLearner)
About Me
Published: 2021-10-31 13:13:53

Hey there, this is Gokul.

There's not a lot to talk about me, so I'll keep it short.

I'm a 3rd year undergraduate student at Kumaraguru College of Technology, Coimbatore, India. I wasn't into coding until last half of my 2nd year. 

To start it off, I took some courses in machine learning, and started participating Kaggle competitions ( kind of half-assed it, tbh ). 

I also heard that Data Structures are part and parcel of a engineering grad aiming for placements, so I gave it a go. 
You know the quote, 'A leetcode problem a day, keeps rejections away.'


Later on, I learnt basic Web Dev, you know, MERN stack.
Built a few personal projects and explored various stacks and technologies and here I am, participating in a few hackathons ( I started blogging cuz of a challenge from Hackmafest, lol).

The point is I'm out there in the world, climbing my way up.

I'll be active in developer communities. There may be a chance you can catch up me with somewhere else, cuz of random coincidence, who knows? Catch up with you later!

A little about my hobbies:
. Love Anime and Manga, consider myself an enthusiast.
. Play FIFA with friends.
. Watch TV with family.
. Code for fun