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/source/_video-part.html.haml .video-part %h4= part.title %ul.fa-ul - data.training_videos["part-#{part.number}"].each do |key, video| %li %i.fa-li.fa.fa-play-circle-o = link_to video.title.to_s, "/training/videos/part-#{part.number}/#{key}" <|file_sep|>curre...
.video-part{ id: "part-#{part.number}" } %h4= part.title %ul.fa-ul - data.training_videos["part-#{part.number}"].each do |key, video| %li %i.fa-li.fa.fa-play-circle-o = link_to video.title.to_s, "/training/videos/part-#{part.number}/#{key}"
<|file_sep|>original/source/_video-part.html.haml .video-part %h4= part.title %ul.fa-ul - data.training_videos["part-#{part.number}"].each do |key, video| %li %i.fa-li.fa.fa-play-circle-o = link_to video.title.to_s, "/training/videos/part-#{part.number}/#{key}" <|file_sep|>curre...
cfd37abd156f9b9ec7f35a7261692ed659da3ad3
source/_video-part.html.haml
source/_video-part.html.haml
Haml
<|file_sep|>original/advanced/neo4j-manual.txt The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: 1.2-1.2 :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation ==========...
The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: snapshot :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation ======================= //// [partintro] //// :leveloffs...
<|file_sep|>original/advanced/neo4j-manual.txt The Neo4j Manual v{revnumber} ============================= :neo4j-version: {revnumber} :neo4j-index-version: 1.2-1.2 :neo4j-shell-version: snapshot include::introduction/introduction.txt[] :leveloffset: 0 [[reference-documentation]] Reference Documentation ==========...
d2eeed82ae6f0a34bb73fcbe7dc3e276a6f007ed
advanced/neo4j-manual.txt
advanced/neo4j-manual.txt
Text
<|file_sep|>original/.appveyor_windows_sdk.cmd <|file_sep|>current/.appveyor_windows_sdk.cmd <|file_sep|>updated/.appveyor_windows_sdk.cmd
:: To build extensions for 64 bit Python 3, we need to configure environment :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of: :: MS Windows SDK for Windows 7 and .NET Framework 4 (SDK v7.1) :: :: To build extensions for 64 bit Python 2, we need to configure environment :: variables to use the...
<|file_sep|>original/.appveyor_windows_sdk.cmd <|file_sep|>current/.appveyor_windows_sdk.cmd <|file_sep|>updated/.appveyor_windows_sdk.cmd :: To build extensions for 64 bit Python 3, we need to configure environment :: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of: :: MS Windows SDK for Wind...
d773ba482719fb74425a0676aad9f1e17b6566c0
.appveyor_windows_sdk.cmd
.appveyor_windows_sdk.cmd
Batchfile
<|file_sep|>original/.dotfiles/cron/pod_repo_update.sh #!/bin/bash -e #------------------------------------------------------------------------------- # # cron/pod_repo_update.sh # Updates all CocoaPods spec repos # #------------------------------------------------------------------------------- . $HOME/.dotfiles/cron...
#!/bin/bash -e #------------------------------------------------------------------------------- # # cron/pod_repo_update.sh # Updates all CocoaPods spec repos # #------------------------------------------------------------------------------- . $HOME/.dotfiles/cron/cron.env bundle install --quiet bundle exec pod repo ...
<|file_sep|>original/.dotfiles/cron/pod_repo_update.sh #!/bin/bash -e #------------------------------------------------------------------------------- # # cron/pod_repo_update.sh # Updates all CocoaPods spec repos # #------------------------------------------------------------------------------- . $HOME/.dotfiles/cron...
a5c5b3f15cbe3fe5f5dfae8d41b74e426fd1677d
.dotfiles/cron/pod_repo_update.sh
.dotfiles/cron/pod_repo_update.sh
Shell
<|file_sep|>original/_posts/2016-2-22-Webpack-Dev-Server.md --- layout: post title: "Boost your JavaScript Development with Webpack" --- ## Comming soon <|file_sep|>current/_posts/2016-2-22-Webpack-Dev-Server.md --- layout: post title: "Boost your JavaScript Development with Webpack" --- ## Comming soon <|file_sep|>u...
--- layout: post title: "Boost your JavaScript Development with Webpack" published: true --- ## Comming soon
<|file_sep|>original/_posts/2016-2-22-Webpack-Dev-Server.md --- layout: post title: "Boost your JavaScript Development with Webpack" --- ## Comming soon <|file_sep|>current/_posts/2016-2-22-Webpack-Dev-Server.md --- layout: post title: "Boost your JavaScript Development with Webpack" --- ## Comming soon <|file_sep|>u...
f43b47151c4e98627a0e79ae23e0d53984872beb
_posts/2016-2-22-Webpack-Dev-Server.md
_posts/2016-2-22-Webpack-Dev-Server.md
Markdown
<|file_sep|>original/src/AppBundle/Controller/BiomConversionServerController.php <|file_sep|>current/src/AppBundle/Controller/BiomConversionServerController.php <|file_sep|>updated/src/AppBundle/Controller/BiomConversionServerController.php
<?php namespace AppBundle\Controller; use biomcs\BiomCS; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\Config\Definition\Exception\Exception; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Annotation\Rout...
<|file_sep|>original/src/AppBundle/Controller/BiomConversionServerController.php <|file_sep|>current/src/AppBundle/Controller/BiomConversionServerController.php <|file_sep|>updated/src/AppBundle/Controller/BiomConversionServerController.php <?php namespace AppBundle\Controller; use biomcs\BiomCS; use Symfony\Bundle...
580b4c876aff3298ed08f84fa9df89704a5503b4
src/AppBundle/Controller/BiomConversionServerController.php
src/AppBundle/Controller/BiomConversionServerController.php
PHP
<|file_sep|>original/bower.json { "name": "d2l-date-picker", "description": "A Date Picker for D2L Brightspace", "main": "d2l-date-picker.html", "dependencies": { "polymer": "Polymer/polymer#^1.9.0", "d2l-time-picker": "BrightspaceUI/time-picker#^0.3.0", "vaadin-date-picker": "~1.2.3", "d2l-colo...
{ "name": "d2l-date-picker", "description": "A Date Picker for D2L Brightspace", "main": "d2l-date-picker.html", "dependencies": { "polymer": "Polymer/polymer#^1.9.0", "d2l-time-picker": "BrightspaceUI/time-picker#^0.3.0", "vaadin-date-picker": "~1.2.3", "d2l-colors": "^2.4.0", "d2l-intl": "...
<|file_sep|>original/bower.json { "name": "d2l-date-picker", "description": "A Date Picker for D2L Brightspace", "main": "d2l-date-picker.html", "dependencies": { "polymer": "Polymer/polymer#^1.9.0", "d2l-time-picker": "BrightspaceUI/time-picker#^0.3.0", "vaadin-date-picker": "~1.2.3", "d2l-colo...
a7b8798b67d081d4ed14217088e6647a2b6e592b
bower.json
bower.json
JSON
<|file_sep|>original/source/_posts/Risk-Management-for-CI-CD-processes.md <|file_sep|>current/source/_posts/Risk-Management-for-CI-CD-processes.md <|file_sep|>updated/source/_posts/Risk-Management-for-CI-CD-processes.md
--- title: Risk Management for CI/CD processes date: 2020-10-26 16:55:13 tags: --- Consider a full development and deployment cycle, and the potential risks involved during the different stages in CDP (CI / Continuous Integration, CD / Continuous Delivery, CDP / Continuous Deployment): * Code | Role | Deta...
<|file_sep|>original/source/_posts/Risk-Management-for-CI-CD-processes.md <|file_sep|>current/source/_posts/Risk-Management-for-CI-CD-processes.md <|file_sep|>updated/source/_posts/Risk-Management-for-CI-CD-processes.md --- title: Risk Management for CI/CD processes date: 2020-10-26 16:55:13 tags: --- Consider a ful...
a2f274a7854aa9cf406a576f20393e38613710e4
source/_posts/Risk-Management-for-CI-CD-processes.md
source/_posts/Risk-Management-for-CI-CD-processes.md
Markdown
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc branches: only: - master notifications: recipients: - wiking@jol.hu email: on_success: change on_failure: alwaye before_install: - sudo apt-get update -qq - sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-d...
language: cpp compiler: - gcc branches: only: - master notifications: recipients: - wiking@jol.hu email: on_success: change on_failure: alwaye before_install: - sudo apt-get update -qq - sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-dev libblas-dev libglpk-dev libhdf...
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc branches: only: - master notifications: recipients: - wiking@jol.hu email: on_success: change on_failure: alwaye before_install: - sudo apt-get update -qq - sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-d...
89120f522989fb7e31b55b5d8e3acd8c9a1ea6dc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements.txt python-dateutil~=2.8.0 requests~=2.23.0 python-slugify~=4.0.0 testtools==2.4.0 <|file_sep|>current/requirements.txt python-dateutil~=2.8.0 requests~=2.23.0 python-slugify~=4.0.0 testtools==2.4.0 <|file_sep|>updated/requirements.txt
python-dateutil~=2.8.1 requests~=2.23.0 python-slugify~=4.0.0 testtools==2.4.0
<|file_sep|>original/requirements.txt python-dateutil~=2.8.0 requests~=2.23.0 python-slugify~=4.0.0 testtools==2.4.0 <|file_sep|>current/requirements.txt python-dateutil~=2.8.0 requests~=2.23.0 python-slugify~=4.0.0 testtools==2.4.0 <|file_sep|>updated/requirements.txt python-dateutil~=2.8.1 requests~=2.23.0 python-slu...
e0ff5c484aba5da27adda90919c549cda3bbe6e6
requirements.txt
requirements.txt
Text
<|file_sep|>original/test/Driver/aarch64-ssbs.c <|file_sep|>current/test/Driver/aarch64-ssbs.c <|file_sep|>updated/test/Driver/aarch64-ssbs.c
// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs %s 2>&1 | FileCheck %s // CHECK: "-target-feature" "+ssbs" // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS // NOSSBS: "-target-feature" "-ssbs" // RUN: %clang -### -target aarch...
<|file_sep|>original/test/Driver/aarch64-ssbs.c <|file_sep|>current/test/Driver/aarch64-ssbs.c <|file_sep|>updated/test/Driver/aarch64-ssbs.c // RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs %s 2>&1 | FileCheck %s // CHECK: "-target-feature" "+ssbs" // RUN: %clang -### -target aarch64-none-non...
74a1e19dc9d9b5f1e4275745a384f594922c4ac9
test/Driver/aarch64-ssbs.c
test/Driver/aarch64-ssbs.c
C
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.0 pyaudio==0.2.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3...
pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.1 pyaudio==0.2.11
<|file_sep|>original/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3 flake8==3.5.0 tox==2.9.1 coverage==4.4.2 Sphinx==1.6.5 cryptography==2.1.4 PyYAML==3.12 pytest==3.3.0 pyaudio==0.2.11 <|file_sep|>current/requirements_dev.txt pip==9.0.1 bumpversion==0.5.3 wheel==0.30.0 watchdog==0.8.3...
f8e06397f665351b405c7722c1b91a29b4cb2c00
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/database/schemas/message.js module.exports = (db, Sequelize) => { const Message = db.define('message', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, title: Sequelize.STRING, body: Sequelize.TEXT, }); return Message; }; <|file_sep...
module.exports = (db, Sequelize) => { const Message = db.define('message', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, title: Sequelize.STRING, body: Sequelize.TEXT, isDeleted: Sequelize.BOOLEAN, }); return Message; };
<|file_sep|>original/database/schemas/message.js module.exports = (db, Sequelize) => { const Message = db.define('message', { id: { type: Sequelize.INTEGER, autoIncrement: true, primaryKey: true, }, title: Sequelize.STRING, body: Sequelize.TEXT, }); return Message; }; <|file_sep...
430085e73ce36b1ab14704a97c6ca9d935114227
database/schemas/message.js
database/schemas/message.js
JavaScript
<|file_sep|>src/test/java/guitests/ViewCommandTest.java.diff original: updated: import seedu.address.logic.commands.ViewCommand; <|file_sep|>src/test/java/guitests/ViewCommandTest.java.diff original: updated: assertResultMessage(String.format(ViewCommand.MESSAGE_SUCCESS, "Calendar")); <|file_sep|>original/sr...
public void viewCalendar() { commandBox.runCommand("view calendar"); assertGroupsDisplay("Floating", "Overdue", "Today", "Tomorrow", "Future"); assertResultMessage(String.format(ViewCommand.MESSAGE_SUCCESS, "Calendar")); } @Test public void viewGroups() { commandBox.runC...
<|file_sep|>src/test/java/guitests/ViewCommandTest.java.diff original: updated: import seedu.address.logic.commands.ViewCommand; <|file_sep|>src/test/java/guitests/ViewCommandTest.java.diff original: updated: assertResultMessage(String.format(ViewCommand.MESSAGE_SUCCESS, "Calendar")); <|file_sep|>original/sr...
0ad05c76d2e40c71599aa46957affb9c03748c9a
src/test/java/guitests/ViewCommandTest.java
src/test/java/guitests/ViewCommandTest.java
Java
<|file_sep|>README.md.diff original: Compiler with C++11 support - Tested with GCC 4.9.0, Clang 3.4.1 and Visual Studio 2013.<sup>[1]</sup> OpenGL 3.3 or 4.0 - May or may not work on your card depending on the hardware, operating system and drivers. updated: Compiler with C++11 support - Tested with GCC 4.9.0 and C...
SomeGame ======== ## Dependencies: Compiler with C++11 support - Tested with GCC 4.9.0 and Clang 3.4.1, both 64-bit <sup>[1]</sup> OpenGL 4.4 or 3.3 - Verify with your video driver vendor SDL 2.0.3 - http://libsdl.org/ PhysFS 2.0.3 - http://icculus.org/physfs/ GLM 0.9.5 - http://glm.g-truc.net/ ### Depende...
<|file_sep|>README.md.diff original: Compiler with C++11 support - Tested with GCC 4.9.0, Clang 3.4.1 and Visual Studio 2013.<sup>[1]</sup> OpenGL 3.3 or 4.0 - May or may not work on your card depending on the hardware, operating system and drivers. updated: Compiler with C++11 support - Tested with GCC 4.9.0 and C...
227783dc40ee5d02cf6a0bcbc5ec0631d6464714
README.md
README.md
Markdown
<|file_sep|>original/grep.sh #!/usr/bin/env sh BASE_DIR=`dirname $0` find ${BASE_DIR} \( -iname .git -or -iname data -or -iname tools -or -iname build \) -prune -or -type f -exec grep -E -nH $* {} + <|file_sep|>current/grep.sh #!/usr/bin/env sh BASE_DIR=`dirname $0` find ${BASE_DIR} \( -iname .git -or -iname data -o...
#!/usr/bin/env sh BASE_DIR=`dirname $0` find ${BASE_DIR} \( -iname .git -or -iname data -or -iname tools -or -iname build \) -prune -or -type f -exec grep -E -nH "$@" {} +
<|file_sep|>original/grep.sh #!/usr/bin/env sh BASE_DIR=`dirname $0` find ${BASE_DIR} \( -iname .git -or -iname data -or -iname tools -or -iname build \) -prune -or -type f -exec grep -E -nH $* {} + <|file_sep|>current/grep.sh #!/usr/bin/env sh BASE_DIR=`dirname $0` find ${BASE_DIR} \( -iname .git -or -iname data -o...
ec4ec71f3bc2127ce6c8f81744db91de0e92fa9e
grep.sh
grep.sh
Shell
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==2.1.1 sphinx_rtd_theme==0.4.3 sphinxcontrib-svg2pdfconverter <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==2.1.1 sphinx_rtd_theme==0.4.3 sphinxcontrib-svg2pdfconverter <|file_sep|>updated/docs/requirements.txt
-r ../requirements.txt sphinx==2.1.2 sphinx_rtd_theme==0.4.3 sphinxcontrib-svg2pdfconverter
<|file_sep|>original/docs/requirements.txt -r ../requirements.txt sphinx==2.1.1 sphinx_rtd_theme==0.4.3 sphinxcontrib-svg2pdfconverter <|file_sep|>current/docs/requirements.txt -r ../requirements.txt sphinx==2.1.1 sphinx_rtd_theme==0.4.3 sphinxcontrib-svg2pdfconverter <|file_sep|>updated/docs/requirements.txt -r ../req...
49248beeb7ca1c00f71f18f43cdfdcd95f74312c
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>composer.json.diff original: "gregwar/captcha-bundle": ">=1.0", updated: "gregwar/captcha-bundle": "~1.1", <|file_sep|>original/composer.json "name": "Gabriel Bondaz", "email": "gabriel.bondaz@idci-consulting.fr", "homepage": "http://www.idci-consulting.fr...
"homepage": "http://www.idci-consulting.fr" } ], "require": { "php": "^5.3.2 || ^7.0", "symfony/framework-bundle": ">=2.3", "gregwar/captcha-bundle": "~1.1", "friendsofsymfony/rest-bundle": "~1.5", "jms/serializer-bundle": "^1.1" }, "require-de...
<|file_sep|>composer.json.diff original: "gregwar/captcha-bundle": ">=1.0", updated: "gregwar/captcha-bundle": "~1.1", <|file_sep|>original/composer.json "name": "Gabriel Bondaz", "email": "gabriel.bondaz@idci-consulting.fr", "homepage": "http://www.idci-consulting.fr...
dee8a8e7f3b576741bf20d39f5e58b7488483d43
composer.json
composer.json
JSON
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://dev.dukecon.org/nexus/content/groups/public/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip wrapperUrl=https://dev.dukecon.org/nexus/content/groups/public/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar <|file_sep|>c...
distributionUrl=https://dev.dukecon.org/nexus/content/groups/public/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip wrapperUrl=https://dev.dukecon.org/nexus/content/groups/public/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties distributionUrl=https://dev.dukecon.org/nexus/content/groups/public/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip wrapperUrl=https://dev.dukecon.org/nexus/content/groups/public/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar <|file_sep|>c...
855b0b29e2fce1266d54d9d16bbc682ec88ae16b
.mvn/wrapper/maven-wrapper.properties
.mvn/wrapper/maven-wrapper.properties
INI
<|file_sep|>original/opps/core/admin/channel.py <|file_sep|>current/opps/core/admin/channel.py <|file_sep|>updated/opps/core/admin/channel.py
# -*- coding: utf-8 -*- from datetime import datetime from django.contrib import admin from opps.core.models import Channel class ChannelAdmin(admin.ModelAdmin): prepopulated_fields = {"slug": ("name",)} admin.site.register(Channel, ChannelAdmin)
<|file_sep|>original/opps/core/admin/channel.py <|file_sep|>current/opps/core/admin/channel.py <|file_sep|>updated/opps/core/admin/channel.py # -*- coding: utf-8 -*- from datetime import datetime from django.contrib import admin from opps.core.models import Channel class ChannelAdmin(admin.ModelAdmin): prepopu...
85cf22ff02a7c4af576d6553ae721d174364e357
opps/core/admin/channel.py
opps/core/admin/channel.py
Python
<|file_sep|>irrverbs/config.go.diff original: import "code.google.com/p/gcfg" updated: import "gopkg.in/gcfg.v1" <|file_sep|>original/irrverbs/config.go package main import "code.google.com/p/gcfg" // Config is config type Config struct { Telegram struct { Token string Username string } } func getConfig() (...
package main import "gopkg.in/gcfg.v1" // Config is config type Config struct { Telegram struct { Token string Username string } } func getConfig() (Config, error) { var cfg Config err := gcfg.ReadFileInto(&cfg, "/tmp/config.cfg") return cfg, err }
<|file_sep|>irrverbs/config.go.diff original: import "code.google.com/p/gcfg" updated: import "gopkg.in/gcfg.v1" <|file_sep|>original/irrverbs/config.go package main import "code.google.com/p/gcfg" // Config is config type Config struct { Telegram struct { Token string Username string } } func getConfig() (...
330114d17efbaa3acf11c6bec6a114c14d660bb6
irrverbs/config.go
irrverbs/config.go
Go
<|file_sep|>original/docs/concourse_aws.md <|file_sep|>current/docs/concourse_aws.md <|file_sep|>updated/docs/concourse_aws.md
# Deploying Concourse This document will walk through deploying a concourse clustered install to AWS using `bbl` and `bosh`. ## Prerequisites * Install `bbl` CLI * Completed [BOSH installation to AWS](https://github.com/cloudfoundry/bosh-bootloader/blob/master/docs/getting-started-aws.md) * [Bosh v2 CLI](https://bos...
<|file_sep|>original/docs/concourse_aws.md <|file_sep|>current/docs/concourse_aws.md <|file_sep|>updated/docs/concourse_aws.md # Deploying Concourse This document will walk through deploying a concourse clustered install to AWS using `bbl` and `bosh`. ## Prerequisites * Install `bbl` CLI * Completed [BOSH installa...
0bae68b6f822578484418a34a0a2cb3c06655fd2
docs/concourse_aws.md
docs/concourse_aws.md
Markdown
<|file_sep|>original/.travis.yml language: csharp mono: none dotnet: 2.2.108 branches: only: - master install: - git fetch --unshallow script: - dotnet build -c Release - dotnet pack -c Release deploy: skip_cleanup: true provider: script script: dotnet nuget push **/Heroes.ReplayParser.*.nupkg --no-symbols...
language: csharp mono: none dotnet: 6.0.100 branches: only: - master install: - git fetch --unshallow script: - dotnet build -c Release - dotnet pack -c Release deploy: skip_cleanup: true provider: script script: dotnet nuget push **/Heroes.ReplayParser.*.nupkg --no-symbols true --api-key $NuGetApiKey --so...
<|file_sep|>original/.travis.yml language: csharp mono: none dotnet: 2.2.108 branches: only: - master install: - git fetch --unshallow script: - dotnet build -c Release - dotnet pack -c Release deploy: skip_cleanup: true provider: script script: dotnet nuget push **/Heroes.ReplayParser.*.nupkg --no-symbols...
187f8c338a7024fd107ee1bf2d170bb219e2c3a2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/_posts/2016-02-25-week2-appearances.md --- layout: post title: "Week 2: Appearances" date: 2016-01-20 20:25:14 -0500 categories: week --- This week will dive into CSS, looking at how to grab the different elements of our HTML and change their appearance. <|file_sep|>current/_posts/2016-02-25-we...
--- layout: post title: "Week 2: Appearances" date: 2016-01-20 20:25:14 -0500 categories: week --- This week we will dive into CSS, looking at how to grab the different elements of our HTML and change their appearance. Also we will go over some the details of dealing with layout in CSS and the quirks of each layout...
<|file_sep|>original/_posts/2016-02-25-week2-appearances.md --- layout: post title: "Week 2: Appearances" date: 2016-01-20 20:25:14 -0500 categories: week --- This week will dive into CSS, looking at how to grab the different elements of our HTML and change their appearance. <|file_sep|>current/_posts/2016-02-25-we...
78fd1e67c3dbfe1d41215d0ce25dc24063805180
_posts/2016-02-25-week2-appearances.md
_posts/2016-02-25-week2-appearances.md
Markdown
<|file_sep|>original/src/tinydm.cpp using namespace tinydm; int main(int argc, char **argv) { if (argc < 2) { std::cerr << "Usage: tinydm [threads]" << std::endl; return EXIT_FAILURE; } int threads = std::atoi(argv[1]); if (threads == 0) { std::cerr << "Invalid number of threads specified" << std...
using namespace tinydm; int main(int argc, char **argv) { if (argc < 2) { std::cerr << "Usage: tinydm [threads]" << std::endl; return EXIT_FAILURE; } int threads = std::atoi(argv[1]); if (threads <= 0) { std::cerr << "Invalid number of threads specified" << std::endl; return EXIT_FAILURE; }...
<|file_sep|>original/src/tinydm.cpp using namespace tinydm; int main(int argc, char **argv) { if (argc < 2) { std::cerr << "Usage: tinydm [threads]" << std::endl; return EXIT_FAILURE; } int threads = std::atoi(argv[1]); if (threads == 0) { std::cerr << "Invalid number of threads specified" << std...
ddb685a14f735ab4adfd6fadfd0e34372fe5fde0
src/tinydm.cpp
src/tinydm.cpp
C++
<|file_sep|>original/umap/templates/leaflet_storage/map_list.html {% load leaflet_storage_tags umap_tags i18n %} {% for map_inst in maps %} <div class="col _35"> {% map_fragment map_inst %} <div class="tintbox"><strong>{{ map_inst.name }}</strong>{% if map_inst.description %} — «{{ map_inst.description }}» {% ...
{% load leaflet_storage_tags umap_tags i18n %} {% for map_inst in maps %} <div class="col _35"> {% map_fragment map_inst %} <div class="tintbox"><strong>{{ map_inst.name }}</strong>{% if map_inst.description %} — «{{ map_inst.description }}» {% endif %}{% if map_inst.owner %} <em>{% trans "Cooked up by" %} <a ...
<|file_sep|>original/umap/templates/leaflet_storage/map_list.html {% load leaflet_storage_tags umap_tags i18n %} {% for map_inst in maps %} <div class="col _35"> {% map_fragment map_inst %} <div class="tintbox"><strong>{{ map_inst.name }}</strong>{% if map_inst.description %} — «{{ map_inst.description }}» {% ...
fdb9bd5e46dad340b68032c84a16ed169429669e
umap/templates/leaflet_storage/map_list.html
umap/templates/leaflet_storage/map_list.html
HTML
<|file_sep|>lib/psd/layer/info/sheet_color.rb.diff original: updated: # This is the color label for a group/layer. Not sure why Adobe # refers to it as the "Sheet Color". <|file_sep|>lib/psd/layer/info/sheet_color.rb.diff original: updated: COLORS = [ :no_color, :red, :orange, :yellow,...
:green, :blue, :violet, :gray ] def parse # Only the first entry is used, the rest are always 0. @data = [ @file.read_short, @file.read_short, @file.read_short, @file.read_short ] end def color COLORS[@data[0]] end e...
<|file_sep|>lib/psd/layer/info/sheet_color.rb.diff original: updated: # This is the color label for a group/layer. Not sure why Adobe # refers to it as the "Sheet Color". <|file_sep|>lib/psd/layer/info/sheet_color.rb.diff original: updated: COLORS = [ :no_color, :red, :orange, :yellow,...
4c656fa459751c968fc8aed6194ebc1a0fe0dc01
lib/psd/layer/info/sheet_color.rb
lib/psd/layer/info/sheet_color.rb
Ruby
<|file_sep|>original/src/app/components/msp/common/consent-modal/i18n/data/en/index.js module.exports = { title: 'Information collection notice', body: 'The information in this application is collected by the Ministry of Health under section 26(a) of the Freedom of Information and Protection of Privacy Act and will...
module.exports = { title: 'Information collection notice', body: '<p>The data you enter on this form is saved locally to the computer or device you are using. The data will be deleted when you close the web browser you are using or after your submit your application.</p><p>The information in this application is col...
<|file_sep|>original/src/app/components/msp/common/consent-modal/i18n/data/en/index.js module.exports = { title: 'Information collection notice', body: 'The information in this application is collected by the Ministry of Health under section 26(a) of the Freedom of Information and Protection of Privacy Act and will...
0f3369a02a6386d8bfb895de09faa9b1c168715d
src/app/components/msp/common/consent-modal/i18n/data/en/index.js
src/app/components/msp/common/consent-modal/i18n/data/en/index.js
JavaScript
<|file_sep|>plugin/IM/Avatar.qml.diff original: if(status == Image.Error) { updated: if (status == Image.Error) { <|file_sep|>original/plugin/IM/Avatar.qml id: avatarImage anchors.fill: avatarItem fillMode: Image.PreserveAspectFit visible: (source != ""? true :...
id: avatarImage anchors.fill: avatarItem fillMode: Image.PreserveAspectFit visible: (source != ""? true : false) onStatusChanged: { if (status == Image.Error) { avatarImage.visible = false; } else if (status == Image.Ready) { ...
<|file_sep|>plugin/IM/Avatar.qml.diff original: if(status == Image.Error) { updated: if (status == Image.Error) { <|file_sep|>original/plugin/IM/Avatar.qml id: avatarImage anchors.fill: avatarItem fillMode: Image.PreserveAspectFit visible: (source != ""? true :...
f03273f73684dd156cfb25e9ee8f056ee4d752fc
plugin/IM/Avatar.qml
plugin/IM/Avatar.qml
QML
<|file_sep|>original/src/base/UserData.js this.__$$userdata = {}; }, members : { setUserData : function(key, value) { if (core.Env.getValue("debug")) { if (!key) { throw new Error("Parameter key not set"); } if (!value) { throw new Error("Parameter value ...
this.__$$userdata = {}; }, members : { setUserData : function(key, value) { if (core.Env.getValue("debug")) { if (!key) { throw new Error("Parameter key not set"); } if (!value) { console.warn("Parameter value not set for key " + key); } } ...
<|file_sep|>original/src/base/UserData.js this.__$$userdata = {}; }, members : { setUserData : function(key, value) { if (core.Env.getValue("debug")) { if (!key) { throw new Error("Parameter key not set"); } if (!value) { throw new Error("Parameter value ...
22e488049a640d04cc5db19fec3043354ee335db
src/base/UserData.js
src/base/UserData.js
JavaScript
<|file_sep|>original/.github/workflows/deploy.yml - master tags: - latest - v* jobs: ghcr: strategy: fail-fast: false runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Fetch tags ...
- master tags: - latest - v* jobs: ghcr: strategy: fail-fast: false runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Fetch tags run: | git fetch --prune --tags ||: ...
<|file_sep|>original/.github/workflows/deploy.yml - master tags: - latest - v* jobs: ghcr: strategy: fail-fast: false runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Fetch tags ...
19daff305ef320dd3668cdb24e07d291daf96332
.github/workflows/deploy.yml
.github/workflows/deploy.yml
YAML
<|file_sep|>original/corehq/tests/noseplugins/uniformresult.py def uniform_description(test): if type(test).__name__ == "DocTestCase": return test._dt_test.name if isinstance(test, ModuleType): return test.__name__ if isinstance(test, type): return "%s:%s" % (test.__module__, test....
def uniform_description(test): if type(test).__name__ == "DocTestCase": return test._dt_test.name if isinstance(test, ModuleType): return test.__name__ if isinstance(test, type): return "%s:%s" % (test.__module__, test.__name__) if isinstance(test, FunctionTestCase): de...
<|file_sep|>original/corehq/tests/noseplugins/uniformresult.py def uniform_description(test): if type(test).__name__ == "DocTestCase": return test._dt_test.name if isinstance(test, ModuleType): return test.__name__ if isinstance(test, type): return "%s:%s" % (test.__module__, test....
6814bed9918640346e4a096c8f410a6fc2b5508e
corehq/tests/noseplugins/uniformresult.py
corehq/tests/noseplugins/uniformresult.py
Python
<|file_sep|>test/studies/filerator/direnthelp.h.diff original: updated: #ifndef __USE_FILE_OFFSET64 <|file_sep|>original/test/studies/filerator/direnthelp.h #include "dirent.h" typedef DIR* DIRptr; typedef struct dirent* direntptr; #define chpl_rt_direntptr_getname(x) ((x)->d_name) // // Note: This is not portable...
#include "dirent.h" typedef DIR* DIRptr; #ifndef __USE_FILE_OFFSET64 typedef struct dirent* direntptr; #else #ifdef __REDIRECT typedef struct dirent* direntptr; #else typedef struct dirent64* direntptr; #endif #endif #define chpl_rt_direntptr_getname(x) ((x)->d_name) // // Note: This is not portable; more generally...
<|file_sep|>test/studies/filerator/direnthelp.h.diff original: updated: #ifndef __USE_FILE_OFFSET64 <|file_sep|>original/test/studies/filerator/direnthelp.h #include "dirent.h" typedef DIR* DIRptr; typedef struct dirent* direntptr; #define chpl_rt_direntptr_getname(x) ((x)->d_name) // // Note: This is not portable...
4c22fc7c302ac0e6a26c7113bef5c6d23cc1625a
test/studies/filerator/direnthelp.h
test/studies/filerator/direnthelp.h
C
<|file_sep|>pkgs/development/python-modules/pyramid/default.nix.diff original: version = "2.0"; updated: version = "1.10.5"; <|file_sep|>original/pkgs/development/python-modules/pyramid/default.nix , zope_interface , isPy35 }: buildPythonPackage rec { pname = "pyramid"; version = "2.0"; src = fetchPypi { ...
, zope_interface , isPy35 }: buildPythonPackage rec { pname = "pyramid"; version = "1.10.5"; src = fetchPypi { inherit pname version; sha256 = "fe1bd1140e6b79fe07f0053981d49be2dc66656cc8b481dd7ffcaa872fc25467"; }; checkInputs = [ webtest zope_component ]; propagatedBuildInputs = [ hupper PasteDe...
<|file_sep|>pkgs/development/python-modules/pyramid/default.nix.diff original: version = "2.0"; updated: version = "1.10.5"; <|file_sep|>original/pkgs/development/python-modules/pyramid/default.nix , zope_interface , isPy35 }: buildPythonPackage rec { pname = "pyramid"; version = "2.0"; src = fetchPypi { ...
b4d83909f83b7ad2e58ded8f198769d20ed8912e
pkgs/development/python-modules/pyramid/default.nix
pkgs/development/python-modules/pyramid/default.nix
Nix
<|file_sep|>original/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java <|file_sep|>current/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java <|file_sep|>updated/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java
package com.github.aureliano.achmed.helper; public final class ApplicationHelper { private ApplicationHelper() { throw new InstantiationError(this.getClass().getName() + " cannot be instantiated."); } public static void printHelp() { String help = FileHelper.readResource("meta/help"); System.out.println(he...
<|file_sep|>original/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java <|file_sep|>current/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java <|file_sep|>updated/src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java package com.github.aureliano.achmed.helpe...
5940cd89137f40efe7fe68c041eae93109a8533c
src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java
src/main/java/com/github/aureliano/achmed/helper/ApplicationHelper.java
Java
<|file_sep|>original/app/classes/query/user.rb class Query::User < Query::Base def self.parameter_declarations super.merge( created_at?: [:time], updated_at?: [:time] ) end def initialize initialize_model_do_time(:created_at) initialize_model_do_time(:updated_at) end end <|file_sep|...
class Query::User < Query::Base def self.parameter_declarations super.merge( created_at?: [:time], updated_at?: [:time] ) end def initialize initialize_model_do_time(:created_at) initialize_model_do_time(:updated_at) end def default_order "name" end end
<|file_sep|>original/app/classes/query/user.rb class Query::User < Query::Base def self.parameter_declarations super.merge( created_at?: [:time], updated_at?: [:time] ) end def initialize initialize_model_do_time(:created_at) initialize_model_do_time(:updated_at) end end <|file_sep|...
4477648561bc29f8b59066b3e4a5d74b56e402e0
app/classes/query/user.rb
app/classes/query/user.rb
Ruby
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt #testing pytest==2.9.1 pytest-cov==2.2.1 webtest==2.0.20 httpretty==0.8.14 coveralls==1.1 mock==1.3.0 #wheel wheel==0.29.0 <|file_sep|>current/requirements-dev.txt # Runtime requirements --requirement requirements.txt #te...
# Runtime requirements --requirement requirements.txt #testing pytest==3.2.5 pytest-cov==2.2.1 webtest==2.0.20 httpretty==0.8.14 coveralls==1.1 mock==1.3.0 #wheel wheel==0.29.0
<|file_sep|>original/requirements-dev.txt # Runtime requirements --requirement requirements.txt #testing pytest==2.9.1 pytest-cov==2.2.1 webtest==2.0.20 httpretty==0.8.14 coveralls==1.1 mock==1.3.0 #wheel wheel==0.29.0 <|file_sep|>current/requirements-dev.txt # Runtime requirements --requirement requirements.txt #te...
e6e6e29c86d6f148e9d1fcc985524c7dc6d547a7
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>app/views/fields/has_many/_form.html.erb.diff original: <%= f.input_field field.attribute, as: :select, updated: <%= f.input_field field.attribute_key, as: :select, <|file_sep|>original/app/views/fields/has_many/_form.html.erb An instance of [Administrate::Field::HasMany][1]. Contains helper methods...
An instance of [Administrate::Field::HasMany][1]. Contains helper methods for displaying a collection select box. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/HasMany [Selectize]: http://brianreavis.github.io/selectize.js %> <div class="field-unit__label"> <%= f.label field.attribute %> </d...
<|file_sep|>app/views/fields/has_many/_form.html.erb.diff original: <%= f.input_field field.attribute, as: :select, updated: <%= f.input_field field.attribute_key, as: :select, <|file_sep|>original/app/views/fields/has_many/_form.html.erb An instance of [Administrate::Field::HasMany][1]. Contains helper methods...
cf3ef43051cc2b8004c92836372b24ad4e44e7ee
app/views/fields/has_many/_form.html.erb
app/views/fields/has_many/_form.html.erb
HTML+ERB
<|file_sep|>original/spec/atom_style_tweaks_web/markdown_engine_spec.exs <|file_sep|>current/spec/atom_style_tweaks_web/markdown_engine_spec.exs <|file_sep|>updated/spec/atom_style_tweaks_web/markdown_engine_spec.exs
defmodule AtomStyleTweaksWeb.MarkdownEngine.Spec do use ESpec.Phoenix, async: true alias AtomStyleTweaksWeb.MarkdownEngine def bad_func(_, _) do raise "bummer" end def github(match, _) do if match =~ ~r/@github/ || match =~ ~r/@both/ do "github-replacement" end end def tweaks(match, ...
<|file_sep|>original/spec/atom_style_tweaks_web/markdown_engine_spec.exs <|file_sep|>current/spec/atom_style_tweaks_web/markdown_engine_spec.exs <|file_sep|>updated/spec/atom_style_tweaks_web/markdown_engine_spec.exs defmodule AtomStyleTweaksWeb.MarkdownEngine.Spec do use ESpec.Phoenix, async: true alias AtomSty...
ff1a8cc32ebfa03f6ec383d9739213ad496699ae
spec/atom_style_tweaks_web/markdown_engine_spec.exs
spec/atom_style_tweaks_web/markdown_engine_spec.exs
Elixir
<|file_sep|>original/web/roles/web/tasks/nginx.yml --- - name: Install Nginx apt: name: "{{ item }}" with_items: - nginx - nginx-doc - name: Set firewall rule for HTTP and HTTPS lineinfile: dest: /etc/shorewall/rules line: "ACCEPT net $FW tcp {{ item }}" with_items: - 80 - 443 no...
--- - name: Install Nginx apt: name: "{{ item }}" default_release: jessie-backports with_items: - nginx - nginx-doc - name: Set firewall rule for HTTP and HTTPS lineinfile: dest: /etc/shorewall/rules line: "ACCEPT net $FW tcp {{ item }}" with_items: - 80 - 443 notify: - R...
<|file_sep|>original/web/roles/web/tasks/nginx.yml --- - name: Install Nginx apt: name: "{{ item }}" with_items: - nginx - nginx-doc - name: Set firewall rule for HTTP and HTTPS lineinfile: dest: /etc/shorewall/rules line: "ACCEPT net $FW tcp {{ item }}" with_items: - 80 - 443 no...
3e044028100b8c410d460c8be3e489170ba75580
web/roles/web/tasks/nginx.yml
web/roles/web/tasks/nginx.yml
YAML
<|file_sep|>original/app/assets/javascripts/lib/models/gquery.coffee class @Gquery extends Backbone.Model initialize : -> window.gqueries.add(this) @references = 1 future_value: -> @get('future') present_value: -> @get 'present' safe_present_value: => x = @present_value() # if @get('key') == '...
class @Gquery extends Backbone.Model initialize : -> window.gqueries.add(this) @references = 1 future_value: -> @get('future') present_value: -> @get 'present' safe_present_value: => x = @present_value() if @is_acceptable_value(x) then x else 0 safe_future_value: => x = @future_value() ...
<|file_sep|>original/app/assets/javascripts/lib/models/gquery.coffee class @Gquery extends Backbone.Model initialize : -> window.gqueries.add(this) @references = 1 future_value: -> @get('future') present_value: -> @get 'present' safe_present_value: => x = @present_value() # if @get('key') == '...
352ec1ebbeb0f9e96e72ce7ae50c67b2e935aab6
app/assets/javascripts/lib/models/gquery.coffee
app/assets/javascripts/lib/models/gquery.coffee
CoffeeScript
<|file_sep|>original/app/src/controllers/wallet/pairing/wallet_pairing_progress_dialog_view_controller.coffee contentContainer: "#content_container" onAfterRender: -> super # launch request @_request = @params.request @_request?.onComplete (screen, error) => @_request = null if screen...
contentContainer: "#content_container" onAfterRender: -> super # launch request @_request = @params.request @_request?.onComplete (screen, error) => @_request = null @dismiss () => if screen? dialog = new CommonDialogsMessageDialogViewController(kind: "success", titl...
<|file_sep|>original/app/src/controllers/wallet/pairing/wallet_pairing_progress_dialog_view_controller.coffee contentContainer: "#content_container" onAfterRender: -> super # launch request @_request = @params.request @_request?.onComplete (screen, error) => @_request = null if screen...
13662ca329348098106a051468e0051c7af49835
app/src/controllers/wallet/pairing/wallet_pairing_progress_dialog_view_controller.coffee
app/src/controllers/wallet/pairing/wallet_pairing_progress_dialog_view_controller.coffee
CoffeeScript
<|file_sep|>original/requirements.txt # requirements.txt used for concrete testing environment. # # install_requires in setup.py gives the abstract requirements # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7'...
# requirements.txt used for concrete testing environment. # # install_requires in setup.py gives the abstract requirements # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7' # pyup: ignore numpy==1.17.0; pytho...
<|file_sep|>original/requirements.txt # requirements.txt used for concrete testing environment. # # install_requires in setup.py gives the abstract requirements # used by 'pip install' and 'setup.py install' to install # cxroots as a library. # scipy==1.3.1; python_version > '2.7' scipy==1.2.1; python_version <= '2.7'...
bd25ec1ad73161d4a9db041a8dcd11935a2291a2
requirements.txt
requirements.txt
Text
<|file_sep|>STYLE_GUIDE.md.diff original: updated: * https://github.com/styleguide/ruby <|file_sep|>original/STYLE_GUIDE.md ## Style Follow the GitHub Style guide as much as possible. 1. Avoid commits with trailing or extraneous whitespace. 2. Files should end with a newline. 3. Wrap long lines to ~80 characters. ...
## Style Follow the GitHub Style guide as much as possible. * https://github.com/styleguide/ruby 1. Avoid commits with trailing or extraneous whitespace. 2. Files should end with a newline. 3. Wrap long lines to ~80 characters. This makes editing on a laptop or in a tmux session easier. 4. Use spaces for indenti...
<|file_sep|>STYLE_GUIDE.md.diff original: updated: * https://github.com/styleguide/ruby <|file_sep|>original/STYLE_GUIDE.md ## Style Follow the GitHub Style guide as much as possible. 1. Avoid commits with trailing or extraneous whitespace. 2. Files should end with a newline. 3. Wrap long lines to ~80 characters. ...
894e7ce6f4bdd6595f0bcce1ae22086467b46dcd
STYLE_GUIDE.md
STYLE_GUIDE.md
Markdown
<|file_sep|>original/health/health-services-client/src/main/AndroidManifest.xml You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ...
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licen...
<|file_sep|>original/health/health-services-client/src/main/AndroidManifest.xml You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ...
b06f523a235a31435aec581399c20f11f1d47292
health/health-services-client/src/main/AndroidManifest.xml
health/health-services-client/src/main/AndroidManifest.xml
XML
<|file_sep|>original/spec/views/layout_spec.rb <|file_sep|>current/spec/views/layout_spec.rb <|file_sep|>updated/spec/views/layout_spec.rb
require 'spec_helper' describe Cyclid::UI::Views::Layout do let :user do u = double('current_user') allow(u).to receive(:username).and_return('test') allow(u).to receive(:email).and_return('test@example.com') allow(u).to receive(:organizations).and_return(['a','b']) return u end subject do ...
<|file_sep|>original/spec/views/layout_spec.rb <|file_sep|>current/spec/views/layout_spec.rb <|file_sep|>updated/spec/views/layout_spec.rb require 'spec_helper' describe Cyclid::UI::Views::Layout do let :user do u = double('current_user') allow(u).to receive(:username).and_return('test') allow(u).to re...
39137e8a4e625ac215f81adbb6aff2c11039e0df
spec/views/layout_spec.rb
spec/views/layout_spec.rb
Ruby
<|file_sep|>original/pubspec.yaml name: atom_dartlang version: 0.3.0 description: An experimental Dart plugin for Atom. homepage: https://github.com/dart-atom/dartlang environment: sdk: '>=1.0.0 <2.0.0' dependencies: frappe: ^0.4.0 logging: ^0.11.0 markdown: ^0.7.0 dev_dependencies: grinder: ^0.7.0 html: ^0...
name: atom_dartlang version: 0.3.0 description: An experimental Dart plugin for Atom. homepage: https://github.com/dart-atom/dartlang environment: sdk: '>=1.0.0 <2.0.0' dependencies: frappe: ^0.4.0 logging: ^0.11.0 markdown: ^0.7.0 dev_dependencies: grinder: ^0.7.0 html: ^0.12.0 pub_semver: ^1.2.1 test:...
<|file_sep|>original/pubspec.yaml name: atom_dartlang version: 0.3.0 description: An experimental Dart plugin for Atom. homepage: https://github.com/dart-atom/dartlang environment: sdk: '>=1.0.0 <2.0.0' dependencies: frappe: ^0.4.0 logging: ^0.11.0 markdown: ^0.7.0 dev_dependencies: grinder: ^0.7.0 html: ^0...
44b357dec51772a6d7d9589fe857bee62da32522
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb.diff original: Public Async Function Foo() As Task updated: Public Sub Foo() <|file_sep|>test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb.diff original: End Function updated: End Sub <|file_sep|>...
<Fact> Public Async Function WhenPutExceptionClassInCatchBlock() As Task Const fix = " Imports System Namespace ConsoleApplication1 Class TypeName Public Sub Foo() Try Dim a = ""A"" Catch ex As Exception Throw E...
<|file_sep|>test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb.diff original: Public Async Function Foo() As Task updated: Public Sub Foo() <|file_sep|>test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb.diff original: End Function updated: End Sub <|file_sep|>...
e78070bb13b780546f581361ae6cd425d76f0659
test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb
test/VisualBasic/CodeCracker.Test/Design/EmptyCatchBlockTests.vb
Visual Basic
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages setup(name='libmfrc522', description='A library for communicating with the MFRC522 RFID module', version='1.0', url='https://github.com/fmfi-svt-gate/libmfrc522.py', license='MIT', packages=fi...
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='libmfrc522', description='A library for communicating with the MFRC522 RFID module', version='0.1', url='https://github.com/fmfi-svt-gate/libmfrc522.py', license='MIT', packages=find_packages(), install_r...
<|file_sep|>original/setup.py #!/usr/bin/env python from setuptools import setup, find_packages setup(name='libmfrc522', description='A library for communicating with the MFRC522 RFID module', version='1.0', url='https://github.com/fmfi-svt-gate/libmfrc522.py', license='MIT', packages=fi...
b78a5649104380499eba6f13d8da4c04ef50a66d
setup.py
setup.py
Python
<|file_sep|>original/app/controllers/tracks_controller.rb class TracksController < ApplicationController def index @word = "coffee" url = "http://api.musicgraph.com/api/v2/track/search?api_key=" + ENV['MUSIC_GRAPH_API_KEY'] + "&lyrics_phrase=" + @word uri = URI(url) response = Net::HTTP.get(uri) ...
class TracksController < ApplicationController def index @word = "coffee" url = "http://api.musicgraph.com/api/v2/track/search?api_key=" + ENV['MUSIC_GRAPH_API_KEY'] + "&lyrics_phrase=" + @word uri = URI(url) response = Net::HTTP.get(uri) @tracks = JSON.parse(response) end end
<|file_sep|>original/app/controllers/tracks_controller.rb class TracksController < ApplicationController def index @word = "coffee" url = "http://api.musicgraph.com/api/v2/track/search?api_key=" + ENV['MUSIC_GRAPH_API_KEY'] + "&lyrics_phrase=" + @word uri = URI(url) response = Net::HTTP.get(uri) ...
03fa0ab7def7f9a4a45100d8e8b95188f79fc92b
app/controllers/tracks_controller.rb
app/controllers/tracks_controller.rb
Ruby
<|file_sep|>original/launcher/launcher/ui/__init__.py CURATORS = "https://auth.globus.org/6265343a-52e3-11e7-acd7-22000b100078" DEFAULT_CONFIG = { "server": { "protocol": "https", "host": "", "catalog_id": 1 }, "viewer_mode": "2d", "curator_mode": False, "cache_dir": "~/synspy" } <|file_sep|>curr...
CURATORS = "https://auth.globus.org/6265343a-52e3-11e7-acd7-22000b100078" DEFAULT_CONFIG = { "server": { "protocol": "https", "host": "synapse.isrd.isi.edu", "catalog_id": 1 }, "viewer_mode": "2d", "curator_mode": False, "cache_dir": "~/synspy" }
<|file_sep|>original/launcher/launcher/ui/__init__.py CURATORS = "https://auth.globus.org/6265343a-52e3-11e7-acd7-22000b100078" DEFAULT_CONFIG = { "server": { "protocol": "https", "host": "", "catalog_id": 1 }, "viewer_mode": "2d", "curator_mode": False, "cache_dir": "~/synspy" } <|file_sep|>curr...
d8347132e246caf4874384000014353ce200dff4
launcher/launcher/ui/__init__.py
launcher/launcher/ui/__init__.py
Python
<|file_sep|>app/assets/stylesheets/application.css.diff original: updated: <|file_sep|>original/app/assets/stylesheets/application.css /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/asset...
* * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled fil...
<|file_sep|>app/assets/stylesheets/application.css.diff original: updated: <|file_sep|>original/app/assets/stylesheets/application.css /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/asset...
11dab20330607831a20fb34e021a6f3b80d5dcda
app/assets/stylesheets/application.css
app/assets/stylesheets/application.css
CSS
<|file_sep|>meta-networking/recipes-connectivity/bluepy/bluepy_git.bb.diff original: updated: LICENSE = "GPLv2 & PD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59e0d45ea684dda215889aa1b5acd001" DEPENDS = "glib-2.0" SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" PV = "1.3.0+git${SRCPV}" <|file_sep|>meta-networking...
DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" LICENSE = "GPLv2 & PD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59e0d45ea684dda215889aa1b5acd001" DEPENDS = "glib-2.0" SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" PV = "1.3.0+git...
<|file_sep|>meta-networking/recipes-connectivity/bluepy/bluepy_git.bb.diff original: updated: LICENSE = "GPLv2 & PD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59e0d45ea684dda215889aa1b5acd001" DEPENDS = "glib-2.0" SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" PV = "1.3.0+git${SRCPV}" <|file_sep|>meta-networking...
7d911e6d6b1db30dfb247d24678333e52f2ea974
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
BitBake
<|file_sep|>corehq/project_limits/models.py.diff original: updated: self._clear_caches() super().save(*args, **kwargs) def delete(self, *args, **kwargs): self._clear_caches() super().delete(*args, **kwargs) def _clear_caches(self): <|file_sep|>original/corehq/project_limits/mo...
class DynamicRateDefinition(models.Model): key = models.CharField(max_length=512, blank=False, null=False, unique=True, db_index=True) per_week = models.FloatField(default=None, blank=True, null=True) per_day = models.FloatField(default=None, blank=True, null=True) per_hour = models.FloatField(default...
<|file_sep|>corehq/project_limits/models.py.diff original: updated: self._clear_caches() super().save(*args, **kwargs) def delete(self, *args, **kwargs): self._clear_caches() super().delete(*args, **kwargs) def _clear_caches(self): <|file_sep|>original/corehq/project_limits/mo...
a10fb75a45bbb647f8071842773d79101c797529
corehq/project_limits/models.py
corehq/project_limits/models.py
Python
<|file_sep|>README.md.diff original: [TeamCity](https://www.jetbrains.com/teamcity/) plugin that integrates with the Gradle Build Scan Service, the first service offered by the [Gradle Cloud Services](https://gradle.com). updated: [TeamCity](https://www.jetbrains.com/teamcity/) plugin that integrates with the Gradle Bu...
# teamcity-build-scan-plugin [TeamCity](https://www.jetbrains.com/teamcity/) plugin that integrates with the Gradle Build Scan Service, the first service offered by [Gradle Cloud Services](https://gradle.com). For each Gradle build that is run from TeamCity, this plugin exposes the link to the created build scan. # ...
<|file_sep|>README.md.diff original: [TeamCity](https://www.jetbrains.com/teamcity/) plugin that integrates with the Gradle Build Scan Service, the first service offered by the [Gradle Cloud Services](https://gradle.com). updated: [TeamCity](https://www.jetbrains.com/teamcity/) plugin that integrates with the Gradle Bu...
0c15df32d9a538c70539550b1406c4955064756e
README.md
README.md
Markdown
<|file_sep|>plugins/sublime/sublime.plugin.zsh.diff original: "/usr/local/bin/subl" "$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" "/Applications/Sublime...
if [[ $('uname') == 'Linux' ]]; then if [ -f '/usr/bin/sublime_text' ]; then st_run() { nohup /usr/bin/sublime_text $@ > /dev/null & } else st_run() { nohup /usr/bin/sublime-text $@ > /dev/null & } fi alias st=st_run elif [[ $('uname') == 'Darwin' ]]; then for _sublime_path in $_...
<|file_sep|>plugins/sublime/sublime.plugin.zsh.diff original: "/usr/local/bin/subl" "$HOME/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" "$HOME/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" "/Applications/Sublime...
d7c4837cb274e5220e7d8616537319770bdfd092
plugins/sublime/sublime.plugin.zsh
plugins/sublime/sublime.plugin.zsh
Shell
<|file_sep|>original/src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs using Orchard.Layouts.Helpers; using Orchard.Layouts.Elements; namespace Orchard.DynamicForms.Elements { public class Fieldset : Container { public override string Category { get { return "Forms"; } ...
using Orchard.Layouts.Helpers; using Orchard.Layouts.Elements; namespace Orchard.DynamicForms.Elements { public class Fieldset : Container { public override string Category { get { return "Forms"; } } public override bool HasEditor { get { return false; } }...
<|file_sep|>original/src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs using Orchard.Layouts.Helpers; using Orchard.Layouts.Elements; namespace Orchard.DynamicForms.Elements { public class Fieldset : Container { public override string Category { get { return "Forms"; } ...
ef3ca907c7d3cc81dc8e221e4c8c13fd4414de97
src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs
src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs
C#
<|file_sep|>original/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml <|file_sep|>current/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml <|file_sep|>updated/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml
--- other: - | The string representation of data base model objects has been improved. Calling str() on them will return a certain subset of fields and calling repr() on them will return all fields. This is helpful for debugging, but it may also change some of the log messages that Octavia emits.
<|file_sep|>original/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml <|file_sep|>current/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml <|file_sep|>updated/releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml --- o...
c79123ba0ba98ad1d92c701ee6d6735a699e7b08
releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml
releasenotes/notes/improved-string-representation-of-db-model-1c4fe799186b4dea.yaml
YAML
<|file_sep|>README.md.diff original: updated: To build, run: make To install, run: <|file_sep|>original/README.md Installation ------------ make install The default installation location is `$HOME`. Override it with `$PREFIX`: PREFIX=/usr/local make install Usage ----- Usage: dada [-c columns...
To build, run: make To install, run: make install > The default installation location is `$HOME`. Define the environment variable > `$PREFIX` to specify an alternative installation location. For example: > > PREFIX="/usr/local" make install Usage ----- Usage: dada [-c columns] [-d delimiter] [-s...
<|file_sep|>README.md.diff original: updated: To build, run: make To install, run: <|file_sep|>original/README.md Installation ------------ make install The default installation location is `$HOME`. Override it with `$PREFIX`: PREFIX=/usr/local make install Usage ----- Usage: dada [-c columns...
d6cf363e40eca96aaf32074e68d68e4ff96c3571
README.md
README.md
Markdown
<|file_sep|>apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java.diff original: import static java.lang.annotation.RetentionPolicy.SOURCE; updated: <|file_sep|>apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java.diff original: import java.lang.annotation.Retention; updated: <|file_sep|>orig...
package net.wizardsoflua.annotation; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /** * We use class retention, because otherwise this annotation is not available on unchanged classes * during eclipses incremental compilation. * * @author Adrodoc */ @Target(TYPE) pub...
<|file_sep|>apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java.diff original: import static java.lang.annotation.RetentionPolicy.SOURCE; updated: <|file_sep|>apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java.diff original: import java.lang.annotation.Retention; updated: <|file_sep|>orig...
5b63aa453f1e5a5a7022b115c89633518caa7cb8
apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java
apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java
Java
<|file_sep|>regular-no-refresh/src/main/java/eu/fraho/spring/example/RegularNoRefreshApplication.java.diff original: import eu.fraho.spring.securityJwt.CryptPasswordEncoder; import eu.fraho.spring.securityJwt.config.CryptConfiguration; updated: <|file_sep|>regular-no-refresh/src/main/java/eu/fraho/spring/example/Regul...
package eu.fraho.spring.example; import lombok.extern.slf4j.Slf4j; import org.bouncycastle.jce.provider.BouncyCastleProvider; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.io.IOException; import java.security.Security; @SpringBootA...
<|file_sep|>regular-no-refresh/src/main/java/eu/fraho/spring/example/RegularNoRefreshApplication.java.diff original: import eu.fraho.spring.securityJwt.CryptPasswordEncoder; import eu.fraho.spring.securityJwt.config.CryptConfiguration; updated: <|file_sep|>regular-no-refresh/src/main/java/eu/fraho/spring/example/Regul...
920540eef88e1e972ee934111052fe70261228b6
regular-no-refresh/src/main/java/eu/fraho/spring/example/RegularNoRefreshApplication.java
regular-no-refresh/src/main/java/eu/fraho/spring/example/RegularNoRefreshApplication.java
Java
<|file_sep|>original/docs/cve-map.md <|file_sep|>current/docs/cve-map.md <|file_sep|>updated/docs/cve-map.md
This is a map of CVEs and Log4j *2* Versions. | CVE | Affects | Fixed In | Java Required | | -------------- | --------- | --------------- | --- | | CVE-2021-45105 | 2.0-beta9 to 2.16.0, excluding 2.12.3 | 2.17.0<br>2.12.3<br>2.3.1 | Java 8<br>Java 7<br>Java 6 | | CVE-2021-45046 | 2.0-beta9 to 2.15...
<|file_sep|>original/docs/cve-map.md <|file_sep|>current/docs/cve-map.md <|file_sep|>updated/docs/cve-map.md This is a map of CVEs and Log4j *2* Versions. | CVE | Affects | Fixed In | Java Required | | -------------- | --------- | --------------- | --- | | CVE-2021-45105 | 2.0-beta9 to 2.16.0, excluding...
0286bb1872ccbc2fac855c7eb9bc4feb1d90557b
docs/cve-map.md
docs/cve-map.md
Markdown
<|file_sep|>original/tools/plot_excit_dist.py <|file_sep|>current/tools/plot_excit_dist.py <|file_sep|>updated/tools/plot_excit_dist.py
#!/usr/bin/env python '''Plot excitation distribution from dmqmc output.''' import os import sys import matplotlib.pyplot as pl import argparse try: import pyhande as ph except ImportError: _script_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(_script_dir, '../pyhande')) ...
<|file_sep|>original/tools/plot_excit_dist.py <|file_sep|>current/tools/plot_excit_dist.py <|file_sep|>updated/tools/plot_excit_dist.py #!/usr/bin/env python '''Plot excitation distribution from dmqmc output.''' import os import sys import matplotlib.pyplot as pl import argparse try: import pyhande as ph except ...
a4e87163af7be902829bbaccd2076e4ff0f9bb34
tools/plot_excit_dist.py
tools/plot_excit_dist.py
Python
<|file_sep|>original/template/CMakeLists.txt set(source Source/BINARY.cpp) set(binary BINARY) set(app APPLICATION) set(version VERSION) #------------------------------------------------------------------------------- cmake_minimum_required(`VERSION' 3.11.4) `include'(Platform/build.cmake NO_POLICY_SCOPE) #---...
set(source Source/BINARY.cpp) set(binary BINARY) set(app APPLICATION) set(version VERSION) #------------------------------------------------------------------------------- cmake_minimum_required(`VERSION' 3.11.4) `include'(Platform/build.cmake NO_POLICY_SCOPE) #------------------------------------------------...
<|file_sep|>original/template/CMakeLists.txt set(source Source/BINARY.cpp) set(binary BINARY) set(app APPLICATION) set(version VERSION) #------------------------------------------------------------------------------- cmake_minimum_required(`VERSION' 3.11.4) `include'(Platform/build.cmake NO_POLICY_SCOPE) #---...
699248032b1a810cdc874bcdafd275809462102f
template/CMakeLists.txt
template/CMakeLists.txt
Text
<|file_sep|>original/log.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-log' s.version = '0.4.3.3' s.summary = 'Logging to STD IO with levels, tagging, and coloring' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homep...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-log' s.version = '0.4.3.4' s.summary = 'Logging to STD IO with levels, tagging, and coloring' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homepage = 'https://github.com/eventid...
<|file_sep|>original/log.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'evt-log' s.version = '0.4.3.3' s.summary = 'Logging to STD IO with levels, tagging, and coloring' s.description = ' ' s.authors = ['The Eventide Project'] s.email = 'opensource@eventide-project.org' s.homep...
0009cced7748e0733e8ba60e869f286147532043
log.gemspec
log.gemspec
Ruby
<|file_sep|>original/composer.json { "require": { "aws/aws-sdk-php": "3.*", "symfony/console": "6.1.4" } } <|file_sep|>current/composer.json { "require": { "aws/aws-sdk-php": "3.*", "symfony/console": "6.1.4" } } <|file_sep|>updated/composer.json
{ "require": { "aws/aws-sdk-php": "3.*", "symfony/console": "6.1.5" } }
<|file_sep|>original/composer.json { "require": { "aws/aws-sdk-php": "3.*", "symfony/console": "6.1.4" } } <|file_sep|>current/composer.json { "require": { "aws/aws-sdk-php": "3.*", "symfony/console": "6.1.4" } } <|file_sep|>updated/composer.json { "require": { "aws/aws-sdk...
eb40fd47697ecec405e65b4e67dd67c5c6b00bfb
composer.json
composer.json
JSON
<|file_sep|>packages/ds/dsp.yaml.diff original: hash: 83c6efe584db383b3900dfcce9782f1ff53c7929992fdc6825bf31102c9234a9 test-bench-deps: {} updated: hash: 04dc7f46fec8b451ce772396dc726750040e0c3565ddacf427fb1f79179fc62b test-bench-deps: base: -any array: -any containers: -any dsp: -any QuickCheck: ! '>=2.5 && ...
maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Haskell Digital Signal Processing changelog: '' basic-deps: base: ! '>=2 && <5' array: ! '>=0.1 && <0.6' containers: ! '>=0.3 && <0.6' random: ! '>=1.0 && <1.2' all-versions: - '0.1' - '0.2' - '0.2.1' - '0.2.2' - '0.2.3' - '0.2.3.1' - '0.2...
<|file_sep|>packages/ds/dsp.yaml.diff original: hash: 83c6efe584db383b3900dfcce9782f1ff53c7929992fdc6825bf31102c9234a9 test-bench-deps: {} updated: hash: 04dc7f46fec8b451ce772396dc726750040e0c3565ddacf427fb1f79179fc62b test-bench-deps: base: -any array: -any containers: -any dsp: -any QuickCheck: ! '>=2.5 && ...
dc5d877779b574cfe149b643ff64afd9bd0778f9
packages/ds/dsp.yaml
packages/ds/dsp.yaml
YAML
<|file_sep|>original/0_code_wars/6_autocomplete_yay.rb <|file_sep|>current/0_code_wars/6_autocomplete_yay.rb <|file_sep|>updated/0_code_wars/6_autocomplete_yay.rb
# http://www.codewars.com/kata/5389864ec72ce03383000484 # --- iteration 1 --- def autocomplete(input, dictionary) input.gsub!(/[^[a-zA-Z]]/, "") dictionary.select{ |word| word.downcase.start_with?(input.downcase) }.first(5) end # problems # * gsub isn't as performant as delete, etc (and we're mutating the string a...
<|file_sep|>original/0_code_wars/6_autocomplete_yay.rb <|file_sep|>current/0_code_wars/6_autocomplete_yay.rb <|file_sep|>updated/0_code_wars/6_autocomplete_yay.rb # http://www.codewars.com/kata/5389864ec72ce03383000484 # --- iteration 1 --- def autocomplete(input, dictionary) input.gsub!(/[^[a-zA-Z]]/, "") dictio...
8f9202a308bc9643613fde906eb1fb70d09a38fa
0_code_wars/6_autocomplete_yay.rb
0_code_wars/6_autocomplete_yay.rb
Ruby
<|file_sep|>original/README.rst $ sudo -u postgres psql # create role <unix_username>; # alter role <unix_username> with superuser; # alter role <unix_username> with login; $ createdb dakis # Creates Postgresql database with name ``dakis`` $ make # Downloads and configures py...
# create role <unix_username>; # alter role <unix_username> with superuser; # alter role <unix_username> with login; $ createdb dakis # Creates Postgresql database with name ``dakis`` $ make # Downloads and configures python packages $ bin/django migrate # Creates tabl...
<|file_sep|>original/README.rst $ sudo -u postgres psql # create role <unix_username>; # alter role <unix_username> with superuser; # alter role <unix_username> with login; $ createdb dakis # Creates Postgresql database with name ``dakis`` $ make # Downloads and configures py...
5d3735f4d7045ed469386c60188b912c9fe3c7e9
README.rst
README.rst
reStructuredText
<|file_sep|>original/csunplugged/utils/errors/TextBoxDrawerErrors.py <|file_sep|>current/csunplugged/utils/errors/TextBoxDrawerErrors.py <|file_sep|>updated/csunplugged/utils/errors/TextBoxDrawerErrors.py
class TextBoxDrawerError(Exception): pass class MissingSVGFile(TextBoxDrawerError): pass class TextBoxNotFoundInSVG(TextBoxDrawerError): pass class MissingSVGViewBox(TextBoxDrawerError): pass
<|file_sep|>original/csunplugged/utils/errors/TextBoxDrawerErrors.py <|file_sep|>current/csunplugged/utils/errors/TextBoxDrawerErrors.py <|file_sep|>updated/csunplugged/utils/errors/TextBoxDrawerErrors.py class TextBoxDrawerError(Exception): pass class MissingSVGFile(TextBoxDrawerError): pass class TextBoxN...
8e8c1b326c71ad1e2810bc806d443bf3e9e0a8ed
csunplugged/utils/errors/TextBoxDrawerErrors.py
csunplugged/utils/errors/TextBoxDrawerErrors.py
Python
<|file_sep|>packages/ri/rison.yaml.diff original: hash: b90f9ae870e7525d88eec1345a019f59811aedb1fdd24145e0c261865e5b9e2c updated: hash: 864893d810cca44bcb5e58876384f65caedeb8a5da4680780e3dc5c421e0128d <|file_sep|>packages/ri/rison.yaml.diff original: parsers: -any updated: <|file_sep|>packages/ri/rison.yaml.diff ori...
maintainer: martin@vlkk.cz synopsis: Parses and renders RISON strings. changelog: '' basic-deps: bytestring: -any base: ! '>=4.7 && <5' unordered-containers: -any text: -any attoparsec: -any scientific: -any aeson: -any vector: -any all-versions: - '1.0.0.0' - '1.1.0.0' author: Martin Vlk latest: '1.1.0...
<|file_sep|>packages/ri/rison.yaml.diff original: hash: b90f9ae870e7525d88eec1345a019f59811aedb1fdd24145e0c261865e5b9e2c updated: hash: 864893d810cca44bcb5e58876384f65caedeb8a5da4680780e3dc5c421e0128d <|file_sep|>packages/ri/rison.yaml.diff original: parsers: -any updated: <|file_sep|>packages/ri/rison.yaml.diff ori...
f4297a3064f49ee5466cc7bf04068521632c496c
packages/ri/rison.yaml
packages/ri/rison.yaml
YAML
<|file_sep|>original/resque-logstash.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'resque/logstash/version' Gem::Specification.new do |spec| spec.name = "resque-logstash" spec.version = Resque::Logstash::VERSION ...
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'resque/logstash/version' Gem::Specification.new do |spec| spec.name = "resque-logstash" spec.version = Resque::Logstash::VERSION spec.authors = ["Eugene Pimenov"] spe...
<|file_sep|>original/resque-logstash.gemspec # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'resque/logstash/version' Gem::Specification.new do |spec| spec.name = "resque-logstash" spec.version = Resque::Logstash::VERSION ...
65c651bc9db470a2766b087289f2329b3344d956
resque-logstash.gemspec
resque-logstash.gemspec
Ruby
<|file_sep|>original/.travis.yml language: python python: # 2.6.5, Sublime Text 2.0.2 Build 2221 (Windows) # 2.6.6, Sublime Text 2.0.2 Build 2221 (Linux) # 2.6.9, Sublime Text 2.0.2 Build 2221 (macOS Sierra) - "2.6" # 2.7.10, Sublime Text 2.0.2 Build 2221 (macOS High Sierra) - "2.7" # Sublime Text 3.0 Bui...
language: python python: # 2.6.5, Sublime Text 2.0.2 Build 2221 (Windows) # 2.6.6, Sublime Text 2.0.2 Build 2221 (Linux) # 2.6.9, Sublime Text 2.0.2 Build 2221 (macOS Sierra) # 2.7.10, Sublime Text 2.0.2 Build 2221 (macOS High Sierra) - "2.7" # Sublime Text 3.0 Build 3143/3156 - "3.3.6" install: - "pip ...
<|file_sep|>original/.travis.yml language: python python: # 2.6.5, Sublime Text 2.0.2 Build 2221 (Windows) # 2.6.6, Sublime Text 2.0.2 Build 2221 (Linux) # 2.6.9, Sublime Text 2.0.2 Build 2221 (macOS Sierra) - "2.6" # 2.7.10, Sublime Text 2.0.2 Build 2221 (macOS High Sierra) - "2.7" # Sublime Text 3.0 Bui...
390ecceca23ccb9ffb2aaec56125fa82c292dd45
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/python.yml branches: [ master ] pull_request: branches: [ master ] jobs: unit-test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ...
branches: [ master ] pull_request: branches: [ master ] jobs: unit-test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-...
<|file_sep|>original/.github/workflows/python.yml branches: [ master ] pull_request: branches: [ master ] jobs: unit-test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10'] steps: - uses: actions/checkout@v2 - name: Set up Python ...
88c61e70dfb0bc3473c75d037b18d940804445d6
.github/workflows/python.yml
.github/workflows/python.yml
YAML
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt django-floppyforms==1.3.0 # Models django-model-utils==2.2 # Images Pillow==2.7.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.18.0 # For the persistence stores psycopg2==2.5.4 #...
django-floppyforms==1.3.0 # Models django-model-utils==2.2 # Images Pillow==2.7.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.19.0 # For the persistence stores psycopg2==2.5.4 # Unicode slugification unicode-slugify==0.1.1 django-autoslug==1.7.2 ...
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt django-floppyforms==1.3.0 # Models django-model-utils==2.2 # Images Pillow==2.7.0 # For user registration, either via email or social # Well-built with regular release cycles! django-allauth==0.18.0 # For the persistence stores psycopg2==2.5.4 #...
4412abd588b4e824a46440b496651240ccbd8d56
{{cookiecutter.repo_name}}/requirements/base.txt
{{cookiecutter.repo_name}}/requirements/base.txt
Text
<|file_sep|>original/android/README.md ## Build Instructions 1. Install JDK 7 - If you use apt-get, just type `sudo apt-get install openjdk-7-jdk` 2. Download the [Android SDK](http://developer.android.com/sdk/index.html) - Just the SDK Tools; you don't need the bundle 3. Install [Leiningen](https://github.com/techn...
- If you use apt-get, just type `sudo apt-get install openjdk-7-jdk` 2. Download the [Android SDK](http://developer.android.com/sdk/index.html) - Just the SDK Tools; you don't need the bundle 3. Install [Leiningen](https://github.com/technomancy/leiningen) - The version in your package manager may be out of date - ...
<|file_sep|>original/android/README.md ## Build Instructions 1. Install JDK 7 - If you use apt-get, just type `sudo apt-get install openjdk-7-jdk` 2. Download the [Android SDK](http://developer.android.com/sdk/index.html) - Just the SDK Tools; you don't need the bundle 3. Install [Leiningen](https://github.com/techn...
347ca62227485ad6e91033b1da6eae4dd547aa9d
android/README.md
android/README.md
Markdown
<|file_sep|>original/tests/compile/cpp_class_redefinition.pyx <|file_sep|>current/tests/compile/cpp_class_redefinition.pyx <|file_sep|>updated/tests/compile/cpp_class_redefinition.pyx
# tag: cpp # mode: compile cdef extern from "templates.h": cdef cppclass TemplateTest1[T]: TemplateTest1() T value int t T getValue() cdef cppclass TemplateTest1[T]
<|file_sep|>original/tests/compile/cpp_class_redefinition.pyx <|file_sep|>current/tests/compile/cpp_class_redefinition.pyx <|file_sep|>updated/tests/compile/cpp_class_redefinition.pyx # tag: cpp # mode: compile cdef extern from "templates.h": cdef cppclass TemplateTest1[T]: TemplateTest1() T valu...
2232c1e010a14ccf7217bc3e0d7fee1c7b037013
tests/compile/cpp_class_redefinition.pyx
tests/compile/cpp_class_redefinition.pyx
Cython
<|file_sep|>test/core/slice/b64_encode_fuzzer.cc.diff original: updated: #include "include/grpc/support/alloc.h" <|file_sep|>original/test/core/slice/b64_encode_fuzzer.cc * See the License for the specific language governing permissions and * limitations under the License. * */ #include <stdbool.h> #include <stdi...
* See the License for the specific language governing permissions and * limitations under the License. * */ #include <stdbool.h> #include <stdint.h> #include "include/grpc/support/alloc.h" #include "src/core/lib/slice/b64.h" bool squelch = true; bool leak_check = true; extern "C" int LLVMFuzzerTestOneInput(cons...
<|file_sep|>test/core/slice/b64_encode_fuzzer.cc.diff original: updated: #include "include/grpc/support/alloc.h" <|file_sep|>original/test/core/slice/b64_encode_fuzzer.cc * See the License for the specific language governing permissions and * limitations under the License. * */ #include <stdbool.h> #include <stdi...
bd60691d95809491ddf10205e1c9d9762709f58f
test/core/slice/b64_encode_fuzzer.cc
test/core/slice/b64_encode_fuzzer.cc
C++
<|file_sep|>lib/generators/gitcoin_blockchain_explorer_generator.rb.diff original: prepend_file 'config/environments/test.rb' do updated: prepend_file 'config/routes.rb' do puts 'index route' <|file_sep|>lib/generators/gitcoin_blockchain_explorer_generator.rb.diff original: updated: puts 'search r...
"\n get 'blockchain/block', to 'blockchain#block'\n" puts 'transaction route' "\n get 'blockchain/transaction', to 'blockchain#transaction'\n" puts 'address route' "\n get 'blockchain/address', to 'blockchain#address'\n" end puts 'Create controller and views' ['blockchain_co...
<|file_sep|>lib/generators/gitcoin_blockchain_explorer_generator.rb.diff original: prepend_file 'config/environments/test.rb' do updated: prepend_file 'config/routes.rb' do puts 'index route' <|file_sep|>lib/generators/gitcoin_blockchain_explorer_generator.rb.diff original: updated: puts 'search r...
e3a10c931648172c671e44542b2a7796b7728c45
lib/generators/gitcoin_blockchain_explorer_generator.rb
lib/generators/gitcoin_blockchain_explorer_generator.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: - '6.3' <|file_sep|>original/.travis.yml language: node_js node_js: - '6.2' - '6.1' - '6' - '5.1' - '5' before_install: - 'npm install -g npm@latest' - 'npm install -g coveralls@2' after_success: - 'nyc report --reporter=text-lcov | coveralls' <|file_se...
language: node_js node_js: - '6.3' - '6.2' - '6.1' - '6' before_install: - 'npm install -g npm@latest' - 'npm install -g coveralls@2' after_success: - 'nyc report --reporter=text-lcov | coveralls'
<|file_sep|>.travis.yml.diff original: updated: - '6.3' <|file_sep|>original/.travis.yml language: node_js node_js: - '6.2' - '6.1' - '6' - '5.1' - '5' before_install: - 'npm install -g npm@latest' - 'npm install -g coveralls@2' after_success: - 'nyc report --reporter=text-lcov | coveralls' <|file_se...
cb546f0581c3301cd32d2e15e1b0920757db7885
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - 1.8.7 updated: <|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.8.7 - 1.9.3 - 2.0 - 2.1 - 2.2 addons: apt: packages: - language-pack-pl - language-pack-hu <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: -...
language: ruby cache: bundler rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - 2.3 addons: apt: packages: - language-pack-pl - language-pack-hu
<|file_sep|>.travis.yml.diff original: - 1.8.7 updated: <|file_sep|>original/.travis.yml language: ruby cache: bundler rvm: - 1.8.7 - 1.9.3 - 2.0 - 2.1 - 2.2 addons: apt: packages: - language-pack-pl - language-pack-hu <|file_sep|>current/.travis.yml language: ruby cache: bundler rvm: -...
a0a380ea6334340fff2510c601e7587431a6679a
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata/ca.chancehorizon.paseo.yml.diff original: updated: - versionName: 1.2.4 versionCode: 7 commit: v1.2.4 subdir: app gradle: - yes <|file_sep|>original/metadata/ca.chancehorizon.paseo.yml gradle: - yes - versionName: 1.2.2 versionCode: 5 commit: v1.2.2 ...
gradle: - yes - versionName: 1.2.3 versionCode: 6 commit: v1.2.3 subdir: app gradle: - yes - versionName: 1.2.4 versionCode: 7 commit: v1.2.4 subdir: app gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.2.4 CurrentVersionCode:...
<|file_sep|>metadata/ca.chancehorizon.paseo.yml.diff original: updated: - versionName: 1.2.4 versionCode: 7 commit: v1.2.4 subdir: app gradle: - yes <|file_sep|>original/metadata/ca.chancehorizon.paseo.yml gradle: - yes - versionName: 1.2.2 versionCode: 5 commit: v1.2.2 ...
708c10522634a0078db0fd0b4b06720c37da9037
metadata/ca.chancehorizon.paseo.yml
metadata/ca.chancehorizon.paseo.yml
YAML
<|file_sep|>original/lib/peoplesoft_models.rb require "peoplesoft_models/field" module PeoplesoftModels def self.const_missing(name) path = name.to_s.demodulize.underscore begin klass = Class.new(PeoplesoftModels::Base) do @record = Record.where(recname: path.upcase).first! self.tabl...
require "peoplesoft_models/field" module PeoplesoftModels def self.const_missing(name) path = name.to_s.demodulize.underscore begin klass = Class.new(PeoplesoftModels::Base) do @record = Record.where(recname: path.upcase).first! self.table_name = @record.table_name self.p...
<|file_sep|>original/lib/peoplesoft_models.rb require "peoplesoft_models/field" module PeoplesoftModels def self.const_missing(name) path = name.to_s.demodulize.underscore begin klass = Class.new(PeoplesoftModels::Base) do @record = Record.where(recname: path.upcase).first! self.tabl...
538b8c5c376cd4a477c58702adb33aca5d7b4fce
lib/peoplesoft_models.rb
lib/peoplesoft_models.rb
Ruby
<|file_sep|>original/package.json { "name": "codeclimate-eslint", "version": "0.0.3", "description": "eslint", "author": "Code Climate", "repository" : { "type" : "git", "url" : "http://github.com/codeclimate/codeclimate-eslint.git" }, "dependencies": { "eslint": "codeclimate/eslint.git#b84e74...
{ "name": "codeclimate-eslint", "version": "0.0.3", "description": "eslint", "author": "Code Climate", "repository" : { "type" : "git", "url" : "http://github.com/codeclimate/codeclimate-eslint.git" }, "dependencies": { "babel-eslint": "4.1.3", "eslint": "codeclimate/eslint.git#d8eb059", ...
<|file_sep|>original/package.json { "name": "codeclimate-eslint", "version": "0.0.3", "description": "eslint", "author": "Code Climate", "repository" : { "type" : "git", "url" : "http://github.com/codeclimate/codeclimate-eslint.git" }, "dependencies": { "eslint": "codeclimate/eslint.git#b84e74...
558a6824abd3765facae86e9255f9e2d63f5f88a
package.json
package.json
JSON
<|file_sep|>original/blog/_posts/2017-04-21-jaaw.md --- layout: post title: Sveriges mest oanade talangpool draft: false list_cover: locale: - sv --- ![jaaw](/assets/images/blog/jaaw.jpg) ##### After work för arbetsgivare/HR och kandidater tillsammans med Just Arrived Kom och mingla, lyssna på inspirerande berä...
--- layout: post title: Sveriges mest oanade talangpool draft: true list_cover: locale: - sv --- ![jaaw](/assets/images/blog/jaaw.jpg) ##### After work för arbetsgivare/HR och kandidater tillsammans med Just Arrived Kom och mingla, lyssna på inspirerande berättelser från nyanlända och få nyttiga tips och trix f...
<|file_sep|>original/blog/_posts/2017-04-21-jaaw.md --- layout: post title: Sveriges mest oanade talangpool draft: false list_cover: locale: - sv --- ![jaaw](/assets/images/blog/jaaw.jpg) ##### After work för arbetsgivare/HR och kandidater tillsammans med Just Arrived Kom och mingla, lyssna på inspirerande berä...
2be083ec5afbd7311941b46d2392940334abcd52
blog/_posts/2017-04-21-jaaw.md
blog/_posts/2017-04-21-jaaw.md
Markdown
<|file_sep|>original/templates/expo-template-tabs/App.tsx import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import useCachedResources from './hooks/useCachedResources'; import useColorScheme from './hooks/useColorScheme'; import N...
import 'react-native-gesture-handler'; import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import useCachedResources from './hooks/useCachedResources'; import useColorScheme from './hooks/useColorScheme'; import Navigation from './n...
<|file_sep|>original/templates/expo-template-tabs/App.tsx import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { SafeAreaProvider } from 'react-native-safe-area-context'; import useCachedResources from './hooks/useCachedResources'; import useColorScheme from './hooks/useColorScheme'; import N...
920f676d3b448a84953584a344a6eaba4b462ca9
templates/expo-template-tabs/App.tsx
templates/expo-template-tabs/App.tsx
TypeScript
<|file_sep|>original/c/selective.h #ifndef _SELECTIVE_H #define _SELECTIVE_H #include "psyco.h" #include "codemanager.h" #define FUN_BOUND -1 #define MAX_RECURSION 1 EXTERNVAR PyObject* funcs; EXTERNVAR int ticks; EXTERNFN int do_selective(void *, PyFrameObject *, int, PyObject *); #endif <|file_sep|>current/c/sele...
#ifndef _SELECTIVE_H #define _SELECTIVE_H #include "psyco.h" #include "codemanager.h" #define FUN_BOUND -1 #define MAX_RECURSION 99 EXTERNVAR PyObject* funcs; EXTERNVAR int ticks; EXTERNFN int do_selective(void *, PyFrameObject *, int, PyObject *); #endif
<|file_sep|>original/c/selective.h #ifndef _SELECTIVE_H #define _SELECTIVE_H #include "psyco.h" #include "codemanager.h" #define FUN_BOUND -1 #define MAX_RECURSION 1 EXTERNVAR PyObject* funcs; EXTERNVAR int ticks; EXTERNFN int do_selective(void *, PyFrameObject *, int, PyObject *); #endif <|file_sep|>current/c/sele...
8bc6d9116a731dd70366b9fcc3fba4f182df91f2
c/selective.h
c/selective.h
C
<|file_sep|>src/main/resources/application-keycloak.properties.diff original: updated: # Calendar ------------------------------------------------------------------------------------------------------------- uv.calendar.organizer=organizer@example.org <|file_sep|>src/main/resources/application-keycloak.properties.diff...
# AUTHENTICATION ------------------------------------------------------------------------------------------------------- # Choose one: default, ldap, activedirectory, oidc uv.security.auth=oidc # OpenId Connect ------------------------------------------------------------------------------------------------------- uv.s...
<|file_sep|>src/main/resources/application-keycloak.properties.diff original: updated: # Calendar ------------------------------------------------------------------------------------------------------------- uv.calendar.organizer=organizer@example.org <|file_sep|>src/main/resources/application-keycloak.properties.diff...
0d7771f43b67402d51c3910ab10dcb002d1d1233
src/main/resources/application-keycloak.properties
src/main/resources/application-keycloak.properties
INI
<|file_sep|>original/include/JSON_checker.h /* JSON_checker.h */ #ifdef JSON_checker_EXPORTS #if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550) #define JSON_CHECKER_PUBLIC_API __global #elif defined __GNUC__ #define JSON_CHECKER_PUBLIC_API __attribute__ ((visibility("default"))) #elif defined(_MSC_VER) #define JSON_CH...
/* JSON_checker.h */ #pragma once #ifdef JSON_checker_EXPORTS #if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550) #define JSON_CHECKER_PUBLIC_API __global #elif defined __GNUC__ #define JSON_CHECKER_PUBLIC_API __attribute__ ((visibility("default"))) #elif defined(_MSC_VER) #define JSON_CHECKER_PUBLIC_API __declspec(dl...
<|file_sep|>original/include/JSON_checker.h /* JSON_checker.h */ #ifdef JSON_checker_EXPORTS #if defined (__SUNPRO_C) && (__SUNPRO_C >= 0x550) #define JSON_CHECKER_PUBLIC_API __global #elif defined __GNUC__ #define JSON_CHECKER_PUBLIC_API __attribute__ ((visibility("default"))) #elif defined(_MSC_VER) #define JSON_CH...
290c4c88ae6bf7ff5b9f89632f374017a8189e57
include/JSON_checker.h
include/JSON_checker.h
C
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.8.0 aiodns==1.1.1 aiohttp==3.1.3 async-timeout==2.0.1 attrs==18.1.0 botocore==1.10.12 cchardet==2.1.1 chardet==3.0.4 codecov==2.0.15 colorama==0.3.9 coverage==4.5.1 docutils==0.14 execnet==1.5.0 jmespath==0.9.3 multidict==4.3.0 mypy==0.600 packaging==...
aioamqp==0.10.0 aiobotocore==0.8.0 aiodns==1.1.1 aiohttp==3.3.0 async-timeout==2.0.1 attrs==18.1.0 botocore==1.10.12 cchardet==2.1.1 chardet==3.0.4 codecov==2.0.15 colorama==0.3.9 coverage==4.5.1 docutils==0.14 execnet==1.5.0 jmespath==0.9.3 multidict==4.3.0 mypy==0.600 packaging==17.1 protobuf==3.5.2.post1 pycares==2....
<|file_sep|>original/requirements.txt aioamqp==0.10.0 aiobotocore==0.8.0 aiodns==1.1.1 aiohttp==3.1.3 async-timeout==2.0.1 attrs==18.1.0 botocore==1.10.12 cchardet==2.1.1 chardet==3.0.4 codecov==2.0.15 colorama==0.3.9 coverage==4.5.1 docutils==0.14 execnet==1.5.0 jmespath==0.9.3 multidict==4.3.0 mypy==0.600 packaging==...
88140b4859bf5bb42903afba5458dcbb82657b41
requirements.txt
requirements.txt
Text
<|file_sep|>original/src/desktop/apps/search2/client.tsx const mediator = require("desktop/lib/mediator.coffee") buildClientApp({ routes, context: { user: sd.CURRENT_USER, mediator, }, }) .then(({ ClientApp }) => { ReactDOM.hydrate(<ClientApp />, document.getElementById("react-root")) document...
const mediator = require("desktop/lib/mediator.coffee") buildClientApp({ routes, context: { user: sd.CURRENT_USER, mediator, }, }) .then(({ ClientApp }) => { ReactDOM.hydrate(<ClientApp />, document.getElementById("react-root")) document.getElementById("loading-container").remove() }) .cat...
<|file_sep|>original/src/desktop/apps/search2/client.tsx const mediator = require("desktop/lib/mediator.coffee") buildClientApp({ routes, context: { user: sd.CURRENT_USER, mediator, }, }) .then(({ ClientApp }) => { ReactDOM.hydrate(<ClientApp />, document.getElementById("react-root")) document...
841271843d8969197683c10ae75ed7bf6e76f68f
src/desktop/apps/search2/client.tsx
src/desktop/apps/search2/client.tsx
TypeScript
<|file_sep|>original/project.clj (defproject org.onyxplatform/onyx-datomic "0.8.0.0" :description "Onyx plugin for Datomic" :url "https://github.com/MichaelDrogalis/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:u...
(defproject org.onyxplatform/onyx-datomic "0.8.0.1-SNAPSHOT" :description "Onyx plugin for Datomic" :url "https://github.com/MichaelDrogalis/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:url "https://clojars.org/...
<|file_sep|>original/project.clj (defproject org.onyxplatform/onyx-datomic "0.8.0.0" :description "Onyx plugin for Datomic" :url "https://github.com/MichaelDrogalis/onyx-datomic" :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :repositories {"snapshots" {:u...
bbbfefb1973ec9427848cf29e5eacc3ce8e69b63
project.clj
project.clj
Clojure
<|file_sep|>original/recipes/tornado-sqlalchemy/meta.yaml <|file_sep|>current/recipes/tornado-sqlalchemy/meta.yaml <|file_sep|>updated/recipes/tornado-sqlalchemy/meta.yaml
{% set name = "tornado-sqlalchemy" %} {% set version = "0.5.0" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/tornado_sqlalchemy-{{ version }}.tar.gz sha256: bf00483143677e41dc7ed8c5131b4c8a290a005b7411c53a91700ddec658fb8d b...
<|file_sep|>original/recipes/tornado-sqlalchemy/meta.yaml <|file_sep|>current/recipes/tornado-sqlalchemy/meta.yaml <|file_sep|>updated/recipes/tornado-sqlalchemy/meta.yaml {% set name = "tornado-sqlalchemy" %} {% set version = "0.5.0" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: ...
75f440e2157dc9954d2cfdcf2ae7c0b57ce814ea
recipes/tornado-sqlalchemy/meta.yaml
recipes/tornado-sqlalchemy/meta.yaml
YAML
<|file_sep|>original/app/controllers/jodel_city_controller.rb class JodelCityController < ApplicationController def index @jodel_cities = JodelCity.all end def self.update_cities handler = JodelHandler.new("a44549e5-8f61-4db7-acbf-d9c4673f53ff") cities = JodelCity.all cities.each do |city| ...
class JodelCityController < ApplicationController def index @jodel_cities = JodelCity.all end def self.update_cities handler = JodelHandler.new("a44549e5-8f61-4db7-acbf-d9c4673f53ff") cities = JodelCity.all cities.each do |city| city.jodel_posts.destroy_all response = handler.get_post...
<|file_sep|>original/app/controllers/jodel_city_controller.rb class JodelCityController < ApplicationController def index @jodel_cities = JodelCity.all end def self.update_cities handler = JodelHandler.new("a44549e5-8f61-4db7-acbf-d9c4673f53ff") cities = JodelCity.all cities.each do |city| ...
52761ff7872094ca4aa4e9a06b4fbee7479ca4c7
app/controllers/jodel_city_controller.rb
app/controllers/jodel_city_controller.rb
Ruby
<|file_sep|>original/src/interfaces/r_modular/CMakeLists.txt include(CommonModularInterface) SET(CMAKE_CXX_FLAGS "${R_CXX_FLAGS} ${CMAKE_CXX_FLAGS}") GENERATE_MODULAR_TARGET(r ${CMAKE_CURRENT_SOURCE_DIR} ${R_LIBRARIES}) set(CPACK_COMPONENT_R_DISPLAY_NAME "OCTAVE interface" PARENT_SCOPE) set(CPACK_COMPONENT_R_DESCRIPT...
include(CommonModularInterface) SET(SWIG_CXX_COMPILER_FLAGS "${SWIG_CXX_COMPILER_FLAGS} ${R_CXX_FLAGS}") GENERATE_MODULAR_TARGET(r ${CMAKE_CURRENT_SOURCE_DIR} ${R_LIBRARIES}) set(CPACK_COMPONENT_R_DISPLAY_NAME "OCTAVE interface" PARENT_SCOPE) set(CPACK_COMPONENT_R_DESCRIPTION "R modular interface of Shogun" PARENT_SC...
<|file_sep|>original/src/interfaces/r_modular/CMakeLists.txt include(CommonModularInterface) SET(CMAKE_CXX_FLAGS "${R_CXX_FLAGS} ${CMAKE_CXX_FLAGS}") GENERATE_MODULAR_TARGET(r ${CMAKE_CURRENT_SOURCE_DIR} ${R_LIBRARIES}) set(CPACK_COMPONENT_R_DISPLAY_NAME "OCTAVE interface" PARENT_SCOPE) set(CPACK_COMPONENT_R_DESCRIPT...
bd16463f6474a2295243172b0630174b928ac5d9
src/interfaces/r_modular/CMakeLists.txt
src/interfaces/r_modular/CMakeLists.txt
Text
<|file_sep|>original/timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js ], function (Backbone,BaseModel) { 'use strict'; return BaseModel.extend({ defaults: { url : '', uuid : '', title : '', preset : '', //url du preset sub_processor : '' //url du subpr...
function (Backbone,BaseModel) { 'use strict'; return BaseModel.extend({ defaults: { url : '', uuid : '', title : '', preset : '', //url du preset sub_processor : '', //url du subprocessor parameters_schema : '' //schema des paramètres }, relations: [], ////...
<|file_sep|>original/timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js ], function (Backbone,BaseModel) { 'use strict'; return BaseModel.extend({ defaults: { url : '', uuid : '', title : '', preset : '', //url du preset sub_processor : '' //url du subpr...
a6dbbae2a6d35416ee16c12d482af094f732ab64
timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js
timeside/player/static/timeside2/app/scripts/core/models/client/analysis.js
JavaScript
<|file_sep|>original/metaopt/optimizer/randomsearch.py <|file_sep|>current/metaopt/optimizer/randomsearch.py <|file_sep|>updated/metaopt/optimizer/randomsearch.py
# -*- coding: utf-8 -*- # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement # First Party from metaopt.core.arg.util.creator import ArgsCreator from metaopt.core.stoppable.util.exception import StoppedError from metaopt.optimizer.optimizer import Optimizer ...
<|file_sep|>original/metaopt/optimizer/randomsearch.py <|file_sep|>current/metaopt/optimizer/randomsearch.py <|file_sep|>updated/metaopt/optimizer/randomsearch.py # -*- coding: utf-8 -*- # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement # First Party fr...
d58f249191f3e7746d68317c9fccc5a92601b8d0
metaopt/optimizer/randomsearch.py
metaopt/optimizer/randomsearch.py
Python
<|file_sep|>dub.selections.json.diff original: "diet-ng": "1.7.2", "eventcore": "0.9.8", updated: "diet-ng": "1.7.3", "eventcore": "0.9.9", <|file_sep|>original/dub.selections.json { "fileVersion": 1, "versions": { "botan": "1.12.18", "botan-math": "1.0.3", "diet-ng": "1.7.2", "eventcore": "0.9.8", ...
{ "fileVersion": 1, "versions": { "botan": "1.12.18", "botan-math": "1.0.3", "diet-ng": "1.7.3", "eventcore": "0.9.9", "libasync": "0.8.6", "libev": "5.0.0+4.04", "libevent": "2.0.2+2.0.16", "memutils": "1.0.4", "mir-linux-kernel": "1.0.1", "openssl": "1.1.6+1.0.1g", "stdx-allocator": "2.77.5", ...
<|file_sep|>dub.selections.json.diff original: "diet-ng": "1.7.2", "eventcore": "0.9.8", updated: "diet-ng": "1.7.3", "eventcore": "0.9.9", <|file_sep|>original/dub.selections.json { "fileVersion": 1, "versions": { "botan": "1.12.18", "botan-math": "1.0.3", "diet-ng": "1.7.2", "eventcore": "0.9.8", ...
076d0b88d49bc8d0ec2c6d35ce7fef783575068c
dub.selections.json
dub.selections.json
JSON
<|file_sep|>original/changes/api/build_flaky_tests.py )) flaky_tests_query = db.session.query( TestCase.name ).filter( TestCase.job_id.in_([j.id for j in jobs]), TestCase.result == Result.passed, TestCase.reruns > 1 ).order_by(TestCase.nam...
flaky_tests_query = db.session.query( TestCase.name ).filter( TestCase.job_id.in_([j.id for j in jobs]), TestCase.result == Result.passed, TestCase.reruns > 1 ).order_by(TestCase.name.asc()) flaky_tests = map(lambda test: {'name': test.na...
<|file_sep|>original/changes/api/build_flaky_tests.py )) flaky_tests_query = db.session.query( TestCase.name ).filter( TestCase.job_id.in_([j.id for j in jobs]), TestCase.result == Result.passed, TestCase.reruns > 1 ).order_by(TestCase.nam...
9bf70db96d8ae5204b20e1e214cb92e195ab5928
changes/api/build_flaky_tests.py
changes/api/build_flaky_tests.py
Python
<|file_sep|>original/GUI/Types/ParticleRenderer/INumberProvider.cs var property = keyValues.GetProperty<object>(propertyName); if (property is IKeyValueCollection numberProviderParameters) { var type = numberProviderParameters.GetProperty<string>("m_nType"); ...
var property = keyValues.GetProperty<object>(propertyName); if (property is IKeyValueCollection numberProviderParameters) { var type = numberProviderParameters.GetProperty<string>("m_nType"); switch (type) { case "P...
<|file_sep|>original/GUI/Types/ParticleRenderer/INumberProvider.cs var property = keyValues.GetProperty<object>(propertyName); if (property is IKeyValueCollection numberProviderParameters) { var type = numberProviderParameters.GetProperty<string>("m_nType"); ...
65097865ac4fb4fd6c9056b9e1d035631b245e7d
GUI/Types/ParticleRenderer/INumberProvider.cs
GUI/Types/ParticleRenderer/INumberProvider.cs
C#