Code Monkey home page Code Monkey logo

conhonk's Introduction

conhonk Build Status

Make your console beep according to the provided frequency and duration.

Installation

  • Try using Scoop.
    • First, add the LPTSTR-Scoop bucket (if you haven't already):
      $ scoop bucket add lptstr https://github.com/lptstr/lptstr-scoop
      
    • Now install the application:
      $ scoop install conhonk
      
  • If you aren't interested in using a package manager, just download painter.exe from the latest release in the latest releases section.

Usage

$ ./conhonk --frequency <freq> --duration <milliseconds>
Option Short Default Description
--frequency -f 800 The frequency of the tone to be emitted
--duration -d 200 The duration (in milleseconds) of the tone to be emitted

E.g. To beep for 5 seconds on a frequency of 800, run

$ ./conhonk --frequency 800 --duration 5000

The above could be shortened to:

$ ./conhonk -d 5000

Pranks

Add this code to somebody's PowerShell profile:

while ($true) {
  ./conhonk -f 80000 -d 5000
}

Inspiration

  • none

conhonk's People

Contributors

kiedtl avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.