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/Formula/php53-inclued.rb <|file_sep|>current/Formula/php53-inclued.rb <|file_sep|>updated/Formula/php53-inclued.rb
require 'formula' class Php53Inclued < Formula homepage 'http://pecl.php.net/package/inclued' url 'http://pecl.php.net/get/inclued-0.1.3.tgz' md5 '303f6ddba800be23d0e06a7259b75a2e' version '0.1.3' head 'https://svn.php.net/repository/pecl/inclued/trunk', :using => :svn depends_on 'autoconf' => :build d...
<|file_sep|>original/Formula/php53-inclued.rb <|file_sep|>current/Formula/php53-inclued.rb <|file_sep|>updated/Formula/php53-inclued.rb require 'formula' class Php53Inclued < Formula homepage 'http://pecl.php.net/package/inclued' url 'http://pecl.php.net/get/inclued-0.1.3.tgz' md5 '303f6ddba800be23d0e06a7259b7...
c4709298cba605caac03d8d12ed35e930631f938
Formula/php53-inclued.rb
Formula/php53-inclued.rb
Ruby
<|file_sep|>original/lib/aozorasearch/web/views/layouts/application.haml !!! %html %head %meta(charset="UTF-8") %title= "#{page_title}" %meta(name="viewport" content="width=device-width" initial-scale="1.0") - if url_for(only_path: true) == "/" %meta(name="description" content="青空文庫の本文を検索できるサイト。...
!!! %html %head %meta(charset="UTF-8") %title= "#{page_title}" %meta(name="viewport" content="width=device-width" initial-scale="1.0") - if url_for(only_path: true) == "/" %meta(name="description" content="青空文庫の本文を検索できるサイト。キーワードの前後を部分表示します。著者やNDC、児童書、仮名遣い、著作権の有無などでの絞り込み機能付き。全文検索エンジンとしてGroongaを使用...
<|file_sep|>original/lib/aozorasearch/web/views/layouts/application.haml !!! %html %head %meta(charset="UTF-8") %title= "#{page_title}" %meta(name="viewport" content="width=device-width" initial-scale="1.0") - if url_for(only_path: true) == "/" %meta(name="description" content="青空文庫の本文を検索できるサイト。...
8c07df92a2acdb38898ed038a3e2a5b5dff05f0e
lib/aozorasearch/web/views/layouts/application.haml
lib/aozorasearch/web/views/layouts/application.haml
Haml
<|file_sep|>LICENSE.md.diff original: # The MIT License (MIT) updated: BSD 3-Clause License <|file_sep|>LICENSE.md.diff original: Copyright (c) 2016 Ellipse Synergie updated: Copyright (c) 2016, Optania Inc All rights reserved. <|file_sep|>original/LICENSE.md # The MIT License (MIT) Copyright (c) 2016 Ellipse Synergie...
BSD 3-Clause License Copyright (c) 2016, Optania Inc All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and...
<|file_sep|>LICENSE.md.diff original: # The MIT License (MIT) updated: BSD 3-Clause License <|file_sep|>LICENSE.md.diff original: Copyright (c) 2016 Ellipse Synergie updated: Copyright (c) 2016, Optania Inc All rights reserved. <|file_sep|>original/LICENSE.md # The MIT License (MIT) Copyright (c) 2016 Ellipse Synergie...
58adfa7c489345eba35cd37c29bdebde79747cb4
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>python/setup.py.diff original: updated: import os <|file_sep|>original/python/setup.py from setuptools import setup, find_packages setup( name='dex', version='0.0.1', description='A research language for typed, functional array processing', license='BSD', author='Adam Paszke', author_email='ap...
from setuptools import setup, find_packages import os # Check dex so file exists in dex directory. so_file = "libDex.so" dex_dir = os.path.join(os.path.dirname(__file__), 'dex') if not os.path.exists(os.path.join(dex_dir, so_file)): raise FileNotFoundError(f"{so_file} not found in dex/, " ...
<|file_sep|>python/setup.py.diff original: updated: import os <|file_sep|>original/python/setup.py from setuptools import setup, find_packages setup( name='dex', version='0.0.1', description='A research language for typed, functional array processing', license='BSD', author='Adam Paszke', author_email='ap...
ff39617b554d0feefc8d5518d33894e4c2e88941
python/setup.py
python/setup.py
Python
<|file_sep|>original/app/views/shared/actions/_choiceset.html.erb <%= link_to( fa_icon(:pencil), edit_catalog_admin_choice_set_path(model.catalog, I18n.locale, model), class: "btn btn-xs btn-outline-secondary choiceset-action-edit", "data-toggle" => "tooltip", "data-placement" ...
class: "btn btn-xs btn-outline-secondary choiceset-action-edit", "data-toggle" => "tooltip", "data-placement" => "top", "title" => t("edit") ) %> <%= deactivation_toggle( model, :catalog_admin_choice_set_path, model.catalog, I18n.locale, model )%...
<|file_sep|>original/app/views/shared/actions/_choiceset.html.erb <%= link_to( fa_icon(:pencil), edit_catalog_admin_choice_set_path(model.catalog, I18n.locale, model), class: "btn btn-xs btn-outline-secondary choiceset-action-edit", "data-toggle" => "tooltip", "data-placement" ...
690c1aa7be832a5c24267e238e3ed86fb18b7f4a
app/views/shared/actions/_choiceset.html.erb
app/views/shared/actions/_choiceset.html.erb
HTML+ERB
<|file_sep|>original/wal_e/blobstore/s3/s3_credentials.py variables, and so on). As-is that precedence and detection code is in one big ream, and so a method override and some internal symbols are used to excise most of that cleverness. Also take this opportunity to inject a WAL-E-friendly exception t...
variables, and so on). As-is that precedence and detection code is in one big ream, and so a method override and some internal symbols are used to excise most of that cleverness. Also take this opportunity to inject a WAL-E-friendly exception to help the user with missing keys. """ def g...
<|file_sep|>original/wal_e/blobstore/s3/s3_credentials.py variables, and so on). As-is that precedence and detection code is in one big ream, and so a method override and some internal symbols are used to excise most of that cleverness. Also take this opportunity to inject a WAL-E-friendly exception t...
97f84c2e7643e295623ccd09d1b447d405fd5bfa
wal_e/blobstore/s3/s3_credentials.py
wal_e/blobstore/s3/s3_credentials.py
Python
<|file_sep|>src/app/Policies/ReportTokenPolicy.php.diff original: updated: <|file_sep|>original/src/app/Policies/ReportTokenPolicy.php /** * Can $user view the full list of reportTokens? * * @param User $user * @return bool */ public function index(User $user) { return fal...
* Can $user view the full list of reportTokens? * * @param User $user * @return bool */ public function index(User $user) { return false; // admin only } /** * Can user view the ReportToken's URL? * * @param User $user * @return bool */ publ...
<|file_sep|>src/app/Policies/ReportTokenPolicy.php.diff original: updated: <|file_sep|>original/src/app/Policies/ReportTokenPolicy.php /** * Can $user view the full list of reportTokens? * * @param User $user * @return bool */ public function index(User $user) { return fal...
88900112b6bdc60749084a48f324444a8b86fe37
src/app/Policies/ReportTokenPolicy.php
src/app/Policies/ReportTokenPolicy.php
PHP
<|file_sep|>original/contrib/jenkins_oct.sh <|file_sep|>current/contrib/jenkins_oct.sh <|file_sep|>updated/contrib/jenkins_oct.sh
#!/usr/bin/env bash set -ex rm -rf deps/install mkdir deps || true cd deps # Get the headers.. git clone git://git.osmocom.org/openbsc || true cd openbsc git pull --rebase # Build the dependency cd ../ # Analysis code osmo-deps.sh osmo-static-analysis osmo-deps.sh libosmocore
<|file_sep|>original/contrib/jenkins_oct.sh <|file_sep|>current/contrib/jenkins_oct.sh <|file_sep|>updated/contrib/jenkins_oct.sh #!/usr/bin/env bash set -ex rm -rf deps/install mkdir deps || true cd deps # Get the headers.. git clone git://git.osmocom.org/openbsc || true cd openbsc git pull --rebase # Build the...
b61850248adbf717eb323d9ce7a17a817c302544
contrib/jenkins_oct.sh
contrib/jenkins_oct.sh
Shell
<|file_sep|>original/requirements.txt Django South django-crispy-forms django-nose # Force the 1.7 compatible version of django-registration until the # pypi situation gets sorted out. django-registration-redux pillow pyLibravatar pydns pytz requests markdown django-medusa # markitup 2.2 breaks on python 2 with module ...
Django South django-crispy-forms django-nose django-registration-redux pillow pyLibravatar pydns pytz requests markdown django-medusa # markitup 2.2 breaks on python 2 with module level imports, which we # need to use for markdown, so avoid using that django-markitup<=2.1,>2.2
<|file_sep|>original/requirements.txt Django South django-crispy-forms django-nose # Force the 1.7 compatible version of django-registration until the # pypi situation gets sorted out. django-registration-redux pillow pyLibravatar pydns pytz requests markdown django-medusa # markitup 2.2 breaks on python 2 with module ...
5d0ace12fdb78395ab3cea081b386c2792539bcf
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/gitlactica/repo_complexity.rb module Gitlactica module RepoComplexity KNOWN_EXTENSIONS = %w(js rb) def self.for_tree(tree) blobs = tree.blobs.select { |blob| interesting_blob?(blob) } total = blobs.map(&:size).inject(:+) count = blobs.count (total / count).rou...
module Gitlactica module RepoComplexity KNOWN_EXTENSIONS = %w(c cc cpp cxx h hs java js m php pl py rb) def self.for_tree(tree) blobs = tree.blobs.select { |blob| interesting_blob?(blob) } total = blobs.map(&:size).inject(:+) count = blobs.count (total / count).round end priv...
<|file_sep|>original/lib/gitlactica/repo_complexity.rb module Gitlactica module RepoComplexity KNOWN_EXTENSIONS = %w(js rb) def self.for_tree(tree) blobs = tree.blobs.select { |blob| interesting_blob?(blob) } total = blobs.map(&:size).inject(:+) count = blobs.count (total / count).rou...
fa2410ccc3e97678c4ca38e8b6aeaaa3eb8fb51d
lib/gitlactica/repo_complexity.rb
lib/gitlactica/repo_complexity.rb
Ruby
<|file_sep|>app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java.diff original: updated: import android.content.Context; <|file_sep|>app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java.diff original: protecte...
import android.content.Context; import android.util.Log; import org.cyanogenmod.launcher.home.api.cards.DataCard; import org.cyanogenmod.launcher.home.api.receiver.CmHomeCardChangeReceiver; /** * An extension of CmHomeCardChangeReceiver, that implements the callback for * when a card is deleted. */ public class C...
<|file_sep|>app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java.diff original: updated: import android.content.Context; <|file_sep|>app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java.diff original: protecte...
3f4df8fdcb12689afec4e8e81bd7511e9b84966a
app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java
app/src/main/java/org/cyanogenmod/launcher/home/api/sdkexample/receiver/CardDeletedBroadcastReceiver.java
Java
<|file_sep|>package.json.diff original: "grunt": "^0.4.5", "grunt-browserify": "*", updated: <|file_sep|>package.json.diff original: "minifyify": "*", updated: <|file_sep|>package.json.diff original: "blanket": "^1.1.6", "browserify": "^5.9.1", "cli-table": "^0.3.0", updated: <|file_sep|>pack...
"bessel": "0.2.0" }, "devDependencies": { "istanbul": "*", "mocha": "*", "should": "*", "coveralls": "^2.11.1", "jshint": "^2.5.2", "mocha-lcov-reporter": "0.0.1", "blanket": "^1.1.6", "cli-table": "^0.3.0", "mocha-spec-cov": "0.0.3", "webpack": "^1.4.0" }, "config": ...
<|file_sep|>package.json.diff original: "grunt": "^0.4.5", "grunt-browserify": "*", updated: <|file_sep|>package.json.diff original: "minifyify": "*", updated: <|file_sep|>package.json.diff original: "blanket": "^1.1.6", "browserify": "^5.9.1", "cli-table": "^0.3.0", updated: <|file_sep|>pack...
01a69a01043024c49362d761147317dd2101d0d1
package.json
package.json
JSON
<|file_sep|>original/package.json "repository" : { "type" : "git", "url" : "git://github.com/sarenji/solid.git" }, "devDependencies": { "coffee-script": "1.1.x", "haml" : "*", "jade" : "*", "sass" : "*", "should": "0.3.x", "mocha": "0.3.x" }, "scripts": { "test": "mocha", ...
"repository" : { "type" : "git", "url" : "git://github.com/sarenji/solid.git" }, "devDependencies": { "coffee-script": "1.1.x", "haml" : "*", "jade" : "*", "sass" : "*", "should": "0.3.x", "mocha": "1.0.x" }, "scripts": { "test": "mocha", "prepublish": "git stash && cof...
<|file_sep|>original/package.json "repository" : { "type" : "git", "url" : "git://github.com/sarenji/solid.git" }, "devDependencies": { "coffee-script": "1.1.x", "haml" : "*", "jade" : "*", "sass" : "*", "should": "0.3.x", "mocha": "0.3.x" }, "scripts": { "test": "mocha", ...
830ddd13b0eb7a0e7081790442b8f67b70dc4a85
package.json
package.json
JSON
<|file_sep|>original/requirements_dev.txt numpy==1.14.5 pandas==0.23.3 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==4.1.0 pexpect==4.6.0 Pillow==5.2.0 protobuf==3.6.0 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.0.0 scipy==1.1.0 seaborn==0.8.1 Sphinx==1.7.5 stevedore==1.28.0 tornado==5.0.2 h5py==2.8.0 reco...
numpy==1.14.5 pandas==0.23.3 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==4.1.0 pexpect==4.6.0 Pillow==5.2.0 protobuf==3.6.0 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.0.0 scipy==1.1.0 seaborn==0.8.1 Sphinx==1.7.5 stevedore==1.28.0 tornado==5.1 h5py==2.8.0 recommonmark==0.4.0 pytest-flake8==1.0.1 tensorf...
<|file_sep|>original/requirements_dev.txt numpy==1.14.5 pandas==0.23.3 pandocfilters==1.4.2 pathlib2==2.3.2 pbr==4.1.0 pexpect==4.6.0 Pillow==5.2.0 protobuf==3.6.0 Pygments==2.2.0 python-dateutil==2.7.3 PyYAML==4.1 pyzmq==17.0.0 scipy==1.1.0 seaborn==0.8.1 Sphinx==1.7.5 stevedore==1.28.0 tornado==5.0.2 h5py==2.8.0 reco...
acd3ee7d73709e35f564393fcdcf0213a36abd53
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>clash.gemspec.diff original: spec.files = `git ls-files -z`.split("\x0") updated: spec.files = `git ls-files -z`.split("\x0").grep(%r{(bin|lib)/}) <|file_sep|>original/clash.gemspec spec.version = Clash::VERSION spec.authors = ["Brandon Mathis"] spec.email = ["b...
spec.version = Clash::VERSION spec.authors = ["Brandon Mathis"] spec.email = ["brandon@imathis.com"] spec.summary = %q{A diff based testing framework for static sites.} spec.description = %q{A diff based testing framework for static sites.} spec.homepage = "https://github.co...
<|file_sep|>clash.gemspec.diff original: spec.files = `git ls-files -z`.split("\x0") updated: spec.files = `git ls-files -z`.split("\x0").grep(%r{(bin|lib)/}) <|file_sep|>original/clash.gemspec spec.version = Clash::VERSION spec.authors = ["Brandon Mathis"] spec.email = ["b...
cc8cb7f193dcd599b4e095bc2d05d9156263c905
clash.gemspec
clash.gemspec
Ruby
<|file_sep|>original/.travis.yml language: java jdk: - openjdk7 script: - ./build-travis.sh - ./bundle.sh $TRAVIS_BUILD_NUMBER - ./publish-mvn.sh $TRAVIS_BUILD_NUMBER sudo: false deploy: provider: s3 access_key_id: AKIAJGDNLDUHILTARBTA secret_access_key: secure: esYEUi03l6XNFYDP+tZ0pE0SNSvb5rMmnmKeytL/UnYX72a...
provider: s3 access_key_id: AKIAJGDNLDUHILTARBTA secret_access_key: secure: esYEUi03l6XNFYDP+tZ0pE0SNSvb5rMmnmKeytL/UnYX72aWhyxNaOohDwr+LxgxcfJDSI9AEjjpl6iyHwLMwSYnUL4+SSRtUnbIlQlF4seMDOEstpHwjX01Myzltd8907pjM7kBwNTOO+eWme/5OxBy8JOwlJaL1vV06/xvl+U= bucket: omny-cms-releases skip_cleanup: true local-dir:...
<|file_sep|>original/.travis.yml language: java jdk: - openjdk7 script: - ./build-travis.sh - ./bundle.sh $TRAVIS_BUILD_NUMBER - ./publish-mvn.sh $TRAVIS_BUILD_NUMBER sudo: false deploy: provider: s3 access_key_id: AKIAJGDNLDUHILTARBTA secret_access_key: secure: esYEUi03l6XNFYDP+tZ0pE0SNSvb5rMmnmKeytL/UnYX72a...
65ad925072033fc38fb6ad3ffcc986f15e57b27c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/rbattlenet/endpoints/base.rb module RBattlenet module Endpoints class Base SUPPORTED_FIELDS = [:itself] def self.all raise RBattlenet::Errors::IndexNotSupported.new unless defined?(index_path) RBattlenet.get [[[[:itself, index_path]], :index]] {} end ...
module RBattlenet module Endpoints class Base SUPPORTED_FIELDS = [:itself] def self.all raise RBattlenet::Errors::IndexNotSupported.new unless defined?(index_path) RBattlenet.get [[[[:itself, index_path]], :index]] do yield if block_given? end end def se...
<|file_sep|>original/lib/rbattlenet/endpoints/base.rb module RBattlenet module Endpoints class Base SUPPORTED_FIELDS = [:itself] def self.all raise RBattlenet::Errors::IndexNotSupported.new unless defined?(index_path) RBattlenet.get [[[[:itself, index_path]], :index]] {} end ...
7da1e6a577ef20e30d69e049c392d2559ab244d4
lib/rbattlenet/endpoints/base.rb
lib/rbattlenet/endpoints/base.rb
Ruby
<|file_sep|>original/README.md http://sourceforge.net/projects/opencvlibrary/files/opencv-android/ eg. adb install OpenCV-android-sdk/apk/OpenCV_3.1.0_Manager_3.10_x86.apk Make sure to pick the right architecture apk for the target device ### Install the application (debug works fine): ./gradlew installDebu...
eg. adb install OpenCV-android-sdk/apk/OpenCV_3.1.0_Manager_3.10_x86.apk Make sure to pick the right architecture apk for the target device ### Install the application (debug works fine): ./gradlew installDebug ### Launch the application: adb shell am instrument -w efokschaner.infinityloopsolver/.Solv...
<|file_sep|>original/README.md http://sourceforge.net/projects/opencvlibrary/files/opencv-android/ eg. adb install OpenCV-android-sdk/apk/OpenCV_3.1.0_Manager_3.10_x86.apk Make sure to pick the right architecture apk for the target device ### Install the application (debug works fine): ./gradlew installDebu...
1fb3002db7fd06997bc82b2b54a349228019f6b7
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml # Travis CI configuration file. language: php # 5.4 is required for Codeception. php: - 5.4 - 5.5 - 5.6 - 7.0 env: - WP_VERSION=master - WP_VERSION=4.5 - WP_VERSION=4.4 # Use the new container-based infrastructure (it's faster). sudo: false matrix: i...
# Travis CI configuration file. language: php # 5.4 is required for Codeception. php: - 5.6 - 7.0 env: - WP_VERSION=master - WP_VERSION=4.5 - WP_VERSION=4.4 # Use the new container-based infrastructure (it's faster). sudo: false matrix: include: # Only run HHVM against trunk. ...
<|file_sep|>original/.travis.yml # Travis CI configuration file. language: php # 5.4 is required for Codeception. php: - 5.4 - 5.5 - 5.6 - 7.0 env: - WP_VERSION=master - WP_VERSION=4.5 - WP_VERSION=4.4 # Use the new container-based infrastructure (it's faster). sudo: false matrix: i...
f8882ab423b913f2b66e53ff6f39b2728969d580
.travis.yml
.travis.yml
YAML
<|file_sep|>python/src/setup.py.diff original: version="1.9.0.0", updated: version="1.9.5.0", <|file_sep|>original/python/src/setup.py # pylint: disable=g-import-not-at-top import setuptools # To debug, set DISTUTILS_DEBUG env var to anything. setuptools.setup( name="GoogleAppEngineMapReduce", version...
# pylint: disable=g-import-not-at-top import setuptools # To debug, set DISTUTILS_DEBUG env var to anything. setuptools.setup( name="GoogleAppEngineMapReduce", version="1.9.5.0", packages=setuptools.find_packages(), author="Google App Engine", author_email="app-engine-pipeline-api@googlegroups.com...
<|file_sep|>python/src/setup.py.diff original: version="1.9.0.0", updated: version="1.9.5.0", <|file_sep|>original/python/src/setup.py # pylint: disable=g-import-not-at-top import setuptools # To debug, set DISTUTILS_DEBUG env var to anything. setuptools.setup( name="GoogleAppEngineMapReduce", version...
80025b77f42813a840533050331972d66febeb04
python/src/setup.py
python/src/setup.py
Python
<|file_sep|>original/popup-app/components/NoParent.js import React from 'react' const NoParent = ({ appName }) => ( <div> This window was opened to log you in to{' '} <span className="app-name">{appName}</span>, but that app is no longer open. You can close this window. </div> ) export default NoParen...
import React from 'react' const NoParent = ({ appName }) => ( <div> <p> This window was opened to log you in to{' '} <span className="app-name">{appName}</span>, but that app is no longer open. </p> <p> If you're trying to log in to <span className="app-name">{appName}</span>, ...
<|file_sep|>original/popup-app/components/NoParent.js import React from 'react' const NoParent = ({ appName }) => ( <div> This window was opened to log you in to{' '} <span className="app-name">{appName}</span>, but that app is no longer open. You can close this window. </div> ) export default NoParen...
b67b6132bf3b7a8418f1cea7671854b93c5fef15
popup-app/components/NoParent.js
popup-app/components/NoParent.js
JavaScript
<|file_sep|>original/tuskar_ui/infrastructure/history/views.py # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License....
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from horizon import tables as horizon_tables from tuskar_ui import api from tuskar_ui.infrastructure.history import tables class IndexVie...
<|file_sep|>original/tuskar_ui/infrastructure/history/views.py # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License....
e21693f8c08e805421cc9b207dd901ed0fcd85a7
tuskar_ui/infrastructure/history/views.py
tuskar_ui/infrastructure/history/views.py
Python
<|file_sep|>original/.travis.yml sudo: false language: scala scala: - 2.10.7 - 2.11.12 - 2.12.9 - 2.13.0 jdk: - oraclejdk8 - oraclejdk11 - openjdk11 script: - java -version - sbt test <|file_sep|>current/.travis.yml sudo: false language: scala scala: - 2.10.7 - 2.11.12 - 2.12.9 - 2.13.0 j...
sudo: false language: scala scala: - 2.10.7 - 2.11.12 - 2.12.9 - 2.13.0 jdk: - openjdk8 - oraclejdk11 - openjdk11 script: - java -version - sbt test
<|file_sep|>original/.travis.yml sudo: false language: scala scala: - 2.10.7 - 2.11.12 - 2.12.9 - 2.13.0 jdk: - oraclejdk8 - oraclejdk11 - openjdk11 script: - java -version - sbt test <|file_sep|>current/.travis.yml sudo: false language: scala scala: - 2.10.7 - 2.11.12 - 2.12.9 - 2.13.0 j...
ca9d944de9ac80428cb0347a4f3fc05bc3c801ae
.travis.yml
.travis.yml
YAML
<|file_sep|>original/common/models/major.json "code": { "type": "string", "required": true }, "name": { "type": "string", "required": true } }, "validations": [], "relations": { "companies": { "type": "hasMany", "model": "Company", "foreignKey": "compa...
"type": "string", "required": true }, "name": { "type": "string", "required": true } }, "validations": [], "relations": { "college": { "type": "belongsTo", "model": "College", "foreignKey": "" }, "companies": { "type": "hasMany", "model...
<|file_sep|>original/common/models/major.json "code": { "type": "string", "required": true }, "name": { "type": "string", "required": true } }, "validations": [], "relations": { "companies": { "type": "hasMany", "model": "Company", "foreignKey": "compa...
ef463be322ccd3bf773b08c028c75d2112bbf32b
common/models/major.json
common/models/major.json
JSON
<|file_sep|>buildSrc/src/main/kotlin/Plugin.kt.diff original: const val SPOTLESS = "3.23.0" updated: const val SPOTLESS = "3.23.1" <|file_sep|>original/buildSrc/src/main/kotlin/Plugin.kt object Plugin { const val SPOTLESS = "3.23.0" const val VERSIONS = "0.21.0" const val KOTLIN = "1.3.31" con...
object Plugin { const val SPOTLESS = "3.23.1" const val VERSIONS = "0.21.0" const val KOTLIN = "1.3.40" const val DOKKA = "0.9.17" }
<|file_sep|>buildSrc/src/main/kotlin/Plugin.kt.diff original: const val SPOTLESS = "3.23.0" updated: const val SPOTLESS = "3.23.1" <|file_sep|>original/buildSrc/src/main/kotlin/Plugin.kt object Plugin { const val SPOTLESS = "3.23.0" const val VERSIONS = "0.21.0" const val KOTLIN = "1.3.31" con...
1bd60ff88ae2c351876e44146adabc10c3e0b3e3
buildSrc/src/main/kotlin/Plugin.kt
buildSrc/src/main/kotlin/Plugin.kt
Kotlin
<|file_sep|>original/.travis/scripts/chrome.sh echo "---> Starting Chrome driver installation" wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update ...
echo "---> Starting Chrome driver installation" wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update sudo apt-get -y install google-chrome-stable ...
<|file_sep|>original/.travis/scripts/chrome.sh echo "---> Starting Chrome driver installation" wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' sudo apt-get update ...
c2387199f2d3cca901526d4007d1ec112c2490d0
.travis/scripts/chrome.sh
.travis/scripts/chrome.sh
Shell
<|file_sep|>original/assets/open-source-love.svg <|file_sep|>current/assets/open-source-love.svg <|file_sep|>updated/assets/open-source-love.svg
<!-- Open Source Badge - Show your love for Open Source https://github.com/ellerbrock/open-source-badge --> <svg xmlns="http://www.w3.org/2000/svg" width="120" height="20"> <linearGradient id="m1" x2="0" y2="100%"> <stop offset="0" stop-color="#bbb" stop-opacity=".1"/> <stop offset="1" stop-opacity=".1"/>...
<|file_sep|>original/assets/open-source-love.svg <|file_sep|>current/assets/open-source-love.svg <|file_sep|>updated/assets/open-source-love.svg <!-- Open Source Badge - Show your love for Open Source https://github.com/ellerbrock/open-source-badge --> <svg xmlns="http://www.w3.org/2000/svg" width="120" height="2...
ad03eadeca68d01b13b06f8e50f87d9b47bb4be1
assets/open-source-love.svg
assets/open-source-love.svg
SVG
<|file_sep|>original/package.json { "name": "jspm-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "jspm": "0.16.14", "jspm-dev-builder": "0.3.1", ...
{ "name": "jspm-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "setup": "npm install && jspm install", "watch": "node watch.js" }, "author": "", "license": "ISC", "devDependencies": { "jspm": "0.16.1...
<|file_sep|>original/package.json { "name": "jspm-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "jspm": "0.16.14", "jspm-dev-builder": "0.3.1", ...
3d1fe52ffcc15453962e159a2d2b963b5ec618a1
package.json
package.json
JSON
<|file_sep|>app/assets/stylesheets/components/common/_search.scss.diff original: background-color: $color-off-white; updated: background-color: $color-white; <|file_sep|>original/app/assets/stylesheets/components/common/_search.scss height: $baseline-unit*7; padding-left: $baseline-unit*2; border: 0...
height: $baseline-unit*7; padding-left: $baseline-unit*2; border: 0; background-color: $color-white; &::-webkit-input-placeholder { color: $color-search-text; } &:focus { background-color: $color-white; outline: 0; } } } .search__submit { @extend .unstyled-button...
<|file_sep|>app/assets/stylesheets/components/common/_search.scss.diff original: background-color: $color-off-white; updated: background-color: $color-white; <|file_sep|>original/app/assets/stylesheets/components/common/_search.scss height: $baseline-unit*7; padding-left: $baseline-unit*2; border: 0...
a85df916a2fe7bc259f20b34b4ac55288356f99c
app/assets/stylesheets/components/common/_search.scss
app/assets/stylesheets/components/common/_search.scss
SCSS
<|file_sep|>original/tbmodels/__init__.py # -*- coding: utf-8 -*- # (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> r""" TBmodels is a tool for creating / loading and manipulating tight-binding models. """ __version__ = '1.3.2a1' # import order is important due ...
# -*- coding: utf-8 -*- # (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> r""" TBmodels is a tool for creating / loading and manipulating tight-binding models. """ __version__ = '1.3.2' # import order is important due to circular imports from . import helpers fr...
<|file_sep|>original/tbmodels/__init__.py # -*- coding: utf-8 -*- # (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik # Author: Dominik Gresch <greschd@gmx.ch> r""" TBmodels is a tool for creating / loading and manipulating tight-binding models. """ __version__ = '1.3.2a1' # import order is important due ...
2e70450846fb0f40d6d0449093ddf121da7547a8
tbmodels/__init__.py
tbmodels/__init__.py
Python
<|file_sep|>ui/src/registrator/Ucastnici/ucastniciReducer.js.diff original: updated: const collator = new Intl.Collator('cs'); <|file_sep|>ui/src/registrator/Ucastnici/ucastniciReducer.js.diff original: const prijmeniCmp = a.prijmeni.localeCompare(b, 'cs'); updated: const prijmeniCmp = collator.compare(a.pri...
prijmeni: posledniUcast.udaje.prijmeni, jmeno: posledniUcast.udaje.jmeno, narozeni: posledniUcast.udaje.narozeni.rok }); }); const collator = new Intl.Collator('cs'); return ucastnici.sort((a, b) => { const prijmeniCmp = collator.compare(a.prijmeni, b.prijmeni); if (prijmeniCmp !== ...
<|file_sep|>ui/src/registrator/Ucastnici/ucastniciReducer.js.diff original: updated: const collator = new Intl.Collator('cs'); <|file_sep|>ui/src/registrator/Ucastnici/ucastniciReducer.js.diff original: const prijmeniCmp = a.prijmeni.localeCompare(b, 'cs'); updated: const prijmeniCmp = collator.compare(a.pri...
4bd7061aad0e249e301975ac710ded552064289e
ui/src/registrator/Ucastnici/ucastniciReducer.js
ui/src/registrator/Ucastnici/ucastniciReducer.js
JavaScript
<|file_sep|>original/tests/core/eth-module/test_eth_contract.py ABI = [{}] ADDRESS = '0xd3cda913deb6f67967b99d67acdfa1712c293601' INVALID_CHECKSUM_ADDRESS = '0xd3CDA913deB6f67967B99D67aCDFa1712C293601' @pytest.mark.parametrize( 'args,kwargs,expected', ( ((ADDRESS,), {}, None), ((INVALID_CHECKS...
ABI = [{}] ADDRESS = '0xd3cda913deb6f67967b99d67acdfa1712c293601' INVALID_CHECKSUM_ADDRESS = '0xd3CDA913deB6f67967B99D67aCDFa1712C293601' @pytest.mark.parametrize( 'args,kwargs,expected', ( ((ADDRESS,), {}, None), ((INVALID_CHECKSUM_ADDRESS,), {}, ValueError), ((), {'address': ADDRESS}...
<|file_sep|>original/tests/core/eth-module/test_eth_contract.py ABI = [{}] ADDRESS = '0xd3cda913deb6f67967b99d67acdfa1712c293601' INVALID_CHECKSUM_ADDRESS = '0xd3CDA913deB6f67967B99D67aCDFa1712C293601' @pytest.mark.parametrize( 'args,kwargs,expected', ( ((ADDRESS,), {}, None), ((INVALID_CHECKS...
20cc6c1edca69c946261c6bd8587d6cf5bb7a6e8
tests/core/eth-module/test_eth_contract.py
tests/core/eth-module/test_eth_contract.py
Python
<|file_sep|>original/docs/develop.rst ************************** Run the development server ************************** :: $ workon django_cradmin $ python manage.py runserver Open http://localhost:8000 and login with:: email: grandma@example.com password: test ************* Run the tests **********...
password: test ************* Run the tests ************* :: $ workon django_cradmin $ DJANGOENV=test python manage.py test django_cradmin ******************* Release new version ******************* .. note:: This assumes you have permission to release cradmin to pypi. 1. Remove the ``django_cradmin/st...
<|file_sep|>original/docs/develop.rst ************************** Run the development server ************************** :: $ workon django_cradmin $ python manage.py runserver Open http://localhost:8000 and login with:: email: grandma@example.com password: test ************* Run the tests **********...
04cc512ff2e327df8192bd98771d9e477f6e66da
docs/develop.rst
docs/develop.rst
reStructuredText
<|file_sep|>original/lib/scss_lint/linter/debug_statement.rb module SCSSLint # Checks for leftover `@debug` statements. class Linter::DebugStatement < Linter include LinterRegistry def visit_debug(node) add_lint(node) end def description '@debug line' end end end <|file_sep|>curr...
module SCSSLint # Checks for leftover `@debug` statements. class Linter::DebugStatement < Linter include LinterRegistry def visit_debug(node) add_lint(node, 'Remove @debug line') end end end
<|file_sep|>original/lib/scss_lint/linter/debug_statement.rb module SCSSLint # Checks for leftover `@debug` statements. class Linter::DebugStatement < Linter include LinterRegistry def visit_debug(node) add_lint(node) end def description '@debug line' end end end <|file_sep|>curr...
78dc871472323fc33990169274b406209425c44f
lib/scss_lint/linter/debug_statement.rb
lib/scss_lint/linter/debug_statement.rb
Ruby
<|file_sep|>original/pubspec.yaml name: observe version: 0.10.0-pre.3.dev author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: > Observable properties and objects for use in template_binding. Template Binding extends HTML and the DOM APIs to support a sensible separation between the UI (DOM) of a d...
name: observe version: 0.10.0-pre.3 author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: > Observable properties and objects for use in template_binding. Template Binding extends HTML and the DOM APIs to support a sensible separation between the UI (DOM) of a document or application and its under...
<|file_sep|>original/pubspec.yaml name: observe version: 0.10.0-pre.3.dev author: Polymer.dart Authors <web-ui-dev@dartlang.org> description: > Observable properties and objects for use in template_binding. Template Binding extends HTML and the DOM APIs to support a sensible separation between the UI (DOM) of a d...
31e5c5016ddba5c6201f25573e6914dd7cba792b
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>README.md.diff original: - React updated: - React <|file_sep|>README.md.diff original: updated: - React Perf Addon - Redux DevTools Extension <|file_sep|>original/README.md ```bash npm run dev ``` ## Building and Running Production Server ```bash npm run build npm run start ``` ## License MIT, Copyri...
```bash npm run dev ``` ## Building and Running Production Server ```bash npm run build npm run start ``` ## License MIT, Copyright (c) 2017 Devin Abbott ## Author Devin Abbott, [@devinaabbott](http://twitter.com/devinaabbott) MIT License
<|file_sep|>README.md.diff original: - React updated: - React <|file_sep|>README.md.diff original: updated: - React Perf Addon - Redux DevTools Extension <|file_sep|>original/README.md ```bash npm run dev ``` ## Building and Running Production Server ```bash npm run build npm run start ``` ## License MIT, Copyri...
85d4bba209355ecec7d0da6339f5a8613551e49f
README.md
README.md
Markdown
<|file_sep|>original/hardware/gpio/TrafficLights_gpiozero.py <|file_sep|>current/hardware/gpio/TrafficLights_gpiozero.py <|file_sep|>updated/hardware/gpio/TrafficLights_gpiozero.py
from gpiozero import TrafficLights import time def british_lights_cycle(lights, cycle_time): lights.off() # Red lights.red.on() time.sleep(cycle_time) # Red and Amber lights.amber.on() time.sleep(cycle_time) # Green lights.red.off() lights.amber.off() lights.green.on() ...
<|file_sep|>original/hardware/gpio/TrafficLights_gpiozero.py <|file_sep|>current/hardware/gpio/TrafficLights_gpiozero.py <|file_sep|>updated/hardware/gpio/TrafficLights_gpiozero.py from gpiozero import TrafficLights import time def british_lights_cycle(lights, cycle_time): lights.off() # Red lights.red....
6031700ba86611809619409c2a83d551f622e391
hardware/gpio/TrafficLights_gpiozero.py
hardware/gpio/TrafficLights_gpiozero.py
Python
<|file_sep|>original/build_rpm.sh #!/bin/sh VERSION=`cat version` # clean up from last build rm -r build dist # build binary package python setup.py bdist_rpm --requires="python-psutil, python-twisted, pygame, wmctrl, gnupg, fakeroot" # install it echo "" echo "To install, run:" echo "sudo yum install dist/torbrows...
#!/bin/sh VERSION=`cat version` # clean up from last build rm -r build dist # build binary package python setup.py bdist_rpm --requires="python-psutil, python-twisted, wmctrl, gnupg, fakeroot" # install it echo "" echo "To install, run:" echo "sudo yum install dist/torbrowser-launcher-$VERSION-1.noarch.rpm"
<|file_sep|>original/build_rpm.sh #!/bin/sh VERSION=`cat version` # clean up from last build rm -r build dist # build binary package python setup.py bdist_rpm --requires="python-psutil, python-twisted, pygame, wmctrl, gnupg, fakeroot" # install it echo "" echo "To install, run:" echo "sudo yum install dist/torbrows...
51fe04c4cb0160e7abcb4c1b9fe5a468366dbee6
build_rpm.sh
build_rpm.sh
Shell
<|file_sep|>original/ruby/2.7.1-node-chrome/Dockerfile <|file_sep|>current/ruby/2.7.1-node-chrome/Dockerfile <|file_sep|>updated/ruby/2.7.1-node-chrome/Dockerfile
FROM ruby:2.7.1 # Install NodeJS apt sources RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - # Add Chrome source RUN curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrom...
<|file_sep|>original/ruby/2.7.1-node-chrome/Dockerfile <|file_sep|>current/ruby/2.7.1-node-chrome/Dockerfile <|file_sep|>updated/ruby/2.7.1-node-chrome/Dockerfile FROM ruby:2.7.1 # Install NodeJS apt sources RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - # Add Chrome source RUN curl -sS -o - https://dl...
fc22692d975c05f6a095cfe3bba10f06a75a097d
ruby/2.7.1-node-chrome/Dockerfile
ruby/2.7.1-node-chrome/Dockerfile
unknown
<|file_sep|>original/packages/ch/chart-svg.yaml <|file_sep|>current/packages/ch/chart-svg.yaml <|file_sep|>updated/packages/ch/chart-svg.yaml
homepage: https://github.com/tonyday567/chart-svg#readme changelog-type: '' hash: be74f6efa8abb68743672b69aba1a07461aa7d2822d988f460b5c918ba258433 test-bench-deps: {} maintainer: tonyday567@gmail.com synopsis: See readme.md changelog: '' basic-deps: lucid: -any JuicyPixels: -any base: ! '>=4.7 && <5' time: -any...
<|file_sep|>original/packages/ch/chart-svg.yaml <|file_sep|>current/packages/ch/chart-svg.yaml <|file_sep|>updated/packages/ch/chart-svg.yaml homepage: https://github.com/tonyday567/chart-svg#readme changelog-type: '' hash: be74f6efa8abb68743672b69aba1a07461aa7d2822d988f460b5c918ba258433 test-bench-deps: {} maintaine...
6b2f4cd5f138ecca9cae23a4cb9a42f9a10853f3
packages/ch/chart-svg.yaml
packages/ch/chart-svg.yaml
YAML
<|file_sep|>original/res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">FordRearviewCam</string> </resources> <|file_sep|>current/res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">FordRearviewCam</string> </resources>...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Rearview Camera</string> </resources>
<|file_sep|>original/res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">FordRearviewCam</string> </resources> <|file_sep|>current/res/values/strings.xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">FordRearviewCam</string> </resources>...
9aabf612f7f00032cf79cb9ed033f262796e768e
res/values/strings.xml
res/values/strings.xml
XML
<|file_sep|>original/website/reports/background/update_memcache.php return (substr($haystack, 0, $length) === $needle); } $c = new Memcached(); $c->addServer("localhost", 11211); foreach($c->getAllKeys() as $key) { if(startsWith($key, "qreport_")) { $time_start = microtime(true); $query = substr($key, strl...
return (substr($haystack, 0, $length) === $needle); } $c = new Memcached(); $c->addServer("localhost", 11211); foreach($c->getAllKeys() as $key) { if(startsWith($key, "qreport_")) { $time_start = microtime(true); $query = substr($key, strlen("qreport_")) ; echo "====== QUERY $query ======\n"; echo ...
<|file_sep|>original/website/reports/background/update_memcache.php return (substr($haystack, 0, $length) === $needle); } $c = new Memcached(); $c->addServer("localhost", 11211); foreach($c->getAllKeys() as $key) { if(startsWith($key, "qreport_")) { $time_start = microtime(true); $query = substr($key, strl...
3f500357ad4ba04cafc49e7eb5e173ad96c424d9
website/reports/background/update_memcache.php
website/reports/background/update_memcache.php
PHP
<|file_sep|>base.php.diff original: <div class="body-wrap"> <div class="container"> <div class="row" role="document"> <main class="main <?php echo roots_main_class(); ?>" role="main"> <?php include roots_template_path(); ?> </main><!-- /.main --> updated: <div class="content-de...
<?php get_template_part('templates/header-top-navbar'); ?> <div class="content-detail container"> <div class="row" role="document"> <?php if (roots_display_sidebar()) : ?> <aside class="sidebar <?php echo roots_sidebar_class(); ?>" role="complementary"> <?php include roots_sidebar_...
<|file_sep|>base.php.diff original: <div class="body-wrap"> <div class="container"> <div class="row" role="document"> <main class="main <?php echo roots_main_class(); ?>" role="main"> <?php include roots_template_path(); ?> </main><!-- /.main --> updated: <div class="content-de...
fc8e94afb07147d211f306d64b26f5d1510865b4
base.php
base.php
PHP
<|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name='omb', version='.01', description='OpenMicroblogging support for Django', author='Jay Graves', author_email='jay@skabber.com', url='http://github.com/skabber/django-omb/tree/master', pac...
#!/usr/bin/env python from distutils.core import setup setup(name='omb', version='.01', description='OpenMicroblogging support for Django', author='Jay Graves', author_email='jay@skabber.com', url='http://github.com/skabber/django-omb/tree/master', # packages=['openid', 'pydataporta...
<|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name='omb', version='.01', description='OpenMicroblogging support for Django', author='Jay Graves', author_email='jay@skabber.com', url='http://github.com/skabber/django-omb/tree/master', pac...
1a275d0f2497dda4c579dd11183d38da442919aa
setup.py
setup.py
Python
<|file_sep|>lib/swftly.rb.diff original: attr_reader :swf #init w/ a swf def initialize( swf, options = {} ) updated: require 'curb' attr_reader :auto_process, :swf, :runtime, :markup, :raw, :converter_response_code, :fetcher_response_code #init w/ a swf, through false for the second param...
# perform and process the second fetching def process return failed unless @converter_response_code == 200 cooked = @raw.split '","' path = (cooked[3] + cooked[5]).gsub(/\/i\//,'/o/') fetcher = Curl.get(path) @fetcher_response_code = fetcher.response_code @markup = fetcher.body_str @ru...
<|file_sep|>lib/swftly.rb.diff original: attr_reader :swf #init w/ a swf def initialize( swf, options = {} ) updated: require 'curb' attr_reader :auto_process, :swf, :runtime, :markup, :raw, :converter_response_code, :fetcher_response_code #init w/ a swf, through false for the second param...
ac14860f021023c7d9f847c23d6ce3ced4893ca2
lib/swftly.rb
lib/swftly.rb
Ruby
<|file_sep|>sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt.diff original: updated: import com.palantir.blueprintjs.bpIcon import kotlinx.css.* <|file_sep|>sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt.diff original: import react.dom.* updat...
class PlayerInfoPresenter(props: PlayerInfoProps) : RComponent<PlayerInfoProps, RState>(props) { override fun RBuilder.render() { styledDiv { css { display = Display.flex alignItems = Align.center } props.connectedPlayer?.let { ...
<|file_sep|>sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt.diff original: updated: import com.palantir.blueprintjs.bpIcon import kotlinx.css.* <|file_sep|>sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt.diff original: import react.dom.* updat...
80fa00205cd432471318198ac68b79b956204ae0
sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt
sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/gameBrowser/PlayerInfo.kt
Kotlin
<|file_sep|>original/roles/go/tasks/main.yml --- - name: Install go homebrew: name=go state=latest - name: Create GOPATH file: dest={{ dotfiles.go.path }} state=directory - name: Install packages environment: gopath: dotfiles.go.path shell: 'go get {{ item }}' with_items: dotfiles.go.packages # TODO I...
--- - name: Install go homebrew: name=go state=latest tags: update - name: Create GOPATH file: dest={{ dotfiles.go.path }} state=directory - name: Install packages environment: gopath: dotfiles.go.path shell: 'go get {{ item }}' with_items: dotfiles.go.packages # TODO Improve changed_when detection ...
<|file_sep|>original/roles/go/tasks/main.yml --- - name: Install go homebrew: name=go state=latest - name: Create GOPATH file: dest={{ dotfiles.go.path }} state=directory - name: Install packages environment: gopath: dotfiles.go.path shell: 'go get {{ item }}' with_items: dotfiles.go.packages # TODO I...
2026abc47eb030c5855b7284aeaeaa7551a988bb
roles/go/tasks/main.yml
roles/go/tasks/main.yml
YAML
<|file_sep|>original/.travis.yml language: go go: - 1.1.2 - 1.2rc2 - tip <|file_sep|>current/.travis.yml language: go go: - 1.1.2 - 1.2rc2 - tip <|file_sep|>updated/.travis.yml
language: go go: - 1.1.2 - 1.2rc3 - tip
<|file_sep|>original/.travis.yml language: go go: - 1.1.2 - 1.2rc2 - tip <|file_sep|>current/.travis.yml language: go go: - 1.1.2 - 1.2rc2 - tip <|file_sep|>updated/.travis.yml language: go go: - 1.1.2 - 1.2rc3 - tip
96b2e6cfe7e98d65427cb4939bcc09b0ff4e07b6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/korebuild-lock.txt version:2.2.0-preview1-17067 commithash:2af0e2e3d02329b4f0290061ab9bd8c7ca1aa26f <|file_sep|>current/korebuild-lock.txt version:2.2.0-preview1-17067 commithash:2af0e2e3d02329b4f0290061ab9bd8c7ca1aa26f <|file_sep|>updated/korebuild-lock.txt
version:2.2.0-preview1-17075 commithash:d9f07c7f313a0af1d49f003f5424b4dbbdd3e09f
<|file_sep|>original/korebuild-lock.txt version:2.2.0-preview1-17067 commithash:2af0e2e3d02329b4f0290061ab9bd8c7ca1aa26f <|file_sep|>current/korebuild-lock.txt version:2.2.0-preview1-17067 commithash:2af0e2e3d02329b4f0290061ab9bd8c7ca1aa26f <|file_sep|>updated/korebuild-lock.txt version:2.2.0-preview1-17075 commithash:...
51a8e4f9951ef4f8a7b2ad3858239172b24fb5a6
korebuild-lock.txt
korebuild-lock.txt
Text
<|file_sep|>original/ex103x/rooms.csv id|price/day|capacity|type 1|150|3|deluxe_room|X 2|100|3|double_room|D 3|80|15|conference_room_small|S 4|80|1|normal_room|N 5|150|50|conference_room_large|L <|file_sep|>current/ex103x/rooms.csv id|price/day|capacity|type 1|150|3|deluxe_room|X 2|100|3|double_room|D 3|80|15|conferenc...
id|price/day|capacity|type|prefix 1|150|3|deluxe_room|X 2|100|3|double_room|D 3|80|15|conference_room_small|S 4|80|1|normal_room|N 5|150|50|conference_room_large|L
<|file_sep|>original/ex103x/rooms.csv id|price/day|capacity|type 1|150|3|deluxe_room|X 2|100|3|double_room|D 3|80|15|conference_room_small|S 4|80|1|normal_room|N 5|150|50|conference_room_large|L <|file_sep|>current/ex103x/rooms.csv id|price/day|capacity|type 1|150|3|deluxe_room|X 2|100|3|double_room|D 3|80|15|conferenc...
809252c6b359255c100f658aa7fd44684845ead5
ex103x/rooms.csv
ex103x/rooms.csv
CSV
<|file_sep|>packages/hs/hspec-pg-transact.yaml.diff original: hash: c43f217a894823f600f6cbafb8e349e507b9f8d2825fd622b9eea2eca723bcc6 updated: hash: 5cc5e00eadaa42973e6682fe4fd178aa1e1a0e430c47064eced36c30ba1f5d13 <|file_sep|>packages/hs/hspec-pg-transact.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/pa...
synopsis: Helpers for creating database tests with hspec and pg-transact changelog: '' basic-deps: bytestring: -any tmp-postgres: -any base: ! '>=4.7 && <5' hspec: -any text: -any resource-pool: -any postgresql-simple: -any pg-transact: -any all-versions: - '0.1.0.0' - '0.1.0.1' author: Jonathan Fischof...
<|file_sep|>packages/hs/hspec-pg-transact.yaml.diff original: hash: c43f217a894823f600f6cbafb8e349e507b9f8d2825fd622b9eea2eca723bcc6 updated: hash: 5cc5e00eadaa42973e6682fe4fd178aa1e1a0e430c47064eced36c30ba1f5d13 <|file_sep|>packages/hs/hspec-pg-transact.yaml.diff original: updated: - '0.1.0.1' <|file_sep|>original/pa...
4c3526ea86d514168a3bd965bd74f89901c98306
packages/hs/hspec-pg-transact.yaml
packages/hs/hspec-pg-transact.yaml
YAML
<|file_sep|>README.md.diff original: ---------------------------- updated: ---------------------------- <|file_sep|>original/README.md cd GITDIR git clone https://github.com/Holiverh/python-valve cd - PYTHONPATH=$GITDIR python rusts.py ``` Output: ``` ---------------------------- Rust - Serv...
cd GITDIR git clone https://github.com/Holiverh/python-valve cd - PYTHONPATH=$GITDIR python rusts.py ``` Output: ``` ---------------------------- Rust - ServerName.com ---------------------------- Rust Version 1234 (60ms) ---------------------------- Player1: 2 hr 40 min...
<|file_sep|>README.md.diff original: ---------------------------- updated: ---------------------------- <|file_sep|>original/README.md cd GITDIR git clone https://github.com/Holiverh/python-valve cd - PYTHONPATH=$GITDIR python rusts.py ``` Output: ``` ---------------------------- Rust - Serv...
c497efd0b2b166db66eb1d6e5bfe4106e7beeea1
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.1 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.7 clldutils==1.11.0 attrs==17.2.0 <|file_sep|>current/re...
pydplace==0.4 Django==1.11.1 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.11.0 attrs==17.2.0
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.1 django-appconf==1.0.2 django-bootstrap3==8.2.3 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.42 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.7 clldutils==1.11.0 attrs==17.2.0 <|file_sep|>current/re...
2f7acf7d6a9b6c9061577d5f04d162f2b9b8d929
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/assets/scss/base/_mixins.scss // Custom Mixins // @group Base <|file_sep|>current/src/assets/scss/base/_mixins.scss // Custom Mixins // @group Base <|file_sep|>updated/src/assets/scss/base/_mixins.scss
// Custom Mixins // @group Base @function margin( $times: 1, $margin: $global-margin ) { @return $margin * $times; } @function padding( $times: 1, $padding: $global-padding ) { @return $padding * $times; }
<|file_sep|>original/src/assets/scss/base/_mixins.scss // Custom Mixins // @group Base <|file_sep|>current/src/assets/scss/base/_mixins.scss // Custom Mixins // @group Base <|file_sep|>updated/src/assets/scss/base/_mixins.scss // Custom Mixins // @group Base @function margin( $times: 1, $margin: $global-margin ) { @...
053ae942c8814872dde40cd84c033e678915a0f1
src/assets/scss/base/_mixins.scss
src/assets/scss/base/_mixins.scss
SCSS
<|file_sep|>.travis.yml.diff original: before_install: updated: before_install: <|file_sep|>original/.travis.yml # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Rogue Wav...
# are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Rogue Wave Software Inc. - initial implementation ######################################################################## ...
<|file_sep|>.travis.yml.diff original: before_install: updated: before_install: <|file_sep|>original/.travis.yml # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Rogue Wav...
4350b9e8d05ee51c1059308864dda2e68d1f6f58
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/lakrme/atom-levels-language-ruby.git" }, "bugs": { "url": "https://github.com/lakrme/atom-levels-language-ruby/issues" }, "license": "MIT", "engines": { "atom": ">=1.17.0 <2.0.0" }, "devDependencies": { "eslint...
"type": "git", "url": "https://github.com/lakrme/atom-levels-language-ruby.git" }, "bugs": { "url": "https://github.com/lakrme/atom-levels-language-ruby/issues" }, "license": "MIT", "engines": { "atom": ">=1.17.0 <2.0.0" }, "devDependencies": { "eslint": "^7.1.0" }, "consumedServic...
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/lakrme/atom-levels-language-ruby.git" }, "bugs": { "url": "https://github.com/lakrme/atom-levels-language-ruby/issues" }, "license": "MIT", "engines": { "atom": ">=1.17.0 <2.0.0" }, "devDependencies": { "eslint...
beb2ffcd9843b57985d1efba2635eb01d6dbb070
package.json
package.json
JSON
<|file_sep|>original/swh/web/ui/templates/display_content.html {% extends "layout.html" %} {% block title %}Display Content{% endblock %} {% block content %} <div id="message">{{ message }}</div> {% if content_raw is not none %} <pre>{{ content['data'] | safe }}<pre> {% endif %} {% endblock %} <|file_sep|>current/swh/...
{% extends "layout.html" %} {% block title %}Display Content{% endblock %} {% block content %} <div id="message">{{ message }}</div> {% if content_raw is not none %} <pre>{{ content['data'] }}</pre> {% endif %} {% endblock %}
<|file_sep|>original/swh/web/ui/templates/display_content.html {% extends "layout.html" %} {% block title %}Display Content{% endblock %} {% block content %} <div id="message">{{ message }}</div> {% if content_raw is not none %} <pre>{{ content['data'] | safe }}<pre> {% endif %} {% endblock %} <|file_sep|>current/swh/...
82b5824d8184093763bf81af3c6708fb73708a67
swh/web/ui/templates/display_content.html
swh/web/ui/templates/display_content.html
HTML
<|file_sep|>original/includes/helpers.py # Functions that multiple plugins should use def time_string(tdel): if tdel.days > 14: return "{}w ago".format(tdel.days//7) elif tdel.days > 1: return "{}d ago".format(tdel.days) elif tdel.seconds > 7200: return "{}h ago".format((tdel.days*...
# Functions that multiple plugins should use def time_string(tdel): if tdel.days > 14: return "{}w ago".format(tdel.days//7) elif tdel.days > 1: return "{}d ago".format(tdel.days) elif tdel.days == 1 or tdel.seconds > 7200: return "{}h ago".format((tdel.days*24)+(tdel.seconds//3600...
<|file_sep|>original/includes/helpers.py # Functions that multiple plugins should use def time_string(tdel): if tdel.days > 14: return "{}w ago".format(tdel.days//7) elif tdel.days > 1: return "{}d ago".format(tdel.days) elif tdel.seconds > 7200: return "{}h ago".format((tdel.days*...
a1a426a49511a52f5a40ab07310c1af4197feca2
includes/helpers.py
includes/helpers.py
Python
<|file_sep|>original/setup.py from setuptools import setup PACKAGE = 'TicketGuidelinesPlugin' VERSION = '1.0.0' setup( name=PACKAGE, version=VERSION, author='Sebastian Krysmanski', url='https://github.com/trac-hacks/TicketGuidelinesPlugin', description="Adds your ticket guidelines to the ticket v...
from setuptools import setup PACKAGE = 'TicketGuidelinesPlugin' VERSION = '1.0.0' setup( name=PACKAGE, version=VERSION, author='Sebastian Krysmanski', url='https://trac-hacks.org/wiki/TicketGuidelinesPlugin', description="Adds your ticket guidelines to the ticket view. The " "guid...
<|file_sep|>original/setup.py from setuptools import setup PACKAGE = 'TicketGuidelinesPlugin' VERSION = '1.0.0' setup( name=PACKAGE, version=VERSION, author='Sebastian Krysmanski', url='https://github.com/trac-hacks/TicketGuidelinesPlugin', description="Adds your ticket guidelines to the ticket v...
cc7893b5a81fc1fc41a1273ee4e89b0fc0f93530
setup.py
setup.py
Python
<|file_sep|>original/_posts/2019-10-06-tor-relays.markdown <|file_sep|>current/_posts/2019-10-06-tor-relays.markdown <|file_sep|>updated/_posts/2019-10-06-tor-relays.markdown
--- layout: post title: Tor relays date: 2019-10-06 17:00:00 +0000 categories: blog --- For the past year I've been running five Tor relays! This is unrelated to my [Tor work at Facebook](https://www.facebook.com/notes/facebook-over-tor/making-connections-to-facebook-over-tor-faster/1729157350524311/) and has been ...
<|file_sep|>original/_posts/2019-10-06-tor-relays.markdown <|file_sep|>current/_posts/2019-10-06-tor-relays.markdown <|file_sep|>updated/_posts/2019-10-06-tor-relays.markdown --- layout: post title: Tor relays date: 2019-10-06 17:00:00 +0000 categories: blog --- For the past year I've been running five Tor relays...
74f14658ace8d92a440da2fbefd719fc373e5088
_posts/2019-10-06-tor-relays.markdown
_posts/2019-10-06-tor-relays.markdown
Markdown
<|file_sep|>recipes/Flask-Fixtures/meta.yaml.diff original: noarch: python updated: <|file_sep|>original/recipes/Flask-Fixtures/meta.yaml - pip run: - python - Flask - Flask-SQLAlchemy - six test: imports: - flask_fixtures about: home: https://github.com/croach/Flask-Fixtures licens...
- python - Flask - Flask-SQLAlchemy - six test: imports: - flask_fixtures about: home: https://github.com/croach/Flask-Fixtures license: MIT license_family: MIT license_file: LICENSE summary: 'A simple library that allows you to add database fixtures for your unit tests using nothing b...
<|file_sep|>recipes/Flask-Fixtures/meta.yaml.diff original: noarch: python updated: <|file_sep|>original/recipes/Flask-Fixtures/meta.yaml - pip run: - python - Flask - Flask-SQLAlchemy - six test: imports: - flask_fixtures about: home: https://github.com/croach/Flask-Fixtures licens...
c633f1b2dd9d15204efe8a08cfae9dae39e00f72
recipes/Flask-Fixtures/meta.yaml
recipes/Flask-Fixtures/meta.yaml
YAML
<|file_sep|>packages/gpe-package/gpe-package_0.3.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/packages/gpe-package/gpe-package_0.3.bb LICENSE = "GPL" PR = "r0" inherit gpe pkgconfig DESCRIPTION = "A package manager GUI for GPE" DEPENDS = "ipkg libgpewidget" RDEPENDS = "gpe-icons" SECTION = "gpe"...
LICENSE = "GPL" PR = "r1" inherit gpe pkgconfig DESCRIPTION = "A package manager GUI for GPE" DEPENDS = "ipkg libgpewidget" RDEPENDS = "gpe-icons" SECTION = "gpe" PRIORITY = "optional" pkg_postinst () { #!/bin/sh chmod u+s /usr/bin/gpe-package }
<|file_sep|>packages/gpe-package/gpe-package_0.3.bb.diff original: PR = "r0" updated: PR = "r1" <|file_sep|>original/packages/gpe-package/gpe-package_0.3.bb LICENSE = "GPL" PR = "r0" inherit gpe pkgconfig DESCRIPTION = "A package manager GUI for GPE" DEPENDS = "ipkg libgpewidget" RDEPENDS = "gpe-icons" SECTION = "gpe"...
2e3d6f2d0fe091f0b3442ad217e18d07026125a8
packages/gpe-package/gpe-package_0.3.bb
packages/gpe-package/gpe-package_0.3.bb
BitBake
<|file_sep|>original/src/PangolinConfigVersion.cmake.in set(PACKAGE_VERSION "@PANGOLIN_VERSION@") # Check build type is valid if( "System:${CMAKE_SYSTEM_NAME},Android:${ANDROID},iOS:${IOS}" STREQUAL "System:@CMAKE_SYSTEM_NAME@,Android:@ANDROID@,iOS:@IOS@" ) # Check whether the requested PACKAGE_FIND_VERSION is...
set(PACKAGE_VERSION "@PANGOLIN_VERSION@") # Check build type is valid if( "System:${CMAKE_SYSTEM_NAME},Win64:${CMAKE_CL_64},Android:${ANDROID},iOS:${IOS}" STREQUAL "System:@CMAKE_SYSTEM_NAME@,Win64:@CMAKE_CL_64@,Android:@ANDROID@,iOS:@IOS@" ) # Check whether the requested PACKAGE_FIND_VERSION is compatible ...
<|file_sep|>original/src/PangolinConfigVersion.cmake.in set(PACKAGE_VERSION "@PANGOLIN_VERSION@") # Check build type is valid if( "System:${CMAKE_SYSTEM_NAME},Android:${ANDROID},iOS:${IOS}" STREQUAL "System:@CMAKE_SYSTEM_NAME@,Android:@ANDROID@,iOS:@IOS@" ) # Check whether the requested PACKAGE_FIND_VERSION is...
b678a0368c8d9dcac461951d26e3695ee7307a00
src/PangolinConfigVersion.cmake.in
src/PangolinConfigVersion.cmake.in
unknown
<|file_sep|>src/components/CommentForm.css.diff original: min-height: 70px; updated: min-height: 100px; resize: vertical; <|file_sep|>original/src/components/CommentForm.css background-color: #fff; color: #222; font-size: 13px; overflow: visible; } .field input[type="text"]:focus, .field te...
.field input[type="text"]:focus, .field textarea:focus { box-shadow: 0 0 5px #0173bd; outline: 0; } .root button { font-family: 'Roboto', 'sans-serif'; background-color: #cb8700; color: #fff; border: none; height: 45px; font-size: 16px; margin-bottom: 10px; } @media screen and (min...
<|file_sep|>src/components/CommentForm.css.diff original: min-height: 70px; updated: min-height: 100px; resize: vertical; <|file_sep|>original/src/components/CommentForm.css background-color: #fff; color: #222; font-size: 13px; overflow: visible; } .field input[type="text"]:focus, .field te...
5c92bbf9129b244f38230a83577534e7bd400caa
src/components/CommentForm.css
src/components/CommentForm.css
CSS
<|file_sep|>original/assets/css/app.scss $link-hover-decoration: none; $font-size-base: 16px; $font-family-sans-serif: Lato, sans-serif; $icon-font-path: "/fonts/"; // use fonts from priv/static/fonts @import "bootstrap"; body { // Add vertical space around body padding-bottom: $line-height-computed * 2; paddin...
$link-hover-decoration: none; $font-size-base: 16px; $font-family-sans-serif: Lato, sans-serif; $icon-font-path: "/fonts/"; // use fonts from priv/static/fonts @import "bootstrap"; body { // Add vertical space around body padding-bottom: $line-height-computed * 2; padding-top: $navbar-height; @media (min-wid...
<|file_sep|>original/assets/css/app.scss $link-hover-decoration: none; $font-size-base: 16px; $font-family-sans-serif: Lato, sans-serif; $icon-font-path: "/fonts/"; // use fonts from priv/static/fonts @import "bootstrap"; body { // Add vertical space around body padding-bottom: $line-height-computed * 2; paddin...
84ca9710dff7fa61f66b7129628f01d83aef2b90
assets/css/app.scss
assets/css/app.scss
SCSS
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" install: "pip install -r test-requirements.txt" script: tox <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.4" install: "pip install -r test-requirements.txt" script: tox <|file_sep|>updated/.travis.yml
language: python python: - "2.7" # - "3.4" install: "pip install -r test-requirements.txt" script: tox
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" install: "pip install -r test-requirements.txt" script: tox <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.4" install: "pip install -r test-requirements.txt" script: tox <|file_sep|>updated/.travis.yml language: pyt...
37746b092c522f32b8db42dd0bd5ba9960ce3a51
.travis.yml
.travis.yml
YAML
<|file_sep|>files/run-dlrn.sh.diff original: updated: # if any arguments are given, assume console foreground execution ARG=$1 <|file_sep|>files/run-dlrn.sh.diff original: flock -n 200 || exit 1 updated: if ! flock -n 200 then if [ -n "$ARG" ] then echo "DLRN ${USER} running, please try again after d...
source ~/.venv/bin/activate if [ -n "$ARG" ] then LOGFILE=/home/${USER}/dlrn-logs/dlrn-run.console.$(date +%s).log else LOGFILE=/home/${USER}/dlrn-logs/dlrn-run.$(date +%s).log fi cd ~/dlrn set +e echo `date` "Starting DLRN run." >> $LOGFILE dlrn --config-file /usr/local/share/dlrn/${USER}/projects.ini --info-...
<|file_sep|>files/run-dlrn.sh.diff original: updated: # if any arguments are given, assume console foreground execution ARG=$1 <|file_sep|>files/run-dlrn.sh.diff original: flock -n 200 || exit 1 updated: if ! flock -n 200 then if [ -n "$ARG" ] then echo "DLRN ${USER} running, please try again after d...
170105731650981f7775b6e07c23c3b9c73314c0
files/run-dlrn.sh
files/run-dlrn.sh
Shell
<|file_sep|>trade_server.py.diff original: updated: response = '' <|file_sep|>original/trade_server.py class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): def handle(self): try: while True: data = self.request.recv(1024) if data: ...
class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): def handle(self): try: while True: data = self.request.recv(1024) response = '' if data: response += handle_data(data) cur_thread = threadin...
<|file_sep|>trade_server.py.diff original: updated: response = '' <|file_sep|>original/trade_server.py class ThreadedTCPRequestHandler(SocketServer.BaseRequestHandler): def handle(self): try: while True: data = self.request.recv(1024) if data: ...
f4695f43e9eae5740efc303374c892850dfea1a2
trade_server.py
trade_server.py
Python
<|file_sep|>pkg/a8rcloud/apikeys.go.diff original: KeyDescWorkstation = "laptop" KeyDescTrafficManager = "manager" updated: KeyDescWorkstation = "telepresence:workstation" KeyDescTrafficManager = "telepresence:traffic-manager" <|file_sep|>original/pkg/a8rcloud/apikeys.go package a8rcloud import ( "github.co...
package a8rcloud import ( "github.com/telepresenceio/telepresence/rpc/v2/manager" ) // API key descriptions to use when requesting API keys from Ambassador Cloud. const ( KeyDescWorkstation = "telepresence:workstation" KeyDescTrafficManager = "telepresence:traffic-manager" ) func KeyDescAgent(spec *manager.Int...
<|file_sep|>pkg/a8rcloud/apikeys.go.diff original: KeyDescWorkstation = "laptop" KeyDescTrafficManager = "manager" updated: KeyDescWorkstation = "telepresence:workstation" KeyDescTrafficManager = "telepresence:traffic-manager" <|file_sep|>original/pkg/a8rcloud/apikeys.go package a8rcloud import ( "github.co...
d758ff96e486afc2359f5b958cc213d76c56f89c
pkg/a8rcloud/apikeys.go
pkg/a8rcloud/apikeys.go
Go
<|file_sep|>original/src/main/java/org/telegram/telegrambots/api/commands/Command.java <|file_sep|>current/src/main/java/org/telegram/telegrambots/api/commands/Command.java <|file_sep|>updated/src/main/java/org/telegram/telegrambots/api/commands/Command.java
package org.telegram.telegrambots.api.commands; import org.telegram.telegrambots.bots.AbsSender; /** * Representation of a command, which can be executed * * @author tschulz */ public abstract class Command extends AbsSender { public final static String COMMAND_INIT_CHARACTER = "/"; public final static S...
<|file_sep|>original/src/main/java/org/telegram/telegrambots/api/commands/Command.java <|file_sep|>current/src/main/java/org/telegram/telegrambots/api/commands/Command.java <|file_sep|>updated/src/main/java/org/telegram/telegrambots/api/commands/Command.java package org.telegram.telegrambots.api.commands; import org...
f775d5c00c4e59bf9b0b7231f89edcee42d44321
src/main/java/org/telegram/telegrambots/api/commands/Command.java
src/main/java/org/telegram/telegrambots/api/commands/Command.java
Java
<|file_sep|>original/models/issue/vector.go package issue import "net/http" type HttpBody struct { ContentEncoding string `json:"contentEncoding"` Content []byte `json:"content"` } type HttpEntity struct { Status string `json:"status"` Header http.Header `json:"header"` Body *HttpBody `json:"bo...
package issue import "net/http" type HttpBody struct { ContentEncoding string `json:"contentEncoding"` Content []byte `json:"content,string"` } type HttpEntity struct { Status string `json:"status"` Header http.Header `json:"header"` Body *HttpBody `json:"body,omitempty"` } type HttpTransactio...
<|file_sep|>original/models/issue/vector.go package issue import "net/http" type HttpBody struct { ContentEncoding string `json:"contentEncoding"` Content []byte `json:"content"` } type HttpEntity struct { Status string `json:"status"` Header http.Header `json:"header"` Body *HttpBody `json:"bo...
4e245096a70f2731d03cb79fb9942d062df9e81e
models/issue/vector.go
models/issue/vector.go
Go
<|file_sep|>package.json.diff original: "url": "https://github.com/NBumgardner/musical-chess/issues" updated: "url": "https://github.com/NBumgardner/YouTube-Notes/issues" <|file_sep|>original/package.json "type": "git", "url": "git+https://github.com/NBumgardner/YouTube-Notes.git" }, "keywords": [ ...
"type": "git", "url": "git+https://github.com/NBumgardner/YouTube-Notes.git" }, "keywords": [ "YouTube", "notes" ], "author": "Noah Bumgardner", "license": "MIT", "dependencies": { "connect": "^3.4.0", "serve-static": "^1.10.2" }, "devDependencies": { "gulp": "^3.9.1" }, ...
<|file_sep|>package.json.diff original: "url": "https://github.com/NBumgardner/musical-chess/issues" updated: "url": "https://github.com/NBumgardner/YouTube-Notes/issues" <|file_sep|>original/package.json "type": "git", "url": "git+https://github.com/NBumgardner/YouTube-Notes.git" }, "keywords": [ ...
c93389b52be55825a581900c84ae8df562b201a6
package.json
package.json
JSON
<|file_sep|>README.md.diff original: ![Angel Sensor logo](https://github.com/SeraphimSense/angel-sdk/blob/master/assets/Logo-Black-on-white.png) updated: ![Angel Sensor logo](https://github.com/AngelSensor/angel-sdk/blob/master/assets/Logo-Black-on-white.png) <|file_sep|>README.md.diff original: [Angel Sensor](http://a...
![Angel Sensor logo](https://github.com/AngelSensor/angel-sdk/blob/master/assets/Logo-Black-on-white.png) Angel Sensor SDK ================ [Angel Sensor](http://angelsensor.com/) is an open wearable for developers who're building new mobile health products. Angel Sensor tracks heart rate, skin temperature, steps, sl...
<|file_sep|>README.md.diff original: ![Angel Sensor logo](https://github.com/SeraphimSense/angel-sdk/blob/master/assets/Logo-Black-on-white.png) updated: ![Angel Sensor logo](https://github.com/AngelSensor/angel-sdk/blob/master/assets/Logo-Black-on-white.png) <|file_sep|>README.md.diff original: [Angel Sensor](http://a...
86f2d7d7317bcf3991a67e1dbb0d2aefba05b79f
README.md
README.md
Markdown
<|file_sep|>original/resultapp/resultapp/templates/home.html {% extends 'base.html' %} {% block title %} ResultsPage: Football results and tables the Soccermetrics way. {% endblock title %} {% block sidebar %} <li class="nav-header">Competitions</li> {% for competition in competitions %} <li><a href="{{ url_for('...
{% extends 'base.html' %} {% block title %} ResultsPage: Football results and tables the Soccermetrics way. {% endblock title %} {% block sidebar %} <li class="nav-header">Domestic Competitions</li> {# create confederation accordion section #} <div id="side-accordion" class="accordion"> {% for confed in confederati...
<|file_sep|>original/resultapp/resultapp/templates/home.html {% extends 'base.html' %} {% block title %} ResultsPage: Football results and tables the Soccermetrics way. {% endblock title %} {% block sidebar %} <li class="nav-header">Competitions</li> {% for competition in competitions %} <li><a href="{{ url_for('...
3d345a43e6fabf459fd11c4e865ce7470d173cf4
resultapp/resultapp/templates/home.html
resultapp/resultapp/templates/home.html
HTML
<|file_sep|>original/_sass/layout/_jumbotron.scss .page-jumbotron { } .page-jumbotron__wrapper { overflow: hidden; position: relative; } .page-jumbotron__image { height: 300px; left: 50%; position: relative; transform: translateX(-50%); @include respond-up(md) { height: 400px; ...
.page-jumbotron { } .page-jumbotron__wrapper { background-color: rgba(41, 45, 60, 0.7); overflow: hidden; position: relative; } .page-jumbotron__image { height: 300px; left: 50%; position: relative; transform: translateX(-50%); @include respond-up(md) { height: 400px; } ...
<|file_sep|>original/_sass/layout/_jumbotron.scss .page-jumbotron { } .page-jumbotron__wrapper { overflow: hidden; position: relative; } .page-jumbotron__image { height: 300px; left: 50%; position: relative; transform: translateX(-50%); @include respond-up(md) { height: 400px; ...
a5177eb7b48fc77ae53cba7b3a9da0d843da4ce6
_sass/layout/_jumbotron.scss
_sass/layout/_jumbotron.scss
SCSS
<|file_sep|>original/app/models/post.rb class Post < ActiveRecord::Base belongs_to :user delegate :username, to: :user end <|file_sep|>current/app/models/post.rb class Post < ActiveRecord::Base belongs_to :user delegate :username, to: :user end <|file_sep|>updated/app/models/post.rb
class Post < ActiveRecord::Base validates :title, :body, :user_id, presence: true belongs_to :user delegate :username, to: :user end
<|file_sep|>original/app/models/post.rb class Post < ActiveRecord::Base belongs_to :user delegate :username, to: :user end <|file_sep|>current/app/models/post.rb class Post < ActiveRecord::Base belongs_to :user delegate :username, to: :user end <|file_sep|>updated/app/models/post.rb class Post < ActiveRecor...
b7987db03a219c67837afbd92a06f10ed74439cf
app/models/post.rb
app/models/post.rb
Ruby
<|file_sep|>original/src/desktop/apps/artwork/components/auction/templates/buy_now.jade if artwork.is_buy_nowable .artwork-auction__buy-now .artwork-auction__buy-now__label | Buy Now .artwork-auction__buy-now__amount = artwork.sale_message form.artwork-auction__buy-now__form.js-artwork-aucti...
if artwork.is_buy_nowable .artwork-auction__buy-now .artwork-auction__buy-now__label | Buy Now .artwork-auction__buy-now__amount = artwork.sale_message form.artwork-auction__buy-now__form button.avant-garde-button-black.is-block( class='js-artwork-auction-buy-now' ) | Buy Now
<|file_sep|>original/src/desktop/apps/artwork/components/auction/templates/buy_now.jade if artwork.is_buy_nowable .artwork-auction__buy-now .artwork-auction__buy-now__label | Buy Now .artwork-auction__buy-now__amount = artwork.sale_message form.artwork-auction__buy-now__form.js-artwork-aucti...
4ac9f859e956d1e927899724c3dde63edd529d74
src/desktop/apps/artwork/components/auction/templates/buy_now.jade
src/desktop/apps/artwork/components/auction/templates/buy_now.jade
Jade
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 env: - "mecab_version=0.996" - "mecab_version=0.98" - "mecab_version=0.96" before_install: - gem install rspec --pre --version 3.0.0.beta1 install: # mecab - curl -O http://mecab.googlecode.com/files/mecab-${mecab_version...
--- language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 env: - "mecab_version=0.996" - "mecab_version=0.98" - "mecab_version=0.96" install: # mecab - curl -O http://mecab.googlecode.com/files/mecab-${mecab_version}.tar.gz && tar xf mecab-${mecab_version}.tar.gz - pushd mecab-${mecab_version} && ./configure &&...
<|file_sep|>original/.travis.yml --- language: ruby rvm: - 2.1.0 - 2.0.0 - 1.9.3 env: - "mecab_version=0.996" - "mecab_version=0.98" - "mecab_version=0.96" before_install: - gem install rspec --pre --version 3.0.0.beta1 install: # mecab - curl -O http://mecab.googlecode.com/files/mecab-${mecab_version...
2ef5fbd3dd699ed923d8d9f1534ca6ca585fc3dd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/packages/ex/extract-dependencies.yaml <|file_sep|>current/packages/ex/extract-dependencies.yaml <|file_sep|>updated/packages/ex/extract-dependencies.yaml
homepage: https://github.com/yamadapc/stack-run-auto/extract-dependencies changelog-type: '' hash: 59e424bf8bfe2b0a12cfca802f96f4cc61205f1dc35490d8f368b7009a3f4ac1 test-bench-deps: {} maintainer: asakeron@gmail.com synopsis: Given a hackage package outputs the list of its dependencies. changelog: '' basic-deps: Cabal...
<|file_sep|>original/packages/ex/extract-dependencies.yaml <|file_sep|>current/packages/ex/extract-dependencies.yaml <|file_sep|>updated/packages/ex/extract-dependencies.yaml homepage: https://github.com/yamadapc/stack-run-auto/extract-dependencies changelog-type: '' hash: 59e424bf8bfe2b0a12cfca802f96f4cc61205f1dc354...
5185387ace6234e7dc6f7b4a8b84975d7c1faae6
packages/ex/extract-dependencies.yaml
packages/ex/extract-dependencies.yaml
YAML
<|file_sep|>original/src/Ojs/JournalBundle/DataFixtures/Alice/journal.yml \Ojs\JournalBundle\Entity\Journal: journal1: issn: null eissn: 2148-2357 period: 3 published: '1' subtitle: Ojs Help title: Ojs Help Journal titleAbbr: Ojs Help titleTransliterated: null url: "http://ojs.io" ...
\Ojs\JournalBundle\Entity\Journal: journal1: issn: null eissn: 2148-2357 period: 3 published: '1' subtitle: Ojs Help title: Ojs Help Journal titleAbbr: Ojs Help titleTransliterated: null url: "http://ojs.io" slug: help institution: @default subjects: [@subject1, @subjec...
<|file_sep|>original/src/Ojs/JournalBundle/DataFixtures/Alice/journal.yml \Ojs\JournalBundle\Entity\Journal: journal1: issn: null eissn: 2148-2357 period: 3 published: '1' subtitle: Ojs Help title: Ojs Help Journal titleAbbr: Ojs Help titleTransliterated: null url: "http://ojs.io" ...
d9129767306870a04304680563be190fa983c446
src/Ojs/JournalBundle/DataFixtures/Alice/journal.yml
src/Ojs/JournalBundle/DataFixtures/Alice/journal.yml
YAML
<|file_sep|>original/vendor/sources.json { "name": "git-for-windows", "version": "v2.12.1.windows.1", "url": "https://github.com/git-for-windows/git/releases/download/v2.12.1.windows.1/PortableGit-2.12.1-32-bit.7z.exe" }, { "name": "clink", "version": "0.4.8", ...
{ "name": "git-for-windows", "version": "v2.12.1.windows.1", "url": "https://github.com/git-for-windows/git/releases/download/v2.12.1.windows.1/PortableGit-2.12.1-32-bit.7z.exe" }, { "name": "clink", "version": "0.4.8", "url": "https://github.com/mridgers/clin...
<|file_sep|>original/vendor/sources.json { "name": "git-for-windows", "version": "v2.12.1.windows.1", "url": "https://github.com/git-for-windows/git/releases/download/v2.12.1.windows.1/PortableGit-2.12.1-32-bit.7z.exe" }, { "name": "clink", "version": "0.4.8", ...
9182c89a14ef27b8d69897c2c9af44d2dc48b462
vendor/sources.json
vendor/sources.json
JSON
<|file_sep|>original/Build/Grunt-Options/autoprefixer.js /** * Grunt-autoprefixer * @description Autoprefixer parses CSS and adds vendor-prefixed CSS properties using the Can I Use database. * @docs https://github.com/nDmitry/grunt-autoprefixer */ var config = require('../Config'), sassTaskConfig = require('./sas...
/** * Grunt-autoprefixer * @description Autoprefixer parses CSS and adds vendor-prefixed CSS properties using the Can I Use database. * @docs https://github.com/nDmitry/grunt-autoprefixer */ var config = require('../Config'); module.exports = { options: { browsers: config.project.browserSupport }, css: { s...
<|file_sep|>original/Build/Grunt-Options/autoprefixer.js /** * Grunt-autoprefixer * @description Autoprefixer parses CSS and adds vendor-prefixed CSS properties using the Can I Use database. * @docs https://github.com/nDmitry/grunt-autoprefixer */ var config = require('../Config'), sassTaskConfig = require('./sas...
8a8818159059cc92e00406a407a97f02a8458e2e
Build/Grunt-Options/autoprefixer.js
Build/Grunt-Options/autoprefixer.js
JavaScript
<|file_sep|>original/recipes/java-jdk/build.sh #/bin/bash -eu cp -r bin $PREFIX cp -r include $PREFIX cp -r jre $PREFIX cp -r lib $PREFIX <|file_sep|>current/recipes/java-jdk/build.sh #/bin/bash -eu cp -r bin $PREFIX cp -r include $PREFIX cp -r jre $PREFIX cp -r lib $PREFIX <|file_sep|>updated/recipes/java-jdk/build....
#/bin/bash -eu if [[ `uname` == "Linux" ]] then mv lib/amd64/jli/*.so lib mv lib/amd64/*.so lib rm -r lib/amd64 fi cp -r bin $PREFIX cp -r include $PREFIX cp -r jre $PREFIX cp -r lib $PREFIX
<|file_sep|>original/recipes/java-jdk/build.sh #/bin/bash -eu cp -r bin $PREFIX cp -r include $PREFIX cp -r jre $PREFIX cp -r lib $PREFIX <|file_sep|>current/recipes/java-jdk/build.sh #/bin/bash -eu cp -r bin $PREFIX cp -r include $PREFIX cp -r jre $PREFIX cp -r lib $PREFIX <|file_sep|>updated/recipes/java-jdk/build....
9036dcc845ba582c657b2aaae5d54b0a21788420
recipes/java-jdk/build.sh
recipes/java-jdk/build.sh
Shell
<|file_sep|>original/README.md # zend-text `Zend\Text` is a component to work on text strings. It contains the subcomponents: - `Zend\Text\Figlet` that enables developers to create a so called FIGlet text. A FIGlet text is a string, which is represented as ASCII art. FIGlets use a special font format, called FLT ...
# zend-text [![Build Status](https://secure.travis-ci.org/zendframework/zend-text.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-text) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-text/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-text) `Zend\Text` is a ...
<|file_sep|>original/README.md # zend-text `Zend\Text` is a component to work on text strings. It contains the subcomponents: - `Zend\Text\Figlet` that enables developers to create a so called FIGlet text. A FIGlet text is a string, which is represented as ASCII art. FIGlets use a special font format, called FLT ...
9c4ae163d00482d21cd9cd68b16f18e544ee21d9
README.md
README.md
Markdown
<|file_sep|>original/README.md # SimpleEconomy Economy plugin for Spigot #Building `gradlew build` The artifact will be published to `build/libs/simpleeconomy-all-1.0-SNAPSHOT.jar` #License See [here](https://github.com/TehRainbowGuy/SimpleEconomy/blob/master/LICENSE.txt) <|file_sep|>current/README.md # SimpleEconom...
# SimpleEconomy Economy plugin for Spigot Build status: [![Circle CI](https://circleci.com/gh/TehRainbowGuy/SimpleEconomy.svg?style=svg&circle-token=68d9bb94b4d44584018e0fb552ee7ea2d1a8aa51)](https://circleci.com/gh/TehRainbowGuy/SimpleEconomy) #Building `gradlew build` The artifact will be published to `build/libs/s...
<|file_sep|>original/README.md # SimpleEconomy Economy plugin for Spigot #Building `gradlew build` The artifact will be published to `build/libs/simpleeconomy-all-1.0-SNAPSHOT.jar` #License See [here](https://github.com/TehRainbowGuy/SimpleEconomy/blob/master/LICENSE.txt) <|file_sep|>current/README.md # SimpleEconom...
d951525affe7105466236d89a6e8099f081c537c
README.md
README.md
Markdown
<|file_sep|>original/RELEASING.md 0. Make sure all changes are live and that Travis is green 0. Verify there are no stale overrides 0. Update README.md with release notes 0. Delete `dist/*` 0. Update setup.py for the new version number 0. `python3 -m pip install --upgrade setuptools twine wheel` 0. `python3 setup.py sd...
0. Make sure all changes are live and that Travis is green 0. Delete all packaging-related directories 0. Verify there are no stale overrides 0. Update README.md with release notes 0. Delete `dist/*` 0. Update setup.py for the new version number 0. `python3 -m pip install --upgrade setuptools twine wheel` 0. `python3 s...
<|file_sep|>original/RELEASING.md 0. Make sure all changes are live and that Travis is green 0. Verify there are no stale overrides 0. Update README.md with release notes 0. Delete `dist/*` 0. Update setup.py for the new version number 0. `python3 -m pip install --upgrade setuptools twine wheel` 0. `python3 setup.py sd...
0bfad62525cab45c1b356a027f59f271df559050
RELEASING.md
RELEASING.md
Markdown
<|file_sep|>app/controllers/gobierto_common/api/v1/search_controller.rb.diff original: # GET /api/v1/search?query=term&filters[searchable_type][]=GobiertoPeople::Person&page[number]=1&page[size]=5 updated: # GET /api/v1/search?query=term&filters[searchable_type][]=GobiertoPeople::Person <|file_sep|>app/...
# GET /api/v1/search?query=term&filters[searchable_type][]=GobiertoPeople::Person def query search_result = current_site.multisearch(params[:query]).where(filters_params).limit(25) render( json: search_result, each_serializer: GobiertoCommon::SearchDocumentS...
<|file_sep|>app/controllers/gobierto_common/api/v1/search_controller.rb.diff original: # GET /api/v1/search?query=term&filters[searchable_type][]=GobiertoPeople::Person&page[number]=1&page[size]=5 updated: # GET /api/v1/search?query=term&filters[searchable_type][]=GobiertoPeople::Person <|file_sep|>app/...
c830b9bd637b435ed227bad4a17930f4400d0cba
app/controllers/gobierto_common/api/v1/search_controller.rb
app/controllers/gobierto_common/api/v1/search_controller.rb
Ruby
<|file_sep|>metadata/org.lenchan139.ncbookmark.txt.diff original: updated: Build:v15,15 commit=v15 subdir=app gradle=yes <|file_sep|>original/metadata/org.lenchan139.ncbookmark.txt With this application you can view, add and edit bookmarks in your Nextcloud. You need to have the bookmarks app installed. ....
Repo:https://gitlab.com/lenchan139/NCBookmark.git Build:v5,5 commit=v5 subdir=app gradle=yes Build:v11,11 commit=v11 subdir=app gradle=yes Build:v15,15 commit=v15 subdir=app gradle=yes Auto Update Mode:Version %v Update Check Mode:Tags Current Version:v15 Current Version Code:15
<|file_sep|>metadata/org.lenchan139.ncbookmark.txt.diff original: updated: Build:v15,15 commit=v15 subdir=app gradle=yes <|file_sep|>original/metadata/org.lenchan139.ncbookmark.txt With this application you can view, add and edit bookmarks in your Nextcloud. You need to have the bookmarks app installed. ....
da766380a984cc35308a62bc420bca19775fb6f5
metadata/org.lenchan139.ncbookmark.txt
metadata/org.lenchan139.ncbookmark.txt
Text
<|file_sep|>original/README.md # FSEvents Tools Command-line tools and scripts that use OS X's [FSEvents](http://en.wikipedia.org/wiki/FSEvents) API. Mostly useful for watching a directory and react to changes in it. ## Building In addition to the typical automake/autoconf/make, you'll need pkg-config. `brew instal...
# FSEvents Tools [![Build Status](https://travis-ci.org/ggreer/fsevents-tools.svg?branch=master)](https://travis-ci.org/ggreer/fsevents-tools) [![Floobits Status](https://floobits.com/ggreer/fsevents-tools.svg)](https://floobits.com/ggreer/fsevents-tools/redirect) Command-line tools and scripts that use OS X's [FSEv...
<|file_sep|>original/README.md # FSEvents Tools Command-line tools and scripts that use OS X's [FSEvents](http://en.wikipedia.org/wiki/FSEvents) API. Mostly useful for watching a directory and react to changes in it. ## Building In addition to the typical automake/autoconf/make, you'll need pkg-config. `brew instal...
38a2fff751901e5af4cac903f0e69dd35db31e4e
README.md
README.md
Markdown
<|file_sep|>.github/workflows/nodejs.yml.diff original: updated: create: # Run when tag is created <|file_sep|>original/.github/workflows/nodejs.yml - name: npm install, build and test run: | npm ci npm run build --if-present npm test env: CI: true pub...
node-version: ${{ matrix.node-version }} - name: npm install, build and test run: | npm ci npm run build --if-present npm test env: CI: true publish-npm: # publish only if we are on our own repo, event was 'create' (a tag was created) and th...
<|file_sep|>.github/workflows/nodejs.yml.diff original: updated: create: # Run when tag is created <|file_sep|>original/.github/workflows/nodejs.yml - name: npm install, build and test run: | npm ci npm run build --if-present npm test env: CI: true pub...
529732aae5fe0fdc285aa32ba53d9f8c97d3637e
.github/workflows/nodejs.yml
.github/workflows/nodejs.yml
YAML
<|file_sep|>original/.travis.yml language: ruby gemfile: - Gemfile rvm: - "1.9.2" - "1.9.3" - "2.0.0" before_script: - mv .env.travis .env - cp config/database.yml.sample config/database.yml - rm db/seeds.rb - mv db/seeds.travis.rb db/seeds.rb script: - bundle exec rake db:migrate - bundle exec rake...
language: ruby gemfile: - Gemfile rvm: - "1.9.3" - "2.0.0" before_script: - mv .env.travis .env - cp config/database.yml.sample config/database.yml - rm db/seeds.rb - mv db/seeds.travis.rb db/seeds.rb script: - bundle exec rake db:migrate - bundle exec rake db:load_test_data - bundle exec rake travi...
<|file_sep|>original/.travis.yml language: ruby gemfile: - Gemfile rvm: - "1.9.2" - "1.9.3" - "2.0.0" before_script: - mv .env.travis .env - cp config/database.yml.sample config/database.yml - rm db/seeds.rb - mv db/seeds.travis.rb db/seeds.rb script: - bundle exec rake db:migrate - bundle exec rake...
c2130b0305f0c03bad611d195cb0b0e893ae5b1d
.travis.yml
.travis.yml
YAML
<|file_sep|>src/scss/styles.scss.diff original: "component/search", updated: //"component/search", <|file_sep|>original/src/scss/styles.scss "base/colors", "base/typesizes", "base/variables", // #Project: Start to output CSS "base/reset", "base/accessibility", "base/typography", "layout/layout", "component/global",...
"base/colors", "base/typesizes", "base/variables", // #Project: Start to output CSS "base/reset", "base/accessibility", "base/typography", "layout/layout", "component/global", "component/forms", //"component/search", "component/buttons", "component/header", //"component/navigation", //"component/content", "componen...
<|file_sep|>src/scss/styles.scss.diff original: "component/search", updated: //"component/search", <|file_sep|>original/src/scss/styles.scss "base/colors", "base/typesizes", "base/variables", // #Project: Start to output CSS "base/reset", "base/accessibility", "base/typography", "layout/layout", "component/global",...
81c600331c52c90de52a93b820bcde58eba930ef
src/scss/styles.scss
src/scss/styles.scss
SCSS
<|file_sep|>resources/leiningen/new/onyx_app/sample_lifecycle.clj.diff original: updated: :lifecycle/calls :{{app-name}}.utils/out-calls <|file_sep|>original/resources/leiningen/new/onyx_app/sample_lifecycle.clj (defn log-batch [event lifecycle] (doseq [m (map :message (mapcat :leaves (:tree (:onyx.core/results ...
{}) (def log-calls {:lifecycle/after-batch log-batch}) (defn build-lifecycles [] [{:lifecycle/task :read-lines :lifecycle/calls :{{app-name}}.plugins.http-reader/reader-calls :lifecycle/replaceable? true :lifecycle/doc "Lifecycle for reading from a core.async chan"} {:lifecycle/task :write-lines ...
<|file_sep|>resources/leiningen/new/onyx_app/sample_lifecycle.clj.diff original: updated: :lifecycle/calls :{{app-name}}.utils/out-calls <|file_sep|>original/resources/leiningen/new/onyx_app/sample_lifecycle.clj (defn log-batch [event lifecycle] (doseq [m (map :message (mapcat :leaves (:tree (:onyx.core/results ...
9bb5c7399dcfa14f558f0c9f89d07294181043f1
resources/leiningen/new/onyx_app/sample_lifecycle.clj
resources/leiningen/new/onyx_app/sample_lifecycle.clj
Clojure
<|file_sep|>original/buildout.cfg [buildout] parts = diazo test develop = . [diazo] recipe = zc.recipe.egg eggs = diazo interpreter = py [test] recipe = zc.recipe.testrunner eggs = diazo [test] defaults = ['--auto-color'] <|file_sep|>current/buildout.cfg [buildout] parts = diazo test develop = . [dia...
[buildout] parts = diazo test develop = . [diazo] recipe = zc.recipe.egg eggs = diazo interpreter = py [test] recipe = zc.recipe.testrunner eggs = diazo defaults = ['--auto-color']
<|file_sep|>original/buildout.cfg [buildout] parts = diazo test develop = . [diazo] recipe = zc.recipe.egg eggs = diazo interpreter = py [test] recipe = zc.recipe.testrunner eggs = diazo [test] defaults = ['--auto-color'] <|file_sep|>current/buildout.cfg [buildout] parts = diazo test develop = . [dia...
41c6badd6b69772bbeda8ca42a53babfe3851870
buildout.cfg
buildout.cfg
INI
<|file_sep|>01/server.py.diff original: from google.appengine.api import users updated: <|file_sep|>original/01/server.py class MainPage(webapp2.RequestHandler): def get(self): self.response.set_status(200) self.response.headers['Content-Type'] = 'text/html; charset=utf-8' if users.get_curren...
import webapp2 class MainPage(webapp2.RequestHandler): def get(self): self.response.set_status(200) self.response.headers['Content-Type'] = 'text/html; charset=utf-8' self.response.out.write('Hello World') application = webapp2.WSGIApplication([ ('/', MainPage), ], debug=True)
<|file_sep|>01/server.py.diff original: from google.appengine.api import users updated: <|file_sep|>original/01/server.py class MainPage(webapp2.RequestHandler): def get(self): self.response.set_status(200) self.response.headers['Content-Type'] = 'text/html; charset=utf-8' if users.get_curren...
d82588adaded8943543b9f0300e0d683925496ce
01/server.py
01/server.py
Python
<|file_sep|>original/requirements_dev.txt pip==20.2.4 bumpversion==0.6.0 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 tox==3.20.1 coverage==5.3 Sphinx==3.3.0 cryptography==3.2.1 PyYAML==5.3.1 <|file_sep|>current/requirements_dev.txt pip==20.2.4 bumpversion==0.6.0 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 tox==3.20.1...
pip==20.2.4 bumpversion==0.6.0 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 tox==3.20.1 coverage==5.3 Sphinx==3.3.1 cryptography==3.2.1 PyYAML==5.3.1
<|file_sep|>original/requirements_dev.txt pip==20.2.4 bumpversion==0.6.0 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 tox==3.20.1 coverage==5.3 Sphinx==3.3.0 cryptography==3.2.1 PyYAML==5.3.1 <|file_sep|>current/requirements_dev.txt pip==20.2.4 bumpversion==0.6.0 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 tox==3.20.1...
bb3a246d90693e6da594fbbb8ae9a5a8bcf79ea1
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/mysite/search/tests.py <|file_sep|>current/mysite/search/tests.py <|file_sep|>updated/mysite/search/tests.py
import django.test from search.models import Project class NonJavascriptSearch(django.test.TestCase): fixtures = ['bugs-for-two-projects.json'] def testSearch(self): response = self.client.get('/search/') for n in range(1, 11): self.assertContains(response, 'Title #%d' % n) ...
<|file_sep|>original/mysite/search/tests.py <|file_sep|>current/mysite/search/tests.py <|file_sep|>updated/mysite/search/tests.py import django.test from search.models import Project class NonJavascriptSearch(django.test.TestCase): fixtures = ['bugs-for-two-projects.json'] def testSearch(self): resp...
aa9e4547fafb204af2815d3af97b5b716ba1164e
mysite/search/tests.py
mysite/search/tests.py
Python
<|file_sep|>original/app/views/people/_thoughts.html.haml %h2= Settings.front_page_note_prompt = create_event_form Note do |f| = hidden_field_tag :redirect_to, person_view_url(@topic, View.for_user.where(:name => "all").first, :anchor => "current_time_break") = f.text_field :body, :class => "span9", :style => "marg...
%h2= Settings.front_page_note_prompt = create_event_form Note do |f| = hidden_field_tag :redirect_to, person_view_url(@topic, View.for_user.where(:name => "all").first, :anchor => "current_time_break") .input-append< = f.text_field :body, :class => "span9", :style => "margin-left:10px" = submit_tag "Post", ...
<|file_sep|>original/app/views/people/_thoughts.html.haml %h2= Settings.front_page_note_prompt = create_event_form Note do |f| = hidden_field_tag :redirect_to, person_view_url(@topic, View.for_user.where(:name => "all").first, :anchor => "current_time_break") = f.text_field :body, :class => "span9", :style => "marg...
e5cda40636d239efc5277d8f969cf566d8f6af50
app/views/people/_thoughts.html.haml
app/views/people/_thoughts.html.haml
Haml
<|file_sep|>original/src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java package nom.bdezonia.zorbage.algorithm; class TestLUSolve {} <|file_sep|>current/src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java package nom.bdezonia.zorbage.algorithm; class TestLUSolve {} <|file_sep|>updated/src/test/java...
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2018 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
<|file_sep|>original/src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java package nom.bdezonia.zorbage.algorithm; class TestLUSolve {} <|file_sep|>current/src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java package nom.bdezonia.zorbage.algorithm; class TestLUSolve {} <|file_sep|>updated/src/test/java...
2fa3c158a8c52f6710c8a70b8b54a3154a0e607a
src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java
src/test/java/nom/bdezonia/zorbage/algorithm/TestLUSolve.java
Java
<|file_sep|>src/rf/apps/home/urls.py.diff original: url(r'user/(?P<username>' + username_regex + r')/favorites/', updated: url(r'user/(?P<username>' + username_regex + r')/favorites/$', <|file_sep|>src/rf/apps/home/urls.py.diff original: slug_regex + r')/favorite/', updated: slug_regex + r')/fav...
router.register(r'user/(?P<username>' + username_regex + r')/layers', UserLayerViewSet, base_name='user_layers') urlpatterns = patterns( '', url(r'^', include(router.urls)), url(r'user/(?P<username>' + username_regex + r')/favorites/$', FavoriteListView.as_view()), url(r'user/(...
<|file_sep|>src/rf/apps/home/urls.py.diff original: url(r'user/(?P<username>' + username_regex + r')/favorites/', updated: url(r'user/(?P<username>' + username_regex + r')/favorites/$', <|file_sep|>src/rf/apps/home/urls.py.diff original: slug_regex + r')/favorite/', updated: slug_regex + r')/fav...
54b3663206d80aa2dbe4f93c6f8ce9fc45424bf3
src/rf/apps/home/urls.py
src/rf/apps/home/urls.py
Python