This file has been truncated, but you can view the full file.
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
[{ | |
"url": "s1/1_1_1.html", | |
"sourceCode": "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN\"\r\n\"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<title>Els nombres</title>\r\n<link href=\"../css/estils.css\" type=\"text/css\" rel=\"stylesheet\"></link>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/matematiques.css\"></link>\r\n<!--[if gte IE 5.5]><![if lt IE 7]>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../css/ie.css\"></link>\r\n<![endif]><![endif]-->\r\n<script language=\"JavaScript1.2\" src=\"../js/loadingxml.js\"></script>\r\n<script language=\"JavaScript1.2\" src=\"../js/uocViewer.js\"></script>\r\n<script language=\"JavaScript1.2\" src=\"../js/params.js\"></script>\r\n<script language=\"JavaScript1.2\" src=\"../js/highligth_function.js\"></script>\r\n<script type=\"text/javascript\" src=\"../especial/MathMLinHTMLforFirefoxAndI |
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
git config --global credential.helper store |
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
function disable_filter_plugin_updates( $value ) { | |
unset( $value->response['read-offline/read-offline.php'] ); | |
return $value; | |
} | |
add_filter( 'site_transient_update_plugins', 'disable_filter_plugin_updates' ); |
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
git config --global core.filemode false |
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
Retocar en /lib/templates/dataformat_selector.mustache |
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
<?php | |
// Do NOT include the opening php tag above | |
add_filter('tiny_mce_before_init', 'tiny_mce_remove_unused_formats' ); | |
/* | |
* Modify TinyMCE editor to remove H1. | |
*/ | |
function tiny_mce_remove_unused_formats($init) { | |
// Add block format elements you want to show in dropdown | |
$init['block_formats'] = 'Paragraph=p;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Address=address;Pre=pre'; | |
return $init; |
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
moodle:/user/manageownfiles |
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/php | |
<?php | |
define('CLI_SCRIPT', true); | |
require_once('/var/www/html/altamar/config.php'); | |
require_once('/var/www/html/altamar/course/lib.php'); | |
// to delete a specific course id | |
if (isset($argv[1])) { |
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
$quizdata->completion = 2; | |
$quizdata->completionview = 1; // Requerir ver la actividad (para URL, SCORMS...) | |
$quizdata->completionexpected = 0; | |
$quizdata->completionusegrade = 1; // Requerir recibir nota (para Quizzes, Assigns...) |
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
<?php | |
$record = new StdClass(); | |
$record->course = $courseid; | |
$record->contextid = $usercontextid; | |
$record->userid = $USER->id; | |
$record->component = 'user'; | |
$record->filearea = 'draft'; | |
$record->itemid = $draftitemid; | |
$record->filename = $scormFilename; | |
$record->filepath = '/'; |