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
/* | |
USAGE: node <script_name.js> <file_or_directory_path> [start_marker] [end_marker] [extensions] | |
------------------------------------------------------------------------------------ | |
<file_or_directory_path>: Path to the file or directory to analyze (required). | |
[start_marker]: Start marker string (optional). | |
If omitted, uses: "/*<taylored" (Default) | |
Provide "" for a literally empty marker. | |
[end_marker]: End marker string (optional). | |
If omitted, uses: "/*taylored>" (Default) | |
Provide "" for a literally empty marker. |
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 | |
# USAGE: | |
# ./cleangit.sh | |
# | |
# DESCRIPTION: | |
# cleangit.sh is an interactive script for cleaning and maintaining a Git repository. | |
# It runs a series of Git commands to optimize the repository, remove obsolete branches, | |
# and untracked files. | |
# |
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
// Usage: node removehistoryfromgit.js <path/to/your/file_to_remove.txt> | |
// Example: node removehistoryfromgit.js assets/images/large_confidential_file.jpg | |
// node removehistoryfromgit.js src/old_module.js | |
// | |
// This script completely removes a file from the Git repository's history. | |
// WARNING: This operation REWRITES HISTORY and is DANGEROUS. | |
// ALWAYS BACK UP YOUR REPOSITORY BEFORE RUNNING THIS SCRIPT. | |
// If the repository is shared, this will cause severe issues for collaborators | |
// who will need to re-clone or perform complex rebasing. |
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
""" | |
usage: IAcommit.py [-h] [--limit LIMIT] [--model MODEL] [--hash HASH] repository_path | |
Analyzes commits in a Git repository and suggests new messages using AI with Ollama. | |
Positional arguments: | |
repository_path The local directory path of the Git repository to analyze. | |
Optional arguments: | |
-h, --help show this help message and exit |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 strict" | |
export class MultiDim { | |
v: any; | |
constructor(N: number) { | |
if (N > 0) { | |
let a = []; | |
a[N - 1] = undefined; | |
this.v = a; |