- + on top > Import repository
- The URL for your source repository*:
https://github.com/owner_name/repo_name.git - Your new repository details: Owner + Repo_Name
- Make Private
- Begin Import
- Clone
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
| # Python Bytecode | |
| __pycache__/ | |
| *.py[cod] | |
| *$py.class | |
| # Jupyter Notebook | |
| .ipynb_checkpoints | |
| # VS Code settings | |
| .vscode/ |
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
| # --- OpenSlide Setup for Windows --- | |
| openslide_bin_path = r'C:\Users\*****\*****\openslide-bin-4.0.0.11-windows-x64\bin' | |
| if os.name == 'nt' and os.path.exists(openslide_bin_path): | |
| if hasattr(os, 'add_dll_directory'): | |
| try: | |
| os.add_dll_directory(openslide_bin_path) | |
| except Exception as e: | |
| print(f"Warning: Failed to add DLL directory: {e}") |
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
| %load_ext autoreload | |
| %autoreload 2 |
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
| # Source - https://stackoverflow.com/a/59109706 | |
| # Posted by Aaron Hall, modified by community. | |
| # Modified by Assistant to include dirs_only, limit_to_depth, and exclude_hidden options. | |
| # Retrieved 2026-01-26, License - CC BY-SA 4.0 | |
| from pathlib import Path | |
| # prefix components: | |
| space = ' ' | |
| branch = '│ ' |
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
| # 1. 元のリポジトリを普通にクローン | |
| git clone https://github.com/author/original-repo.git | |
| # 2. フォルダに入る | |
| cd original-repo | |
| # 3. 過去の履歴(.gitフォルダ)を完全に削除(これでただのファイルの束になる) | |
| rm -rf .git # Windowsなら rmdir /s /q .git | |
| # 4. 新しいGitリポジトリとして初期化 |
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
| # ---------------------------------------------------- | |
| # Python 仮想環境 (Virtual Environment) セットアップ手順 | |
| # ---------------------------------------------------- | |
| # 1. virtualenv が未インストールの場合はインストール | |
| # (多くの場合、Pythonに標準搭載されている venv モジュールで代替可能ですが、 | |
| # 互換性のために必要な場合は実行してください) | |
| # pip install virtualenv | |
| # 2. 新しい仮想環境を作成 (フォルダ名は 'venv') |
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
| -- Prompt user to enter the delay time in minutes | |
| display dialog "停止までの時間を分単位で入力してください:" default answer "30" | |
| set delayMinutes to text returned of result as integer | |
| -- Convert minutes to seconds and wait | |
| set delaySeconds to delayMinutes * 60 | |
| delay delaySeconds | |
| -- Show a notification when the music starts playing | |
| display notification "もうすぐ時間です" |
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
| Sub activateHyperlinks() | |
| 'Updateby Extendoffice | |
| Dim Rng As Range | |
| Dim WorkRng As Range | |
| On Error Resume Next | |
| Dim xTitleId As String | |
| xTitleId = "Website" '<-----change this as needed | |
| Set WorkRng = Application.Selection | |
| Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) | |
| For Each Rng In WorkRng |
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
| function T = CEDS64ChanList(fhand) | |
| % CEDS64ChanList returns a table of channels in the Spike2 data file | |
| % specified by a handle fhand. | |
| % | |
| % SYNTAX | |
| % T = CEDS64ChanList(fhand) | |
| % | |
| % | |
| % INPUT ARGUMENTS | |
| % fhand integer |
NewerOlder