This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 255 mysmps SIMPLE SAWTOOTH SOUND | |
# <-----------------------> \/\/\/\/\/\/\/\/\/\/\ | |
# . . A beep for bash shell | |
# | mypeak | for machines without | |
# \ | /\ pc speaker beep \007. | |
# \ | / \ | |
# \ | / \ It requires alsa and | |
# \ | / \ 'play' via alsautils. | |
# \ | / \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env perl | |
use strict; | |
use warnings; | |
use utf8; | |
use feature qw(say); | |
use experimental qw(signatures); | |
use List::Util qw(max any); | |
use Term::ReadKey qw(GetTerminalSize); | |
use Time::HiRes qw(sleep); | |
*STDOUT->binmode(':encoding(UTF-8)'); |