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
{ | |
GIT_ACCT: "yarko", | |
THEME_ACCT: "Stanford-Online", | |
OPEN_EDX: "edx", | |
edx_platform_repo: "https://{{ COMMON_GIT_MIRROR }}/{{ GIT_ACCT }}/edx-platform.git", | |
edx_platform_version: "yarko/fix-rake-env-assets", | |
edxapp_use_custom_theme: false, | |
edxapp_theme_source_repo: 'https://{{ COMMON_GIT_MIRROR }}/{{ THEME_ACCT }}/edx-theme.git', | |
edxapp_theme_version: 'master', | |
edxapp_theme_name: "stanford" |
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
diff --git a/cms/envs/dev.py b/cms/envs/dev.py | |
index ff9e650..f06b386 100644 | |
--- a/cms/envs/dev.py | |
+++ b/cms/envs/dev.py | |
@@ -165,7 +165,7 @@ DEBUG_TOOLBAR_PANELS = ( | |
# Django=1.3.1/1.4 where requests to views get duplicated (your method gets | |
# hit twice). So you can uncomment when you need to diagnose performance | |
# problems, but you shouldn't leave it on. | |
- # 'debug_toolbar.panels.profiling.ProfilingDebugPanel', | |
+ # 'debug_toolbar.panels.profiling.ProfilingPanel', |
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
# snippet for debugging w/ wingIDE: | |
if __debug__: | |
from os import environ | |
if 'WINGDB_ACTIVE' in environ: | |
app.debug = False |
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
/* Affective systems - then and now | |
*/ | |
digraph g { | |
graph [nodesep="0.7", margin="0.6,0.15"]; | |
rankdir = LR; | |
edge [dir="back"]; | |
node [fontname="verdana", shape=record, style="filled", fillcolor=snow]; |
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
from lxml import html | |
node = html.parse('http://projecteuler.net/problem=8').getroot() | |
number_parts = node.cssselect('div.problem_content > p')[1].text_content().split() | |
print "".join(number_parts) |
NewerOlder