code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/modules/dashboard/peer_review.py | Python | asf20 | 12,448 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/main.py | Python | asf20 | 2,686 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/appengine_config.py | Python | asf20 | 3,219 |
describe('ButterBar', function() {
var popup, message, butterBar;
beforeEach(function() {
popup = {}; // mock
message = {}; // mock
butterBar = new ButterBar(popup, message);
});
it('can display text', function() {
butterBar.showMessage('Hello, World');
expect(message.textContent).toBe('He... | zxz-hg | coursebuilder/tests/unit/assets_lib_butterbar.js | JavaScript | asf20 | 677 |
describe('assessment tags', function() {
var MESSAGES = {
correctAnswer: 'Yes, the answer is correct.',
incorrectAnswer: 'No, the answer is incorrect.',
partiallyCorrectAnswer: 'The answer is partially correct.',
yourScoreIs: 'Your score is: '
};
/**
* Extract the outerHTML value from the first... | zxz-hg | coursebuilder/tests/unit/modules_assessment_tags.js | JavaScript | asf20 | 14,718 |
describe('deepEquals', function() {
it('matches objects which are equal', function() {
var a = {
'a': [1, 2, 3],
'b': {'c': 'C', 'd': null}
};
var b = {
'b': {'d': null, 'c': 'C'},
'a': [1, 2, 3]
};
expect(deepEquals(a, b)).toBe(true);
});
it('distinguishes objects are ... | zxz-hg | coursebuilder/tests/unit/modules_oeditor.js | JavaScript | asf20 | 9,925 |
"""Unit tests for the common.sanitize module."""
__author__ = 'John Orr (jorr@google.com)'
import unittest
from common import safe_dom
class MockNode(safe_dom.Node):
def __init__(self, value):
self._value = value
@property
def sanitized(self):
return self._value
class NodeListTests(un... | zxz-hg | coursebuilder/tests/unit/common_safe_dom.py | Python | asf20 | 9,954 |
<!-- A multiple choice question which accepts only one selection. -->
<div id="mc-0" class="qt-mc-question">
<div class="qt-question qt-standalone">Pick 'a'</div>
<div class="qt-choices">
<div>
<input type="radio" name="mc-0" id="mc-0-0"/>
<label for="mc-0-0">a</label>
</div>
<div>
<in... | zxz-hg | coursebuilder/tests/unit/modules_assessment_tags.html | HTML | asf20 | 3,440 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/unit/common_schema_fields.py | Python | asf20 | 9,915 |
"""Unit tests for the javascript code."""
__author__ = 'John Orr (jorr@google.com)'
import subprocess
import unittest
class AllJavaScriptTests(unittest.TestCase):
def test_all(self):
subprocess.call([
'karma', 'start',
'experimental/coursebuilder/tests/unit/karma.conf.js'])
| zxz-hg | coursebuilder/tests/unit/javascript_tests.py | Python | asf20 | 317 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/unit/models_courses.py | Python | asf20 | 9,572 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/unit/models_transforms.py | Python | asf20 | 4,778 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/unit/common_tags.py | Python | asf20 | 4,593 |
// Karma configuration
// Generated on Mon Mar 25 2013 18:28:05 GMT-0700 (PDT)
// base path, that will be used to resolve files and exclude
basePath = '../../';
var YUI_BASE = process.env.YUI_BASE;
var KARMA_LIB = process.env.KARMA_LIB;
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMI... | zxz-hg | coursebuilder/tests/unit/karma.conf.js | JavaScript | asf20 | 3,407 |
describe('normalize scores', function() {
var oldY;
function arrayEqual(a, b) {
if (a.length != b.length) {
return false;
}
for (var i = 0; i < a.length; i++) {
if (a[i] !== b[i]) {
return false;
}
}
return true;
}
beforeEach(function() {
if (window.Y) {
... | zxz-hg | coursebuilder/tests/unit/modules_dashboard.js | JavaScript | asf20 | 3,031 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/integration/load_test.py | Python | asf20 | 17,395 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/integration/pageobjects.py | Python | asf20 | 18,209 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/review_peer.py | Python | asf20 | 4,861 |
# coding: utf-8
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | zxz-hg | coursebuilder/tests/functional/review_stats.py | Python | asf20 | 4,266 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/explorer_module.py | Python | asf20 | 9,509 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/model_student_work.py | Python | asf20 | 3,838 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/review_module.py | Python | asf20 | 61,475 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/model_models.py | Python | asf20 | 3,768 |
# coding: utf-8
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | zxz-hg | coursebuilder/tests/functional/controllers_review.py | Python | asf20 | 22,810 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/model_utils.py | Python | asf20 | 2,902 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/model_review.py | Python | asf20 | 4,949 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/functional/actions.py | Python | asf20 | 21,562 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tests/suite.py | Python | asf20 | 10,249 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/transforms.py | Python | asf20 | 13,885 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/jobs.py | Python | asf20 | 4,760 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/student_work.py | Python | asf20 | 8,253 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/entities.py | Python | asf20 | 2,529 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/counters.py | Python | asf20 | 1,912 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/models.py | Python | asf20 | 26,387 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/notify.py | Python | asf20 | 1,600 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/roles.py | Python | asf20 | 2,668 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/courses.py | Python | asf20 | 71,787 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/config.py | Python | asf20 | 10,232 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/utils.py | Python | asf20 | 5,478 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/property.py | Python | asf20 | 2,352 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/content.py | Python | asf20 | 21,971 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/custom_modules.py | Python | asf20 | 2,833 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/review.py | Python | asf20 | 8,882 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/vfs.py | Python | asf20 | 18,658 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/models/progress.py | Python | asf20 | 21,632 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/verify.py | Python | asf20 | 62,820 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/etl/remote.py | Python | asf20 | 5,793 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/etl/etl_lib.py | Python | asf20 | 4,725 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/etl/mapreduce.py | Python | asf20 | 2,856 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/etl/etl.py | Python | asf20 | 30,584 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/etl/examples.py | Python | asf20 | 6,658 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/tools/export.py | Python | asf20 | 4,522 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/controllers/assessments.py | Python | asf20 | 8,498 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/controllers/lessons.py | Python | asf20 | 36,272 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/controllers/utils.py | Python | asf20 | 24,558 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/controllers/sites.py | Python | asf20 | 49,380 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/common/tags.py | Python | asf20 | 9,745 |
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/common/jinja_utils.py | Python | asf20 | 2,596 |
"""Classes to build sanitized HTML."""
__author__ = 'John Orr (jorr@google.com)'
import cgi
import re
def escape(strg):
return cgi.escape(strg, quote=1).replace("'", ''').replace('`', '`')
class Node(object):
"""Base class for the sanitizing module."""
@property
def sanitized(self):
... | zxz-hg | coursebuilder/common/safe_dom.py | Python | asf20 | 4,961 |
# Copyright 2012 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | zxz-hg | coursebuilder/common/schema_fields.py | Python | asf20 | 7,807 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-3.3.js | JavaScript | asf20 | 5,490 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-1.5.js | JavaScript | asf20 | 6,173 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-2.4.js | JavaScript | asf20 | 4,717 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-2.2.js | JavaScript | asf20 | 3,760 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-4.5.js | JavaScript | asf20 | 3,671 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-6.2.js | JavaScript | asf20 | 3,228 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/assessment-Mid.js | JavaScript | asf20 | 4,598 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-6.1.js | JavaScript | asf20 | 4,690 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/assessment-Pre.js | JavaScript | asf20 | 3,850 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-5.1.js | JavaScript | asf20 | 3,514 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-6.3.js | JavaScript | asf20 | 2,322 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-5.4.js | JavaScript | asf20 | 4,704 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-2.1.js | JavaScript | asf20 | 3,027 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-2.5.js | JavaScript | asf20 | 2,258 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-1.6.js | JavaScript | asf20 | 3,414 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-4.4.js | JavaScript | asf20 | 4,343 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-5.2.js | JavaScript | asf20 | 5,672 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/assessment-ReviewAssessmentExample.js | JavaScript | asf20 | 2,131 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-3.1.js | JavaScript | asf20 | 4,351 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-1.2.js | JavaScript | asf20 | 3,791 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/review-ReviewAssessmentExample.js | JavaScript | asf20 | 1,631 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-2.3.js | JavaScript | asf20 | 4,308 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-3.2.js | JavaScript | asf20 | 4,694 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/assessment-Fin.js | JavaScript | asf20 | 5,562 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-1.4.js | JavaScript | asf20 | 3,756 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-3.4.js | JavaScript | asf20 | 7,659 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-1.3.js | JavaScript | asf20 | 4,861 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-5.3.js | JavaScript | asf20 | 3,586 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-4.3.js | JavaScript | asf20 | 3,611 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-4.2.js | JavaScript | asf20 | 5,252 |
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-4.1.js | JavaScript | asf20 | 3,810 |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/js/activity-examples.js | JavaScript | asf20 | 2,571 |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | zxz-hg | coursebuilder/assets/css/butterbar.css | CSS | asf20 | 1,694 |
/*
Copyright 2012 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | zxz-hg | coursebuilder/assets/css/main.css | CSS | asf20 | 14,292 |
function ButterBar(popup, message, close) {
this.popup = popup;
this.message = message;
this.close = close;
}
ButterBar.prototype.showMessage = function(text) {
this.message.textContent = text; // FF, Chrome
this.message.innerText = text; // IE
this.popup.className = "gcb-butterbar shown";
if (this.cl... | zxz-hg | coursebuilder/assets/lib/butterbar.js | JavaScript | asf20 | 1,233 |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | zxz-hg | coursebuilder/assets/lib/activity-generic-1.3.js | JavaScript | asf20 | 29,357 |
package akka.tutorial.first.java;
import static akka.actor.Actors.actorOf;
import static akka.actor.Actors.poisonPill;
import static java.util.Arrays.asList;
import java.util.concurrent.CountDownLatch;
import akka.actor.ActorRef;
import akka.actor.UntypedActor;
import akka.actor.UntypedActorFactory;
import akka.rout... | zxk-code | trunk/akka-tutorial-first-java/src/main/java/akka/tutorial/first/java/Pi.java | Java | asf20 | 5,033 |
package com.zxk.app;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
| zxk-code | trunk/weeke_2/biz-bo/src/main/java/com/zxk/app/App.java | Java | asf20 | 174 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weeke_2/biz-bo/src/main/java/weibo4j/WeiboException.java | Java | asf20 | 2,485 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | zxk-code | trunk/weeke_2/biz-bo/src/main/java/weibo4j/RetweetDetails.java | Java | asf20 | 6,192 |