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
| WITH RECURSIVE lesson_pages_ordered (id, title, qtype, prev, next, lesson, display_order) AS | |
| ( | |
| SELECT id, title, qtype, prevpageid, nextpageid, lessonid, '01' | |
| FROM mdl_lesson_pages | |
| WHERE prevpageid = 0 | |
| UNION | |
| SELECT lp.id, lp.title, lp.qtype, lp.prevpageid, lp.nextpageid, lp.lessonid, lpo.display_order + 1 | |
| FROM lesson_pages_ordered lpo | |
| LEFT JOIN mdl_lesson_pages lp | |
| ON (lpo.next = lp.id AND lpo.lesson = lp.lessonid) |
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
| <code_scheme name="Project"> | |
| <PHPCodeStyleSettings> | |
| <option name="CONCAT_SPACES" value="false" /> | |
| <option name="PHPDOC_BLANK_LINE_BEFORE_TAGS" value="true" /> | |
| <option name="PHPDOC_BLANK_LINES_AROUND_PARAMETERS" value="true" /> | |
| <option name="LOWER_CASE_BOOLEAN_CONST" value="true" /> | |
| <option name="LOWER_CASE_NULL_CONST" value="true" /> | |
| <option name="ELSE_IF_STYLE" value="COMBINE" /> | |
| <option name="VARIABLE_NAMING_STYLE" value="CAMEL_CASE" /> | |
| <option name="BLANK_LINE_BEFORE_RETURN_STATEMENT" value="true" /> |
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
| # Mount filesystem on /mnt directory | |
| # Change pendrive for your pendrive name | |
| sudo mount -o loop /media/pendrive/casper-rw /mnt | |
| # Mounted filesystem on /mnt/upper/home/ubuntu | |
| # Unmount | |
| sudo umount /mnt |