
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
h1. Static GA
Sometimes with static html websites or with inappropriately developped websites (but the client doesn't wish to redevelop it appropriately), it's quite a pain in the ass to add the Google Analytics tag to hundreds of files. That's what Static GA tries to remove by parsing every file, looking if it already has the Google Analytics tag yet or not.
And if it doesn't have it, adding it.
h2. How it works
Download the application (it'll soon be a gem using rake). And launch analytics.rb with two parameters :
It'll launch the script and display to you the path of every updated file.
h2. Requirements
The only required package is rake.
h2. Example
rake static_ga
The path to the project and the GA code will be asked to you.
h2. TODO
FAQs
Unknown package
We found that dmathieu-static_ga demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.