teleren/devto huggingface dataset:
Kitty configuration for the iTerm user
Tags: productivity, tooling, terminal, macos
Published: 2021-12-25 22:43:50

I've been using [kitty](https://sw.kovidgoyal.net/kitty/) for a couple of days and I really like it.
As I come from years of using [iTerm](https://iterm2.com/), I immediately had problems with the default configuration and key mappings. So today I'm sharing all the configurations that made my transition super smooth.

First a list of what I wanted to achieve
- Minimal UI (no borders, no title bar decorations)
- `ctrl + d` for vertical split
- `ctrl + shit + d` for horizontal split
- `ctrl + w` close split or tab
- `ctrl + t` new tab
- `cmd + arrow left/right` move to beginning/end of line
- `option + arrow left/right` move to beginning/end of word
- `cmd c/v` copy/paste from clipboard

Here a gist with my current configuration

{% gist https://gist.github.com/protiumx/94c4de0cd948616d6930ad80bc0a98ff %}

One more thing: [Themes](https://github.com/dexpota/kitty-themes)
How to make Floating animation in HTML CSS
Tags: css, animation, html, webdev
Published: 2021-12-26 09:08:03

Animations are one of the most attractive things when it comes to Websites. Even having some little minimalistic animations can make your website much more soothing and attractive.

In this blog, we will see how to we can make a little floating animation in HTML CSS only.


**Example-**
![Floating image demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cbbacauh9lidxgsy27zf.gif)

This gif is from my React JS OTT webapp [Link here](https://ethrex-watch.web.app/) :)


Looks cool enough for loading screens right ? You can also use it for some on page element animations.
``

## Let's jump into Development part !

### - HTML

Put a simple image inside of a div. This image will be the one we are going to make a float.

### - CSS

Design your parent div with a flex (recommended way but totally optional).
Then make a ``@keyframe`` with an animation -

<pre>
@keyframes floater {
  0%{transform: translateY(-10%);transition: ease 0.5s;}
  50%{transform: translateY(10%);transition: ease 0.5s;}
}
</pre>

Now connect your animation with you're image class. And put default   translateY to -10% and transition ease 0.5s for smooth animation

<pre>
.float-area{
  height:100vh;
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
}

.floating-img{
  transform: translateY(-10%);
  animation: floater 1.5s infinite;
  transition: ease 0.5s;
  width: 80px;
  height:80px;
}

</pre>

**Source code -**

{% codepen https://codepen.io/suyashvash/pen/eYGeQzW %}

### And Poof ! You're image is floating like a charm !

Now go on and play with the values and make it more interesting according to your needs :)


**Thanks for reading my blog! Please drop a Like and Comment if you found it useful**
Building a Trivia Quiz App in React
Tags: javascript, webdev, tutorial, react
Published: 2021-12-26 09:05:01

Lets create a Quiz App in React only. How and with what libraries? Setup project with Vite; Bootstrap/React-Bootstrap for styling; Fontawesome icons; Questions for the quiz are stored in json files; Some animations with react-spring. Watch and Code-along this React Trivia Quiz style app here...

{% youtube DOynDqBbvWg %}
Tip to make your life better
Published: 2021-12-26 08:57:20

[TOC]



# More Healthy - សុខភាពល្អ

- eat healthy food
- get enough sleep

# Best Tip Learning English

- watching English movie

- pratice with friend.

  ```html
  <!DOCTYPE html>
  <html>
  <head>
  <title>Page Title</title>
  </head>
  <body>
  
  <h1>This is a Heading</h1>
  <p>This is a paragraph.</p>
  
  </body>
  </html>
  ```
Hacking Upload Methode KCFINDER
Tags: javascript, programming, python, webdev
Published: 2021-12-26 08:49:24

This script is recode from Meow404 project. 
use it well.
Written by: Meow404-Unknown45 
My Partner by: CyberArmy

If you like this post please **Hearth - Unicorn - Save**
- Github Repo: [KCFINDER](https://github.com/SourCode-Z/KCFINDER)


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

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

**PREREQUISITES**
Python 3.x
pip3
git

**PYTHON 3 PREREQUISITES**
aiohttp
asyncio

**Installation**
$ git clone https://github.com/SourCode-Z/KCFINDER
$ cd kcfinder
$ pip3 install -r requirements.txt
$ python exploit.py

**Update Wordlist**
$ apt install wget
$ python update.py

Note
Error 403 = Firewall in Website
Error 500 = Server not Responding / Connection Error
Hacking to FindLogin website
Tags: javascript, webdev, programming, html
Published: 2021-12-26 08:44:34

This exploit serves to find a login gap from the system administrator to enter the dashboard page.  
This attack will usually work on websites that have the kcfinder extension.

This script was made by myself without the intervention of others.!


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

**Find Login feature**
- Fast search
- Much wordlist
- Good connection
- Support for termux
- Coming soon for another os

**[ Installation ]**
$ apt update upgrade
$ apt install python3 git
$ git clone https://github.com/SourCode-Z/Findlogin-v.1.5-meowproject-
$ cd findlogin
$ pip install -r requirement.txt
$ pip install asyncio aiohttp time socket request
$ python adfind.py
Modifications to url in Golang
Tags: go, restapis, webdev, tutorial
Published: 2021-12-26 08:42:46

Hi,

Today, I am going to write simple steps to modify [url](https://pkg.go.dev/net/url) in Golang.

Sometimes in Golang server code, we need to redirect to different endpoint where we are required append few query params or request headers before we do redirect.
 
Please ignore if there are any mistakes.

```golang
package main

import (
	"fmt"
	"log"
	"net/http"
	"net/url"
)

func main() {
	// This is just some example URL we received in our backend code.
	// Now we need to append some query params to it,
	// so that we can redirect or hit the newly formed URL.
	u := "https://www.example.com/path1/path2"

	// Scenario (1):
	// We just need to append path. For that we can just append "path" with simple string.
	// Before you add "/" check the URL has already or not
	pAppendedURL := u + "/pathN"
	if isValid, err := IsUrl(pAppendedURL); !isValid {
		log.Fatalf("Invalid URL: %v\n", err)
	}
	fmt.Printf("Appended path param to the URL: %s\n", pAppendedURL)

	// Scenario (2):
	// We need to append one or more query params.
	queryParms := url.Values{}
	queryParms.Add("key1", "value1")
	queryParms.Add("key2", "value2")

	// Append '?' if it does not exists already.
	qAppendedURL := u + "?" + queryParms.Encode()
	if isValid, err := IsUrl(qAppendedURL); !isValid {
		log.Fatalf("Invalid URL: %v\n", err)
	}
	fmt.Printf("Added query params to the URL: %s\n", qAppendedURL)

	// You may want to build request object like below
	// and redirect to the URL you built.
	req, err := http.NewRequest(http.MethodGet, qAppendedURL, nil)
	if err != nil {
		log.Fatalf("Failed to create request object: %v\n", err)
	}

	// Add request headers
	req.Header.Add("header1", "value1")
	req.Header.Add("header2", "value2")

	// So, you can redirect to the URL by new request object
	http.Redirect("your response writer goes here", req, qAppendedURL, 304)
}

// IsUrl checks if the URL is valid or not.
// https://stackoverflow.com/questions/25747580/ensure-a-uri-is-valid/25747925#25747925.
func IsUrl(str string) (bool, error) {
	u, err := url.Parse(str)
	return err == nil && u.Scheme != "" && u.Host != "", err
}

```

Thank you
Shell-Backdoor for Hacking
Tags: programming, php, javascript
Published: 2021-12-26 08:41:44

I made this script to help make it easier for you to directly attack index.html / index.php / phpmyadmin on the website
for the advantages of this script feature I have completed everything. You can check the features below
I'm optimizing updates as soon as possible, for a better experience. 😄
if you are interested, please share and include the source to appreciate us who have made this shell-backdoor. 😄

- Github Repo: [Shell Backdoor](https://github.com/SourCode-Z/Shell-Backdoor)

**Website has been hacked by PenucuriCode**

- [Clinicadelacostera.com](https://clinicadelacostera.com/)
- [Mashew.com](https://ftp.mashew.com/)
- [Rednoses.de](http://www.rednoses.de/)
- [Loogistico.com](https://www.loogistico.com/assets/upload_files/readme.html)
- [138.68.183.167](http://138.68.183.167/)
- [207.246.87.249](http://207.246.87.249/)
- [66.42.99.19](http://66.42.99.19/)
- [35.154.178.25](http://35.154.178.25/)

**Password shell-backdoor**
- username : meow404
-  password : penucuriCode


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

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/aw2wvuybu2nr12y3bra8.png)
What should have a company to work on in?
Tags: beginners, blog, programming, webdev
Published: 2021-12-26 08:41:43

Yeah!!! It should be your first question when you started reading this _post series_ 😄, it means what should have a company to **love** me. 

Let me start telling that I have just rejected tons of job **positions**, as I said before I don't choose a job only by the salary, it should be the last weight into your **decision** 💻. I mean, I prefer to have a really enjoyable working environment than have an awful one, it means feeling exactly you want everyday.

There are a lot of **companies** in the world with different background and opportunities 🏛, but unfortunately I have heart a lot: 

> I will pay you _whatever you want_ if you **work** on my **company** 😞

or maybe, the typical phrase: 
> We **want** the best one ▲.

## Nevertheless, what does it mean 😅?

It means exactly that they will always take into account your knowledge, they don't care about your _experience, background, mindset_, they only want you to _put the fire away_ 😏. They don't care about you, you are practically judge of your knowledge, maybe you have less experience than another candidate, but you have more practical use cases and you are able to **learn in half time**, but it doesn't care, they are looking at the **present**. 

If you get a job **there**, you will only be asked for _solutions_ 🧐, and after each sprint you will get a pat on the back 😞. Mainly you are working such a robot, you get requirements and are asked for a _solution_. I think it's really bored, I'm sure you will get out ASAP. 

I hate this type of _companies_ where your job is the most important **thing**, otherwise, there are some companies (unfortunately lesser 😁) that really appreciate your background, experience and the most important thing, **your mindset**, yeah, I know, the only needed thing is to have wanted. You are able to learn whatever you need, it only takes some time, these types of company allow you to grow your professional career really faster that another ones.

I mean to appreciate when a company is asking about your _mindset_, I assure you that you will get a really confortable working **environment** where you will be able to learn everyday, 😇 these are the keys I'm looking for when I receive a new job opportunity. I always keep in mind this phrase:

> If you are the best you will get paid as one.

That's all, it's my opinion about new job positions, if you like this post please share with your friends and give us a feedback about it. We really appreciate it.
Effective Email Marketing
Published: 2021-12-26 08:40:52

If you own a website, then the next best thing you need to do is to build rapport with the visitors of your website. You do this by investing in email marketing. Email marketing is all about sending commercial email  messages to a group of people who have given their permission to receive those emails. Email marketing can help turn a visitor to your site into a potential customer. A visitor to your site may be looking for information related to his/her problems. 

He/she may read an article on your website that addresses the problem. If your website is selling a product or service that helps to alleviate the problem, then the visitor may buy the product or service you are offering to help them overcome their problem. There are many factors that affect the customer's decision on purchasing your product. It may be due to the price or the problem they are facing may not be that severe (i.e. they could do something to get temporary relief from the problem). Either way, Email Marketing is designed to let potential customers know that your website is offering information that addresses their need or problem.

The average visitor to your website will probably leave your website forever after reading a couple of articles instead of buying your product or service. Most potential customers look for solutions that are free instead of paying for a product or service. If you want to sell products or services to your website visitors, you will need to build rapport with the customer and educate them about the products you are selling. The best way to build a relationship with your customer is to get their email address. Once you have their email address, you can contact them whenever you want and educate them about the benefits of your product or service.

If you need any kind of information please visit our website : https://lastdatabase.com/
Encode - Decode
Tags: javascript, webdev, programming, html
Published: 2021-12-26 08:37:43

In computers, encoding is the process of putting a sequence of characters
(letters, numbers, punctuation, and certain symbols)
into a specialized format for efficient transmission or storage.
Decoding is the opposite process --
the conversion of an encoded format back into the original sequence of characters.

This script was made by myself without the intervention of others.!

Github Repo: [Encode - Decode](https://github.com/SourCode-Z/Encode-Decode)
HTML-Encrypted
Tags: javascript, programming, html
Published: 2021-12-26 08:33:36

Protect your HTML-code by using encryption.
Your website will be shown as normal but the HTML-code will be encrypted by Javascript.

This script was made by myself without the intervention of others.!
Protect your HTML-code by using encryption. Your website will be shown as normal but the HTML-code will be encrypted by Javascript.

- Link HTML encrypted: [encrypted your Code](https://sourcode-z.github.io/HTML-Encrypted/)

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

if u wat use my HTML Encrypt for ur page please add Credit
Go Introduction #1
Tags: go, programming, beginners
Published: 2021-12-26 08:14:49

## Introduction :
Go is the language made at **Google** by *Robert Griesemer, Rob Pike,* and *Ken Thompson* in 2007, which was **open-sourced** in 2009.
Go is **statically-typed** which means variables are declared explicitly and determined at runtime.

### Why another programming language?
Whenever we learn any programming language the first question obviously comes to the mind why learn a different language when there are many others.
So the answers may be the following:-
- Infrastructure changed a lot.
- Multicore processors were included everywhere.
- Cloud infrastructure became common.
-  [Big Network Computation Clusters](https://www.geeksforgeeks.org/an-overview-of-cluster-computing/)  became universal.

However, existing languages were not able to take full advantage of it.
Here comes the use of the Go programming language which had Multicore concurrency support.
This support is on **C++** and **Java** but they have complex code and are slow.


- Go was designed to run on multiple cores and built to support concurrency(Dealing with lots of things at once).
- Concurrency in Go is cheap and easy.

### Use cases of GO

- Writing applications that need to be very quick
- Application that will run on *modern, scaled, and distributed infrastructure* with hundreds of thousands of servers typically on a **cloud platform**.

Go is used in server-side backend applications, these can be:

1.  [Microservices](https://aws.amazon.com/microservices/) 
2. Web-Applications
3. Data-Base services
It is interesting to know that many cloud clusters are already written in Go.
Docker, Kubernetes, and Cockroach Db are written in Go.



### Go characteristics
**Simple and Readable** - Has syntax of dynamically typed language like **Python**
**Efficiency and Safety** - of lower-lever, statically-typed language like **C++**
 
### Advantages
1. Simple syntax which makes it easy to learn and write code.
2. Fast in building time, startup, and running.
3. Requires fewer resources.
4. Easy to maintain.

**Compiled Type Language-**
Go compiles into single binary code(machine code) which can be run on any system unlike Python.
This was the end of 1st part in Go series more will be coming.
It's also available in my hashnode  page [here](https://hadesinc.io/go-introduction-1-ckxmz99va04my71s11mk516vo)

BASICALLY simplicity + speed= GO........
Login bot Discord with Webhook
Tags: javascript, webdev, programming
Published: 2021-12-26 08:11:23

These are most of the examples of BOT Login with Webhook method.
and very easy to use, does not require a TOKEN

- Invite my Bot: [Kaixin Music](https://discord.com/oauth2/authorize?client_id=904032472755499099&permissions=327558298918&scope=bot)
- Link Webhook: [Login Bot With Webhook](http://bot.zone-id.my.id/)
- Follow Github: [penucuriCode](https://github.com/GarudaID)

**Send Message to Channel**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zlq73k78vjmebgl065ds.PNG)

**After Send Message**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/12y0esj8p0hyrjqtlwzs.PNG)

if you like this post, please press **Heart - Unicorn - Save**
JWT, Mongoose, MySQL
Tags: javascript, webdev, programming
Published: 2021-12-26 07:52:39

JWT

JWT is full form JSON Web Tocken.it is transmitting information JSON object. it's data can be verified and trusted with digitally signed.JWTs can be signed using a secret key.



Mongoose

Mongoose is an Object Data Modeling library for MongoDB. it's work like manager for relationship between data, provides schema validation. 


MySQL

Its a relationship base Database. It is a open source Database. It’s using is very easy. MySQL database is an assemblage of relationship data. it's organized table, columns and rows.it's free of cost and available as an open-source for anyone to use with any application. In this application SQL, programming language is used to CRUD as MySQL supported with basic SQL queries.
CRUD Operations

Tags: javascript, webdev, programming
Published: 2021-12-26 07:51:28

CRUD is full form CREATE, READ, UPDATE and DELETE. it's a four functions that are called an application of computer programming. Create means it's work for data insert in DB, Read means it's collect data from DB then it's showing with fetch data for frontend user. Update means it's work for existing data update for user. Delete means it's work for delete data from Data base.

A Company or Organizations keep data, accounts info, payment information and anything data do storage in database of customer. This system will do organized into a database. There data storage system will two things one is relational dabase and other one is non relational database. The application used to verious database which include Oracle Database, Microsoft SQL Server, MySQL and Others.
A Text to Speech Converter for busy bodies
Tags: python, opensource, programming
Published: 2021-12-26 07:48:35

Hello Devs,
It's me Dave again......
In these days it's tough to get free time because of the stress in work from home and we can't read stories or books we love....
To get rid of that problem we are going to create a really simple console based Text to Speech Converter

Requirements: -
1) Python, of course
2) pyttsx3 package
   You can install it via pip install pyttsx3

```
import pyttsx3

while True:
    thetext = input("Please enter the text you wish: \n")
    pyttsx3.speak(thetext)
```
This is really simple console based app
Feel free to give feedback in the comments below...
Contact: davidjeremiah050708@gmail.com
Discord: DJ050708#7940

Thank You
Flex-grow, Flex-shrink, Flex-basis - Day 4 Coding Challenge - Seb Codes the Web
Tags: css, design, todayilearned
Published: 2021-12-26 07:31:36

## Flex-grow, Flex-shrink, Flex-basis - Day 4 Coding Challenge

I finished module 7 yesterday from the  [frontend-developer path](https://scrimba.com/learn/frontend) on Scrimba.com. And started module 8, which was about Flexbox, and using flexbox with fetch(some weird combination I guess)

I already felt like I knew how to use flexbox, but there are some new interesting things I discovered. 

The most interesting things to me were flex-basis, flex-grow, and flex-shrink, which could all be defined in the shorthand of flex. These properties basically control the sizing of the flexbox items. Flex-grow controlling excessive space, flex-shrink controlling a lack of space, and flex-basis setting the border when it turns over from flex-shrink to flex-grow.

Flex-grow controls how fast the item grows as the viewport gets larger, for example:
```css
.flex-item-1 {
    flex-grow: 1;
}

.flex-item-2 {
    flex-grow: 2;
}
``` 
Then that would mean that as the viewport gets larger, flex-item-2 would get twice as much of the new space, and therefore "grow". Flexbox shrink works in the same fashion, where it instead shrinks in different paces.

Flex-basis is an interesting one, because it sets the default value before the flex-items start to grow or shrink. It's kind of like setting an ideal size, following the main axis of the flex-container. It's sets the basepoint for were the flex-item is going to start to grow and shrink. 

What do I mean with this? Well, trying to put it simply, flex-basis sets the width of an item, but if the flex-direction was column, then it would set the height instead. 

Together all this properties could be summed up in one shorthand, flex. It could look like this: 

```css
.flex-item {
    flex: 0 1 100px;
}
``` 
This code sets flex-grow to 1, flex-shrink to 0 and flex-basis to 100px. Note that the default for flex-grow is 0, meaning that the item reaches a certain size and then stops growing. However, when you use the shorthand, it changes the default for flex-grow to 1, if you don't define it. 

Thus is the basics of flex-grow, flex-shrink and flex-basis. They really help in creating fully responsive websites!


![Funny Gif](https://i.pinimg.com/originals/05/6e/d6/056ed631e7081baeed6cfcab495198cc.gif)



I will be further documenting my  [progress](https://sebcodestheweb.hashnode.dev/)  for the coming days, and filming myself on my  [Youtube-channel](https://www.youtube.com/channel/UCikWIcChAOSwoc2qpbZ6iIA), it would really make my day if you subscribed to my youtube channel or followed my blog, so you can come along my journey and learn with me!

Peace.
A quick bio
Published: 2021-12-26 07:24:23

Hi nice to meet you, I'm Will. 

I am a Canadian working at a [results-oriented content marketing agency based in Vietnam](https://www.8bitcontent.com/). We specialize in crafting content that attracts both target audiences and Google.

My entire career has revolved around marketing: contributing, managing, and consulting successful PR and content campaigns across B2B and B2C industries for both international and local companies.

If your business is in need of fresh ideas and content that connects - or if you'd simply like to chat - drop me a line on!