• Stars
    star
    136
  • Rank 266,214 (Top 6 %)
  • Language
    Ruby
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

飲酒sudoを防止するシステムです。 System to prevent sudo under the influence of alcohol. https://twitter.com/solt9029/status/1368060841115840513

飲酒sudoを防止するシステム

image

背景

  • tweets: https://twitter.com/search?q=%E9%A3%B2%E9%85%92sudo&src=typed_query&f=live
  • sudoコマンドとは、エンジニアではない人向けに超ざっくり説明すると、コンピュータを破壊するレベルで危険な操作ができるコマンドです。
  • 飲酒時にsudoコマンドを使うことは危険とよくネタにされることから、それを防止するシステムを作ってみました。

使い方

  • てきとうにaliasをはってsudoと置き換えてください。

使用した技術

  • arduino, mq-3センサ
  • ruby, thor

drinking-sudo

background

how to use

  • Use alias and replace sudo.

tech stack

  • arduino, mq-3 sensor
  • ruby, thor