まずはシステムを最新の状態に更新します:
sudo apt update
sudo apt -y upgrade
sudo apt dist-upgrade -y| #!/bin/bash | |
| # Git Commit Automation Script | |
| # gemini-cliを使用してコミットメッセージを自動生成します | |
| set -e | |
| # 色の定義 | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |
| import psycopg2 | |
| import os | |
| # DB connection information (Supabase local environment) | |
| conn = psycopg2.connect( | |
| dbname="postgres", | |
| user="postgres", | |
| password="postgres", | |
| host="127.0.0.1", | |
| port="54322" |
| // Reference: https://github.com/ghost1face/base62 | |
| // but original source was C# so I converted it to TypeScript | |
| // Reference: https://github.com/shanehughes3/uuid62 | |
| const characters = | |
| "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; | |
| function toBase62(value: string): string { | |
| const arr = new TextEncoder().encode(value); |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEngine; | |
| using UnityEngine.Assertions; | |
| namespace Ruchi.Ex | |
| { | |
| public static class Functions |
| /** | |
| Copyright (c) 2017 Koki Ibukuro | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |