Skip to content

Instantly share code, notes, and snippets.

View kellyfire611's full-sized avatar
🙃
On the new way, fly to NenTang zone !!!

Dương Nguyễn Phú Cường kellyfire611

🙃
On the new way, fly to NenTang zone !!!
View GitHub Profile
@kellyfire611
kellyfire611 / publickey-git-error.markdown
Created March 8, 2022 03:34 — forked from adamjohnson/publickey-git-error.markdown
Fix "Permission denied (publickey)" error when pushing with Git

"Help, I keep getting a 'Permission Denied (publickey)' error when I push!"

This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:

  1. Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any *nix based command prompt (but not the default Windows Command Prompt!)
  2. Type cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows)
  3. Within the .ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.
  4. To create the SSH keys, type ssh-keygen -t rsa -C "[email protected]". Th
@kellyfire611
kellyfire611 / publickey-git-error.markdown
Created March 8, 2022 03:34 — forked from adamjohnson/publickey-git-error.markdown
Fix "Permission denied (publickey)" error when pushing with Git

"Help, I keep getting a 'Permission Denied (publickey)' error when I push!"

This means, on your local machine, you haven't made any SSH keys. Not to worry. Here's how to fix:

  1. Open git bash (Use the Windows search. To find it, type "git bash") or the Mac Terminal. Pro Tip: You can use any *nix based command prompt (but not the default Windows Command Prompt!)
  2. Type cd ~/.ssh. This will take you to the root directory for Git (Likely C:\Users\[YOUR-USER-NAME]\.ssh\ on Windows)
  3. Within the .ssh folder, there should be these two files: id_rsa and id_rsa.pub. These are the files that tell your computer how to communicate with GitHub, BitBucket, or any other Git based service. Type ls to see a directory listing. If those two files don't show up, proceed to the next step. NOTE: Your SSH keys must be named id_rsa and id_rsa.pub in order for Git, GitHub, and BitBucket to recognize them by default.
  4. To create the SSH keys, type ssh-keygen -t rsa -C "[email protected]". Th
@kellyfire611
kellyfire611 / index.html
Last active September 22, 2019 08:59
Table đơn giản
<!DOCTYPE html>
<html>
<head>
<title>Nền tảng căn bản về HTML5 đầu tiên - nentang.vn</title>
<meta charset="utf-8" />
<meta name="keywords" content="nền tảng, nen tang, học web, html5, html, css, js, hoc web can ban, học web căn bản" />
<meta name="description" content="Cung cấp nền tảng kiến thức căn bản về lập trình web HTML5, CSS3, JS" />
</head>
<body>
<h1>Web căn bản HTML5 CSS3 JS - nentang.vn</h1>
@kellyfire611
kellyfire611 / c-u-truc-file-html5-can-b-n.markdown
Created November 18, 2018 16:53
Cấu trúc file HTML5 căn bản

Cấu trúc file HTML5 căn bản

Nền tảng cản bản về HTML5 - nentang.vn

A Pen by nentang on CodePen.

License.

@kellyfire611
kellyfire611 / c-u-truc-c-b-n-html.markdown
Last active November 18, 2018 16:52
Cấu trúc cơ bản HTML