prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/aliases_freebsd.bash #aliases and functions for freebsd #don't store repeated duplicate commands in bash_history export HISTCONTROL=ignoreboth:erasedups #basic shell setup to mimic ubuntu export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " LS_COLORS=$LS_COLORS:'di=0;34:...
#aliases and functions for freebsd #don't store repeated duplicate commands in bash_history export HISTCONTROL=ignoreboth:erasedups #basic shell setup to mimic ubuntu export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " LSCOLORS='d'; export LSCOLORS export PAGER=less export EDITOR=vim alias ...
<|file_sep|>original/aliases_freebsd.bash #aliases and functions for freebsd #don't store repeated duplicate commands in bash_history export HISTCONTROL=ignoreboth:erasedups #basic shell setup to mimic ubuntu export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ " LS_COLORS=$LS_COLORS:'di=0;34:...
70de1a3cb3b997220148477d1f9d22670fc0fe92
aliases_freebsd.bash
aliases_freebsd.bash
Shell
<|file_sep|>original/package.json "url": "https://github.com/prawnsalad/KiwiIRC.git" }, "dependencies": { "daemonize2": "0.4.2", "engine.io": "^1.4.0", "es6-promise": "^3.0.2", "eventemitter2": "0.4.14", "iconv-lite": "0.4.11", "ipaddr.js": "^1.0.3", "lodash": "^3.10.1", "negotia...
"url": "https://github.com/prawnsalad/KiwiIRC.git" }, "dependencies": { "daemonize2": "0.4.2", "engine.io": "^1.4.0", "es6-promise": "^3.0.2", "eventemitter2": "0.4.14", "iconv-lite": "0.4.11", "ipaddr.js": "^1.0.3", "lodash": "^3.10.1", "negotiator": "^0.5.3", "node-static":...
<|file_sep|>original/package.json "url": "https://github.com/prawnsalad/KiwiIRC.git" }, "dependencies": { "daemonize2": "0.4.2", "engine.io": "^1.4.0", "es6-promise": "^3.0.2", "eventemitter2": "0.4.14", "iconv-lite": "0.4.11", "ipaddr.js": "^1.0.3", "lodash": "^3.10.1", "negotia...
71b063504f5ff3cdc2e760eb9451b90bb738f9ad
package.json
package.json
JSON
<|file_sep|>original/.asf.yaml # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. github: description: "Apache NiFi NAR Maven Plugin" homepage: https://nifi.apache.org/ labels: - nifi...
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. github: description: "Apache NiFi NAR Maven Plugin" homepage: https://nifi.apache.org/ labels: - nifi - maven - java - h...
<|file_sep|>original/.asf.yaml # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. github: description: "Apache NiFi NAR Maven Plugin" homepage: https://nifi.apache.org/ labels: - nifi...
9ff35c6297a8dc5db86d014a7c913d3752f1720b
.asf.yaml
.asf.yaml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.7" script: py.test tests/ <|file_sep|>current/.travis.yml language: python python: - "2.7" script: py.test tests/ <|file_sep|>updated/.travis.yml
language: python python: - "2.7" script: py.test tests/ && python bench.py
<|file_sep|>original/.travis.yml language: python python: - "2.7" script: py.test tests/ <|file_sep|>current/.travis.yml language: python python: - "2.7" script: py.test tests/ <|file_sep|>updated/.travis.yml language: python python: - "2.7" script: py.test tests/ && python bench.py
98d0fe133455a6aab338d7f79e3f58eaba12b74a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/resources/scorecard.xml <!-- This file stubs the necessary configuration to run the scorecard application in a tomcat instance. MUST DO 1. Update the value attributes with the correct values for your deployment. 2. This file MUST be placed in $CATALINA_BASE/conf/[enginename]/[hostname]/ ....
<!-- This file stubs the necessary configuration to run the scorecard application in a tomcat instance. MUST DO 1. Update the value attributes with the correct values for your deployment. 2. This file MUST be placed in $CATALINA_BASE/conf/[enginename]/[hostname]/ . For example, tomcatlocation\conf\Catalina\localhost ...
<|file_sep|>original/src/main/resources/scorecard.xml <!-- This file stubs the necessary configuration to run the scorecard application in a tomcat instance. MUST DO 1. Update the value attributes with the correct values for your deployment. 2. This file MUST be placed in $CATALINA_BASE/conf/[enginename]/[hostname]/ ....
bcfdfbd4c3f60ea7a0d6b72dd8c8dafb5fd1efbd
src/main/resources/scorecard.xml
src/main/resources/scorecard.xml
XML
<|file_sep|>middleman-title.gemspec.diff original: spec.files = `git ls-files`.split($/) # spec.test_files = `git ls-files -- {features,fixtures}/*`.split($/) spec.require_paths = ['lib'] updated: s.files = `git ls-files`.split($/) # s.test_files = `git ls-files -- {features,fixtures}/*`...
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'middleman-title/version' Gem::Specification.new do |s| s.name = 'middleman-title' s.version = Middleman::Title::VERSION s.license = 'MIT' s.summary = 'A Middleman exten...
<|file_sep|>middleman-title.gemspec.diff original: spec.files = `git ls-files`.split($/) # spec.test_files = `git ls-files -- {features,fixtures}/*`.split($/) spec.require_paths = ['lib'] updated: s.files = `git ls-files`.split($/) # s.test_files = `git ls-files -- {features,fixtures}/*`...
e87bfab4247bcb9ac0b01e86a7053d0512f32f47
middleman-title.gemspec
middleman-title.gemspec
Ruby
<|file_sep|>original/README.rdoc = Testing Run the specs with <tt>rake spec</tt> Run the specs and include live integration specs with <tt>LIVE=true rake spec</tt>. Note: This will test over a real UDP socket. == Contributing to statsd * Check out the latest master to make sure the feature hasn't been implemented...
Run the specs and include live integration specs with <tt>LIVE=true rake spec</tt>. Note: This will test over a real UDP socket. == Contributing to statsd * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet * Check out the issue tracker to make sure someone...
<|file_sep|>original/README.rdoc = Testing Run the specs with <tt>rake spec</tt> Run the specs and include live integration specs with <tt>LIVE=true rake spec</tt>. Note: This will test over a real UDP socket. == Contributing to statsd * Check out the latest master to make sure the feature hasn't been implemented...
9060938f52c97704d2db34eb0057a2d066607383
README.rdoc
README.rdoc
RDoc
<|file_sep|>original/requirements.txt lxml==3.7.2 PyYAML==3.12 requests==2.18.4 celery==4.0.2 redis==2.10.5 uWSGI==2.0.15 psycopg2==2.7.3.2 Flask==0.12.2 Flask-Assets==0.12 Flask-Migrate==2.0.3 cssmin==0.2.0 jsmin==2.2.2 git+https://github.com/pwyf/bdd-tester.git@drop-behave#egg=bdd-tester foxpath==2.0.1 <|file_sep...
lxml==3.7.2 PyYAML==3.12 requests==2.18.4 celery==4.0.2 redis==2.10.5 uWSGI==2.0.15 psycopg2==2.7.3.2 Flask==0.12.2 Flask-Assets==0.12 Flask-Migrate==2.0.3 cssmin==0.2.0 jsmin==2.2.2 git+https://github.com/pwyf/bdd-tester.git#egg=bdd-tester foxpath==2.0.1
<|file_sep|>original/requirements.txt lxml==3.7.2 PyYAML==3.12 requests==2.18.4 celery==4.0.2 redis==2.10.5 uWSGI==2.0.15 psycopg2==2.7.3.2 Flask==0.12.2 Flask-Assets==0.12 Flask-Migrate==2.0.3 cssmin==0.2.0 jsmin==2.2.2 git+https://github.com/pwyf/bdd-tester.git@drop-behave#egg=bdd-tester foxpath==2.0.1 <|file_sep...
370c8bdb971ac48eeadd14799b1b4342bd2a78b6
requirements.txt
requirements.txt
Text
<|file_sep|>package.json.diff original: "lol-js": "^2.0.2", updated: "coffee-script": "^1.12.5", "kindred-api": "^1.3.6", <|file_sep|>original/package.json "description": "A desktop application for tracking LP (League Points)", "main": "main.js", "scripts": { "test": "echo \"Error: no test specifi...
}, "repository": { "type": "git", "url": "git+https://github.com/Arm1stice/LP-Tracker.git" }, "author": "Wyatt Calandro", "license": "UNLICENSED", "bugs": { "url": "https://github.com/Arm1stice/LP-Tracker/issues" }, "homepage": "https://github.com/Arm1stice/LP-Tracker#readme", "dependencie...
<|file_sep|>package.json.diff original: "lol-js": "^2.0.2", updated: "coffee-script": "^1.12.5", "kindred-api": "^1.3.6", <|file_sep|>original/package.json "description": "A desktop application for tracking LP (League Points)", "main": "main.js", "scripts": { "test": "echo \"Error: no test specifi...
ae378bf0a8164444e8df8abb03b9eb51d6b0dca9
package.json
package.json
JSON
<|file_sep|>src/chime_dash/__init__.py.diff original: from chime_dash.app.components import Body updated: from chime_dash.app.pages.root import Root <|file_sep|>original/src/chime_dash/__init__.py Change to 'dev' or 'test' to set debug to true. Returns: Env: Config variables based on context argume...
Change to 'dev' or 'test' to set debug to true. Returns: Env: Config variables based on context argument received DashAppInstance: Dash instance with appropriate configuration settings """ Env = from_object(context) LANGUAGE = Env.LANG body = Root(LANGUAGE, DEFAULTS) ...
<|file_sep|>src/chime_dash/__init__.py.diff original: from chime_dash.app.components import Body updated: from chime_dash.app.pages.root import Root <|file_sep|>original/src/chime_dash/__init__.py Change to 'dev' or 'test' to set debug to true. Returns: Env: Config variables based on context argume...
d82b908721a9eaedee119f8cceab7eec1bec5f84
src/chime_dash/__init__.py
src/chime_dash/__init__.py
Python
<|file_sep|>public/js/main.js.diff original: var data = {}; updated: // Define the Knockout View Model var viewModel = { }; <|file_sep|>public/js/main.js.diff original: updated: // Run this block when the page is ready <|file_sep|>original/public/js/main.js var data = {}; $(function(){ data = ko.mapping.fromJS(harp...
// Define the Knockout View Model var viewModel = { }; // Run this block when the page is ready $(function(){ // Start the Knockout View Model ko.applyBindings(viewModel); });
<|file_sep|>public/js/main.js.diff original: var data = {}; updated: // Define the Knockout View Model var viewModel = { }; <|file_sep|>public/js/main.js.diff original: updated: // Run this block when the page is ready <|file_sep|>original/public/js/main.js var data = {}; $(function(){ data = ko.mapping.fromJS(harp...
9891a618518831de76bb29a071b44995e066eef5
public/js/main.js
public/js/main.js
JavaScript
<|file_sep|>spec/spec_helper.rb.diff original: command 'hi' do |c| updated: command 'hi' do |c,args| <|file_sep|>spec/spec_helper.rb.diff original: command /^hi/ do |c| updated: command /^hi/ do |c,args| <|file_sep|>spec/spec_helper.rb.diff original: command /(good)?bye/ do |c,good| updated: command /(good)...
command /^hi/ do |c,args| c.instance_eval { @base.instance_eval { @called_hi_regex = true } } c.send 'called high regex' end command /(good)?bye/ do |c,args| @called_goodbye = true c.send args.first ? "Good bye to you as well!" : "Rot!" end command 'wait' do |c,args| @called_wait = t...
<|file_sep|>spec/spec_helper.rb.diff original: command 'hi' do |c| updated: command 'hi' do |c,args| <|file_sep|>spec/spec_helper.rb.diff original: command /^hi/ do |c| updated: command /^hi/ do |c,args| <|file_sep|>spec/spec_helper.rb.diff original: command /(good)?bye/ do |c,good| updated: command /(good)...
e81b46e7a2c7bcbde2da2ae58a00c7a30d91abc7
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/locales/hi-IN/messages.properties <|file_sep|>current/locales/hi-IN/messages.properties <|file_sep|>updated/locales/hi-IN/messages.properties
unable_to_contact_login_server=प्रवेश सर्वर से संपर्क करने में असमर्थ.<br/> फिर से कोशिश करने के लिए पेज को रिफ्रेश करें. loading_message=&hellip; लोड हो रहा है log_out=लोग आउट sign_in=साइन इन please_sign_in=कृपया साइन इन करें. or=या sign_up=साइन अप करें newsletter_sign_up=साइन अप करें hi_username=नमस्ते, {name} MLN=Th...
<|file_sep|>original/locales/hi-IN/messages.properties <|file_sep|>current/locales/hi-IN/messages.properties <|file_sep|>updated/locales/hi-IN/messages.properties unable_to_contact_login_server=प्रवेश सर्वर से संपर्क करने में असमर्थ.<br/> फिर से कोशिश करने के लिए पेज को रिफ्रेश करें. loading_message=&hellip; लोड हो र...
0da7cfecf752b3d912984fb86c705d135fd6f7f1
locales/hi-IN/messages.properties
locales/hi-IN/messages.properties
INI
<|file_sep|>py/statemachines/simple_state_machine_script_test.yml.diff original: READ_HEXAPOD_CURRENT_POSE: template: ReadTransformState target_frame: ur10_1/base source_frame: hexapod_1/top transform_output: hexapod_current_pose succeeded: MOVE_ABOVE_HEXAPOD_1 updated: - READ_HEXAPOD_CURRENT_POSE: templa...
--- # Test State Machine - READ_HEXAPOD_CURRENT_POSE: template: ReadTransformState target_frame: ur10_1/base source_frame: hexapod_1/top transform_output: hexapod_current_pose succeeded: MOVE_ABOVE_HEXAPOD_1 - MOVE_ABOVE_HEXAPOD_1: template: CartTrapVelActionState robot: ur10_1 pose_inp...
<|file_sep|>py/statemachines/simple_state_machine_script_test.yml.diff original: READ_HEXAPOD_CURRENT_POSE: template: ReadTransformState target_frame: ur10_1/base source_frame: hexapod_1/top transform_output: hexapod_current_pose succeeded: MOVE_ABOVE_HEXAPOD_1 updated: - READ_HEXAPOD_CURRENT_POSE: templa...
60d378f9eabed62d899926d81d22640d94d92ff7
py/statemachines/simple_state_machine_script_test.yml
py/statemachines/simple_state_machine_script_test.yml
YAML
<|file_sep|>original/docker/compose/mozdef_meteor/files/settings.js License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (c) 2017 Mozilla Corporation Contributors: Jeff Bryner jbryner@mozilla.com Anthony Verez averez@mozilla.com Brandon ...
License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (c) 2017 Mozilla Corporation Contributors: Jeff Bryner jbryner@mozilla.com Anthony Verez averez@mozilla.com Brandon Myers bmyers@mozilla.com */ //configuration settings mozdef = { ...
<|file_sep|>original/docker/compose/mozdef_meteor/files/settings.js License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (c) 2017 Mozilla Corporation Contributors: Jeff Bryner jbryner@mozilla.com Anthony Verez averez@mozilla.com Brandon ...
da77d752c6e214bc876bc91b8a555b4e22989fd0
docker/compose/mozdef_meteor/files/settings.js
docker/compose/mozdef_meteor/files/settings.js
JavaScript
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Mon Feb 03 16:37:32 JST 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-all.zip <|file_sep|>current/gradle/wr...
#Mon Feb 03 16:37:32 JST 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Mon Feb 03 16:37:32 JST 2014 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-all.zip <|file_sep|>current/gradle/wr...
76d7a6c35f0cf5b5bd3c0a23c036c6047c02c660
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/package.json { "name": "amphtmlvalidator", "version": "0.0.1", "description": "Validate a given URL as valid AMP HTML", "main": "index.js", "scripts": { "example": "node index.js https://amp.gstatic.com/v/mobile.nytimes.com/2015/10/07/us/politics/hillary-clintons-proposed-changes-to-h...
{ "name": "amphtmlvalidator", "version": "0.0.1", "description": "Validate a given URL as valid AMP HTML", "main": "index.js", "scripts": { "example": "node index.js https://amp.gstatic.com/v/mobile.nytimes.com/2015/10/07/us/politics/hillary-clintons-proposed-changes-to-health-law-zero-in-on-affordability...
<|file_sep|>original/package.json { "name": "amphtmlvalidator", "version": "0.0.1", "description": "Validate a given URL as valid AMP HTML", "main": "index.js", "scripts": { "example": "node index.js https://amp.gstatic.com/v/mobile.nytimes.com/2015/10/07/us/politics/hillary-clintons-proposed-changes-to-h...
18a24ecbe43458340670dd2c8bb676644f430c7d
package.json
package.json
JSON
<|file_sep|>original/build.sbt ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // sil...
) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // silence all warnings on autogenera...
<|file_sep|>original/build.sbt ) ) publishTo := { val host = "https://flow.jfrog.io/flow" if (isSnapshot.value) { Some("Artifactory Realm" at s"$host/libs-snapshot-local;build.timestamp=" + new java.util.Date().getTime) } else { Some("Artifactory Realm" at s"$host/libs-release-local") } } // sil...
7225ce05da68077f2a8dc52fe0b5063ea4f2c114
build.sbt
build.sbt
Scala
<|file_sep|>client/src/reducers/token.ts.diff original: Cookies.set('token', action.token.token); Cookies.set('user', action.username); updated: // Cookies.set('token', action.token.token); // Cookies.set('user', action.username); <|file_sep|>original/client/src/reducers/token.ts swi...
switch (action.type) { case actionTypes.RECEIVE_TOKEN: // Cookies.set('token', action.token.token); // Cookies.set('user', action.username); return { ...state, user: action.username, token: action.token.token }; case actionTypes.DISCARD_TOKEN...
<|file_sep|>client/src/reducers/token.ts.diff original: Cookies.set('token', action.token.token); Cookies.set('user', action.username); updated: // Cookies.set('token', action.token.token); // Cookies.set('user', action.username); <|file_sep|>original/client/src/reducers/token.ts swi...
ce44c3316b2dc99db6a128deed1a422a122c392d
client/src/reducers/token.ts
client/src/reducers/token.ts
TypeScript
<|file_sep|>week-4/largest-integer/my_solution.rb.diff original: updated: =begin Initial Solution <|file_sep|>original/week-4/largest-integer/my_solution.rb # # +list_of_nums+ is an array of integers # largest_integer(list_of_nums) should return the largest integer in the +list_of_nums+ # # If +list_of_nums+ is empty...
def largest_integer(list_of_nums) # Your code goes here! if (list_of_nums.length == 0) return nil else largest_num = list_of_nums[0] list_of_nums.each do |num| if (num > largest_num) largest_num = num end end return largest_num end end =end #Refactored Solution def larg...
<|file_sep|>week-4/largest-integer/my_solution.rb.diff original: updated: =begin Initial Solution <|file_sep|>original/week-4/largest-integer/my_solution.rb # # +list_of_nums+ is an array of integers # largest_integer(list_of_nums) should return the largest integer in the +list_of_nums+ # # If +list_of_nums+ is empty...
8d041f3fb56bfffe0d1182482aa4c1ed6f6f7881
week-4/largest-integer/my_solution.rb
week-4/largest-integer/my_solution.rb
Ruby
<|file_sep|>original/ci/tasks/promote-candidate.sh pushd promoted/repo set +x echo "Creating config/private.yml with blobstore secrets" cat > config/private.yml << EOF --- blobstore: s3: access_key_id: $aws_access_key_id secret_access_key: $aws_secret_access_key EOF set -x echo "Using BOSH CLI vers...
pushd promoted/repo set +x echo "Creating config/private.yml with blobstore secrets" cat > config/private.yml << EOF --- blobstore: s3: access_key_id: $aws_access_key_id secret_access_key: $aws_secret_access_key EOF echo "Using BOSH CLI version..." bosh version echo "Finalizing CPI BOSH Release....
<|file_sep|>original/ci/tasks/promote-candidate.sh pushd promoted/repo set +x echo "Creating config/private.yml with blobstore secrets" cat > config/private.yml << EOF --- blobstore: s3: access_key_id: $aws_access_key_id secret_access_key: $aws_secret_access_key EOF set -x echo "Using BOSH CLI vers...
fbc0f1ca948c433698a9a27d261f44c43ab337fe
ci/tasks/promote-candidate.sh
ci/tasks/promote-candidate.sh
Shell
<|file_sep|>files/try_to_download_ruby_version.bash.diff original: DOWNLOAD_BUCKET=${BOXEN_RUBIES_BUCKET-"boxen-downloads"} updated: DOWNLOAD_BUCKET=${BOXEN_S3_BUCKET-"boxen-downloads"} DOWNLOAD_HOST=${BOXEN_S3_HOST-"s3.amazonaws.com"} <|file_sep|>original/files/try_to_download_ruby_version.bash #!/bin/bash if [...
if [ -z "$SKIP_PRECOMPILED_RUBIES" ]; then VERSION_NAME="${DEFINITION##*/}" VERSIONS_DIR="${RBENV_ROOT}/versions" OSX_RELEASE=`sw_vers -productVersion | cut -f 1-2 -d '.'` DOWNLOAD_BUCKET=${BOXEN_S3_BUCKET-"boxen-downloads"} DOWNLOAD_HOST=${BOXEN_S3_HOST-"s3.amazonaws.com"} PREV_PWD=`pwd` cd $VERSIONS_D...
<|file_sep|>files/try_to_download_ruby_version.bash.diff original: DOWNLOAD_BUCKET=${BOXEN_RUBIES_BUCKET-"boxen-downloads"} updated: DOWNLOAD_BUCKET=${BOXEN_S3_BUCKET-"boxen-downloads"} DOWNLOAD_HOST=${BOXEN_S3_HOST-"s3.amazonaws.com"} <|file_sep|>original/files/try_to_download_ruby_version.bash #!/bin/bash if [...
c545a009088c7aa237f255480186e8175e6993b5
files/try_to_download_ruby_version.bash
files/try_to_download_ruby_version.bash
Shell
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
}, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/issues" }, "homepage": "https://...
<|file_sep|>original/package.json }, "repository": { "type": "git", "url": "git+https://github.com/audioboxer217/node-slack-bot.git" }, "keywords": [ "slackbot", "bot", "slack" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/audioboxer217/node-slack-bot/is...
c580f10996fb9eea613c3b2cd7004aeb64befadf
package.json
package.json
JSON
<|file_sep|>original/HISTORY.rst .. :changelog: History ------- 0.1.0 (2015-01-11) --------------------- * First release on PyPI. <|file_sep|>current/HISTORY.rst .. :changelog: History ------- 0.1.0 (2015-01-11) --------------------- * First release on PyPI. <|file_sep|>updated/HISTORY.rst
.. :changelog: History ------- 0.1.0 (2015-01-23) --------------------- * First release on PyPI.
<|file_sep|>original/HISTORY.rst .. :changelog: History ------- 0.1.0 (2015-01-11) --------------------- * First release on PyPI. <|file_sep|>current/HISTORY.rst .. :changelog: History ------- 0.1.0 (2015-01-11) --------------------- * First release on PyPI. <|file_sep|>updated/HISTORY.rst .. :changelog: History...
4f3841a66222cfb2fb036be5e7527c19cc4f2222
HISTORY.rst
HISTORY.rst
reStructuredText
<|file_sep|>original/_sass/_media-queries.scss @media screen and (min-width: $viewport-small) { html { font-size: 16px; } h1, .h1 { font-size: $h1; } .site-header { text-align: left; } .site-nav { margin-top: 0; } .site-header a { font-size: $h4; } <|file_sep|>current/_sass...
@media screen and (min-width: $viewport-small) { html { font-size: 18px; } h1, .h1 { font-size: $h1; } .site-header { text-align: left; } .site-nav { margin-top: 0; } .site-header a { font-size: $h4; }
<|file_sep|>original/_sass/_media-queries.scss @media screen and (min-width: $viewport-small) { html { font-size: 16px; } h1, .h1 { font-size: $h1; } .site-header { text-align: left; } .site-nav { margin-top: 0; } .site-header a { font-size: $h4; } <|file_sep|>current/_sass...
f515c25b9f672abb42c23d9ea1280b0469488817
_sass/_media-queries.scss
_sass/_media-queries.scss
SCSS
<|file_sep|>original/.travis.yml sudo: false language: python cache: pip python: ["2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "pypy"] install: - pip install jsonpickle - pip install nose - pip install coveralls - pip install unittest2 - pip install mock - pip install 'django==1.8.8' script: - pip insta...
sudo: false language: python cache: pip python: ["2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "pypy"] install: - pip install jsonpickle - pip install nose - pip install coveralls - pip install unittest2 - pip install mock - pip install 'django==1.8.8' script: - pip install jsonpickle # Django 1...
<|file_sep|>original/.travis.yml sudo: false language: python cache: pip python: ["2.7", "3.2", "3.3", "3.4", "3.5", "3.6", "pypy"] install: - pip install jsonpickle - pip install nose - pip install coveralls - pip install unittest2 - pip install mock - pip install 'django==1.8.8' script: - pip insta...
3826b3a98a2b84875a5057bb534da31caa35e96f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/devops/app_base/requirements.txt datapackage-pipelines==1.1.7 https://github.com/hasadna/knesset-data-python/archive/v2.0.0.zip <|file_sep|>current/devops/app_base/requirements.txt datapackage-pipelines==1.1.7 https://github.com/hasadna/knesset-data-python/archive/v2.0.0.zip <|file_sep|>updated/dev...
datapackage-pipelines==1.2.1 https://github.com/hasadna/knesset-data-python/archive/v2.0.0.zip
<|file_sep|>original/devops/app_base/requirements.txt datapackage-pipelines==1.1.7 https://github.com/hasadna/knesset-data-python/archive/v2.0.0.zip <|file_sep|>current/devops/app_base/requirements.txt datapackage-pipelines==1.1.7 https://github.com/hasadna/knesset-data-python/archive/v2.0.0.zip <|file_sep|>updated/dev...
67c8565399018aa42005eac6519b7d9dbd1d337e
devops/app_base/requirements.txt
devops/app_base/requirements.txt
Text
<|file_sep|>S02-magicals/pid.t.diff original: plan 1; updated: plan 2; <|file_sep|>original/S02-magicals/pid.t use lib 't/spec/packages'; use Test::Util; =begin description Test that C< $*PID > in this process is different from C< $*PID > in the child process. L<A05/"RFC 332: Regex: Make /\$/ equivalent to /\z/ under...
=begin description Test that C< $*PID > in this process is different from C< $*PID > in the child process. L<A05/"RFC 332: Regex: Make /\$/ equivalent to /\z/ under the '/s' modifier" /The current process id is now C<\$\*PID>/> =end description plan 2; is_run 'say $*PID', { out => -> $p { $p > 0 && $p ...
<|file_sep|>S02-magicals/pid.t.diff original: plan 1; updated: plan 2; <|file_sep|>original/S02-magicals/pid.t use lib 't/spec/packages'; use Test::Util; =begin description Test that C< $*PID > in this process is different from C< $*PID > in the child process. L<A05/"RFC 332: Regex: Make /\$/ equivalent to /\z/ under...
6324a642dae43cd087919ed0d1583d9a432871d8
S02-magicals/pid.t
S02-magicals/pid.t
Perl
<|file_sep|>packages/ha/hasql-implicits.yaml.diff original: hash: 0015b563ca0e34242f34c5ab518648a02f01b577a469d2d24caced301e7aa33f updated: hash: 0848d3cbc9d94e1e539948fa0be4d0326b26335034161bf8076785293444ca6f <|file_sep|>packages/ha/hasql-implicits.yaml.diff original: vector: '>=0.10 && <0.13' updated: vector: '>...
bytestring: '>=0.10 && <0.12' base: '>=4.12 && <5' time: '>=1.4 && <2' text: '>=1 && <3' uuid: '>=1.3 && <1.4' containers: '>=0.6 && <0.7' network-ip: '>=0.2 && <1' scientific: '>=0.2 && <0.4' aeson: '>=1 && <3' vector: '>=0.10 && <0.14' all-versions: - '0.1' - 0.1.0.1 - 0.1.0.2 - 0.1.0.3 - 0.1.0.4 ...
<|file_sep|>packages/ha/hasql-implicits.yaml.diff original: hash: 0015b563ca0e34242f34c5ab518648a02f01b577a469d2d24caced301e7aa33f updated: hash: 0848d3cbc9d94e1e539948fa0be4d0326b26335034161bf8076785293444ca6f <|file_sep|>packages/ha/hasql-implicits.yaml.diff original: vector: '>=0.10 && <0.13' updated: vector: '>...
afb74e8d252d360a32ad39e26183fc75f2ecdbf2
packages/ha/hasql-implicits.yaml
packages/ha/hasql-implicits.yaml
YAML
<|file_sep|>original/services/payment-service.js var cote = require('cote'), models = require('../models'); var paymentResponder = new cote.Responder({ name: 'payment responder', key: 'payment' }); paymentResponder.on('*', console.log); paymentResponder.on('process', function(req, cb) { models.User.g...
var cote = require('cote'), models = require('../models'); var paymentResponder = new cote.Responder({ name: 'payment responder', key: 'payment' }); paymentResponder.on('*', console.log); paymentResponder.on('process', function(req, cb) { console.log(`payment request received for user ${req.userId}`)...
<|file_sep|>original/services/payment-service.js var cote = require('cote'), models = require('../models'); var paymentResponder = new cote.Responder({ name: 'payment responder', key: 'payment' }); paymentResponder.on('*', console.log); paymentResponder.on('process', function(req, cb) { models.User.g...
1451656e5cdb583e6b99032343e4e8b7f362e5a2
services/payment-service.js
services/payment-service.js
JavaScript
<|file_sep|>.travis.yml.diff original: cache: directories: - $HOME/.meteor before_cache: - rm -f $HOME/.meteor/log/*.log updated: <|file_sep|>.travis.yml.diff original: # Remove cache if the project is upgraded to a newer version of meteor - export PATH="$HOME/.meteor:$PATH" updated: <|file_sep|>origina...
before_install: - curl -L -o sops.deb "https://github.com/mozilla/sops/releases/download/v3.5.0/sops_3.5.0_amd64.deb" - sudo dpkg -i sops.deb - echo "$sops_gpg_key" | base64 -d | gpg --batch --import - cd deployment/$(./deployment/branch-to-dir.sh "$TRAVIS_BRANCH") - for file in *.enc*; do sops --decrypt --ou...
<|file_sep|>.travis.yml.diff original: cache: directories: - $HOME/.meteor before_cache: - rm -f $HOME/.meteor/log/*.log updated: <|file_sep|>.travis.yml.diff original: # Remove cache if the project is upgraded to a newer version of meteor - export PATH="$HOME/.meteor:$PATH" updated: <|file_sep|>origina...
2f87a4b318dc40606c35e07686a0e4cd7c866f53
.travis.yml
.travis.yml
YAML
<|file_sep|>src/expression/column.js.diff original: * @param {String} table * @param {String} as updated: <|file_sep|>src/expression/column.js.diff original: constructor(name, table = '', as = '') { updated: constructor(value) { <|file_sep|>src/expression/column.js.diff original: if ( !as && name.toLower...
var as = '' var table = '' if ( !as && value.toLowerCase().indexOf(' as ') > 0 ) [value, as] = value.split(' as ').map(str => str.trim()) if ( !table && value.indexOf('.') > 0 ) [table, value] = value.split('.').map(str => str.trim()) this.table = table this.name = val...
<|file_sep|>src/expression/column.js.diff original: * @param {String} table * @param {String} as updated: <|file_sep|>src/expression/column.js.diff original: constructor(name, table = '', as = '') { updated: constructor(value) { <|file_sep|>src/expression/column.js.diff original: if ( !as && name.toLower...
0d470cd85775a7b61d9496fa6eac24ac499dbad4
src/expression/column.js
src/expression/column.js
JavaScript
<|file_sep|>src/main/java/com/mudalov/safe/impl/SafeCommands.java.diff original: private static final Logger log = LoggerFactory.getLogger(SafeCommands.class); private static final ReentrantLock groupContextLock = new ReentrantLock(); private static final Map<String, GroupExecutionContext> groupContexts =...
} public static <T> CommandRef<T> create(AbstractCommand<T> command) { return create(command, DefaultGroup); } private static GroupExecutionContext getGroupContext(String groupName) { GroupExecutionContext context = groupContexts.get(groupName); if (context != null) { ...
<|file_sep|>src/main/java/com/mudalov/safe/impl/SafeCommands.java.diff original: private static final Logger log = LoggerFactory.getLogger(SafeCommands.class); private static final ReentrantLock groupContextLock = new ReentrantLock(); private static final Map<String, GroupExecutionContext> groupContexts =...
6b3846f61836132e048cebba184535a694583053
src/main/java/com/mudalov/safe/impl/SafeCommands.java
src/main/java/com/mudalov/safe/impl/SafeCommands.java
Java
<|file_sep|>glide-loader/src/main/java/org/wordpress/aztec/glideloader/GlideImageLoader.kt.diff original: override fun onLoadStarted(placeholder: Drawable) { updated: override fun onLoadStarted(placeholder: Drawable?) { <|file_sep|>glide-loader/src/main/java/org/wordpress/aztec/glideloader/Glide...
override fun onResourceReady(resource: GlideDrawable?, glideAnimation: GlideAnimation<in GlideDrawable>?) { callbacks.onImageLoaded(resource) } override fun onLoadCleared(placeholder: Drawable?) {} override fun getSize(cb: SizeReadyCallback?) { ...
<|file_sep|>glide-loader/src/main/java/org/wordpress/aztec/glideloader/GlideImageLoader.kt.diff original: override fun onLoadStarted(placeholder: Drawable) { updated: override fun onLoadStarted(placeholder: Drawable?) { <|file_sep|>glide-loader/src/main/java/org/wordpress/aztec/glideloader/Glide...
723bdd9b0ad6f5a8e638b55932eb91bf8605e9b0
glide-loader/src/main/java/org/wordpress/aztec/glideloader/GlideImageLoader.kt
glide-loader/src/main/java/org/wordpress/aztec/glideloader/GlideImageLoader.kt
Kotlin
<|file_sep|>original/server/server_timeout.coffee session_heartbeat: -> user_id = Meteor.userId() return unless user_id old_session = Sessions.findOne({user_id: user_id}) if old_session? Sessions.update({user_id: user_id}, {$set: {heartbeat: Date.now()}}) ...
session_heartbeat: -> user_id = Meteor.userId() return unless user_id old_session = Sessions.findOne({user_id: user_id}) if old_session? Sessions.update({user_id: user_id}, {$set: {heartbeat: Date.now()}}) else Sessions.insert({user_id...
<|file_sep|>original/server/server_timeout.coffee session_heartbeat: -> user_id = Meteor.userId() return unless user_id old_session = Sessions.findOne({user_id: user_id}) if old_session? Sessions.update({user_id: user_id}, {$set: {heartbeat: Date.now()}}) ...
ea17ae154640cc6a71e73b276d438d4b87801ace
server/server_timeout.coffee
server/server_timeout.coffee
CoffeeScript
<|file_sep|>original/tests/test_upsert.py <|file_sep|>current/tests/test_upsert.py <|file_sep|>updated/tests/test_upsert.py
from django.db import models from psqlextra import HStoreField from psqlextra.query import ConflictAction from .fake_model import get_fake_model def test_upsert(): """Tests whether simple upserts works correctly.""" model = get_fake_model({ 'title': HStoreField(uniqueness=['key1']), 'cookie...
<|file_sep|>original/tests/test_upsert.py <|file_sep|>current/tests/test_upsert.py <|file_sep|>updated/tests/test_upsert.py from django.db import models from psqlextra import HStoreField from psqlextra.query import ConflictAction from .fake_model import get_fake_model def test_upsert(): """Tests whether simpl...
e7299524720b4c30cfe4e8ebbc27eaed18d885b4
tests/test_upsert.py
tests/test_upsert.py
Python
<|file_sep|>original/.travis.yml language: python env: - TOXENV=py26 - TOXENV=py27 - TOXENV=rhel6 install: - pip install tox script: - tox branches: only: - master notifications: email: - taxii-commits-list@lists.mitre.org <|file_sep|>current/.travis.yml language: python env: - TOXENV=py26 ...
language: python env: - TOXENV=py26 - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 - TOXENV=py35 - TOXENV=rhel6 install: - pip install tox script: - tox branches: only: - master notifications: email:
<|file_sep|>original/.travis.yml language: python env: - TOXENV=py26 - TOXENV=py27 - TOXENV=rhel6 install: - pip install tox script: - tox branches: only: - master notifications: email: - taxii-commits-list@lists.mitre.org <|file_sep|>current/.travis.yml language: python env: - TOXENV=py26 ...
edcdba0c35c44a69be3090e191e7a6a46119f65e
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: First of all, thank you for this interesting task and your time ! You can check out result here: #https://kottans.surge.sh/ updated: <|file_sep|>README.md.diff original: updated: First of all, thank you for this interesting task and your time ! You can check out result here: htt...
[![Build Status](https://travis-ci.org/vyshkov/kottans.svg?branch=master)](https://travis-ci.org/vyshkov/kottans) First of all, thank you for this interesting task and your time ! You can check out result here: https://kottans.surge.sh/ Features: - [x] smaller 14 kb gzip - [x] https - [x] preact
<|file_sep|>README.md.diff original: First of all, thank you for this interesting task and your time ! You can check out result here: #https://kottans.surge.sh/ updated: <|file_sep|>README.md.diff original: updated: First of all, thank you for this interesting task and your time ! You can check out result here: htt...
d6b19d73773d3552c504de4a8cce17d1d3d20137
README.md
README.md
Markdown
<|file_sep|>original/scripts/run-all.sh mkdir -p log function cleanUp() { kill `cat log/mongodb.pid` } trap cleanUp EXIT mkdir -p mongodb mongod --dbpath mongodb --pidfilepath log/mongodb.pid > log/mongodb.log 2>&1 & scripts/web-server.js > log/webserver.log 2>&1 & cd ../monkey-tail supervisor app.js > ../monkey...
function cleanUp() { kill `cat log/mongodb.pid` } trap cleanUp EXIT mkdir -p mongodb mongod --dbpath mongodb --pidfilepath log/mongodb.pid > log/mongodb.log 2>&1 & scripts/web-server.js > log/webserver.log 2>&1 & cd ../monkey-tail supervisor app.js > ../monkey-face/log/app.log 2>&1 & supervisor e2eBridge.js > .....
<|file_sep|>original/scripts/run-all.sh mkdir -p log function cleanUp() { kill `cat log/mongodb.pid` } trap cleanUp EXIT mkdir -p mongodb mongod --dbpath mongodb --pidfilepath log/mongodb.pid > log/mongodb.log 2>&1 & scripts/web-server.js > log/webserver.log 2>&1 & cd ../monkey-tail supervisor app.js > ../monkey...
43ae00206a8c53e5b87c814e6b41e0e711d62bb5
scripts/run-all.sh
scripts/run-all.sh
Shell
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-runner==2.12.1 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 t...
bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-runner==2.12.1
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 tox==2.9.1 coverage==4.4.1 Sphinx==1.6.4 cryptography==2.1.1 PyYAML==3.12 pytest==3.2.3 pytest-runner==2.12.1 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.4.1 t...
aeef90f496589b2eb795f5de459830cff071fef5
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Casks/adobe-reader-ja.rb <|file_sep|>current/Casks/adobe-reader-ja.rb <|file_sep|>updated/Casks/adobe-reader-ja.rb
class AdobeReaderJa < Cask version '11.0.00' sha256 '69f71085799700ecd7e7f59e14095eafc5889e8962ed3a2e84e0a40d3a04d570' major_version = version.split('.')[0] url "http://ardownload.adobe.com/pub/adobe/reader/mac/#{major_version}.x/#{version}/ja_JP/AdbeRdr#{version.gsub('.', '')}_ja_JP.dmg" homepage 'http://ww...
<|file_sep|>original/Casks/adobe-reader-ja.rb <|file_sep|>current/Casks/adobe-reader-ja.rb <|file_sep|>updated/Casks/adobe-reader-ja.rb class AdobeReaderJa < Cask version '11.0.00' sha256 '69f71085799700ecd7e7f59e14095eafc5889e8962ed3a2e84e0a40d3a04d570' major_version = version.split('.')[0] url "http://ardo...
5c09900a9d5579e071409bd96db7c39eea22d31a
Casks/adobe-reader-ja.rb
Casks/adobe-reader-ja.rb
Ruby
<|file_sep|>original/registration/forms.py help_text=('This is the 8-digit number on the company certificate of ' 'incorporation.'), max_length=8, min_length=8, ) class CompanyBasicInfoForm(forms.Form): company_name = forms.CharField() website = forms.URLField() ...
help_text=('This is the 8-digit number on the company certificate of ' 'incorporation.'), max_length=8, min_length=8, ) class CompanyBasicInfoForm(forms.Form): company_name = forms.CharField() website = forms.URLField() description = forms.CharField(widget=fo...
<|file_sep|>original/registration/forms.py help_text=('This is the 8-digit number on the company certificate of ' 'incorporation.'), max_length=8, min_length=8, ) class CompanyBasicInfoForm(forms.Form): company_name = forms.CharField() website = forms.URLField() ...
8d55268fb3239dd429cb488a6c13e09d7839aa1a
registration/forms.py
registration/forms.py
Python
<|file_sep|>app/coffeescripts/badge_counts.coffee.diff original: define ['jquery'], ($) -> $(document).ready -> if ENV.badge_counts updated: if ENV.badge_counts require.ensure [], () -> $ = require('jquery') $ -> <|file_sep|>original/app/coffeescripts/badge_counts.coffee define ['jquery'], ($) -> $(do...
if ENV.badge_counts require.ensure [], () -> $ = require('jquery') $ -> for type, unread of ENV.badge_counts if unread > 0 type = "grades" if type is "submissions" $badge = $("<b/>").text(unread).addClass("nav-badge") $("#section-tabs .#{type}").append($badge) , '...
<|file_sep|>app/coffeescripts/badge_counts.coffee.diff original: define ['jquery'], ($) -> $(document).ready -> if ENV.badge_counts updated: if ENV.badge_counts require.ensure [], () -> $ = require('jquery') $ -> <|file_sep|>original/app/coffeescripts/badge_counts.coffee define ['jquery'], ($) -> $(do...
5b49008d72b57d7f71aa768e58db332706db1c89
app/coffeescripts/badge_counts.coffee
app/coffeescripts/badge_counts.coffee
CoffeeScript
<|file_sep|>original/package.json { "name": "atom-shell-app-builder", "version": "0.1.0", "devDependencies": { "gulp": "^3.8.11", "gulp-atom-shell": "^0.2.0" } } <|file_sep|>current/package.json { "name": "atom-shell-app-builder", "version": "0.1.0", "devDependencies": { "gulp": "^3.8.11", ...
{ "name": "atom-shell-app-builder", "version": "0.1.0", "devDependencies": { "gulp": "^3.8.11", "gulp-atom-shell": "^0.6.0" } }
<|file_sep|>original/package.json { "name": "atom-shell-app-builder", "version": "0.1.0", "devDependencies": { "gulp": "^3.8.11", "gulp-atom-shell": "^0.2.0" } } <|file_sep|>current/package.json { "name": "atom-shell-app-builder", "version": "0.1.0", "devDependencies": { "gulp": "^3.8.11", ...
b215648439555983b3d64bb2213d89db35fb0e80
package.json
package.json
JSON
<|file_sep|>original/global.json { "sdk": { "version": "5.0.402", "rollForward": "latestMinor" } } <|file_sep|>current/global.json { "sdk": { "version": "5.0.402", "rollForward": "latestMinor" } } <|file_sep|>updated/global.json
{ "sdk": { "version": "6.0.100", "rollForward": "latestMinor" } }
<|file_sep|>original/global.json { "sdk": { "version": "5.0.402", "rollForward": "latestMinor" } } <|file_sep|>current/global.json { "sdk": { "version": "5.0.402", "rollForward": "latestMinor" } } <|file_sep|>updated/global.json { "sdk": { "version": "6.0.100", "rollForward": "latestMi...
c4249cdcdda2137010c81f0eccf3b40bf7940168
global.json
global.json
JSON
<|file_sep|>src/client/index.ts.diff original: import switchPath from 'switch-path' updated: <|file_sep|>original/src/client/index.ts import Main from './main' // register ServiceWorker require('offline-plugin/runtime').install() const { rerunner, restartable } = require('cycle-restart') // define a function to gen...
// register ServiceWorker require('offline-plugin/runtime').install() const { rerunner, restartable } = require('cycle-restart') // define a function to generate a drivers object const getDrivers = () => ({ DOM: restartable(makeDOMDriver('#main'), {pauseSinksWhileReplaying: false}), HTTP: restartable(makeHTTPDri...
<|file_sep|>src/client/index.ts.diff original: import switchPath from 'switch-path' updated: <|file_sep|>original/src/client/index.ts import Main from './main' // register ServiceWorker require('offline-plugin/runtime').install() const { rerunner, restartable } = require('cycle-restart') // define a function to gen...
ed341ef2a5ee045c839d722b6562297b802ba130
src/client/index.ts
src/client/index.ts
TypeScript
<|file_sep|>.github/workflows/build-ci.yml.diff original: updated: with: useRollingCache: true <|file_sep|>original/.github/workflows/build-ci.yml name: build-ci on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: bahmutov/npm-install@v1.6.0 ...
name: build-ci on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: bahmutov/npm-install@v1.6.0 with: useRollingCache: true - uses: browser-actions/setup-chrome@latest - run: chrome --version - run: lerna run min - run: ...
<|file_sep|>.github/workflows/build-ci.yml.diff original: updated: with: useRollingCache: true <|file_sep|>original/.github/workflows/build-ci.yml name: build-ci on: [push] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: bahmutov/npm-install@v1.6.0 ...
7a898891f5564e593bc079a786dc7afccfabdd57
.github/workflows/build-ci.yml
.github/workflows/build-ci.yml
YAML
<|file_sep|>src/ExactSpawn.java.diff original: import org.bukkit.event.player.PlayerLoginEvent; updated: import org.bukkit.event.player.PlayerJoinEvent; <|file_sep|>src/ExactSpawn.java.diff original: public void onPlayerLogin(PlayerLoginEvent event) { if (event.getResult() != PlayerLoginEvent.Result.ALLOWED) retu...
* Ensures players respawn at the exact spawn location */ public class ExactSpawn implements Listener { @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled=false) public void onPlayerLogin(PlayerJoinEvent event) { if (event.getPlayer().hasPlayedBefore()) return; Misc.instance.getLogger().info(ev...
<|file_sep|>src/ExactSpawn.java.diff original: import org.bukkit.event.player.PlayerLoginEvent; updated: import org.bukkit.event.player.PlayerJoinEvent; <|file_sep|>src/ExactSpawn.java.diff original: public void onPlayerLogin(PlayerLoginEvent event) { if (event.getResult() != PlayerLoginEvent.Result.ALLOWED) retu...
9353caf9f15455f9785c9bc55702efd53b2d2b86
src/ExactSpawn.java
src/ExactSpawn.java
Java
<|file_sep|>original/.github/workflows/valgrind.yml name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: ...
name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: steinwurf/valgrind-action/.github/workflows/action.y...
<|file_sep|>original/.github/workflows/valgrind.yml name: Valgrind on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: valgrind: name: Valgrind uses: ...
df53e55bca345c4b52606889e119d208b51dee43
.github/workflows/valgrind.yml
.github/workflows/valgrind.yml
YAML
<|file_sep|>original/app/modules/clock/clock.js export default class Clock { getTime() { var date = new Date(); return date.getTime(); } } <|file_sep|>current/app/modules/clock/clock.js export default class Clock { getTime() { var date = new Date(); return date.getTime(); } } <|file_sep|>updated...
export default class { getTime() { var date = new Date(); return date.getTime(); } }
<|file_sep|>original/app/modules/clock/clock.js export default class Clock { getTime() { var date = new Date(); return date.getTime(); } } <|file_sep|>current/app/modules/clock/clock.js export default class Clock { getTime() { var date = new Date(); return date.getTime(); } } <|file_sep|>updated...
bbb30eace3a304a423b1b1fe47c8f0130e216865
app/modules/clock/clock.js
app/modules/clock/clock.js
JavaScript
<|file_sep|>original/.github/dependabot.yaml ignore: - dependency-name: none - package-ecosystem: npm directory: "/" schedule: interval: daily time: "02:00" ignore: - dependency-name: bootstrap - dependency-name: '@types/bootstrap' - dependency-name: webpack - dependency-name: web...
ignore: - dependency-name: none - package-ecosystem: npm directory: "/" schedule: interval: daily time: "02:00" ignore: - dependency-name: bootstrap - dependency-name: webpack - dependency-name: webpack-cli - dependency-name: copy-webpack-plugin - dependency-name: expose-loade...
<|file_sep|>original/.github/dependabot.yaml ignore: - dependency-name: none - package-ecosystem: npm directory: "/" schedule: interval: daily time: "02:00" ignore: - dependency-name: bootstrap - dependency-name: '@types/bootstrap' - dependency-name: webpack - dependency-name: web...
0916c4fabb92874e81a9fb4a1f9b50995c9f7be4
.github/dependabot.yaml
.github/dependabot.yaml
YAML
<|file_sep|>original/src/main/twirl/repo/commit.scala.html @(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.RepositoryService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context) @import context._ @import view.helpers @import org.eclipse.jgit.diff.DiffEntry.ChangeTyp...
@(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.RepositoryService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context) @import context._ @import view.helpers @import org.eclipse.jgit.diff.DiffEntry.ChangeType @html.main(commit.shortMessage){ @html.header("code", r...
<|file_sep|>original/src/main/twirl/repo/commit.scala.html @(branch: String, commit: util.JGitUtil.CommitInfo, repository: service.RepositoryService.RepositoryInfo, diffs: Seq[util.JGitUtil.DiffInfo])(implicit context: app.Context) @import context._ @import view.helpers @import org.eclipse.jgit.diff.DiffEntry.ChangeTyp...
1f195f1cb1bfe957f447dff8292a8420666a85bb
src/main/twirl/repo/commit.scala.html
src/main/twirl/repo/commit.scala.html
HTML
<|file_sep|>original/README.md # octopress3 Setting up a test octopress 3 site from scratch ## License This repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations. <|file_sep|>current/README.md # octopress3 Setting up a test octopress 3 site from scratch ## License T...
# octopress3 Setting up a test octopress 3 site from scratch https://www.justinrummel.com/migrating-from-octopress-2-to-octopress-3/ ## License This repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations.
<|file_sep|>original/README.md # octopress3 Setting up a test octopress 3 site from scratch ## License This repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations. <|file_sep|>current/README.md # octopress3 Setting up a test octopress 3 site from scratch ## License T...
c4abe44978c0cc24753e0ec0d40b8b3684b6e480
README.md
README.md
Markdown
<|file_sep|>original/sessions/workshops/creative-learning-and-computational-thinking-across-the-curriculum.md speaker: kath-morton-smith title: Creative learning and computational thinking across the curriculum --- I would like to do a talk about young digital volunteers helping with creative learning and computational...
speaker: kath-morton-smith title: Creative learning and computational thinking across the curriculum --- This session will be about how new pedagogic practices in education are nothing new in the creative and tech industries, and how a mind shift towards computational thinking and creative learning will help teachers r...
<|file_sep|>original/sessions/workshops/creative-learning-and-computational-thinking-across-the-curriculum.md speaker: kath-morton-smith title: Creative learning and computational thinking across the curriculum --- I would like to do a talk about young digital volunteers helping with creative learning and computational...
f308d410a0334ffed376a073f8bb1ab0834acbcb
sessions/workshops/creative-learning-and-computational-thinking-across-the-curriculum.md
sessions/workshops/creative-learning-and-computational-thinking-across-the-curriculum.md
Markdown
<|file_sep|>original/_glynn.yml # Glynn setup ftp_host: '78.47.17.26' ftp_dir: '/public_html' ftp_passive: true # optional ftp_port: 21 # default 21 ftp_secure: false # default false # credentials <|file_sep|>current/_glynn.yml # Glynn setup ftp_host: '78.47.17.26' ftp_dir: '/public_htm...
# Glynn setup ftp_host: 'dedi302.your-server.de' ftp_dir: '/public_html' ftp_passive: true # optional ftp_port: 21 # default 21 ftp_secure: false # default false # credentials
<|file_sep|>original/_glynn.yml # Glynn setup ftp_host: '78.47.17.26' ftp_dir: '/public_html' ftp_passive: true # optional ftp_port: 21 # default 21 ftp_secure: false # default false # credentials <|file_sep|>current/_glynn.yml # Glynn setup ftp_host: '78.47.17.26' ftp_dir: '/public_htm...
b58040d4bfcea1742f2d4607aa125a6a8b9b9ad8
_glynn.yml
_glynn.yml
YAML
<|file_sep|>original/SwaggerGen/Swagger/Type/AbstractType.php * * @package SwaggerGen * @author Martijn van der Lee <martijn@vanderlee.com> * @copyright 2014-2015 Martijn van der Lee * @license https://opensource.org/licenses/MIT MIT */ abstract class AbstractType extends \SwaggerGen\Swagger\AbstractOb...
* * @package SwaggerGen * @author Martijn van der Lee <martijn@vanderlee.com> * @copyright 2014-2015 Martijn van der Lee * @license https://opensource.org/licenses/MIT MIT */ abstract class AbstractType extends \SwaggerGen\Swagger\AbstractObject { const REGEX_START = '/^'; const REGEX_FORMAT = '([a-...
<|file_sep|>original/SwaggerGen/Swagger/Type/AbstractType.php * * @package SwaggerGen * @author Martijn van der Lee <martijn@vanderlee.com> * @copyright 2014-2015 Martijn van der Lee * @license https://opensource.org/licenses/MIT MIT */ abstract class AbstractType extends \SwaggerGen\Swagger\AbstractOb...
2cced7ce247dedfb586ca2b89e2ee0d3703f9064
SwaggerGen/Swagger/Type/AbstractType.php
SwaggerGen/Swagger/Type/AbstractType.php
PHP
<|file_sep|>original/publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala <|file_sep|>current/publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala <|file_sep|>updated/publication/src/test/scala/hmda/publication/reports/protocol/Applic...
package hmda.publication.reports.protocol import hmda.model.publication.reports.ApplicantIncome import org.scalatest.{ MustMatchers, PropSpec } import org.scalatest.prop.PropertyChecks import hmda.publication.reports.ReportGenerators._ import spray.json._ class ApplicantIncomeProtocolSpec extends PropSpec with Proper...
<|file_sep|>original/publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala <|file_sep|>current/publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala <|file_sep|>updated/publication/src/test/scala/hmda/publication/reports/protocol/Applic...
2e2ff6f1ea6730221bc298a337e50bffe424f992
publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala
publication/src/test/scala/hmda/publication/reports/protocol/ApplicantIncomeProtocolSpec.scala
Scala
<|file_sep|>original/package.json "main": "dist/opbeat.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "" }, "dependencies": { "browserify": "^11.1.0", "stacktrace-gps": "^2.2.0", "stacktrace-js": "stacktracejs/stacktra...
"main": "dist/opbeat.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "" }, "dependencies": { "browserify": "^11.1.0", "stacktrace-gps": "auchenberg/stacktrace-gps#sourcemaps", "stacktrace-js": "stacktracejs/stacktrace.j...
<|file_sep|>original/package.json "main": "dist/opbeat.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "" }, "dependencies": { "browserify": "^11.1.0", "stacktrace-gps": "^2.2.0", "stacktrace-js": "stacktracejs/stacktra...
c4ce345ba12c9a329a0a3b38bbb9374a3143391f
package.json
package.json
JSON
<|file_sep|>.travis/deploy.sh.diff original: docker tag -f "quay.io/wikiwatershed/rwd:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/rwd:${QUAY_TAG}" updated: docker tag "quay.io/wikiwatershed/rwd:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/rwd:${QUAY_TAG}" <|file_sep|>original/.travis/deploy.sh #!/usr/bin/env bash ...
#!/usr/bin/env bash set -e if [ -z "${TRAVIS_TAG}" ]; then QUAY_TAG="${TRAVIS_COMMIT:0:7}" else QUAY_TAG="${TRAVIS_TAG}" docker tag "quay.io/wikiwatershed/rwd:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/rwd:${QUAY_TAG}" fi docker push "quay.io/wikiwatershed/rwd:${QUAY_TAG}" docker tag "quay.io/wikiwatershed...
<|file_sep|>.travis/deploy.sh.diff original: docker tag -f "quay.io/wikiwatershed/rwd:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/rwd:${QUAY_TAG}" updated: docker tag "quay.io/wikiwatershed/rwd:${TRAVIS_COMMIT:0:7}" "quay.io/wikiwatershed/rwd:${QUAY_TAG}" <|file_sep|>original/.travis/deploy.sh #!/usr/bin/env bash ...
43f32322891638898181122a25dab81dd8f8dcf2
.travis/deploy.sh
.travis/deploy.sh
Shell
<|file_sep|>original/packages/ke/kesha.yaml <|file_sep|>current/packages/ke/kesha.yaml <|file_sep|>updated/packages/ke/kesha.yaml
homepage: https://github.com/jmackie/kesha changelog-type: markdown hash: b5393228a6acd356cf17816d8cb974a662c03cca701692575b3a2d8046578bd6 test-bench-deps: kesha: -any bytestring: -any base: -any hspec: -any filepath: -any process: -any containers: -any temporary: -any QuickCheck: -any directory: -a...
<|file_sep|>original/packages/ke/kesha.yaml <|file_sep|>current/packages/ke/kesha.yaml <|file_sep|>updated/packages/ke/kesha.yaml homepage: https://github.com/jmackie/kesha changelog-type: markdown hash: b5393228a6acd356cf17816d8cb974a662c03cca701692575b3a2d8046578bd6 test-bench-deps: kesha: -any bytestring: -any...
f27dd307fcd5628d505da596626795dda7902cc7
packages/ke/kesha.yaml
packages/ke/kesha.yaml
YAML
<|file_sep|>exampleapp/models.py.diff original: from imagekit.processors.resize import Fit updated: from imagekit.processors import ResizeToFit <|file_sep|>exampleapp/models.py.diff original: thumbnail = ImageSpec([Fit(50, 50)]) full = ImageSpec([Fit(400, 200)]) updated: thumbnail = ImageSpec([ResizeToFit(5...
from imagekit.processors import ResizeToFit class Photo(ImageModel): thumbnail = ImageSpec([ResizeToFit(50, 50)]) full = ImageSpec([ResizeToFit(400, 200)]) caption = models.CharField(max_length=100) class PortfolioImage(ImageModel): thumbnail = ImageSpec([ResizeToFit(70, 40)]) class Video(models.M...
<|file_sep|>exampleapp/models.py.diff original: from imagekit.processors.resize import Fit updated: from imagekit.processors import ResizeToFit <|file_sep|>exampleapp/models.py.diff original: thumbnail = ImageSpec([Fit(50, 50)]) full = ImageSpec([Fit(400, 200)]) updated: thumbnail = ImageSpec([ResizeToFit(5...
458fd49fdf73f5cc338c58b1e741fde42f2f7251
exampleapp/models.py
exampleapp/models.py
Python
<|file_sep|>.travis.yml.diff original: - ls -l /usr/bin/proj - ls -l /usr/include/geos updated: # Set up geographic database. This is not done in migrations # because the database is a backing service outside of the app. - psql -c 'CREATE DATABASE geographic;' -U postgres - psql -c 'CREATE EXTENSION postgis...
language: ruby rvm: - 2.1.5 before_script: # Set up geographic database. This is not done in migrations # because the database is a backing service outside of the app. - psql -c 'CREATE DATABASE geographic;' -U postgres - psql -c 'CREATE EXTENSION postgis;' -U postgres -d geographic - psql -c 'CREATE EXTENS...
<|file_sep|>.travis.yml.diff original: - ls -l /usr/bin/proj - ls -l /usr/include/geos updated: # Set up geographic database. This is not done in migrations # because the database is a backing service outside of the app. - psql -c 'CREATE DATABASE geographic;' -U postgres - psql -c 'CREATE EXTENSION postgis...
e1075a5b97df6892e1ffddf0819e13e55a8cd88a
.travis.yml
.travis.yml
YAML
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Plac...
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the wo...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-developers=Developers # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. headline-2=In Plac...
0affd217976e404c2a9920e51576563b0ef8cbc4
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>webpack.config.umd.js.diff original: filename: './ng2-restangular.js', updated: filename: './ngx-restangular.js', <|file_sep|>original/webpack.config.umd.js 'use strict'; const nodeExternals = require('webpack-node-externals'); module.exports = { entry: './src/index.ts', output: { path: __...
'use strict'; const nodeExternals = require('webpack-node-externals'); module.exports = { entry: './src/index.ts', output: { path: __dirname + '/dist/umd', filename: './ngx-restangular.js', libraryTarget: 'umd', library: 'ngx-restangular' }, externals: [nodeExternals()], devtool: 'source-map...
<|file_sep|>webpack.config.umd.js.diff original: filename: './ng2-restangular.js', updated: filename: './ngx-restangular.js', <|file_sep|>original/webpack.config.umd.js 'use strict'; const nodeExternals = require('webpack-node-externals'); module.exports = { entry: './src/index.ts', output: { path: __...
972062f5392d69cb71704c4f3fda2ef005073f14
webpack.config.umd.js
webpack.config.umd.js
JavaScript
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file...
-r requirements.txt flake8==3.5.0 moto==1.3.5 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 moto==1.3.4 pytest==3.7.3 pytest-env==0.6.2 pytest-mock==1.10.0 pytest-cov==2.5.1 pytest-xdist==1.23.0 coveralls==1.4.0 freezegun==0.3.10 requests-mock==1.5.2 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.8 <|file...
a8d011cdd3bf8249b827f0143fc0755c879e4a18
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/cashmonies.gemspec require 'cashmonies/version' Gem::Specification.new do |spec| spec.name = "cashmonies" spec.version = Cashmonies::VERSION spec.authors = ["Ash Wilson"] spec.email = ["smashwilson@gmail.com"] spec.summary = %q{Track your personal finan...
Gem::Specification.new do |spec| spec.name = "cashmonies" spec.version = Cashmonies::VERSION spec.authors = ["Ash Wilson"] spec.email = ["smashwilson@gmail.com"] spec.summary = %q{Track your personal finances in YAML.} spec.description = %q{Track your personal finances i...
<|file_sep|>original/cashmonies.gemspec require 'cashmonies/version' Gem::Specification.new do |spec| spec.name = "cashmonies" spec.version = Cashmonies::VERSION spec.authors = ["Ash Wilson"] spec.email = ["smashwilson@gmail.com"] spec.summary = %q{Track your personal finan...
88e11a05268b3cf3421eccaafa67fb8fef87a881
cashmonies.gemspec
cashmonies.gemspec
Ruby
<|file_sep|>original/requirements.txt atomicfile==0.1 lockfile==0.9.1 boto==2.8.0 toml nose requests jsonschema==1.3.0 typecheck==0.3.5 <|file_sep|>current/requirements.txt atomicfile==0.1 lockfile==0.9.1 boto==2.8.0 toml nose requests jsonschema==1.3.0 typecheck==0.3.5 <|file_sep|>updated/requirements.txt
atomicfile==0.1 lockfile==0.9.1 boto==2.38.0 toml nose requests jsonschema==1.3.0 typecheck==0.3.5
<|file_sep|>original/requirements.txt atomicfile==0.1 lockfile==0.9.1 boto==2.8.0 toml nose requests jsonschema==1.3.0 typecheck==0.3.5 <|file_sep|>current/requirements.txt atomicfile==0.1 lockfile==0.9.1 boto==2.8.0 toml nose requests jsonschema==1.3.0 typecheck==0.3.5 <|file_sep|>updated/requirements.txt atomicfile==...
1fd3a2febdab3bbc8adddea146836510c414e3ed
requirements.txt
requirements.txt
Text
<|file_sep|>original/index.html <meta http-equiv="X-UA-Compatible" content="chrome=1"> <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" /> <title>Github Pages by koluch</title> </head> <body> <header> <div class="container"> <h1><a href="guess...
<meta http-equiv="X-UA-Compatible" content="chrome=1"> <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" /> <title>Github Pages by koluch</title> </head> <body> <header> <div class="container"> <h1><a href="guess-russia-regions/">guess-russia-r...
<|file_sep|>original/index.html <meta http-equiv="X-UA-Compatible" content="chrome=1"> <link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" /> <title>Github Pages by koluch</title> </head> <body> <header> <div class="container"> <h1><a href="guess...
634d9d3cf729177eb2b001cabf001a99cabc2948
index.html
index.html
HTML
<|file_sep|>original/config/initializers/scrivito.rb Scrivito.configure do |config| # # Uncomment following lines in order to explicitly set the tenant and the API key. # If not explicitly set, the tenant and the API key are obtained from the environment variables # SCRIVITO_TENANT and SCRIVITO_API_KEY. # #...
# Uncomment following lines in order to explicitly set the tenant and the API key. # If not explicitly set, the tenant and the API key are obtained from the environment variables # SCRIVITO_TENANT and SCRIVITO_API_KEY. # # config.tenant = 'my-tenant-123' # config.api_key = 'secret' # # Disable the defa...
<|file_sep|>original/config/initializers/scrivito.rb Scrivito.configure do |config| # # Uncomment following lines in order to explicitly set the tenant and the API key. # If not explicitly set, the tenant and the API key are obtained from the environment variables # SCRIVITO_TENANT and SCRIVITO_API_KEY. # #...
2eb91c84e6ffd55005c1e8e91583735fbd65c9c4
config/initializers/scrivito.rb
config/initializers/scrivito.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: # Send builds to container-based infrastructure # http://docs.travis-ci.com/user/workers/container-based-infrastructure/ sudo: false language: ruby cache: - bundler <|file_sep|>.travis.yml.diff original: updated: - 2.1 - 2.2 <|file_sep|>original/.travis.yml addo...
cache: - bundler addons: code_climate: repo_token: c70d4a471411de40144f39e7264f10a99b5530522f996c872a26eddf3c4208f3 install: bundle install --jobs 3 --retry 3 rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1 - 2.2 - ruby-head script: bundle exec rspec matrix: fast_finish: true
<|file_sep|>.travis.yml.diff original: updated: # Send builds to container-based infrastructure # http://docs.travis-ci.com/user/workers/container-based-infrastructure/ sudo: false language: ruby cache: - bundler <|file_sep|>.travis.yml.diff original: updated: - 2.1 - 2.2 <|file_sep|>original/.travis.yml addo...
0ac489cf5be96250c1c0af87a05f85a6efb75440
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/form/utils.ts export const datePickerOverlayContainerInDialogs = () => ({ calendarPlacement: 'bottom', calendarContainer: document.getElementsByClassName('modal-dialog')[0], }); export const makeLastTwelveMonthsFilterPeriods = (): PeriodOption[] => { let date = DateTime.now().startOf('m...
export const datePickerOverlayContainerInDialogs = () => ({ calendarPlacement: 'bottom', calendarContainer: document.getElementsByClassName('modal-dialog')[0], }); export const makeLastTwelveMonthsFilterPeriods = (): PeriodOption[] => { let date = DateTime.now().startOf('month'); const choices = []; for (le...
<|file_sep|>original/src/form/utils.ts export const datePickerOverlayContainerInDialogs = () => ({ calendarPlacement: 'bottom', calendarContainer: document.getElementsByClassName('modal-dialog')[0], }); export const makeLastTwelveMonthsFilterPeriods = (): PeriodOption[] => { let date = DateTime.now().startOf('m...
eb1add1b107b40bcd43f1cde43ba38b446f44966
src/form/utils.ts
src/form/utils.ts
TypeScript
<|file_sep|>.travis.yml.diff original: - export EIGEN_CFLAGS=-I`pwd`/eigen updated: - export EIGEN_CFLAGS=-I`pwd`/../eigen <|file_sep|>original/.travis.yml - python3 compiler: - clang env: - python_version=2 - python_version=3 install: - export NUMBER_OF_PROCESSORS=4 - export PATH=`pwd`/release/bin...
- python3 compiler: - clang env: - python_version=2 - python_version=3 install: - export NUMBER_OF_PROCESSORS=4 - export PATH=`pwd`/release/bin:`pwd`/scripts:${PATH} - export EIGEN_CFLAGS=-I`pwd`/../eigen - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi - (cd ..; hg clone https://bitbucket....
<|file_sep|>.travis.yml.diff original: - export EIGEN_CFLAGS=-I`pwd`/eigen updated: - export EIGEN_CFLAGS=-I`pwd`/../eigen <|file_sep|>original/.travis.yml - python3 compiler: - clang env: - python_version=2 - python_version=3 install: - export NUMBER_OF_PROCESSORS=4 - export PATH=`pwd`/release/bin...
e8871d3b1f3e3a47b0f451565572638386e7eab3
.travis.yml
.travis.yml
YAML
<|file_sep|>src/components/header/index.js.diff original: updated: import cn from 'classnames'; <|file_sep|>src/components/header/index.js.diff original: padding: '47px 0 0 47px', updated: <|file_sep|>src/components/header/index.js.diff original: // marginTop: '54px', marginTop: '60px', margin...
float: 'left' }; const aStyle = { float: 'right', fontSize: '15px', fontFamily: 'belwe' }; const isLargeClass = this.props.isLarge && 'large' ? 'top large' : 'small'; return ( <header className={cn('Header', isLargeClass)}> <div className="margin-0-auto max-w...
<|file_sep|>src/components/header/index.js.diff original: updated: import cn from 'classnames'; <|file_sep|>src/components/header/index.js.diff original: padding: '47px 0 0 47px', updated: <|file_sep|>src/components/header/index.js.diff original: // marginTop: '54px', marginTop: '60px', margin...
572026f9eee30b758e8eed58f186255be61dfbcc
src/components/header/index.js
src/components/header/index.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: java sudo: false jdk: - openjdk7 - oraclejdk7 - oraclejdk8 - oraclejdk9 cache: directories: - $HOME/....
language: java sudo: false jdk: - openjdk7 - oraclejdk8 - oraclejdk9 cache: directories: - $HOME/.gradle install: # If the build targets Java 7, we need to temporarily switch to Java 9 to # install the Gradle wrapper and to avoid an InvalidKeyException - if [[ $JAVA_HOME =~ "java-7" ]]; then jd...
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>.travis.yml.diff original: - oraclejdk7 updated: <|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: java sudo: false jdk: - openjdk7 - oraclejdk7 - oraclejdk8 - oraclejdk9 cache: directories: - $HOME/....
6e5ab5ee55c9e7cff6be0b36610544e143034273
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app.json { "name": "Django REST Swagger Example", "description": "An example of Django REST Swagger using the Django REST Framework Tutorial app", "repository": "https://github.com/marcgibbons/django-rest-swagger", "keywords": ["django", "swagger", "rest", "framework"] } <|file_sep|>current...
{ "name": "Django REST Swagger Example", "description": "An example of Django REST Swagger using the Django REST Framework Tutorial app", "repository": "https://github.com/marcgibbons/django-rest-swagger", "keywords": ["django", "swagger", "rest", "framework"], "env": { "HEROKU": "1", "DISABLE_COLLECT...
<|file_sep|>original/app.json { "name": "Django REST Swagger Example", "description": "An example of Django REST Swagger using the Django REST Framework Tutorial app", "repository": "https://github.com/marcgibbons/django-rest-swagger", "keywords": ["django", "swagger", "rest", "framework"] } <|file_sep|>current...
fa59d2cb5ea897c6ddce28994cba8d0a50db39d7
app.json
app.json
JSON
<|file_sep|>app/assets/javascripts/static.js.coffee.diff original: jQuery(counter: 0).animate { counter: target_count }, updated: jQuery(counter: 0).animate { counter: target_count - 40 }, <|file_sep|>original/app/assets/javascripts/static.js.coffee formatNumber = (number) -> Math.ceil(number).toString().replace(...
formatNumber = (number) -> Math.ceil(number).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") animateNumber = (element, target_count, duration) -> jQuery(counter: 0).animate { counter: target_count - 40 }, duration: duration easing: "easeInOutQuint" step: -> element.text formatNumber(@counter) ...
<|file_sep|>app/assets/javascripts/static.js.coffee.diff original: jQuery(counter: 0).animate { counter: target_count }, updated: jQuery(counter: 0).animate { counter: target_count - 40 }, <|file_sep|>original/app/assets/javascripts/static.js.coffee formatNumber = (number) -> Math.ceil(number).toString().replace(...
b7f10d70d605adf058ceab60d990c5931d6726d0
app/assets/javascripts/static.js.coffee
app/assets/javascripts/static.js.coffee
CoffeeScript
<|file_sep|>original/ui/src/admin/components/DeprecationWarning.tsx import React, {SFC} from 'react' interface Props { message: string } const DeprecationWarning: SFC<Props> = ({message}) => ( <div> <span className="icon stop" /> {message} </div> ) export default DeprecationWarning <|file_sep|>current/ui/s...
import React, {SFC} from 'react' interface Props { message: string } const DeprecationWarning: SFC<Props> = ({message}) => ( <div className="alert alert-primary"> <span className="icon stop" /> <div className="alert-message">{message}</div> </div> ) export default DeprecationWarning
<|file_sep|>original/ui/src/admin/components/DeprecationWarning.tsx import React, {SFC} from 'react' interface Props { message: string } const DeprecationWarning: SFC<Props> = ({message}) => ( <div> <span className="icon stop" /> {message} </div> ) export default DeprecationWarning <|file_sep|>current/ui/s...
475d899555686122c9e19acf2060b2739c6f97c6
ui/src/admin/components/DeprecationWarning.tsx
ui/src/admin/components/DeprecationWarning.tsx
TypeScript
<|file_sep|>original/kivy/core/clipboard/clipboard_xsel.py try: import subprocess p = subprocess.Popen(['xsel'], stdout=subprocess.PIPE) p.communicate() except: raise class ClipboardXsel(ClipboardBase): def get(self, mimetype='text/plain'): p = subprocess.Popen(['xsel', '-bo'], stdout=sub...
try: import subprocess p = subprocess.Popen(['xsel'], stdout=subprocess.PIPE) p.communicate() except: raise class ClipboardXsel(ClipboardBase): def get(self, mimetype='text/plain'): p = subprocess.Popen(['xsel', '-bo'], stdout=subprocess.PIPE) data, _ = p.communicate() ret...
<|file_sep|>original/kivy/core/clipboard/clipboard_xsel.py try: import subprocess p = subprocess.Popen(['xsel'], stdout=subprocess.PIPE) p.communicate() except: raise class ClipboardXsel(ClipboardBase): def get(self, mimetype='text/plain'): p = subprocess.Popen(['xsel', '-bo'], stdout=sub...
7a01615d50ec374687a5676e53e103eff9082b3e
kivy/core/clipboard/clipboard_xsel.py
kivy/core/clipboard/clipboard_xsel.py
Python
<|file_sep|>original/www/_controller.erb end end end # POST /<%= @api_path %>.json def update_by_keys @<%= @model_name %> = <%= @class_name %>.get_by_params(params) respond_to do |format| if @<%= @model_name %>.update_by_params(params) format.json { render action: 'show', status:...
end end end # POST /<%= @api_path %>.json def update_by_keys @<%= @model_name %> = <%= @class_name %>.get_by_params(params) respond_to do |format| if @<%= @model_name %>.update_by_params(params) format.json { render action: 'show', status: :created, location: @<%= @model_name %>}...
<|file_sep|>original/www/_controller.erb end end end # POST /<%= @api_path %>.json def update_by_keys @<%= @model_name %> = <%= @class_name %>.get_by_params(params) respond_to do |format| if @<%= @model_name %>.update_by_params(params) format.json { render action: 'show', status:...
3dcb153aa56c4d2b3ec30b598dee8072ff2aa1a4
www/_controller.erb
www/_controller.erb
HTML+ERB
<|file_sep|>composer.json.diff original: "description": "Commonly used classes and helpers for ZF2", updated: "description": "ZF2 Module containing commonly used classes and helpers for Zn projects", <|file_sep|>composer.json.diff original: "zf2" updated: "zf2", "zend", "module" ...
"homepage": "https://github.com/zionsg/ZnZend", "authors": [ { "name": "Zion Ng", "email": "zion@intzone.com", "homepage": "http://zion.sg/" } ], "require": { "php": ">=5.3.3", "zendframework/zendframework": "2.*" }, "autoload":...
<|file_sep|>composer.json.diff original: "description": "Commonly used classes and helpers for ZF2", updated: "description": "ZF2 Module containing commonly used classes and helpers for Zn projects", <|file_sep|>composer.json.diff original: "zf2" updated: "zf2", "zend", "module" ...
25561217585090e5d6dd31c47a208f0689d67907
composer.json
composer.json
JSON
<|file_sep|>original/week-9/ruby-review-2/ruby-review.rb <|file_sep|>current/week-9/ruby-review-2/ruby-review.rb <|file_sep|>updated/week-9/ruby-review-2/ruby-review.rb
# U2.W6: Testing Assert Statements # I worked on this challenge Kevin Corso. # 2. Review the simple assert statement # def assert # raise "Assertion failed!" unless yield # end # name = "bettysue" # assert { name == "bettysue" } # assert { name == "billybob" } # 2. Pseudocode what happens when the code above ru...
<|file_sep|>original/week-9/ruby-review-2/ruby-review.rb <|file_sep|>current/week-9/ruby-review-2/ruby-review.rb <|file_sep|>updated/week-9/ruby-review-2/ruby-review.rb # U2.W6: Testing Assert Statements # I worked on this challenge Kevin Corso. # 2. Review the simple assert statement # def assert # raise "Asse...
08cf73b0a6bfe870850e7d4f174e8cd5ec49fb09
week-9/ruby-review-2/ruby-review.rb
week-9/ruby-review-2/ruby-review.rb
Ruby
<|file_sep|>original/lib/protected_attributes/railtie.rb module ProtectedAttributes class Railtie < ::Rails::Railtie config.before_configuration do config.action_controller.permit_all_parameters = true end end end <|file_sep|>current/lib/protected_attributes/railtie.rb module ProtectedAttributes cla...
module ProtectedAttributes class Railtie < ::Rails::Railtie config.before_configuration do config.action_controller.permit_all_parameters = true config.active_record.whitelist_attributes = true end end end
<|file_sep|>original/lib/protected_attributes/railtie.rb module ProtectedAttributes class Railtie < ::Rails::Railtie config.before_configuration do config.action_controller.permit_all_parameters = true end end end <|file_sep|>current/lib/protected_attributes/railtie.rb module ProtectedAttributes cla...
a11bc9a4466f86e046419e5b85761b7610bc5882
lib/protected_attributes/railtie.rb
lib/protected_attributes/railtie.rb
Ruby
<|file_sep|>original/test/test_calc.rb require "minitest/autorun" require "./calc" class TestCalculator < Minitest::Test def test_number assert_equal 5, calc("5") end def test_simple_expression assert_equal 3, calc("1 PLUS 2") end def test_complex_expression assert_equal 10, calc("2 PLUS 5 MINU...
assert_equal 5, calc("5") end def test_simple_expression assert_equal 3, calc("1 PLUS 2") end def test_complex_expression assert_equal 10, calc("2 PLUS 5 MINUS 1 PLUS 4") end def test_another_complex_expression skip "not yet" assert_equal 5, calc("2 TIMES 4 MINUS 3") end def test...
<|file_sep|>original/test/test_calc.rb require "minitest/autorun" require "./calc" class TestCalculator < Minitest::Test def test_number assert_equal 5, calc("5") end def test_simple_expression assert_equal 3, calc("1 PLUS 2") end def test_complex_expression assert_equal 10, calc("2 PLUS 5 MINU...
b5c388958d6e9fc3fe23d5689f1052022bc8953b
test/test_calc.rb
test/test_calc.rb
Ruby
<|file_sep|>lib/cc/engine/analyzers/php/parser.rb.diff original: require 'timeout' updated: <|file_sep|>lib/cc/engine/analyzers/php/parser.rb.diff original: DEFAULT_TIMEOUT = 20 EXCEPTIONS = [ StandardError, Timeout::Error, POSIX::Spawn::TimeoutExceeded, ...
class CommandLineRunner attr_reader :command, :delegate def initialize(command, delegate) @command = command @delegate = delegate end def run(input) child = ::POSIX::Spawn::Child.new(command, input: input) if child.status....
<|file_sep|>lib/cc/engine/analyzers/php/parser.rb.diff original: require 'timeout' updated: <|file_sep|>lib/cc/engine/analyzers/php/parser.rb.diff original: DEFAULT_TIMEOUT = 20 EXCEPTIONS = [ StandardError, Timeout::Error, POSIX::Spawn::TimeoutExceeded, ...
e26d397f55090edd43f505cd3e7283c071e63d37
lib/cc/engine/analyzers/php/parser.rb
lib/cc/engine/analyzers/php/parser.rb
Ruby
<|file_sep|>original/package.json { "name": "nws", "description": "Launch a node-powered static web server in the current working directory.", "version": "0.6.1", "scripts": { "lint": "eslint ." }, "author": { "name": "Kenneth Powers", "email": "mail@kenpowers.net" }, "contributors": [ {...
{ "name": "nws", "description": "Launch a node-powered static web server in the current working directory.", "version": "0.6.1", "scripts": { "lint": "eslint .", "test": "npm run lint" }, "author": { "name": "Kenneth Powers", "email": "mail@kenpowers.net" }, "contributors": [ { ...
<|file_sep|>original/package.json { "name": "nws", "description": "Launch a node-powered static web server in the current working directory.", "version": "0.6.1", "scripts": { "lint": "eslint ." }, "author": { "name": "Kenneth Powers", "email": "mail@kenpowers.net" }, "contributors": [ {...
a08534a0b5e876d6e0592cf9aaa5547b3852cdcd
package.json
package.json
JSON
<|file_sep|>original/circle.yml - docker dependencies: override: - docker version - docker info - docker build -t="blacklabelops/swarm-jdk8" -f ./java-jdk-8-oracle/Dockerfile java-jdk-8-oracle/ - docker build -t="blacklabelops/swarm-jdk7" -f ./java-jdk-7-oracle/Dockerfile java-jdk-7-oracle/ -...
- docker dependencies: override: - docker version - docker info - docker build -t="blacklabelops/swarm-jdk8" -f ./java-jdk-8-oracle/Dockerfile java-jdk-8-oracle/ - docker build -t="blacklabelops/swarm-jdk7" -f ./java-jdk-7-oracle/Dockerfile java-jdk-7-oracle/ - docker build -t="blacklabelops/...
<|file_sep|>original/circle.yml - docker dependencies: override: - docker version - docker info - docker build -t="blacklabelops/swarm-jdk8" -f ./java-jdk-8-oracle/Dockerfile java-jdk-8-oracle/ - docker build -t="blacklabelops/swarm-jdk7" -f ./java-jdk-7-oracle/Dockerfile java-jdk-7-oracle/ -...
512ee95d89b69d389854e6528064c444ce4485fa
circle.yml
circle.yml
YAML
<|file_sep|>original/core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java <|file_sep|>current/core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java <|file_sep|>updated/core/src/test/java/com/vladmihalcea...
package com.vladmihalcea.hibernate.masterclass.laboratory.mapping; import com.vladmihalcea.hibernate.masterclass.laboratory.util.AbstractTest; import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.Immutable; import org.junit.Before; import org.junit.Test; import javax.persistence.*; import...
<|file_sep|>original/core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java <|file_sep|>current/core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java <|file_sep|>updated/core/src/test/java/com/vladmihalcea...
b8f7050715b9a3b2cf0119a8ecfaae9fb1bacc7b
core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java
core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/mapping/OneTableMultipleEntitiesTest.java
Java
<|file_sep|>original/src/api/thrusterRoutes.js var shipSystems = require('../shipSystems.js'); var thrusters = shipSystems.getSystemById('thrusters'); exports.registerRoutes = function (app, config) { app.post('/api/systems/thrusters/attitude', function (request, response) { thrusters.setAttitude(request.body); ...
var shipSystems = require('../shipSystems.js'); var thrusters = shipSystems.getSystemById('thrusters'); exports.registerRoutes = function (app, config) { app.post('/api/systems/thrusters/attitude', function (request, response) { thrusters.setAttitude(request.body); response.send(thrusters.attitude); }); ...
<|file_sep|>original/src/api/thrusterRoutes.js var shipSystems = require('../shipSystems.js'); var thrusters = shipSystems.getSystemById('thrusters'); exports.registerRoutes = function (app, config) { app.post('/api/systems/thrusters/attitude', function (request, response) { thrusters.setAttitude(request.body); ...
1636d6643cfb5f77089886bac4d6921a3c3915e0
src/api/thrusterRoutes.js
src/api/thrusterRoutes.js
JavaScript
<|file_sep|>requirements/production.txt.diff original: pip==19.2.3 updated: pip==19.3.1 <|file_sep|>requirements/production.txt.diff original: pytz==2019.2 updated: pytz==2019.3 <|file_sep|>original/requirements/production.txt django-model-utils==3.2.0 django-multiselectfield==0.1.8 django-redis-cache==2.0.0 djangorest...
django-model-utils==3.2.0 django-multiselectfield==0.1.8 django-redis-cache==2.0.0 djangorestframework==3.10.2 django-reversion==3.0.4 django-taggit==1.1.0 django-timezone-field==3.0 easy-thumbnails==2.6.0 gunicorn==19.9.0 markdown==3.1.1 pinax-eventlog==2.0.3 pip==19.3.1 psycopg2==2.8.3 pytz==2019.3 redis==3.3.4 sendg...
<|file_sep|>requirements/production.txt.diff original: pip==19.2.3 updated: pip==19.3.1 <|file_sep|>requirements/production.txt.diff original: pytz==2019.2 updated: pytz==2019.3 <|file_sep|>original/requirements/production.txt django-model-utils==3.2.0 django-multiselectfield==0.1.8 django-redis-cache==2.0.0 djangorest...
4080a0f27fbd594cb6fc75854cee182ccf465ab4
requirements/production.txt
requirements/production.txt
Text
<|file_sep|>original/acme/__init__.py # python3 # Copyright 2018 DeepMind Technologies Limited. 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....
# Copyright 2018 DeepMind Technologies Limited. 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 ...
<|file_sep|>original/acme/__init__.py # python3 # Copyright 2018 DeepMind Technologies Limited. 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....
a44665230d2b589a1550b1293cb690d9116d0dca
acme/__init__.py
acme/__init__.py
Python
<|file_sep|>original/pages/api/cache/views.js import redis from '../../../lib/redis' import paths from '../../../lib/paths' import { getData } from '../../../lib/ga' import pLimit from 'p-limit' // Number of concurrent requests allowed by Google Analytics API const limit = pLimit(10) export default async (req, res) =...
import redis from '../../../lib/redis' import paths from '../../../lib/paths' import { getData } from '../../../lib/ga' import pLimit from 'p-limit' // Number of concurrent requests allowed by Google Analytics API const limit = pLimit(8) export default async (req, res) => { try { let views = {} await Promi...
<|file_sep|>original/pages/api/cache/views.js import redis from '../../../lib/redis' import paths from '../../../lib/paths' import { getData } from '../../../lib/ga' import pLimit from 'p-limit' // Number of concurrent requests allowed by Google Analytics API const limit = pLimit(10) export default async (req, res) =...
9c9001530a22735a581ade756608d63f5ac8a84b
pages/api/cache/views.js
pages/api/cache/views.js
JavaScript
<|file_sep|>service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java.diff original: updated: import org.springframework.context.annotation.Configuration; <|file_sep|>service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java.diff original: import org.springframework.test.context.Conte...
package sg.ncl.service.user; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder; import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType; import javax.sql.DataSour...
<|file_sep|>service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java.diff original: updated: import org.springframework.context.annotation.Configuration; <|file_sep|>service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java.diff original: import org.springframework.test.context.Conte...
da246edb85da408c2eae246cf3dffccce4aa375d
service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java
service-user/src/test-integration/java/sg/ncl/service/user/TestConfig.java
Java
<|file_sep|>original/README.md systems and sending an e-mail alert if a condition changes. Typically you will want to use ``watchout`` in a recurring cron job which will mail any output to you. Examples -------- Print your IP address if it has changed: watchout curl -qsS http://icanhazip.com/ Notify if your syst...
systems and sending an e-mail alert if a condition changes. Typically you will want to use ``watchout`` in a recurring cron job which will mail any output to you. Examples -------- Print your IP address if it has changed: watchout curl -qsS http://icanhazip.com/ Notify if your system has rebooted: watchout awk...
<|file_sep|>original/README.md systems and sending an e-mail alert if a condition changes. Typically you will want to use ``watchout`` in a recurring cron job which will mail any output to you. Examples -------- Print your IP address if it has changed: watchout curl -qsS http://icanhazip.com/ Notify if your syst...
e1d1d42a4fab3905d551927dac8c4f8dbc7734fb
README.md
README.md
Markdown
<|file_sep|>original/setup.py """Setup file for basecrm library.""" import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( nam...
"""Setup file for basecrm library.""" import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="basecrm", version="0.1"...
<|file_sep|>original/setup.py """Setup file for basecrm library.""" import os from setuptools import setup README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( nam...
24773383448698c71c5e83810b767e3a7c0900fb
setup.py
setup.py
Python
<|file_sep|>original/generate/src/Data/List/Extra2.hs module Data.List.Extra2 ( iterateSuffixes , iterateSuffixesM , module Data.List.Extra ) where import Data.Bifunctor import Data.Foldable import Data.List.Extra iterateSuffixes :: forall a b . ([a] -> (b, [a])) -- ^ A fu...
{-# LANGUAGE ScopedTypeVariables #-} module Data.List.Extra2 ( iterateSuffixes , iterateSuffixesM , module Data.List.Extra ) where import Data.Bifunctor import Data.Foldable import Data.List.Extra iterateSuffixes :: forall a b . ([a] -> (b, [a])) -- ^ A function which tak...
<|file_sep|>original/generate/src/Data/List/Extra2.hs module Data.List.Extra2 ( iterateSuffixes , iterateSuffixesM , module Data.List.Extra ) where import Data.Bifunctor import Data.Foldable import Data.List.Extra iterateSuffixes :: forall a b . ([a] -> (b, [a])) -- ^ A fu...
28f60fd181d3c32f1e690257fbe4c620938d513f
generate/src/Data/List/Extra2.hs
generate/src/Data/List/Extra2.hs
Haskell
<|file_sep|>original/src/providers/promise-messages.js getAutoResetAfter() { return this.autoResetAfter; } willAutoReset() { return this.autoResetAfter >= 0; } } export function PromiseMessagesProvider() { let autoResetAfter = 2000; this.disableAutoReset = () => this.setAuto...
getAutoResetAfter() { return this.autoResetAfter; } willAutoReset() { return this.autoResetAfter >= 0; } } export function PromiseMessagesProvider() { let autoResetAfter = -1; this.disableAutoReset = () => this.setAutoResetAfter(-1); this.setAutoResetAfter = ms => autoRe...
<|file_sep|>original/src/providers/promise-messages.js getAutoResetAfter() { return this.autoResetAfter; } willAutoReset() { return this.autoResetAfter >= 0; } } export function PromiseMessagesProvider() { let autoResetAfter = 2000; this.disableAutoReset = () => this.setAuto...
108ae8404eb8b0632dd3ea730391ea596c3fcc12
src/providers/promise-messages.js
src/providers/promise-messages.js
JavaScript
<|file_sep|>conda.recipe/meta.yaml.diff original: git_rev: "7fc9f9aaf47cbe03f98bc8c8c47be164176483a6" updated: git_rev: "ae2558a974e5367a086f28e762dc14846b00f0e6" <|file_sep|>conda.recipe/meta.yaml.diff original: - coreutils =8.21 updated: - coreutils ==8.21 <|file_sep|>original/conda.recipe/meta.yaml scr...
script_env: - USER requirements: build: - python - setuptools - coreutils ==8.21 - cmake run: - python - pyhocon ==0.3.30 - coreutils ==8.21 - moreutils ==0.59 - jq ==1.5 - graphviz ==2.38.0 - bc ==1.06 - pv ==1.6.0 - pbzip2 ==1.1.13 - bash ==4.3.42
<|file_sep|>conda.recipe/meta.yaml.diff original: git_rev: "7fc9f9aaf47cbe03f98bc8c8c47be164176483a6" updated: git_rev: "ae2558a974e5367a086f28e762dc14846b00f0e6" <|file_sep|>conda.recipe/meta.yaml.diff original: - coreutils =8.21 updated: - coreutils ==8.21 <|file_sep|>original/conda.recipe/meta.yaml scr...
f8ea4802146b3a87a32b80bedca0242b95128b8d
conda.recipe/meta.yaml
conda.recipe/meta.yaml
YAML
<|file_sep|>original/core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties # This file is under the MIT License by authors updates\ available=dotupn\u00E9 aktualizace <|file_sep|>current/core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties # This file is under the MIT License b...
# This file is under the MIT License by authors updates\ available=dostupn\u00E9 aktualizace
<|file_sep|>original/core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties # This file is under the MIT License by authors updates\ available=dotupn\u00E9 aktualizace <|file_sep|>current/core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties # This file is under the MIT License b...
d51ab879bc6a6ffa6ce675c272648238025eff8e
core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties
core/src/main/resources/jenkins/management/PluginsLink/info_cs.properties
INI
<|file_sep|>original/index.html <!DOCTYPE html> <html> <body> <h1>TARDIS Go holding page</h1> <p>This project is called TARDIS Go because of <a href=http://blog.gopheracademy.com/day-08-dr-who-and-the-mutant-go-compilers>this</a> blog entry.</p> <p>Kindly hosted by GitHub Pages.</p> </body> </html> <|file...
<!DOCTYPE html> <html> <body> <h1>TARDIS Go holding page</h1> <p>This project is called TARDIS Go because of <a href=http://blog.gopheracademy.com/day-08-dr-who-and-the-mutant-go-compilers>this</a> blog entry.</p> <p>The project is planned to be published by the time of the <a href=https://fosdem.org/2014/schedu...
<|file_sep|>original/index.html <!DOCTYPE html> <html> <body> <h1>TARDIS Go holding page</h1> <p>This project is called TARDIS Go because of <a href=http://blog.gopheracademy.com/day-08-dr-who-and-the-mutant-go-compilers>this</a> blog entry.</p> <p>Kindly hosted by GitHub Pages.</p> </body> </html> <|file...
36cc646163ba00a0d8a1ac960a9d8452a77ed6eb
index.html
index.html
HTML
<|file_sep|>podium/talks/models.py.diff original: updated: from django.urls import reverse <|file_sep|>podium/talks/models.py.diff original: return f'/talks/talks/{self.id}/' updated: return reverse('talks-talks-id', args=[self.id]) <|file_sep|>original/podium/talks/models.py def __str__(self): ...
def __str__(self): return self.speaker_name class Session(models.Model): date = models.DateField() description = models.TextField( blank=True, help_text='Any special theme or info about the session.') def __str__(self): return '{} - {} '.format(self.date, self.description) ...
<|file_sep|>podium/talks/models.py.diff original: updated: from django.urls import reverse <|file_sep|>podium/talks/models.py.diff original: return f'/talks/talks/{self.id}/' updated: return reverse('talks-talks-id', args=[self.id]) <|file_sep|>original/podium/talks/models.py def __str__(self): ...
e93fa13dc27e0590786d9b12d40145c19dbd3794
podium/talks/models.py
podium/talks/models.py
Python