This file contains hidden or 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
▸ perl marimba-madness.pl | |
2023-10-21 13:08:18 geneboggs@mac-geneboggs:~/sandbox/Perl/music | |
▸ timidity -Od out.midi | |
Can't estimate audio queue length | |
Playing out.midi | |
MIDI file: out.midi | |
Format: 1 Tracks: 6 Divisions: 96 | |
Sequence: Track 001 1697918898 | |
Track name: Track 002 1697918898 | |
Marker: silence |
This file contains hidden or 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
>> The question of why God allows mosquitoes to live is a theological and philosophical one, and it depends on one's beliefs and interpretations. There are several possible explanations that people have put forth: | |
1. Balance in nature: Some argue that mosquitoes play a role in the ecosystem, serving as a food source for other animals and contributing to the overall balance of nature. Their presence may be necessary for maintaining the ecological system. | |
2. Free will and natural processes: In many religious beliefs, God has given humans and other creatures free will and allows natural processes to occur. This means that mosquitoes, like other organisms, have the freedom to exist and fulfill their purpose, even if it causes inconvenience or harm to humans. | |
3. Testing and growth: Some believe that God allows mosquitoes to exist as a way to test humans and help them grow in character. Dealing with challenges, discomfort, or annoyance caused by mosquitoes can contribute to personal growth, patience, or empathy. |
This file contains hidden or 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; | |
package ChordExtra; | |
use Role::Tiny; | |
# chord intervals as relative to the previous note in the chord | |
sub chord_intervals { | |
my ($self, $name) = @_; |
This file contains hidden or 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 Mojolicious::Lite -signatures; | |
use Mojo::File (); | |
get '/' => sub ($c) { | |
$c->render(template => 'index'); | |
}; | |
get '/album/*img' => sub ($c) { |
This file contains hidden or 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
sub startup ($self) { | |
$self->plugin('RemoteAddr'); | |
$self->plugin('browser_detect'); | |
$self->plugin('Thumbnail'); | |
$self->plugin('AuthEg::Plugin'); | |
$self->plugin('AuthEg::DB::Plugin'); | |
my $config = $self->plugin('NotYAMLConfig'); | |
$self->secrets($config->{secrets}); |
This file contains hidden or 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 Benchmark; | |
use List::Util 'any'; | |
my $count = shift || 10_000_000; | |
my $needle = 111; |
This file contains hidden or 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 Benchmark; | |
my $count = shift || 100_000_000; | |
timethese($count, { | |
map_it => \&map_it, |
This file contains hidden or 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
Report for Music-ModalFunction-0.0312 | |
Back | |
From: Andreas J. König (ANDK) | |
Subject: FAIL Music-ModalFunction-0.0312 5.28.0 GNU/Linux | |
Date: 2023-07-12T06:01:26Z | |
This distribution has been tested as part of the CPAN Testers | |
project, supporting the Perl programming language. See | |
http://wiki.cpantesters.org/ for more information or email | |
questions to [email protected] |
This file contains hidden or 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
sqlite> select * from moog_matriarch; | |
1|{"bottom":20,"control":"knob","group":"filter","is_default":1,"parameter":"cutoff","top":20000,"unit":"Hz","value":200}|Test setting! | |
2|{"bottom":0,"control":"patch","group":"modulation","is_default":1,"parameter":"wave out","top":1,"unit":"boolean","value":1}|Test setting! |
This file contains hidden or 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
sqlite> .schema | |
CREATE TABLE moog_matriarch (id integer primary key autoincrement, json text not null); | |
CREATE TABLE sqlite_sequence(name,seq); | |
sqlite> select * from moog_matriarch; | |
1|{"bottom":20,"control":"knob","group":"filter","is_default":0,"parameter":"cutoff","top":20000,"unit":"Hz","value":200} |