drbean
drbean
Does it work in the browser? All group-create does with the key option is pass it to the groups_create_group function. if (!empty($options['key'])) { $group->key = $options['key']; } $newgroupid = groups_create_group($group,...
However, it does appear to be adding the question to the quiz. That is, the problem is not fatal to the operation of the function. Answer the first question Select...
The problem lines, 41-43 // Use existing questions category for quiz or create the defaults. if (!$category = $DB->get_record('question_categories', array('contextid'=>$coursecontext->id))) { $category = question_make_default_categories($contexts->all()); } The contextid associates question_categories with...
There is actually a moodle function that does what my cm_id bash function does, ```get_coursemodule_from_instance``` in ```lib/datalib.php``` But making a moosh command out of it doesn't seem the right thing...
version 0.42.0 works like a charm in cygwin on Windows 10. Installing with ' python -m pip install toot==0.42' hung installing urwid, so I just installed urwid separately. If I...
According to https://metacpan.org/pod/Module::Build [ExtUtils::MakeMaker](https://metacpan.org/pod/ExtUtils::MakeMaker) has been a core module in every version of Perl But is that /usr/local path (/us/local ?) in /us/local/lib64/perl5 /us/local/share/perl a mistake? And the patchperl path,...
Is ExtUtils::MakeMaker installed? According to https://metacpan.org/pod/App::perlbrew you do, export PERLBREW_ROOT=/opt/perl5 curl -L https://install.perlbrew.pl/ | bash and the perl that installs perlbrew has to be a non-perlbrew perl, which can be...
I set up a github repo at https://github.com/drbean/cygwin-perlbrew with the perlbrew.cygport file that creates the package and the postinstall.sh file that actually installs perlbrew. Also there is setup.ini, on the...
The package has no information about the user's HOME and the cygwin install doesn't allow for user input, and typically installs with Administrators permissions. Installing perlbrew in /home/Administrator/perl5 seems to...
I updated my custom package to App-perlbrew-1.02, installable from http://drbean.sdf.org/cygwin/ Following my instructions above, users already with a ~/perl5 directory will find moving perlbrew from the Administrator account places it...