Chips-n-Salsa
linguist
Our great sponsors
Chips-n-Salsa | linguist | |
---|---|---|
15 | 40 | |
52 | 11,804 | |
- | 1.5% | |
8.4 | 8.7 | |
5 days ago | 14 days ago | |
Java | Ruby | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Chips-n-Salsa
-
Deploy a Documentation Website for a Java Library Using GitHub Actions
name: docs on: push: branches: [ master ] paths: [ '**.java', '.github/workflows/docs.yml' ] pull_request: branches: [ master ] release: types: [created] workflow_dispatch: jobs: docs: runs-on: ubuntu-latest steps: - name: Checkout the repo uses: actions/checkout@v3 - name: Checkout the gh-pages branch uses: actions/checkout@v3 with: fetch-depth: 0 ref: gh-pages path: gh-pages - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: 'adopt' java-version: '17' - name: Build docs with Maven run: mvn compile javadoc:javadoc - name: Copy to Documentation Website Location if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} run: | rm -rf gh-pages/api cp -rf target/site/apidocs/. gh-pages/api - name: Tidy up the javadocs if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} id: tidy uses: cicirello/javadoc-cleanup@v1 with: base-url-path: https://chips-n-salsa.cicirello.org/ path-to-root: gh-pages user-defined-block: | - name: Log javadoc-cleanup output if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} run: | echo "modified-count = ${{ steps.tidy.outputs.modified-count }}" - name: Commit documentation changes without pushing yet if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} run: | cd gh-pages if [[ `git status --porcelain` ]]; then git config --global user.name 'github-actions' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' git add -A git commit -m "Automated API website updates." fi cd .. - name: Generate the sitemap if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} id: sitemap uses: cicirello/generate-sitemap@v1 with: base-url-path: https://chips-n-salsa.cicirello.org/ path-to-root: gh-pages - name: Output stats if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} run: | echo "sitemap-path = ${{ steps.sitemap.outputs.sitemap-path }}" echo "url-count = ${{ steps.sitemap.outputs.url-count }}" echo "excluded-count = ${{ steps.sitemap.outputs.excluded-count }}" - name: Commit documentation website sitemap and push all commits if: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} run: | cd gh-pages if [[ `git status --porcelain` ]]; then git config --global user.name 'github-actions' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' git add -A git commit -m "Automated API website sitemap update." fi git push cd ..
-
Deploying Java Artifacts to Multiple Maven Repositories with GitHub Actions
Website: https://chips-n-salsa.cicirello.org/
-
How to Patch the Deprecated set-output in GitHub Workflows and in Container Actions
The complete workflow file that this example is derived from is maven-publish.yml.
-
How to Use Maven Profiles to Selectively Activate Plugins and Other Configuration from the Command Line
Let's look at a real example, again from Chips-n-Salsa, where I publish artifacts of the library on both Maven Central as well as to GitHub Packages. We'll build up to the full example. First, consider the configuration below:
-
How to Use the Maven Shade Plugin if Your Project Uses Java Platform Module System
To see a live example, you can consult the pom.xml of one of my projects. Here is the GitHub repository:
-
Configuring GitHub's Linguist to Improve Repository Language Reporting
GitHub Language Chart From https://github.com/cicirello/Chips-n-Salsa
-
Ahead-of-time JitPack Builds with Custom GroupId via GitHub Actions
Website: https://chips-n-salsa.cicirello.org/
-
How to Configure JitPack for Recent JDK Versions
Important Note: Because of the way JitPack essentially builds a snapshot of your repository, even for release builds, the jitpack.yml must be present within the specific snapshot of your repository in order to apply. For example, for the library that this post is based upon, Chips-n-Salsa, the first release where the repository contains the configuration file is 5.0.1, so JitPack will fail to build any prior version, although earlier versions are available via Maven Central and GitHub Packages. Likewise, if you specify any commit hash prior to that of the commit where that configuration file was introduced, the JitPack build will also fail.
-
How to Enable DEV Post Embeds for Pages From Your Website
Chips-n-Salsa - A Java library of customizable, hybridizable, iterative, parallel, stochastic, and self-adaptive local search algorithms
- Badges - TL;DR for your repository's README
linguist
-
Show HN: Fix – An open source cloud asset inventory for cloud security engineers
I dunno if this interests you, but you actually have influence over the formatting of https://github.com/someengineering/fix-cf/blob/main/fix-role... via .gitattributes communicating to GH that it's actually yaml: https://github.com/github-linguist/linguist/blob/master/docs...
- GitHub's Language Analysis System Is Configurable
- Change F# Color on GitHub
-
Change F#'s Color on GitHub
There’s already a draft pr for this: https://github.com/github-linguist/linguist/pull/6686
-
TIL: Github seems to recognize ebuilds as a format. Is this a new github feature? Or has this been here since forever?
GitHub uses Linguist to
-
Where the hell do I have any vb in my configs?
I have found that: https://github.com/github-linguist/linguist/blob/master/docs/troubleshooting.md, but I'm also currently not at home, so I will check it out later.
-
What is the proper language markup type we should use for a MakeFile code snippet?
Another option is to use Linguist which is what GitHub uses (I use linguist via .gitattributes files for all of my code projects). It is community driven and supports essentially every language possible: see languages.yml.
-
Finding projects on GitHub: Topics, Languages, and Collections
Once you selected a topic you can further filter the projects by language. This means programming language as recognized by the linguist tool of GitHub. See what they say about repository languages
-
Track my coding progress on GitHub with a .NET Worker Service
As I later found out, GitHub uses the Linguist library to measure the amount of lines written in a specific language... which is still pretty magic 🪄.
- How to get font colors but not syntax highlighting for a file in custom language?
What are some alternatives?
jacoco-badge-generator - Coverage badges, and pull request coverage checks, from JaCoCo reports in GitHub Actions
kotlin-latex-listing - A syntax highlighting template for the Kotlin language in LaTeX listings.
generate-sitemap - Generate an XML sitemap for a GitHub Pages site using GitHub Actions
Highlight.js - JavaScript syntax highlighter with language auto-detection and zero dependencies.
user-statistician - Generate a GitHub stats SVG for your GitHub Profile README in GitHub Actions
Rouge - A pure Ruby code highlighter that is compatible with Pygments
setup-java - Set up your GitHub Actions workflow with a specific version of Java
gitlab
upload-artifact
Pygments
maven-simple - Example Maven project demonstrating the use of
Glean - System for collecting, deriving and working with facts about source code.