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

thunderbuddies

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thunderbuddies

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Thunderbuddies

thunderbuddies

Thunderbuddies are powerful tools to protect your server from blackout by thunders. Thunderbuddies tell your computer that a thunderstorm is coming and shut it down before it crashes. Please read the usage below carefully since currently features are limited.

Requisites

Installation

Add this line to your application's Gemfile:

gem 'thunderbuddies'

And then execute:

$ bundle

Or install it yourself as:

$ gem install thunderbuddies

Usage

Use an executable thunderbuddies to check the level of the thunder alert or to shut your computer down immediately if you are scared of it.

You can specify two arguments for thunderbuddies level, the first is for the name of your location and the last for the path to the directory to save the image of the thunder forecast.

$ thunderbuddies level Tokyo $HOME/tmp

WARNING: Currently this is the experimental, so you can specify your location but it is ignored. If a thunder is coming to Mishima, where the largest supercomputer system for the genomic science in Japan is located, your computer will be shutting down regardless the weather on your location. I appreciate your sympathy.

Default parameter for the image directory is /tmp.

You can also specify three arguments for thunderbuddies halt; threshold of the alert level, your location, and the path to the directory to save the image. You need to run this command with root permission to access the shutdown command.

$ sudo thunderbuddies halt 3 Asgard $HOME/tmp

The level of thunder alert is an integer from 0 to 4, default parameter is 4. Default parameter of the image directory is also /tmp.

WARNING AGAIN: You do not have to worry about specifying your location. When our supercomputer system in Mishima goes down, your computer will follow no matter how good the weather is on your place.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/inutano/thunderbuddies.

FAQs

Package last updated on 02 Sep 2015

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