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/requirements.txt Django>=1.8 Sphinx==1.5.4 sphinx-rtd-theme==0.2.4 enum34==1.1.6; python_version < '3.4' <|file_sep|>current/requirements.txt Django>=1.8 Sphinx==1.5.4 sphinx-rtd-theme==0.2.4 enum34==1.1.6; python_version < '3.4' <|file_sep|>updated/requirements.txt
Django>=1.8 Sphinx==1.5.5 sphinx-rtd-theme==0.2.4 enum34==1.1.6; python_version < '3.4'
<|file_sep|>original/requirements.txt Django>=1.8 Sphinx==1.5.4 sphinx-rtd-theme==0.2.4 enum34==1.1.6; python_version < '3.4' <|file_sep|>current/requirements.txt Django>=1.8 Sphinx==1.5.4 sphinx-rtd-theme==0.2.4 enum34==1.1.6; python_version < '3.4' <|file_sep|>updated/requirements.txt Django>=1.8 Sphinx==1.5.5 sphinx...
f5776bc905ecb6ab398730de2caa6d33209567d5
requirements.txt
requirements.txt
Text
<|file_sep|>original/package.json { "name": "fixed-sticky", "version": "0.1.5", "description": "A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.", "main": "fixedsticky.js", "scripts": { "test": "./node_modules/.bin/grunt test", "postinstall": "./node_mo...
{ "name": "fixed-sticky", "version": "0.1.5", "description": "A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.", "main": "fixedsticky.js", "scripts": { "test": "./node_modules/.bin/grunt test" }, "repository": { "type": "git", "url": "git://github.c...
<|file_sep|>original/package.json { "name": "fixed-sticky", "version": "0.1.5", "description": "A position: sticky polyfill that works with filamentgroup/fixed-fixed for a safer position:fixed fallback.", "main": "fixedsticky.js", "scripts": { "test": "./node_modules/.bin/grunt test", "postinstall": "./node_mo...
3526915168091a03d8e2141d04effbf97df983b4
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: - "2.5" updated: <|file_sep|>original/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" - "3.2" - "pypy" before_install: - cp test/secrets.py-dist test/secrets.py script: python setup.py test notifications: email: - tomaz+travisci@tomaz.me <|fil...
language: python python: - "2.6" - "2.7" - "3.2" before_install: - cp test/secrets.py-dist test/secrets.py script: python setup.py test notifications: email: - tomaz+travisci@tomaz.me
<|file_sep|>.travis.yml.diff original: - "2.5" updated: <|file_sep|>original/.travis.yml language: python python: - "2.5" - "2.6" - "2.7" - "3.2" - "pypy" before_install: - cp test/secrets.py-dist test/secrets.py script: python setup.py test notifications: email: - tomaz+travisci@tomaz.me <|fil...
0d1d547ad4e7ee5093b1d0b7ed216cdc2300f88a
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala.diff original: updated: import org.mindrot.jbcrypt.BCrypt <|file_sep|>src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala.diff original: updated: val hashedPassword = BCrypt.hashpw(input.password, BCrypt.gensalt) <|...
import com.google.inject.Inject import modules.user.model.{RegisterUserInput, User, UserPayload} import modules.user.repositories.UserRepo import org.mindrot.jbcrypt.BCrypt import scala.concurrent.{ExecutionContext, Future} class UserResolverImpl @Inject()(userRepo: UserRepo) (implici...
<|file_sep|>src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala.diff original: updated: import org.mindrot.jbcrypt.BCrypt <|file_sep|>src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala.diff original: updated: val hashedPassword = BCrypt.hashpw(input.password, BCrypt.gensalt) <|...
8aaad6a31276f00cb2b48ad8f745ad2c0375c441
src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala
src/main/scala/modules/user/graphql/resolvers/UserResolverImpl.scala
Scala
<|file_sep|>original/setup.py from distutils.core import setup import sslserver setup(name="django-sslserver", version=sslserver.__version__, author="Ted Dziuba", author_email="tjdziuba@gmail.com", description="An SSL-enabled development server for Django", url="https://github.com/teddziu...
from distutils.core import setup import sslserver setup(name="django-sslserver", version=sslserver.__version__, author="Ted Dziuba", author_email="tjdziuba@gmail.com", description="An SSL-enabled development server for Django", url="https://github.com/teddziuba/django-sslserver", pa...
<|file_sep|>original/setup.py from distutils.core import setup import sslserver setup(name="django-sslserver", version=sslserver.__version__, author="Ted Dziuba", author_email="tjdziuba@gmail.com", description="An SSL-enabled development server for Django", url="https://github.com/teddziu...
3315ce5ce730f0607c16864e12b6bbb7b2a1c69e
setup.py
setup.py
Python
<|file_sep|>original/lib/response-from-object.js // statusCode if (mockResponse.statusCode) { response.statusCode = mockResponse.statusCode } // statusMessage if (mockResponse.statusMessage) { response.statusMessage = mockResponse.statusMessage } // headers if (mockRespon...
// statusCode if (mockResponse.statusCode) { response.statusCode = mockResponse.statusCode } // statusMessage if (mockResponse.statusMessage) { response.statusMessage = mockResponse.statusMessage } // headers if (mockResponse.headers) { Object.keys(mockResponse.he...
<|file_sep|>original/lib/response-from-object.js // statusCode if (mockResponse.statusCode) { response.statusCode = mockResponse.statusCode } // statusMessage if (mockResponse.statusMessage) { response.statusMessage = mockResponse.statusMessage } // headers if (mockRespon...
3959092d6782d73d91b30cba3006555d187588b7
lib/response-from-object.js
lib/response-from-object.js
JavaScript
<|file_sep|>original/buildOnTravis.sh if [ $res -ne 0 ]; then exit $res fi make rebuild_cache && make res=$? if [ $res -ne 0 ]; then exit $res fi ctest --timeout 60 $4 res=$? if [ $res -ne 0 ]; then exit $res fi if [ "$2" = "coverage" ]; then ctest -T coverage res=$? if [ $res -ne 0 ]; then exit $re...
if [ $res -ne 0 ]; then exit $res fi make rebuild_cache && make res=$? if [ $res -ne 0 ]; then exit $res fi ctest --timeout 60 --output-on-failure $4 res=$? if [ $res -ne 0 ]; then exit $res fi if [ "$2" = "coverage" ]; then ctest -T coverage res=$? if [ $res -ne 0 ]; then exit $res
<|file_sep|>original/buildOnTravis.sh if [ $res -ne 0 ]; then exit $res fi make rebuild_cache && make res=$? if [ $res -ne 0 ]; then exit $res fi ctest --timeout 60 $4 res=$? if [ $res -ne 0 ]; then exit $res fi if [ "$2" = "coverage" ]; then ctest -T coverage res=$? if [ $res -ne 0 ]; then exit $re...
66a078fee830b22cbcbc9dcdf47f8eba4ba28e73
buildOnTravis.sh
buildOnTravis.sh
Shell
<|file_sep|>original/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java <|file_sep|>current/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java <|file_sep|>updated/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java
package enmasse.rc.admin; import com.openshift.internal.restclient.model.ReplicationController; import com.openshift.restclient.model.IReplicationController; import enmasse.rc.generator.ConfigGenerator; import enmasse.rc.model.BrokerProperties; import enmasse.rc.model.Destination; import enmasse.rc.openshift.Openshift...
<|file_sep|>original/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java <|file_sep|>current/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java <|file_sep|>updated/generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java package enmasse.rc.admin; import com.openshift.inter...
8f64405b6b86f3cf0aaed4825fa900695bd08c8f
generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java
generator-lib/src/test/java/enmasse/rc/admin/BrokerManagerTest.java
Java
<|file_sep|>original/Hooks.php { if ((isset($hook["name"]) && isset($hook["class"])) === false) { return false; } self::$_hooks[$hook["name"]] = $hook["class"]; return true; } public static function call() { $params = func_get_args(); $name...
{ if ((isset($hook["name"]) && isset($hook["class"])) === false) { return false; } self::$_hooks[$hook["name"]] = $hook["class"]; return true; } public static function call() { $params = func_get_args(); $name = array_shift($params); ...
<|file_sep|>original/Hooks.php { if ((isset($hook["name"]) && isset($hook["class"])) === false) { return false; } self::$_hooks[$hook["name"]] = $hook["class"]; return true; } public static function call() { $params = func_get_args(); $name...
3911e827c642cb5d9f3e95ebdd508e7b7d3ab934
Hooks.php
Hooks.php
PHP
<|file_sep|>original/structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java <|file_sep|>current/structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java <|file_sep|>updated/structured_derby/src/test/java/com/splicemachine/derby/impl/l...
package com.splicemachine.derby.impl.load; import org.junit.Assert; import org.junit.Test; public class SpliceImportCoprocessorTest { @Test public void testParseCsvLine() throws Exception { // arbitrary character as delimiter with trailing delimiter Assert.assertArrayEquals(new String[]{"a", "b", ""}, Spli...
<|file_sep|>original/structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java <|file_sep|>current/structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java <|file_sep|>updated/structured_derby/src/test/java/com/splicemachine/derby/impl/l...
4847ff156891588e30270254d46a40549122d6cf
structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java
structured_derby/src/test/java/com/splicemachine/derby/impl/load/SpliceImportCoprocessorTest.java
Java
<|file_sep|>README.md.diff original: Availability of LiveReload or similar utility for compiling CS to JS is assumed, so the gruntfile doesn't provide such a build task. updated: ```bash hlf-jquery> npm install <|file_sep|>README.md.diff original: ## Notes updated: # to install hlf-jquery> grunt install <|file_sep|>REA...
"path": "morning-stroll", "file_exclude_patterns": [ "docs/*", "lib/*", "release/*" ], "folder_exclude_patterns": [ ".grunt", "node_modules" ] } ] } ``` ## License Copyright (c) 2012-2015 Yinglei Yang, Peng Wang
<|file_sep|>README.md.diff original: Availability of LiveReload or similar utility for compiling CS to JS is assumed, so the gruntfile doesn't provide such a build task. updated: ```bash hlf-jquery> npm install <|file_sep|>README.md.diff original: ## Notes updated: # to install hlf-jquery> grunt install <|file_sep|>REA...
978b821dd4ceb2ef18d61d92418f0aa9f36bbebd
README.md
README.md
Markdown
<|file_sep|>src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java.diff original: updated: import org.testng.annotations.Test; <|file_sep|>original/src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java * See the Apache License Version 2.0 for the specific lan...
import com.ning.http.client.AsyncHttpClient; import com.ning.http.client.AsyncHttpClientConfig; import com.ning.http.client.async.ByteBufferCapacityTest; import com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider; import org.testng.annotations.Test; public class GrizzlyByteBufferCapacityTest extends ByteB...
<|file_sep|>src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java.diff original: updated: import org.testng.annotations.Test; <|file_sep|>original/src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java * See the Apache License Version 2.0 for the specific lan...
fe9a70cef51f6310c1161f738d3247e1ebaa307d
src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java
src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java
Java
<|file_sep|>original/README.md # ManageIQ::UI::Classic ManageIQ UI Classic is the UI that has been split out of the main 'manageiq' repo. ## Development Setup Go to the directory where you have the clone of your 'manageiq' repo. Next to your 'manageiq' repo create a clone of 'manageiq-ui-classic' repo: ```bash $ g...
# ManageIQ::UI::Classic ManageIQ UI Classic is the UI that has been split out of the main [manageiq repo](https://github.com/ManageIQ/manageiq). ## Development Setup Go to the directory where you have the clone of your 'manageiq' repo. Next to your 'manageiq' repo create a clone of 'manageiq-ui-classic' repo: ```b...
<|file_sep|>original/README.md # ManageIQ::UI::Classic ManageIQ UI Classic is the UI that has been split out of the main 'manageiq' repo. ## Development Setup Go to the directory where you have the clone of your 'manageiq' repo. Next to your 'manageiq' repo create a clone of 'manageiq-ui-classic' repo: ```bash $ g...
90eb868dfed2de23b5fa663adb4d3c7dcdb50298
README.md
README.md
Markdown
<|file_sep|>service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java.diff original: updated: import sg.ncl.service.authentication.domain.CredentialsStatus; import java.util.List; <|file_sep|>original/service-authentication/src/main/java/sg/ncl/service/authent...
package sg.ncl.service.authentication.data.jpa.repositories; import org.springframework.data.jpa.repository.JpaRepository; import sg.ncl.service.authentication.data.jpa.entities.CredentialsEntity; import sg.ncl.service.authentication.domain.CredentialsStatus; import java.util.List; /** * @author Christopher Zhong ...
<|file_sep|>service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java.diff original: updated: import sg.ncl.service.authentication.domain.CredentialsStatus; import java.util.List; <|file_sep|>original/service-authentication/src/main/java/sg/ncl/service/authent...
860e6a96905d6f9676ab6e88b9ebbeed69125a5a
service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java
service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java
Java
<|file_sep|>original/.github/workflows/pythonpublish.yml <|file_sep|>current/.github/workflows/pythonpublish.yml <|file_sep|>updated/.github/workflows/pythonpublish.yml
name: Upload Python Package on: release: types: [created] jobs: deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v1 - name: Set up Python uses: actions/setup-python@v1 with: python-version: '3.x' - name: Install dependencies run: | python -m p...
<|file_sep|>original/.github/workflows/pythonpublish.yml <|file_sep|>current/.github/workflows/pythonpublish.yml <|file_sep|>updated/.github/workflows/pythonpublish.yml name: Upload Python Package on: release: types: [created] jobs: deploy: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v...
15dd2ad3bae512f3aabe49657a60ab49eb0883b2
.github/workflows/pythonpublish.yml
.github/workflows/pythonpublish.yml
YAML
<|file_sep|>original/README.md Requirements ============ In order to run lazy-bash you need the bash shell and a Unix userland. Installation ============ An installation script will be available soon. For now: ``` $ sudo cp lazy /usr/local/bin ``` Running ======= ``` $ cd <web-root> $ lazy ``` Configuration ========...
============ In order to run lazy-bash you need the bash shell and a Unix userland. Installation ============ An installation script will be available soon. For now: ``` $ sudo cp lazy /usr/local/bin ``` Running ======= ``` $ cd <web-root> $ lazy ``` Note: you must be root in order to run lazy-bash on port 80. Confi...
<|file_sep|>original/README.md Requirements ============ In order to run lazy-bash you need the bash shell and a Unix userland. Installation ============ An installation script will be available soon. For now: ``` $ sudo cp lazy /usr/local/bin ``` Running ======= ``` $ cd <web-root> $ lazy ``` Configuration ========...
4f9547216e4d38aa7ab3c98c962d1b501f0c5856
README.md
README.md
Markdown
<|file_sep|>metadata/au.com.darkside.xdemo.yml.diff original: updated: - versionName: '1.27' versionCode: 27 commit: '1.27' subdir: demo gradle: - yes <|file_sep|>original/metadata/au.com.darkside.xdemo.yml SourceCode: https://github.com/nwrkbiz/android-xserver IssueTracker: https://github.com...
Repo: https://github.com/nwrkbiz/android-xserver Builds: - versionName: '1.24' versionCode: 23 commit: '1.24' subdir: demo gradle: - yes - versionName: '1.27' versionCode: 27 commit: '1.27' subdir: demo gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags Cur...
<|file_sep|>metadata/au.com.darkside.xdemo.yml.diff original: updated: - versionName: '1.27' versionCode: 27 commit: '1.27' subdir: demo gradle: - yes <|file_sep|>original/metadata/au.com.darkside.xdemo.yml SourceCode: https://github.com/nwrkbiz/android-xserver IssueTracker: https://github.com...
7ad233833d065b8d938412871dbafd48352da3ad
metadata/au.com.darkside.xdemo.yml
metadata/au.com.darkside.xdemo.yml
YAML
<|file_sep|>original/app/assets/javascripts/components/contextActions/ContextActions.js }); } isAllCollection() { const {currentCollection} = this.state.uiState; return currentCollection && currentCollection.label == 'All'; } noSampleSelected() { const {sample} = this.state.uiState; return...
}); } isAllCollection() { const {currentCollection} = this.state.uiState; return currentCollection && currentCollection.label == 'All'; } noSampleSelected() { const {sample} = this.state.uiState; return sample.checkedIds.size == 0 && sample.checkedAll == false; } render() { return...
<|file_sep|>original/app/assets/javascripts/components/contextActions/ContextActions.js }); } isAllCollection() { const {currentCollection} = this.state.uiState; return currentCollection && currentCollection.label == 'All'; } noSampleSelected() { const {sample} = this.state.uiState; return...
4a97f9d0a8211cfbf7db907e423173bed87e6b19
app/assets/javascripts/components/contextActions/ContextActions.js
app/assets/javascripts/components/contextActions/ContextActions.js
JavaScript
<|file_sep|>original/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb <|file_sep|>current/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb <|file_sep|>updated/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb
class AddAttributesToProjects < ActiveRecord::Migration def change rename_column :projects, :due_date, :date_end add_column :projects, :date_beginning, :string add_column :projects, :budget, :string end end
<|file_sep|>original/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb <|file_sep|>current/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb <|file_sep|>updated/TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb class AddAttributesToProjects < ActiveRecord::Migration def change...
25d8383b00f0545852a1d88c99b0817a5738f308
TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb
TodUni/db/migrate/20160531201359_add_attributes_to_projects.rb
Ruby
<|file_sep|>src/stackdriver-nozzle/scripts/firehose-to-stdout.go.diff original: "gopkg.in/alecthomas/kingpin.v2" updated: <|file_sep|>original/src/stackdriver-nozzle/scripts/firehose-to-stdout.go import ( "os" "github.com/cloudfoundry-community/gcp-tools-release/src/stackdriver-nozzle/firehose" "github.com/cloud...
import ( "os" "github.com/cloudfoundry-community/gcp-tools-release/src/stackdriver-nozzle/firehose" "github.com/cloudfoundry-community/go-cfclient" "github.com/cloudfoundry/sonde-go/events" ) func main() { apiEndpoint := os.Getenv("FIREHOSE_ENDPOINT") username := os.Getenv("FIREHOSE_USERNAME") password := os....
<|file_sep|>src/stackdriver-nozzle/scripts/firehose-to-stdout.go.diff original: "gopkg.in/alecthomas/kingpin.v2" updated: <|file_sep|>original/src/stackdriver-nozzle/scripts/firehose-to-stdout.go import ( "os" "github.com/cloudfoundry-community/gcp-tools-release/src/stackdriver-nozzle/firehose" "github.com/cloud...
cb7ef9b9eec4469facd22e2a7114f93564cf8b5d
src/stackdriver-nozzle/scripts/firehose-to-stdout.go
src/stackdriver-nozzle/scripts/firehose-to-stdout.go
Go
<|file_sep|>original/.github/workflows/update.yml - name: checkout bikeshed uses: actions/checkout@master with: repository: tabatkins/bikeshed ref: master fetch-depth: 1 path: bikeshed - name: setup python uses: actions/setup-python@master with: py...
- name: checkout bikeshed uses: actions/checkout@master with: repository: tabatkins/bikeshed ref: master fetch-depth: 1 path: bikeshed - name: setup python uses: actions/setup-python@master with: python-version: 3.7 - name: install bikeshed ...
<|file_sep|>original/.github/workflows/update.yml - name: checkout bikeshed uses: actions/checkout@master with: repository: tabatkins/bikeshed ref: master fetch-depth: 1 path: bikeshed - name: setup python uses: actions/setup-python@master with: py...
84ef86b872504ecd7a3d88f515216fa4e05b821b
.github/workflows/update.yml
.github/workflows/update.yml
YAML
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
#!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml $testdir/$tested result=$(($result || $?)) do...
<|file_sep|>original/.travis/run-tests.sh #!/bin/bash travisdir=$(dirname $(readlink /proc/$$/fd/255)) testdir="$travisdir/../tests" testedcomponents=(`cat "$travisdir/tested-components"`) result=0 for tested in "${testedcomponents[@]}" do echo "$tested:" phpunit -c $testdir/phpunit.xml --stderr $t...
db262040ca815ad8e5e868dc3426710f7d7fb06c
.travis/run-tests.sh
.travis/run-tests.sh
Shell
<|file_sep|>appveyor.yml.diff original: updated: - nuget install redis-64 -excludeversion - redis-64\tools\redis-server.exe --service-install - redis-64\tools\redis-server.exe --service-start <|file_sep|>original/appveyor.yml install: - set PATH=C:\Ruby23\bin;%PATH% - bundle install - nuget install redis-64 -excludeve...
install: - set PATH=C:\Ruby23\bin;%PATH% - nuget install redis-64 -excludeversion - redis-64\tools\redis-server.exe --service-install - redis-64\tools\redis-server.exe --service-start - bundle install build: off before_test: - ruby -v - gem -v - bundle -v test_script: - bundle exec rake
<|file_sep|>appveyor.yml.diff original: updated: - nuget install redis-64 -excludeversion - redis-64\tools\redis-server.exe --service-install - redis-64\tools\redis-server.exe --service-start <|file_sep|>original/appveyor.yml install: - set PATH=C:\Ruby23\bin;%PATH% - bundle install - nuget install redis-64 -excludeve...
7305ceeb7b7d7cc5be0fea77f0fcccb9f7a192e3
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/scripts/uart_console.sh <|file_sep|>current/scripts/uart_console.sh <|file_sep|>updated/scripts/uart_console.sh
#!/usr/bin/env bash # stollen from https://stackoverflow.com/questions/14208001/save-screen-program-output-to-a-file mkdir -p log PORT=$1 CONFIG="logfile log/$PORT.log logfile flush 1 log on logtstamp after 1 logtstamp string \"[ %t: %Y-%m-%d %c:%s ]\012\" logtstamp on" echo "$CONFIG" > log/$PORT.log.conf screen -c lo...
<|file_sep|>original/scripts/uart_console.sh <|file_sep|>current/scripts/uart_console.sh <|file_sep|>updated/scripts/uart_console.sh #!/usr/bin/env bash # stollen from https://stackoverflow.com/questions/14208001/save-screen-program-output-to-a-file mkdir -p log PORT=$1 CONFIG="logfile log/$PORT.log logfile flush 1 l...
1db70fb8beddd4f2c1225e8a724363079fe84aeb
scripts/uart_console.sh
scripts/uart_console.sh
Shell
<|file_sep|>original/requirements/docs-requirements.txt -r requirements.txt Sphinx==1.7.2 sphinx-rtd-theme==0.3.0 docutils==0.14 <|file_sep|>current/requirements/docs-requirements.txt -r requirements.txt Sphinx==1.7.2 sphinx-rtd-theme==0.3.0 docutils==0.14 <|file_sep|>updated/requirements/docs-requirements.txt
-r requirements.txt Sphinx==1.7.2 sphinx-rtd-theme==0.3.0 docutils==0.14 django-extensions==1.7.7
<|file_sep|>original/requirements/docs-requirements.txt -r requirements.txt Sphinx==1.7.2 sphinx-rtd-theme==0.3.0 docutils==0.14 <|file_sep|>current/requirements/docs-requirements.txt -r requirements.txt Sphinx==1.7.2 sphinx-rtd-theme==0.3.0 docutils==0.14 <|file_sep|>updated/requirements/docs-requirements.txt -r req...
c2cf4c24ae9ab1829dd143271080229104331897
requirements/docs-requirements.txt
requirements/docs-requirements.txt
Text
<|file_sep|>spec/hive_spec.rb.diff original: updated: node.default['hive']['hive_site']['hive.exec.local.scratchdir'] = '/tmp' <|file_sep|>spec/hive_spec.rb.diff original: it 'install hive package' do expect(chef_run).to install_package('hive') updated: %w(mysql-connector-java postgresql-jdbc hiv...
require 'spec_helper' describe 'hadoop::hive' do context 'on Centos 6.4 x86_64' do let(:chef_run) do ChefSpec::Runner.new(platform: 'centos', version: 6.4) do |node| node.automatic['domain'] = 'example.com' node.default['hive']['hive_site']['hive.exec.local.scratchdir'] = '/tmp' stu...
<|file_sep|>spec/hive_spec.rb.diff original: updated: node.default['hive']['hive_site']['hive.exec.local.scratchdir'] = '/tmp' <|file_sep|>spec/hive_spec.rb.diff original: it 'install hive package' do expect(chef_run).to install_package('hive') updated: %w(mysql-connector-java postgresql-jdbc hiv...
36cac11960be6177aa6031dad621a749971a327e
spec/hive_spec.rb
spec/hive_spec.rb
Ruby
<|file_sep|>original/app/overrides/admin/products/_form.rb Deface::Override.new(:virtual_path => "spree/admin/products/_form", :name => "admin_products_form_add_child_price", :insert_before => "[data-hook='admin_product_form_right'] div.alpha.two.columns", ...
:insert_before => "[data-hook='admin_product_form_right'] div.alpha.two.columns", :text => <<eos <%= f.field_container :child_price do %> <%= f.label :child_price, raw(Spree.t(:child_price) + content_tag(:span, ' *', :class => "requir...
<|file_sep|>original/app/overrides/admin/products/_form.rb Deface::Override.new(:virtual_path => "spree/admin/products/_form", :name => "admin_products_form_add_child_price", :insert_before => "[data-hook='admin_product_form_right'] div.alpha.two.columns", ...
75b57df5c6c7f7e71f740303fdbce3b4d28295da
app/overrides/admin/products/_form.rb
app/overrides/admin/products/_form.rb
Ruby
<|file_sep|>README.md.diff original: updated: * Postgres as a first class database, making use of Trigram Full Text Search Extension <|file_sep|>original/README.md ## Features * Relay Support * User Registration/Sign up using JWT * Heroku or Docker Deployment ## Quick start: You will need python 3 and node install...
## Features * Relay Support * User Registration/Sign up using JWT * Postgres as a first class database, making use of Trigram Full Text Search Extension * Heroku or Docker Deployment ## Quick start: You will need python 3, postgres and node installed. You will also need to have a virtualenv activated before running...
<|file_sep|>README.md.diff original: updated: * Postgres as a first class database, making use of Trigram Full Text Search Extension <|file_sep|>original/README.md ## Features * Relay Support * User Registration/Sign up using JWT * Heroku or Docker Deployment ## Quick start: You will need python 3 and node install...
43cce4c0f32bca70a53ab96bf7c25046507246ca
README.md
README.md
Markdown
<|file_sep|>original/README.md tA c++ implementation of the A\* search algorithm using a priority queue and a templated weight-type. The algorithm finds the shortest path between two nodes on a weighted graph. A `node` uses a templated `cost_type` and contains a `vector` of `edge`s and two `cost_type` values: `tentati...
# astar A c++ implementation of the A\* search algorithm using a priority queue and a templated weight-type. The algorithm finds the shortest path between two nodes on a weighted graph. A `node` uses a templated `cost_type` and contains a `vector` of `edge`s and two `cost_type` values: `tentative` and `heuristic`. An...
<|file_sep|>original/README.md tA c++ implementation of the A\* search algorithm using a priority queue and a templated weight-type. The algorithm finds the shortest path between two nodes on a weighted graph. A `node` uses a templated `cost_type` and contains a `vector` of `edge`s and two `cost_type` values: `tentati...
0d25afe235894484f9d12f89c0f1874cc43e75eb
README.md
README.md
Markdown
<|file_sep|>original/metadata/foehnix.widget.txt Summary:The Foehnix weather widget aims at helping pilots with weather conditions Description: * Assessment of Foehn conditions for pilots. * Intended for paraglider and for hangglider pilots. * Displays pressure differences + relevant wind gusts. * Updates every 15 minu...
* Updates every 15 minutes or on request. * Share functionality via text message, emails. . Repo Type:git Repo:https://github.com/dzmanto/foehnix.git Build:2.2,22 commit=2.3 subdir=app gradle=yes Build:2.2,23 commit=2.2 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags...
<|file_sep|>original/metadata/foehnix.widget.txt Summary:The Foehnix weather widget aims at helping pilots with weather conditions Description: * Assessment of Foehn conditions for pilots. * Intended for paraglider and for hangglider pilots. * Displays pressure differences + relevant wind gusts. * Updates every 15 minu...
710507058cab7456ae85b65be2c4848b8444676a
metadata/foehnix.widget.txt
metadata/foehnix.widget.txt
Text
<|file_sep|>original/skimage/measure/__init__.py from .find_contours import find_contours from ._regionprops import regionprops, perimeter from ._structural_similarity import structural_similarity from ._polygon import approximate_polygon, subdivide_polygon <|file_sep|>current/skimage/measure/__init__.py from .find_con...
from .find_contours import find_contours from ._regionprops import regionprops, perimeter from ._structural_similarity import structural_similarity from ._polygon import approximate_polygon, subdivide_polygon __all__ = ['find_contours', 'regionprops', 'perimeter', 'structural_similarit...
<|file_sep|>original/skimage/measure/__init__.py from .find_contours import find_contours from ._regionprops import regionprops, perimeter from ._structural_similarity import structural_similarity from ._polygon import approximate_polygon, subdivide_polygon <|file_sep|>current/skimage/measure/__init__.py from .find_con...
9d4647dca6f5e356f807d6885019d41a4b6d4847
skimage/measure/__init__.py
skimage/measure/__init__.py
Python
<|file_sep|>original/monitoring/nagios/plugin/__init__.py from monitoring.nagios.plugin.base import NagiosPlugin from monitoring.nagios.plugin.snmp import NagiosPluginSNMP from monitoring.nagios.plugin.secureshell import NagiosPluginSSH from monitoring.nagios.plugin.database import NagiosPluginMSSQL from monitoring.nag...
from monitoring.nagios.plugin.base import NagiosPlugin from monitoring.nagios.plugin.snmp import NagiosPluginSNMP from monitoring.nagios.plugin.secureshell import NagiosPluginSSH from monitoring.nagios.plugin.database import NagiosPluginMSSQL from monitoring.nagios.plugin.wmi import NagiosPluginWMI from monitoring.nagi...
<|file_sep|>original/monitoring/nagios/plugin/__init__.py from monitoring.nagios.plugin.base import NagiosPlugin from monitoring.nagios.plugin.snmp import NagiosPluginSNMP from monitoring.nagios.plugin.secureshell import NagiosPluginSSH from monitoring.nagios.plugin.database import NagiosPluginMSSQL from monitoring.nag...
a910cd19890ef02a08aeb05c8ba450b2c59f0352
monitoring/nagios/plugin/__init__.py
monitoring/nagios/plugin/__init__.py
Python
<|file_sep|>src/components/karta.scss.diff original: updated: height: 100%; margin: 0 auto; max-width: 320px; overflow: hidden; <|file_sep|>original/src/components/karta.scss .karta-wrapper { @extend .slider; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; } ....
.karta-wrapper { @extend .slider; display: flex; flex-direction: column; height: 100%; margin: 0 auto; max-width: 320px; overflow: hidden; width: 100%; } .svg-element { } .svg-container { height: 100%; width: 100%; } .karta {
<|file_sep|>src/components/karta.scss.diff original: updated: height: 100%; margin: 0 auto; max-width: 320px; overflow: hidden; <|file_sep|>original/src/components/karta.scss .karta-wrapper { @extend .slider; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; } ....
3ad684e26fd7cc0218666141c47199ecab8f0b12
src/components/karta.scss
src/components/karta.scss
SCSS
<|file_sep|>original/metadata/com.enrico.earthquake.txt Source Code:https://github.com/enricocid/Simply-Solid Issue Tracker:https://github.com/enricocid/Simply-Solid/issues Auto Name:Simply Solid Summary:Set solid colors as background Description: Pick a solid color as your homescreen background color. . Repo Type:gi...
Description: Pick a solid color as your homescreen background color. . Repo Type:git Repo:https://github.com/enricocid/Simply-Solid Build:1.0.2,3 commit=1.0.2 subdir=project/app gradle=yes Build:2.0.1,9 commit=2.0.1 subdir=project/app gradle=yes Auto Update Mode:None Update Check Mode:Tags C...
<|file_sep|>original/metadata/com.enrico.earthquake.txt Source Code:https://github.com/enricocid/Simply-Solid Issue Tracker:https://github.com/enricocid/Simply-Solid/issues Auto Name:Simply Solid Summary:Set solid colors as background Description: Pick a solid color as your homescreen background color. . Repo Type:gi...
db4bd542bf04ece8d85ca826b5368fe0a1aecffc
metadata/com.enrico.earthquake.txt
metadata/com.enrico.earthquake.txt
Text
<|file_sep|>.travis.yml.diff original: updated: - "0.4" - "0.6" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.8" - "0.10" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "0.4" - "0.6" - "0.8" - "0.10" before_script: - npm ins...
language: node_js node_js: - "0.4" - "0.6" - "0.8" before_script: - npm install -g grunt-cli
<|file_sep|>.travis.yml.diff original: updated: - "0.4" - "0.6" <|file_sep|>original/.travis.yml language: node_js node_js: - "0.8" - "0.10" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "0.4" - "0.6" - "0.8" - "0.10" before_script: - npm ins...
88828f91e85300c9bd29e7b633a6d27444fe5462
.travis.yml
.travis.yml
YAML
<|file_sep|>original/acme/utils/observers.py import dm_env import numpy as np Number = Union[int, float] class EnvLoopObserver(abc.ABC): """An interface for collecting metrics/counters in EnvironmentLoop.""" def observe_first(self, env: dm_env.Environment, timestep: dm_env.TimeStep ) -> Non...
import dm_env import numpy as np Number = Union[int, float] class EnvLoopObserver(abc.ABC): """An interface for collecting metrics/counters in EnvironmentLoop.""" @abc.abstractmethod def observe_first(self, env: dm_env.Environment, timestep: dm_env.TimeStep ) -> None: """Observes the ...
<|file_sep|>original/acme/utils/observers.py import dm_env import numpy as np Number = Union[int, float] class EnvLoopObserver(abc.ABC): """An interface for collecting metrics/counters in EnvironmentLoop.""" def observe_first(self, env: dm_env.Environment, timestep: dm_env.TimeStep ) -> Non...
1a03fbbb612d8faa5a6733fe7d4920f3ca158a69
acme/utils/observers.py
acme/utils/observers.py
Python
<|file_sep|>requirements.txt.diff original: mkdocs==0.17.3 mkdocs-material==2.7.1 updated: mkdocs==0.17.4 mkdocs-material==2.8.0 <|file_sep|>original/requirements.txt mkdocs==0.17.3 mkdocs-material==2.7.1 pygments==2.2.0 pymdown-extensions==3.5 six==1.10.0 <|file_sep|>current/requirements.txt mkdocs==0.17.4 mkdocs-mate...
mkdocs==0.17.4 mkdocs-material==2.8.0 pygments==2.2.0 pymdown-extensions==4.10.2 six==1.10.0
<|file_sep|>requirements.txt.diff original: mkdocs==0.17.3 mkdocs-material==2.7.1 updated: mkdocs==0.17.4 mkdocs-material==2.8.0 <|file_sep|>original/requirements.txt mkdocs==0.17.3 mkdocs-material==2.7.1 pygments==2.2.0 pymdown-extensions==3.5 six==1.10.0 <|file_sep|>current/requirements.txt mkdocs==0.17.4 mkdocs-mate...
899424c94f27314d28f658105a75bf54c8c15ff4
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.rst |docs| diktya (Greek for networks) contains some complementary utilities for theano and keras . * Implementation of a Generative Adversarial Network. * Some usefull helpers for the keras functional API. * Callbacks for learning rate scheduling and history recording. * Image augmentati...
|docs| diktya (Greek for networks) contains some complementary utilities for theano and keras . * Implementation of a Generative Adversarial Network. * Some usefull helpers for the keras functional API. * Callbacks for learning rate scheduling and history recording. * Image augmentation (including diffeomorphism) R...
<|file_sep|>original/README.rst |docs| diktya (Greek for networks) contains some complementary utilities for theano and keras . * Implementation of a Generative Adversarial Network. * Some usefull helpers for the keras functional API. * Callbacks for learning rate scheduling and history recording. * Image augmentati...
2fec417efbd9167250e6f2ff9a392a80f875f2bf
README.rst
README.rst
reStructuredText
<|file_sep|>original/README.txt ClearKey Gecko Media Plugin Demonstrates how to build a Gecko Media Plugin to support playback of Encrypted Media Extensions content in Firefox on Windows. This GMP uses Windows Media Foundation to support H.264 and AAC decoding. This may not work once the restrictions imposed by Gecko...
ClearKey Gecko Media Plugin Demonstrates how to build a Gecko Media Plugin to support playback of Encrypted Media Extensions content in Firefox on Windows. This GMP uses Windows Media Foundation to support H.264 and AAC decoding. This may not work once the restrictions imposed by Gecko's Sandbox are tightened. To bu...
<|file_sep|>original/README.txt ClearKey Gecko Media Plugin Demonstrates how to build a Gecko Media Plugin to support playback of Encrypted Media Extensions content in Firefox on Windows. This GMP uses Windows Media Foundation to support H.264 and AAC decoding. This may not work once the restrictions imposed by Gecko...
8a3acce79470d07b4e2c09f4ac4ebaf69c4d1fae
README.txt
README.txt
Text
<|file_sep|>original/app/views/version_3/user_type/partnership.html <form method="post" class="form"> <header class="text"> <h1 class="form-title heading-large"> Partner names and addresses </h1> </header> <div class="panel panel-border-wide"> <p class="text"> ...
<form method="post" class="form"> <header class="text"> <h1 class="form-title heading-large"> Partner names and addresses </h1> </header> <div class="panel panel-border-wide"> <p class="text"> We need to know the name and home address of all business partn...
<|file_sep|>original/app/views/version_3/user_type/partnership.html <form method="post" class="form"> <header class="text"> <h1 class="form-title heading-large"> Partner names and addresses </h1> </header> <div class="panel panel-border-wide"> <p class="text"> ...
762938781d0e64c975efdea4e4fc52a97d6eb033
app/views/version_3/user_type/partnership.html
app/views/version_3/user_type/partnership.html
HTML
<|file_sep|>src/updater.js.diff original: updated: target = new TargetNodes({}), <|file_sep|>original/src/updater.js function execute () { logger.info('=== CRON CHECK FOR DATA START ===', module); if (isActive()) { logger.warn('Previous synchronization process was not completed yet', module); ...
function execute () { logger.info('=== CRON CHECK FOR DATA START ===', module); if (isActive()) { logger.warn('Previous synchronization process was not completed yet', module); return; } setActive(); return target.execute() .then(function () { setIdle(); ...
<|file_sep|>src/updater.js.diff original: updated: target = new TargetNodes({}), <|file_sep|>original/src/updater.js function execute () { logger.info('=== CRON CHECK FOR DATA START ===', module); if (isActive()) { logger.warn('Previous synchronization process was not completed yet', module); ...
7d7fd6639f9c06deb8a20b62c66e980fb65fadbb
src/updater.js
src/updater.js
JavaScript
<|file_sep|>ExoMail.Smtp/Extensions/StringExtensions.cs.diff original: updated: string newLine = "\r\n"; <|file_sep|>ExoMail.Smtp/Extensions/StringExtensions.cs.diff original: space = i == words.Count() ? string.Empty : " "; colIndex += words[i].Length + space.Length; update...
space = i == (words.Count() - 1) ? newLine : " "; colIndex += words[i].Length + space.Length + newLine.Length; if (colIndex <= cols) { sb.AppendFormat("{0}{1}", words[i], space); } else {...
<|file_sep|>ExoMail.Smtp/Extensions/StringExtensions.cs.diff original: updated: string newLine = "\r\n"; <|file_sep|>ExoMail.Smtp/Extensions/StringExtensions.cs.diff original: space = i == words.Count() ? string.Empty : " "; colIndex += words[i].Length + space.Length; update...
fe0e26602975f9f8209c6abd2f9de3f18a65ea61
ExoMail.Smtp/Extensions/StringExtensions.cs
ExoMail.Smtp/Extensions/StringExtensions.cs
C#
<|file_sep|>original/setup.cfg 'Topic :: System :: Software Distribution' 'Topic :: System :: Systems Administration' [options] packages = find: install_requires = invoke; invocations [options.extras_require] docs = Sphinx tests = pytest-runner; pytest; pytest-cov checkstyle = flake8 [aliases] test = pytest...
'Topic :: System :: Software Distribution' 'Topic :: System :: Systems Administration' [options] packages = find: install_requires = invoke; invocations [options.extras_require] docs = Sphinx tests = pytest-runner; pytest; pytest-cov; watchdog checkstyle = flake8 [aliases] test = pytest [flake8] exclude = ...
<|file_sep|>original/setup.cfg 'Topic :: System :: Software Distribution' 'Topic :: System :: Systems Administration' [options] packages = find: install_requires = invoke; invocations [options.extras_require] docs = Sphinx tests = pytest-runner; pytest; pytest-cov checkstyle = flake8 [aliases] test = pytest...
e09f8e6b9a880c34d764f2159dfea4d76c49fd95
setup.cfg
setup.cfg
INI
<|file_sep|>root/include/news_look_up.js.diff original: var feed_url = 'http://mediacloud.org/blog/feed/'; updated: // TEMPORARY HACK //mediacloud.org is password protected so we can't pull from it directly // instead we pull from 'https://blogs.law.harvard.edu/mediacloud2/feed/' and dynamically rewrite...
var results = response.query.results; var news_items = $('#news_items'); //console.log(results); news_items.children().remove(); news_items.html(''); $.each(results.item, function (index, element) { var title = element.title; var link = element.link; ...
<|file_sep|>root/include/news_look_up.js.diff original: var feed_url = 'http://mediacloud.org/blog/feed/'; updated: // TEMPORARY HACK //mediacloud.org is password protected so we can't pull from it directly // instead we pull from 'https://blogs.law.harvard.edu/mediacloud2/feed/' and dynamically rewrite...
d9e92fb56f73f8415f4ca9ed791a27e511faee36
root/include/news_look_up.js
root/include/news_look_up.js
JavaScript
<|file_sep|>examples/composit_statements.js.diff original: "Global.x:" <input data=Global.x dataType="number"/> <br /> "Global.y:" <input data=Global.y dataType="number"/> updated: "Global.x:" <input data=Global.x dataType="number" style={ display:'block' }/> "Global.y:" <input data=Global.y dataType="number" style={ d...
let greeting = "hello " let name = "world" <table> <tr> <th>"Global.x + Global.y"</th> Global.x + Global.y </tr><tr> <th>"Global.x * Global.y + Global.x * five"</th> Global.x * Global.y + Global.x * five </tr><tr> <th>"five + 2 * Global.x"</th> five + 2 * Global.x </tr><tr> <th>"two - 3 / Global.y"</...
<|file_sep|>examples/composit_statements.js.diff original: "Global.x:" <input data=Global.x dataType="number"/> <br /> "Global.y:" <input data=Global.y dataType="number"/> updated: "Global.x:" <input data=Global.x dataType="number" style={ display:'block' }/> "Global.y:" <input data=Global.y dataType="number" style={ d...
c459800d4423ea6d9ba1acc3915754181adf38d8
examples/composit_statements.js
examples/composit_statements.js
JavaScript
<|file_sep|>original/index.html <div id="cameraNotSupported" class="notSupported"> <h1>Your browser does not support the Camera API.</h1> <img src="images/screenshot.png" align="center" /> </div> <div id="webGLNotSupported" class="notSupported"> <h1>Your browser does not support WebGL.</h1> <img src="image...
<div id="cameraNotSupported" class="notSupported"> <h1>Your browser does not support the Camera API.</h1> <img src="images/screenshot.png" align="center" /> </div> <div id="webGLNotSupported" class="notSupported"> <h1>Your browser does not support WebGL.</h1> <img src="images/screenshot.png" align="center"...
<|file_sep|>original/index.html <div id="cameraNotSupported" class="notSupported"> <h1>Your browser does not support the Camera API.</h1> <img src="images/screenshot.png" align="center" /> </div> <div id="webGLNotSupported" class="notSupported"> <h1>Your browser does not support WebGL.</h1> <img src="image...
9289ba60a5c7bef9418469bfcf2d1aabfea45457
index.html
index.html
HTML
<|file_sep|>original/scripts/ec2/terminate_all.py # scripts/ec2/terminate_all.py # # Part of Project Thrill - http://project-thrill.org # # Copyright (C) 2015 Timo Bingmann <tb@panthema.net> # # All rights reserved. Published under the BSD-2 license in the LICENSE file. #################################################...
# scripts/ec2/terminate_all.py # # Part of Project Thrill - http://project-thrill.org # # Copyright (C) 2015 Timo Bingmann <tb@panthema.net> # # All rights reserved. Published under the BSD-2 license in the LICENSE file. ########################################################################## import boto3 import os ...
<|file_sep|>original/scripts/ec2/terminate_all.py # scripts/ec2/terminate_all.py # # Part of Project Thrill - http://project-thrill.org # # Copyright (C) 2015 Timo Bingmann <tb@panthema.net> # # All rights reserved. Published under the BSD-2 license in the LICENSE file. #################################################...
76600b63940da9322673ce6cd436129a7d65f10d
scripts/ec2/terminate_all.py
scripts/ec2/terminate_all.py
Python
<|file_sep|>original/setup.py long_description=open('README.rst').read(), author='Andy Dirnberger', author_email='dirn@dirnonline.com', url='https://github.com/dirn/when.py', packages=['when'], install_requires=['pytz'], license=open('LICENSE').read(), classifiers=( 'Development ...
long_description=open('README.rst').read(), author='Andy Dirnberger', author_email='dirn@dirnonline.com', url='https://github.com/dirn/when.py', packages=['when'], install_requires=['pytz'], license=open('LICENSE').read(), classifiers=( 'Development Status :: 5 - Production/Stabl...
<|file_sep|>original/setup.py long_description=open('README.rst').read(), author='Andy Dirnberger', author_email='dirn@dirnonline.com', url='https://github.com/dirn/when.py', packages=['when'], install_requires=['pytz'], license=open('LICENSE').read(), classifiers=( 'Development ...
2b962c036b0d56ec27d186ea6dd9c837f260d953
setup.py
setup.py
Python
<|file_sep|>original/website/mcapp.projects/src/app/project/experiments/experiment/components/dataset/mc-experiment-dataset.html <div layout="row" layout-align="start center"> <h3 class="md-title" style="padding-right: 30px">Dataset: {{$ctrl.dataset.title}}</h3> <md-button class="md-primary" ng-clic...
<div layout="column" ng-if="$ctrl.dataset"> <div layout="row" layout-align="start center"> <h3 class="md-title" style="padding-right: 30px">Dataset: {{$ctrl.dataset.title}}</h3> <md-button class="md-primary" ng-click="$ctrl.selectSamples()">add samples</md-button> <md-button class="md-primar...
<|file_sep|>original/website/mcapp.projects/src/app/project/experiments/experiment/components/dataset/mc-experiment-dataset.html <div layout="row" layout-align="start center"> <h3 class="md-title" style="padding-right: 30px">Dataset: {{$ctrl.dataset.title}}</h3> <md-button class="md-primary" ng-clic...
437a09fe2da5330f60602bf168b7f21aa3f4522f
website/mcapp.projects/src/app/project/experiments/experiment/components/dataset/mc-experiment-dataset.html
website/mcapp.projects/src/app/project/experiments/experiment/components/dataset/mc-experiment-dataset.html
HTML
<|file_sep|>original/actionpack/CHANGELOG.md normally requires the script-src attribute of the content security policy to include 'unsafe-inline'. To work around this we generate a per-request nonce value that is embedded in a meta tag in a similar fashion to how CSRF protection embeds its token in...
## Rails 6.0.0.alpha (Unreleased) ## * Rails 6 requires Ruby 2.4.1 or newer. *Jeremy Daer* * Add alias method `to_hash` to `to_h` for `cookies`. Add alias method `to_h` to `to_hash` for `session`. *Igor Kasyanchuk* Please check [5-2-stable](https://github.com/rails/rails/blob/5-2-stable/actionpack...
<|file_sep|>original/actionpack/CHANGELOG.md normally requires the script-src attribute of the content security policy to include 'unsafe-inline'. To work around this we generate a per-request nonce value that is embedded in a meta tag in a similar fashion to how CSRF protection embeds its token in...
c113bdc9d0c2cffd535ca97aff85c4bdc46b11f6
actionpack/CHANGELOG.md
actionpack/CHANGELOG.md
Markdown
<|file_sep|>metadata/org.secuso.privacyfriendlydicer.txt.diff original: updated: Build:1.4.1,6 commit=v1.4.1 subdir=app gradle=yes <|file_sep|>original/metadata/org.secuso.privacyfriendlydicer.txt Repo:https://github.com/SecUSo/privacy-friendly-dicer Build:1.0,1 commit=565ba3da15feb1341789c4cbc38c079...
gradle=yes Build:1.3,3 commit=v1.3 subdir=app gradle=yes Build:1.4,5 commit=v1.4 subdir=app gradle=yes Build:1.4.1,6 commit=v1.4.1 subdir=app gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.4.1 Current Version Code:6
<|file_sep|>metadata/org.secuso.privacyfriendlydicer.txt.diff original: updated: Build:1.4.1,6 commit=v1.4.1 subdir=app gradle=yes <|file_sep|>original/metadata/org.secuso.privacyfriendlydicer.txt Repo:https://github.com/SecUSo/privacy-friendly-dicer Build:1.0,1 commit=565ba3da15feb1341789c4cbc38c079...
d9d227d1287e6441f4d349d62e844d92dcd0ddae
metadata/org.secuso.privacyfriendlydicer.txt
metadata/org.secuso.privacyfriendlydicer.txt
Text
<|file_sep|>app/controllers/categories_controller.rb.diff original: actions :index, :show updated: actions :show <|file_sep|>original/app/controllers/categories_controller.rb class CategoriesController < ApplicationController inherit_resources actions :index, :show def index @node_types = collection.map...
class CategoriesController < ApplicationController inherit_resources actions :show def index @categories = Category.all @node_types = @categories.map(&:node_types).flatten.uniq respond_to do |format| format.json { render json: { categories: @categories.as_api_response(:ember)...
<|file_sep|>app/controllers/categories_controller.rb.diff original: actions :index, :show updated: actions :show <|file_sep|>original/app/controllers/categories_controller.rb class CategoriesController < ApplicationController inherit_resources actions :index, :show def index @node_types = collection.map...
432b1dc7e8012a28320b1fd361421adbd9b786ba
app/controllers/categories_controller.rb
app/controllers/categories_controller.rb
Ruby
<|file_sep|>config/vim/init.vim.diff original: " UPDATED: 2016-08-24 " updated: " UPDATED: 2016-10-10 " <|file_sep|>config/vim/init.vim.diff original: """ Be vim, load ...
source $VIMRUNTIME/defaults.vim """ Reload file if changed under us. Use UTF-8. set autoread encoding=utf-8 """ Format text automatically in a nice way, use largest history, use smarttab. set formatoptions+=tcqj history=10000 smarttab """ Make search better, be faster, indent. set wildmode=list:longest,full ttyfast ...
<|file_sep|>config/vim/init.vim.diff original: " UPDATED: 2016-08-24 " updated: " UPDATED: 2016-10-10 " <|file_sep|>config/vim/init.vim.diff original: """ Be vim, load ...
54c26d920db1a516d180d18985490fdfae5912b6
config/vim/init.vim
config/vim/init.vim
VimL
<|file_sep|>original/bGraphicCommon.podspec Pod::Spec.new do |s| s.name = "bGraphicCommon" s.version = "1.0" s.summary = "Common gfx and other stuff for bGraphic projects." s.homepage = "http://bgraphic.no" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "raa...
Pod::Spec.new do |s| s.name = "bGraphicCommon" s.version = "1.0" s.summary = "Common gfx and other stuff for bGraphic projects." s.homepage = "http://bgraphic.no" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "raae" => "raae@bgraphic.no" } s.source ...
<|file_sep|>original/bGraphicCommon.podspec Pod::Spec.new do |s| s.name = "bGraphicCommon" s.version = "1.0" s.summary = "Common gfx and other stuff for bGraphic projects." s.homepage = "http://bgraphic.no" s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { "raa...
0b1de2058732e0c4e15d22e70276b8a18c049219
bGraphicCommon.podspec
bGraphicCommon.podspec
Ruby
<|file_sep|>original/gh-pages/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="/...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/react/0.1...
<|file_sep|>original/gh-pages/index.html <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="res/bootstrap.css"> <link rel="stylesheet" href="res/app.css"> <link rel="stylesheet" href="res/default.css"> <script type="text/javascript" src="/...
c625c5a4cf5cfe9ca0a84c142d5572d11d40e33c
gh-pages/index.html
gh-pages/index.html
HTML
<|file_sep|>original/lib/jqr/runner.rb Commands::Runner end end def run command_class.new(options).run end private def options @options ||= Slop.parse(arguments) do |o| o.banner = "Usage: cat JSON | jqr [options] QUERY" o.bool "-v", "--version", "Print t...
Commands::Runner end end def run command_class.new(options).run end private def options @options ||= Slop.parse(arguments) do |o| o.banner = "Usage: cat JSON | jqr [options] QUERY" o.bool "-v", "--version", "Print the version" o.bool "-h", "--hel...
<|file_sep|>original/lib/jqr/runner.rb Commands::Runner end end def run command_class.new(options).run end private def options @options ||= Slop.parse(arguments) do |o| o.banner = "Usage: cat JSON | jqr [options] QUERY" o.bool "-v", "--version", "Print t...
1f81216b3ac4dfe63a04fff0c81466ba9332976f
lib/jqr/runner.rb
lib/jqr/runner.rb
Ruby
<|file_sep|>original/tests/test_graph.py <|file_sep|>current/tests/test_graph.py <|file_sep|>updated/tests/test_graph.py
import os from click.testing import CliRunner from cli.script import cli def get_graph_code(): return ''' from copy import deepcopy as dc class StringCopier(object): def __init__(self): self.copied_strings = set() def copy(self): string1 = 'this' string2 = dc(string1) s...
<|file_sep|>original/tests/test_graph.py <|file_sep|>current/tests/test_graph.py <|file_sep|>updated/tests/test_graph.py import os from click.testing import CliRunner from cli.script import cli def get_graph_code(): return ''' from copy import deepcopy as dc class StringCopier(object): def __init__(self)...
5d795253180ef11117ae27447fa597fa15b40734
tests/test_graph.py
tests/test_graph.py
Python
<|file_sep|>original/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.3.1 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.3.1 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
docker==2.7.0 molecule==1.25.0 pytest==3.3.1 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1
<|file_sep|>original/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.3.1 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.6.1 molecule==1.25.0 pytest==3.3.1 python-vagrant==0.5.15 testinfra==1.10.0 tox==2.9.1 <|file_sep|>updated/requirements.txt docker==2.7.0 ...
79970169664444dde2eb1c0fd25b04fcc3845590
requirements.txt
requirements.txt
Text
<|file_sep|>original/4.1.29/netcore/Dockerfile <|file_sep|>current/4.1.29/netcore/Dockerfile <|file_sep|>updated/4.1.29/netcore/Dockerfile
FROM fsharp LABEL maintainer "Dave Curylo <dave@curylo.org>, Steve Desmond <steve@stevedesmond.ca>" ENV FrameworkPathOverride /usr/lib/mono/4.5/ RUN apt-get update && \ apt-get --no-install-recommends install -y curl libunwind8 gettext apt-transport-https RUN curl https://packages.microsoft.com/keys/microsoft.asc ...
<|file_sep|>original/4.1.29/netcore/Dockerfile <|file_sep|>current/4.1.29/netcore/Dockerfile <|file_sep|>updated/4.1.29/netcore/Dockerfile FROM fsharp LABEL maintainer "Dave Curylo <dave@curylo.org>, Steve Desmond <steve@stevedesmond.ca>" ENV FrameworkPathOverride /usr/lib/mono/4.5/ RUN apt-get update && \ apt-g...
e38eb4ebfc67d6ac9c4d4135eb6368895f544046
4.1.29/netcore/Dockerfile
4.1.29/netcore/Dockerfile
unknown
<|file_sep|>original/Casks/github.rb class Github < Cask url 'https://central.github.com/mac/latest' homepage 'http://mac.github.com' version 'latest' no_checksum link 'GitHub.app' after_install do system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool'...
class Github < Cask url 'https://central.github.com/mac/latest' homepage 'http://mac.github.com' version 'latest' no_checksum link 'GitHub.app' binary 'GitHub.app/Contents/MacOS/github_cli', :target => 'github' after_install do system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicati...
<|file_sep|>original/Casks/github.rb class Github < Cask url 'https://central.github.com/mac/latest' homepage 'http://mac.github.com' version 'latest' no_checksum link 'GitHub.app' after_install do system '/usr/bin/defaults', 'write', 'com.github.GitHub', 'moveToApplicationsFolderAlertSuppress', '-bool'...
5fc4baedf0bda93cb9f75e05e4e07abf0e24a9d5
Casks/github.rb
Casks/github.rb
Ruby
<|file_sep|>original/processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java <|file_sep|>current/processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java <|file_sep|>updated/processor/src/main/java/com/michaelrocks/lightsaber/processor/d...
/* * Copyright 2015 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<|file_sep|>original/processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java <|file_sep|>current/processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java <|file_sep|>updated/processor/src/main/java/com/michaelrocks/lightsaber/processor/d...
eb3308a5697f36229cead1814d636fef443478b0
processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java
processor/src/main/java/com/michaelrocks/lightsaber/processor/descriptors/ParameterizedType.java
Java
<|file_sep|>original/test/angular_lib/gapi-mocks.js callback({ isApiReady: true }); } }; // Data Mocks var _dataChangedCallbacks = []; hangout.data = { currentState: {}, getState: function(){ return hangout.data.currentState; }, setValue: function(key, value){ hangout.da...
callback({ isApiReady: true }); } }; // Data Mocks var _dataChangedCallbacks = []; hangout.data = { currentState: {}, getState: function(){ return hangout.data.currentState; }, setValue: function(key, value){ hangout.data.currentState[key] = value; }, submitDelta: ...
<|file_sep|>original/test/angular_lib/gapi-mocks.js callback({ isApiReady: true }); } }; // Data Mocks var _dataChangedCallbacks = []; hangout.data = { currentState: {}, getState: function(){ return hangout.data.currentState; }, setValue: function(key, value){ hangout.da...
dbbd0ac4425ac8b2d5d80fd6f363217c5675aea3
test/angular_lib/gapi-mocks.js
test/angular_lib/gapi-mocks.js
JavaScript
<|file_sep|>.travis.yml.diff original: updated: sudo: required dist: trusty <|file_sep|>.travis.yml.diff original: addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 updated: <|file_sep|>original/.travis.yml --- language: node_js node_js: - 4.2 addons: apt: sources: ...
--- sudo: required dist: trusty language: node_js node_js: - 4.2 before_install: - npm install -g npm
<|file_sep|>.travis.yml.diff original: updated: sudo: required dist: trusty <|file_sep|>.travis.yml.diff original: addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 updated: <|file_sep|>original/.travis.yml --- language: node_js node_js: - 4.2 addons: apt: sources: ...
c8a4fef88ec06ee1cd2f44ce56a62e2e4231bd38
.travis.yml
.travis.yml
YAML
<|file_sep|>original/zeppelin-web/app/scripts/directives/ngdelete.js 'use strict'; /** * @ngdoc directive * @name zeppelinWebApp.directive:delete * @description * # ngDelete */ angular.module('zeppelinWebApp').directive('ngDelete', function() { return function(scope, element, attrs) { element.bind('keydown...
'use strict'; /** * @ngdoc directive * @name zeppelinWebApp.directive:delete * @description * # ngDelete */ angular.module('zeppelinWebApp').directive('ngDelete', function() { return function(scope, element, attrs) { element.bind('keydown keyup', function(event) { if (event.which === 27 || event.whic...
<|file_sep|>original/zeppelin-web/app/scripts/directives/ngdelete.js 'use strict'; /** * @ngdoc directive * @name zeppelinWebApp.directive:delete * @description * # ngDelete */ angular.module('zeppelinWebApp').directive('ngDelete', function() { return function(scope, element, attrs) { element.bind('keydown...
68956f6ffc00019038c52afba08b2688ef56b693
zeppelin-web/app/scripts/directives/ngdelete.js
zeppelin-web/app/scripts/directives/ngdelete.js
JavaScript
<|file_sep|>original/twine.gemspec s.date = Time.now.strftime('%Y-%m-%d') s.summary = "Manage strings and their translations for your iOS and Android projects." s.homepage = "https://github.com/mobiata/twine" s.email = "twine@mobiata.com" s.authors = [ "Sebastian Celis" ] s.has_...
s.date = Time.now.strftime('%Y-%m-%d') s.summary = "Manage strings and their translations for your iOS and Android projects." s.homepage = "https://github.com/mobiata/twine" s.email = "twine@mobiata.com" s.authors = [ "Sebastian Celis" ] s.has_rdoc = false s.files ...
<|file_sep|>original/twine.gemspec s.date = Time.now.strftime('%Y-%m-%d') s.summary = "Manage strings and their translations for your iOS and Android projects." s.homepage = "https://github.com/mobiata/twine" s.email = "twine@mobiata.com" s.authors = [ "Sebastian Celis" ] s.has_...
ef57e0be979b4721ed68c23cca35e757da2da21e
twine.gemspec
twine.gemspec
Ruby
<|file_sep|>client/loop.c.diff original: updated: char buf[1024]; <|file_sep|>original/client/loop.c #include <sys/select.h> /* pselect loop test */ int main(int argc, char *argv[]) { struct timespec timeout; fd_set readfds; int fdcount; while(1){ FD_ZERO(&readfds); FD_SET(0, &readfds); timeout.tv_sec = 1...
fd_set readfds; int fdcount; char buf[1024]; while(1){ FD_ZERO(&readfds); FD_SET(0, &readfds); timeout.tv_sec = 1; timeout.tv_nsec = 0; fdcount = pselect(1, &readfds, NULL, NULL, &timeout, NULL); printf("loop %d\n", fdcount); if(FD_ISSET(0, &readfds)){ read(0, buf, 1024); printf("buf: %s\n", ...
<|file_sep|>client/loop.c.diff original: updated: char buf[1024]; <|file_sep|>original/client/loop.c #include <sys/select.h> /* pselect loop test */ int main(int argc, char *argv[]) { struct timespec timeout; fd_set readfds; int fdcount; while(1){ FD_ZERO(&readfds); FD_SET(0, &readfds); timeout.tv_sec = 1...
5686bec1d4979f9c75b05bd65d9db2f24c621245
client/loop.c
client/loop.c
C
<|file_sep|>original/lib/docs/scrapers/react_native.rb module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.32' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' ...
module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.33' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' self.links = { home: 'https://facebook.github....
<|file_sep|>original/lib/docs/scrapers/react_native.rb module Docs class ReactNative < React self.name = 'React Native' self.slug = 'react_native' self.type = 'react' self.release = '0.32' self.base_url = 'https://facebook.github.io/react-native/docs/' self.root_path = 'getting-started.html' ...
4a93e291a0aae2e328838b7a3ac55291b776a995
lib/docs/scrapers/react_native.rb
lib/docs/scrapers/react_native.rb
Ruby
<|file_sep|>original/interrupted_bubble_sort/interrupted_bubble_sort.py def interrupted_bs(line): """Parse input line and preform bubble sort X times. X is defined as the integer after '|' on line.""" temp = line.split('|') num = int(temp[1].rstrip()) temp[0] = temp[0].rstrip() inputL = [int(x...
def interrupted_bs(line): """Parse input line and preform bubble sort X times. X is defined as the integer after '|' on line.""" temp = line.split('|') num = int(temp[1].rstrip()) temp[0] = temp[0].rstrip() inputL = [int(x) for x in temp[0].split(' ')] for x in xrange(num): old = l...
<|file_sep|>original/interrupted_bubble_sort/interrupted_bubble_sort.py def interrupted_bs(line): """Parse input line and preform bubble sort X times. X is defined as the integer after '|' on line.""" temp = line.split('|') num = int(temp[1].rstrip()) temp[0] = temp[0].rstrip() inputL = [int(x...
a14b51a2aeaf23daf4b72658de3f40ebd49f6223
interrupted_bubble_sort/interrupted_bubble_sort.py
interrupted_bubble_sort/interrupted_bubble_sort.py
Python
<|file_sep|>csaopt/internal/aws_setup_scripts/aws_worker_setup.sh.diff original: # Docker Images sudo docker pull nvidia/cuda:8.0-runtime sudo docker pull alpine:3.7 updated: <|file_sep|>original/csaopt/internal/aws_setup_scripts/aws_worker_setup.sh # Nvidia Docker curl -s -L https://nvidia.github.io/nvidia-docker/gp...
sudo usermod -aG docker $USER # Nvidia Docker curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ sudo apt-key add - distribution=$(. /etc/os-release;echo $ID$VERSION_ID) curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \ sudo tee /etc/apt/sources.list.d/nvidia-docker.l...
<|file_sep|>csaopt/internal/aws_setup_scripts/aws_worker_setup.sh.diff original: # Docker Images sudo docker pull nvidia/cuda:8.0-runtime sudo docker pull alpine:3.7 updated: <|file_sep|>original/csaopt/internal/aws_setup_scripts/aws_worker_setup.sh # Nvidia Docker curl -s -L https://nvidia.github.io/nvidia-docker/gp...
eacdd4f70df8a1bb0ab722046048c6e473fc80be
csaopt/internal/aws_setup_scripts/aws_worker_setup.sh
csaopt/internal/aws_setup_scripts/aws_worker_setup.sh
Shell
<|file_sep|>README.md.diff original: # Contributing updated: ## Objectives Create a language server for ruby, which can be used across different code editors, like Vim, Emacs or Atom. Focus on understanding of the code in order to provide best functionalities of "go-to definition", and later others like "show implemen...
# Orbacle [![CircleCI](https://circleci.com/gh/swistak35/orbacle/tree/master.svg?style=svg)](https://circleci.com/gh/swistak35/orbacle/tree/master) Program allowing for smart jump-to-definitions, autocompletion, constant renaming and more. Doing as MSc thesis for [Institute of Computer Science, University of Wrocław...
<|file_sep|>README.md.diff original: # Contributing updated: ## Objectives Create a language server for ruby, which can be used across different code editors, like Vim, Emacs or Atom. Focus on understanding of the code in order to provide best functionalities of "go-to definition", and later others like "show implemen...
7e14c52dbc803a0c770ca101068ddbfd9d3bcf1c
README.md
README.md
Markdown
<|file_sep|>original/src/index.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Concentration</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <co-root></co-root> </...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Concentration</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <co-root></co-root> <noscript> <div style="text-ali...
<|file_sep|>original/src/index.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Concentration</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <co-root></co-root> </...
3b3c7450c21454859a64880a91f5a752ecec2599
src/index.html
src/index.html
HTML
<|file_sep|>.travis.yml.diff original: sudo: required updated: <|file_sep|>original/.travis.yml # # \brief Default Travis for project # \author Uilian Ries <uilianries@gmail.com> # sudo: required dist: trusty language: cpp compiler: gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq -y c...
# # \brief Default Travis for project # \author Uilian Ries <uilianries@gmail.com> # dist: trusty language: cpp compiler: gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq -y cmake libboost1.55-all-dev script: - mkdir build && cd build && cmake .. && make branches: only: - develo...
<|file_sep|>.travis.yml.diff original: sudo: required updated: <|file_sep|>original/.travis.yml # # \brief Default Travis for project # \author Uilian Ries <uilianries@gmail.com> # sudo: required dist: trusty language: cpp compiler: gcc before_install: - sudo apt-get update -qq - sudo apt-get install -qq -y c...
62fcd6481bd0d3588ecd94d118369a643ab1fb2b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tests/binaryfile-perf-test/README.md [latest release]: https://github.com/paritytrading/nassau/releases/latest Usage ----- Run Nassau BinaryFILE Performance Test with Java: java -jar nassau-binaryfile-perf-test.jar <input-file> The command line options are as follows: - `<input-file>`: ...
[latest release]: https://github.com/paritytrading/nassau/releases/latest Usage ----- Run Nassau BinaryFILE Performance Test with Java: java -jar nassau-binaryfile-perf-test.jar <input-file> The command line arguments are as follows: - `<input-file>`: The input file. The application reads messages from the ...
<|file_sep|>original/tests/binaryfile-perf-test/README.md [latest release]: https://github.com/paritytrading/nassau/releases/latest Usage ----- Run Nassau BinaryFILE Performance Test with Java: java -jar nassau-binaryfile-perf-test.jar <input-file> The command line options are as follows: - `<input-file>`: ...
e1adfae693d827962b5bae8ccde98d72babe4836
tests/binaryfile-perf-test/README.md
tests/binaryfile-perf-test/README.md
Markdown
<|file_sep|>original/Gruntfile.js options: { config: 'public/css/.csscomb.json' }, build: { src: 'public/css/style.css', dest: 'public/css/style.css' } }, jekyll: { serve: { dest: '_site' } }, watch: { ...
options: { config: 'public/css/.csscomb.json' }, build: { src: 'public/css/style.css', dest: 'public/css/style.css' } }, jekyll: { options: { drafts: true }, serve: { dest: '_site' } }, ...
<|file_sep|>original/Gruntfile.js options: { config: 'public/css/.csscomb.json' }, build: { src: 'public/css/style.css', dest: 'public/css/style.css' } }, jekyll: { serve: { dest: '_site' } }, watch: { ...
818fb06a4215a6c4ef1b3d46d5d91836f1293fb6
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/cloudbuild_library_tests.yaml steps: - # Check that we can install important libraries without error name: gcr.io/gcp-runtimes/structure_test:latest args: [ '-i', '${_DOCKER_NAMESPACE}/python:${_TAG}', '--config', '/workspace/tests/python2-libraries/python2-libraries.yaml', '--confi...
timeout: 1800s steps: - # Check that we can install important libraries without error name: gcr.io/gcp-runtimes/structure_test:latest args: [ '-i', '${_DOCKER_NAMESPACE}/python:${_TAG}', '--config', '/workspace/tests/python2-libraries/python2-libraries.yaml', '--config', '/workspace/tests/python3-librar...
<|file_sep|>original/cloudbuild_library_tests.yaml steps: - # Check that we can install important libraries without error name: gcr.io/gcp-runtimes/structure_test:latest args: [ '-i', '${_DOCKER_NAMESPACE}/python:${_TAG}', '--config', '/workspace/tests/python2-libraries/python2-libraries.yaml', '--confi...
62e80bf702e3568df0d03646334bbe1799722d21
cloudbuild_library_tests.yaml
cloudbuild_library_tests.yaml
YAML
<|file_sep|>original/regtests/util-properties-form-tests.adb <|file_sep|>current/regtests/util-properties-form-tests.adb <|file_sep|>updated/regtests/util-properties-form-tests.adb
----------------------------------------------------------------------- -- util-properties-form-tests -- Test reading JSON file into properties -- Copyright (C) 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
<|file_sep|>original/regtests/util-properties-form-tests.adb <|file_sep|>current/regtests/util-properties-form-tests.adb <|file_sep|>updated/regtests/util-properties-form-tests.adb ----------------------------------------------------------------------- -- util-properties-form-tests -- Test reading JSON file into pro...
732dd630adec0c350cc988743f6fa08efb2d87e8
regtests/util-properties-form-tests.adb
regtests/util-properties-form-tests.adb
Ada
<|file_sep|>web/resources/templates/appraisal_debug.html.diff original: <table class="table table-condensed table-striped"> <tr class="header"> <td>#</td> <td>parser</td> <td></td> </tr> updated: <table class="table table-condensed table-striped raw-table"> ...
<th>#</th> <th>parser</th> <th></th> </tr> </thead> <tbody> {{range $line := .Page.Lines}} <tr class="{{if not $line.Parsed}}danger{{end}}"> <td style="padding: 0px 5px; vertical-align: middle;">{{$line.Number}}</td> ...
<|file_sep|>web/resources/templates/appraisal_debug.html.diff original: <table class="table table-condensed table-striped"> <tr class="header"> <td>#</td> <td>parser</td> <td></td> </tr> updated: <table class="table table-condensed table-striped raw-table"> ...
93d9e5f9ff1206c646ba717e8835c66baee58275
web/resources/templates/appraisal_debug.html
web/resources/templates/appraisal_debug.html
HTML
<|file_sep|>original/setup.py --------------- Provides flat static pages to a Flask application, based on text files as opposed to a relationnal database. """ from setuptools import setup setup( name='Flask-FlatPages', version='0.1', url='http://exyr.org/Flask-FlatPages/', license='BSD', author='...
--------------- Provides flat static pages to a Flask application, based on text files as opposed to a relationnal database. """ from setuptools import setup setup( name='Flask-FlatPages', version='0.1dev', url='http://exyr.org/Flask-FlatPages/', license='BSD', author='Simon Sapin', author_em...
<|file_sep|>original/setup.py --------------- Provides flat static pages to a Flask application, based on text files as opposed to a relationnal database. """ from setuptools import setup setup( name='Flask-FlatPages', version='0.1', url='http://exyr.org/Flask-FlatPages/', license='BSD', author='...
173f59cbaa945ea949905981538ddb3e8e836b55
setup.py
setup.py
Python
<|file_sep|>original/lib/generators/rails/templates/representer.rb module <%= class_name %>Representer include Roar::Representer::<%= format %> <% property_options.each do |property| %> <%= property -%> <% end %> end <|file_sep|>current/lib/generators/rails/templates/representer.rb module <%= class_name %>Repre...
module <%= class_name %>Representer include Roar::<%= format %> <% property_options.each do |property| %> <%= property -%> <% end %> end
<|file_sep|>original/lib/generators/rails/templates/representer.rb module <%= class_name %>Representer include Roar::Representer::<%= format %> <% property_options.each do |property| %> <%= property -%> <% end %> end <|file_sep|>current/lib/generators/rails/templates/representer.rb module <%= class_name %>Repre...
284a409bd65d43ae163afa52e7879270292c4c35
lib/generators/rails/templates/representer.rb
lib/generators/rails/templates/representer.rb
Ruby
<|file_sep|>original/README.md ``` export SETTINGS='config.DevelopmentConfig' export LRS_URL= export LRS_USER= export LRS_PASS= ``` Once that this all done you can: ``` python manage.py server ``` Deployment ---------- In your production environment, make sure the ``SETTINGS`` environment variable is set to ``confi...
``` export SETTINGS='config.DevelopmentConfig' export LRS_URL= export LRS_USER= export LRS_PASS= ``` Once that this all done you can: ``` ./run.sh ``` or ``` python manage.py server ``` Deployment ----------
<|file_sep|>original/README.md ``` export SETTINGS='config.DevelopmentConfig' export LRS_URL= export LRS_USER= export LRS_PASS= ``` Once that this all done you can: ``` python manage.py server ``` Deployment ---------- In your production environment, make sure the ``SETTINGS`` environment variable is set to ``confi...
29bd676e30a8218400c63cc7492c037baef8ed93
README.md
README.md
Markdown
<|file_sep|>original/_posts/2017-11-30-cockpit-157.md Cockpit is the [modern Linux admin interface](http://cockpit-project.org/). We release regularly. Here are the release notes from version 157. ### Virtual Machine network devices The Machines page overview lists all libvirt defined virtual machines, which now hav...
Cockpit is the [modern Linux admin interface](http://cockpit-project.org/). We release regularly. Here are the release notes from version 157. ### Virtual Machine network devices The Machines page overview lists all libvirt defined virtual machines, which now have a "Networks" tab. This shows the virtual machine's n...
<|file_sep|>original/_posts/2017-11-30-cockpit-157.md Cockpit is the [modern Linux admin interface](http://cockpit-project.org/). We release regularly. Here are the release notes from version 157. ### Virtual Machine network devices The Machines page overview lists all libvirt defined virtual machines, which now hav...
dfe46b5cd2e3fc6462086364f09d88a176f579d5
_posts/2017-11-30-cockpit-157.md
_posts/2017-11-30-cockpit-157.md
Markdown
<|file_sep|>original/examples/qwerty_to_dvorak.json <|file_sep|>current/examples/qwerty_to_dvorak.json <|file_sep|>updated/examples/qwerty_to_dvorak.json
{ "profiles": [ { "name": "Default profile", "selected": true, "simple_modifications": { "q": "quote", "w": "comma", "e": "period", "r": "p", "t": "y", "y": "f", ...
<|file_sep|>original/examples/qwerty_to_dvorak.json <|file_sep|>current/examples/qwerty_to_dvorak.json <|file_sep|>updated/examples/qwerty_to_dvorak.json { "profiles": [ { "name": "Default profile", "selected": true, "simple_modifications": { "q": "quote...
efd073a7d4b211b44f504e5a035a14f4d79a1c06
examples/qwerty_to_dvorak.json
examples/qwerty_to_dvorak.json
JSON
<|file_sep|>original/Sensor/Photon/README.md #Intro [Particle Photon](https://www.particle.io/) is cloud based microcontroller. It means that sketch compilation and flashing are executed in cloud. #How to use There is a good official [manual](https://docs.particle.io/guide/getting-started/intro/photon/). In order to u...
#Intro [Particle Photon](https://www.particle.io/) is cloud based microcontroller. It means that sketch compilation and flashing are executed in cloud. #How to use There is a good official [manual](https://docs.particle.io/guide/getting-started/intro/photon/). In order to use this project it's recommended to read at l...
<|file_sep|>original/Sensor/Photon/README.md #Intro [Particle Photon](https://www.particle.io/) is cloud based microcontroller. It means that sketch compilation and flashing are executed in cloud. #How to use There is a good official [manual](https://docs.particle.io/guide/getting-started/intro/photon/). In order to u...
3caa6b3f03947d87b52f691509f6df2e095df692
Sensor/Photon/README.md
Sensor/Photon/README.md
Markdown
<|file_sep|>ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt.diff original: updated: import io.ktor.server.netty.* <|file_sep|>original/ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt import java.util.concurrent.* private const val DEFAULT_PORT: Int = 8080 ...
import java.io.* import java.util.concurrent.* private const val DEFAULT_PORT: Int = 8080 private const val HTTP_PROXY_PORT: Int = 8082 internal fun startServer(): Closeable { val logger = LoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME) as ch.qos.logback.classic.Logger logger.level = Level.WARN ...
<|file_sep|>ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt.diff original: updated: import io.ktor.server.netty.* <|file_sep|>original/ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt import java.util.concurrent.* private const val DEFAULT_PORT: Int = 8080 ...
a44efeac4f3c36a319b90ac3c71490259d26810e
ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt
ktor-client/ktor-client-tests/jvm/src/io/ktor/client/tests/utils/TestServer.kt
Kotlin
<|file_sep|>original/scripts/install-protoc.sh #!/bin/bash set -ex pushd ~/ wget https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-osx-x86_64.zip unzip protoc-3.5.1-osx-x86_64.zip popd <|file_sep|>current/scripts/install-protoc.sh #!/bin/bash set -ex pushd ~/ wget https://github.com/google/protob...
#!/bin/bash set -ex pushd ~/ wget https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip unzip protoc-3.5.1-linux-x86_64.zip popd
<|file_sep|>original/scripts/install-protoc.sh #!/bin/bash set -ex pushd ~/ wget https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-osx-x86_64.zip unzip protoc-3.5.1-osx-x86_64.zip popd <|file_sep|>current/scripts/install-protoc.sh #!/bin/bash set -ex pushd ~/ wget https://github.com/google/protob...
99929883e1e016d5d78e130aabece1411ef2adac
scripts/install-protoc.sh
scripts/install-protoc.sh
Shell
<|file_sep|>original/test/test_helper.rb ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completi...
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class ActiveSupport::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test da...
<|file_sep|>original/test/test_helper.rb ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completi...
0cceffe7ac49ee1e1846b7f6c897e8bbbee87279
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>res/xml/analog_appwidget.xml.diff original: android:minWidth="110dip" android:minHeight="110dip" android:updatePeriodMillis="0" updated: android:initialLayout="@layout/analog_appwidget" android:minHeight="110dp" android:minResizeHeight="55dp" android:minResizeWidth="55dp" and...
you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, W...
<|file_sep|>res/xml/analog_appwidget.xml.diff original: android:minWidth="110dip" android:minHeight="110dip" android:updatePeriodMillis="0" updated: android:initialLayout="@layout/analog_appwidget" android:minHeight="110dp" android:minResizeHeight="55dp" android:minResizeWidth="55dp" and...
fb227645002f8dc3ec30a81d87e6d4dcd3f37322
res/xml/analog_appwidget.xml
res/xml/analog_appwidget.xml
XML
<|file_sep|>original/.travis.yml notifications: email: false sudo: false language: ruby rvm: - 2.3.4 - 2.4.1 - ruby-head before_install: gem install bundler script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml notifications: email: false sudo: false language: ruby rvm: - 2.3...
notifications: email: false sudo: false language: ruby rvm: - 2.3.4 - 2.4.1 - 2.5.0 - ruby-head before_install: gem install bundler script: - bundle exec rspec - bundle exec rubocop
<|file_sep|>original/.travis.yml notifications: email: false sudo: false language: ruby rvm: - 2.3.4 - 2.4.1 - ruby-head before_install: gem install bundler script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml notifications: email: false sudo: false language: ruby rvm: - 2.3...
33cf947e72cf85b28ca6962fd68e473f6b1e4a67
.travis.yml
.travis.yml
YAML
<|file_sep|>original/recipes/tryceratops/meta.yaml build: number: 0 noarch: python entry_points: - tryceratops = tryceratops.__main__:main script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.8 run: - click >=7 - python >=3.8 - toml >=0.10.2 test: imp...
build: number: 0 noarch: python entry_points: - tryceratops = tryceratops.__main__:main script: {{ PYTHON }} -m pip install . -vv requirements: host: - flit-core - pip - python >=3.8 run: - click >=7 - python >=3.8 - toml >=0.10.2 test: imports: - tryceratops
<|file_sep|>original/recipes/tryceratops/meta.yaml build: number: 0 noarch: python entry_points: - tryceratops = tryceratops.__main__:main script: {{ PYTHON }} -m pip install . -vv requirements: host: - pip - python >=3.8 run: - click >=7 - python >=3.8 - toml >=0.10.2 test: imp...
fe936bff1c0cae5a2ebedc0e7d350cdd7b0f2d80
recipes/tryceratops/meta.yaml
recipes/tryceratops/meta.yaml
YAML
<|file_sep|>original/chrome/browser/resources/options2/password_manager.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #password-manager > div.content-area { min-width: 500px; } #password...
/* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #password-manager { max-width: 1000px; } #password-manager > div.content-area { min-width: 500px; } #password-search-column { bottom: 10px...
<|file_sep|>original/chrome/browser/resources/options2/password_manager.css /* Copyright (c) 2012 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #password-manager > div.content-area { min-width: 500px; } #password...
e4dc1fb4adb50284e793fd0e2dce25e25afc88dc
chrome/browser/resources/options2/password_manager.css
chrome/browser/resources/options2/password_manager.css
CSS
<|file_sep|>original/manifest-generation/bosh2.0/overrides/no-broker.yml --- - type: replace path: /instance_groups/name=broker/instances value: 0 <|file_sep|>current/manifest-generation/bosh2.0/overrides/no-broker.yml --- - type: replace path: /instance_groups/name=broker/instances value: 0 <|file_sep|>updated...
--- - type: remove path: /instance_groups/name=broker - type: remove path: /instance_groups/name=broker-registrar - type: remove path: /instance_groups/name=broker-deregistrar - type: remove path: /properties/cf_mysql/broker
<|file_sep|>original/manifest-generation/bosh2.0/overrides/no-broker.yml --- - type: replace path: /instance_groups/name=broker/instances value: 0 <|file_sep|>current/manifest-generation/bosh2.0/overrides/no-broker.yml --- - type: replace path: /instance_groups/name=broker/instances value: 0 <|file_sep|>updated...
962774150f059b5c1cfcbf4ed11c7f6c42c4fc0e
manifest-generation/bosh2.0/overrides/no-broker.yml
manifest-generation/bosh2.0/overrides/no-broker.yml
YAML
<|file_sep|>original/resources/iam/access_key.go }, Properties: Properties{ "Serial": Schema{ Type: ValueNumber, }, "Status": Schema{ Type: EnumValue{ Description: "Status", Options: []string{"Active", "Inactive"}, }, Required: constraints.Always, }, "UserName": Schema{ Type: ...
}, Properties: Properties{ "Serial": Schema{ Type: ValueNumber, }, "Status": Schema{ Type: EnumValue{ Description: "Status", Options: []string{"Active", "Inactive"}, }, Default: "Active", }, "UserName": Schema{ Type: ValueString, Required: constraints.Always, }, }, }
<|file_sep|>original/resources/iam/access_key.go }, Properties: Properties{ "Serial": Schema{ Type: ValueNumber, }, "Status": Schema{ Type: EnumValue{ Description: "Status", Options: []string{"Active", "Inactive"}, }, Required: constraints.Always, }, "UserName": Schema{ Type: ...
f5babce21c18273d9c71a4d3b2f19d63e61005f1
resources/iam/access_key.go
resources/iam/access_key.go
Go
<|file_sep|>original/layouts/index.html {{ partial "head.html" . }} <body> {{ partial "nav.html" . }} <div class="content"> <div class="home"> {{ if isset .Site.Params "headerText" }} <div class="call-out" style="background-image: url('{{ .Site.BaseURL }}/{{ .Site.Params.headerImage }}')"> {{ .S...
{{ partial "head.html" . }} <body> {{ partial "nav.html" . }} <div class="content"> <div class="home"> {{ if isset .Site.Params "headerText" }} <div class="call-out" style="background-image: url('{{ .Site.BaseURL }}/img/{{ .Site.Params.headerImage }}')"> {{ .Site.Params.headerText | markdownify ...
<|file_sep|>original/layouts/index.html {{ partial "head.html" . }} <body> {{ partial "nav.html" . }} <div class="content"> <div class="home"> {{ if isset .Site.Params "headerText" }} <div class="call-out" style="background-image: url('{{ .Site.BaseURL }}/{{ .Site.Params.headerImage }}')"> {{ .S...
b818e265b0e7bb0c8237458819d5d77084531284
layouts/index.html
layouts/index.html
HTML
<|file_sep|>original/tests/extensions/emfdomain/pom.xml <artifactId>extensions-tests</artifactId> <version>0.2.0-SNAPSHOT</version> <relativePath>../</relativePath> </parent> <artifactId>emf-tests</artifactId> <packaging>pom</packaging> <name>EMF Domain Test Modules</name> <repositories> <repository> <...
<artifactId>extensions-tests</artifactId> <version>0.2.0-SNAPSHOT</version> <relativePath>../</relativePath> </parent> <artifactId>emf-tests</artifactId> <packaging>pom</packaging> <name>EMF Domain Test Modules</name> <repositories> <repository> <id>Palladiosimulator</id> <layout>p2</layout> <url...
<|file_sep|>original/tests/extensions/emfdomain/pom.xml <artifactId>extensions-tests</artifactId> <version>0.2.0-SNAPSHOT</version> <relativePath>../</relativePath> </parent> <artifactId>emf-tests</artifactId> <packaging>pom</packaging> <name>EMF Domain Test Modules</name> <repositories> <repository> <...
50c8847b75b117acd2b726ad08dbb4fc072edaf4
tests/extensions/emfdomain/pom.xml
tests/extensions/emfdomain/pom.xml
XML
<|file_sep|>static/js/published.js.diff original: var $id_type = $('[id$=type]'); updated: var $id_type = $('#id_type'); <|file_sep|>static/js/published.js.diff original: $('[id$=periodical]').parents('.row').show(); $('[id$=date]').parents('.row').show(); $('[id$=event]').pa...
$('[id^="publishedinperiodical"]').parents('._inline-group').hide(); $('[id^="publishedinevent"]').parents('._inline-group').show(); } else{ $('[id^="publishedinperiodical"]').parents('._inline-group').hide(); $('[id^="publishedinevent"]').parents('._inline-group'...
<|file_sep|>static/js/published.js.diff original: var $id_type = $('[id$=type]'); updated: var $id_type = $('#id_type'); <|file_sep|>static/js/published.js.diff original: $('[id$=periodical]').parents('.row').show(); $('[id$=date]').parents('.row').show(); $('[id$=event]').pa...
c47a3890433f083df23a54d71fca9795c12f8c18
static/js/published.js
static/js/published.js
JavaScript
<|file_sep|>webpack.production.config.js.diff original: config.devtool = 'cheap-module-source-map'; updated: config.devtool = 'cheap-source-map'; <|file_sep|>webpack.production.config.js.diff original: // Replace less loader updated: // Remove style loader <|file_sep|>original/webpack.production.config.js // Replace le...
// Remove style loader Object.keys(config.module.loaders).forEach((key) => { if ({}.hasOwnProperty.call(config.module.loaders, key)) { const loader = config.module.loaders[key]; if ('.less'.match(loader.test)) { loader.loader = ExtractTextPlugin.extract( 'css-loader?sourceMap!' + 'less-l...
<|file_sep|>webpack.production.config.js.diff original: config.devtool = 'cheap-module-source-map'; updated: config.devtool = 'cheap-source-map'; <|file_sep|>webpack.production.config.js.diff original: // Replace less loader updated: // Remove style loader <|file_sep|>original/webpack.production.config.js // Replace le...
361998317f9ba9db5b4aa3b4193a1b277bd773de
webpack.production.config.js
webpack.production.config.js
JavaScript
<|file_sep|>original/js/main.js require(["api", "canvasdrawer", "settings"], function(api, canvasDrawer, settings) { var form = document.getElementById("api-form"); function makeRequest() { var messageElem = document.getElementById('message'); messageElem.innerText = "Loading..."; api.load(function() { can...
require(["api", "canvasdrawer", "settings"], function(api, canvasDrawer, settings) { var form = document.getElementById("api-form"); function makeRequest() { var messageElem = document.getElementById('message'); messageElem.innerHTML = "Loading..."; api.load(function() { canvasDrawer.draw(api.characters); ...
<|file_sep|>original/js/main.js require(["api", "canvasdrawer", "settings"], function(api, canvasDrawer, settings) { var form = document.getElementById("api-form"); function makeRequest() { var messageElem = document.getElementById('message'); messageElem.innerText = "Loading..."; api.load(function() { can...
ee72094ca13705b3216c9304bd3f2037cca3d7a3
js/main.js
js/main.js
JavaScript
<|file_sep|>config/software/datadog-gohai.rb.diff original: go_path "/var/cache/omnibus/src/datadog-gohai" updated: <|file_sep|>config/software/datadog-gohai.rb.diff original: "GOPATH" => go_path updated: "GOPATH" => "/var/cache/omnibus/src/datadog-gohai" <|file_sep|>original/config/software/datadog-gohai.rb name...
name "datadog-gohai" default_version "last-stable" always_build true env = { "GOROOT" => "/usr/local/go", "GOPATH" => "/var/cache/omnibus/src/datadog-gohai" } build do command "$GOROOT/bin/go get -d -u github.com/DataDog/gohai", :env => env command "git checkout #{default_version} && git pull", :env => env,...
<|file_sep|>config/software/datadog-gohai.rb.diff original: go_path "/var/cache/omnibus/src/datadog-gohai" updated: <|file_sep|>config/software/datadog-gohai.rb.diff original: "GOPATH" => go_path updated: "GOPATH" => "/var/cache/omnibus/src/datadog-gohai" <|file_sep|>original/config/software/datadog-gohai.rb name...
fb594a30a257a688cdb1a1e4f17de34b92e870a5
config/software/datadog-gohai.rb
config/software/datadog-gohai.rb
Ruby
<|file_sep|>bermann/rdd_test.py.diff original: # collect updated: def test_collect_empty_rdd_returns_empty_list(self): rdd = RDD() <|file_sep|>original/bermann/rdd_test.py def test_cache_is_noop(self): rdd = RDD([1, 2, 3]) cached = rdd.cache() self.assertEqual(rdd, cached) ...
def test_cache_is_noop(self): rdd = RDD([1, 2, 3]) cached = rdd.cache() self.assertEqual(rdd, cached) def test_collect_empty_rdd_returns_empty_list(self): rdd = RDD() self.assertEqual([], rdd.collect()) def test_collect_non_empty_rdd_returns_contents(self): ...
<|file_sep|>bermann/rdd_test.py.diff original: # collect updated: def test_collect_empty_rdd_returns_empty_list(self): rdd = RDD() <|file_sep|>original/bermann/rdd_test.py def test_cache_is_noop(self): rdd = RDD([1, 2, 3]) cached = rdd.cache() self.assertEqual(rdd, cached) ...
d792679461357fa17b1f852d7a72921aed2fe271
bermann/rdd_test.py
bermann/rdd_test.py
Python
<|file_sep|>original/lib/myhub.rb require "sinatra/base" require "httparty" require "pry" require "myhub/version" require "myhub/github" module Myhub class App < Sinatra::Base set :logging, true # Your code here ... run! if app_file == $0 end end <|file_sep|>current/lib/myhub.rb require "sinatra/bas...
require "pry" require "myhub/version" require "myhub/github" module Myhub class App < Sinatra::Base set :logging, true # Your code here ... get "/" do api = Github.new # get stuff from github erb :index, locals: { issues: stuff } end put "/issue/:id" do api = Github.new...
<|file_sep|>original/lib/myhub.rb require "sinatra/base" require "httparty" require "pry" require "myhub/version" require "myhub/github" module Myhub class App < Sinatra::Base set :logging, true # Your code here ... run! if app_file == $0 end end <|file_sep|>current/lib/myhub.rb require "sinatra/bas...
240c86b1182d4cf9c1bdb27c6644aa823ca23dee
lib/myhub.rb
lib/myhub.rb
Ruby