Kiril

Virtual Box – Shared directory on global network (windows, mac, ubuntu)

  1. How to run ubuntu server on virtual box (Windows, Mac, Ubuntu)
  2. How to add local network with Ubuntu Virtual Box Instance.
  3. How to share directory with Ubuntu Virtual Box Instance.
Kiril

Moodle – Mind Map Plugin RTL Support

 This Moodle plugin will allow to use Mind map service.

Test token to the service: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7ImVtYWlsIjoiZGV2bGlvbkBnbWFpbC5jb20iLCJmaXJzdF9uYW1lIjoiZGV2bGlvbiIsImxhc3RfbmFtZSI6InRlc3QifSwiaWF0IjoxNTY1MjE3MDY5LCJleHAiOjE5MjUyMTcwNjl9.hFzXOMRVVhVtOTdpX1I7UZRwaoQljQSlnVCFSfkDiU8

Test Url: https://dev.mindmaap.com/

Set Mind Map token at plugin settings interface:

Kiril

Git – Squash 3 commits to one

Practical example, how to make one commit after 3 pushed commits:

///new branch
git checkout -b test
//add some changes and make commit
git commit -am "first commit"
//add some changes and make commit
git commit -am "second commit"
//add some changes and make commit
git commit -am "third commit"
git push

//merge 3 last commits
git reset --soft @~3
git commit -am “merged 3 commit”
git push --force


git commit -am “first commit”

//changes

git commit -am “second commit”

//changes

git commit -am “third commit”

git push

git reset –soft @~3

git commit -am “merged commit”

git push //if was not pushed

git push –force //if was pushed

Kiril

Moodle – Upgrade version with Git from 3.3-3.*

First Step: 

 git remote add upstream https://github.com/moodle/moodle.git

Second Step: 

vim update.sh 
#!/bin/bash
git fetch upstream
for BRANCH in MOODLE_{31..37}_STABLE master;
do
git push origin refs/remotes/upstream/$BRANCH:refs/heads/$BRANCH
done

Source: https://docs.moodle.org/dev/Git_for_developers

Kiril

Moodle – Quiz report teacheroverview

Quiz dashboard (report) displaying charts of student’s progress and grades that enable filtering of student’s progress table for actions like messaging and grouping.