Skip to content

Instantly share code, notes, and snippets.

View andatoshiki's full-sized avatar
🥪
=🍞+🔪(2 * 🥩)+🔪(🧀)+🔪(🥒)+🔪(🍅)+✋(🥬)+🍞;

Anda Toshiki andatoshiki

🥪
=🍞+🔪(2 * 🥩)+🔪(🧀)+🔪(🥒)+🔪(🍅)+✋(🥬)+🍞;
View GitHub Profile
@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
@andatoshiki
andatoshiki / baidunetdisk.js
Created November 7, 2022 12:54
百度网盘直链提取工具 aria2/idm
// ==UserScript==
// @name 百度网盘简易下载助手(直链下载复活版)
// @namespace http://bd.softxm.cn/bd/
// @version 1.5.6
// @antifeature membership
// @description 一个纯净好用的直链下载助手,绝无多余附加功能。免SVIP会员,免安装浏览器扩展,无视黑号,只要你有个IDM或Aria2,就能享受极速下载的快感!
// @icon data:image/jpeg;base64,/9j/4Rc0RXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAABAAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAiAAAAcgEyAAIAAAAUAAAAlIdpAAQAAAABAAAAqAAAANQAAABIAAAAAQAAAEgAAAABQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpADIwMjA6MDk6MDkgMDA6Mjc6NTYAAAOgAQADAAAAAf//AACgAgAEAAAAAQAAAGSgAwAEAAAAAQAAAGQAAAAAAAAABgEDAAMAAAABAAYAAAEaAAUAAAABAAABIgEbAAUAAAABAAABKgEoAAMAAAABAAIAAAIBAAQAAAABAAABMgICAAQAAAABAAAV+gAAAAAAAABIAAAAAQAAAEgAAAAB/9j/7QAMQWRvYmVfQ00AAv/uAA5BZG9iZQBkgAAAAAH/2wCEAAwICAgJCAwJCQwRCwoLERUPDAwPFRgTExUTExgRDAwMDAwMEQwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBDQsLDQ4NEA4OEBQODg4UFA4ODg4UEQwMDAwMEREMDAwMDAwRDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAKAAoAMBIgACEQEDEQH/3QAEAAr/xAE/AAABBQEBAQEBAQAAAAAAAAADAAECBAUGBwgJCgsBAAEFAQEBAQEBAAAAAAAAAAE
@andatoshiki
andatoshiki / History\-1004529f\entries.json
Last active October 24, 2022 12:20
Vscode setting backup
{"version":1,"resource":"file:///d%3A/Alex/Resources/GitHub/white-windmills/lostark-forum/LICENSE","entries":[{"id":"ebVc","timestamp":1650276874739},{"id":"fBtK","timestamp":1650276886913}]}
@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 / contribution.2022.stl
Created June 18, 2022 13:53
🎠 My GitHub 2022 contribution skyline~
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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 / schedule.html
Created May 8, 2022 01:20
⏲ Automatically send greetings to visitors based on time zone via javscript
<!DOCTYPE html>
<html>
<body>
<head>
<title>Show good morning good night wish as per time Javascript</title>
</head>
<script type="text/javascript">
document.write("<center>");
var day = new Date();
var hr = day.getHours();
@andatoshiki
andatoshiki / darknlight.js
Created April 27, 2022 17:04
✒ Docsify dark-light theme configuration
darklightTheme: {
defaultTheme: 'light',
siteFont: 'Source Sans Pro,Helvetica Neue,Arial,sans-serif',
codeFontFamily: 'Roboto Mono, Monaco, courier, monospace',
bodyFontSize: '15px',
dark: {
background: 'rgb(28,32,34)',
highlightColor: '#e96900',
codeBackgroundColor: 'rgb(34,39,46)',
codeTextColor: '#b4b4b4',
@andatoshiki
andatoshiki / 🦠 Covid stats around me
Last active August 13, 2022 21:37
🦠 Covid stats around me
🌍 Global 10 minutes ago
🤒Active: 21,301,238
😌Recovered: 566,762,800
💀Deaths: 6,453,018
💉Tests: 6,609,560,277
@andatoshiki
andatoshiki / fish.js
Last active April 24, 2022 20:18
🐬 Flarum forum footer dolphin effect
// navigate to the bottom to see the README installation guide first!
// navigate to the bottom to see the README installation guide first!
// navigate to the bottom to see the README installation guide first!
var RENDERER = {
POINT_INTERVAL : 5,
FISH_COUNT : 3,
MAX_INTERVAL_COUNT : 50,
INIT_HEIGHT_RATE : 0.5,
THRESHOLD : 50,