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/apacheds/protocols/dns/pom.xml <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.directory.server.protocols</groupId> <artifactId>build</artifactId> <version>0.9.4-SNAPSHOT</version> </parent> <version>0.3-SNAPSHOT</version> <artifactId>org.apache.direc...
<project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.directory.server.protocols</groupId> <artifactId>build</artifactId> <version>0.9.4-SNAPSHOT</version> </parent> <version>0.3-SNAPSHOT</version> <artifactId>org.apache.directory.protocol.dns</artifactId> <name>dns-protocol<...
<|file_sep|>original/apacheds/protocols/dns/pom.xml <project> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.directory.server.protocols</groupId> <artifactId>build</artifactId> <version>0.9.4-SNAPSHOT</version> </parent> <version>0.3-SNAPSHOT</version> <artifactId>org.apache.direc...
30b3e3b42c5bccf0596ded881869d9b62947b380
apacheds/protocols/dns/pom.xml
apacheds/protocols/dns/pom.xml
XML
<|file_sep|>original/lib/detour.rb # Class to represent a detour, which holds a start and end Coordinate. class Detour attr_accessor :start, :terminus def initialize(start, terminus) @start, @terminus = start, terminus end def valid? @start.nil? ? @terminus.nil? : (not @terminus.nil?) end def in...
# Class to represent a detour, which holds a start and end Coordinate. class Detour attr_accessor :start, :terminus def initialize(start, terminus) @start, @terminus = start, terminus end def valid? @start.nil? ? @terminus.nil? : !!@terminus end def invalid? not valid? end def no_distan...
<|file_sep|>original/lib/detour.rb # Class to represent a detour, which holds a start and end Coordinate. class Detour attr_accessor :start, :terminus def initialize(start, terminus) @start, @terminus = start, terminus end def valid? @start.nil? ? @terminus.nil? : (not @terminus.nil?) end def in...
926ae6eab759f40eab2d2e3a2de39696ebf86b94
lib/detour.rb
lib/detour.rb
Ruby
<|file_sep|>original/.github/workflows/linux_mkspecs.yml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: use...
name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: uses: steinwurf/linux-mkspecs-action/.github/workflows/actio...
<|file_sep|>original/.github/workflows/linux_mkspecs.yml name: Linux C++ make-specs on: workflow_dispatch: inputs: extra_resolve_options: description: "Extra Resolve Options" required: false schedule: - cron: "0 1 * * *" # 3 AM CET push: pull_request: jobs: Linux-mkspecs: use...
0f22f9128c6b23a4b88d10a0e60a2a67bf301ac8
.github/workflows/linux_mkspecs.yml
.github/workflows/linux_mkspecs.yml
YAML
<|file_sep|>original/requirements.txt appdirs==1.4.3 autopep8==1.3.3 certifi==2017.7.27.1 chardet==3.0.4 contextlib2==0.5.5 Django==1.11.7 django-appconf==1.0.2 django-cacheops==4.0 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.1 django-taggit-serializer==0.1.5 djangorestframework==3.7.7 djangorestf...
appdirs==1.4.3 autopep8==1.3.3 certifi==2017.7.27.1 chardet==3.0.4 contextlib2==0.5.5 Django==1.11.7 django-appconf==1.0.2 django-cacheops==4.0 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.2 django-taggit-serializer==0.1.5 djangorestframework==3.7.7 djangorestframework-jwt==1.11.0 freezegun==0.3.9 ...
<|file_sep|>original/requirements.txt appdirs==1.4.3 autopep8==1.3.3 certifi==2017.7.27.1 chardet==3.0.4 contextlib2==0.5.5 Django==1.11.7 django-appconf==1.0.2 django-cacheops==4.0 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.1 django-taggit-serializer==0.1.5 djangorestframework==3.7.7 djangorestf...
46fbb9d0e5e6632664da010b6fe96ed2425317ec
requirements.txt
requirements.txt
Text
<|file_sep|>original/locales/si/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
# Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for e...
<|file_sep|>original/locales/si/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
a885d367cda7e40476dd9ed4c0baa978a88c4b4e
locales/si/webextension.properties
locales/si/webextension.properties
INI
<|file_sep|>original/www/styles/site-jw-player-media-display.css .video-player .video-player-upgrade { background: rgba(255, 255, 255, 0.5); border-radius: 10px; width: 80%; margin: 0 10%; text-shadow: none; font-size: 14px; color: #333; } .video-player .video-player-upgrade a { color: #333!important; } /* F...
border-radius: 10px; width: 80%; margin: 0 10%; text-shadow: none; font-size: 14px; color: #333; } .video-player .video-player-upgrade a { color: #333!important; } /* Fix for apsect-ratio sized flash player. Was broken in Chrome. */ .video-player object { top: 0; left: 0; } .video-player > div { vertical-...
<|file_sep|>original/www/styles/site-jw-player-media-display.css .video-player .video-player-upgrade { background: rgba(255, 255, 255, 0.5); border-radius: 10px; width: 80%; margin: 0 10%; text-shadow: none; font-size: 14px; color: #333; } .video-player .video-player-upgrade a { color: #333!important; } /* F...
45aa9432286858998d52ded8f98effe78cf44a16
www/styles/site-jw-player-media-display.css
www/styles/site-jw-player-media-display.css
CSS
<|file_sep|>original/scripts/deploy.sh # !/usr/bin/bash set -e -x yarn assets gzip -S .cgz $(find public/assets -name '*.css') gzip -S .jgz $(find public/assets -name '*.js') bucket-assets --bucket artsy-force-$DEPLOY_ENV heroku config:set NODE_MODULES_CACHE=false --app=force-$DEPLOY_ENV heroku config:set ASSET_MANIF...
# !/usr/bin/bash set -e -x yarn assets gzip -S .cgz $(find public/assets -name '*.css') gzip -S .jgz $(find public/assets -name '*.js') bucket-assets --bucket artsy-force-$DEPLOY_ENV heroku config:set ASSET_MANIFEST=$(cat manifest.json) --app=force-$DEPLOY_ENV if [ -z "$CIRCLE_SHA1" ]; then git push --force git@her...
<|file_sep|>original/scripts/deploy.sh # !/usr/bin/bash set -e -x yarn assets gzip -S .cgz $(find public/assets -name '*.css') gzip -S .jgz $(find public/assets -name '*.js') bucket-assets --bucket artsy-force-$DEPLOY_ENV heroku config:set NODE_MODULES_CACHE=false --app=force-$DEPLOY_ENV heroku config:set ASSET_MANIF...
34f2766f39247aa3362dc2b7a9e4baf0beff14ec
scripts/deploy.sh
scripts/deploy.sh
Shell
<|file_sep|>original/.vscode/launch.json // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "r...
// Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", "program":...
<|file_sep|>original/.vscode/launch.json // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "r...
c2dbc01be0e1aa9a1c698fdaf12b0cb5ddd7a2e2
.vscode/launch.json
.vscode/launch.json
JSON
<|file_sep|>original/pubspec.yaml name: epub version: 2.1.0 author: Colin Nelson <colin@orthros.dev> description: Epub Parser for Dart. Suitable for use on the Server, the Web, or in Flutter homepage: https://github.com/orthros/dart-epub environment: sdk: ">=2.0.0 <3.0.0" dependencies: async: ">=1.8.0 <3.0.0" arc...
name: epub version: 2.1.0 author: Colin Nelson <colin@orthros.dev> description: Epub Parser for Dart. Suitable for use on the Server, the Web, or in Flutter homepage: https://github.com/orthros/dart-epub environment: sdk: ">=2.0.0 <3.0.0" dependencies: async: ">=1.8.0 <3.0.0" archive: "^2.0.0" quiver: ">=2.0.0 ...
<|file_sep|>original/pubspec.yaml name: epub version: 2.1.0 author: Colin Nelson <colin@orthros.dev> description: Epub Parser for Dart. Suitable for use on the Server, the Web, or in Flutter homepage: https://github.com/orthros/dart-epub environment: sdk: ">=2.0.0 <3.0.0" dependencies: async: ">=1.8.0 <3.0.0" arc...
35d0f06e36b0222aa3f201923b3a5030573cf8b2
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/src/reducers/wallet.js import { actionTypes } from 'actions/wallet'; import { REHYDRATE } from 'redux-persist/constants'; import CryptoHelper from 'helper/crypto'; const handlers = { [actionTypes.CREATE_ITEM]: (state, action) => { let { items=[], ...others } = state; let newState = { .....
import { actionTypes } from 'actions/wallet'; import { REHYDRATE } from 'redux-persist/constants'; import CryptoHelper from 'helper/crypto'; const handlers = { [actionTypes.CREATE_ITEM]: (state, action) => { let { items=[], ...others } = state; let newItem = { title: 'New login', type: 'LOGIN', ...
<|file_sep|>original/src/reducers/wallet.js import { actionTypes } from 'actions/wallet'; import { REHYDRATE } from 'redux-persist/constants'; import CryptoHelper from 'helper/crypto'; const handlers = { [actionTypes.CREATE_ITEM]: (state, action) => { let { items=[], ...others } = state; let newState = { .....
5ffc36a8d63e246c3cb5e1e2b19656355593a306
src/reducers/wallet.js
src/reducers/wallet.js
JavaScript
<|file_sep|>original/.travis.yml env: - TCL_VERSION=8.6.0 - TCL_VERSION=8.5.13 install: - curl -L "http://prdownloads.sourceforge.net/tcl/tcl${TCL_VERSION}-src.tar.gz" | tar xzfv - - cd "tcl${TCL_VERSION}/unix" - ./configure - make - sudo make install - sudo ln -sf "/usr/local/bin/tclsh$(echo $TCL_VERS...
install: - curl -L "http://prdownloads.sourceforge.net/tcl/tcl${TCL_VERSION}-src.tar.gz" | tar xzfv - - cd "tcl${TCL_VERSION}/unix" - ./configure - make - sudo make install - sudo ln -sf "/usr/local/bin/tclsh$(echo $TCL_VERSION | sed -e 's/\.[0-9]*$//')" /usr/local/bin/tclsh - cd ../.. - if [ "$TCL_VE...
<|file_sep|>original/.travis.yml env: - TCL_VERSION=8.6.0 - TCL_VERSION=8.5.13 install: - curl -L "http://prdownloads.sourceforge.net/tcl/tcl${TCL_VERSION}-src.tar.gz" | tar xzfv - - cd "tcl${TCL_VERSION}/unix" - ./configure - make - sudo make install - sudo ln -sf "/usr/local/bin/tclsh$(echo $TCL_VERS...
2556b2fa2d733f4fdddb3d1aae29cda8c9b3a101
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml --- language: python python: "2.7" env: - ANSIBLE_VERSION=1.9.2 install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION # Add ansible.cfg to pick up roles path. - printf "[defaults]\nroles_path=./" > ansible.cfg script: # TODO: once travis-ci includes an opt...
--- language: python python: "2.7" env: - ANSIBLE_VERSION=2.1.2.0 install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION # Add ansible.cfg to pick up roles path. - printf "[defaults]\nroles_path=./" > ansible.cfg script: # TODO: once travis-ci includes an option to use CentOS, run the play...
<|file_sep|>original/.travis.yml --- language: python python: "2.7" env: - ANSIBLE_VERSION=1.9.2 install: # Install Ansible. - pip install ansible==$ANSIBLE_VERSION # Add ansible.cfg to pick up roles path. - printf "[defaults]\nroles_path=./" > ansible.cfg script: # TODO: once travis-ci includes an opt...
96e9c06aa1dfa527d4601d967bcc125d73aeecc5
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/pod/command/dependencies.rb.diff original: updated: def self.options [ ['--ignore-lockfile', 'whether the lockfile should be ignored when calculating the dependency graph'], ].concat(super) end def initialize(argv) @ignore_lockfile = argv.flag?('igno...
def run UI.section 'Project Dependencies' do STDOUT.puts dependencies.to_yaml end end def dependencies @dependencies ||= begin verify_podfile_exists! analyzer = Installer::Analyzer.new( config.sandbox, config.podfile, ...
<|file_sep|>lib/pod/command/dependencies.rb.diff original: updated: def self.options [ ['--ignore-lockfile', 'whether the lockfile should be ignored when calculating the dependency graph'], ].concat(super) end def initialize(argv) @ignore_lockfile = argv.flag?('igno...
b8987ddc61332da8fdb8199687a6df7b3202b5b3
lib/pod/command/dependencies.rb
lib/pod/command/dependencies.rb
Ruby
<|file_sep|>clojure/profiles.clj.diff original: :stacktraces true} updated: :stacktraces true :repl true :java true :tests true} <|file_sep|>original/clojure/profiles.clj {:user {:ultra {:color-scheme :solarized_dark :stac...
{:user {:ultra {:color-scheme :solarized_dark :stacktraces true :repl true :java true :tests true} :plugins [[lein-try "0.4.3"] [lein-ancient "0.6.10-SNAPSHOT"] [lein-kibit "0.1.2"] [jonase/eas...
<|file_sep|>clojure/profiles.clj.diff original: :stacktraces true} updated: :stacktraces true :repl true :java true :tests true} <|file_sep|>original/clojure/profiles.clj {:user {:ultra {:color-scheme :solarized_dark :stac...
bbcf1b8bf9d4c6bea0583e1106b36cfec9703cf2
clojure/profiles.clj
clojure/profiles.clj
Clojure
<|file_sep|>.travis.yml.diff original: - jruby-9.1.2.0 updated: - jruby <|file_sep|>original/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.5 - 2.3.1 - jruby-9.1.2.0 - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: r...
language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.5 - 2.3.1 - jruby - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: rbx - rvm: jruby
<|file_sep|>.travis.yml.diff original: - jruby-9.1.2.0 updated: - jruby <|file_sep|>original/.travis.yml language: ruby bundler_args: --without debug script: "bundle exec rspec spec" env: - CI=true rvm: - 2.2.5 - 2.3.1 - jruby-9.1.2.0 - rbx cache: bundler sudo: false matrix: allow_failures: - rvm: r...
344c8ff9786d6f522a86213efc572c8cef01c9d5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/Providers/User/EloquentUserAdapter.php * Create a new User instance * * @param \Illuminate\Database\Eloquent\Model $user */ public function __construct(Model $user) { $this->user = $user; } /** * Get the user by the given key, value * ...
* Create a new User instance * * @param \Illuminate\Database\Eloquent\Model $user */ public function __construct(Model $user) { $this->user = $user; } /** * Get the user by the given key, value * * @param mixed $key * @param mixed $value * @retu...
<|file_sep|>original/src/Providers/User/EloquentUserAdapter.php * Create a new User instance * * @param \Illuminate\Database\Eloquent\Model $user */ public function __construct(Model $user) { $this->user = $user; } /** * Get the user by the given key, value * ...
07d16581e5ab15a229f73e85286be0d04123c20b
src/Providers/User/EloquentUserAdapter.php
src/Providers/User/EloquentUserAdapter.php
PHP
<|file_sep|>original/sample_texts/und-Phnx.txt ‎ 𐤁‎ 𐤂‎ 𐤃‎ 𐤄‎ 𐤅‎ 𐤆‎ 𐤇‎ 𐤈‎ 𐤉‎ 𐤊‎ 𐤋‎ 𐤌‎ 𐤍‎ 𐤎‎ 𐤏‎𐤐‎ 𐤑‎ 𐤒‎ 𐤓‎ 𐤔‎ 𐤕‎ 𐤖‎ 𐤗‎ 𐤘‎ 𐤙‎ 𐤚‎ 𐤛‎ 𐤟‎ <|file_sep|>current/sample_texts/und-Phnx.txt ‎ 𐤁‎ 𐤂‎ 𐤃‎ 𐤄‎ 𐤅‎ 𐤆‎ 𐤇‎ 𐤈‎ 𐤉‎ 𐤊‎ 𐤋‎ 𐤌‎ 𐤍‎ 𐤎‎ 𐤏‎𐤐‎ 𐤑‎ 𐤒‎ 𐤓‎ 𐤔‎ 𐤕‎ 𐤖‎ 𐤗‎ 𐤘‎ 𐤙‎ 𐤚‎ 𐤛‎ 𐤟‎ <...
𐤀 𐤁 𐤂 𐤃 𐤄 𐤅 𐤆 𐤇 𐤈 𐤉 𐤊 𐤋 𐤌 𐤍 𐤎 𐤏𐤐 𐤑 𐤒 𐤓 𐤔 𐤕 𐤖 𐤗 𐤘 𐤙 𐤚 𐤛 𐤟
<|file_sep|>original/sample_texts/und-Phnx.txt ‎ 𐤁‎ 𐤂‎ 𐤃‎ 𐤄‎ 𐤅‎ 𐤆‎ 𐤇‎ 𐤈‎ 𐤉‎ 𐤊‎ 𐤋‎ 𐤌‎ 𐤍‎ 𐤎‎ 𐤏‎𐤐‎ 𐤑‎ 𐤒‎ 𐤓‎ 𐤔‎ 𐤕‎ 𐤖‎ 𐤗‎ 𐤘‎ 𐤙‎ 𐤚‎ 𐤛‎ 𐤟‎ <|file_sep|>current/sample_texts/und-Phnx.txt ‎ 𐤁‎ 𐤂‎ 𐤃‎ 𐤄‎ 𐤅‎ 𐤆‎ 𐤇‎ 𐤈‎ 𐤉‎ 𐤊‎ 𐤋‎ 𐤌‎ 𐤍‎ 𐤎‎ 𐤏‎𐤐‎ 𐤑‎ 𐤒‎ 𐤓‎ 𐤔‎ 𐤕‎ 𐤖‎ 𐤗‎ 𐤘‎ 𐤙‎ 𐤚‎ 𐤛‎ 𐤟‎ <...
f460170050316b4fb03bb066af58d36148d38bee
sample_texts/und-Phnx.txt
sample_texts/und-Phnx.txt
Text
<|file_sep|>original/sbt_common/messaging/src/main/scala/uk/ac/wellcome/messaging/sqs/SQSConfigModule.scala package uk.ac.wellcome.messaging.sqs import javax.inject.Singleton import com.google.inject.Provides import com.twitter.inject.TwitterModule import uk.ac.wellcome.messaging.sqs.SQSConfig import scala.concurren...
package uk.ac.wellcome.messaging.sqs import javax.inject.Singleton import com.google.inject.Provides import com.twitter.inject.TwitterModule import scala.concurrent.duration._ object SQSConfigModule extends TwitterModule { private val queueUrl = flag[String]("aws.sqs.queue.url", "", "URL of the SQS Queue") ...
<|file_sep|>original/sbt_common/messaging/src/main/scala/uk/ac/wellcome/messaging/sqs/SQSConfigModule.scala package uk.ac.wellcome.messaging.sqs import javax.inject.Singleton import com.google.inject.Provides import com.twitter.inject.TwitterModule import uk.ac.wellcome.messaging.sqs.SQSConfig import scala.concurren...
ebc2ac6f7f4033d14b2c42b986b8d9c5852fd7c9
sbt_common/messaging/src/main/scala/uk/ac/wellcome/messaging/sqs/SQSConfigModule.scala
sbt_common/messaging/src/main/scala/uk/ac/wellcome/messaging/sqs/SQSConfigModule.scala
Scala
<|file_sep|>original/db/migrate/20200916124447_ccs_slider.rb <|file_sep|>current/db/migrate/20200916124447_ccs_slider.rb <|file_sep|>updated/db/migrate/20200916124447_ccs_slider.rb
require 'etengine/scenario_migration' class CcsSlider < ActiveRecord::Migration[5.2] include ETEngine::ScenarioMigration NEW_INDUSTRY_INPUTS = %w[ share_of_industry_chemicals_fertilizers_captured_combustion_co2 share_of_industry_steel_captured_co2 share_of_industry_other_paper_captured_co2 ...
<|file_sep|>original/db/migrate/20200916124447_ccs_slider.rb <|file_sep|>current/db/migrate/20200916124447_ccs_slider.rb <|file_sep|>updated/db/migrate/20200916124447_ccs_slider.rb require 'etengine/scenario_migration' class CcsSlider < ActiveRecord::Migration[5.2] include ETEngine::ScenarioMigration NEW_INDUSTR...
529a9da7f2cb9a8787a720ca786c6fd92468dff5
db/migrate/20200916124447_ccs_slider.rb
db/migrate/20200916124447_ccs_slider.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: python cache: apt: true directories: - $HOME/.cache/pip addons: apt: packages: - libatlas3gf-base - libatlas-dev - python-scipy python: - "2.7" - "3.5" - "nightly" install: <|file_sep|>...
sudo: required language: python cache: apt: true directories: - $HOME/.cache/pip addons: apt: packages: - libatlas3gf-base - libatlas-dev - python-scipy python: - "2.7" - "3.5" - "nightly" install:
<|file_sep|>original/.travis.yml sudo: false language: python cache: apt: true directories: - $HOME/.cache/pip addons: apt: packages: - libatlas3gf-base - libatlas-dev - python-scipy python: - "2.7" - "3.5" - "nightly" install: <|file_sep|>...
a581920e4b8d0cb0dd3510575df43a0f08b3b39c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/acinclude.m4 <|file_sep|>current/acinclude.m4 <|file_sep|>updated/acinclude.m4
AC_DEFUN([AX_PROJECT_LOCAL_HOOK], [ AC_CHECK_HEADERS(pthread.h) AC_CHECK_LIB([pthread], [pthread_create], [CFLAGS="${CFLAGS} -pthread"], [AC_MSG_ERROR([cannot link with -pthread.])] ) ])
<|file_sep|>original/acinclude.m4 <|file_sep|>current/acinclude.m4 <|file_sep|>updated/acinclude.m4 AC_DEFUN([AX_PROJECT_LOCAL_HOOK], [ AC_CHECK_HEADERS(pthread.h) AC_CHECK_LIB([pthread], [pthread_create], [CFLAGS="${CFLAGS} -pthread"], [AC_MSG_ERROR([cannot link with -pthread.])] ) ])
bc09d3f7bd5c68991ad0bc627110033317891269
acinclude.m4
acinclude.m4
M4
<|file_sep|>original/locales/be/server.ftl <|file_sep|>current/locales/be/server.ftl <|file_sep|>updated/locales/be/server.ftl
// Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed with 'g' [[ global ]] gMyShots = Мае здымкі [[ Footer ]] // Note: link text for a link to mozilla.org footerLinkMozilla = Mozill...
<|file_sep|>original/locales/be/server.ftl <|file_sep|>current/locales/be/server.ftl <|file_sep|>updated/locales/be/server.ftl // Localization for Server-side strings of Firefox Screenshots // // Please don't localize Firefox, Firefox Screenshots, or Screenshots // Global phrases shared across pages, prefixed wit...
7715f503d9d0738032d7083e698bdf51e98d7656
locales/be/server.ftl
locales/be/server.ftl
FreeMarker
<|file_sep|>src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java.diff original: updated: import cpw.mods.fml.common.network.NetworkCheckHandler; import cpw.mods.fml.relauncher.Side; <|file_sep|>src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java.diff original: updated: import java.util.Map; <|...
import cpw.mods.fml.common.network.NetworkCheckHandler; import cpw.mods.fml.relauncher.Side; import mods.smbarbour.strangetoolkit.commands.OMTChangeOwnerCommand; import java.util.Map; @Mod(modid = "strangetoolkit", name="StrangeToolkit", version = "1.0") public class StrangeToolkit { @Mod.EventHandler public void s...
<|file_sep|>src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java.diff original: updated: import cpw.mods.fml.common.network.NetworkCheckHandler; import cpw.mods.fml.relauncher.Side; <|file_sep|>src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java.diff original: updated: import java.util.Map; <|...
609bb2f3dcc6208349fd11e07a0a3ca2fcce53f9
src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java
src/main/java/mods/smbarbour/strangetoolkit/StrangeToolkit.java
Java
<|file_sep|>original/src/add_communication.js const sortCountMap = map => map.sort((a, b) => { a = a.get('trend'); b = b.get('trend'); return a === b ? 0 : b > a ? 1 : -1; }) module.exports = function addCommunication(communications, msg) { let author = msg.from[0].name , inReplyTo = (msg.inReplyTo || [...
const sortCountMap = map => map.sort((a, b) => { a = a.get('trend'); b = b.get('trend'); return a === b ? 0 : b > a ? 1 : -1; }) module.exports = function addCommunication(communications, msg) { let author = msg.from[0].name || msg.from[0].address , inReplyTo = (msg.inReplyTo || [{}])[0] , pair ...
<|file_sep|>original/src/add_communication.js const sortCountMap = map => map.sort((a, b) => { a = a.get('trend'); b = b.get('trend'); return a === b ? 0 : b > a ? 1 : -1; }) module.exports = function addCommunication(communications, msg) { let author = msg.from[0].name , inReplyTo = (msg.inReplyTo || [...
2010f119cf9c6cd019b2ad44492b60810b545b07
src/add_communication.js
src/add_communication.js
JavaScript
<|file_sep|>original/package.json }, "scripts": { "test": "cd test && (xdg-open || open) index.html" }, "repository": { "type": "git", "url": "git@github.com:jillix/medium-editor-custom-html.git" }, "keywords": [ "medium", "editor", "custom", "html" ], "author": "jillix <cont...
"type": "git", "url": "git@github.com:jillix/medium-editor-custom-html.git" }, "keywords": [ "medium", "editor", "custom", "html" ], "author": "jillix <contact@jillix.com>", "contributors": [ { "name": "Ariel Rodriguez <arielsvn@gmail.com> (http://arielsvn.github.io)" } ...
<|file_sep|>original/package.json }, "scripts": { "test": "cd test && (xdg-open || open) index.html" }, "repository": { "type": "git", "url": "git@github.com:jillix/medium-editor-custom-html.git" }, "keywords": [ "medium", "editor", "custom", "html" ], "author": "jillix <cont...
c10f489d1a1d503effe058c10c0c9f55323fad44
package.json
package.json
JSON
<|file_sep|>original/README.md # LylooChat Help software for Leylyloo <|file_sep|>current/README.md # LylooChat Help software for Leylyloo <|file_sep|>updated/README.md
# LylooChat Help software for Leylyloo. Developement in progress, see roadmap at : https://trello.com/b/eH4jIzyx/lyloochat. Technologies validated and used : * Phonegap - to support various platforms and access devices - http://phonegap.com/ * gulpjs - to manage workflow - http://gulpjs.com/ * PureCss - for gl...
<|file_sep|>original/README.md # LylooChat Help software for Leylyloo <|file_sep|>current/README.md # LylooChat Help software for Leylyloo <|file_sep|>updated/README.md # LylooChat Help software for Leylyloo. Developement in progress, see roadmap at : https://trello.com/b/eH4jIzyx/lyloochat. Technologies validated a...
148d1b81510963e1779e05c4c971243333ee1324
README.md
README.md
Markdown
<|file_sep|>original/org.metaborg.util/build.gradle.kts api("org.apache.commons:commons-vfs2") api("commons-io:commons-io") api("io.reactivex.rxjava3:rxjava") api("com.google.guava:guava") api("com.google.inject:guice") api("org.slf4j:slf4j-api") compileOnly("com.google.code.findbugs:jsr305") testCom...
api("org.apache.commons:commons-vfs2") api("commons-io:commons-io") api("io.reactivex.rxjava3:rxjava") api("com.google.guava:guava") api("com.google.inject:guice") api("org.slf4j:slf4j-api") compileOnly("com.google.code.findbugs:jsr305") testCompileOnly("junit:junit") testCompileOnly("com.google.co...
<|file_sep|>original/org.metaborg.util/build.gradle.kts api("org.apache.commons:commons-vfs2") api("commons-io:commons-io") api("io.reactivex.rxjava3:rxjava") api("com.google.guava:guava") api("com.google.inject:guice") api("org.slf4j:slf4j-api") compileOnly("com.google.code.findbugs:jsr305") testCom...
8cc57d3f9a6f54b808f6e7298b72a86cf9267a97
org.metaborg.util/build.gradle.kts
org.metaborg.util/build.gradle.kts
Kotlin
<|file_sep|>packages/fi/fizzbuzz-as-a-service.yaml.diff original: homepage: https://github.com/chris-martin/haskell-libraries updated: homepage: https://github.com/chris-martin/fizzbuzz-as-a-service <|file_sep|>packages/fi/fizzbuzz-as-a-service.yaml.diff original: hash: f075df238907a08db7271a3e5d366a142709e1708699740c6...
homepage: https://github.com/chris-martin/fizzbuzz-as-a-service changelog-type: '' hash: 6fc51b40f6b15e0369471e2441c9809030bb676d2e351aa3793873d59b414be7 test-bench-deps: {} maintainer: Chris Martin <ch.martin@gmail.com> synopsis: FizzBuzz as a service. changelog: '' basic-deps: bytestring: -any base: ! '>=4.9 && <...
<|file_sep|>packages/fi/fizzbuzz-as-a-service.yaml.diff original: homepage: https://github.com/chris-martin/haskell-libraries updated: homepage: https://github.com/chris-martin/fizzbuzz-as-a-service <|file_sep|>packages/fi/fizzbuzz-as-a-service.yaml.diff original: hash: f075df238907a08db7271a3e5d366a142709e1708699740c6...
821f6ca7418c85f59ab427e74f9375a5eefa2a36
packages/fi/fizzbuzz-as-a-service.yaml
packages/fi/fizzbuzz-as-a-service.yaml
YAML
<|file_sep|>original/examples/example-basic/example-basic-application/src/main/java/no/steria/skuldsku/example/basic/impl/InMemoryPlaceDao.java } private static List<String> all() { synchronized (places) { return new ArrayList<>(places); } } @Override public void addPla...
} private static List<String> all() { synchronized (places) { return new ArrayList<>(places); } } @Override public void addPlace(String name) { InMemoryPlaceDao.add(name); } @Override public List<String> findMatches(String part) { if (part =...
<|file_sep|>original/examples/example-basic/example-basic-application/src/main/java/no/steria/skuldsku/example/basic/impl/InMemoryPlaceDao.java } private static List<String> all() { synchronized (places) { return new ArrayList<>(places); } } @Override public void addPla...
91699677411bd150029c035cad3740aad775ed1f
examples/example-basic/example-basic-application/src/main/java/no/steria/skuldsku/example/basic/impl/InMemoryPlaceDao.java
examples/example-basic/example-basic-application/src/main/java/no/steria/skuldsku/example/basic/impl/InMemoryPlaceDao.java
Java
<|file_sep|>original/.github/workflows/php.yml jobs: build: strategy: matrix: php: ['7.2', '7.3', '7.4', '8.0'] phpunit: ['6.0', '7.0', '8.0', '9.0'] exclude: - php: '7.2' phpunit: '9.0' runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 ...
jobs: build: strategy: matrix: php: ['7.2', '7.3', '7.4', '8.0'] phpunit: ['6.0', '7.0', '8.0', '9.0'] exclude: - php: '7.2' phpunit: '9.0' - php: '8.0' phpunit: '6.0' runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 ...
<|file_sep|>original/.github/workflows/php.yml jobs: build: strategy: matrix: php: ['7.2', '7.3', '7.4', '8.0'] phpunit: ['6.0', '7.0', '8.0', '9.0'] exclude: - php: '7.2' phpunit: '9.0' runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 ...
5d82d2f69f35b63a440ae48fc70da1b66ab81c3e
.github/workflows/php.yml
.github/workflows/php.yml
YAML
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 nose==1.3.7 dateutils==0.6.6 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 ...
pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.5.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 nose==1.3.7 dateutils==0.6.6
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.4.1 tox==2.8.1 coverage==4.4.1 Sphinx==1.6.3 cryptography==2.0.3 PyYAML==3.12 nose==1.3.7 dateutils==0.6.6 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 ...
6afe19a777e6b3e9ea9b788d62598acdbae154da
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/app/models/biodiversity_report.rb validates_numericality_of :temperature, allow_nil: true validates_numericality_of :species_richness, only_integer: true, greater_than: 0 validates_numericality_of :diversity_index, greater_than: 0 validates_numericality_of :species_evenness, greater_than_or...
validates_numericality_of :temperature, allow_nil: true validates_numericality_of :species_richness, only_integer: true, greater_than: 0 validates_numericality_of :diversity_index, greater_than: 0 validates_numericality_of :species_evenness, greater_than_or_equal_to: 0, less_than_or_equal_to: 1, allow_nil: true...
<|file_sep|>original/app/models/biodiversity_report.rb validates_numericality_of :temperature, allow_nil: true validates_numericality_of :species_richness, only_integer: true, greater_than: 0 validates_numericality_of :diversity_index, greater_than: 0 validates_numericality_of :species_evenness, greater_than_or...
0f7d5524b0ed04173b69f83df714a12d2e6d4712
app/models/biodiversity_report.rb
app/models/biodiversity_report.rb
Ruby
<|file_sep|>original/app/assets/javascripts/time_entries.js $('#time_entry_duration').parent().show(); $('#time_entry_result').parent().show(); $('#time_entry_start_time').parents(".form-group").show(); } } $(document).on("turbolinks:load", function() { hideOrShowFields(); $('#te_date...
$('#time_entry_start_time').parents(".form-group").show(); } } $(document).on("turbolinks:load", function() { hideOrShowFields(); $('#te_datetimepicker').datetimepicker(); $('input[name="time_entry[running]"]').change(hideOrShowFields); }) }); (function poll(){ setTimeout(function() { ...
<|file_sep|>original/app/assets/javascripts/time_entries.js $('#time_entry_duration').parent().show(); $('#time_entry_result').parent().show(); $('#time_entry_start_time').parents(".form-group").show(); } } $(document).on("turbolinks:load", function() { hideOrShowFields(); $('#te_date...
3dddaa44e60c720f7526af96348de31ec08794cc
app/assets/javascripts/time_entries.js
app/assets/javascripts/time_entries.js
JavaScript
<|file_sep|>original/kaiser_shift.py <|file_sep|>current/kaiser_shift.py <|file_sep|>updated/kaiser_shift.py
#!/usr/bin/env python2.7 # ##### BEGIN AGPL LICENSE BLOCK ##### # This file is part of SimpleMMO. # # Copyright (C) 2012 Charles Nelson # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, e...
<|file_sep|>original/kaiser_shift.py <|file_sep|>current/kaiser_shift.py <|file_sep|>updated/kaiser_shift.py #!/usr/bin/env python2.7 # ##### BEGIN AGPL LICENSE BLOCK ##### # This file is part of SimpleMMO. # # Copyright (C) 2012 Charles Nelson # # This program is free software: you can redistribute it and/or modify ...
a1229bd5cc1446c11950232ee551acfc99092fcf
kaiser_shift.py
kaiser_shift.py
Python
<|file_sep|>original/.travis.yml language: groovy install: true before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ <|file_sep|>current/.travis.yml language: groovy i...
language: groovy install: true before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ env: global: - GRADLE_OPTS="-Xms128m"
<|file_sep|>original/.travis.yml language: groovy install: true before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ <|file_sep|>current/.travis.yml language: groovy i...
cb4aaf5f1f00ce0c7c1ec68b7dda9e5f6efc041c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/db/20160817_Alter_Shop_Rates_TBL.sql <|file_sep|>current/db/20160817_Alter_Shop_Rates_TBL.sql <|file_sep|>updated/db/20160817_Alter_Shop_Rates_TBL.sql
ALTER TABLE shop_rates ADD CONSTRAINT fk_shop_rates_shops1_idx FOREIGN KEY (shop_id) REFERENCES shops(id); ALTER TABLE shop_rates ADD CONSTRAINT fk_shop_rates_orders1_idx FOREIGN KEY (order_id) REFERENCES orders(id); ALTER TABLE shop_rates ADD CONSTRAINT fk_shop_rates_customers1_idx FOREIGN KEY (customer_id) REFERENCES...
<|file_sep|>original/db/20160817_Alter_Shop_Rates_TBL.sql <|file_sep|>current/db/20160817_Alter_Shop_Rates_TBL.sql <|file_sep|>updated/db/20160817_Alter_Shop_Rates_TBL.sql ALTER TABLE shop_rates ADD CONSTRAINT fk_shop_rates_shops1_idx FOREIGN KEY (shop_id) REFERENCES shops(id); ALTER TABLE shop_rates ADD CONSTRAINT f...
f7c5c26c8d0460f9060648ca5b34976529b350c8
db/20160817_Alter_Shop_Rates_TBL.sql
db/20160817_Alter_Shop_Rates_TBL.sql
SQL
<|file_sep|>original/version_control/p4diff.sh #!/bin/bash bash "$(dirname $0)/p4differ.sh" "${@}" | colordiff | less -R <|file_sep|>current/version_control/p4diff.sh #!/bin/bash bash "$(dirname $0)/p4differ.sh" "${@}" | colordiff | less -R <|file_sep|>updated/version_control/p4diff.sh
#!/bin/bash bash "$(dirname $0)/p4differ.sh" "${@}" | diff-highlight | colordiff | less -R
<|file_sep|>original/version_control/p4diff.sh #!/bin/bash bash "$(dirname $0)/p4differ.sh" "${@}" | colordiff | less -R <|file_sep|>current/version_control/p4diff.sh #!/bin/bash bash "$(dirname $0)/p4differ.sh" "${@}" | colordiff | less -R <|file_sep|>updated/version_control/p4diff.sh #!/bin/bash bash "$(dirname $0...
8ee6ad5d6917fc408ef6972672810a8a3c8ead1c
version_control/p4diff.sh
version_control/p4diff.sh
Shell
<|file_sep|>original/.travis.yml language: ruby dist: trusty sudo: required before_install: - gem install bundler || gem install bundler -v 1.17.3 # the default bundler version on travis is very old and causes 1.9.3 build issues rvm: - 1.9.3 - jruby-1.7.26 - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - jr...
language: ruby dist: trusty sudo: required before_install: - gem install bundler || gem install bundler -v 1.17.3 # the default bundler version on travis is very old and causes 1.9.3 build issues rvm: - 1.9.3 - jruby-1.7.26 - 2.0.0 - 2.1.10 - 2.2.10 - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 - jruby-9.2.5.0 ...
<|file_sep|>original/.travis.yml language: ruby dist: trusty sudo: required before_install: - gem install bundler || gem install bundler -v 1.17.3 # the default bundler version on travis is very old and causes 1.9.3 build issues rvm: - 1.9.3 - jruby-1.7.26 - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - jr...
18bae17755c58f568ebb195a5dd06356d58e7bfe
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "node" before_script: - node_modules/o-tools-livescript/bin/build - git config --global user.email "circle@email.com" - git config --global user.name "circleci" notifications: email: false <|file_sep|>current/.travis.ym...
language: node_js node_js: - "4" - "5" - "6" before_script: - node_modules/o-tools-livescript/bin/build - git config --global user.email "circle@email.com" - git config --global user.name "circleci" notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "node" before_script: - node_modules/o-tools-livescript/bin/build - git config --global user.email "circle@email.com" - git config --global user.name "circleci" notifications: email: false <|file_sep|>current/.travis.ym...
196867cdc0016ede95c3701fbb31047989b84a1e
.travis.yml
.travis.yml
YAML
<|file_sep|>packages/lesswrong/lib/collections/posts/constants.ts.diff original: import SVGIconProps from '@material-ui/icons' updated: <|file_sep|>original/packages/lesswrong/lib/collections/posts/constants.ts { value: 4, label: 'spam' }, { value: 5, label: 'deleted' } ]; const amaTagIdSettin...
value: 4, label: 'spam' }, { value: 5, label: 'deleted' } ]; const amaTagIdSetting = new DatabasePublicSetting<string | null>('amaTagId', null) const openThreadTagIdSetting = new DatabasePublicSetting<string | null>('openThreadTagId', null) const startHerePostIdSetting = new DatabasePublicSetting...
<|file_sep|>packages/lesswrong/lib/collections/posts/constants.ts.diff original: import SVGIconProps from '@material-ui/icons' updated: <|file_sep|>original/packages/lesswrong/lib/collections/posts/constants.ts { value: 4, label: 'spam' }, { value: 5, label: 'deleted' } ]; const amaTagIdSettin...
ec19cfaaac32cec93f1b9ead9a6febcf3813a153
packages/lesswrong/lib/collections/posts/constants.ts
packages/lesswrong/lib/collections/posts/constants.ts
TypeScript
<|file_sep|>original/context_processors.py def settings(request): return {'settings': django_settings} def alternate_seo_url(request): alternate_url = dict() path = request.path url_parts = resolve( path ) url = path cur_language = get_language() for lang_code, lang_name in django_settin...
def settings(request): return {'settings': django_settings} def alternate_seo_url(request): alternate_url = dict() path = request.path url_parts = resolve( path ) if not url_parts.app_names: url = path cur_language = get_language() for lang_code, lang_name in django_settin...
<|file_sep|>original/context_processors.py def settings(request): return {'settings': django_settings} def alternate_seo_url(request): alternate_url = dict() path = request.path url_parts = resolve( path ) url = path cur_language = get_language() for lang_code, lang_name in django_settin...
defbf149afa47910742a588292507535b2679f54
context_processors.py
context_processors.py
Python
<|file_sep|>original/tests/check-bptree-set.cpp <|file_sep|>current/tests/check-bptree-set.cpp <|file_sep|>updated/tests/check-bptree-set.cpp
/* * Copyright (c) 2021-2022-2022, Patrick Pelissier * 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...
<|file_sep|>original/tests/check-bptree-set.cpp <|file_sep|>current/tests/check-bptree-set.cpp <|file_sep|>updated/tests/check-bptree-set.cpp /* * Copyright (c) 2021-2022-2022, Patrick Pelissier * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitt...
9ab90be6d42d75117972eff195edb7a4c9a03d2c
tests/check-bptree-set.cpp
tests/check-bptree-set.cpp
C++
<|file_sep|>metadata/org.openhab.habdroid.txt.diff original: updated: Auto Name:openHAB <|file_sep|>metadata/org.openhab.habdroid.txt.diff original: updated: Build:2.0.34-beta,36 commit=2.0.34-beta-release-fdroid subdir=mobile gradle=foss prebuild=sed -i -e 's|maven.fabric.io/public|repo1.maven.org/ma...
Build:2.0.27,30 commit=2.0.27-release-fdroid subdir=mobile gradle=foss prebuild=sed -i -e 's|maven.fabric.io/public|repo1.maven.org/maven2|' -e /fabric/d -e '/google-services/d' build.gradle Build:2.0.34-beta,36 commit=2.0.34-beta-release-fdroid subdir=mobile gradle=foss prebuild=sed -...
<|file_sep|>metadata/org.openhab.habdroid.txt.diff original: updated: Auto Name:openHAB <|file_sep|>metadata/org.openhab.habdroid.txt.diff original: updated: Build:2.0.34-beta,36 commit=2.0.34-beta-release-fdroid subdir=mobile gradle=foss prebuild=sed -i -e 's|maven.fabric.io/public|repo1.maven.org/ma...
7be8765c637202722f8c860a4696da3731ea68c8
metadata/org.openhab.habdroid.txt
metadata/org.openhab.habdroid.txt
Text
<|file_sep|>original/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/spring-context.xml #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3....
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" ...
<|file_sep|>original/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/spring-context.xml #set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3....
675d69477d4e4aeeb62281532837b848ad0df989
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/spring-context.xml
src/main/resources/archetype-resources/src/main/webapp/WEB-INF/spring-context.xml
XML
<|file_sep|>original/announcements/_posts/2015-11-20-week-13-meeting.md <|file_sep|>current/announcements/_posts/2015-11-20-week-13-meeting.md <|file_sep|>updated/announcements/_posts/2015-11-20-week-13-meeting.md
--- author: Mark Repka title: Week 13 Meeting date: 2015-11-20 layout: post --- Hey RITluggers! Happy week 13! This week we'll be talking about how you can create your own Linux distribution. This is the final step in taking 'system customization' to the extreme. We will start with a base system (Ubuntu in this case...
<|file_sep|>original/announcements/_posts/2015-11-20-week-13-meeting.md <|file_sep|>current/announcements/_posts/2015-11-20-week-13-meeting.md <|file_sep|>updated/announcements/_posts/2015-11-20-week-13-meeting.md --- author: Mark Repka title: Week 13 Meeting date: 2015-11-20 layout: post --- Hey RITluggers! Happy w...
a3a08eee76d38190904b85e6ce96a2feb7983641
announcements/_posts/2015-11-20-week-13-meeting.md
announcements/_posts/2015-11-20-week-13-meeting.md
Markdown
<|file_sep|>tests/test_travis.yml.diff original: updated: pre_tasks: - name: 'Create SSH keys pair' command: 'ssh-keygen -b 2048 -t rsa -f /tmp/sshkey -q -N ""' changed_when: False <|file_sep|>original/tests/test_travis.yml --- # Role travis tests - hosts: localhost remote_user: root roles: ...
- hosts: localhost remote_user: root pre_tasks: - name: 'Create SSH keys pair' command: 'ssh-keygen -b 2048 -t rsa -f /tmp/sshkey -q -N ""' changed_when: False roles: - "{{ role_name }}" post_tasks: - include: ./test_common.yml vars: role_name: "{{ lookup('env','TRAVIS_REPO_SLUG') ...
<|file_sep|>tests/test_travis.yml.diff original: updated: pre_tasks: - name: 'Create SSH keys pair' command: 'ssh-keygen -b 2048 -t rsa -f /tmp/sshkey -q -N ""' changed_when: False <|file_sep|>original/tests/test_travis.yml --- # Role travis tests - hosts: localhost remote_user: root roles: ...
c80f08e29ab065c229848d4bb598439894a79b7e
tests/test_travis.yml
tests/test_travis.yml
YAML
<|file_sep|>Brocfile.js.diff original: app.import('bower_components/bootstrap/dist/css/bootstrap.css'); app.import('bower_components/bootstrap/dist/css/bootstrap.css.map', { updated: app.import(app.bowerDirectory + '/bootstrap/dist/css/bootstrap.css'); app.import(app.bowerDirectory + '/bootstrap/dist/css/bootstrap.css....
// Use `app.import` to add additional libraries to the generated // output files. // // If you need to use different assets in different // environments, specify an object as the first parameter. That // object's keys should be the environment name and the values // should be the asset to use in that environment. // //...
<|file_sep|>Brocfile.js.diff original: app.import('bower_components/bootstrap/dist/css/bootstrap.css'); app.import('bower_components/bootstrap/dist/css/bootstrap.css.map', { updated: app.import(app.bowerDirectory + '/bootstrap/dist/css/bootstrap.css'); app.import(app.bowerDirectory + '/bootstrap/dist/css/bootstrap.css....
c42aaec157d14e9f0173575d4fbac272c0917b5f
Brocfile.js
Brocfile.js
JavaScript
<|file_sep|>original/test/widgets/NoTplWidget.hx package widgets; @:noTpl class NoTplWidget extends dtx.widget.Widget { } <|file_sep|>current/test/widgets/NoTplWidget.hx package widgets; @:noTpl class NoTplWidget extends dtx.widget.Widget { } <|file_sep|>updated/test/widgets/NoTplWidget.hx
package widgets; @:noTemplate class NoTplWidget extends dtx.widget.Widget { }
<|file_sep|>original/test/widgets/NoTplWidget.hx package widgets; @:noTpl class NoTplWidget extends dtx.widget.Widget { } <|file_sep|>current/test/widgets/NoTplWidget.hx package widgets; @:noTpl class NoTplWidget extends dtx.widget.Widget { } <|file_sep|>updated/test/widgets/NoTplWidget.hx package widgets; @:noTem...
60d4c7fadb5909a9737e1e05609d6507a9675d6b
test/widgets/NoTplWidget.hx
test/widgets/NoTplWidget.hx
Haxe
<|file_sep|>original/package.json { "name": "flightaware.js", "version": "1.0.2", "description": "FlightAware APIs", "main": "flightaware.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/icedawn/flightaware...
{ "name": "flightaware.js", "version": "1.0.1", "description": "FlightAware APIs", "main": "flightaware.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/icedawn/flightaware.js.git" }, "keywords": [ ...
<|file_sep|>original/package.json { "name": "flightaware.js", "version": "1.0.2", "description": "FlightAware APIs", "main": "flightaware.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/icedawn/flightaware...
6124c6766ef69c9dfcca571abae98d920a38ea68
package.json
package.json
JSON
<|file_sep|>src/cljs/wombats_web_client/utils/url.cljs.diff original: (:require [cemerick.url :as url] [wombats-web-client.constants.local-storage :refer [access-token]])) updated: (:require [pushy.core :as pushy] [wombats-web-client.routes :refer [history]][wombats-web-client.routes :refer ...
(ns wombats-web-client.utils.url (:require [pushy.core :as pushy] [wombats-web-client.routes :refer [history]][wombats-web-client.routes :refer [history]])) (defn strip-access-token "removes access token from query" [] (pushy/replace-token! history "/"))
<|file_sep|>src/cljs/wombats_web_client/utils/url.cljs.diff original: (:require [cemerick.url :as url] [wombats-web-client.constants.local-storage :refer [access-token]])) updated: (:require [pushy.core :as pushy] [wombats-web-client.routes :refer [history]][wombats-web-client.routes :refer ...
11b9f0286930157474076d7a5a8a190f3b950080
src/cljs/wombats_web_client/utils/url.cljs
src/cljs/wombats_web_client/utils/url.cljs
Clojure
<|file_sep|>original/.travis.yml - npm --version - npm install -g elm@$ELM_VERSION elm-test - git clone https://github.com/NoRedInk/elm-ops-tooling - elm-ops-tooling/with_retry.rb elm package install --yes # Faster compile on Travis. - | if [ ! -d sysconfcpus/bin ]; then git clone https://gith...
- npm --version - npm install -g elm@$ELM_VERSION elm-test - git clone https://github.com/NoRedInk/elm-ops-tooling - elm-ops-tooling/with_retry.rb elm package install --yes # Faster compile on Travis. - | if [ ! -d sysconfcpus/bin ]; then git clone https://github.com/obmarg/libsysconfcpus.git;...
<|file_sep|>original/.travis.yml - npm --version - npm install -g elm@$ELM_VERSION elm-test - git clone https://github.com/NoRedInk/elm-ops-tooling - elm-ops-tooling/with_retry.rb elm package install --yes # Faster compile on Travis. - | if [ ! -d sysconfcpus/bin ]; then git clone https://gith...
fe09f3517a5fc0582546aa7bb0152072f93c40dd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: objective-c compiler: - gcc before_install: - brew update - brew install pyenv - eval "$(pyenv init -)" - pyenv install 2.7.6 - pyenv global 2.7.6 - pyenv rehash - pip install cpp-coveralls - pyenv rehash script: - ./configure --enable-gcov && make && make ...
language: objective-c compiler: - gcc before_install: - pyenv rehash - pip install cpp-coveralls - pyenv rehash script: - ./configure --enable-gcov && make && make check - xctool -project asimplechessgame.xcodeproj -scheme 'asimplechessgame' test -configuration Debug -sdk iphonesimulator -arch i386 build a...
<|file_sep|>original/.travis.yml language: objective-c compiler: - gcc before_install: - brew update - brew install pyenv - eval "$(pyenv init -)" - pyenv install 2.7.6 - pyenv global 2.7.6 - pyenv rehash - pip install cpp-coveralls - pyenv rehash script: - ./configure --enable-gcov && make && make ...
ba4ecbfc2941695dfc29ad9324eb9f42de6782ac
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "git", "newer" ], "author": "springuper", "license": "MIT", "bugs": { "url": "https://github.com/springuper/grunt-git-newer/issues" }, "homepage": "https://github.com/springuper/grunt-git-newer#readme", "peerDependencies": { "grunt": "~0.4.1" }, "devDe...
"git", "newer" ], "author": "springuper", "license": "MIT", "bugs": { "url": "https://github.com/springuper/grunt-git-newer/issues" }, "homepage": "https://github.com/springuper/grunt-git-newer#readme", "peerDependencies": { "grunt": ">=0.4.1" }, "devDependencies": { "grunt": "0.4....
<|file_sep|>original/package.json "git", "newer" ], "author": "springuper", "license": "MIT", "bugs": { "url": "https://github.com/springuper/grunt-git-newer/issues" }, "homepage": "https://github.com/springuper/grunt-git-newer#readme", "peerDependencies": { "grunt": "~0.4.1" }, "devDe...
5b92a72850253ae06e4e56527d7bdca1f5065231
package.json
package.json
JSON
<|file_sep|>README.md.diff original: ## Usage updated: ## Running app <|file_sep|>README.md.diff original: FIXME updated: rlwrap lein figwheel app ## Running tests lein doo phantom test <|file_sep|>original/README.md ## Usage FIXME ## License Copyright © 2015 FIXME Distributed under the Eclipse Public License eit...
## Running app rlwrap lein figwheel app ## Running tests lein doo phantom test ## License Copyright © 2015 Marcin Bilski Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version. ## TBD - test binding to local in div
<|file_sep|>README.md.diff original: ## Usage updated: ## Running app <|file_sep|>README.md.diff original: FIXME updated: rlwrap lein figwheel app ## Running tests lein doo phantom test <|file_sep|>original/README.md ## Usage FIXME ## License Copyright © 2015 FIXME Distributed under the Eclipse Public License eit...
a01a772b630c68dba2302bd909fcd4f59b1aa339
README.md
README.md
Markdown
<|file_sep|>original/deployments/data8x/image/requirements.txt nbgitpuller==0.7.2 datascience==0.10.6 matplotlib==3.0.2 pandas==0.23.4 scipy==1.2.0 nbresuse==0.3.2 nbforms==0.5.1 # For grading gofer-grader==1.1.0 gofer-submit==0.3 <|file_sep|>current/deployments/data8x/image/requirements.txt nbgitpuller==0.7.2 datascie...
nbgitpuller==0.7.2 datascience==0.10.6 matplotlib==3.0.2 pandas==0.23.4 scipy==1.2.0 nbresuse==0.3.2 # For grading gofer-grader==1.1.0 gofer-submit==0.3
<|file_sep|>original/deployments/data8x/image/requirements.txt nbgitpuller==0.7.2 datascience==0.10.6 matplotlib==3.0.2 pandas==0.23.4 scipy==1.2.0 nbresuse==0.3.2 nbforms==0.5.1 # For grading gofer-grader==1.1.0 gofer-submit==0.3 <|file_sep|>current/deployments/data8x/image/requirements.txt nbgitpuller==0.7.2 datascie...
8094620745b0fddd2ce202ce1045c267960d7516
deployments/data8x/image/requirements.txt
deployments/data8x/image/requirements.txt
Text
<|file_sep|>original/exercises/06/same-prime-factors.cpp <|file_sep|>current/exercises/06/same-prime-factors.cpp <|file_sep|>updated/exercises/06/same-prime-factors.cpp
#include <iostream> using std::cout; using std::boolalpha; bool is_factor(int factor, int number) { return number % factor == 0; } bool is_prime(int number) { if (number == 2) { return true; } for (int i = 2; i < number; ++i) { if (is_factor(i, number)) { return false; } } return true...
<|file_sep|>original/exercises/06/same-prime-factors.cpp <|file_sep|>current/exercises/06/same-prime-factors.cpp <|file_sep|>updated/exercises/06/same-prime-factors.cpp #include <iostream> using std::cout; using std::boolalpha; bool is_factor(int factor, int number) { return number % factor == 0; } bool is_prime...
5a51cafbf27c79618c32433ed85e3415966f55fd
exercises/06/same-prime-factors.cpp
exercises/06/same-prime-factors.cpp
C++
<|file_sep|>original/README.md Filters out well-known v8 flags given to your app and spawns new process with v8 flags passed to Node.js and the rest of the args passed to your actual CLI. Basically an extraction of related [mocha code](https://github.com/mochajs/mocha/blob/master/bin/mocha). ## Install ``` npm install...
## Usage *In JS file specified as `bin` in your `package.json`:* ```js const v8FlagsFilter = require('bin-v8-flags-filter'); const path = require('path'); const cliPath = path.join(__dirname, './cli.js'); // Path to your actual CLI file that contains app code. v8FlagsFilter(cliPath); ``` ### API #### `v8FlagsFilter(...
<|file_sep|>original/README.md Filters out well-known v8 flags given to your app and spawns new process with v8 flags passed to Node.js and the rest of the args passed to your actual CLI. Basically an extraction of related [mocha code](https://github.com/mochajs/mocha/blob/master/bin/mocha). ## Install ``` npm install...
42a729564c532a701fb4a7294e7e2aa035e67cce
README.md
README.md
Markdown
<|file_sep|>lib/rrj/models/concerns/methods.rb.diff original: updated: # :reek:NilCheck <|file_sep|>original/lib/rrj/models/concerns/methods.rb module Models # Add method for Janus Instance model module Methods extend ActiveSupport::Concern # Create thread keepalive def create_keepalive ...
module RubyRabbitmqJanus module Models # Add method for Janus Instance model module Methods extend ActiveSupport::Concern # Create thread keepalive def create_keepalive if !enable && session_id.nil? && thread_id.nil? ::Log.info 'Create session' janus_instance = ...
<|file_sep|>lib/rrj/models/concerns/methods.rb.diff original: updated: # :reek:NilCheck <|file_sep|>original/lib/rrj/models/concerns/methods.rb module Models # Add method for Janus Instance model module Methods extend ActiveSupport::Concern # Create thread keepalive def create_keepalive ...
1ef9251dc523fad9b5ab32ac4ac0b0240d20bc1b
lib/rrj/models/concerns/methods.rb
lib/rrj/models/concerns/methods.rb
Ruby
<|file_sep|>original/lib/doing_stream.rb require 'doing_stream/version' require 'doing_stream/stream' require 'doing_stream/streams' class DoingStream::DoingStream attr_accessor :streams def initialize streams @streams = streams end def latest @latest ||= streams.map do |stream| stream.entries....
require 'doing_stream/version' require 'doing_stream/stream' require 'doing_stream/streams' class DoingStream::DoingStream attr_accessor :streams def initialize streams @streams = streams end def latest n = 5 streams.map do |stream| stream.entries.take(2) end.flatten.sort_by(&:published).re...
<|file_sep|>original/lib/doing_stream.rb require 'doing_stream/version' require 'doing_stream/stream' require 'doing_stream/streams' class DoingStream::DoingStream attr_accessor :streams def initialize streams @streams = streams end def latest @latest ||= streams.map do |stream| stream.entries....
6e5e934a9c1aa2f890997d813933fd3da01af195
lib/doing_stream.rb
lib/doing_stream.rb
Ruby
<|file_sep|>original/Task/ActionTaskInterface.php namespace Task; /** * Interface ActionTaskInterface * * @package Task * @author Javi H. Gil <https://github.com/javihgil> */ interface ActionTaskInterface { /** * @return string */ public function getAction(); /** * @param string $ac...
namespace Task; /** * Interface ActionTaskInterface * * @package Task * @author Javi H. Gil <https://github.com/javihgil> */ interface ActionTaskInterface { /** * @return string */ public function getAction(); /** * @param string $action */ public function setAction($actio...
<|file_sep|>original/Task/ActionTaskInterface.php namespace Task; /** * Interface ActionTaskInterface * * @package Task * @author Javi H. Gil <https://github.com/javihgil> */ interface ActionTaskInterface { /** * @return string */ public function getAction(); /** * @param string $ac...
78b707f8853c407847791a451766ad12d2c60ed7
Task/ActionTaskInterface.php
Task/ActionTaskInterface.php
PHP
<|file_sep|>original/src/DocManager/DocumentBundle/Resources/views/Document/outOfDate.html.twig {% extends 'layout.html.twig' %} {% block title %}Accueil - {{ parent() }}{% endblock %} {% block style %} <link rel="stylesheet" href="{{ asset('css/docmanager.css') }}" {% endblock %} {% block body %} <div class...
{% extends 'layout.html.twig' %} {% block title %}Accueil - {{ parent() }}{% endblock %} {% block style %} <link rel="stylesheet" href="{{ asset('css/docmanager.css') }}" {% endblock %} {% block body %} <div class="alert alert-danger"> Les documents figurant ici sont périmés. Ils seront supprimés aut...
<|file_sep|>original/src/DocManager/DocumentBundle/Resources/views/Document/outOfDate.html.twig {% extends 'layout.html.twig' %} {% block title %}Accueil - {{ parent() }}{% endblock %} {% block style %} <link rel="stylesheet" href="{{ asset('css/docmanager.css') }}" {% endblock %} {% block body %} <div class...
12a0a41bfb2d53f0ce62c5792160dcc56d2e0230
src/DocManager/DocumentBundle/Resources/views/Document/outOfDate.html.twig
src/DocManager/DocumentBundle/Resources/views/Document/outOfDate.html.twig
Twig
<|file_sep|>src/org/sablecc/sablecc/launcher/TextArgument.java.diff original: updated: /** * A text argument puts in appendix a String at the end of another. */ <|file_sep|>src/org/sablecc/sablecc/launcher/TextArgument.java.diff original: updated: /** the text to append. */ <|file_sep|>src/org/sablecc/sablecc/l...
*/ public TextArgument( String text) { if (text == null) { throw new InternalException("text may not be null"); } this.text = text; } /** * Returns the text of this textArgument. * * @return the text. */ public String getText()...
<|file_sep|>src/org/sablecc/sablecc/launcher/TextArgument.java.diff original: updated: /** * A text argument puts in appendix a String at the end of another. */ <|file_sep|>src/org/sablecc/sablecc/launcher/TextArgument.java.diff original: updated: /** the text to append. */ <|file_sep|>src/org/sablecc/sablecc/l...
cd45fd2f915391a9a09db3bccdadba543fe125cf
src/org/sablecc/sablecc/launcher/TextArgument.java
src/org/sablecc/sablecc/launcher/TextArgument.java
Java
<|file_sep|>original/.github/workflows/pr-welcome-msg.yml name: PR welcome message on: pull_request_target: types: opened jobs: pr_comment: runs-on: ubuntu-latest steps: - name: Create comment uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github....
name: PR welcome message on: pull_request_target: types: opened jobs: pr_comment: runs-on: ubuntu-latest steps: - name: Create comment uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae with: issue-number: ${{ github.event.pull_request.n...
<|file_sep|>original/.github/workflows/pr-welcome-msg.yml name: PR welcome message on: pull_request_target: types: opened jobs: pr_comment: runs-on: ubuntu-latest steps: - name: Create comment uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github....
ebc071fde401fbcb3c92e11bddc1e766205b9eca
.github/workflows/pr-welcome-msg.yml
.github/workflows/pr-welcome-msg.yml
YAML
<|file_sep|>original/packages/mi/miso-examples.yaml <|file_sep|>current/packages/mi/miso-examples.yaml <|file_sep|>updated/packages/mi/miso-examples.yaml
homepage: http://github.com/dmjio/miso changelog-type: '' hash: 380485221ed386a0aed45cf2cc768eb3f3860dfc40f2e34cc40f19ef5535b513 test-bench-deps: {} maintainer: David M. Johnson <djohnson.m@gmail.com> synopsis: A tasty Haskell front-end framework changelog: '' basic-deps: {} all-versions: - 1.2.0.0 author: David M. Joh...
<|file_sep|>original/packages/mi/miso-examples.yaml <|file_sep|>current/packages/mi/miso-examples.yaml <|file_sep|>updated/packages/mi/miso-examples.yaml homepage: http://github.com/dmjio/miso changelog-type: '' hash: 380485221ed386a0aed45cf2cc768eb3f3860dfc40f2e34cc40f19ef5535b513 test-bench-deps: {} maintainer: Dav...
c2c224af1f2394c762c5d24dfaca21ffd18f02f5
packages/mi/miso-examples.yaml
packages/mi/miso-examples.yaml
YAML
<|file_sep|>original/README.md 1. [Usage](#Usage) 1. [Requirements](#requirements) 1. [Development](#development) 1. [Installing Dependencies](#installing-dependencies) 1. [Tasks](#tasks) 1. [Team](#team) 1. [Contributing](#contributing) ## Usage > To use Speech Doctor, please visit our website at [a domain] ...
1. [Usage](#Usage) 1. [Requirements](#requirements) 1. [Development](#development) 1. [Installing Dependencies](#installing-dependencies) 1. [Tasks](#tasks) 1. [Team](#team) 1. [Contributing](#contributing) ## Usage > To use Speech Doctor, please visit our website [here](https://github.com/nonchalantkettle/Sp...
<|file_sep|>original/README.md 1. [Usage](#Usage) 1. [Requirements](#requirements) 1. [Development](#development) 1. [Installing Dependencies](#installing-dependencies) 1. [Tasks](#tasks) 1. [Team](#team) 1. [Contributing](#contributing) ## Usage > To use Speech Doctor, please visit our website at [a domain] ...
f3021502f3c72a442e915316d5aec182d3373d5d
README.md
README.md
Markdown
<|file_sep|>orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java.diff original: updated: import java.time.DayOfWeek; <|file_sep|>original/orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.jav...
Arrays.asList( String.class, Date.class, Integer.class, Long.class, Double.class, Byte.class, SimpleDateFormat.class, Math.class, Random.class, ...
<|file_sep|>orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java.diff original: updated: import java.time.DayOfWeek; <|file_sep|>original/orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.jav...
f04d984022765e7e3deadf0e671129be340bfd3d
orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java
orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java
Java
<|file_sep|>original/lession-one.html <|file_sep|>current/lession-one.html <|file_sep|>updated/lession-one.html
CTYPE html> <html> <head> <meta charset="utf-8" /> <title>Gamedev Canvas Workshop</title> <style> * { padding: 0; margin: 0; } canvas { background: #eee; display: block; margin: 0 auto; } </style> </head> <body> <canvas id="myCanvas" width="480" height="320"></canvas> <script> // JavaScr...
<|file_sep|>original/lession-one.html <|file_sep|>current/lession-one.html <|file_sep|>updated/lession-one.html CTYPE html> <html> <head> <meta charset="utf-8" /> <title>Gamedev Canvas Workshop</title> <style> * { padding: 0; margin: 0; } canvas { background: #eee; display: block; margin: 0 au...
cea96a4f485409d1e3583b647d3768f679afde80
lession-one.html
lession-one.html
HTML
<|file_sep|>projects/tests/test_tools.py.diff original: updated: import sure <|file_sep|>projects/tests/test_tools.py.diff original: self.assertIsNone(self.mixin.check_can_access( updated: self.mixin.check_can_access( <|file_sep|>projects/tests/test_tools.py.diff original: )) updated: )...
def tearDown(self): Project.can_access = self._orig_can_access Project.objects.update_user_projects = self._orig_update def test_can_access(self): """Test can access""" Project.can_access.return_value = True self.mixin.check_can_access( MagicMock(user=self.u...
<|file_sep|>projects/tests/test_tools.py.diff original: updated: import sure <|file_sep|>projects/tests/test_tools.py.diff original: self.assertIsNone(self.mixin.check_can_access( updated: self.mixin.check_can_access( <|file_sep|>projects/tests/test_tools.py.diff original: )) updated: )...
17c90fd954441c2623495e50a2f89790e1ff5489
projects/tests/test_tools.py
projects/tests/test_tools.py
Python
<|file_sep|>original/README.md ## Guestbook example for [Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes) Written in Go ###### Usage With Kubernetes: https://gist.github.com/Gurpartap/c4209bba63812128821c Standalone: ``` docker pull gurpartap/guestbook-example ``` <|file_sep|>current/README.md ## Gues...
## Guestbook example for [Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes) Written in Go ###### Usage With Kubernetes: https://gist.github.com/Gurpartap/c4209bba63812128821c Standalone: ``` docker pull gurpartap/guestbook-example docker run -ti --rm gurpartap/guestbook-example ```
<|file_sep|>original/README.md ## Guestbook example for [Kubernetes](https://github.com/GoogleCloudPlatform/kubernetes) Written in Go ###### Usage With Kubernetes: https://gist.github.com/Gurpartap/c4209bba63812128821c Standalone: ``` docker pull gurpartap/guestbook-example ``` <|file_sep|>current/README.md ## Gues...
0c7335adbc507bcbf3fb4e8ac5ce897b10d0e9cf
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - "3.1" <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install . - pip install nose script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.1" ...
language: python python: - "2.7" - "3.1" - "3.4" - "3.5" - "3.6" install: - pip install . - pip install nose - pip install pandas script: nosetests
<|file_sep|>.travis.yml.diff original: updated: - "3.1" <|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" install: - pip install . - pip install nose script: nosetests <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.1" ...
54be0e1043e8b3e19ef4e99e08dc0610a5554ca5
.travis.yml
.travis.yml
YAML
<|file_sep|>FiveCalls/FiveCalls/FetchIssuesOperation.swift.diff original: updated: print("HTTP \(http.statusCode)") <|file_sep|>original/FiveCalls/FiveCalls/FetchIssuesOperation.swift if http.statusCode == 200 { do { try self.parseIssues(data:...
} catch let e { print("Error parsing issues: \(e.localizedDescription)") } } else { print("Received HTTP \(http.statusCode)") } } self.finish() } ...
<|file_sep|>FiveCalls/FiveCalls/FetchIssuesOperation.swift.diff original: updated: print("HTTP \(http.statusCode)") <|file_sep|>original/FiveCalls/FiveCalls/FetchIssuesOperation.swift if http.statusCode == 200 { do { try self.parseIssues(data:...
468fded5d72b0a1073f7a843c127e4f4be3fae51
FiveCalls/FiveCalls/FetchIssuesOperation.swift
FiveCalls/FiveCalls/FetchIssuesOperation.swift
Swift
<|file_sep|>original/scripts/serverShellCommand.sh #!/bin/bash # Run Javascript in an existing server process. This works by putting the script # into ./tmp/pendingShellCommands, where the server will detect it, run it then # delete it. (See watchForShellCommands in serverStartup.ts) COMMAND="$1" scripts/waitForServer...
#!/bin/bash # Run Javascript in an existing server process. This works by putting the script # into ./tmp/pendingShellCommands, where the server will detect it, run it then # delete it. (See watchForShellCommands in serverStartup.ts) COMMAND="$1" scripts/waitForServer.sh mkdir -p tmp/pendingShellCommands echo "$COMMA...
<|file_sep|>original/scripts/serverShellCommand.sh #!/bin/bash # Run Javascript in an existing server process. This works by putting the script # into ./tmp/pendingShellCommands, where the server will detect it, run it then # delete it. (See watchForShellCommands in serverStartup.ts) COMMAND="$1" scripts/waitForServer...
1461bc55730f059278754d7a4e9c0676bf2f1449
scripts/serverShellCommand.sh
scripts/serverShellCommand.sh
Shell
<|file_sep|>original/config/database.travis.yml test: adapter: mysql2 database: autolab_test pool: 5 username: root password: '' socket: /var/run/mysqld/mysqld.sock host: localhost <|file_sep|>current/config/database.travis.yml test: adapter: mysql2 database: autolab_test pool: 5 username: root ...
test: adapter: mysql2 database: autolab_test pool: 5 username: root password: '' socket: /var/run/mysqld/mysqld.sock host: localhost reconnect: true
<|file_sep|>original/config/database.travis.yml test: adapter: mysql2 database: autolab_test pool: 5 username: root password: '' socket: /var/run/mysqld/mysqld.sock host: localhost <|file_sep|>current/config/database.travis.yml test: adapter: mysql2 database: autolab_test pool: 5 username: root ...
4ee4d2ae726282b75a0a58381649659c8e53d398
config/database.travis.yml
config/database.travis.yml
YAML
<|file_sep|>original/elbsms_core/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information /...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("elb...
<|file_sep|>original/elbsms_core/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information /...
487b60d45b367760c2c6c1e3a8d38c49314bb9d6
elbsms_core/Properties/AssemblyInfo.cs
elbsms_core/Properties/AssemblyInfo.cs
C#
<|file_sep|>original/config/initializers/rails_config.rb RailsConfig.setup do |config| config.const_name = "Settings" end ActiveSupport.on_load(:before_initialize) do # Add other global settings files other_files = ["institutions", "sfx_databases", "solr", "sunspot", "capistrano", "authpds", "#{Rails.env}"] Rai...
RailsConfig.setup do |config| config.const_name = "Settings" end ActiveSupport.on_load(:before_initialize) do # Add other global settings files other_files = ["institutions", "sfx_databases", "solr", "sunspot", "capistrano", "authpds", "newrelic", "#{Rails.env}"] RailsConfig.load_and_set_settings( Rails.roo...
<|file_sep|>original/config/initializers/rails_config.rb RailsConfig.setup do |config| config.const_name = "Settings" end ActiveSupport.on_load(:before_initialize) do # Add other global settings files other_files = ["institutions", "sfx_databases", "solr", "sunspot", "capistrano", "authpds", "#{Rails.env}"] Rai...
ed4c94bc9a96f26222f34a82954b8f050d35ad4a
config/initializers/rails_config.rb
config/initializers/rails_config.rb
Ruby
<|file_sep|>original/views/gadgets.php <li class="col-md-2 col-sm-4 col-xs-6 gadget"> <?php if ($gadget['image']) { ?> <figure class="image"> <img src="storage/thumb/<?php print $gadget['image']; ?>" alt=""> <?php $people = Witi::fetchPeopleByI...
<li class="col-md-2 col-sm-4 col-xs-6 gadget"> <?php if ($gadget['image']) { ?> <figure class="image"> <img src="storage/thumb/<?php print $gadget['image']; ?>" alt=""> <?php $people = Witi::fetchPeopleById($gadget['personId']); ?> ...
<|file_sep|>original/views/gadgets.php <li class="col-md-2 col-sm-4 col-xs-6 gadget"> <?php if ($gadget['image']) { ?> <figure class="image"> <img src="storage/thumb/<?php print $gadget['image']; ?>" alt=""> <?php $people = Witi::fetchPeopleByI...
e6ec4134a25f0326d9b56a30a6eedbc933b07ea5
views/gadgets.php
views/gadgets.php
PHP
<|file_sep|>original/test.js var assert = require('assert'); var callbackify = require('./'); function sum (a, b) { return a + b; } it('should make a sync function pass return to a callback', function () { var sumCb = callbackify(sum); var answer; sumCb(32, 96, function (err, result) { answer = result; }); assert...
it('should throw if not given a function', function () { assert.throws(function () { callbackify(''); }); }); it('should throw if wrapped function not given a callback', function () { var sumCb = callbackify(sum); assert.throws(function () { sumCb(32, 96); }); }); it('should preserve functions that already expect...
<|file_sep|>original/test.js var assert = require('assert'); var callbackify = require('./'); function sum (a, b) { return a + b; } it('should make a sync function pass return to a callback', function () { var sumCb = callbackify(sum); var answer; sumCb(32, 96, function (err, result) { answer = result; }); assert...
b2763e02952be43ff5e01f5a2409da3f48ee3e7e
test.js
test.js
JavaScript
<|file_sep|>_sass/_aside-box.scss.diff original: padding: $quater-spacing 0; updated: margin: $quater-spacing 0; <|file_sep|>original/_sass/_aside-box.scss list-style: none; } &__link { white-space: nowrap; display: block; padding: $quater-spacing 0; @include media-query($mq-md) { ...
list-style: none; } &__link { white-space: nowrap; display: block; margin: $quater-spacing 0; @include media-query($mq-md) { display: inline; margin: 0; } .fa { width: 1.5em; text-align: center; } @media print { &:visited, &:hover {
<|file_sep|>_sass/_aside-box.scss.diff original: padding: $quater-spacing 0; updated: margin: $quater-spacing 0; <|file_sep|>original/_sass/_aside-box.scss list-style: none; } &__link { white-space: nowrap; display: block; padding: $quater-spacing 0; @include media-query($mq-md) { ...
d051cb7ec9182faef86444ba074fea63315d8776
_sass/_aside-box.scss
_sass/_aside-box.scss
SCSS
<|file_sep|>original/mixins_spec.rb end describe "Mixins" do example "they can be detected in an instance by calling is_a?" do c = MyClass.new expect(c.is_a? MyMixin).to be_true expect([].is_a? Enumerable).to be_true end example "they can be detected in an class by calling include?" do expect(My...
expect(MyClass.include? MyMixin).to be_true end example "all modules mixed-in to a class can be discovered in included_modules or ancestors" do expect(Array.included_modules.include? Enumerable).to be_true expect(MyClass.included_modules.include? MyMixin).to be_true expect(MyClass.ancestors.include...
<|file_sep|>original/mixins_spec.rb end describe "Mixins" do example "they can be detected in an instance by calling is_a?" do c = MyClass.new expect(c.is_a? MyMixin).to be_true expect([].is_a? Enumerable).to be_true end example "they can be detected in an class by calling include?" do expect(My...
0fcbe0e833057a8ce8cc2cb4fbc0ad7c111d1b36
mixins_spec.rb
mixins_spec.rb
Ruby
<|file_sep|>original/_template.html <html> <head> <link rel="stylesheet" type="text/css" href="/assets/style.css"> </head> <body> <a href="/"> <img src="http://www.sciencephoto.com/images/download_wm_image.html/H412408-Anton_van_Leeuwenhoek,_caricature-SPL.jpg" width="100px" /> </a> <br /> {{ ...
<html> <head> <link rel="stylesheet" type="text/css" href="/scipy-tutorial-2014/assets/style.css"> <link rel="stylesheet" type="text/css" href="/scipy-tutorial-2014/assets/pygments.css"> </head> <body> <a href="/"> <img src="http://www.sciencephoto.com/images/download_wm_image.html/H412408-Anton_v...
<|file_sep|>original/_template.html <html> <head> <link rel="stylesheet" type="text/css" href="/assets/style.css"> </head> <body> <a href="/"> <img src="http://www.sciencephoto.com/images/download_wm_image.html/H412408-Anton_van_Leeuwenhoek,_caricature-SPL.jpg" width="100px" /> </a> <br /> {{ ...
89f4d16cd9d342a7349b4b42ff70a25a18738292
_template.html
_template.html
HTML
<|file_sep|>original/package.json { "name": "vue-emscripten-todo", "version": "1.0.0", "repository": "https://github.com/edwardkenfox/vue-emscripten-todo", "author": "Edward Fox <edwardkenfox@gmail.com>", "license": "MIT", "scripts": { "build:app": "webpack --config ./config/webpack.config.js", "bui...
{ "name": "vue-emscripten-todo", "version": "1.0.0", "repository": "https://github.com/edwardkenfox/vue-emscripten-todo", "author": "Edward Fox <edwardkenfox@gmail.com>", "license": "MIT", "scripts": { "build": "npm run build:app && npm run build:domain", "build:app": "webpack --config ./config/webp...
<|file_sep|>original/package.json { "name": "vue-emscripten-todo", "version": "1.0.0", "repository": "https://github.com/edwardkenfox/vue-emscripten-todo", "author": "Edward Fox <edwardkenfox@gmail.com>", "license": "MIT", "scripts": { "build:app": "webpack --config ./config/webpack.config.js", "bui...
5c77c7a0c6c374a1d4beca2967395aa7870113c5
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: - cp config/database.yml.travis config/database.yml updated: - cp config/database.yml.example config/database.yml <|file_sep|>original/.travis.yml on_success: change on_failure: change before_script: - cp config/database.yml.travis config/database.yml - cp config/s...
- cp config/database.yml.example config/database.yml - cp config/secrets.yml.example config/secrets.yml - mysql -u root -e 'create database osem_test;' - RAILS_ENV=test bundle exec rake db:schema:load --trace script: - "./travis_script.sh $TEST_SUITE" env: global: - CI_NODE_TOTAL=4 - TEST_SUITE=rspe...
<|file_sep|>.travis.yml.diff original: - cp config/database.yml.travis config/database.yml updated: - cp config/database.yml.example config/database.yml <|file_sep|>original/.travis.yml on_success: change on_failure: change before_script: - cp config/database.yml.travis config/database.yml - cp config/s...
55818e30dec0f002f6926792b95a290a5fd107f5
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: Android Hello World ------------------- updated: # Android Hello World <|file_sep|>original/README.md Android Hello World ------------------- In Android the Hello World example is generated by the IDE, bundled with state-of-the-art best practices. Over the years it has become more ...
# Android Hello World In Android the Hello World example is generated by the IDE, bundled with state-of-the-art best practices. Over the years it has become more and more complex, and getting rather overwhelming for first-timers. This repository starts from the bare bones and add one concept at a time for a gentler i...
<|file_sep|>README.md.diff original: Android Hello World ------------------- updated: # Android Hello World <|file_sep|>original/README.md Android Hello World ------------------- In Android the Hello World example is generated by the IDE, bundled with state-of-the-art best practices. Over the years it has become more ...
459851daed99e0bef4fd82629321ad078d23d324
README.md
README.md
Markdown
<|file_sep|>original/package.json "name": "voxel-glass", "description": "transparent and translucent glass blocks (voxel.js plugin)", "main": "glass.js", "version": "0.2.1", "repository": { "type": "git", "url": "git@github.com:deathcap/voxel-glass.git" }, "keywords": [ "voxel", "plugin", ...
"name": "voxel-glass", "description": "transparent and translucent glass blocks (voxel.js plugin)", "main": "glass.js", "version": "0.2.1", "repository": { "type": "git", "url": "git@github.com:deathcap/voxel-glass.git" }, "keywords": [ "voxel", "plugin", "glass", "transparent", ...
<|file_sep|>original/package.json "name": "voxel-glass", "description": "transparent and translucent glass blocks (voxel.js plugin)", "main": "glass.js", "version": "0.2.1", "repository": { "type": "git", "url": "git@github.com:deathcap/voxel-glass.git" }, "keywords": [ "voxel", "plugin", ...
7aff833e5666cd5d8a8310ea111a1cb30d5618ff
package.json
package.json
JSON
<|file_sep|>original/.travis.yml - ubuntu-toolchain-r-test - deadsnakes - boost-latest packages: - g++-4.9 - zlib1g-dev - libbz2-dev - python3.5-dev - libssl-dev - libboost1.55-dev env: CC_VER=4.9 B...
- ubuntu-toolchain-r-test - deadsnakes - boost-latest packages: - g++-4.9 - zlib1g-dev - libbz2-dev - python3.5-dev - libssl-dev - libboost1.55-all-dev env: CC_VER=4.9 BOOST_ROOT=$TRAVIS_BUILD_DIR/b...
<|file_sep|>original/.travis.yml - ubuntu-toolchain-r-test - deadsnakes - boost-latest packages: - g++-4.9 - zlib1g-dev - libbz2-dev - python3.5-dev - libssl-dev - libboost1.55-dev env: CC_VER=4.9 B...
f1fc5915a211cbca68a725948887219a5df9f3e3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.py setup( name = 'xopen', version = '0.1.0', author = 'Marcel Martin', author_email = 'mail@marcelm.net', url = 'https://github.com/marcelm/xopen/', description = 'Open compressed files transparently', license = 'MIT', py_modules = ['xopen'], classifiers = [ "Development Status :: ...
setup( name = 'xopen', version = '0.1.0', author = 'Marcel Martin', author_email = 'mail@marcelm.net', url = 'https://github.com/marcelm/xopen/', description = 'Open compressed files transparently', license = 'MIT', py_modules = ['xopen'], classifiers = [ "Development Status :: 4 - Beta", "License :: OSI ...
<|file_sep|>original/setup.py setup( name = 'xopen', version = '0.1.0', author = 'Marcel Martin', author_email = 'mail@marcelm.net', url = 'https://github.com/marcelm/xopen/', description = 'Open compressed files transparently', license = 'MIT', py_modules = ['xopen'], classifiers = [ "Development Status :: ...
2cccffe7cf739b7d34300eed85d48b2d2a92a619
setup.py
setup.py
Python
<|file_sep|>original/tasks/init.yml --- - name: Update apt cache if needed. apt: update_cache=true cache_valid_time=86400 - name: Ensure /usr/local/bin exists. file: path: /usr/local/bin state: directory mode: 0775 - name: Ensure dependencies are installed. apt: name: - curl - openss...
--- - name: Update apt cache if needed. apt: update_cache=true cache_valid_time=86400 - name: Ensure /usr/local/bin exists. file: path: /usr/local/bin state: directory mode: 0775 - name: Ensure auth.log file is present. copy: dest: /var/log/auth.log content: "" force: false - name: Ensu...
<|file_sep|>original/tasks/init.yml --- - name: Update apt cache if needed. apt: update_cache=true cache_valid_time=86400 - name: Ensure /usr/local/bin exists. file: path: /usr/local/bin state: directory mode: 0775 - name: Ensure dependencies are installed. apt: name: - curl - openss...
77faab5752900e07598ddd29a4264d4df8e19db2
tasks/init.yml
tasks/init.yml
YAML
<|file_sep|>original/js/main.js function y(){ var a=prompt("Jouer"); var b = Math.floor((Math.random() * 3) + 1); <|file_sep|>current/js/main.js function y(){ var a=prompt("Jouer"); var b = Math.floor((Math.random() * 3) + 1); <|file_sep|>updated/js/main.js
function y(){ var a=prompt("Jouer"); var b = Math.floor((Math.random() * 3) + 1); if(b==1){ b="pierre"; } else if (b==2){ b="papier"; } else { b="ciseaux"; }
<|file_sep|>original/js/main.js function y(){ var a=prompt("Jouer"); var b = Math.floor((Math.random() * 3) + 1); <|file_sep|>current/js/main.js function y(){ var a=prompt("Jouer"); var b = Math.floor((Math.random() * 3) + 1); <|file_sep|>updated/js/main.js function y(){ var a=prompt("Jouer"); var b = Math.floor((Math....
78ec88151ac5fa758bc679fce0f810c8b51f1fe0
js/main.js
js/main.js
JavaScript
<|file_sep|>README.md.diff original: updated: - assimp <|file_sep|>README.md.diff original: More here: http://kivy.org/docs/installation/installation-linux.html updated: sudo apt-get install cmake git clone https://github.com/assimp/assimp cd assimp cmake -G 'Unix Makefiles' make sudo cp **/lib...
sudo apt-get update sudo apt-get install python-kivy sudo apt-get install bluez sudo apt-get install python-pip sudo pip install rtmidi2 sudo apt-get install cmake git clone https://github.com/assimp/assimp cd assimp cmake -G 'Unix Makefiles' make sudo cp **/libassimp.so /...
<|file_sep|>README.md.diff original: updated: - assimp <|file_sep|>README.md.diff original: More here: http://kivy.org/docs/installation/installation-linux.html updated: sudo apt-get install cmake git clone https://github.com/assimp/assimp cd assimp cmake -G 'Unix Makefiles' make sudo cp **/lib...
1cad0eededafdf50713f6fa0d7db931a15622f03
README.md
README.md
Markdown
<|file_sep|>original/scikits/learn/setup.py def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('learn',parent_package,top_path) config.add_subpackage('datasets') config.add_subpackage('common') config.add_subpackage('machin...
def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('learn',parent_package,top_path) config.add_subpackage('datasets') config.add_subpackage('machine') config.add_subpackage('utils') return config if __name__ == '__main...
<|file_sep|>original/scikits/learn/setup.py def configuration(parent_package='',top_path=None): from numpy.distutils.misc_util import Configuration config = Configuration('learn',parent_package,top_path) config.add_subpackage('datasets') config.add_subpackage('common') config.add_subpackage('machin...
da93d78d141e0e07581b2a00cd6a4fb4058dcf56
scikits/learn/setup.py
scikits/learn/setup.py
Python
<|file_sep|>original/config/jobs/kubernetes/sig-testing/make-test.yaml <|file_sep|>current/config/jobs/kubernetes/sig-testing/make-test.yaml <|file_sep|>updated/config/jobs/kubernetes/sig-testing/make-test.yaml
periodics: - interval: 1h name: ci-kubernetes-generate-make-test-cache annotations: testgrid-dashboards: sig-testing-canaries decorate: true extra_refs: - org: kubernetes repo: kubernetes base_ref: master path_alias: k8s.io/kubernetes labels: preset-servic...
<|file_sep|>original/config/jobs/kubernetes/sig-testing/make-test.yaml <|file_sep|>current/config/jobs/kubernetes/sig-testing/make-test.yaml <|file_sep|>updated/config/jobs/kubernetes/sig-testing/make-test.yaml periodics: - interval: 1h name: ci-kubernetes-generate-make-test-cache annotations: testgri...
ad4ba5841746781b07b0cfe15416bfdd71987f77
config/jobs/kubernetes/sig-testing/make-test.yaml
config/jobs/kubernetes/sig-testing/make-test.yaml
YAML
<|file_sep|>Resources/views/Shipment/show.html.twig.diff original: updated: {% import '@SyliusUi/Macro/buttons.html.twig' as buttons %} <|file_sep|>original/Resources/views/Shipment/show.html.twig {% extends '@SyliusAdmin/layout.html.twig' %} {% block title %}{{ 'sylius.ui.shipment'|trans }} | {{ shipment.id }}{% en...
{% extends '@SyliusAdmin/layout.html.twig' %} {% import '@SyliusUi/Macro/buttons.html.twig' as buttons %} {% block title %}{{ 'sylius.ui.shipment'|trans }} | {{ shipment.id }}{% endblock %} {% block content %} <div class="ui stackable two column grid"> <div class="twelve wide column"> {% incl...
<|file_sep|>Resources/views/Shipment/show.html.twig.diff original: updated: {% import '@SyliusUi/Macro/buttons.html.twig' as buttons %} <|file_sep|>original/Resources/views/Shipment/show.html.twig {% extends '@SyliusAdmin/layout.html.twig' %} {% block title %}{{ 'sylius.ui.shipment'|trans }} | {{ shipment.id }}{% en...
fd000fcf18df83a54999866f8d21d363adb7c7e8
Resources/views/Shipment/show.html.twig
Resources/views/Shipment/show.html.twig
Twig
<|file_sep|>original/.travis.yml dist: trusty language: python python: "2.7" env: - SITE=test.yml before_install: - sudo apt-get update -qq - sudo apt-get install -y curl install: # Install Ansible. - pip install ansible - ansible --version # Add ansible.cfg to pick up roles path. - "{ echo '[defaul...
dist: trusty language: python python: "2.7" env: - SITE=test.yml before_install: - sudo apt-get update -qq - sudo apt-get install -y curl - sudo apt-get purge docker-engine install: # Install Ansible. - pip install ansible - ansible --version # Add ansible.cfg to pick up roles path. - "{ echo '[de...
<|file_sep|>original/.travis.yml dist: trusty language: python python: "2.7" env: - SITE=test.yml before_install: - sudo apt-get update -qq - sudo apt-get install -y curl install: # Install Ansible. - pip install ansible - ansible --version # Add ansible.cfg to pick up roles path. - "{ echo '[defaul...
89052f3b28e52257553e753ef69f9cad0bfeac9b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CvViewer.py <|file_sep|>current/CvViewer.py <|file_sep|>updated/CvViewer.py
#! /usr/bin/env python # -*- coding:utf-8 -*- # # Test application to display live images from an Allied Vision camera using OpenCV 3 # # External dependencies import cv2 import Vimba # Initialize Vimba Vimba.VmbStartup() # Initialize the camera camera = Vimba.VmbCamera( '50-0503323406' ) # Open the camera camera.Op...
<|file_sep|>original/CvViewer.py <|file_sep|>current/CvViewer.py <|file_sep|>updated/CvViewer.py #! /usr/bin/env python # -*- coding:utf-8 -*- # # Test application to display live images from an Allied Vision camera using OpenCV 3 # # External dependencies import cv2 import Vimba # Initialize Vimba Vimba.VmbStartu...
20924798362dee42c4de75057d3eb257fe507e72
CvViewer.py
CvViewer.py
Python
<|file_sep|>original/store/admin.py class SpecificationInline(admin.StackedInline): model = Specification class ProductAdmin(admin.ModelAdmin): list_display = ( 'name', 'price', ) inlines = [ImageInline, SpecificationInline, ] search_fields = ['name', 'description',] class Revi...
class SpecificationInline(admin.StackedInline): model = Specification class ProductAdmin(admin.ModelAdmin): list_display = ( 'name', 'price', 'featured', ) inlines = [ImageInline, SpecificationInline, ] search_fields = ['name', 'description',] class ReviewAdmin(admin.Mo...
<|file_sep|>original/store/admin.py class SpecificationInline(admin.StackedInline): model = Specification class ProductAdmin(admin.ModelAdmin): list_display = ( 'name', 'price', ) inlines = [ImageInline, SpecificationInline, ] search_fields = ['name', 'description',] class Revi...
22112e164005fcbf2c79a5f307d1e587d9146c95
store/admin.py
store/admin.py
Python
<|file_sep|>package.js.diff original: 'mrt:ace-embed' updated: 'mrt:ace-embed@0.0.4' <|file_sep|>original/package.js ], 'server'); /** * Packages for server and client */ api.use([ 'coffeescript', 'accounts-base', 'mrt:minimongoid', 'alanning:roles', 'chuangbo:marked' ], both...
], 'server'); /** * Packages for server and client */ api.use([ 'coffeescript', 'accounts-base', 'mrt:minimongoid@0.8.8', 'alanning:roles@1.2.12', 'chuangbo:marked@0.3.4' ], both); /** * Files for server and client */ api.addFiles([ 'collections/page.coffee' ], both...
<|file_sep|>package.js.diff original: 'mrt:ace-embed' updated: 'mrt:ace-embed@0.0.4' <|file_sep|>original/package.js ], 'server'); /** * Packages for server and client */ api.use([ 'coffeescript', 'accounts-base', 'mrt:minimongoid', 'alanning:roles', 'chuangbo:marked' ], both...
89525548c08ff589e442d8f0bb4343ab3f61fab6
package.js
package.js
JavaScript
<|file_sep|>app/views/layout/master.blade.php.diff original: updated: <|file_sep|>original/app/views/layout/master.blade.php <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Aurora</title> <!-- include bootstrap --> <!-- @TODO include this with gulp, grunt, etc. --> <link rel="styleshee...
<!-- @TODO include this with gulp, grunt, etc. --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css"> <script src="https://maxcdn.bootstrapcdn.com/bootstra...
<|file_sep|>app/views/layout/master.blade.php.diff original: updated: <|file_sep|>original/app/views/layout/master.blade.php <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Aurora</title> <!-- include bootstrap --> <!-- @TODO include this with gulp, grunt, etc. --> <link rel="styleshee...
3ddccd9932da24661531039b0792dab2dd5cf679
app/views/layout/master.blade.php
app/views/layout/master.blade.php
PHP
<|file_sep|>original/README.md ``` $ mkdir build64 $ cd build64 $ CFLAGS="-m64" cmake ../ $ make ``` # Building 32-bit benchmarks ``` $ mkdir build32 $ cd build32 $ CFLAGS="-m32" cmake ../ $ make ``` # Running schema tests ``` make check-svcb ``` <|file_sep|>current/README.md ``` $ mkdir build64 $ cd build64 $ CFLA...
$ cd build32 $ CFLAGS="-m32" cmake ../ $ make ``` # Running schema tests ``` make check-svcb ``` # SV-COMP runtime library A small runtime library is provided which has two goals: * Provide the SV-COMP symbols for compiled benchmarks to link against * Provide very basic replay capabilities The runtime library dec...
<|file_sep|>original/README.md ``` $ mkdir build64 $ cd build64 $ CFLAGS="-m64" cmake ../ $ make ``` # Building 32-bit benchmarks ``` $ mkdir build32 $ cd build32 $ CFLAGS="-m32" cmake ../ $ make ``` # Running schema tests ``` make check-svcb ``` <|file_sep|>current/README.md ``` $ mkdir build64 $ cd build64 $ CFLA...
2bf30e56871598b83d6ca5b9916aa79a522e72cc
README.md
README.md
Markdown
<|file_sep|>original/psake-build-helpers.ps1 <Copyright>$(get-copyright)</Copyright> </PropertyGroup> </Project> "@ } function Get-Copyright { $date = Get-Date $year = $date.Year $copyrightSpan = if ($year -eq $yearInitiated) { $year } else { "$yearInitiated-$year" } return " $copyrightSpan...
<Copyright>$(get-copyright)</Copyright> </PropertyGroup> </Project> "@ } function Get-Copyright { $date = Get-Date $year = $date.Year $copyrightSpan = if ($year -eq $yearInitiated) { $year } else { "$yearInitiated-$year" } return [char]0x00A9 + " $copyrightSpan $owner" } function Set-Rege...
<|file_sep|>original/psake-build-helpers.ps1 <Copyright>$(get-copyright)</Copyright> </PropertyGroup> </Project> "@ } function Get-Copyright { $date = Get-Date $year = $date.Year $copyrightSpan = if ($year -eq $yearInitiated) { $year } else { "$yearInitiated-$year" } return " $copyrightSpan...
ebca7f77960fc8b64f7957855cda9c2d453e4e01
psake-build-helpers.ps1
psake-build-helpers.ps1
PowerShell
<|file_sep|>original/lib/xorshift.js randomInt64 (_enc) { throw new Error('Not implemented!') } random () { const x = this.randomInt64() return (x[0] * 0x00200000 + (x[1] >>> 11)) * Math.pow(2, -53) } randomBytes (size) { const bufSize = Math.max(size >>> 3, 1) << 3 const buffer = Buffe...
randomInt64 (_enc) { throw new Error('Not implemented!') } random () { const x = this.randomInt64() return (x[0] * 0x00200000 + (x[1] >>> 11)) * Math.pow(2, -53) } randomBytes (size) { const bufSize = ((size >>> 3) << 3) + 8 const buffer = Buffer.allocUnsafe(bufSize) for (let offset...
<|file_sep|>original/lib/xorshift.js randomInt64 (_enc) { throw new Error('Not implemented!') } random () { const x = this.randomInt64() return (x[0] * 0x00200000 + (x[1] >>> 11)) * Math.pow(2, -53) } randomBytes (size) { const bufSize = Math.max(size >>> 3, 1) << 3 const buffer = Buffe...
629ae1c460dc08f7f00b9e87a19e6f97f36c5aa1
lib/xorshift.js
lib/xorshift.js
JavaScript