Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ask.systems/in

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ask.systems/in

  • v1.0.1
  • Go
  • Socket score

Version published
Created
Source

in.go

A short little program I wrote to display a progress bar while waiting for a command to run.

Use it like: in 2m30s && run_a_command

My main use case is a server that has a BIOS that is slow to reboot and I want to ssh back in when it's up.

Installing

Run GOGC=off go install ask.systems/in@latest

Disabling the garbage collector is optional, but it's fun to do it, since this program only allocates a constant amount of data. If you don't disable it, it will probably still never be triggered to run.

Alternatively I have added a fancy go shebang line that I adapted so that go fmt wouldn't break it. So you can actually just download the in.go file, chmod +x in.go and run it like a script ./in.go 10s (as long as you have go installed).

Run wget ask.systems/in.go && chmod +x in.go to get it.

License

Released under the Apache 2.0 License, which is a permissive license so use and fork as desired. While the copyright is owned by Google (because I work there).

This is not an official Google product, it is my personal project. Google disclaims all warranties as to its quality, merchantability, or fitness for a particular purpose.

Contributing

Please do not contribute code, only issues. In order for me to accept contributions you would need to sign the Google CLA and I don't think it is worth it for this.

FAQs

Package last updated on 24 Jul 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc