Skip to content

Instantly share code, notes, and snippets.

View Turbo Boost toggle for macOS
Simple script to toggle Turbo Boost on MacBook Pro
View build.gradle
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.User:Repo:Tag'
}
View build.gradle
dependencies {
implementation 'org.gradle.cpp-samples:utilities:1.0'
}
View settings.gradle
plugins {
id 'com.alexvasilkov.git-dependencies' version '2.0.1'
}
View build.gradle
git {
implementation 'https://example.com/repository.git', {
tag 'v1.2.3'
}
}
View settings.gradle
git {
fetch 'https://example.com/build_scripts_repo.git', {
dir "$rootDir/gradle/scripts"
tag 'v1.2.3'
}
}
View build.gradle
apply from: "$rootDir/gradle/scripts/{your_script}.gradle"
View JPEG thumbnails
Run thumbs.py to generate:
- thumbnails
- previews (enlarged and blurred thumbnails)
- stripped image data
- restored images out of stripped data