This file contains 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
upstream cms-backend { | |
server 127.0.0.1:8010 fail_timeout=0; | |
} | |
server { | |
# CMS configuration file for nginx, templated by ansible | |
# Proxy to a remote maintanence page | |
# error pages |
This file contains 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/env python | |
import fileinput | |
import csv | |
import sys | |
# This prevents prematurely closed pipes from raising | |
# an exception in Python | |
from signal import signal, SIGPIPE, SIG_DFL | |
signal(SIGPIPE, SIG_DFL) |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Network error messages --> | |
<!-- Error shown when user attempts an action but needs an internet connection --> | |
<string name="network_not_connected">You are not connected to the Internet.</string> | |
<!-- Concise error shown when user attempts an action but needs an internet connection --> | |
<string name="network_not_connected_short">Network not reachable</string> | |
<!-- Alert dialog title shown when a network request fails --> | |
<string name="reset_no_network_title">Connection Error</string> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Closed caption button label --> | |
<string name="lbl_cc">CC</string> | |
<!-- Divider between current time and total time. For example "2:33/5:10" --> | |
<string name="lbl_slash">/</string> | |
<!-- Name of mode when user has no internet connection causing some features to be unavailable --> | |
<string name="lbl_offline_mode">Offline Mode</string> | |
<!-- Label describing the meaning of offline mode --> | |
<string name="lbl_offline_mode_desc">In offline mode, you can only view videos that are saved on your device.</string> |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string name="app_name">edX</string> | |
<!-- Common values --> | |
<!-- Button to visit course group on facebook --> | |
<string name="course_details_fb_group">Official course Facebook group</string> | |
<!-- Button to view handouts for course --> | |
<string name="view_handouts">View course handouts</string> |
This file contains 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
/* | |
Localizable.strings | |
edXVideoLocker | |
Created by Nirbhay Agarwal on 07/07/14. | |
Copyright (c) 2014 edX. All rights reserved. | |
*/ | |
// Please keep in alphabetical order |
This file contains 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/env python | |
""" | |
Usage: bkt <command> [options] | |
bkt handles file uploads to S3. | |
Commands: | |
ls List all buckets or all files in a bucket | |
get Download a file from a bucket | |
mk Create a new bucket |
This file contains 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
upstream cms-backend { | |
server 127.0.0.1:8010 fail_timeout=0; | |
} | |
server { | |
# CMS configuration file for nginx, templated by ansible | |
# Proxy to a remote maintanence page | |
# error pages |
This file contains 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
# LMS configuration file for nginx, templated by ansible | |
upstream lms-backend { | |
server 127.0.0.1:8000 fail_timeout=0; | |
} | |
server { | |
listen 80; | |
return 301 https://$host$request_uri; | |
} |