
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
docker.fstream.us.kg/caarlos0/timer
A sleep
with progress.
Timer is a small CLI, similar to the sleep
everyone already knows and love,
with a couple of extra features:
timer <duration>
timer -n <name> <duration>
man timer
timer --help
It is possible to pass a time unit for <duration>
.
Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". If no unit is passed, it defaults to seconds ("s").
If you want to show the start time in 24-hour format, use --format 24h
. For
example:
timer 5s --format 24h -n Demo
Currently, the two formats supported by the --format
option are:
kitchen
: the default, example: 9:16PM
.24h
: 24-hour time format, example: 21:16
.homebrew:
brew install caarlos0/tap/timer
macports:
sudo port install timer
snap:
snap install timer
apt:
echo 'deb [trusted=yes] https://repo.caarlos0.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install timer
yum:
echo '[caarlos0]
name=caarlos0
baseurl=https://repo.caarlos0.dev/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/caarlos0.repo
sudo yum install timer
arch linux:
yay -S timer-bin
deb/rpm/apk:
Download the .apk
, .deb
or .rpm
from the releases page and install with the appropriate commands.
manually:
Download the pre-compiled binaries from the releases page or clone the repo build from source.
FAQs
Unknown package
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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.