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/website/views/templates/_qd_header.html <a href="/dashboard" class="logo"><img src="/img/quantified-dev-logo.png" alt="QuantifiedDev"></a> <ul id="mini-nav" class="hidden-xs"> <li class="arrow-box list-box"> <a href="#"> <i class="icon-reorder text-warnin...
<a href="/dashboard" class="logo"><img src="/img/quantified-dev-logo.png" alt="QuantifiedDev"></a> <ul id="mini-nav" class="hidden-xs"> <li class="arrow-box list-box"> <a href="#"> <i class="icon-reorder text-warning"></i> </a> </li> </ul> <!-- Min...
<|file_sep|>original/website/views/templates/_qd_header.html <a href="/dashboard" class="logo"><img src="/img/quantified-dev-logo.png" alt="QuantifiedDev"></a> <ul id="mini-nav" class="hidden-xs"> <li class="arrow-box list-box"> <a href="#"> <i class="icon-reorder text-warnin...
bdbe884e71d3828163d84fe31ed121da78372a7e
website/views/templates/_qd_header.html
website/views/templates/_qd_header.html
HTML
<|file_sep|>manifests/base/keeper-deployment.yaml.diff original: replicas: 2 updated: replicas: 1 <|file_sep|>original/manifests/base/keeper-deployment.yaml - configMapRef: name: ltd-keeper --- # Deployment of celery workers for keeper apiVersion: apps/v1 kind: Deployment metadata: na...
- configMapRef: name: ltd-keeper --- # Deployment of celery workers for keeper apiVersion: apps/v1 kind: Deployment metadata: name: ltd-keeper-worker spec: replicas: 1 selector: matchLabels: name: ltd-keeper-worker template: metadata: labels: name: ltd-ke...
<|file_sep|>manifests/base/keeper-deployment.yaml.diff original: replicas: 2 updated: replicas: 1 <|file_sep|>original/manifests/base/keeper-deployment.yaml - configMapRef: name: ltd-keeper --- # Deployment of celery workers for keeper apiVersion: apps/v1 kind: Deployment metadata: na...
842af2d22854418610e52dc10a7d0c978fc6f60e
manifests/base/keeper-deployment.yaml
manifests/base/keeper-deployment.yaml
YAML
<|file_sep|>jobs/jobs/items.py.diff original: # values are nested inside a list: (u'Viltu vaxa me\xf0 Alvogen?',) updated: # values are sometimes nested inside a list: (u'Viltu vaxa me\xf0 Alvogen?',) <|file_sep|>original/jobs/jobs/items.py # Define here the models for your scraped items # # See documentation i...
# # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy def single_item_serializer(value): # values are sometimes nested inside a list: (u'Viltu vaxa me\xf0 Alvogen?',) # so need to return just the fist value when serializing if isinstance(value, (list, tuple)): ...
<|file_sep|>jobs/jobs/items.py.diff original: # values are nested inside a list: (u'Viltu vaxa me\xf0 Alvogen?',) updated: # values are sometimes nested inside a list: (u'Viltu vaxa me\xf0 Alvogen?',) <|file_sep|>original/jobs/jobs/items.py # Define here the models for your scraped items # # See documentation i...
795b661962915221ddab186b66523896316b2a79
jobs/jobs/items.py
jobs/jobs/items.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 1.9.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - ruby-head - jruby-head - 1.8.7 - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 1.9.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode ...
language: ruby rvm: - 1.9.3 - 1.9.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - ruby-head - jruby-head - 1.8.7 - ree matrix: allow_failures: - rvm: jruby-head
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - 1.9.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - ruby-head - jruby-head - 1.8.7 - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - 1.9.2 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode ...
4eadd33740cdd77b051b931ac2c1a29c166e2f68
.travis.yml
.travis.yml
YAML
<|file_sep|>database/seeds/CompetitionsTableSeeder.php.diff original: updated: use Spatie\Permission\Models\Role; <|file_sep|>original/database/seeds/CompetitionsTableSeeder.php <?php use App\Models\Competition; use App\Models\Season; use Illuminate\Database\Seeder; class CompetitionsTableSeeder extends Seeder { ...
use Illuminate\Database\Seeder; use Spatie\Permission\Models\Role; class CompetitionsTableSeeder extends Seeder { public function run(): void { Season::each(function (Season $season): void { factory(Competition::class)->create(['season_id' => $season->id]); }); $this->creat...
<|file_sep|>database/seeds/CompetitionsTableSeeder.php.diff original: updated: use Spatie\Permission\Models\Role; <|file_sep|>original/database/seeds/CompetitionsTableSeeder.php <?php use App\Models\Competition; use App\Models\Season; use Illuminate\Database\Seeder; class CompetitionsTableSeeder extends Seeder { ...
276e2f96c6aa32baebc5167e7933db08553760d5
database/seeds/CompetitionsTableSeeder.php
database/seeds/CompetitionsTableSeeder.php
PHP
<|file_sep|>original/.travis.yml - TOX_ENV=pypy - TOX_ENV=py33 - TOX_ENV=py34 install: # Travis uses an outdated PyPy, this installs the most recent one. - "[[ ${TOX_ENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" - "[[ ${TOX_ENV} == pypy ]] && sudo apt-get -y update && sudo apt-get -y ...
- TOX_ENV=pypy - TOX_ENV=py33 - TOX_ENV=py34 install: # Travis uses an outdated PyPy, this installs the most recent one. - "[[ ${TOX_ENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" - "[[ ${TOX_ENV} == pypy ]] && sudo apt-get -y update && sudo apt-get -y install pypy || true" - "[[ ${T...
<|file_sep|>original/.travis.yml - TOX_ENV=pypy - TOX_ENV=py33 - TOX_ENV=py34 install: # Travis uses an outdated PyPy, this installs the most recent one. - "[[ ${TOX_ENV} == pypy ]] && sudo add-apt-repository -y ppa:pypy/ppa || true" - "[[ ${TOX_ENV} == pypy ]] && sudo apt-get -y update && sudo apt-get -y ...
d82d7a9007ebbe4d026097f091514397b8f25108
.travis.yml
.travis.yml
YAML
<|file_sep|>Casks/sublime-text-dev.rb.diff original: version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' updated: version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' <|file_sep|>original/Casks/sublime-text-dev.rb class Sublime...
class SublimeTextDev < Cask version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203066.dmg' homepage 'http://www.sublimetext.com/3dev' license :closed app 'Sublime Text.app' binary 'Sublime Text.app...
<|file_sep|>Casks/sublime-text-dev.rb.diff original: version 'Build 3064' sha256 '727d14b2ba577c680a2d90645db16f6f736c545820fe90d44cc85ac6808c2f03' updated: version 'Build 3066' sha256 '89916ed41a5de64e7257a5161d529925f3c8e2613a8e2d417111cb72740cac9c' <|file_sep|>original/Casks/sublime-text-dev.rb class Sublime...
3faa8c9b00ba2aa398fc032ef48c60578e59d7da
Casks/sublime-text-dev.rb
Casks/sublime-text-dev.rb
Ruby
<|file_sep|>metadata/de.wellenvogel.bonjourbrowser.yml.diff original: updated: - versionName: '1.9' versionCode: 109 commit: release-109 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wellenvogel.bonjourbrowser.yml Repo: https://github.com/wellenvogel/BonjourBrowser Builds: - ve...
gradle: - yes - versionName: '1.7' versionCode: 107 commit: release-107 subdir: app gradle: - yes - versionName: '1.9' versionCode: 109 commit: release-109 subdir: app gradle: - yes AutoUpdateMode: Version release-%c UpdateCheckMode: Tags CurrentVersion: '1.9...
<|file_sep|>metadata/de.wellenvogel.bonjourbrowser.yml.diff original: updated: - versionName: '1.9' versionCode: 109 commit: release-109 subdir: app gradle: - yes <|file_sep|>original/metadata/de.wellenvogel.bonjourbrowser.yml Repo: https://github.com/wellenvogel/BonjourBrowser Builds: - ve...
c009c244fcfa5ee180b870dc18796f1b197d53c1
metadata/de.wellenvogel.bonjourbrowser.yml
metadata/de.wellenvogel.bonjourbrowser.yml
YAML
<|file_sep|>original/lib/httparty/persistent/connection_adapter.rb require 'persistent_http' module HTTParty::Persistent class ConnectionAdapter < HTTParty::ConnectionAdapter def connection opts = {:url => uri} opts.merge!(options[:connection_adapter_options]) if options[:connection_adapter_options]...
require 'thread' if RUBY_VERSION < '1.9' # hack fix for ruby 1.8 until https://github.com/bpardee/gene_pool/pull/1 is merged require 'persistent_http' module HTTParty::Persistent class ConnectionAdapter < HTTParty::ConnectionAdapter def connection opts = {:url => uri} opts.merge!(options[:connection...
<|file_sep|>original/lib/httparty/persistent/connection_adapter.rb require 'persistent_http' module HTTParty::Persistent class ConnectionAdapter < HTTParty::ConnectionAdapter def connection opts = {:url => uri} opts.merge!(options[:connection_adapter_options]) if options[:connection_adapter_options]...
f85599804d2522f9a080d5ba2e17cae026e31a8f
lib/httparty/persistent/connection_adapter.rb
lib/httparty/persistent/connection_adapter.rb
Ruby
<|file_sep|>gen-prometheus-targets.sh.diff original: updated: SCYLLA_SERVER_FILE="scylla_servers.yml" NODE_EXPORTER_FILE="node_exporter_servers.yml" <|file_sep|>gen-prometheus-targets.sh.diff original: HOSTS=$(ansible -i inventories/ec2/ Scylla --list-hosts --limit "tag_user_`echo $ANSIBLE_EC2_PREFIX`") updated: usage...
\?) printf "illegal option: -%s\n" "$OPTARG" >&2 echo "$usage" >&2 exit 1 ;; esac done function echo_targets { TARGETS=$(echo $HOSTS | cut -f2 -d":" | cut -f2- -d" " | sed -e "s/ /\:$1 /g" | sed -r "s/(.*)/\1:$1/" | sed 's/[^ ][^ ]*/"&"/g' | sed 's/ /,/g') echo " - targets: [$TARGETS...
<|file_sep|>gen-prometheus-targets.sh.diff original: updated: SCYLLA_SERVER_FILE="scylla_servers.yml" NODE_EXPORTER_FILE="node_exporter_servers.yml" <|file_sep|>gen-prometheus-targets.sh.diff original: HOSTS=$(ansible -i inventories/ec2/ Scylla --list-hosts --limit "tag_user_`echo $ANSIBLE_EC2_PREFIX`") updated: usage...
0d074f753fa0793575906d433e48552af9eaff44
gen-prometheus-targets.sh
gen-prometheus-targets.sh
Shell
<|file_sep|>original/_wiki/source-insight.md S --> Shift M --> Alt | 功能 | 快捷键 | |:-------------|:-------| | 返回 | M-, | | 前进 | M-. | | 跳到定义 | C-= | | 查找引用 | C-/ | | 搜索 | C-f | | 向下搜索 | F4 | | 向上搜索 | F3 | | 高亮当前单词 | S-F8 | ### Q&A 1. 新建工程后函数跳转等...
| 功能 | 快捷键 | |:-------------|:-------| | 返回 | M-, | | 前进 | M-. | | 跳到定义 | C-= | | 查找引用 | C-/ | | 搜索 | C-f | | 向下搜索 | F4 | | 向上搜索 | F3 | | 高亮当前单词 | S-F8 | ### Q&A 1. 新建工程后函数跳转等遇到 `symbol not found` 如何解决? 打开菜单里的「Project」-「Synchronize Files」(快...
<|file_sep|>original/_wiki/source-insight.md S --> Shift M --> Alt | 功能 | 快捷键 | |:-------------|:-------| | 返回 | M-, | | 前进 | M-. | | 跳到定义 | C-= | | 查找引用 | C-/ | | 搜索 | C-f | | 向下搜索 | F4 | | 向上搜索 | F3 | | 高亮当前单词 | S-F8 | ### Q&A 1. 新建工程后函数跳转等...
6fa092960dd7bf0cae93bcd6678a0f18b1aac5cc
_wiki/source-insight.md
_wiki/source-insight.md
Markdown
<|file_sep|>db/migrate/20090517111301_update_text_columns_to_medium_text.rb.diff original: # execute "ALTER TABLE tickets MODIFY data MEDIUMTEXT" updated: execute "ALTER TABLE tickets MODIFY data MEDIUMTEXT" <|file_sep|>original/db/migrate/20090517111301_update_text_columns_to_medium_text.rb class UpdateTextColu...
class UpdateTextColumnsToMediumText < ActiveRecord::Migration def self.up execute "ALTER TABLE tickets MODIFY data MEDIUMTEXT" end def self.down execute "ALTER TABLE tickets MODIFY data TEXT" end end
<|file_sep|>db/migrate/20090517111301_update_text_columns_to_medium_text.rb.diff original: # execute "ALTER TABLE tickets MODIFY data MEDIUMTEXT" updated: execute "ALTER TABLE tickets MODIFY data MEDIUMTEXT" <|file_sep|>original/db/migrate/20090517111301_update_text_columns_to_medium_text.rb class UpdateTextColu...
9de0c32fcf5a72147b952682d0f431ba453d8c9b
db/migrate/20090517111301_update_text_columns_to_medium_text.rb
db/migrate/20090517111301_update_text_columns_to_medium_text.rb
Ruby
<|file_sep|>original/.travis.yml language: go script: - go test -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in/fsnotify.v1 - go get gopkg.in/tomb.v1 <|file_sep|>current/.travis.yml language: go script: - go test -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in...
language: go script: - go test -race -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in/fsnotify.v1 - go get gopkg.in/tomb.v1
<|file_sep|>original/.travis.yml language: go script: - go test -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in/fsnotify.v1 - go get gopkg.in/tomb.v1 <|file_sep|>current/.travis.yml language: go script: - go test -v ./... go: - 1.3.3 - 1.4.3 - 1.5.2 install: - go get gopkg.in...
44f39473852da5db1a6e8b0198aaa848f576b864
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py <|file_sep|>current/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py <|file_sep|>updated/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-03-22 11:39 from __future__ import unicode_literals from django.db import migrations def populate_initial_candidate_counts(apps, schema_editor): Party = apps.get_model("parties", "Party") parties_qs = Party.objects.all() for party in parties_q...
<|file_sep|>original/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py <|file_sep|>current/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py <|file_sep|>updated/ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py # -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 20...
b20be113b5aa491025dd6f2b4ea0a6d0cd1c7343
ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py
ynr/apps/parties/migrations/0011_add_initial_candidates_counts.py
Python
<|file_sep|>original/src/components/errors.js status = 400 } export class NotFoundError extends Error { name = 'NotFoundError' message = 'Could not find the entity'; status = 404; } export function errorMiddleware(err, req, res, next) { if (process.env.NODE_ENV === 'development') { console...
status = 400 } export class NotFoundError extends Error { name = 'NotFoundError' message = 'Could not find the entity'; status = 404; } export function errorMiddleware(err, req, res, next) { if (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test') { console.log(err.st...
<|file_sep|>original/src/components/errors.js status = 400 } export class NotFoundError extends Error { name = 'NotFoundError' message = 'Could not find the entity'; status = 404; } export function errorMiddleware(err, req, res, next) { if (process.env.NODE_ENV === 'development') { console...
b2ddcfbafe4c2d1498af98fe5fbc53c48ae2b01d
src/components/errors.js
src/components/errors.js
JavaScript
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.3.4 flake8==3.2.1 django-test-plu...
# Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.3.4 flake8==3.3.0 django-test-plus==1.0.17 factory-boy==2.8.1 # pytest! pytest-django==3.1.2 pytest-sugar...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.3.4 flake8==3.2.1 django-test-plu...
cb6791edea4220351b999cb358534c247d226acd
{{cookiecutter.project_slug}}/requirements/test.txt
{{cookiecutter.project_slug}}/requirements/test.txt
Text
<|file_sep|>win/BUILD.md.diff original: cmake pcre-8.33 -D BUILD_SHARED_LIBS:BOOL=ON -D PCRE_SUPPORT_UTF:BOOL=ON --build pcre-8.33-bin -G "Visual Studio 9 2008" updated: cmake pcre-8.33 -D BUILD_SHARED_LIBS:BOOL=OFF -D PCRE_SUPPORT_UTF:BOOL=ON --build pcre-8.33-bin -G "Visual Studio 9 2008" <|file_sep|>original...
========== Downloads ------------- - Download and install [CMake binary](http://www.cmake.org/). Tested with 2.8.12. - Download and install Microsoft Visual Studio 2008 Express Edition (or the full version). - Create a root directory and place the following as subdirectories in it: - Download [pcre source](http://...
<|file_sep|>win/BUILD.md.diff original: cmake pcre-8.33 -D BUILD_SHARED_LIBS:BOOL=ON -D PCRE_SUPPORT_UTF:BOOL=ON --build pcre-8.33-bin -G "Visual Studio 9 2008" updated: cmake pcre-8.33 -D BUILD_SHARED_LIBS:BOOL=OFF -D PCRE_SUPPORT_UTF:BOOL=ON --build pcre-8.33-bin -G "Visual Studio 9 2008" <|file_sep|>original...
2532c99e78cff172299348a241cac8a771684356
win/BUILD.md
win/BUILD.md
Markdown
<|file_sep|>original/test/tests.lisp (defpackage #:cqlcl-test (:use :cl :cqlcl :lisp-unit)) (in-package #:cqlcl-test) (define-test parse-options-header (labels ((hash-equal (h1 h2) (maphash (lambda (k v) (assert-equal (gethash k h2) (values v t))) h1))) (let* ((packet #(1...
(define-test parse-options-header (labels ((hash-equal (h1 h2) (maphash (lambda (k v) (assert-equal (gethash k h2) (values v t))) h1))) (let* ((packet #(129 0 0 6 0 0 0 52 0 2 0 11 67 81 76 95 86 69 82 83 73 79 78 0 1 0 5 51 46 49 46 50 0 11 67 79 77 ...
<|file_sep|>original/test/tests.lisp (defpackage #:cqlcl-test (:use :cl :cqlcl :lisp-unit)) (in-package #:cqlcl-test) (define-test parse-options-header (labels ((hash-equal (h1 h2) (maphash (lambda (k v) (assert-equal (gethash k h2) (values v t))) h1))) (let* ((packet #(1...
fe68dbb62ae3335bbd37a0669a05a7fdfc54a650
test/tests.lisp
test/tests.lisp
Common Lisp
<|file_sep|>original/docker/build/run-standalone-generator-for-cpp.sh <|file_sep|>current/docker/build/run-standalone-generator-for-cpp.sh <|file_sep|>updated/docker/build/run-standalone-generator-for-cpp.sh
#!/bin/bash GENERATOR=$(find /src/tools/generator/joynr-generator-standalone/target -name 'joynr-generator-standalone-*.jar' | grep -v sources) java -jar $GENERATOR \ -modelpath /src/basemodel/src/main/franca \ -outputPath /src/cpp/libjoynr/basemodel/generated \ -generationLanguage cpp
<|file_sep|>original/docker/build/run-standalone-generator-for-cpp.sh <|file_sep|>current/docker/build/run-standalone-generator-for-cpp.sh <|file_sep|>updated/docker/build/run-standalone-generator-for-cpp.sh #!/bin/bash GENERATOR=$(find /src/tools/generator/joynr-generator-standalone/target -name 'joynr-generator-st...
b77ebdb817fbb843fa97aaa5ccb9d65d5d8b02ba
docker/build/run-standalone-generator-for-cpp.sh
docker/build/run-standalone-generator-for-cpp.sh
Shell
<|file_sep|>original/requirements.txt pbr>=0.6,<1.0 argparse iso8601>=0.1.8 PrettyTable>=0.7,<0.8 python-keystoneclient>=0.6.0 PyYAML>=3.1.0 six>=1.4.1 requests>=1.1 <|file_sep|>current/requirements.txt pbr>=0.6,<1.0 argparse iso8601>=0.1.8 PrettyTable>=0.7,<0.8 python-keystoneclient>=0.6.0 PyYAML>=3.1.0 six>=1.4.1 req...
pbr>=0.6,<1.0 argparse iso8601>=0.1.8 PrettyTable>=0.7,<0.8 python-keystoneclient>=0.6.0 PyYAML>=3.1.0 six>=1.4.1 requests>=1.1 babel
<|file_sep|>original/requirements.txt pbr>=0.6,<1.0 argparse iso8601>=0.1.8 PrettyTable>=0.7,<0.8 python-keystoneclient>=0.6.0 PyYAML>=3.1.0 six>=1.4.1 requests>=1.1 <|file_sep|>current/requirements.txt pbr>=0.6,<1.0 argparse iso8601>=0.1.8 PrettyTable>=0.7,<0.8 python-keystoneclient>=0.6.0 PyYAML>=3.1.0 six>=1.4.1 req...
d9f5bc4cd2349002b08bd8c8a282d587f5b9be37
requirements.txt
requirements.txt
Text
<|file_sep|>original/.github/workflows/dotnet-core.yml path: LightningQueues - name: Checkout lmdb uses: actions/checkout@v2 with: repository: LMDB/lmdb ref: mdb.master path: lmdb if: matrix.os == 'ubuntu-latest' - name: Build lmdb native lib working-direc...
path: LightningQueues - name: Checkout lmdb uses: actions/checkout@v2 with: repository: LMDB/lmdb ref: mdb.master path: lmdb if: matrix.os == 'ubuntu-latest' - name: Build lmdb native lib working-directory: ${{ runner.workspace }}/lmdb/libraries/liblmdb ...
<|file_sep|>original/.github/workflows/dotnet-core.yml path: LightningQueues - name: Checkout lmdb uses: actions/checkout@v2 with: repository: LMDB/lmdb ref: mdb.master path: lmdb if: matrix.os == 'ubuntu-latest' - name: Build lmdb native lib working-direc...
9cd2c842396164ea4440bf86df37e0e9db015fd4
.github/workflows/dotnet-core.yml
.github/workflows/dotnet-core.yml
YAML
<|file_sep|>original/.travis.yml language: rust rust: - nightly addons: apt: packages: - tree install: - git clone --depth 1 https://github.com/steveklabnik/rustbook.git - cd rustbook && cargo build --release && cd .. script: - rustbook/target/release/rustbook build text/ book/ after_success: ...
packages: - tree install: - git clone --depth 1 https://github.com/steveklabnik/rustbook.git - cd rustbook && cargo build --release && cd .. script: - rustbook/target/release/rustbook build text/ book/ after_success: - tree book - zip -r too-many-lists.zip book deploy: provider: releases api...
<|file_sep|>original/.travis.yml language: rust rust: - nightly addons: apt: packages: - tree install: - git clone --depth 1 https://github.com/steveklabnik/rustbook.git - cd rustbook && cargo build --release && cd .. script: - rustbook/target/release/rustbook build text/ book/ after_success: ...
f899f8185095d3184df76b52855476a864a5b18e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml - 7.2 - 7.3 - nightly env: global: - DEFAULT=1 matrix: allow_failures: - php: nightly fast_finish: true include: - php: 7.1 env: - COVERALLS=1 before_script: - composer self-update <|file_sep|>current/.travis.yml - 7.2 - 7.3 - nightly...
- 7.2 - 7.3 - nightly env: global: - DEFAULT=1 matrix: allow_failures: - php: 7.3 - php: nightly fast_finish: true include: - php: 7.1 env: - COVERALLS=1 before_script:
<|file_sep|>original/.travis.yml - 7.2 - 7.3 - nightly env: global: - DEFAULT=1 matrix: allow_failures: - php: nightly fast_finish: true include: - php: 7.1 env: - COVERALLS=1 before_script: - composer self-update <|file_sep|>current/.travis.yml - 7.2 - 7.3 - nightly...
cd81cf197ffb4fe2fcd56fb12a0a91ea6efcae00
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Casks/micro-snitch.rb cask :v1 => 'micro-snitch' do version '1.1.2' sha256 'a1d49f8a94524d0d242fb505dac24dc1f8f152bd7794fa5a0f0215366f63f367' url "https://obdev.at/downloads/MicroSnitch/MicroSnitch-#{version}.zip" name 'Micro Snitch' homepage 'https://obdev.at/products/microsnitch/' li...
cask :v1 => 'micro-snitch' do version '1.2' sha256 '7749a1bbc88a7a4bcb246d9f6d8b4d46b4faabfb95f7a8706be28570dcc09115' url "https://obdev.at/downloads/MicroSnitch/MicroSnitch-#{version}.zip" name 'Micro Snitch' homepage 'https://obdev.at/products/microsnitch/' license :commercial app 'Micro Snitch.app' e...
<|file_sep|>original/Casks/micro-snitch.rb cask :v1 => 'micro-snitch' do version '1.1.2' sha256 'a1d49f8a94524d0d242fb505dac24dc1f8f152bd7794fa5a0f0215366f63f367' url "https://obdev.at/downloads/MicroSnitch/MicroSnitch-#{version}.zip" name 'Micro Snitch' homepage 'https://obdev.at/products/microsnitch/' li...
653ac79213962cc693bc411eb47415e4b9cb5866
Casks/micro-snitch.rb
Casks/micro-snitch.rb
Ruby
<|file_sep|>virtualboxclient/virtualbox.go.diff original: updated: func (vb *VirtualBox) CreateHardDisk(format, location string) (*Medium, error) { vb.Logon() request := vboxwebsrv.IVirtualBoxcreateHardDisk{This: vb.managedObjectId, Format: format, Location: location} response, err := vb.IVirtualBoxcreateHardDisk...
func (vb *VirtualBox) Logon() error { if vb.managedObjectId != "" { // Already logged in return nil } request := vboxwebsrv.IWebsessionManagerlogon{ Username: vb.username, Password: vb.password, } response, err := vb.IWebsessionManagerlogon(&request) if err != nil { return err // TODO: Wrap the error...
<|file_sep|>virtualboxclient/virtualbox.go.diff original: updated: func (vb *VirtualBox) CreateHardDisk(format, location string) (*Medium, error) { vb.Logon() request := vboxwebsrv.IVirtualBoxcreateHardDisk{This: vb.managedObjectId, Format: format, Location: location} response, err := vb.IVirtualBoxcreateHardDisk...
de2a451f9c30ada011f0b5e471fd04a3770f9be1
virtualboxclient/virtualbox.go
virtualboxclient/virtualbox.go
Go
<|file_sep|>original/src/js/store/appSettings/reducers.ts import { AppSettings, AppSettingsTypes, OVERWRITE_SETTINGS } from './types'; const initialState: AppSettings = { webmap: 'e691172598f04ea8881cd2a4adaa45ba', title: 'GFW Mapbuilder', subtitle: 'Make maps that matter', logoUrl: 'https://my.gfw-mapbuilder....
import { AppSettings, AppSettingsTypes, OVERWRITE_SETTINGS } from './types'; const initialState: AppSettings = { webmap: '512eef95997b4e7486cdbdc45078739d', title: 'GFW Mapbuilder', subtitle: 'Make maps that matter', logoUrl: 'https://my.gfw-mapbuilder.org/img/gfw-logo.png', logoLinkUrl: 'https://www.gfw-map...
<|file_sep|>original/src/js/store/appSettings/reducers.ts import { AppSettings, AppSettingsTypes, OVERWRITE_SETTINGS } from './types'; const initialState: AppSettings = { webmap: 'e691172598f04ea8881cd2a4adaa45ba', title: 'GFW Mapbuilder', subtitle: 'Make maps that matter', logoUrl: 'https://my.gfw-mapbuilder....
4ec2109c8d961d7384721708a6d8a982d66cb986
src/js/store/appSettings/reducers.ts
src/js/store/appSettings/reducers.ts
TypeScript
<|file_sep|>packages/ed/EdisonCore.yaml.diff original: hash: 7ba620202975772967209b4a5e2cd918ad0cc5bc96fa470db0f7378378c84a6c updated: hash: 0b60c80c5c136831e17acc4cc18a85c6a4f4c09194c5e55ff8d0dafeedd686e2 <|file_sep|>packages/ed/EdisonCore.yaml.diff original: synopsis: A library of efficent, purely-functional data str...
- '1.2.1.2' - '1.2.1.3' - '1.2.2' - '1.2.2.1' - '1.3' - '1.3.1' - '1.3.1.1' - '1.3.2' author: Chris Okasaki latest: '1.3.2' description-type: haddock description: ! 'This package provides the core Edison data structure implementations, including multiple sequence, set, bag, and finite map concrete implementations...
<|file_sep|>packages/ed/EdisonCore.yaml.diff original: hash: 7ba620202975772967209b4a5e2cd918ad0cc5bc96fa470db0f7378378c84a6c updated: hash: 0b60c80c5c136831e17acc4cc18a85c6a4f4c09194c5e55ff8d0dafeedd686e2 <|file_sep|>packages/ed/EdisonCore.yaml.diff original: synopsis: A library of efficent, purely-functional data str...
9cbc1ea41ccde2493e57bb767434b6a2539ceee1
packages/ed/EdisonCore.yaml
packages/ed/EdisonCore.yaml
YAML
<|file_sep|>original/README.md <img src="https://doc-00-4o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/2ltl63d8omr3u6dra3qtbi7j3vjth5gb/1507824000000/09697941126557933268/*/0B_E6woUF3BwpZW9iNE00VzdzOWc" style="width:25px;margin:0 auto;"> <|file_sep|>current/README.md <img src="https://doc-...
<center> <img src="https://doc-00-4o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/2ltl63d8omr3u6dra3qtbi7j3vjth5gb/1507824000000/09697941126557933268/*/0B_E6woUF3BwpZW9iNE00VzdzOWc" width="350px"> </center>
<|file_sep|>original/README.md <img src="https://doc-00-4o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/2ltl63d8omr3u6dra3qtbi7j3vjth5gb/1507824000000/09697941126557933268/*/0B_E6woUF3BwpZW9iNE00VzdzOWc" style="width:25px;margin:0 auto;"> <|file_sep|>current/README.md <img src="https://doc-...
410b1168de8f950993eab41952b00e50a30e3482
README.md
README.md
Markdown
<|file_sep|>original/web/concrete/elements/storage_location_types/local.php <? if (is_object($configuration)) { $path = $configuration->getRootPath(); $relativePath = $configuration->getWebRootRelativePath(); } ?> <? $form = Loader::helper('form'); ?> <div class="form-group"> <label for="path"><?=t('Root Path')?>...
<?php defined('C5_EXECUTE') or die('Access Denied'); if (is_object($configuration)) { $path = $configuration->getRootPath(); $relativePath = $configuration->getWebRootRelativePath(); } ?> <? $form = Loader::helper('form'); ?> <div class="form-group"> <label for="path"><?=t('Root Path')?></label> <div class="i...
<|file_sep|>original/web/concrete/elements/storage_location_types/local.php <? if (is_object($configuration)) { $path = $configuration->getRootPath(); $relativePath = $configuration->getWebRootRelativePath(); } ?> <? $form = Loader::helper('form'); ?> <div class="form-group"> <label for="path"><?=t('Root Path')?>...
30f1250e64da6350e86ba0861321886f3964ad58
web/concrete/elements/storage_location_types/local.php
web/concrete/elements/storage_location_types/local.php
PHP
<|file_sep|>original/setup.py author="oemof developer group", author_email="windpowerlib@rl-institut.de", license="MIT", packages=["feedinlib"], long_description=read("README.rst"), long_description_content_type="text/x-rst", zip_safe=False, install_requires=[ "cdsapi >= 0.1.4", ...
author="oemof developer group", author_email="windpowerlib@rl-institut.de", license="MIT", packages=["feedinlib"], long_description=read("README.rst"), long_description_content_type="text/x-rst", zip_safe=False, install_requires=[ "cdsapi >= 0.1.4", "numpy >= 1.7.0", ...
<|file_sep|>original/setup.py author="oemof developer group", author_email="windpowerlib@rl-institut.de", license="MIT", packages=["feedinlib"], long_description=read("README.rst"), long_description_content_type="text/x-rst", zip_safe=False, install_requires=[ "cdsapi >= 0.1.4", ...
86774ca5e2a5f31642a4230e9060e38e278a7f39
setup.py
setup.py
Python
<|file_sep|>react/features/base/util/loadScript.native.js.diff original: return ( updated: return new Promise((resolve, reject) => { // XXX The implementation of fetch on Android will throw an Exception on // the Java side which will break the app if the URL is invalid (which // the impl...
reject(`unexpected url: ${url}`); return; } fetch(url, { method: 'GET' }) .then(response => { switch (response.status) { case 200: return response.responseText || response.text(); default: ...
<|file_sep|>react/features/base/util/loadScript.native.js.diff original: return ( updated: return new Promise((resolve, reject) => { // XXX The implementation of fetch on Android will throw an Exception on // the Java side which will break the app if the URL is invalid (which // the impl...
cfd6209a203fc307601e4cc94af9169be23cedd6
react/features/base/util/loadScript.native.js
react/features/base/util/loadScript.native.js
JavaScript
<|file_sep|>original/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java <|file_sep|>current/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java <|file_sep|>updated/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java
package io.rodeo.chute; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Random; public class MySqlBulkGenerator { public static void main(String[] args) throws InstantiationException, IllegalAccessException, ClassNotFoundExc...
<|file_sep|>original/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java <|file_sep|>current/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java <|file_sep|>updated/src/main/java/io/rodeo/chute/MySqlBulkGenerator.java package io.rodeo.chute; import java.sql.Connection; import java.sql.DriverManager; import java.sq...
82acbc07ffcb54fda7bb6163d6c168879d1476fb
src/main/java/io/rodeo/chute/MySqlBulkGenerator.java
src/main/java/io/rodeo/chute/MySqlBulkGenerator.java
Java
<|file_sep|>.github/workflows/ci.yml.diff original: push: branches: - master updated: <|file_sep|>.github/workflows/ci.yml.diff original: updated: schedule: - cron: '10 5 * * 0' <|file_sep|>.github/workflows/ci.yml.diff original: with: fetch-depth: 2 - run: git checkou...
test: name: Test NodeJS ${{ matrix.node-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: matrix: node-version: [12.x, 14.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-ve...
<|file_sep|>.github/workflows/ci.yml.diff original: push: branches: - master updated: <|file_sep|>.github/workflows/ci.yml.diff original: updated: schedule: - cron: '10 5 * * 0' <|file_sep|>.github/workflows/ci.yml.diff original: with: fetch-depth: 2 - run: git checkou...
93c00474816d30d8b783869bc8f5b11dbae02cde
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>scripts/staging-deploy.sh.diff original: cd /srv/staging/website updated: ROOT_DIR=/srv/staging DJANGODIR=$ROOT_DIR/website/ source $ROOT_DIR/venv/bin/activate export $(cat .env.staging | xargs) cd $DJANGODIR <|file_sep|>scripts/staging-deploy.sh.diff original: updated: <|file_sep|>original/scripts/stag...
set -e ROOT_DIR=/srv/staging DJANGODIR=$ROOT_DIR/website/ source $ROOT_DIR/venv/bin/activate export $(cat .env.staging | xargs) cd $DJANGODIR git pull npm run build npm run build-prod ./manage.py collectstatic --clear --noinput \ --ignore less/test/* --ignore select2/docs/* sudo systemctl stop gunicorn_stagi...
<|file_sep|>scripts/staging-deploy.sh.diff original: cd /srv/staging/website updated: ROOT_DIR=/srv/staging DJANGODIR=$ROOT_DIR/website/ source $ROOT_DIR/venv/bin/activate export $(cat .env.staging | xargs) cd $DJANGODIR <|file_sep|>scripts/staging-deploy.sh.diff original: updated: <|file_sep|>original/scripts/stag...
554327fe0260bf244c93a76c8300d3011bc6090e
scripts/staging-deploy.sh
scripts/staging-deploy.sh
Shell
<|file_sep|>original/Android/SDK/app/src/main/res/layout/issues_browser.xml <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/cover_toolbar_height" tools:context="co...
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/cover_toolbar_height" android:layout_marginEnd="@dimen/expanded_title_margin_end" android:layout_marginLeft="@d...
<|file_sep|>original/Android/SDK/app/src/main/res/layout/issues_browser.xml <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="@dimen/cover_toolbar_height" tools:context="co...
7b359cab44c2960fc6992d66e4f0b72b9ca800de
Android/SDK/app/src/main/res/layout/issues_browser.xml
Android/SDK/app/src/main/res/layout/issues_browser.xml
XML
<|file_sep|>config/routes.rb.diff original: match "/", :to => redirect("/nobelists") end updated: end <|file_sep|>original/config/routes.rb RepertoireFacetingExample::Application.routes.draw do path_prefix = RepertoireFacetingExample::Application.config.repertoire_assets.path_prefix scope "(/#{path...
RepertoireFacetingExample::Application.routes.draw do path_prefix = RepertoireFacetingExample::Application.config.repertoire_assets.path_prefix scope "(/#{path_prefix})" do faceting_for :nobelists, :citizens # NB must be BEFORE any resources! match ':controller(/:action(/:id(.:format)))' ...
<|file_sep|>config/routes.rb.diff original: match "/", :to => redirect("/nobelists") end updated: end <|file_sep|>original/config/routes.rb RepertoireFacetingExample::Application.routes.draw do path_prefix = RepertoireFacetingExample::Application.config.repertoire_assets.path_prefix scope "(/#{path...
53c5d6466ccca30250bb133050250377b08fc732
config/routes.rb
config/routes.rb
Ruby
<|file_sep|>original/jasy/item/Doc.py class DocItem(Abstract.AbstractItem): kind = "doc" def generateId(self, relpath, package): if package: fileId = "%s/" % package else: fileId = "" return (fileId + os.path.splitext(relPath)[0]).replace("/", ".") def get...
class DocItem(Abstract.AbstractItem): kind = "doc" def generateId(self, relpath, package): if package: fileId = "%s/" % package else: fileId = "" return (fileId + os.path.dirname(relpath)).replace("/", ".") def getApi(self): field = "api[%s]" % sel...
<|file_sep|>original/jasy/item/Doc.py class DocItem(Abstract.AbstractItem): kind = "doc" def generateId(self, relpath, package): if package: fileId = "%s/" % package else: fileId = "" return (fileId + os.path.splitext(relPath)[0]).replace("/", ".") def get...
16811d4f379974fb94c98b56b398a4d555e3e4cd
jasy/item/Doc.py
jasy/item/Doc.py
Python
<|file_sep|>original/confluent/auth.py <|file_sep|>current/confluent/auth.py <|file_sep|>updated/confluent/auth.py
# authentication and authorization routines for confluent import confluent.config as config def authorize(name, element): #TODO: actually use the element to ascertain if this user is good enough try: if '/' in name: tenant, user = name.split('/', 1) tenant = config.get_tenant_i...
<|file_sep|>original/confluent/auth.py <|file_sep|>current/confluent/auth.py <|file_sep|>updated/confluent/auth.py # authentication and authorization routines for confluent import confluent.config as config def authorize(name, element): #TODO: actually use the element to ascertain if this user is good enough ...
596692a033b7b9e76d7de176564abc640b647d95
confluent/auth.py
confluent/auth.py
Python
<|file_sep|>original/lib/turbo-sprockets/railtie.rb rake_tasks do load "turbo-sprockets/tasks/assets.rake" end initializer "turbo-sprockets.environment", :after => "sprockets.environment", :group => :all do |app| config = app.config if config.assets.manifest manifest_path = File....
load "turbo-sprockets/tasks/assets.rake" end initializer "turbo-sprockets.environment", :after => "sprockets.environment", :group => :all do |app| config = app.config if config.assets.manifest manifest_path = File.join(config.assets.manifest, "manifest.yml") else manife...
<|file_sep|>original/lib/turbo-sprockets/railtie.rb rake_tasks do load "turbo-sprockets/tasks/assets.rake" end initializer "turbo-sprockets.environment", :after => "sprockets.environment", :group => :all do |app| config = app.config if config.assets.manifest manifest_path = File....
4d4eaa0601088322f8262d0f1d55f58a5d84fcd0
lib/turbo-sprockets/railtie.rb
lib/turbo-sprockets/railtie.rb
Ruby
<|file_sep|>README.md.diff original: Plunker ======= updated: # Plunker <|file_sep|>original/README.md Plunker ======= The next generation of lightweight collaborative online editing. <|file_sep|>current/README.md # Plunker The next generation of lightweight collaborative online editing. <|file_sep|>updated/README.md
# Plunker The next generation of lightweight collaborative online editing. ## Editor API ### `POST /edit/` You can send a `POST` request to `/edit/` to bootstrap the editor with the basic structure of a plunk. The JSON format for this is described below. ```javascript { "description": "Description of Plunk", ...
<|file_sep|>README.md.diff original: Plunker ======= updated: # Plunker <|file_sep|>original/README.md Plunker ======= The next generation of lightweight collaborative online editing. <|file_sep|>current/README.md # Plunker The next generation of lightweight collaborative online editing. <|file_sep|>updated/README.md...
9561268cd3b8e448a206591c00753ffcf2f0f65d
README.md
README.md
Markdown
<|file_sep|>original/circle.yml machine: ruby: version: 2.3.3 environment: LOGIN_URL: https://dev.login.library.nyu.edu SSO_LOGOUT_PATH: /logout PRIVILEGES_BASE_URL: https://localhost PRIVILEGES_SUBLIBRARY_CODE: marli database: override: - mysql -e 'create database marli_test;' - bu...
machine: ruby: version: 2.3.3 environment: LOGIN_URL: https://dev.login.library.nyu.edu SSO_LOGOUT_PATH: /logout PRIVILEGES_BASE_URL: https://privileges.library.nyu.edu PRIVILEGES_SUBLIBRARY_CODE: nyu_ag_noaleph_MaRLI database: override: - mysql -e 'create database marli_test;' - bu...
<|file_sep|>original/circle.yml machine: ruby: version: 2.3.3 environment: LOGIN_URL: https://dev.login.library.nyu.edu SSO_LOGOUT_PATH: /logout PRIVILEGES_BASE_URL: https://localhost PRIVILEGES_SUBLIBRARY_CODE: marli database: override: - mysql -e 'create database marli_test;' - bu...
1d00f4c939691eaec54b8c35606cff70eaed14d8
circle.yml
circle.yml
YAML
<|file_sep|>maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java.diff original: import se.vandmo.textchecker.maven.rules.NotExecutable; updated: <|file_sep|>original/maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java import se.vandmo.textchecker.maven.rules.ConsistentLineSe...
import java.util.Collection; import se.vandmo.textchecker.maven.rules.ConsistentLineSeparator; import se.vandmo.textchecker.maven.rules.EndsWithLineSeparator; import se.vandmo.textchecker.maven.rules.NoTabs; import se.vandmo.textchecker.maven.rules.NoTrailingWhitespaceOnNonBlankLines; import se.vandmo.textchecker.mave...
<|file_sep|>maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java.diff original: import se.vandmo.textchecker.maven.rules.NotExecutable; updated: <|file_sep|>original/maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java import se.vandmo.textchecker.maven.rules.ConsistentLineSe...
03cc7533a6035e8cb3fed8ecf5b80dc0cc2638d1
maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java
maven-plugin/src/main/java/se/vandmo/textchecker/maven/RulesResolver.java
Java
<|file_sep|>original/debug/sendFakeNotification.swift <|file_sep|>current/debug/sendFakeNotification.swift <|file_sep|>updated/debug/sendFakeNotification.swift
#!/usr/bin/swift import Foundation let userInfo = ["com.apple.MCX.changedDomains": ["com.abelionni.DockServiceManager"]] NSDistributedNotificationCenter.defaultCenter().postNotificationName("com.apple.MCX._managementStatusChangedForDomains", object: "com.apple.MCX", userInfo: userInfo) exit(0)
<|file_sep|>original/debug/sendFakeNotification.swift <|file_sep|>current/debug/sendFakeNotification.swift <|file_sep|>updated/debug/sendFakeNotification.swift #!/usr/bin/swift import Foundation let userInfo = ["com.apple.MCX.changedDomains": ["com.abelionni.DockServiceManager"]] NSDistributedNotificationCenter.de...
0f7f50731868b401041db85aaded4466dd9222ee
debug/sendFakeNotification.swift
debug/sendFakeNotification.swift
Swift
<|file_sep|>original/composer.json "description": "Backend code and schema for OpenBadges", "repositories": [ { "type": "composer", "url": "https://packages.zendframework.com/" }, { "type": "vcs", "url": "https://github.com/UoMCS/openbadges-backend" }, { "type": "vc...
"description": "Backend code and schema for OpenBadges", "repositories": [ { "type": "composer", "url": "https://packages.zendframework.com/" }, { "type": "vcs", "url": "https://github.com/UoMCS/openbadges-backend" } ], "autoload": { "psr-4": { "OpenBadges\\": "src/" ...
<|file_sep|>original/composer.json "description": "Backend code and schema for OpenBadges", "repositories": [ { "type": "composer", "url": "https://packages.zendframework.com/" }, { "type": "vcs", "url": "https://github.com/UoMCS/openbadges-backend" }, { "type": "vc...
f6bedf0c6efb73cf881a4f8e792fc36bc499997f
composer.json
composer.json
JSON
<|file_sep|>original/app/models/round.rb class Round < ApplicationRecord include YearlyModel belongs_to :tournament has_many :game_appointments, dependent: :destroy validates :number, presence: true validates :number, uniqueness: { scope: :tournament_id, message: "A round with that number already exists for ...
class Round < ApplicationRecord include YearlyModel belongs_to :tournament has_many :game_appointments, -> { order(:table) }, dependent: :destroy validates :number, presence: true validates :number, uniqueness: { scope: :tournament_id, message: "A round with that number already exists for the tournament."} ...
<|file_sep|>original/app/models/round.rb class Round < ApplicationRecord include YearlyModel belongs_to :tournament has_many :game_appointments, dependent: :destroy validates :number, presence: true validates :number, uniqueness: { scope: :tournament_id, message: "A round with that number already exists for ...
c4530bc1c676734e88500159289f9c1a25a7a5e5
app/models/round.rb
app/models/round.rb
Ruby
<|file_sep|>activity-stream.js.diff original: updated: // If we're at the end of the current page of events, // load some more. <|file_sep|>activity-stream.js.diff original: updated: } else { stream.push(events[stream.eventIndex]); stream.eventIndex++; <|file_sep|>original/activity...
}; function pushNextEvent(stream) { stream.eventsPromise.done(function(events) { if (!events) { return stream.push(null); } // If we're at the end of the current page of events, // load some more. if (!events[stream.eventIndex]) { stream.eventsPromise = events.nextPag...
<|file_sep|>activity-stream.js.diff original: updated: // If we're at the end of the current page of events, // load some more. <|file_sep|>activity-stream.js.diff original: updated: } else { stream.push(events[stream.eventIndex]); stream.eventIndex++; <|file_sep|>original/activity...
cc9885221510306fd59eccb44c7ce5f9b30832d1
activity-stream.js
activity-stream.js
JavaScript
<|file_sep|>roles/legacy-install-afs-with-puppet/tasks/main.yaml.diff original: command: install_puppet.sh updated: command: ./install_puppet.sh <|file_sep|>original/roles/legacy-install-afs-with-puppet/tasks/main.yaml args: chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config" ...
args: chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config" become: yes - name: Copy reduced scope modules.env into place template: src: modules.env.j2 dest: src/git.openstack.org/openstack-infra/system-config/modules.env - name: Install modules command: ./install_mod...
<|file_sep|>roles/legacy-install-afs-with-puppet/tasks/main.yaml.diff original: command: install_puppet.sh updated: command: ./install_puppet.sh <|file_sep|>original/roles/legacy-install-afs-with-puppet/tasks/main.yaml args: chdir: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/system-config" ...
cc35a28c7edf5f5b33fc2ad00fb74bc28cc5356d
roles/legacy-install-afs-with-puppet/tasks/main.yaml
roles/legacy-install-afs-with-puppet/tasks/main.yaml
YAML
<|file_sep|>_data/admin.yml.diff original: updated: - name: Lina Tran position: President degree: PhD, Physiology github: linamnt interests: - Python - R <|file_sep|>original/_data/admin.yml position: Treasurer degree: PhD, Molecular Genetics github: nsahin interests: - Python - name: Lin...
degree: PhD, Physics github: QuLogic interests: - Fortran - Python - Visualization - name: Nil Sahin position: Treasurer degree: PhD, Molecular Genetics github: nsahin interests: - Python - name: Joel Östblom position: Course Coordinator degree: PhD, Biomedical Engineering github: ...
<|file_sep|>_data/admin.yml.diff original: updated: - name: Lina Tran position: President degree: PhD, Physiology github: linamnt interests: - Python - R <|file_sep|>original/_data/admin.yml position: Treasurer degree: PhD, Molecular Genetics github: nsahin interests: - Python - name: Lin...
48e21fbae2694de852b2a36514db0a82ca649a97
_data/admin.yml
_data/admin.yml
YAML
<|file_sep|>original/_layouts/default.html <|file_sep|>current/_layouts/default.html <|file_sep|>updated/_layouts/default.html
--- --- <!doctype html> <!-- Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes Free for personal and commercial use under the MIT license https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE --> <html lang="{{ site.locale | slice:...
<|file_sep|>original/_layouts/default.html <|file_sep|>current/_layouts/default.html <|file_sep|>updated/_layouts/default.html --- --- <!doctype html> <!-- Minimal Mistakes Jekyll Theme 4.19.3 by Michael Rose Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes Free for personal and commercial use ...
1ab285e9a387ffb66e258a68f2b077c2ba9d7e6d
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>original/.travis.yml - gcc before_install: - sudo add-apt-repository --yes ppa:boost-latest/ppa - sudo apt-get update install: #Upgrade # - sudo apt-get --yes --force-yes upgrade #Boost - sudo apt-get install libboost1.55-all-dev libboost-random1.55-dev - dpkg -s libboost-dev | grep 'Version' #Google...
- gcc before_install: - sudo add-apt-repository --yes ppa:boost-latest/ppa - sudo apt-get update install: #Upgrade # - sudo apt-get --yes --force-yes upgrade #Boost - sudo apt-get install libboost-all-dev libboost-random-dev # - sudo apt-get install libboost1.55-all-dev libboost-random1.55-dev #Google Log - svn...
<|file_sep|>original/.travis.yml - gcc before_install: - sudo add-apt-repository --yes ppa:boost-latest/ppa - sudo apt-get update install: #Upgrade # - sudo apt-get --yes --force-yes upgrade #Boost - sudo apt-get install libboost1.55-all-dev libboost-random1.55-dev - dpkg -s libboost-dev | grep 'Version' #Google...
07748df82531cf69e12477cb1fb9ffb9d427f60b
.travis.yml
.travis.yml
YAML
<|file_sep|>composer.json.diff original: "minimum-stability": "dev", updated: <|file_sep|>original/composer.json "name": "Hari KT", "email": "kthari85@gmail.com" } ], "autoload": { "psr-4": { "FOA\\Auth_Session_Bundle\\": "src/", "FOA\\Auth_Se...
"email": "kthari85@gmail.com" } ], "autoload": { "psr-4": { "FOA\\Auth_Session_Bundle\\": "src/", "FOA\\Auth_Session_Bundle\\_Config\\": "config/" } }, "extra": { "aura": { "type": "bundle", "config": { ...
<|file_sep|>composer.json.diff original: "minimum-stability": "dev", updated: <|file_sep|>original/composer.json "name": "Hari KT", "email": "kthari85@gmail.com" } ], "autoload": { "psr-4": { "FOA\\Auth_Session_Bundle\\": "src/", "FOA\\Auth_Se...
72bf82f9099b2d7d233ac6566d5a5362aa18e84e
composer.json
composer.json
JSON
<|file_sep|>original/locales/sl/server-client-shared.properties # and the server views, viz. in views/ # ############################################################# ############################################################# ############## ## Homepage ## ############## remixGalleryTitle=Začni...
# and the server views, viz. in views/ # ############################################################# ############################################################# ############## ## Homepage ## ############## remixGalleryTitle=Začnite tako, da predelate projekt ... ############ ## Editor ## ###...
<|file_sep|>original/locales/sl/server-client-shared.properties # and the server views, viz. in views/ # ############################################################# ############################################################# ############## ## Homepage ## ############## remixGalleryTitle=Začni...
a341b6dcacaf92cee895fb34fc6116ff5b701f52
locales/sl/server-client-shared.properties
locales/sl/server-client-shared.properties
INI
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Mon Apr 01 18:55:35 BST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-bin.zip <|file_sep|>current/gradle/wr...
#Mon Apr 01 18:55:35 BST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-2.6-bin.zip
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties #Mon Apr 01 18:55:35 BST 2013 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-bin.zip <|file_sep|>current/gradle/wr...
3b17747e2b3686f83bbc32b5e99ae5e6c2287116
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.properties
INI
<|file_sep|>original/code/fire_off_cluster_jobs.sh <|file_sep|>current/code/fire_off_cluster_jobs.sh <|file_sep|>updated/code/fire_off_cluster_jobs.sh
#!/bin/bash LIBRARY=$1 FRACTIONS=(0_2 0_4 0_6 0_8 1_0) REPS=(01 02 03 04 05 06 07 08 09 10) for F in ${FRACTIONS[@]} do for R in ${REPS[@]} do cat head8.batch > $LIBRARY.$F.$R.qsub echo "make data/mice/mice.$F.$R.accuracy.list; make data/mice/mice.$F.$R.an.list; make data/mice/mice.$F.$R.f1score.list; make data/mic...
<|file_sep|>original/code/fire_off_cluster_jobs.sh <|file_sep|>current/code/fire_off_cluster_jobs.sh <|file_sep|>updated/code/fire_off_cluster_jobs.sh #!/bin/bash LIBRARY=$1 FRACTIONS=(0_2 0_4 0_6 0_8 1_0) REPS=(01 02 03 04 05 06 07 08 09 10) for F in ${FRACTIONS[@]} do for R in ${REPS[@]} do cat head8.batch > $L...
622fa02ef9b9fa1c0c96af13f54a5bdcab3a0a0f
code/fire_off_cluster_jobs.sh
code/fire_off_cluster_jobs.sh
Shell
<|file_sep|>original/package.json { "devDependencies": { "bower": "~1.3.0", "grunt": "~0.4.1", "grunt-browserify": "^5.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-sass": "~0.8.0", "grunt-contrib-watch": "~0.6.0", "grunt-exorcise": "^2.1.1", "grunt-img": "~0.1.0", "grunt-st...
{ "devDependencies": { "bower": "~1.3.0", "grunt": "~0.4.1", "grunt-browserify": "^5.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-sass": "~0.8.0", "grunt-contrib-watch": "~0.6.0", "grunt-exorcise": "^2.1.1", "grunt-img": "~0.1.0", "grunt-modernizr": "^1.0.2", "grunt-sta...
<|file_sep|>original/package.json { "devDependencies": { "bower": "~1.3.0", "grunt": "~0.4.1", "grunt-browserify": "^5.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-sass": "~0.8.0", "grunt-contrib-watch": "~0.6.0", "grunt-exorcise": "^2.1.1", "grunt-img": "~0.1.0", "grunt-st...
cbc86da5a0b1e92f6cff4bebb1783cf23204d0f6
package.json
package.json
JSON
<|file_sep|>original/Source/pages/repo_delete.php <?php # Copyright (c) 2012 John Reese # Licensed under the MIT license form_security_validate( 'plugin_Source_repo_delete' ); access_ensure_global_level( plugin_config_get( 'manage_threshold' ) ); $f_repo_id = gpc_get_string( 'id' ); $t_repo = SourceRepo::load( $f_r...
<?php # Copyright (c) 2012 John Reese # Licensed under the MIT license form_security_validate( 'plugin_Source_repo_delete' ); access_ensure_global_level( plugin_config_get( 'manage_threshold' ) ); $f_repo_id = gpc_get_string( 'id' ); $t_repo = SourceRepo::load( $f_repo_id ); $t_message = sprintf( plugin_lang_get( ...
<|file_sep|>original/Source/pages/repo_delete.php <?php # Copyright (c) 2012 John Reese # Licensed under the MIT license form_security_validate( 'plugin_Source_repo_delete' ); access_ensure_global_level( plugin_config_get( 'manage_threshold' ) ); $f_repo_id = gpc_get_string( 'id' ); $t_repo = SourceRepo::load( $f_r...
270675c964c675829fe010f9f0830521dc0835f0
Source/pages/repo_delete.php
Source/pages/repo_delete.php
PHP
<|file_sep|>script/function/encryption.sh.diff original: updated: mv "$1" "$1~" <|file_sep|>original/script/function/encryption.sh #!/bin/bash # Based on the gist https://gist.github.com/colinstein/de1755d2d7fbe27a0f1e dotfiles_encrypt() { local file="$1" local target="$2/$(basename "$1")" if [ -z "$2" ]; then ...
# Based on the gist https://gist.github.com/colinstein/de1755d2d7fbe27a0f1e dotfiles_encrypt() { local file="$1" local target="$2/$(basename "$1")" if [ -z "$2" ]; then target="$1" fi mkdir -p $(dirname $target) local pass="$(openssl rand -base64 170)" openssl aes-256-cbc -in $file -out $target.enc -pass pas...
<|file_sep|>script/function/encryption.sh.diff original: updated: mv "$1" "$1~" <|file_sep|>original/script/function/encryption.sh #!/bin/bash # Based on the gist https://gist.github.com/colinstein/de1755d2d7fbe27a0f1e dotfiles_encrypt() { local file="$1" local target="$2/$(basename "$1")" if [ -z "$2" ]; then ...
da46f6750dd373b3cf16cd2aedb5c46eff6bf685
script/function/encryption.sh
script/function/encryption.sh
Shell
<|file_sep|>original/regscrape/regscrape_lib/commands/cancel_jobs.py <|file_sep|>current/regscrape/regscrape_lib/commands/cancel_jobs.py <|file_sep|>updated/regscrape/regscrape_lib/commands/cancel_jobs.py
from regscrape_lib.util import get_db import settings def run(): query = settings.FILTER.copy() query['_job_id'] = {'$exists': True} db = get_db() db.docs.update(query, {'$unset': {'_job_id': True}}, multi=True, safe=True) print 'Canceled all currently-assigned jobs.'
<|file_sep|>original/regscrape/regscrape_lib/commands/cancel_jobs.py <|file_sep|>current/regscrape/regscrape_lib/commands/cancel_jobs.py <|file_sep|>updated/regscrape/regscrape_lib/commands/cancel_jobs.py from regscrape_lib.util import get_db import settings def run(): query = settings.FILTER.copy() query['_...
e3abfebdc57d364ded08034a6f1dead556fc4b57
regscrape/regscrape_lib/commands/cancel_jobs.py
regscrape/regscrape_lib/commands/cancel_jobs.py
Python
<|file_sep|>app/views/projects/blob/_header.html.haml.diff original: updated: = render_if_exists 'projects/blob/header_file_locks_link' <|file_sep|>original/app/views/projects/blob/_header.html.haml - blame = local_assigns.fetch(:blame, false) .js-file-title.file-title-flex-parent = render 'projects/blob/heade...
.js-file-title.file-title-flex-parent = render 'projects/blob/header_content', blob: blob .file-actions = render 'projects/blob/viewer_switcher', blob: blob unless blame .btn-group{ role: "group" }< = copy_blob_source_button(blob) unless blame = open_raw_blob_button(blob) = view_on_envir...
<|file_sep|>app/views/projects/blob/_header.html.haml.diff original: updated: = render_if_exists 'projects/blob/header_file_locks_link' <|file_sep|>original/app/views/projects/blob/_header.html.haml - blame = local_assigns.fetch(:blame, false) .js-file-title.file-title-flex-parent = render 'projects/blob/heade...
0422599f0868dac0e7f7d581b9a459478fe1e97e
app/views/projects/blob/_header.html.haml
app/views/projects/blob/_header.html.haml
Haml
<|file_sep|>original/package.json "keywords": [ "gemini", "gemini-plugin", "browserstack", "tunnel", "testing" ], "author": "Sauli Tähkäpää", "license": "Apache 2.0", "dependencies": { "browserstacktunnel-wrapper": "^1.3.1", "cleankill": "^1.0.0", "lodash": "^3.5.0", "q": "...
"keywords": [ "gemini", "gemini-plugin", "browserstack", "tunnel", "testing" ], "author": "Sauli Tähkäpää", "license": "Apache 2.0", "dependencies": { "browserstacktunnel-wrapper": "^2.0.0", "cleankill": "^1.0.0", "lodash": "^3.5.0", "q": "^1.2.0" }, "devDependencies": ...
<|file_sep|>original/package.json "keywords": [ "gemini", "gemini-plugin", "browserstack", "tunnel", "testing" ], "author": "Sauli Tähkäpää", "license": "Apache 2.0", "dependencies": { "browserstacktunnel-wrapper": "^1.3.1", "cleankill": "^1.0.0", "lodash": "^3.5.0", "q": "...
0c260b64136319dff1bb085f3f2dd3cac9a73577
package.json
package.json
JSON
<|file_sep|>str/case.go.diff original: import "unicode" updated: import ( "unicode" "unicode/utf8" ) <|file_sep|>str/case.go.diff original: for _, c := range str { updated: for len(str) > 0 { r, size := utf8.DecodeRuneInString(str) str = str[size:] <|file_sep|>str/case.go.diff original: case unicode.IsUpper(...
// Prepend an underscore if the previous char is not an underscore // and the current char is not part of an abbreviation if prev != '_' && !unicode.IsUpper(prev) { buf += "_" } buf += string(unicode.ToLower(r)) default: if r == '-' || r == ' ' { r = '_' } buf += string(r) } pr...
<|file_sep|>str/case.go.diff original: import "unicode" updated: import ( "unicode" "unicode/utf8" ) <|file_sep|>str/case.go.diff original: for _, c := range str { updated: for len(str) > 0 { r, size := utf8.DecodeRuneInString(str) str = str[size:] <|file_sep|>str/case.go.diff original: case unicode.IsUpper(...
47a8312fc27481fac011087ba7f66c92521a17aa
str/case.go
str/case.go
Go
<|file_sep|>test/CodeGen/debug-info-line2.c.diff original: //CHECK: store i32 //CHECK-NOT: br label %{{%[a-zA-Z0-9\.]+}}, !dbg updated: <|file_sep|>original/test/CodeGen/debug-info-line2.c // RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s // Radar 9199234 int bar(); int foo(int i) ...
// RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s // Radar 9199234 int bar(); int foo(int i) { int j = 0; if (i) { j = bar(); } else { //CHECK: store i32 %add //CHECK-NOT: br label %{{[a-zA-Z0-9\.]+}}, !dbg j = bar() + 2; } return j; }
<|file_sep|>test/CodeGen/debug-info-line2.c.diff original: //CHECK: store i32 //CHECK-NOT: br label %{{%[a-zA-Z0-9\.]+}}, !dbg updated: <|file_sep|>original/test/CodeGen/debug-info-line2.c // RUN: %clang_cc1 -triple x86_64-darwin-apple -g -emit-llvm -o - %s | FileCheck %s // Radar 9199234 int bar(); int foo(int i) ...
74976f231130b843f555a8f73df18ffb4d89639e
test/CodeGen/debug-info-line2.c
test/CodeGen/debug-info-line2.c
C
<|file_sep|>original/CHANGELOG.md ## 1.3 (20-Feb-2015) * Updated to Visual Studio 2013 * Switch to MIT license ## 1.2 (19-Jul-2006) * Standardized version information across all programs ## 1.1 (08-Apr-2006) * Added .rc and .ico files * Improved build scripts * Updated documentation ## 1.0 (12-Apr-2...
## 1.3 (22-Feb-2015) * Updated to Visual Studio 2013 * Switch to MIT license ## 1.2 (19-Jul-2006) * Standardized version information across all programs ## 1.1 (08-Apr-2006) * Added .rc and .ico files * Improved build scripts * Updated documentation ## 1.0 (12-Apr-2004) * Initial release
<|file_sep|>original/CHANGELOG.md ## 1.3 (20-Feb-2015) * Updated to Visual Studio 2013 * Switch to MIT license ## 1.2 (19-Jul-2006) * Standardized version information across all programs ## 1.1 (08-Apr-2006) * Added .rc and .ico files * Improved build scripts * Updated documentation ## 1.0 (12-Apr-2...
0586d1e9b11803a9cc27369434a1bbd4d007ff8d
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>original/bin/serve.js const {red} = require('chalk') const nodeVersion = require('node-version') // Ours const pkg = require('../package') // Support for keywords "async" and "await" const pathSep = process.platform === 'win32' ? '\\\\' : '/' asyncToGen({ include: new RegExp(`.*serve?${pathSep}(lib|bin...
const {red} = require('chalk') const nodeVersion = require('node-version') // Ours const pkg = require('../package') // Support for keywords "async" and "await" const pathSep = process.platform === 'win32' ? '\\\\' : '/' asyncToGen({ includes: new RegExp(`.*serve?${pathSep}(lib|bin).*`), excludes: null }) // Th...
<|file_sep|>original/bin/serve.js const {red} = require('chalk') const nodeVersion = require('node-version') // Ours const pkg = require('../package') // Support for keywords "async" and "await" const pathSep = process.platform === 'win32' ? '\\\\' : '/' asyncToGen({ include: new RegExp(`.*serve?${pathSep}(lib|bin...
20fe9979f336d58ac4517e9d0655217017aaa5b4
bin/serve.js
bin/serve.js
JavaScript
<|file_sep|>original/docs/index.rst ========================= cell - Actors for Kombu ========================= Contents: .. toctree:: :maxdepth: 2 introduction getting-started/index user-guide/index .. toctree:: :maxdepth: 1 changelog reference/index <|file_sep|>current/docs/index....
========================= cell - Actors for Celery ========================= Contents: .. toctree:: :maxdepth: 2 introduction getting-started/index user-guide/index .. toctree:: :maxdepth: 1 changelog reference/index
<|file_sep|>original/docs/index.rst ========================= cell - Actors for Kombu ========================= Contents: .. toctree:: :maxdepth: 2 introduction getting-started/index user-guide/index .. toctree:: :maxdepth: 1 changelog reference/index <|file_sep|>current/docs/index....
eeab7d063526b019446036f4463e003d03f04035
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>original/mdc-propagation/README.md <dependency> <groupId>nl.talsmasoftware.context</groupId> <artifactId>mdc-propagation</artifactId> <version>[see maven badge above]</version> </dependency> ``` Done! Now the `MDC.getCopyOfContextMap()` is copied into each snapshot from the `ContextManagers.c...
<dependency> <groupId>nl.talsmasoftware.context</groupId> <artifactId>mdc-propagation</artifactId> <version>[see maven badge above]</version> </dependency> ``` Done! Now the `MDC.getCopyOfContextMap()` is copied into each snapshot from the `ContextManagers.createSnapshot()` method to be reactivated by th...
<|file_sep|>original/mdc-propagation/README.md <dependency> <groupId>nl.talsmasoftware.context</groupId> <artifactId>mdc-propagation</artifactId> <version>[see maven badge above]</version> </dependency> ``` Done! Now the `MDC.getCopyOfContextMap()` is copied into each snapshot from the `ContextManagers.c...
bab448548a6a66fff3eeb08f48403cebf143eee1
mdc-propagation/README.md
mdc-propagation/README.md
Markdown
<|file_sep|>original/wrapper/src/template.sh #!/usr/bin/env bash set -euo pipefail VERSION="VERSION-GOES-HERE" DOWNLOAD_URL=${BATECT_DOWNLOAD_URL:-"DOWNLOAD-URL-GOES-HERE"} ROOT_CACHE_DIR=${BATECT_CACHE_DIR:-"~/.batect/cache"} CACHE_DIR="$ROOT_CACHE_DIR/$VERSION" JAR_PATH="$CACHE_DIR/batect-$VERSION.jar" function m...
#!/usr/bin/env bash set -euo pipefail VERSION="VERSION-GOES-HERE" DOWNLOAD_URL=${BATECT_DOWNLOAD_URL:-"DOWNLOAD-URL-GOES-HERE"} ROOT_CACHE_DIR=${BATECT_CACHE_DIR:-"$HOME/.batect/cache"} CACHE_DIR="$ROOT_CACHE_DIR/$VERSION" JAR_PATH="$CACHE_DIR/batect-$VERSION.jar" function main() { if ! haveVersionCachedLocally...
<|file_sep|>original/wrapper/src/template.sh #!/usr/bin/env bash set -euo pipefail VERSION="VERSION-GOES-HERE" DOWNLOAD_URL=${BATECT_DOWNLOAD_URL:-"DOWNLOAD-URL-GOES-HERE"} ROOT_CACHE_DIR=${BATECT_CACHE_DIR:-"~/.batect/cache"} CACHE_DIR="$ROOT_CACHE_DIR/$VERSION" JAR_PATH="$CACHE_DIR/batect-$VERSION.jar" function m...
9740555bfce17333baf61610bd344653f657df1d
wrapper/src/template.sh
wrapper/src/template.sh
Shell
<|file_sep|>original/website/static/js/fileRevisions.js <|file_sep|>current/website/static/js/fileRevisions.js <|file_sep|>updated/website/static/js/fileRevisions.js
'use strict'; var ko = require('knockout'); require('knockout-punches'); var $ = require('jquery'); var $osf = require('osfHelpers'); var bootbox = require('bootbox'); var waterbutler = require('waterbutler'); ko.punches.enableAll(); var Revision = function(data) { var self = this; $.extend(self, data); ...
<|file_sep|>original/website/static/js/fileRevisions.js <|file_sep|>current/website/static/js/fileRevisions.js <|file_sep|>updated/website/static/js/fileRevisions.js 'use strict'; var ko = require('knockout'); require('knockout-punches'); var $ = require('jquery'); var $osf = require('osfHelpers'); var bootbox = req...
111688be26d8647ca3c2a42633007f9e298ff2d7
website/static/js/fileRevisions.js
website/static/js/fileRevisions.js
JavaScript
<|file_sep|>original/py/maximum-binary-tree.py <|file_sep|>current/py/maximum-binary-tree.py <|file_sep|>updated/py/maximum-binary-tree.py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def findMax(self, start, end): bit_length = (end - start).bit_length() - 1 d = 1 << bit_length re...
<|file_sep|>original/py/maximum-binary-tree.py <|file_sep|>current/py/maximum-binary-tree.py <|file_sep|>updated/py/maximum-binary-tree.py # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class So...
9116776bd62e6b7ae7a018fa2c2c0b3964c3fa7d
py/maximum-binary-tree.py
py/maximum-binary-tree.py
Python
<|file_sep|>.travis.yml.diff original: - dev@maxmind.com updated: - dev-ci@maxmind.com <|file_sep|>original/.travis.yml email: recipients: - dev@maxmind.com on_success: change on_failure: always sudo: false env: global: - secure: "KXF3RVBZDxeASAnleYlTaqvxRRB9FSzSAdVV9h7Kw81+p4UO64...
email: recipients: - dev-ci@maxmind.com on_success: change on_failure: always sudo: false env: global: - secure: "KXF3RVBZDxeASAnleYlTaqvxRRB9FSzSAdVV9h7Kw81+p4UO64b8CPJR1p4fLIVwAp8C4R8h0xZDN3pAv/iyeA4ndIeh9tQXNZBm737RE5x+6x6nf/shP/Em1w9T1s3KmretXoTFK5NJGv2yTesgaIAV/JV1OFvlG6ArswhrPFc=" addo...
<|file_sep|>.travis.yml.diff original: - dev@maxmind.com updated: - dev-ci@maxmind.com <|file_sep|>original/.travis.yml email: recipients: - dev@maxmind.com on_success: change on_failure: always sudo: false env: global: - secure: "KXF3RVBZDxeASAnleYlTaqvxRRB9FSzSAdVV9h7Kw81+p4UO64...
3490a7d712e91c44a0a0f675e4c411fe7d4dbfc4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/spec_helper_acceptance.rb UNSUPPORTED_PLATFORMS = [] unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no' if hosts.first.is_pe? install_pe else install_puppet end hosts.each do |host| on hosts, "mkdir -p #{host['distmoduledir']}" end end RSpec.configur...
UNSUPPORTED_PLATFORMS = [] unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no' if hosts.first.is_pe? install_pe else install_puppet end hosts.each do |host| on host, "mkdir -p #{host['distmoduledir']}" end end RSpec.configure do |c| # Project root proj_root = File.expand_p...
<|file_sep|>original/spec/spec_helper_acceptance.rb UNSUPPORTED_PLATFORMS = [] unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no' if hosts.first.is_pe? install_pe else install_puppet end hosts.each do |host| on hosts, "mkdir -p #{host['distmoduledir']}" end end RSpec.configur...
d23e468cc3816a3b743c4daa0fd559fd0e84177d
spec/spec_helper_acceptance.rb
spec/spec_helper_acceptance.rb
Ruby
<|file_sep|>original/src/plugins/ini/crash_test/crash_test.md # Crash Test The following Markdown Shell Recorder test checks that the INI plugin does not crash, if the input file contains invalid characters or is not properly formatted. ```sh sudo kdb mount config_crash_test.ini user/examples/ini ini for file in $(f...
# Crash Test The following Markdown Shell Recorder test checks that the INI plugin does not crash, if the input file contains invalid characters or is not properly formatted. ```sh sudo kdb mount config_crash_test.ini user/examples/ini ini for file in $(find -E src/plugins/ini/crash_test -regex '.*crash[0-9]{3}.ini$...
<|file_sep|>original/src/plugins/ini/crash_test/crash_test.md # Crash Test The following Markdown Shell Recorder test checks that the INI plugin does not crash, if the input file contains invalid characters or is not properly formatted. ```sh sudo kdb mount config_crash_test.ini user/examples/ini ini for file in $(f...
1f0ea3b3e2969d4a03bb2f9bcff7b55ad72e36b7
src/plugins/ini/crash_test/crash_test.md
src/plugins/ini/crash_test/crash_test.md
Markdown
<|file_sep|>original/README.md dada -s1g If you want to generate, for example, [comma-separated values][CSV] instead of TSV, you have to set the field delimiter with the `-d` option. To generate CSV, run: dada -d, By default, the number of columns is randomly chosen. However, you can set it with the `-c` opt...
By default, the number of columns is randomly chosen. However, you can set it with the `-c` option. To generate data with eight columns, run: dada -c8 [CSV]: http://tools.ietf.org/html/rfc4180 [TSV]: http://www.iana.org/assignments/media-types/text/tab-separated-values Development ----------- To execute t...
<|file_sep|>original/README.md dada -s1g If you want to generate, for example, [comma-separated values][CSV] instead of TSV, you have to set the field delimiter with the `-d` option. To generate CSV, run: dada -d, By default, the number of columns is randomly chosen. However, you can set it with the `-c` opt...
f1e3bddff02d7912308facc80fd2e510d815ebf8
README.md
README.md
Markdown
<|file_sep|>original/periods/static/periods/css/calendar.css position: absolute; top: 0; margin: 0; padding: 2px; color: grey; } .moon { background-color: white; background-position: center; background-size: contain; background-repeat: no-repeat; } .new_moon { background-image:...
position: absolute; top: 0; margin: 0; padding: 2px; color: grey; } .moon { background-color: white; background-position: center; background-size: 70%; background-repeat: no-repeat; } .new_moon { background-image: url('/static/periods/img/new_moon.png'); } .last_quarter { ...
<|file_sep|>original/periods/static/periods/css/calendar.css position: absolute; top: 0; margin: 0; padding: 2px; color: grey; } .moon { background-color: white; background-position: center; background-size: contain; background-repeat: no-repeat; } .new_moon { background-image:...
d7135991dc87559f7807d1c5f059c25eb6dc82c8
periods/static/periods/css/calendar.css
periods/static/periods/css/calendar.css
CSS
<|file_sep|>original/lib/saxerator/dsl.rb module Saxerator module DSL def for_tag(tag) for_tags([tag]) end def for_tags(tags) raise ArgumentError.new('#for_tags requires an Array argument') unless tags.is_a? Array specify Latches::ForTags.new(tags.map(&:to_s)) end def at_depth(...
module Saxerator module DSL def for_tag(*tags) for_tags(tags) end def for_tags(tags) raise ArgumentError.new('#for_tags requires an Array argument') unless tags.is_a? Array specify Latches::ForTags.new(tags.map(&:to_s)) end def at_depth(depth) specify Latches::AtDepth.new...
<|file_sep|>original/lib/saxerator/dsl.rb module Saxerator module DSL def for_tag(tag) for_tags([tag]) end def for_tags(tags) raise ArgumentError.new('#for_tags requires an Array argument') unless tags.is_a? Array specify Latches::ForTags.new(tags.map(&:to_s)) end def at_depth(...
574abaef5d1284bd8d37a71447bb34ef422beee5
lib/saxerator/dsl.rb
lib/saxerator/dsl.rb
Ruby
<|file_sep|>troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js.diff original: updated: <|file_sep|>original/troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js render: function () { return ( <div> <div className="secondary-n...
render: function () { return ( <div> <div className="secondary-nav"> <div className="container"> <ul className="secondary-nav-links"> {this.renderRoute("Search", "search", "search", false)} {this.renderRoute("Favorites", "favor...
<|file_sep|>troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js.diff original: updated: <|file_sep|>original/troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js render: function () { return ( <div> <div className="secondary-n...
0ddb8c8558d63a9be3ccc1fd1820952719b8e40d
troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js
troposphere/static/js/components/images/common/SecondaryImageNavigation.react.js
JavaScript
<|file_sep|>original/.gitlab-ci.yml <|file_sep|>current/.gitlab-ci.yml <|file_sep|>updated/.gitlab-ci.yml
stages : - build build_linux : image: python:3.8 stage: build before_script: - pip install shiv script: - python build_collector.py artifacts: untracked: false expire_in: 30 days paths: ["./bin/cme", "./bin/cmedb"]
<|file_sep|>original/.gitlab-ci.yml <|file_sep|>current/.gitlab-ci.yml <|file_sep|>updated/.gitlab-ci.yml stages : - build build_linux : image: python:3.8 stage: build before_script: - pip install shiv script: - python build_collector.py artifacts: untracked: false expire_in: 30 days ...
89fe5b1e70a770a12968b4db1cfe14c7acb69520
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>plugins/virsh/provision_user.yml.diff original: name: "{{ inventory_hostname }}" updated: name: "{{ item }}" <|file_sep|>original/plugins/virsh/provision_user.yml user: name: "{{ provision.topology.username }}" state: present password: "{{ non_root_pw ...
name: "{{ provision.topology.username }}" state: present password: "{{ non_root_pw | password_hash('sha512') }}" - name: add user to sudoers lineinfile: dest: "/etc/sudoers" line: "{{ provision.topology.username }} ALL=(root) NOPASSWD:ALL" - name: Set up...
<|file_sep|>plugins/virsh/provision_user.yml.diff original: name: "{{ inventory_hostname }}" updated: name: "{{ item }}" <|file_sep|>original/plugins/virsh/provision_user.yml user: name: "{{ provision.topology.username }}" state: present password: "{{ non_root_pw ...
e725f2de0a633934f4de7c3823b01f8511268dd3
plugins/virsh/provision_user.yml
plugins/virsh/provision_user.yml
YAML
<|file_sep|>README.markdown.diff original: updated: Many of these gewgaws make use of the [yoob.js](http://catseye.tc/node/yoob.js) library. In these cases, the gewgaw will have its own `yoob` subdirectory with a snapshot of (the parts of) `yoob.js` that it uses, from the version of `yoob.js` that was current when it...
"Gewgaw" means exactly what it sounds like. But if you insist on a more specific description, think: small entertainments that are somewhere between automata, games, and art. (A corollary of this is that if something is a proper HTML5 game or automaton or whatever, it will probably have its own repo instead of being ...
<|file_sep|>README.markdown.diff original: updated: Many of these gewgaws make use of the [yoob.js](http://catseye.tc/node/yoob.js) library. In these cases, the gewgaw will have its own `yoob` subdirectory with a snapshot of (the parts of) `yoob.js` that it uses, from the version of `yoob.js` that was current when it...
42f0b613bbf531360e7ecec9baac1e4cdb71657b
README.markdown
README.markdown
Markdown
<|file_sep|>metadata/org.billthefarmer.diary.txt.diff original: updated: Build:1.03,103 commit=v1.03 gradle=yes <|file_sep|>original/metadata/org.billthefarmer.diary.txt Catalan and Spanish. Forked from [http://git.savannah.gnu.org/cgit/diary.git] Updated for android 4 and later. . Repo Type:git Repo:https:...
. Repo Type:git Repo:https://github.com/billthefarmer/diary Build:1.01,101 commit=v1.01 gradle=yes Build:1.02,102 commit=v1.02 gradle=yes Build:1.03,103 commit=v1.03 gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags Current Version:1.03 Current Version Code:103
<|file_sep|>metadata/org.billthefarmer.diary.txt.diff original: updated: Build:1.03,103 commit=v1.03 gradle=yes <|file_sep|>original/metadata/org.billthefarmer.diary.txt Catalan and Spanish. Forked from [http://git.savannah.gnu.org/cgit/diary.git] Updated for android 4 and later. . Repo Type:git Repo:https:...
211344c04ea66344bb32a62f570d3f2b13fb716e
metadata/org.billthefarmer.diary.txt
metadata/org.billthefarmer.diary.txt
Text
<|file_sep|>original/events/static/js/events.js $(function() { $('.gcal-control input[type=checkbox]').change(function() { target = $(this).val() if($(this).is(':checked')) { $(this).parent().removeClass('gcal-control-disabled') $('.event.'+target).slideDown() } else { $(this).parent().addClass('gcal-co...
$(function() { $('.gcal-control input[type=checkbox]').change(function() { target = $(this).val() if($(this).is(':checked')) { $(this).parent().removeClass('gcal-control-disabled') $('.event.'+target).slideDown() } else { $(this).parent().addClass('gcal-control-disabled') $('.event.'+target).slideUp(...
<|file_sep|>original/events/static/js/events.js $(function() { $('.gcal-control input[type=checkbox]').change(function() { target = $(this).val() if($(this).is(':checked')) { $(this).parent().removeClass('gcal-control-disabled') $('.event.'+target).slideDown() } else { $(this).parent().addClass('gcal-co...
1e0cf7db29e4e952c2ff8ba490d2a792f9992adc
events/static/js/events.js
events/static/js/events.js
JavaScript
<|file_sep|>original/README.md Random Data =========== This is a simple random data generator written in python. Example Usage: ```python from randomdata import generator generator = generator.Generator() # generate some random data random_string = generator.make_string(10) random_float = generator.make_float(2, 1...
Random Data =========== [![Build Status](https://secure.travis-ci.org/ryakad/randomdata.png)](http://travis-ci.org/ryakad/randomdata) This is a simple random data generator written in python. Example Usage: ```python from randomdata import generator generator = generator.Generator() # generate some random data ra...
<|file_sep|>original/README.md Random Data =========== This is a simple random data generator written in python. Example Usage: ```python from randomdata import generator generator = generator.Generator() # generate some random data random_string = generator.make_string(10) random_float = generator.make_float(2, 1...
5814c6fdddda3186fcfaa898499ae585f836c154
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "start": "mochify --watch", "lint": "jslint --color \"**/*.js\"", updated: "watch": "mochify --watch", "lint": "jslint --edition=latest --color \"**/*.js\"", <|file_sep|>package.json.diff original: "test": "npm run lint && echo '# node:' && mocha -R dot && moc...
"repository": { "type": "git", "url": "https://github.com/mantoni/hub.js.git" }, "dependencies": { "glob-filter": "^1.1", "async-glob-events": "^1.1", "inherits": "^2.0" }, "devDependencies": { "jslint": "^0.8", "mocha": "^2.0", "mochify": "^2.0", "bench": "^0.3", "sino...
<|file_sep|>package.json.diff original: "start": "mochify --watch", "lint": "jslint --color \"**/*.js\"", updated: "watch": "mochify --watch", "lint": "jslint --edition=latest --color \"**/*.js\"", <|file_sep|>package.json.diff original: "test": "npm run lint && echo '# node:' && mocha -R dot && moc...
f28300ca7ab01387e02938bd70742d436875e69e
package.json
package.json
JSON
<|file_sep|>original/phpunit.xml convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="true" syntaxCheck="false" > <testsuites> <testsuite name="default"> <directory>./tests</directory> </...
convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="true" syntaxCheck="false" > <testsuites> <testsuite name="default"> <directory>./tests</directory> </testsuite> </testsuites> ...
<|file_sep|>original/phpunit.xml convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="true" syntaxCheck="false" > <testsuites> <testsuite name="default"> <directory>./tests</directory> </...
54b225b1d2b0d36794e8f55560559c03240333e6
phpunit.xml
phpunit.xml
XML
<|file_sep|>original/app/assets/stylesheets/darkswarm/taxons.css.sass .fat-taxons @include csstrans display: inline-block line-height: 1 margin-right: 0.5rem margin-bottom: 0.35rem text-transform: uppercase font-weight: 300 font-size: 0.875rem background: rgba(225,225,225,0.5) color: #555 @includ...
.fat-taxons @include csstrans display: inline-block line-height: 1 margin-right: 0.5rem margin-bottom: 0.35rem text-transform: uppercase font-weight: 300 font-size: 0.875rem background: rgba(235,235,235,0.5) color: #555 @include border-radius(3px) padding: 0.25rem 0.5rem 0.35rem 0.35rem rende...
<|file_sep|>original/app/assets/stylesheets/darkswarm/taxons.css.sass .fat-taxons @include csstrans display: inline-block line-height: 1 margin-right: 0.5rem margin-bottom: 0.35rem text-transform: uppercase font-weight: 300 font-size: 0.875rem background: rgba(225,225,225,0.5) color: #555 @includ...
521030a8a54b8dc59f73f4ff1a86b73f4d74966c
app/assets/stylesheets/darkswarm/taxons.css.sass
app/assets/stylesheets/darkswarm/taxons.css.sass
Sass
<|file_sep|>app/views/appointments/booking_manager_cancellation.html.erb.diff original: <h1 style="color: #0B0C0C !important;font-family: Helvetica, Arial, sans-serif;margin: 15px 0;font-weight: 700;font-size: 20px;line-height: 1.111111111;padding: 15px 0;"> updated: <%= h2 do %> <|file_sep|>original/app/views/appointm...
<%= h2 do %> SMS Appointment Cancellation <% end %> <%= p do %> The customer cancelled their appointment by SMS. <% end %> <%= p do %> Appointment reference: <%= @appointment.reference %> <% end %> <%= p do %> Guider: <%= @appointment.guider_name %> <% end %> <%= p do %> <%= link_to 'View the appointment'...
<|file_sep|>app/views/appointments/booking_manager_cancellation.html.erb.diff original: <h1 style="color: #0B0C0C !important;font-family: Helvetica, Arial, sans-serif;margin: 15px 0;font-weight: 700;font-size: 20px;line-height: 1.111111111;padding: 15px 0;"> updated: <%= h2 do %> <|file_sep|>original/app/views/appointm...
818c91e34a6a87d113630034f7f743f037e6eb3b
app/views/appointments/booking_manager_cancellation.html.erb
app/views/appointments/booking_manager_cancellation.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml language: java jdk: openjdk7 script: - mvn verify - mvn clean compile assembly:single cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: openjdk7 script: - mvn verify - mvn clean compile assembly:single cache: directories: - $HOME/.m2 <|file_...
language: java jdk: openjdk7 script: - mvn verify - mvn clean compile assembly:single - ls -l target/ cache: directories: - $HOME/.m2
<|file_sep|>original/.travis.yml language: java jdk: openjdk7 script: - mvn verify - mvn clean compile assembly:single cache: directories: - $HOME/.m2 <|file_sep|>current/.travis.yml language: java jdk: openjdk7 script: - mvn verify - mvn clean compile assembly:single cache: directories: - $HOME/.m2 <|file_...
81dd127b05af6d179bf3afe58268a9fb4d0df5ad
.travis.yml
.travis.yml
YAML
<|file_sep|>images/k8s-cloud-builder/variants.yaml.diff original: KUBE_CROSS_VERSION: 'v1.15.10-1' updated: KUBE_CROSS_VERSION: 'v1.15.11-1' <|file_sep|>original/images/k8s-cloud-builder/variants.yaml variants: cross1.16: CONFIG: 'cross1.16' KUBE_CROSS_VERSION: 'v1.16.3-1' SKOPEO_VERSION: 'v1.2.0'...
variants: cross1.16: CONFIG: 'cross1.16' KUBE_CROSS_VERSION: 'v1.16.3-1' SKOPEO_VERSION: 'v1.2.0' cross1.15: CONFIG: 'cross1.15' KUBE_CROSS_VERSION: 'v1.15.11-1' SKOPEO_VERSION: 'v1.2.0' cross1.15-legacy: CONFIG: 'cross1.15-legacy' KUBE_CROSS_VERSION: 'v1.15.11-legacy-1' SKOPEO...
<|file_sep|>images/k8s-cloud-builder/variants.yaml.diff original: KUBE_CROSS_VERSION: 'v1.15.10-1' updated: KUBE_CROSS_VERSION: 'v1.15.11-1' <|file_sep|>original/images/k8s-cloud-builder/variants.yaml variants: cross1.16: CONFIG: 'cross1.16' KUBE_CROSS_VERSION: 'v1.16.3-1' SKOPEO_VERSION: 'v1.2.0'...
7c946d1454c16a4843bd5365a9c39a9726dce1ff
images/k8s-cloud-builder/variants.yaml
images/k8s-cloud-builder/variants.yaml
YAML
<|file_sep|>original/docs/dummy.rst DummyApi ======== API --- .. autojs:: ../lib/dummy/api.js .. autojs:: ../lib/http/dummy.js .. autojs:: ../lib/contacts/dummy.js Under the Hood -------------- .. autojs:: ../lib/dummy/resources.js <|file_sep|>current/docs/dummy.rst DummyApi ======== API --- .. autojs:: ../lib/d...
DummyApi ======== API --- .. autojs:: ../lib/dummy/api.js .. autojs:: ../lib/log/dummy.js .. autojs:: ../lib/http/dummy.js .. autojs:: ../lib/contacts/dummy.js Under the Hood -------------- .. autojs:: ../lib/dummy/resources.js
<|file_sep|>original/docs/dummy.rst DummyApi ======== API --- .. autojs:: ../lib/dummy/api.js .. autojs:: ../lib/http/dummy.js .. autojs:: ../lib/contacts/dummy.js Under the Hood -------------- .. autojs:: ../lib/dummy/resources.js <|file_sep|>current/docs/dummy.rst DummyApi ======== API --- .. autojs:: ../lib/d...
b196ac707a5af8e84b046d9b77d950c4d5e21e7f
docs/dummy.rst
docs/dummy.rst
reStructuredText
<|file_sep|>original/features/step_definitions/wire_steps.rb end Given /^the wire server takes (.*) seconds to respond to the invoke message$/ do |timeout| @server.delay_response(:invoke, timeout.to_f) start_wire_server end module WireHelper def start_wire_server @wire_pid = fork do @server.run en...
end Given /^the wire server takes (.*) seconds to respond to the invoke message$/ do |timeout| @server.delay_response(:invoke, timeout.to_f) start_wire_server end module WireHelper def start_wire_server @wire_pid = fork do at_exit { stop_wire_server } @server.run end end def stop_wire...
<|file_sep|>original/features/step_definitions/wire_steps.rb end Given /^the wire server takes (.*) seconds to respond to the invoke message$/ do |timeout| @server.delay_response(:invoke, timeout.to_f) start_wire_server end module WireHelper def start_wire_server @wire_pid = fork do @server.run en...
224bbd343a9e2d60bebe1de865c97c0157b1607b
features/step_definitions/wire_steps.rb
features/step_definitions/wire_steps.rb
Ruby
<|file_sep|>original/rts/rts-options.js /** * @define {boolean} HS_DEBUG is like goog.DEBUG, but for ghcjs internals */ var HS_DEBUG = true; /** * @define {boolean} enable weak pointers and finalizers */ var HS_WEAKS = true; /** * @define {boolean} enable traceLog in the run loop */ var HS_TRACE = true; /** *...
/** * @define {boolean} HS_DEBUG is like goog.DEBUG, but for ghcjs internals */ var HS_DEBUG = true; /** * @define {boolean} enable weak pointers and finalizers */ var HS_WEAKS = false; /** * @define {boolean} enable traceLog in the run loop */ var HS_TRACE = true; /** * @define {boolean} enable tracing in hs...
<|file_sep|>original/rts/rts-options.js /** * @define {boolean} HS_DEBUG is like goog.DEBUG, but for ghcjs internals */ var HS_DEBUG = true; /** * @define {boolean} enable weak pointers and finalizers */ var HS_WEAKS = true; /** * @define {boolean} enable traceLog in the run loop */ var HS_TRACE = true; /** *...
c1051c0804e2ec40d6d42b0cd1532ad328d81dc5
rts/rts-options.js
rts/rts-options.js
JavaScript
<|file_sep|>original/windows-install/win64/pack_github.bat cd build md output copy *.exe output copy "c:\vcpkg\installed\x64-windows\bin\sqlite3.dll" output cd output windeployqt codequery.exe dir/b/a/s candle.exe -ext WixUIExtension -ext WixUtilExtension "..\..\windows-install\win64\codequery64.wxs" light.exe -ext Wix...
set PATH=%PATH%;"%WIX%\bin" cd build md output copy *.exe output copy "c:\vcpkg\installed\x64-windows\bin\sqlite3.dll" output cd output windeployqt codequery.exe dir/b/a/s candle.exe -ext WixUIExtension -ext WixUtilExtension "..\..\windows-install\win64\codequery64.wxs" light.exe -ext WixUIExtension -ext WixUtilExtensi...
<|file_sep|>original/windows-install/win64/pack_github.bat cd build md output copy *.exe output copy "c:\vcpkg\installed\x64-windows\bin\sqlite3.dll" output cd output windeployqt codequery.exe dir/b/a/s candle.exe -ext WixUIExtension -ext WixUtilExtension "..\..\windows-install\win64\codequery64.wxs" light.exe -ext Wix...
9d815c1e2acfb957d7a68d5c1956aab4150bc0c8
windows-install/win64/pack_github.bat
windows-install/win64/pack_github.bat
Batchfile
<|file_sep|>original/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt <|file_sep|>current/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt <|file_sep|>updated/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt
package org.wordpress.aztec.plugins.html2visual import android.text.Editable /** * An interface for HTML content processing plugins. Plugin implementing this interface will be responsible for handling * the entire content of an element, as it will not be parsed. */ interface IHtmlContentHandler { fun canHandle...
<|file_sep|>original/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt <|file_sep|>current/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt <|file_sep|>updated/aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt pa...
0142bff6131f1d9ce6d4506e41c43564ee3619e2
aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt
aztec/src/main/kotlin/org/wordpress/aztec/plugins/html2visual/IHtmlContentHandler.kt
Kotlin
<|file_sep|>lib/logger.js.diff original: console.log( level + ':', util.format.apply( this, [msg].concat([].slice.call(arguments, 1)))); updated: if (!exports.disabled) { console.log( level + ':', util.fo...
if (!exports.disabled) { console.log( level + ':', util.format.apply( this, [msg].concat([].slice.call(arguments, 1)))); } }; }); exports.disabled = false; exports.wrap = function(getPrefix, func) { if (typeof ...
<|file_sep|>lib/logger.js.diff original: console.log( level + ':', util.format.apply( this, [msg].concat([].slice.call(arguments, 1)))); updated: if (!exports.disabled) { console.log( level + ':', util.fo...
620f3cdaab7158d0430dd00c2a8b2adadabb7ea9
lib/logger.js
lib/logger.js
JavaScript
<|file_sep|>original/README.md # node Let's make a peer to peer email system! What could possibly go wrong? Not related to node.js at all. <|file_sep|>current/README.md # node Let's make a peer to peer email system! What could possibly go wrong? Not related to node.js at all. <|file_sep|>updated/README.md
# node Let's make a peer to peer email system! What could possibly go wrong? Not related to node.js at all. The test files are not included by default. You must have GPG installed. Run the mktest.sh script to generate the test files.
<|file_sep|>original/README.md # node Let's make a peer to peer email system! What could possibly go wrong? Not related to node.js at all. <|file_sep|>current/README.md # node Let's make a peer to peer email system! What could possibly go wrong? Not related to node.js at all. <|file_sep|>updated/README.md # node Let'...
85021787af03a89a8f4d57485c8f5b639affca09
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/deploy.yml env: REGISTRY: registry.digitalocean.com NAME: ghost/gscan steps: - uses: actions/checkout@v2 - name: Get version run: echo "IMAGE_VERSION=$(git describe --tags)" >> $GITHUB_ENV - name: Publish to DigitalOcean Registry ...
env: REGISTRY: registry.digitalocean.com NAME: ghost/gscan steps: - uses: actions/checkout@v2 - name: Get version run: echo "IMAGE_VERSION=$(git describe --tags)" >> $GITHUB_ENV - name: Publish to DigitalOcean Registry uses: elgohr/Publish-Docker-Github-Action@3.0...
<|file_sep|>original/.github/workflows/deploy.yml env: REGISTRY: registry.digitalocean.com NAME: ghost/gscan steps: - uses: actions/checkout@v2 - name: Get version run: echo "IMAGE_VERSION=$(git describe --tags)" >> $GITHUB_ENV - name: Publish to DigitalOcean Registry ...
5f02e00299d8033947222d3cfacf069e5c24d1f0
.github/workflows/deploy.yml
.github/workflows/deploy.yml
YAML
<|file_sep|>original/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java <|file_sep|>current/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java <|file_sep|>updated/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java
package de.eightbitboy.hijacr.data; /** * A helper class for working with the ComicDatabse class. */ public class ComicDatabaseHelper { //TODO implement queries }
<|file_sep|>original/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java <|file_sep|>current/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java <|file_sep|>updated/app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java package de.eightbitboy.hijacr.data; /** * A h...
44254ca3f3a61b11861804ef7a12e18fcabd042e
app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java
app/src/main/java/de/eightbitboy/hijacr/data/ComicDatabaseHelper.java
Java
<|file_sep|>plugin/mimetypes.xml.diff original: <comment>Cargo build configuration file</comment> updated: <comment>Cargo manifest file</comment> <|file_sep|>plugin/mimetypes.xml.diff original: <comment>Cargo build lock file</comment> updated: <comment>Cargo lock file</comment> <|file_se...
<glob pattern="*.toml"/> </mime-type> <mime-type type="text/x-cargo.toml"> <sub-class-of type="text/x-toml"/> <comment>Cargo manifest file</comment> <glob pattern="Cargo.toml"/> </mime-type> <mime-type type="text/x-cargo.lock"> <sub-class-of type="text/x-toml"/> ...
<|file_sep|>plugin/mimetypes.xml.diff original: <comment>Cargo build configuration file</comment> updated: <comment>Cargo manifest file</comment> <|file_sep|>plugin/mimetypes.xml.diff original: <comment>Cargo build lock file</comment> updated: <comment>Cargo lock file</comment> <|file_se...
1be94ba3da3968013092aa7aa02688729b9626ba
plugin/mimetypes.xml
plugin/mimetypes.xml
XML
<|file_sep|>apps/celo_core/src/celo_core_utilities.erl.diff original: home_dir/0 updated: home_dir/0, hex_to_binary/1, binary_to_hex/1 <|file_sep|>original/apps/celo_core/src/celo_core_utilities.erl %%% ---------------------------------------------------------------------------- -mod...
-spec home_dir() -> file:filename(). home_dir() -> case os:getenv("HOME") of false -> []; Homedir -> Homedir end. %% @doc Convert hex to binary. -spec hex_to_binary(Data :: binary()) -> binary(); (Data :: string()) -> binary(). hex_to_binary([A, B | ...
<|file_sep|>apps/celo_core/src/celo_core_utilities.erl.diff original: home_dir/0 updated: home_dir/0, hex_to_binary/1, binary_to_hex/1 <|file_sep|>original/apps/celo_core/src/celo_core_utilities.erl %%% ---------------------------------------------------------------------------- -mod...
24f5943ddc1bb40615c0577107b7ef9d35a9ceb1
apps/celo_core/src/celo_core_utilities.erl
apps/celo_core/src/celo_core_utilities.erl
Erlang
<|file_sep|>original/mac/filetypes/open_STAK.js define(['mac/roman'], function(macRoman) { 'use strict'; function open(item) { function onBlock(item, byteSource) { return byteSource.slice(0, 8).getBytes().then(function(headerBytes) { var length = new DataView(headerBytes.buffer, headerBytes.by...
define(['itemObjectModel', 'mac/roman'], function(itemOM, macRoman) { 'use strict'; function open(item) { function onBlock(item, byteSource) { return byteSource.slice(0, 8).getBytes().then(function(headerBytes) { var length = new DataView(headerBytes.buffer, headerBytes.byteOffset, 4).getUint3...
<|file_sep|>original/mac/filetypes/open_STAK.js define(['mac/roman'], function(macRoman) { 'use strict'; function open(item) { function onBlock(item, byteSource) { return byteSource.slice(0, 8).getBytes().then(function(headerBytes) { var length = new DataView(headerBytes.buffer, headerBytes.by...
6a52e3e3de602aa1c00e5be52a71317d4888d2b0
mac/filetypes/open_STAK.js
mac/filetypes/open_STAK.js
JavaScript