Skip to content

Instantly share code, notes, and snippets.

View andatoshiki's full-sized avatar
😼
Solitudinous hermit

Anda Toshiki andatoshiki

😼
Solitudinous hermit
View GitHub Profile
@andatoshiki
andatoshiki / languageCodes.json
Created June 18, 2022 10:04 — forked from josantonius/language-codes.json
List of 217 language codes: ISO 639-1
{
"_comments": {
"_title": "List of 217 language codes: ISO 639-1.",
"_author": "Josantonius - hello@josantonius.com",
"_copyright": "Copyright (c) 2016 - 2017",
"_license": "http://opensource.org/licenses/MIT - The MIT License (MIT)",
"_link": "http://github.com/josantonius/PHP-LanguageCode",
"_since": "1.0.0",
"_comment": "Compiled from https://wikipedia.org/wiki/List_of_ISO_639-1_codes"
},
@andatoshiki
andatoshiki / multiple_ssh_setting.md
Created July 9, 2022 11:44 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@andatoshiki
andatoshiki / codespaces.zsh-theme
Created November 13, 2022 10:45 — forked from renbaoshuo/codespaces.zsh-theme
GitHub Codespaces zsh Theme
# Codespaces zsh prompt theme
__zsh_prompt() {
local prompt_username
if [ ! -z "${GITHUB_USER}" ]; then
prompt_username="@${GITHUB_USER}"
else
prompt_username="%n"
fi
PROMPT="%{$fg[green]%}${prompt_username} %(?:%{$reset_color%}➜ :%{$fg_bold[red]%}➜ )" # User/exit code arrow
PROMPT+='%{$fg_bold[blue]%}%(5~|%-1~/…/%3~|%4~)%{$reset_color%} ' # cwd