Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Kryklia auraz

View GitHub Profile
@auraz
auraz / learntube-stage-url
Created May 21, 2018
Learntube staging urls
View learntube-stage-url
https://staging-api2.labster.com/simulation/a0Kw000000JFoRyEAL/learn
https://staging-api2.labster.com/simulation/a0Kw000000dFBbyEAG/learn
https://staging-api2.labster.com/simulation/a0Kw000000cuT2gEAE/learn
https://staging-api2.labster.com/simulation/a0Kw000000Iko9SEAR/learn
https://staging-api2.labster.com/simulation/a0Kw000000JFMjuEAH/learn
https://staging-api2.labster.com/simulation/a0Kw000000UXAUcEAP/learn
https://staging-api2.labster.com/simulation/a0K2X00000h3axmUAA/learn
https://staging-api2.labster.com/simulation/a0Kw000000Iko9UEAR/learn
https://staging-api2.labster.com/simulation/a0Kw000000JFWv0EAH/learn
https://staging-api2.labster.com/simulation/a0Kw000000Iko9tEAB/learn
@auraz
auraz / learntube-prod-urls
Last active May 21, 2018
LearnTube prod simulations
View learntube-prod-urls
https://api2.labster.com/simulation/a0Kw000000JFoRyEAL/learn
https://api2.labster.com/simulation/a0Kw000000dFBbyEAG/learn
https://api2.labster.com/simulation/a0Kw000000cuT2gEAE/learn
https://api2.labster.com/simulation/a0Kw000000Iko9SEAR/learn
https://api2.labster.com/simulation/a0Kw000000JFMjuEAH/learn
https://api2.labster.com/simulation/a0Kw000000UXAUcEAP/learn
https://api2.labster.com/simulation/a0K2X00000h3axmUAA/learn
https://api2.labster.com/simulation/a0Kw000000Iko9UEAR/learn
https://api2.labster.com/simulation/a0Kw000000JFWv0EAH/learn
https://api2.labster.com/simulation/a0Kw000000Iko9tEAB/learn
View gist:6e14968a25f6cb27daf803252a42d549
https://api2.labster.com/simulation/a0Kw000000JFoRyEAL/learn/
https://api2.labster.com/simulation/a0Kw000000dFBbyEAG/learn/
https://api2.labster.com/simulation/a0Kw000000cuT2gEAE/learn/
https://api2.labster.com/simulation/a0Kw000000Iko9SEAR/learn/
https://api2.labster.com/simulation/a0Kw000000JFMjuEAH/learn/
https://api2.labster.com/simulation/a0Kw000000UXAUcEAP/learn/
https://api2.labster.com/simulation/a0K2X00000h3axmUAA/learn/
https://api2.labster.com/simulation/a0Kw000000Iko9UEAR/learn/
https://api2.labster.com/simulation/a0Kw000000JFWv0EAH/learn/
https://api2.labster.com/simulation/a0Kw000000Iko9tEAB/learn/
View gist:ee4e1eaf6ac0afddddab
$ git diff
diff --git a/cms/envs/aws.py b/cms/envs/aws.py
index 2a854b7..ffaf36a 100644
--- a/cms/envs/aws.py
+++ b/cms/envs/aws.py
@@ -173,6 +173,7 @@ WIKI_ENABLED = ENV_TOKENS.get('WIKI_ENABLED', WIKI_ENABLED)
LOGGING = get_logger_config(LOG_DIR,
logging_env=ENV_TOKENS['LOGGING_ENV'],
logging_env=ENV_TOKENS['LOGGING_ENV'],
syslog_addr=(ENV_TOKENS['SYSLOG_SERVER'], 514),
View gist:10742900
<problem>
<text>
<p>
HERE IS A BUGGING VERSION OF QUESTION 3. </p>
<p>
<p style="display:inline">[mathjaxinline]D_ i\: =\:[/mathjaxinline]</p>
<formularesponse inline="1" type="cs" samples="r,V,G,R@1.2,0.5,0.7,0.8:2.0,0.9,1.5,1.7#3" answer="(pi/4)*r*G^2">
<textline size="25" inline="1" math="1">
<responseparam type="tolerance" default="0.00001"/>
</textline>
View gist:9120459
xmodule_assets common/static/xmodule
./manage.py lms --settings bok_choy preprocess_assets --traceback
Traceback (most recent call last):
File "/home/jenkins/edx-venv/bin/xmodule_assets", line 9, in <module>
load_entry_point('XModule==0.1', 'console_scripts', 'xmodule_assets')()
File "/home/jenkins/workspace/edx-all-tests-auto-pr/SHARD/1/TEST_SUITE/bok-choy/common/lib/xmodule/xmodule/static_content.py", line 190, in main
write_descriptor_js(root / 'descriptors/js')
File "/home/jenkins/workspace/edx-all-tests-auto-pr/SHARD/1/TEST_SUITE/bok-choy/common/lib/xmodule/xmodule/static_content.py", line 39, in write_descriptor_js
return _write_js(output_root, _list_descriptors())
File "/home/jenkins/workspace/edx-all-tests-auto-pr/SHARD/1/TEST_SUITE/bok-choy/common/lib/xmodule/xmodule/static_content.py", line 46, in _list_descriptors
@auraz
auraz / gist:6869365
Created Oct 7, 2013
Failing tests on master
View gist:6869365
kry at 17:45:25 in ~/mitx_all/edx-platform on master
$ rake test:acceptance:cms["cms/djangoapps/contentstore/features/video.feature"]
mkdir -p /Users/kry/mitx_all/edx-platform/reports
find /Users/kry/mitx_all/edx-platform/reports -type f -delete
git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads
find . -type f -name *.pyc -delete
mkdir -p /Users/kry/mitx_all/edx-platform/reports/acceptance
mkdir -p /Users/kry/mitx_all/edx-platform/.ws_migrations_complete
ws_migrations/clean_xmodule_assets.sh
mkdir -p /Users/kry/mitx_all/edx-platform/.prereqs_cache
View gist:5489647
python)kry at 18:56:35 in ~/mitx_all/mitx on master*
$ node_modules/.bin/coffee --compile */static
SyntaxError: Invalid object key
at Obj.exports.Obj.Obj.compileNode (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:1272:17)
at Obj.exports.Base.Base.compileToFragments (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:87:21)
at Block.exports.Block.Block.compileNode (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:382:28)
at Block.exports.Block.Block.compileWithDeclarations (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:478:19)
at Code.exports.Code.Code.compileNode (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:1947:63)
at Code.exports.Base.Base.compileToFragments (/Users/kry/mitx_all/mitx/node_modules/coffee-script/lib/coffee-script/nodes.js:87:21)
at Assign.exports.Assign.Assign.compileNode (/Users/kry/mitx_all/mitx/node_module