Posts

Showing posts from December, 2017

How to disable public account registration in Open edX

To disable public account registration in Open edX, add this flag to the Features array in lms.env.json and cms.env.json:

"FEATURES": {
...
"ALLOW_PUBLIC_ACCOUNT_CREATION" : false
}

Save and restart the apps:

sudo /edx/bin/supervisorctl restart all


How to create an invitation only or private course in Open edX

To create an "Invitation Only" or private course in Open edX, you can do as following:

1. Create the course in Studio (CMS)

2. Go to Settings >> Advanced Settings

3. Scroll to the "Invitation Only" field, set it to "true"

4. Done.

Rotate pdf file in Ubuntu

To rotate a pdf file (e.g 180 degree) in Ubuntu you can run the following:

$ pdftk input.pdf cat 1south output output.pdf

Resize pdf papersize in ubuntu

To resize the papersize of a pdf file in Ubuntu, you can run this command:

$ pdfjoin infilename.pdf --paper a4paper --fitpaper false --outfile outfilename.pdf