Skip to content

Instantly share code, notes, and snippets.

View sugtao4423's full-sized avatar
💫

tao sugtao4423

💫
View GitHub Profile
tap "teamookla/speedtest"
brew "bash"
brew "bash-completion@2"
brew "curl"
brew "docker-buildx"
brew "docker-completion"
brew "docker-compose"
brew "fnm"
brew "gh"
brew "git"
#!/usr/bin/env bash
set -euo pipefail
BASE="master"
HEAD="develop"
while [[ $# -gt 0 ]]; do
case "$1" in
--base) BASE="$2"; shift 2 ;;
--head) HEAD="$2"; shift 2 ;;

東の地の探検家

レア度6の特産品を10種類入手した証

  • 冬虫夏草(ムクロに生えたキノコ,小型モンスターの死体を剥ぎ取らずに放置でたまに出現)
  • 一夜花の月華粉(儚げな花,隔ての砂原or緋の森で満月の夜になる際に出現するので直前の夕方に調整)
  • 女王華の蠱惑粉(クイーンラフレシア:緋の森,たまに出現)
  • ドスヘダテアロエ(巨大なアロエ:隔ての砂原/豊穣期)
  • 轟天蒼雷晶(隔ての砂原)
  • 悠久の大緋琥珀(巨大な琥珀)
  • 金色竜鱗重飾大壺(壮麗な古代の遺物:氷霧の断崖,チャプター5-3以降でアルマから受けれる再度ミッション「守るべきもの」でも入手できる)
@sugtao4423
sugtao4423 / recordSlack.js
Last active July 7, 2025 11:03
EPGStation script
/*
* EPGStation config.yml
* recordingStartCommand: '/usr/local/bin/node recordSlack.js start'
* recordingFinishCommand: '/usr/local/bin/node recordSlack.js finished'
* recordingFailedCommand: '/usr/local/bin/node recordSlack.js failed'
*/
process.env.TZ = 'Asia/Tokyo'
if (process.argv.length < 3) {
<?php
/*
* https://takeout.google.com/
* Download "Purchase History.json" from "Google Play Store"
*/
declare(strict_types=1);
$options = getopt('f:d', ['file:', 'debug']);
[
{
"version": "1.2",
"version_title": "白亜と黒龍",
"date": ["2020-12-23", "2021-02-03"],
"image": "genshin_impact_bg_2020-12-23.png"
},
{
"characters": [
{
@sugtao4423
sugtao4423 / windows11-slim-context-menu.reg
Last active March 7, 2023 19:08
Windows11のコンテキストメニューをなるべく短く
Windows Registry Editor Version 5.00
; Windows 11 コンテキストメニュー無効化
; Powershell系 無効化
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Powershell]
"HideBasedOnVelocityId"=dword:00639bc8
"ShowBasedOnVelocityId"=dword:00000000
[HKEY_CURRENT_USER\Software\Classes\Directory\shell\Powershell]
@sugtao4423
sugtao4423 / check-ts-drop.sh
Last active July 22, 2025 05:38
How many ts drops?
#!/bin/bash
# config
TSSELECT="$(dirname "$0")/tsselect"
# check is file exists
for i in "$@"; do
if [[ ! -f "$i" ]]; then
echo "File \`$i\` does not exist"
exit 1
{
"地名・モンド": [
{ "name": "千風の神殿", "yomi": "せんぷうのしんでん", "type": 0 },
{ "name": "望風山地", "yomi": "ぼうふうさんち", "type": 0 },
{ "name": "望風海角", "yomi": "ぼうふうかいかく", "type": 0 },
{ "name": "風唸りの丘", "yomi": "かぜうなりのおか", "type": 0 },
{ "name": "風立ちの地", "yomi": "かぜたちのち", "type": 0 },
{ "name": "鷹飛びの浜", "yomi": "たかとびのはま", "type": 0 },
{ "name": "蒼風の高地", "yomi": "そうふうのこうち", "type": 0 },
{ "name": "清泉町", "yomi": "きよいずみちょう", "type": 0 },
@sugtao4423
sugtao4423 / 午前3時の茨城県.php
Created February 8, 2022 09:20
`0 3 * * * php 午前3時の茨城県.php`
<?php
declare(strict_types=1);
if (PHP_VERSION_ID < 70000) {
echo 'PHP 7.0 or higher is required.' . PHP_EOL;
exit(1);
}
define(