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
{ | |
"name": "DeepSeek Coder", | |
"load_params": { | |
"n_ctx": 16384, | |
"n_batch": 4096, | |
"rope_freq_base": 10000, | |
"rope_freq_scale": 0.25, | |
"n_gpu_layers": 1, | |
"use_mlock": true, | |
"main_gpu": 0, |
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 | |
# Reads a gitleaks report and converts displays surrounding code from commits | |
# Usage: gl-reporter.sh [--repo <path>] [--report <path>] [--lines <number>] | |
function show_help() { | |
printf "\e[1m%s\e[0m%s" "Usage: " "$0 [--repo <path>] [--report <path>] [--lines <number>]" | |
echo "" | |
echo "Reads a gitleaks report and converts displays surrounding code from commits" | |
echo "" |
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 | |
# Scan all local repos for secrets using gitleaks | |
# Usage: gitleaks-scan.sh [--path <path>] [--config <path>] [--report <path>] | |
function show_help(){ | |
printf "\e[1m%s\e[0m%s" "Usage: " "$0 [--path <path>] [--config <path>] [--report <path>]" | |
echo "" | |
echo "Scans all local repos for secrets using gitleaks" | |
echo "" |
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 | |
# Clone all GitHub repos for an organization | |
# Usage: gh-clone.sh [--limit <number>] [--path <path>] [--update] <organization> | |
# Requires GitHub CLI: https://cli.github.com/manual/installation | |
# Requires jq: https://stedolan.github.io/jq/download/ | |
function check_requirements() { | |
# ensure GitHub CLI installed | |
if ! command -v gh &>/dev/null; then |