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/env python3 | |
| """ | |
| macOS Cleanup Tool | |
| Usage: | |
| python3 clean.py --system # system caches & logs | |
| python3 clean.py --dev-caches # developer tool caches | |
| python3 clean.py --build-folders ~/Projects # 'build' dirs in tree | |
| python3 clean.py --docker # docker images & volumes | |
| python3 clean.py --ios-backups # iOS device backups |
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
| """ | |
| The most atomic way to train and inference a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Shader Test - Train Scene</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 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
| /** | |
| * Jenkins Stale Branch Bot - Standalone Gist | |
| * | |
| * This script identifies and optionally deletes stale branches in a Git repository. | |
| * It analyzes branches for: | |
| * - Merged branches (fully merged to master with no unique commits) | |
| * - Stale branches (no commits in the last X days) | |
| * - Active branches (recent activity) | |
| * | |
| * Features: |
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
| if (!project.hasProperty('artifactory_contextUrl')) throw new GradleException('the "artifactory_contextUrl" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_token')) throw new GradleException('the "artifactory_token" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_reader_1')) throw new GradleException('the "artifactory_reader_1" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_reader_2')) throw new GradleException('the "artifactory_reader_2" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_reader_3')) throw new GradleException('the "artifactory_reader_3" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_reader_token_1')) throw new GradleException('the "artifactory_reader_token_1" needs to be set in gradle.properties!') | |
| if (!project.hasProperty('artifactory_reader_token_2')) throw new GradleException('the "artifactory_reader_token_2" needs to be set in gradle.properti |
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
| tasks.register("logVersionOverrides") { | |
| group = "help" | |
| description = "Analyzes dependencies for actual version conflicts (same dep with multiple versions)" | |
| doLast { | |
| // Track all versions seen for each dependency | |
| def depVersions = [:] | |
| def resolvedVersions = [:] | |
| // Analyze releaseRuntimeClasspath configuration |
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
| /** | |
| * Gradle task that prints comprehensive Java and Kotlin version information for Android modules. | |
| * | |
| * This task displays: | |
| * - Java runtime version, vendor, and home directory | |
| * - Gradle version | |
| * - Java source and target compatibility settings | |
| * - Kotlin JVM target version (if configured) | |
| * - Kotlin plugin version | |
| * |
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
| ssh -i ~/.ssh/id_rsa -o IdentitiesOnly=yes pi@192.168.0.1 |
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
| --- | |
| config: | |
| gitGraph: | |
| mainBranchName: main | |
| rotateCommitLabel: true | |
| theme: base | |
| --- | |
| gitGraph | |
| commit id: "init" | |
| branch release/2026.1.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 | |
| # Enhanced Configuration Cache Benchmark with Diagnostics | |
| # This version provides detailed insights into cache behavior | |
| # Colors for output | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[1;33m' |
NewerOlder