This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client' | |
/** | |
* Tabs Component | |
* | |
* Scrollable tabs with drag-and-drop reordering and close button. | |
* | |
* npm install @dnd-kit/core @dnd-kit/sortable @dnd-kit/modifiers @dnd-kit/utilities --force | |
*/ | |
import { ComponentProps, useEffect, useRef, useState } from 'react' | |
import { log } from 'console' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Next.jsへのセットアップ | |
# 作成するプロジェクト名を設定("next-app-現在時刻") | |
CREATE_NEXT_APP_NAME=`date +next-app-%y%m%d%H%M%S` | |
# CREATE_NEXT_APP_NAME="my-app" | |
# プロジェクト生成 | |
npx create-next-app@latest ${CREATE_NEXT_APP_NAME} --ts --eslint --no-tailwind --app --src-dir src/ --no-import-alias --no-turbopack | |
# ディレクトリ移動 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
# ------------------------------------------------------------------------------ | |
# [INFO] | |
# If you are not registered as sudoers, you will be asked for your password. | |
# ------------------------------------------------------------------------------ | |
echo "🚀 A setup scripts for Ubuntu Desktop 22.04 LTS." | |
# ------------------------------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# オプション設定 | |
NO_AUTH=0 | |
NO_MYSQL=0 | |
function main() { | |
local appName=$1 | |
if [ -d $1 ]; then |