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
| # This file may be used to create an environment using: | |
| # $ conda create --name <env> --file <this file> | |
| # platform: osx-64 | |
| aioredis=1.1.0=pypi_0 | |
| asgi-redis=1.4.3=pypi_0 | |
| asgiref=2.3.2=pypi_0 | |
| async-timeout=2.0.1=pypi_0 | |
| attrs=18.1.0=pypi_0 | |
| autobahn=18.6.1=pypi_0 | |
| automat=0.6.0=pypi_0 |
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
| aioredis==1.1.0 | |
| asgi-redis==1.4.3 | |
| asgiref==2.3.2 | |
| async-timeout==2.0.1 | |
| attrs==18.1.0 | |
| autobahn==18.6.1 | |
| Automat==0.6.0 | |
| certifi==2018.4.16 | |
| channels==2.1.1 | |
| channels-redis==2.2.1 |
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
| #!/usr/bin/python | |
| __author__ = '[email protected]' | |
| #edited by d3n1z to conform with python3 and django >2 | |
| """ | |
| Generates random users, profiles and game entries for testing. |
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
| cat requirements.txt | cut -d "=" -f 1 | while read line ; do pip install -U $line; done |
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
| #include <iostream> | |
| #include <vector> | |
| #include <opencv2/highgui.hpp> | |
| #include <opencv2/imgproc.hpp> | |
| #include <opencv2/core.hpp> | |
| #include <opencv2/videoio.hpp> | |
| #include <opencv2/opencv.hpp> | |
| #include <opencv2/opencv_modules.hpp> | |
| #include <opencv2/cudaobjdetect.hpp> | |
| #include <opencv2/cudaimgproc.hpp> |
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
| <!-- https://stackoverflow.com/questions/44675550/django-widget-override-template --> | |
| {% load i18n %}{% if widget.is_initial %}{{ widget.initial_text }}: <a href="{{ widget.value.url }}">{{ widget.value }}</a>{% if not widget.required %} | |
| <input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}"> | |
| <label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>{% endif %}<br> | |
| {{ widget.input_text }}:{% endif %} | |
| <label class="btn btn-primary">{% trans 'Upload' %}<input type="{{ widget.type }}" name="{{ widget.name }}" hidden {% include "django/forms/widgets/attrs.html" %}> </label> |
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
| #!/usr/env/bin python | |
| from googletrans import Translator | |
| import polib | |
| translator = Translator(service_urls=[ | |
| 'translate.google.com', | |
| 'translate.google.co.kr', | |
| ]) | |
| #source file |
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
| name: customcert | |
| version: 0.1.0 | |
| patches: | |
| common-env-features: | | |
| "CUSTOM_CERTIFICATE_TEMPLATES_ENABLED": true, | |
| "ORGANIZATIONS_APP": true | |
| # tutor plugins install custom_cert.yml | |
| # tutor plugins enable customcert |
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
| name: keycloak | |
| version: 0.1.0 | |
| patches: | |
| common-env-features: | | |
| "ENABLE_THIRD_PARTY_AUTH": true | |
| openedx-lms-common-settings: | | |
| SOCIAL_AUTH_KEYCLOAK_KEY = 'educasual' | |
| SOCIAL_AUTH_KEYCLOAK_SECRET = '7c81d36a-bec9-4833-931c-64baab674283' | |
| SOCIAL_AUTH_KEYCLOAK_PUBLIC_KEY = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjyq0SjRVvMaoHDeB4AcyBmWNNLe36ibopb/8cgXwPIPtphX50MepMK5Xmne1euS6I8ZWPGJl3DNtK215AMUKoy87BSJX5o26RQx8d0M+WTvnw6EVLaskeJSiXu4WkYka2Ou+cc6mkyMMtDnkFybbjFFFdMOkDPSyCMEfakHH2b/es+6KBkIC+yqmigDy/S26rsVX5A7kFUP7QUGBPJqwOVQjyd9JaebQlxwN300NlWme2wZrypXOxWraPmpMsWlZVEtniqO+gtOT+ko41VQospwrsJSfSX05ch25WNIsDhOPNhfYOpdFDviHEiXMjtMm+XTLr0qfzVDdYEyJnmG7XwIDAQAB' | |
| SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL = 'http://keycloak.nubidus.com/auth/realms/openedx/protocol/openid-connect/auth' |
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
| name: sessiondb | |
| version: 0.1.0 | |
| patches: | |
| common-env-features: | | |
| "ALLOW_PUBLIC_ACCOUNT_CREATION": false | |
| openedx-lms-common-settings: | | |
| SESSION_ENGINE= "django.contrib.sessions.backends.db" | |
| openedx-cms-common-settings: | | |
| SESSION_ENGINE= "django.contrib.sessions.backends.db" | |