Toshiki's Notebook https://note.toshiki.dev Toshiki's web notebook served via Vitepress! Sat, 25 Mar 2023 12:39:58 GMT https://validator.w3.org/feed/docs/rss2.html https://github.com/jpmonette/feed en-US Toshiki's Notebook https://note.toshiki.dev/logos/logo-308px.png https://note.toshiki.dev Copyright © 2023-2023 Anda Toshiki, LoliLab and Toshiki Dev present https://note.toshiki.devroadmap.html https://note.toshiki.devroadmap.html
Skip to content
TOC

Theme

Homepage

  • Finish three hero action blocks with keywords and its corresponded descriptions.

  • Finish my learning platform section using SVGs of different online academies from simple icons.

    • Descriptions

    • Icon in SVG format

    • Platform name

    • Linkable SVG icon/button

      • Khan academy
      • GitHub
      • Libretext
      • OpenStax
      • BCcampus
      • Wikibooks
      • Wikipedia
      • Bookboon
      • [ ]

Configs

  • Header configs including different properties and meta configs.
  • Complete navigation configuration.
  • Complete sidebar configs for different directories.
  • Vitepress sidebar generation plugin for huge bundled clips article directory.

Articles

  • <head> tag documentation or guide by joshbuchea/HEAD.
  • Write index page for every directory, no Chat GPT allowed.
  • Chemistry review notes.
  • JavaScript 0-100 notes per chapter.
    • Marijn Haverbeke - Eloquent JavaScript_ A Modern Introduction to Programming (2011, No Starch Press)
  • Outliers novel clips
  • Migrate clipped articles and archives from Notion to Vitepress.
  • Fresh copy of "How To Ask Questions The Smart Way" by Eric Steven Raymond
]]>
<![CDATA[Toshiki's Notebook]]> https://note.toshiki.devindex.html https://note.toshiki.devindex.html
Skip to content

Toshiki's Notebook

Research & Produce

👨‍💻 Eternal & digital knowledge base for content craetion and notes management.

Home logo
🕒

Tempus Fugit

Tempus Fugit, which means "time flies" in Latin, is a phrase that highlights the fact that every person has the same 24 hours per day to learn. However, this time is never enough to learn everything. That's why recording knowledge for review is essential.

Carpe Diem

Carpe Diem, take it slow, seize the day and savor its moments. Enjoy a cup of coffee while playing blues on a 1980s-style CD player. Turn off the lights, close the curtains, and let the small lamp illuminate the space. The time is yours, relish the day, and unleash the productivity while learning.

💡

Epiphania

An epiphany, derived from the Latin word "epiphania," is a moment of sudden and brilliant realization or insight. These moments of clarity and inspiration are precious and should be treated as such; to ensure that we don't forget these valuable ideas.

]]>
<![CDATA[Git push results in "Authentication Failed”]]> https://note.toshiki.devgetting-started.html https://note.toshiki.devgetting-started.html
Skip to content
TOC

Git push results in "Authentication Failed”

Issue

bash
$ git push
Username for 'https://github.com': ${{ GITHUB_USERNAME }}
Password for 'https://andatoshiki@github.com': ${{ GITHUB_PASSWORD }} # or GitHub personal access token
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/andatoshiki/andatoshiki.git/'
$ git push
Username for 'https://github.com': ${{ GITHUB_USERNAME }}
Password for 'https://andatoshiki@github.com': ${{ GITHUB_PASSWORD }} # or GitHub personal access token
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/andatoshiki/andatoshiki.git/'

git push to GitHub remote branch failed via https protocol

Solution

Solution 1

If you enabled two-factor authentication in your GitHub account you won't be able to push via HTTPS using your accounts password. Instead you need to generate a personal access token. This can be done in the application settings of your GitHub account. Using this token as your password should allow you to push to your remote repository via HTTPS. Use your username as usual.

You may also need to update the origin for your repository if it is set to HTTPS. Do this to switch to SSH:

bash
$ git remote -v
$ git remote set-url origin git@github.com:$USERNAME/$REPONAME.git
$ git remote -v
$ git remote set-url origin git@github.com:$USERNAME/$REPONAME.git

Solution 2

GitHub username & password/access token mismatched due to prior temporary Git config setup → Reset Git global username & email config or in current repository

To set your global username/email configuration:

  1. Open the command line.
  2. Set your username: git config --global user.name "FIRST_NAME LAST_NAME"
  3. Set your email address: git config --global user.email "MY_NAME@example.com"

To set repository-specific username/email configuration:

  1. From the command line, change into the repository directory.
  2. Set your username: git config user.name "FIRST_NAME LAST_NAME"
  3. Set your email address: git config user.email "MY_NAME@example.com"
  4. Verify your configuration by displaying your configuration file: cat .git/config
]]>