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/lib/org_todoist.rb module OrgTodoist def self.configure @token = ENV["ORG_TODOIST_TOKEN"] end def self.token @token end def self.api @api ||= OrgTodoist::Api.new end def self.uuid `uuidgen`.chomp end end # monkey-patch class String def mb_width <|file_sep|>curr...
module OrgTodoist def self.configure @token = ENV["ORG_TODOIST_TOKEN"] end def self.token @token end def self.api @api ||= OrgTodoist::Api.new(verbose: !!ENV['VERBOSE']) end def self.uuid `uuidgen`.chomp end end # monkey-patch class String def mb_width
<|file_sep|>original/lib/org_todoist.rb module OrgTodoist def self.configure @token = ENV["ORG_TODOIST_TOKEN"] end def self.token @token end def self.api @api ||= OrgTodoist::Api.new end def self.uuid `uuidgen`.chomp end end # monkey-patch class String def mb_width <|file_sep|>curr...
f7046f654013824e3227fb5845c5a4a1bc6a9f27
lib/org_todoist.rb
lib/org_todoist.rb
Ruby
<|file_sep|>src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php.diff original: return DataSource::getInstance(static::COLLECTION); updated: $dataSource = DataSource::getInstance(static::COLLECTION); <|file_sep|>src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php.diff original: ...
{ const COLLECTION = 'products'; protected function getDefaultDataSource() { $dataSource = DataSource::getInstance(static::COLLECTION); // Set alternative image sizes. $dataSource->setAlternativeImageSizes(array( 32, 96, 140 )); ...
<|file_sep|>src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php.diff original: return DataSource::getInstance(static::COLLECTION); updated: $dataSource = DataSource::getInstance(static::COLLECTION); <|file_sep|>src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php.diff original: ...
b465631f67f4338cb5d7e092b21a8d437c6c9d9d
src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php
src/php/main/Nohex/Eix/Modules/Catalog/Model/ProductImage.php
PHP
<|file_sep|>original/doc-requirements.txt Sphinx==1.7.5 nbsphinx==0.3.3 jupyter_client==5.2.3 ipykernel==4.8.2 sphinx_rtd_theme==0.3.1 <|file_sep|>current/doc-requirements.txt Sphinx==1.7.5 nbsphinx==0.3.3 jupyter_client==5.2.3 ipykernel==4.8.2 sphinx_rtd_theme==0.3.1 <|file_sep|>updated/doc-requirements.txt
Sphinx==1.7.5 nbsphinx==0.4.2 jupyter_client==5.2.3 ipykernel==4.8.2 sphinx_rtd_theme==0.3.1
<|file_sep|>original/doc-requirements.txt Sphinx==1.7.5 nbsphinx==0.3.3 jupyter_client==5.2.3 ipykernel==4.8.2 sphinx_rtd_theme==0.3.1 <|file_sep|>current/doc-requirements.txt Sphinx==1.7.5 nbsphinx==0.3.3 jupyter_client==5.2.3 ipykernel==4.8.2 sphinx_rtd_theme==0.3.1 <|file_sep|>updated/doc-requirements.txt Sphinx==1....
cfbb28ae10220b15f84487e1171e8216c03ad026
doc-requirements.txt
doc-requirements.txt
Text
<|file_sep|>original/playbooks/roles/common/defaults/main.yml # # 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 expr...
# 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 # License for the specific language go...
<|file_sep|>original/playbooks/roles/common/defaults/main.yml # # 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 expr...
ef50284b703214246e22807f26f74f90e44b6fe7
playbooks/roles/common/defaults/main.yml
playbooks/roles/common/defaults/main.yml
YAML
<|file_sep|>src/page-storage/deletion.js.diff original: import { getEquivalentPages } from 'src/search/find-pages' updated: import { getEquivalentPages, updatePageSearchIndex } from 'src/search/find-pages' <|file_sep|>original/src/page-storage/deletion.js await deletePageIfOrphaned({pageId}) } async function dele...
async function deletePageIfOrphaned({pageId}) { // Because of deduplication, different page objects may redirect to this // one, or this one may redirect to others. So we check for visits either // referring to this page object or to any equivalent ones. const pagesResult = await getEquivalentPages({pa...
<|file_sep|>src/page-storage/deletion.js.diff original: import { getEquivalentPages } from 'src/search/find-pages' updated: import { getEquivalentPages, updatePageSearchIndex } from 'src/search/find-pages' <|file_sep|>original/src/page-storage/deletion.js await deletePageIfOrphaned({pageId}) } async function dele...
a8a0f5760406429de82b0cebe3afb54a76237af9
src/page-storage/deletion.js
src/page-storage/deletion.js
JavaScript
<|file_sep|>original/.github/ISSUE_TEMPLATE/config.yml # Documentation for this file can be found at: # https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository blank_issues_enabled: false contact_links: - name: "💬 IRC: #pypa" url: https://kiwiirc.com/nextcli...
# Documentation for this file can be found at: # https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository blank_issues_enabled: false contact_links: - name: "💬 IRC: #pypa" url: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa about: Chat ...
<|file_sep|>original/.github/ISSUE_TEMPLATE/config.yml # Documentation for this file can be found at: # https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository blank_issues_enabled: false contact_links: - name: "💬 IRC: #pypa" url: https://kiwiirc.com/nextcli...
beddafb2e2a80e5fe7ab4983d473da0e64e1cfee
.github/ISSUE_TEMPLATE/config.yml
.github/ISSUE_TEMPLATE/config.yml
YAML
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt
Copyright (c) 2012 Abizer Nasir, Jungle Candy Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt Copyright (c) 2012 Abizer Nasir, Jungle Candy Software Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
b5b189ae582f76286ef69f813a460270366e0f50
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>app/controllers/connect.coffee.diff original: Q = require 'kew' nodeRedis = require 'redis' mysql = require 'mysql' config = require '../config' updated: Q = require 'kew' url = require 'url' redis = require 'redis' mysql = require 'mysql' config = require '../config' <|file_sep|>or...
### * - type (string) : 'production', 'development', 'testing' ### init: () -> # Connect to MySQL @mysql = mysql.createConnection config.mysql # Connect to Redis if process.env.REDISTOGO_URL rtg = url.parse(process.env.REDISTOGO_URL); console.log rtg @redis = redis.createCl...
<|file_sep|>app/controllers/connect.coffee.diff original: Q = require 'kew' nodeRedis = require 'redis' mysql = require 'mysql' config = require '../config' updated: Q = require 'kew' url = require 'url' redis = require 'redis' mysql = require 'mysql' config = require '../config' <|file_sep|>or...
18cc3147d735b4c0dfec8941c7f22dd6f5d107f6
app/controllers/connect.coffee
app/controllers/connect.coffee
CoffeeScript
<|file_sep|>original/RequestKit/JSONPostRouter.swift let data: NSData do { data = try NSJSONSerialization.dataWithJSONObject(params, options: NSJSONWritingOptions()) } catch { completion(json: nil, error: error) return nil } let task = session...
let data: NSData do { data = try NSJSONSerialization.dataWithJSONObject(params, options: NSJSONWritingOptions()) } catch { completion(json: nil, error: error) return nil } let task = session.uploadTaskWithRequest(request, fromData: data) { dat...
<|file_sep|>original/RequestKit/JSONPostRouter.swift let data: NSData do { data = try NSJSONSerialization.dataWithJSONObject(params, options: NSJSONWritingOptions()) } catch { completion(json: nil, error: error) return nil } let task = session...
bf2cc97b98f876e1564877186a0171054787f27c
RequestKit/JSONPostRouter.swift
RequestKit/JSONPostRouter.swift
Swift
<|file_sep|>CONTRIBUTORS.md.diff original: In alphabetical order: updated: In alphabetical order by lastname: <|file_sep|>CONTRIBUTORS.md.diff original: updated: - Joaquin Alcerro(@joaquinalcerro) - Desmond Bowe (@desmondmonster) <|file_sep|>original/CONTRIBUTORS.md # EEF Website Contributors The following contribu...
# EEF Website Contributors The following contributors have made the work in this project possible through their contributions and donation of life's most precious commodity... time. In alphabetical order by lastname: - Joaquin Alcerro(@joaquinalcerro) - Desmond Bowe (@desmondmonster) - Anthony Bullard (@gamebox) -...
<|file_sep|>CONTRIBUTORS.md.diff original: In alphabetical order: updated: In alphabetical order by lastname: <|file_sep|>CONTRIBUTORS.md.diff original: updated: - Joaquin Alcerro(@joaquinalcerro) - Desmond Bowe (@desmondmonster) <|file_sep|>original/CONTRIBUTORS.md # EEF Website Contributors The following contribu...
88fddef6c38fcd755eed95047fbc68caf49eb383
CONTRIBUTORS.md
CONTRIBUTORS.md
Markdown
<|file_sep|>opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/variant/io/json/mixin/VariantAnnotationMixin.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonAlias; <|file_sep|>opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/vari...
*/ package org.opencb.opencga.storage.core.variant.io.json.mixin; import com.fasterxml.jackson.annotation.JsonAlias; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.opencb.biodata.models.variant.avro.GeneCancerAssociation; import java.util.List; /** * Created by jacobo on 2/02/15. */ @J...
<|file_sep|>opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/variant/io/json/mixin/VariantAnnotationMixin.java.diff original: updated: import com.fasterxml.jackson.annotation.JsonAlias; <|file_sep|>opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/vari...
06456d15fc958856699f6767f718c9f75ba80718
opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/variant/io/json/mixin/VariantAnnotationMixin.java
opencga-storage/opencga-storage-core/src/main/java/org/opencb/opencga/storage/core/variant/io/json/mixin/VariantAnnotationMixin.java
Java
<|file_sep|>original/lib/tasks/panopticon.rake desc "Register campaign pages with panopticon" task :register => :environment do require 'gds_api/panopticon' logger = GdsApi::Base.logger = Logger.new(STDERR).tap { |l| l.level = Logger::INFO } logger.info "Registering with panopticon..." registerer =...
logger = GdsApi::Base.logger = Logger.new(STDERR).tap { |l| l.level = Logger::INFO } logger.info "Registering with panopticon..." registerer = GdsApi::Panopticon::Registerer.new(owning_app: "frontend") campaigns = [ RegisterableCampaign.new({ :title => "Automatic enrolment into a workplac...
<|file_sep|>original/lib/tasks/panopticon.rake desc "Register campaign pages with panopticon" task :register => :environment do require 'gds_api/panopticon' logger = GdsApi::Base.logger = Logger.new(STDERR).tap { |l| l.level = Logger::INFO } logger.info "Registering with panopticon..." registerer =...
d001518f52ea02e440158a2f6961bc271d4d5178
lib/tasks/panopticon.rake
lib/tasks/panopticon.rake
Ruby
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head <|file_sep|>updated/.travis.yml
language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head - 2.0.0
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head <|file_sep|>updated/.travis.yml language: ruby rvm: - 1.9.3 - jruby-19mode - jruby-head - 2.0.0
86defb3340bd3aab06e85ce88fb21d748f3064a3
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/spotify/api/inbox.rb.diff original: updated: # Post an array of tracks to a Spotify user's inbox. # # @example # tracks = [track_one, track_two] # tracks_pointer = FFI::MemoryPointer.new(Spotify::Track, tracks.length) # tracks_pointer.write_array_of_pointer(tracks) # ...
# end # inbox = Spotify.inbox_post_tracks(session, "burgestrand", tracks_pointer, tracks.length, "You must listen to these!", callback, nil) # # @param [Session] session # @param [String] username canonical username of recipient # @param [FFI::Pointer<Track>] tracks_pointer pointer to array ...
<|file_sep|>lib/spotify/api/inbox.rb.diff original: updated: # Post an array of tracks to a Spotify user's inbox. # # @example # tracks = [track_one, track_two] # tracks_pointer = FFI::MemoryPointer.new(Spotify::Track, tracks.length) # tracks_pointer.write_array_of_pointer(tracks) # ...
10e3f22445e5fb5880b5dbd3c2b99a7c6432ea5c
lib/spotify/api/inbox.rb
lib/spotify/api/inbox.rb
Ruby
<|file_sep|>original/spec/models/user_spec.rb require 'spec_helper' describe User do let(:user) { build(:user) } describe "#valid?" do describe "password" do it "password != password_confirmation is invalid" do user.password = "a" user.password_confirmation = "b" user.should_not ...
require 'spec_helper' describe User do let(:user) { build(:user) } describe "#valid?" do describe "password" do it "password != password_confirmation is invalid" do user.current_password = user.password user.password = "aaaaaaaa" user.password_confirmation = "bbbbbbbb" us...
<|file_sep|>original/spec/models/user_spec.rb require 'spec_helper' describe User do let(:user) { build(:user) } describe "#valid?" do describe "password" do it "password != password_confirmation is invalid" do user.password = "a" user.password_confirmation = "b" user.should_not ...
886c8be8e1236d76b9201badf693981744c6b497
spec/models/user_spec.rb
spec/models/user_spec.rb
Ruby
<|file_sep|>original/CTestConfig.cmake ## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## ...
## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## INCLUDE(CTest) set(CTEST_PROJECT_NAM...
<|file_sep|>original/CTestConfig.cmake ## This file should be placed in the root directory of your project. ## Then modify the CMakeLists.txt file in the root directory of your ## project to incorporate the testing dashboard. ## ## # The following are required to submit to the CDash dashboard: ## ENABLE_TESTING() ## ...
b3be42f11a5bca5c2e69961918ea252c839065a0
CTestConfig.cmake
CTestConfig.cmake
CMake
<|file_sep|>original/.eslintrc.json { "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true} } <|file_sep|>current/.eslintrc.json { "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true} } <|file_sep|>updated/.eslintrc.json
{ "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true}, "rules": { "prefer-arrow-callback": "off", "no-var": "off" } }
<|file_sep|>original/.eslintrc.json { "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true} } <|file_sep|>current/.eslintrc.json { "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true} } <|file_sep|>updated/.eslintrc.json { "root": true, "extends": "...
8c7fe42b89e33be84fef0b5994f637ec29bd482e
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>fund/src/main/java/cl/fatman/capital/fund/App.java.diff original: /** * Hello world! * */ updated: import java.time.LocalDate; <|file_sep|>original/fund/src/main/java/cl/fatman/capital/fund/App.java package cl.fatman.capital.fund; /** * Hello world! * */ public class App { public static void ma...
package cl.fatman.capital.fund; import java.time.LocalDate; public class App { public static void main( String[] args ) { Controller control = Controller.getInstance(); control.setUp(); System.out.println( "Starting application that load the funds data in the database."); LocalDate...
<|file_sep|>fund/src/main/java/cl/fatman/capital/fund/App.java.diff original: /** * Hello world! * */ updated: import java.time.LocalDate; <|file_sep|>original/fund/src/main/java/cl/fatman/capital/fund/App.java package cl.fatman.capital.fund; /** * Hello world! * */ public class App { public static void ma...
34c6947f3b887bc448fd9e373f3bd9ed955443ee
fund/src/main/java/cl/fatman/capital/fund/App.java
fund/src/main/java/cl/fatman/capital/fund/App.java
Java
<|file_sep|>original/requirements/dev.txt black==20.8b1; python_version>="3.6" channels>=2.0 isort~=5.7 pylava~=0.3.0 pytest~=6.2 pytest-cov~=2.11 <|file_sep|>current/requirements/dev.txt black==20.8b1; python_version>="3.6" channels>=2.0 isort~=5.7 pylava~=0.3.0 pytest~=6.2 pytest-cov~=2.11 <|file_sep|>updated/require...
black==20.8b1; python_version>="3.6" channels>=2.0 isort~=5.7; python_version>="3.6" pylava~=0.3.0 pytest~=6.2 pytest-cov~=2.11
<|file_sep|>original/requirements/dev.txt black==20.8b1; python_version>="3.6" channels>=2.0 isort~=5.7 pylava~=0.3.0 pytest~=6.2 pytest-cov~=2.11 <|file_sep|>current/requirements/dev.txt black==20.8b1; python_version>="3.6" channels>=2.0 isort~=5.7 pylava~=0.3.0 pytest~=6.2 pytest-cov~=2.11 <|file_sep|>updated/require...
e8beed2f2a8311344100ad1fce309fc75907a995
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>original/package.json ], "scripts": { "test": "./node_modules/.bin/grunt jshint execSpecsInNode" }, "description": "Official packaging of Jasmine's core files for use by Node.js projects.", "homepage": "http://jasmine.github.io", "main": "./lib/jasmine-core.js", "devDependencies": { "g...
], "scripts": { "test": "./node_modules/.bin/grunt jshint execSpecsInNode" }, "description": "Official packaging of Jasmine's core files for use by Node.js projects.", "homepage": "http://jasmine.github.io", "main": "./lib/jasmine-core.js", "devDependencies": { "glob": "~5.0.13", "grunt": "~0....
<|file_sep|>original/package.json ], "scripts": { "test": "./node_modules/.bin/grunt jshint execSpecsInNode" }, "description": "Official packaging of Jasmine's core files for use by Node.js projects.", "homepage": "http://jasmine.github.io", "main": "./lib/jasmine-core.js", "devDependencies": { "g...
a6b209bc2fdbb4396e96c15b205f1d400aa88420
package.json
package.json
JSON
<|file_sep|>packages/go/gore-and-ash.yaml.diff original: hash: f5f3d33b03349f99a1786602e2042b46196cb39ae044e48fa3bbce028b837051 updated: hash: ebbece87308317fdc83a6ecf1737ff3ebc2c716378af862ac1e45e9a5689c624 <|file_sep|>packages/go/gore-and-ash.yaml.diff original: updated: - '1.2.1.0' <|file_sep|>original/packages/go/...
time: ! '>=1.5.0.1' unordered-containers: ! '>=0.2.5.1' semigroups: ! '>=0.15' containers: ! '>=0.5.6.2' linear: ! '>=1.20.3' mtl: ! '>=2.2' hashable: ! '>=1.2.3.3' transformers: ! '>=0.4' random: ! '>=1.1' parallel: ! '>=3.2' deepseq: ! '>=1.4' profunctors: ! '>=4.3' all-versions: - '1.1.0.1' -...
<|file_sep|>packages/go/gore-and-ash.yaml.diff original: hash: f5f3d33b03349f99a1786602e2042b46196cb39ae044e48fa3bbce028b837051 updated: hash: ebbece87308317fdc83a6ecf1737ff3ebc2c716378af862ac1e45e9a5689c624 <|file_sep|>packages/go/gore-and-ash.yaml.diff original: updated: - '1.2.1.0' <|file_sep|>original/packages/go/...
1e687c3b8382ed562589a4bcfffa89298eda65e1
packages/go/gore-and-ash.yaml
packages/go/gore-and-ash.yaml
YAML
<|file_sep|>original/.travis.yml sudo: true services: - docker env: global: - DH_PROJECT=s6-ubuntu-base - DH_REPO=$DH_USER/$DH_PROJECT before_install: - sudo apt-get update -qq - sudo apt-get -y -qq -o Dpkg::Options::="--force-confnew" install docker-ce jobs: include: - stage: info - docke...
language: generic sudo: true services: - docker env: global: - DH_PROJECT=s6-ubuntu-base - DH_REPO=$DH_USER/$DH_PROJECT before_install: - sudo apt-get update -qq - sudo apt-get -y -qq -o Dpkg::Options::="--force-confnew" install docker-ce jobs: include: - stage: info - docker --version ...
<|file_sep|>original/.travis.yml sudo: true services: - docker env: global: - DH_PROJECT=s6-ubuntu-base - DH_REPO=$DH_USER/$DH_PROJECT before_install: - sudo apt-get update -qq - sudo apt-get -y -qq -o Dpkg::Options::="--force-confnew" install docker-ce jobs: include: - stage: info - docke...
120d592841699975d0f0cac31441ab5fb18040fa
.travis.yml
.travis.yml
YAML
<|file_sep|>bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml.diff original: <collection name="genotypes" referenced-type="Genotype" reverse-reference="snp"/> updated: <|file_sep|>original/bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml <class name="ValidationState" is-interface="true"> <att...
<classes> <class name="SNP" extends="SequenceFeature" is-interface="true"> <attribute name="alleles" type="java.lang.String"/> <attribute name="type" type="java.lang.String"/> <attribute name="uniqueLocation" type="java.lang.Boolean"/> <collection name="validations" referenced-type="ValidationSta...
<|file_sep|>bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml.diff original: <collection name="genotypes" referenced-type="Genotype" reverse-reference="snp"/> updated: <|file_sep|>original/bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml <class name="ValidationState" is-interface="true"> <att...
f58c49fe4e5b8e77f855a0c681aaa992b3442788
bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml
bio/sources/ensembl-snp-db/ensembl-snp-db_additions.xml
XML
<|file_sep|>original/apitest/src/test/resources/logback.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- The :daemon & :cli jars contain their own logback.xml config files, which causes chatty logback startup. To avoid chatty logback msgs during its configuration, pass logback.configurationFi...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- The :daemon & :cli jars contain their own logback.xml config files, which causes chatty logback startup. To avoid chatty logback msgs during its configuration, pass logback.configurationFile as a system property: -Dlogback.configurationFile...
<|file_sep|>original/apitest/src/test/resources/logback.xml <?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- The :daemon & :cli jars contain their own logback.xml config files, which causes chatty logback startup. To avoid chatty logback msgs during its configuration, pass logback.configurationFi...
343b14ec0a7d75be8da4896eba1ff607bf5490f5
apitest/src/test/resources/logback.xml
apitest/src/test/resources/logback.xml
XML
<|file_sep|>original/app/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.5 WebTest==2.0.29 factory-boy==2.9.2 # Lint and code style flake8==3.4.1 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==...
# Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.5 WebTest==2.0.29 factory-boy==2.9.2 # Lint and code style flake8==3.5.0 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==2.2.2 flake8-quotes==0.11.0 isort==4.2.15 pep8...
<|file_sep|>original/app/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.2.5 WebTest==2.0.29 factory-boy==2.9.2 # Lint and code style flake8==3.4.1 flake8-blind-except==0.1.1 flake8-debugger==1.4.0 flake8-docstrings==1.1.0 flake8-isort==...
676f9f27ebbfb311d51ba23b2b982c90e3d26c8f
app/requirements/dev.txt
app/requirements/dev.txt
Text
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 # Python linting mypy==0.701 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 ...
# Testing coverage==4.5.4 # Test coverage flake8==3.7.9 # Python linting mypy==0.750 # Static typing
<|file_sep|>original/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 # Python linting mypy==0.701 # Static typing <|file_sep|>current/requirements-test.txt # Testing coverage==4.5.4 # Test coverage flake8==3.7.9 ...
7249e0b485f730706f3e4fb477a0d4845bb4a742
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>package.json.diff original: "eslint": "^4.6.1", updated: <|file_sep|>original/package.json "author": "TeeSeal", "license": "MIT", "bugs": { "url": "https://github.com/TeeSeal/Haku/issues" }, "homepage": "https://github.com/TeeSeal/Haku#readme", "dependencies": { "axios": "^0.17.0", ...
"url": "https://github.com/TeeSeal/Haku/issues" }, "homepage": "https://github.com/TeeSeal/Haku#readme", "dependencies": { "axios": "^0.17.0", "common-tags": "^1.4.0", "discord-akairo": "^7.5.0", "discord.js": "github:hydrabolt/discord.js", "logr": "github:teeseal/logr", "moment": "^2....
<|file_sep|>package.json.diff original: "eslint": "^4.6.1", updated: <|file_sep|>original/package.json "author": "TeeSeal", "license": "MIT", "bugs": { "url": "https://github.com/TeeSeal/Haku/issues" }, "homepage": "https://github.com/TeeSeal/Haku#readme", "dependencies": { "axios": "^0.17.0", ...
838f63d41775e6fa40614f05da58a49d4ca3b7af
package.json
package.json
JSON
<|file_sep|>original/hasas_client/light-bulb-config.json { "unit_type": "LIGHT_BULB", "checkin_frequency": 10, "client_class": "hasas_client.LightBulbClient", "actuators": { "ac0": "hasas_client.interfaces.LightBulbActuator" }, } <|file_sep|>current/hasas_client/light-bulb-config.json { ...
{ "unit_type": "LIGHT_BULB", "checkin_frequency": 10, "client_class": "hasas_client.LightBulbClient", "actuators": { "ac0": "hasas_client.interfaces.LightBulbActuator" } }
<|file_sep|>original/hasas_client/light-bulb-config.json { "unit_type": "LIGHT_BULB", "checkin_frequency": 10, "client_class": "hasas_client.LightBulbClient", "actuators": { "ac0": "hasas_client.interfaces.LightBulbActuator" }, } <|file_sep|>current/hasas_client/light-bulb-config.json { ...
045d1c01409dd8e95464aea371c6483679646ac4
hasas_client/light-bulb-config.json
hasas_client/light-bulb-config.json
JSON
<|file_sep|>original/.asf.yaml - bigdata - c - cplusplus - csharp - dotnet - java - perl - php - python - ruby enabled_merge_buttons: merge: false rebase: true squash: true notifications: commits: commits@avro.apache.org issues: issues@avro.apache.org # Send...
- bigdata - c - cplusplus - csharp - dotnet - java - perl - php - python - ruby - rust enabled_merge_buttons: merge: false rebase: true squash: true notifications: commits: commits@avro.apache.org issues: issues@avro.apache.org # Send new/closed PR notif...
<|file_sep|>original/.asf.yaml - bigdata - c - cplusplus - csharp - dotnet - java - perl - php - python - ruby enabled_merge_buttons: merge: false rebase: true squash: true notifications: commits: commits@avro.apache.org issues: issues@avro.apache.org # Send...
fee1a73979b1f9e2b98e0797812f405c1ccb6615
.asf.yaml
.asf.yaml
YAML
<|file_sep|>original/packages/ng/ngx-export.yaml homepage: http://github.com/lyokha/nginx-haskell-module changelog-type: '' hash: d6c7b5bf9244bc38f307231b4e91ce42f757b8678715d0dac15460d4c0263047 test-bench-deps: {} maintainer: Alexey Radkov <alexey.radkov@gmail.com> synopsis: Helper module for Nginx haskell module chan...
homepage: http://github.com/lyokha/nginx-haskell-module changelog-type: '' hash: d02abcd1d1c9458ec03f8966a90143cd4353a41ed4e4d42f2f55f194abc01305 test-bench-deps: {} maintainer: Alexey Radkov <alexey.radkov@gmail.com> synopsis: Helper module for Nginx haskell module changelog: '' basic-deps: bytestring: ! '>=0.10.0.0...
<|file_sep|>original/packages/ng/ngx-export.yaml homepage: http://github.com/lyokha/nginx-haskell-module changelog-type: '' hash: d6c7b5bf9244bc38f307231b4e91ce42f757b8678715d0dac15460d4c0263047 test-bench-deps: {} maintainer: Alexey Radkov <alexey.radkov@gmail.com> synopsis: Helper module for Nginx haskell module chan...
895f03e26a50338a72c24cc0ccefd07d7f6ced2b
packages/ng/ngx-export.yaml
packages/ng/ngx-export.yaml
YAML
<|file_sep|>original/README.md ## Getting started 1. Clone this repository ```` # git clone git@github.com:uclouvain/osis-docker.git ```` 2. Initialize submodules ```` # git submodule update --init --remote --recursive ```` 3. Build containers ```` # docker-compose build ```` 4. start the database container and execu...
## Getting started 1. Clone this repository ```` # git clone git@github.com:uclouvain/osis-docker.git ```` 2. Initialize submodules ```` # git submodule update --init --remote --recursive # cp osis/.env.example osis/.env # cp osis-portal/.env.example osis-portal/.env ```` 3. Build containers ```` # docker-compose bui...
<|file_sep|>original/README.md ## Getting started 1. Clone this repository ```` # git clone git@github.com:uclouvain/osis-docker.git ```` 2. Initialize submodules ```` # git submodule update --init --remote --recursive ```` 3. Build containers ```` # docker-compose build ```` 4. start the database container and execu...
b52097570bb82a764da855cf97a9bb003416edd7
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt click==6.7 h5py==2.7.0 Keras>=2.0.0 matplotlib==2.0.2 notebook==5.0.0 numpy==1.13.1 pandas==0.20.3 Pillow==4.2.1 protobuf==3.3.0 requests==2.18.3 scipy==0.19.1 stevedore==1.25.0 <|file_sep|>current/requirements.txt click==6.7 h5py==2.7.0 Keras>=2.0.0 matplotlib==2.0.2 notebook==5....
click==6.7 h5py==2.7.0 Keras>=2.0.0 matplotlib==2.0.2 notebook==5.0.0 numpy==1.13.1 pandas==0.20.3 Pillow==4.2.1 protobuf==3.4.0 requests==2.18.3 scipy==0.19.1 stevedore==1.25.0
<|file_sep|>original/requirements.txt click==6.7 h5py==2.7.0 Keras>=2.0.0 matplotlib==2.0.2 notebook==5.0.0 numpy==1.13.1 pandas==0.20.3 Pillow==4.2.1 protobuf==3.3.0 requests==2.18.3 scipy==0.19.1 stevedore==1.25.0 <|file_sep|>current/requirements.txt click==6.7 h5py==2.7.0 Keras>=2.0.0 matplotlib==2.0.2 notebook==5....
1025ad2590f5001de2a61b16c90a76642ac3c65b
requirements.txt
requirements.txt
Text
<|file_sep|>app/models/components/course/experience_points_records_ability_component.rb.diff original: if user allow_staff_manage_experience_points_records allow_student_read_own_experience_points_records end updated: allow_manage_experience_points_records if course_user&.staff? allow_read_o...
# frozen_string_literal: true module Course::ExperiencePointsRecordsAbilityComponent include AbilityHost::Component def define_permissions allow_manage_experience_points_records if course_user&.staff? allow_read_own_experience_points_records if user super end private def allow_manage_experienc...
<|file_sep|>app/models/components/course/experience_points_records_ability_component.rb.diff original: if user allow_staff_manage_experience_points_records allow_student_read_own_experience_points_records end updated: allow_manage_experience_points_records if course_user&.staff? allow_read_o...
80db769d36b796ce70ce555f2f5c070b8410fc53
app/models/components/course/experience_points_records_ability_component.rb
app/models/components/course/experience_points_records_ability_component.rb
Ruby
<|file_sep|>original/app/views/events/_event.html.erb <% if event.start_at.future? %> (<%= distance_of_time_in_words_to_now event.start_at %> from now) <% end %> | <%= link_to "", event_url(event) + "#disqus_thread" %> </small></p> <p class="summary"> <%= event.summary %> ...
<% if event.start_at.future? %> (<%= distance_of_time_in_words_to_now event.start_at %> from now) <% end %> | <%= link_to "", event_url(event) + "#disqus_thread" %> </small></p> <p class="summary"> <%= event.summary %> <% if can? :manage, Event %> <%= link_to ...
<|file_sep|>original/app/views/events/_event.html.erb <% if event.start_at.future? %> (<%= distance_of_time_in_words_to_now event.start_at %> from now) <% end %> | <%= link_to "", event_url(event) + "#disqus_thread" %> </small></p> <p class="summary"> <%= event.summary %> ...
16308e8a59670209876e39c666ca4a81f5280d23
app/views/events/_event.html.erb
app/views/events/_event.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: ruby rvm: - rbx-18mode - rbx-19mode - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: ruby rvm: - rbx-18mode - rbx-19mode - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - ruby-head
ac05639da9055a244d4122073b16bfd72b57b3db
.travis.yml
.travis.yml
YAML
<|file_sep|>original/bower.json "jquery": "http://code.jquery.com/jquery-2.1.4.min.js", "jquery-placeholder": "2.0.7", "font-awesome": "4.4.0", "octicons": "3.3.0", "uri.js": "1.10.2", "retina.js": "~1.0.1", "css-element-queries": "git://github.com/marcj/css-element-queries.git#6bf1d4a38791b...
"jquery": "http://code.jquery.com/jquery-2.1.4.min.js", "jquery-placeholder": "2.0.7", "font-awesome": "4.4.0", "octicons": "3.3.0", "uri.js": "1.10.2", "retina.js": "~1.0.1", "css-element-queries": "git://github.com/marcj/css-element-queries.git#6bf1d4a38791b1306b68afe7aca1adf5d7e0b675", ...
<|file_sep|>original/bower.json "jquery": "http://code.jquery.com/jquery-2.1.4.min.js", "jquery-placeholder": "2.0.7", "font-awesome": "4.4.0", "octicons": "3.3.0", "uri.js": "1.10.2", "retina.js": "~1.0.1", "css-element-queries": "git://github.com/marcj/css-element-queries.git#6bf1d4a38791b...
960281241f10813449cd90f17d3abf33eb9b2d31
bower.json
bower.json
JSON
<|file_sep|>original/app/react/src/server/framework-preset-react-docgen.ts import { TransformOptions } from '@babel/core'; import { Configuration } from 'webpack'; type Docgen = 'react-docgen' | 'react-docgen-typescript'; interface TypescriptOptions { typescriptOptions?: { docgen?: Docgen }; } const DEFAULT_DOCGEN =...
import { TransformOptions } from '@babel/core'; import { Configuration } from 'webpack'; type Docgen = 'react-docgen' | 'react-docgen-typescript'; interface TypescriptOptions { typescriptOptions?: { docgen?: Docgen }; } const DEFAULT_DOCGEN = 'react-docgen'; export function babel( config: TransformOptions, { ty...
<|file_sep|>original/app/react/src/server/framework-preset-react-docgen.ts import { TransformOptions } from '@babel/core'; import { Configuration } from 'webpack'; type Docgen = 'react-docgen' | 'react-docgen-typescript'; interface TypescriptOptions { typescriptOptions?: { docgen?: Docgen }; } const DEFAULT_DOCGEN =...
688dc438d9674ede6ab737b1d106a4de08bb74d6
app/react/src/server/framework-preset-react-docgen.ts
app/react/src/server/framework-preset-react-docgen.ts
TypeScript
<|file_sep|>app/helpers/groups_helper.rb.diff original: def projects_with_lfs_enabled(group) lfs_enabled = group.projects.select(&:lfs_enabled?).size updated: def projects_with_lfs_enabled(group, status) if status lfs_status = group.projects.select(&:lfs_enabled?).size else lfs_status = grou...
else lfs_status = group.projects.select{ |p| !p.lfs_enabled? }.size end size = group.projects.size if lfs_status == size || lfs_status == 0 'on all projects' else "on #{lfs_status} out of #{size} projects" end end def group_lfs_status(group) status = group.lfs_enable...
<|file_sep|>app/helpers/groups_helper.rb.diff original: def projects_with_lfs_enabled(group) lfs_enabled = group.projects.select(&:lfs_enabled?).size updated: def projects_with_lfs_enabled(group, status) if status lfs_status = group.projects.select(&:lfs_enabled?).size else lfs_status = grou...
d0279ccba5c4a2cd8611ddec04eeff67e0e9f9c6
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
Ruby
<|file_sep|>original/src/system/tww.rs pub fn random() -> f64 { let random = unsafe { transmute::<Addr, extern "C" fn() -> f64>(0x80243b40) }; random() } pub fn cdyl_init_async() { let cdyl_init_async = unsafe { transmute::<Addr, extern "C" fn()>(0x80022A88) }; cdyl_init_async(); } pub fn get_frame_co...
pub fn random() -> f64 { let random = unsafe { transmute::<Addr, extern "C" fn() -> f64>(0x80243b40) }; random() } pub fn cdyl_init_async() { let cdyl_init_async = unsafe { transmute::<Addr, extern "C" fn()>(0x80022A88) }; cdyl_init_async(); } pub fn dmeter_rupy_init(addr: Addr) { let dmeter_rupy_...
<|file_sep|>original/src/system/tww.rs pub fn random() -> f64 { let random = unsafe { transmute::<Addr, extern "C" fn() -> f64>(0x80243b40) }; random() } pub fn cdyl_init_async() { let cdyl_init_async = unsafe { transmute::<Addr, extern "C" fn()>(0x80022A88) }; cdyl_init_async(); } pub fn get_frame_co...
724fb86c9d70369eef1a9a84f78354495c436115
src/system/tww.rs
src/system/tww.rs
Rust
<|file_sep|>basis/managers.py.diff original: updated: from .compat import DJANGO16 <|file_sep|>original/basis/managers.py from django.db import models class BasisModelManager(models.Manager): def get_query_set(self): return super(BasisModelManager, self).get_query_set().filter(deleted=False) <|file_sep|>...
from django.db import models from .compat import DJANGO16 if DJANGO16: class BasisModelManager(models.Manager): def get_queryset(self): return super(BasisModelManager, self).get_queryset().filter(deleted=False) else: class BasisModelManager(models.Manager): def get_query_set(self):...
<|file_sep|>basis/managers.py.diff original: updated: from .compat import DJANGO16 <|file_sep|>original/basis/managers.py from django.db import models class BasisModelManager(models.Manager): def get_query_set(self): return super(BasisModelManager, self).get_query_set().filter(deleted=False) <|file_sep|>...
1579eb8d2de5aa49ad7012ab08350659a20725e1
basis/managers.py
basis/managers.py
Python
<|file_sep|>original/package.json { "name": "vucoin", "version": "0.0.4", "description": "Node.js module to access ucoin server through its HTTP API", "main": "bin/vucoin", "directories": { "test": "test" }, "scripts": { "test": "mocha test/*.js" }, "repository": { "type": "git", "url"...
{ "name": "vucoin", "version": "0.0.4", "description": "Node.js module to access ucoin server through its HTTP API", "main": "index.js", "directories": { "test": "test" }, "scripts": { "test": "mocha test/*.js" }, "repository": { "type": "git", "url": "git@github.com:c-geek/vucoin.git"...
<|file_sep|>original/package.json { "name": "vucoin", "version": "0.0.4", "description": "Node.js module to access ucoin server through its HTTP API", "main": "bin/vucoin", "directories": { "test": "test" }, "scripts": { "test": "mocha test/*.js" }, "repository": { "type": "git", "url"...
264bed7e6d52789fa0d059a660b6a66d67fe83a8
package.json
package.json
JSON
<|file_sep|>original/lib/builderator/util/aws_exception.rb def initialize(task, exception) super(:fail, task, :red) @exception = exception end def operation @exception.context.operation_name end def parameters @exception.context.params end de...
def initialize(task, exception) super(:fail, task, :red) @exception = exception end def operation @exception.context.operation_name end def parameters @exception.context.params end def message "An error occured performing task #{ task...
<|file_sep|>original/lib/builderator/util/aws_exception.rb def initialize(task, exception) super(:fail, task, :red) @exception = exception end def operation @exception.context.operation_name end def parameters @exception.context.params end de...
880d43d45846d3f422b569b7a1f7cd769933b643
lib/builderator/util/aws_exception.rb
lib/builderator/util/aws_exception.rb
Ruby
<|file_sep|>original/templates/nsqadmin.conf.erb ## format of statsd gauge stats statsd_gauge_format = "stats.gauges.%s" ## time interval nsqd is configured to push to statsd (must match nsqd) statsd_interval = "60s" ## HTTP endpoint (fully qualified) to which POST notifications of admin actions will be sent notific...
## format of statsd gauge stats statsd_gauge_format = "stats.gauges.%s" ## time interval nsqd is configured to push to statsd (must match nsqd) statsd_interval = "60s" ## HTTP endpoint (fully qualified) to which POST notifications of admin actions will be sent notification_http_endpoint = "" ## nsqlookupd HTTP add...
<|file_sep|>original/templates/nsqadmin.conf.erb ## format of statsd gauge stats statsd_gauge_format = "stats.gauges.%s" ## time interval nsqd is configured to push to statsd (must match nsqd) statsd_interval = "60s" ## HTTP endpoint (fully qualified) to which POST notifications of admin actions will be sent notific...
06c38be594a02e796eed1bf019c8b6d0cab5b98f
templates/nsqadmin.conf.erb
templates/nsqadmin.conf.erb
HTML+ERB
<|file_sep|>original/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest==4.4.1 pytest-cov==2.7.1 <|file_sep|>current/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest==4.4.1 pytest-cov==2.7.1 <|file_sep|>updated/requirements-dev.txt
codecov==2.0.15 flake8==3.7.7 mock==3.0.5 pytest==4.4.1 pytest-cov==2.7.1
<|file_sep|>original/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest==4.4.1 pytest-cov==2.7.1 <|file_sep|>current/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.4 pytest==4.4.1 pytest-cov==2.7.1 <|file_sep|>updated/requirements-dev.txt codecov==2.0.15 flake8==3.7.7 mock==3.0.5 pytest...
fb8fb9b948e904b3990e067e4dbe25ed51d72014
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/.travis.yml - osx compiler: - clang sudo: false script: - python minipkg.py - source ~/.minipkg_profile after_success: - pkg_info - bzip2 --version - gtar --version - gzip --version - xz --version - autoconf --version - automake --version - gmake --version - libtool --vers...
compiler: - clang sudo: false script: - python minipkg.py - source ~/.minipkg_profile after_success: - pkg_info - bzip2 --version - gtar --version - gzip --version - xz --version - autoconf --version - automake --version - gmake --version - libtool --version - frama-c --version - spatch --ve...
<|file_sep|>original/.travis.yml - osx compiler: - clang sudo: false script: - python minipkg.py - source ~/.minipkg_profile after_success: - pkg_info - bzip2 --version - gtar --version - gzip --version - xz --version - autoconf --version - automake --version - gmake --version - libtool --vers...
17f19abe6a96f6949806373f217a233cf0f4996e
.travis.yml
.travis.yml
YAML
<|file_sep|>threadmanager.py.diff original: updated: def StopThread(self): self.Thread.stop() <|file_sep|>threadmanager.py.diff original: T.RestartThread() updated: T.Thread = T.RestartThread(T) <|file_sep|>threadmanager.py.diff original: T.StartThread() updated: <|file_sep|>threadmanager.py.diff original...
self.StartThread = start self.RestartThread = restart self.Thread = None def StopThread(self): self.Thread.stop() def CheckThreads(): for T in HelperThreads.values(): if not T.Thread.is_alive(): logsupport.Logs.Log("Thread for: "+T.name+" died; restarting",severity=ConsoleWarning) T.Thread = T.Resta...
<|file_sep|>threadmanager.py.diff original: updated: def StopThread(self): self.Thread.stop() <|file_sep|>threadmanager.py.diff original: T.RestartThread() updated: T.Thread = T.RestartThread(T) <|file_sep|>threadmanager.py.diff original: T.StartThread() updated: <|file_sep|>threadmanager.py.diff original...
c1343c392a45d2069b893841f82bf426462bef55
threadmanager.py
threadmanager.py
Python
<|file_sep|>original/scripts/license-template.txt /****************************************************************************** * Copyright (C) 2015, Kai Wolf * * All rights reserved. * * ...
// Copyright (C) 2015, Kai Wolf // All rights reserved. // // For the licensing terms see LICENSE file in the root directory. // For the list of contribtors see AUTHORS file in the root directory
<|file_sep|>original/scripts/license-template.txt /****************************************************************************** * Copyright (C) 2015, Kai Wolf * * All rights reserved. * * ...
9bef303faaa4f8158e0aa51de0b5a05c81bb3281
scripts/license-template.txt
scripts/license-template.txt
Text
<|file_sep|>original/docs/getting-started.rst ----- .. code-block:: bash flatten-tool -h will print general help information. .. code-block:: bash flatten-tool {create-template,unflatten} -h will print help information specific to that subcommand. Python Version Support ---------------------- This code ...
----- .. code-block:: bash flatten-tool -h will print general help information. .. code-block:: bash flatten-tool {create-template,flatten,unflatten} -h will print help information specific to that subcommand. Python Version Support ---------------------- This code supports Python 2.7 and Python 3.3 (an...
<|file_sep|>original/docs/getting-started.rst ----- .. code-block:: bash flatten-tool -h will print general help information. .. code-block:: bash flatten-tool {create-template,unflatten} -h will print help information specific to that subcommand. Python Version Support ---------------------- This code ...
0ba0296bcb0fddd540eb003bda92d1a4e4ad23aa
docs/getting-started.rst
docs/getting-started.rst
reStructuredText
<|file_sep|>original/src/js/chart-client.js function handleResponse(response) { if(response.ok) { return response.json(); } else { throw Error('unable to load data: ' + response.statusText); } } const assetsBaseUrl = document.documentElement.urlAssets; export class ChartClient { fetchWeightChartSpec()...
function handleResponse(response) { if(response.ok) { return response.json(); } else { throw Error('unable to load data: ' + response.statusText); } } const assetsBaseUrl = document.documentElement.dataset.urlAssets; export class ChartClient { fetchWeightChartSpec() { return fetch(assetsBaseUrl + ...
<|file_sep|>original/src/js/chart-client.js function handleResponse(response) { if(response.ok) { return response.json(); } else { throw Error('unable to load data: ' + response.statusText); } } const assetsBaseUrl = document.documentElement.urlAssets; export class ChartClient { fetchWeightChartSpec()...
17ffb693eabe0e3577ef8389a78625eb1aeeb362
src/js/chart-client.js
src/js/chart-client.js
JavaScript
<|file_sep|>django_evolution/compat/apps.py.diff original: updated: # Django >= 1.7 <|file_sep|>django_evolution/compat/apps.py.diff original: updated: # Django < 1.7 <|file_sep|>django_evolution/compat/apps.py.diff original: return apps.get_app(app_label) updated: return get_app(app_label) <|...
# Django < 1.7 get_apps = cache.get_apps apps = None def get_app(app_label, emptyOK=False): """Return the app with the given label. This returns the app from the app registry on Django >= 1.7, and from the old-style cache on Django < 1.7. The ``emptyOK`` argument is ignored for Django >...
<|file_sep|>django_evolution/compat/apps.py.diff original: updated: # Django >= 1.7 <|file_sep|>django_evolution/compat/apps.py.diff original: updated: # Django < 1.7 <|file_sep|>django_evolution/compat/apps.py.diff original: return apps.get_app(app_label) updated: return get_app(app_label) <|...
4e0ec0fdf791fc9af1e83171b54054bd53d5536b
django_evolution/compat/apps.py
django_evolution/compat/apps.py
Python
<|file_sep|>original/shell.nix let pkgs = import ./.; poetryEnv = pkgs.poetry2nix.mkPoetryEnv { projectDir = ./.; editablePackageSources = { slumba = ./slumba; }; }; in pkgs.mkShell { buildInputs = with pkgs; [ niv poetry poetryEnv sqlite ]; } <|file_sep|>current/shell.nix le...
let pkgs = import ./.; poetryEnv = pkgs.poetry2nix.mkPoetryEnv { projectDir = ./.; editablePackageSources = { slumba = ./slumba; }; }; in pkgs.mkShell { buildInputs = with pkgs; [ niv poetry poetryEnv sqlite rlwrap ]; }
<|file_sep|>original/shell.nix let pkgs = import ./.; poetryEnv = pkgs.poetry2nix.mkPoetryEnv { projectDir = ./.; editablePackageSources = { slumba = ./slumba; }; }; in pkgs.mkShell { buildInputs = with pkgs; [ niv poetry poetryEnv sqlite ]; } <|file_sep|>current/shell.nix le...
a058f058b007d294dd5db3dca6d606b72998bb18
shell.nix
shell.nix
Nix
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.7.1 - 3.0.0 - ruby-head gemfile: "gems.rb" addons: postgresql: "9.6" before_install: - nvm install 10 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database sleepdata_test;' -U postgres" - "rails db:migrate" matrix: allow_...
language: ruby rvm: - 2.7.1 - 3.0.0 - ruby-head gemfile: "gems.rb" addons: postgresql: "9.6" before_install: - nvm install 10 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database sleepdata_test;' -U postgres" - "rails db:migrate" matrix: allow_failures: - rvm: ruby-head
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.7.1 - 3.0.0 - ruby-head gemfile: "gems.rb" addons: postgresql: "9.6" before_install: - nvm install 10 before_script: - "ruby lib/initial_setup.rb ../.travis_setup" - "psql -c 'create database sleepdata_test;' -U postgres" - "rails db:migrate" matrix: allow_...
03fd62c25f9ba1cf662096d4317aa92873341030
.travis.yml
.travis.yml
YAML
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do get "/oauth/authorize" => "oauth2/authentication#authorize" post "/oauth/access_token" => "oauth2/authentication#access_token" get "/oauth/user" => "oauth2/users#show" end <|file_sep|>current/config/routes.rb Rails.application.routes.draw do ...
Rails.application.routes.draw do get "/oauth/authorize" => "oauth2/authentication#authorize" match "/oauth/access_token" => "oauth2/authentication#access_token", :via => [:get, :post] get "/oauth/user" => "oauth2/users#show" end
<|file_sep|>original/config/routes.rb Rails.application.routes.draw do get "/oauth/authorize" => "oauth2/authentication#authorize" post "/oauth/access_token" => "oauth2/authentication#access_token" get "/oauth/user" => "oauth2/users#show" end <|file_sep|>current/config/routes.rb Rails.application.routes.draw do ...
313adb52adeca92329b44c674b90721ddff39b2d
config/routes.rb
config/routes.rb
Ruby
<|file_sep|>original/.travis.yml - 7.1 - nightly matrix: allow_failures: - php: nightly env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update - composer update $COMPOSER_OPTS script: - ./vendor/bin/phpunit - ./tests/lint.sh git: depth: 1 <|file_sep|>current...
- 7.1 - nightly matrix: allow_failures: - php: nightly env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update --snapshot - composer update $COMPOSER_OPTS script: - ./vendor/bin/phpunit - ./tests/lint.sh git: depth: 1
<|file_sep|>original/.travis.yml - 7.1 - nightly matrix: allow_failures: - php: nightly env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" install: - composer self-update - composer update $COMPOSER_OPTS script: - ./vendor/bin/phpunit - ./tests/lint.sh git: depth: 1 <|file_sep|>current...
0161a4392f8b3a356d94b1718069e8312036da5d
.travis.yml
.travis.yml
YAML
<|file_sep|>boto3/compat.py.diff original: updated: import errno <|file_sep|>original/boto3/compat.py # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, eit...
# ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import sys import os import errno if sys.platform.startswith('win'): def rename_file(current_filename, new_filename): try: os.remove(new_filename) ...
<|file_sep|>boto3/compat.py.diff original: updated: import errno <|file_sep|>original/boto3/compat.py # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, eit...
174eb11bf4bdd65e269f0792ddcb1e589bca8b0d
boto3/compat.py
boto3/compat.py
Python
<|file_sep|>original/lib/schema_plus/active_record/attribute.rb module SchemaPlus module ActiveRecord module Attribute def self.included(base) base.alias_method_chain :original_value, :schema_plus end def original_value_with_schema_plus # prevent attempts to cast DB_DEFAULT to t...
module SchemaPlus module ActiveRecord module Attribute def self.included(base) base.alias_method_chain :original_value, :schema_plus end def original_value_with_schema_plus # prevent attempts to cast DB_DEFAULT to the attributes type. # We want to keep it as DB_DEFAULT s...
<|file_sep|>original/lib/schema_plus/active_record/attribute.rb module SchemaPlus module ActiveRecord module Attribute def self.included(base) base.alias_method_chain :original_value, :schema_plus end def original_value_with_schema_plus # prevent attempts to cast DB_DEFAULT to t...
86cc0873741ed183f9d21dd732569278cd6e2327
lib/schema_plus/active_record/attribute.rb
lib/schema_plus/active_record/attribute.rb
Ruby
<|file_sep|>djangoautoconf/model_utils/model_reversion.py.diff original: from reversion.revisions import default_revision_manager updated: def create_initial_version(obj): try: from reversion.revisions import default_revision_manager default_revision_manager.save_revision((obj,)) except: ...
def __init__(self, model_inst): super(PreSaveHandler, self).__init__() self.model_inst = model_inst def object_save_handler(self, sender, instance, **kwargs): # logging.error("======================================") if not (instance.pk is None): content_type = Conte...
<|file_sep|>djangoautoconf/model_utils/model_reversion.py.diff original: from reversion.revisions import default_revision_manager updated: def create_initial_version(obj): try: from reversion.revisions import default_revision_manager default_revision_manager.save_revision((obj,)) except: ...
30ed3800fdeec4aec399e6e0ec0760e46eb891ec
djangoautoconf/model_utils/model_reversion.py
djangoautoconf/model_utils/model_reversion.py
Python
<|file_sep|>environ.py.diff original: import os.path updated: import os <|file_sep|>environ.py.diff original: EXTRA_SCRIPTS_DIR = '/tmp/extra-scripts' updated: EXTRA_SCRIPTS_DIR = '/mnt' <|file_sep|>original/environ.py #!/usr/bin/env python # Copyright (c) 2012 Citrix Systems, Inc. # # This program is free software; yo...
#!/usr/bin/env python # Copyright (c) 2012 Citrix Systems, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation; version 2.1 only. with the special # exception on linking described in fi...
<|file_sep|>environ.py.diff original: import os.path updated: import os <|file_sep|>environ.py.diff original: EXTRA_SCRIPTS_DIR = '/tmp/extra-scripts' updated: EXTRA_SCRIPTS_DIR = '/mnt' <|file_sep|>original/environ.py #!/usr/bin/env python # Copyright (c) 2012 Citrix Systems, Inc. # # This program is free software; yo...
965a70bc4e8732fe02e83b9074698732253d5289
environ.py
environ.py
Python
<|file_sep|>exemplos/consultaCep.php.diff original: $cep = (isset($_GET['cep']) ? $_GET['cep'] : '95350130'); updated: $cep = (isset($_GET['cep']) ? $_GET['cep'] : '30170-010'); <|file_sep|>original/exemplos/consultaCep.php <?php require_once __DIR__ . '/bootstrap-exemplos.php'; $cep = (isset($_GET['cep']) ? $_GET['c...
<?php require_once __DIR__ . '/bootstrap-exemplos.php'; $cep = (isset($_GET['cep']) ? $_GET['cep'] : '30170-010'); $phpSigep = new PhpSigep\Services\SoapClient\Real(); $result = $phpSigep->consultaCep($cep); var_dump((array)$result); $dumpResult = ob_get_clean(); ?> <!doctype html> <html lang="pt"> <head> ...
<|file_sep|>exemplos/consultaCep.php.diff original: $cep = (isset($_GET['cep']) ? $_GET['cep'] : '95350130'); updated: $cep = (isset($_GET['cep']) ? $_GET['cep'] : '30170-010'); <|file_sep|>original/exemplos/consultaCep.php <?php require_once __DIR__ . '/bootstrap-exemplos.php'; $cep = (isset($_GET['cep']) ? $_GET['c...
3f76edb3892dcae79ebcbe944be89c19bb181edc
exemplos/consultaCep.php
exemplos/consultaCep.php
PHP
<|file_sep|>_includes/footnotes.html.diff original: <span itemprop="publisher" itemscope="itemscope" itemtype="http://schema.org/Organisation"> <img src="{{ 'logo.png' | prepend: site.baseurl | prepend: site.url }}"> updated: <span class="hidden" itemprop="publisher" itemscope="itemscope" itemtype="http...
<small class="footnotes"> {% if page.last_modified_at %} <i class="fa fa-info-circle"></i> This post was last updated on: <time class="entry-modified modified" datetime="{{ page.last_modified_at | date: "%Y-%m-%dT%H:%M:%S%z" }}" itemprop="dateModified" title="{{ page.last_modified_at | date: "%A, %B %e,...
<|file_sep|>_includes/footnotes.html.diff original: <span itemprop="publisher" itemscope="itemscope" itemtype="http://schema.org/Organisation"> <img src="{{ 'logo.png' | prepend: site.baseurl | prepend: site.url }}"> updated: <span class="hidden" itemprop="publisher" itemscope="itemscope" itemtype="http...
bd95ea2d47990e7490b009664a87035435ef91b2
_includes/footnotes.html
_includes/footnotes.html
HTML
<|file_sep|>original/OpenSim/Applications/Scale/test/CMakeLists.txt ${OpenSim_SOURCE_DIR}/Vendors ${XERCES_INCLUDE_DIR}) LINK_LIBRARIES( debug osimCommon_d optimized osimCommon debug osimSimulation_d optimized osimSimulation debug osimAnalyses_d optimized osimAnalyses) ADD_EXECUTABLE(testScale t...
${OpenSim_SOURCE_DIR}/Vendors ${XERCES_INCLUDE_DIR}) LINK_LIBRARIES( debug osimCommon_d optimized osimCommon debug osimSimulation_d optimized osimSimulation debug osimAnalyses_d optimized osimAnalyses) ADD_EXECUTABLE(testScale testScale.cpp) FILE(GLOB TEST_FILES *.osim *.xml *.sto *.mot *.trc) ...
<|file_sep|>original/OpenSim/Applications/Scale/test/CMakeLists.txt ${OpenSim_SOURCE_DIR}/Vendors ${XERCES_INCLUDE_DIR}) LINK_LIBRARIES( debug osimCommon_d optimized osimCommon debug osimSimulation_d optimized osimSimulation debug osimAnalyses_d optimized osimAnalyses) ADD_EXECUTABLE(testScale t...
07afcf4973cabb5484ca735c409bd58f9c0a87c6
OpenSim/Applications/Scale/test/CMakeLists.txt
OpenSim/Applications/Scale/test/CMakeLists.txt
Text
<|file_sep|>original/Source/SimpleITKMacro.h #ifndef __SimpleITKMacro_h #define __SimpleITKMacro_h #include <stdint.h> #include <itkImageBase.h> #include <itkImage.h> #include <itkLightObject.h> #include <itkSmartPointer.h> // Define macros to aid in the typeless layer typedef itk::ImageBase<3> SimpleImageBase; name...
#ifndef __SimpleITKMacro_h #define __SimpleITKMacro_h // Ideally, take the types from the C99 standard. However, // VS 8 does not have stdint.h, but they are defined anyway. #ifndef _MSC_VER #include <stdint.h> #endif #include <itkImageBase.h> #include <itkImage.h> #include <itkLightObject.h> #include <itkSmartPoi...
<|file_sep|>original/Source/SimpleITKMacro.h #ifndef __SimpleITKMacro_h #define __SimpleITKMacro_h #include <stdint.h> #include <itkImageBase.h> #include <itkImage.h> #include <itkLightObject.h> #include <itkSmartPointer.h> // Define macros to aid in the typeless layer typedef itk::ImageBase<3> SimpleImageBase; name...
6f3cd686426f580ef35015d7da331438e0a04cb6
Source/SimpleITKMacro.h
Source/SimpleITKMacro.h
C
<|file_sep|>original/PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs [TestFixture] public class GetById_Should { [TestCase("some id")] [TestCase("other id")] public void _CallRepository_GetByIdMethod(string id) { //Arrange var moc...
var mockedUnitOfWork = new Mock<IUnitOfWork>(); var userService = new UserService(mockedRepository.Object, mockedUnitOfWork.Object); //Act userService.GetUserById(id); //Assert mockedRepository.Verify(r => r.GetById(id), Times.Once);...
<|file_sep|>original/PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs [TestFixture] public class GetById_Should { [TestCase("some id")] [TestCase("other id")] public void _CallRepository_GetByIdMethod(string id) { //Arrange var moc...
e0636a8276788473ec1148516c2bf0a07f660cc3
PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs
PhotoLife/PhotoLife.Services.Tests/UserServiceTests/GetById_Should.cs
C#
<|file_sep|>original/lib/punchblock/protocol/rayo/event/dtmf.rb module Punchblock module Protocol class Rayo module Event class DTMF < RayoNode register :dtmf, :core def signal read_attr :signal end def inspect_attributes # :nodoc: [:...
module Protocol class Rayo module Event class DTMF < RayoNode register :dtmf, :core def signal read_attr :signal end def signal=(other) write_attr :signal, other end def inspect_attributes # :nodoc: [:...
<|file_sep|>original/lib/punchblock/protocol/rayo/event/dtmf.rb module Punchblock module Protocol class Rayo module Event class DTMF < RayoNode register :dtmf, :core def signal read_attr :signal end def inspect_attributes # :nodoc: [:...
d3f35787fe191b350fb75d72ed99c05dfba16144
lib/punchblock/protocol/rayo/event/dtmf.rb
lib/punchblock/protocol/rayo/event/dtmf.rb
Ruby
<|file_sep|>packages/md/mdp.yaml.diff original: hash: c32277d1dccd1a6d982f2fef3dfd60e15ddd7b015504e047043d0cf4b6440d27 updated: hash: eaf216d67921d9d1025d1fbd02458a9047dcb05148f2cfec667f31fd549e5866 <|file_sep|>packages/md/mdp.yaml.diff original: HTF: ==0.13.* base: ! '>=4 && <5' HUnit: -any containers: -any ...
synopsis: Tools for solving Markov Decision Processes. changelog: '' basic-deps: base: ! '>=4.8 && <4.10' containers: ! '>=0.5.8.1 && <0.6' vector: ==0.11.* mdp: -any all-versions: - '0.1.0.0' - '0.1.1.0' author: Patrick Steele latest: '0.1.1.0' description-type: haddock description: ! 'A library for formulatin...
<|file_sep|>packages/md/mdp.yaml.diff original: hash: c32277d1dccd1a6d982f2fef3dfd60e15ddd7b015504e047043d0cf4b6440d27 updated: hash: eaf216d67921d9d1025d1fbd02458a9047dcb05148f2cfec667f31fd549e5866 <|file_sep|>packages/md/mdp.yaml.diff original: HTF: ==0.13.* base: ! '>=4 && <5' HUnit: -any containers: -any ...
2a63e47282054e81f1bcce172ad857deaa66494c
packages/md/mdp.yaml
packages/md/mdp.yaml
YAML
<|file_sep|>app/views/areas/_form.html.haml.diff original: = f.submit data: {target: '#updateAreasModal', toggle: 'modal'} updated: = f.submit class: 'btn btn-primary', data: {target: '#updateAreasModal', toggle: 'modal'} <|file_sep|>original/app/views/areas/_form.html.haml = bootstrap_form_for(@area) do |f| = f....
= bootstrap_form_for(@area) do |f| = f.select :travel_status, Area::TravelStatus, label: 'Travel Status:' = f.collection_check_boxes :alert_message_ids, Message.alert, :id, :full_text, label: 'Alert Conditions' = f.collection_check_boxes :operational_message_ids, Message.operational, :id, :full_text, label: 'Ope...
<|file_sep|>app/views/areas/_form.html.haml.diff original: = f.submit data: {target: '#updateAreasModal', toggle: 'modal'} updated: = f.submit class: 'btn btn-primary', data: {target: '#updateAreasModal', toggle: 'modal'} <|file_sep|>original/app/views/areas/_form.html.haml = bootstrap_form_for(@area) do |f| = f....
09b4c8b93ac7a976dd79868866163d8b46e00037
app/views/areas/_form.html.haml
app/views/areas/_form.html.haml
Haml
<|file_sep|>original/dplace_app/static/js/directives.js angular.module('dplaceMapDirective', []) .directive('dplaceMap', function() { function link(scope, element, attrs) { element.append("<div id='mapdiv' style='width:1140px; height:480px;'></div>"); scope.map = $('#mapdiv').vectorM...
angular.module('dplaceMapDirective', []) .directive('dplaceMap', function() { function link(scope, element, attrs) { element.append("<div id='mapdiv' style='width:1140px; height:480px;'></div>"); scope.map = $('#mapdiv').vectorMap({ map: 'world_mill_en', ...
<|file_sep|>original/dplace_app/static/js/directives.js angular.module('dplaceMapDirective', []) .directive('dplaceMap', function() { function link(scope, element, attrs) { element.append("<div id='mapdiv' style='width:1140px; height:480px;'></div>"); scope.map = $('#mapdiv').vectorM...
9ff55d671c3155e454dee8df41d2e9320ea3320f
dplace_app/static/js/directives.js
dplace_app/static/js/directives.js
JavaScript
<|file_sep|>original/config/syringe.yml - @tokenFactory tokenFactory: class: Silktide\Reposition\QueryBuilder\QueryToken\TokenFactory repositoryManager: class: Silktide\Reposition\Repository\RepositoryManager arguments: - @defaultStorage - @queryBuilde...
class: Silktide\Reposition\QueryBuilder\QueryToken\TokenFactory repositoryManager: class: Silktide\Reposition\Repository\RepositoryManager arguments: - @defaultStorage - @queryBuilder - @defaultMetadataFactory - %repository.namespaces% ...
<|file_sep|>original/config/syringe.yml - @tokenFactory tokenFactory: class: Silktide\Reposition\QueryBuilder\QueryToken\TokenFactory repositoryManager: class: Silktide\Reposition\Repository\RepositoryManager arguments: - @defaultStorage - @queryBuilde...
9baa4a833adf550b6cf41b6ecf82d23d560acba4
config/syringe.yml
config/syringe.yml
YAML
<|file_sep|>original/.travis.yml - linux - osx compiler: - gcc - clang before_install: - 'ci/before_install.sh' env: global: matrix: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUILD_CORE_ONLY=ON BUILD_TYPE=Relea...
- linux - osx compiler: - gcc - clang before_install: - 'ci/before_install.sh' env: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUILD_CORE_ONLY=ON BUILD_TYPE=Release matrix: exclude: - os: osx compiler: gcc befor...
<|file_sep|>original/.travis.yml - linux - osx compiler: - gcc - clang before_install: - 'ci/before_install.sh' env: global: matrix: - BUILD_CORE_ONLY=OFF BUILD_TYPE=Debug - BUILD_CORE_ONLY=OFF BUILD_TYPE=Release - BUILD_CORE_ONLY=ON BUILD_TYPE=Debug - BUILD_CORE_ONLY=ON BUILD_TYPE=Relea...
7231e74340cc7ae9b8ef4a4921daaf2e2ae6194f
.travis.yml
.travis.yml
YAML
<|file_sep|>meta/main.yml.diff original: author: Alexandre Chaussier description: Install and configure Redis company: Infopen (http://www.infopen.pro) license: MIT min_ansible_version: 2.0 github_branch: master updated: author: 'Alexandre Chaussier' description: 'Install and configure Redis' company:...
--- galaxy_info: author: 'Alexandre Chaussier' description: 'Install and configure Redis' company: 'Infopen (http://www.infopen.pro)' license: 'MIT' min_ansible_version: '2.0' github_branch: 'master' platforms: - name: 'Ubuntu' versions: - 'trusty' galaxy_tags: - 'database' - ...
<|file_sep|>meta/main.yml.diff original: author: Alexandre Chaussier description: Install and configure Redis company: Infopen (http://www.infopen.pro) license: MIT min_ansible_version: 2.0 github_branch: master updated: author: 'Alexandre Chaussier' description: 'Install and configure Redis' company:...
8069cc6c55fd99175cd5663579d6b3ff0a756a78
meta/main.yml
meta/main.yml
YAML
<|file_sep|>original/pl0_cases/test_ref3.pas <|file_sep|>current/pl0_cases/test_ref3.pas <|file_sep|>updated/pl0_cases/test_ref3.pas
const x=20; var y, z, a: integer; function xel(var arg1, arg2: integer): integer; begin z := 2; arg1 := arg1 + arg2 + x end; begin y := 10; z := 9; a := xel(y, z); if y = 32 then write("reference argument 3 success.") else write("reference argument 3 failed.", a) ; end.
<|file_sep|>original/pl0_cases/test_ref3.pas <|file_sep|>current/pl0_cases/test_ref3.pas <|file_sep|>updated/pl0_cases/test_ref3.pas const x=20; var y, z, a: integer; function xel(var arg1, arg2: integer): integer; begin z := 2; arg1 := arg1 + arg2 + x end; begin y := 10; z := 9; a := xel(y, z); ...
b2fce612d2975adefd18ec9b1f1d24b3c2973c71
pl0_cases/test_ref3.pas
pl0_cases/test_ref3.pas
Pascal
<|file_sep|>original/appveyor.yml install: - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - ps: (new-object net.webclient).DownloadFile('https://github.com/nats-io/gnatsd/releases/download/v0.8.1/gnatsd-v0.8.1-windows-386.zip', 'gnatsd.zip') - ps: dir before_build: - nuget ...
install: - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - appveyor DownloadFile https://github.com/nats-io/gnatsd/releases/download/v0.8.1/gnatsd-v0.8.1-windows-386.zip - ps: dir before_build: - nuget - nuget restore build: project: NATS.sln
<|file_sep|>original/appveyor.yml install: - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - ps: (new-object net.webclient).DownloadFile('https://github.com/nats-io/gnatsd/releases/download/v0.8.1/gnatsd-v0.8.1-windows-386.zip', 'gnatsd.zip') - ps: dir before_build: - nuget ...
e7802ddcfcfc1a32859ea690a0d9ae6b3d3c8639
appveyor.yml
appveyor.yml
YAML
<|file_sep|>test/test-0.cpp.diff original: cout << "All Assignments: " << course.assignments.size() << endl; cout << "All Categories: " << course.categories.size() << endl; cout << "All Students: " << course.students.size() << endl; cout << "All Submitted: " << course.submitted.size() << endl; updated: // cou...
// cout << "All Assignments: " << course.assignments.size() << endl; // cout << "All Categories: " << course.categories.size() << endl; // cout << "All Students: " << course.students.size() << endl; // cout << "All Submitted: " << course.submitted.size() << endl; // // Test adding items to the db // Catego...
<|file_sep|>test/test-0.cpp.diff original: cout << "All Assignments: " << course.assignments.size() << endl; cout << "All Categories: " << course.categories.size() << endl; cout << "All Students: " << course.students.size() << endl; cout << "All Submitted: " << course.submitted.size() << endl; updated: // cou...
ce9518d449518523146ffdf2de7debae87ac85c2
test/test-0.cpp
test/test-0.cpp
C++
<|file_sep|>original/README.md resource. If webhook responds with an HTTP error, error is returned, thus blocking event from happening. ## Installation npm install resourceful-webhooks ## Usage Following example will request `127.0.0.1:8000` when `Resource` is created. ```js var resourceful = require('resource...
resource. If webhook responds with an HTTP error, error is returned, thus blocking event from happening. ## Installation npm install resourceful-webhooks ## Usage Following example will `POST` to `127.0.0.1:8000/?event=create` when `Resource` is created. Request body is the created document. ```js var resourc...
<|file_sep|>original/README.md resource. If webhook responds with an HTTP error, error is returned, thus blocking event from happening. ## Installation npm install resourceful-webhooks ## Usage Following example will request `127.0.0.1:8000` when `Resource` is created. ```js var resourceful = require('resource...
db8000b64e9c11da5fb094edeb9892cfdd6dc201
README.md
README.md
Markdown
<|file_sep|>original/yvs/set_pref.py user_prefs = shared.get_user_prefs() user_prefs[pref_id] = value_id # If new language is set, ensure that preferred version is updated also if pref_id == 'language': bible = shared.get_bible_data(language=value_id) user_prefs['version'] = bible['defa...
user_prefs = shared.get_user_prefs() user_prefs[pref_id] = value_id # If new language is set, ensure that preferred version is updated also if pref_id == 'language': bible = shared.get_bible_data(language=value_id) user_prefs['version'] = bible['default_version'] shared.set_user_pr...
<|file_sep|>original/yvs/set_pref.py user_prefs = shared.get_user_prefs() user_prefs[pref_id] = value_id # If new language is set, ensure that preferred version is updated also if pref_id == 'language': bible = shared.get_bible_data(language=value_id) user_prefs['version'] = bible['defa...
c209115dfb385cc167457aa87808b21a554f63cf
yvs/set_pref.py
yvs/set_pref.py
Python
<|file_sep|>original/requirements-dev.txt -e . coverage==4.3.4 flake8==3.2.1 isort==4.2.5 mccabe==0.6.0 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.12.1 py==1.4.32 pytest==3.0.6 pytest-django==3.1.2 tox==2.5.0 <|file_sep|>current/requirements-dev.txt -e . coverage==4.3.4 flake8==3.2.1 isort==4.2.5 mc...
-e . coverage==4.3.4 flake8==3.2.1 isort==4.2.5 mccabe==0.6.1 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.12.1 py==1.4.32 pytest==3.0.6 pytest-django==3.1.2 tox==2.5.0
<|file_sep|>original/requirements-dev.txt -e . coverage==4.3.4 flake8==3.2.1 isort==4.2.5 mccabe==0.6.0 pydocstyle==1.1.1 pep8==1.7.0 pep8-naming==0.4.1 pre-commit==0.12.1 py==1.4.32 pytest==3.0.6 pytest-django==3.1.2 tox==2.5.0 <|file_sep|>current/requirements-dev.txt -e . coverage==4.3.4 flake8==3.2.1 isort==4.2.5 mc...
a10365c527ade4c81c95544d9accd00449d43003
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>tasks/docs.js.diff original: updated: var srcPath = config.srcPath || 'src'; <|file_sep|>original/tasks/docs.js var docpad = require('docpad'); grunt.registerTask('docs', 'Compile with DocPad', function() { var done = this.async(); var config = grunt.config(this.name || 'docs'); // To...
var docpad = require('docpad'); grunt.registerTask('docs', 'Compile with DocPad', function() { var done = this.async(); var config = grunt.config(this.name || 'docs'); var srcPath = config.srcPath || 'src'; // To allow paths config to use patterns Object.keys(config).forEach(function(key) { ...
<|file_sep|>tasks/docs.js.diff original: updated: var srcPath = config.srcPath || 'src'; <|file_sep|>original/tasks/docs.js var docpad = require('docpad'); grunt.registerTask('docs', 'Compile with DocPad', function() { var done = this.async(); var config = grunt.config(this.name || 'docs'); // To...
f6bdbe363cd1edef2ea8acc8db3440413756bff9
tasks/docs.js
tasks/docs.js
JavaScript
<|file_sep|>original/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java <|file_sep|>current/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java <|file_sep|>updated/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java
/** * OpenCPS PKI is the open source PKI Integration software * Copyright (C) 2016-present OpenCPS community * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Licen...
<|file_sep|>original/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java <|file_sep|>current/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java <|file_sep|>updated/server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java /** * OpenCPS PKI is the open source PKI Integration software * Copy...
0f679ece37913da1a976083f196f26413a72265a
server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java
server/src/test/java/org/opencps/pki/PdfSignatureInfoTest.java
Java
<|file_sep|>original/paws_config.py client = tornado.httpclient.AsyncHTTPClient() resp = yield client.fetch(url) parsed = json.loads(resp.body.decode('utf-8')) if 'missing' in parsed['query']['globaluserinfo']: return None return parsed['query']['globaluserinfo']['id'] cached_uids = {} ...
client = tornado.httpclient.AsyncHTTPClient() resp = yield client.fetch(url) parsed = json.loads(resp.body.decode('utf-8')) if 'missing' in parsed['query']['globaluserinfo']: return None return parsed['query']['globaluserinfo']['id'] # These do not change, so let's cache them in memory c...
<|file_sep|>original/paws_config.py client = tornado.httpclient.AsyncHTTPClient() resp = yield client.fetch(url) parsed = json.loads(resp.body.decode('utf-8')) if 'missing' in parsed['query']['globaluserinfo']: return None return parsed['query']['globaluserinfo']['id'] cached_uids = {} ...
a2ea31300e614c27c3f99e079293728bee9fbcf4
paws_config.py
paws_config.py
Python
<|file_sep|>djangae/core/management/__init__.py.diff original: updated: import sys <|file_sep|>original/djangae/core/management/__init__.py def execute_from_command_line(argv=None): """Wraps Django's `execute_from_command_line` to initialize a djangae sandbox before running a management command. Note: T...
import djangae.sandbox as sandbox def execute_from_command_line(argv=None): """Wraps Django's `execute_from_command_line` to initialize a djangae sandbox before running a management command. Note: The '--sandbox' arg must come first. All other args are forwarded to Django as normal. """ ...
<|file_sep|>djangae/core/management/__init__.py.diff original: updated: import sys <|file_sep|>original/djangae/core/management/__init__.py def execute_from_command_line(argv=None): """Wraps Django's `execute_from_command_line` to initialize a djangae sandbox before running a management command. Note: T...
9cb485e97873eff66ba283f30765bb9c66a3c864
djangae/core/management/__init__.py
djangae/core/management/__init__.py
Python
<|file_sep|>original/flaskbb/templates/user/settings_layout.html <div class="col-sm-3"> <div class="sidebar"> <ul class="nav sidenav"> <li class="nav-header">Account Settings</li> {{ navlink('user.settings', 'Overview') }} {{ navlink('user.change_u...
</ul> <div class="row"> <div class="col-sm-3"> <div class="sidebar"> <ul class="nav sidenav"> <li class="nav-header">Account Settings</li> {{ navlink('user.settings', 'Overview') }} {{ navlink('user.change_user_details', 'Change User Details') }} ...
<|file_sep|>original/flaskbb/templates/user/settings_layout.html <div class="col-sm-3"> <div class="sidebar"> <ul class="nav sidenav"> <li class="nav-header">Account Settings</li> {{ navlink('user.settings', 'Overview') }} {{ navlink('user.change_u...
02f750e194c60948574b98659046f317613e8519
flaskbb/templates/user/settings_layout.html
flaskbb/templates/user/settings_layout.html
HTML
<|file_sep|>ext/ffi_c/Pointer.h.diff original: updated: /* * Copyright (c) 2008, 2009, Wayne Meissner * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source cod...
#ifndef RBFFI_POINTER_H #define RBFFI_POINTER_H #ifdef __cplusplus extern "C" { #endif #include "AbstractMemory.h" extern void rbffi_Pointer_Init(VALUE moduleFFI); extern VALUE rbffi_Pointer_NewInstance(void* addr); extern VALUE rbffi_PointerClass; extern VALUE rbffi_NullPointerSingleton; #ifdef __cplusplus } #end...
<|file_sep|>ext/ffi_c/Pointer.h.diff original: updated: /* * Copyright (c) 2008, 2009, Wayne Meissner * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source cod...
4020b05b515c5a486de3224739e370dedfb5c005
ext/ffi_c/Pointer.h
ext/ffi_c/Pointer.h
C
<|file_sep|>original/requirements/doc.txt docutils==0.14 releases==1.4.1 sphinx==1.7.1 alagitpull==0.0.19 <|file_sep|>current/requirements/doc.txt docutils==0.14 releases==1.4.1 sphinx==1.7.1 alagitpull==0.0.19 <|file_sep|>updated/requirements/doc.txt
docutils==0.14 releases==1.4.1 sphinx==1.7.2 alagitpull==0.0.19
<|file_sep|>original/requirements/doc.txt docutils==0.14 releases==1.4.1 sphinx==1.7.1 alagitpull==0.0.19 <|file_sep|>current/requirements/doc.txt docutils==0.14 releases==1.4.1 sphinx==1.7.1 alagitpull==0.0.19 <|file_sep|>updated/requirements/doc.txt docutils==0.14 releases==1.4.1 sphinx==1.7.2 alagitpull==0.0.19
74ae07c589dd7839668e16c816ce1fba3aef6a94
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/.travis.yml elixir: - 1.3.4 otp_release: - 18.3 branches: only: - master - staging - trying install: - mix do local.rebar --force, local.hex --force, deps.get script: - if [ $TYPE = test ]; then mix test; fi - if [ $TYPE = dogma ]; then mix dogma; fi - if [ $TYPE...
elixir: - 1.3.4 otp_release: - 18.3 branches: only: - master - staging - trying cache: directories: - _build - deps install: - mix do local.rebar --force, local.hex --force, deps.get script: - if [ $TYPE = test ]; then mix test; fi - if [ $TYPE = dogma ]; then mix dogma; fi
<|file_sep|>original/.travis.yml elixir: - 1.3.4 otp_release: - 18.3 branches: only: - master - staging - trying install: - mix do local.rebar --force, local.hex --force, deps.get script: - if [ $TYPE = test ]; then mix test; fi - if [ $TYPE = dogma ]; then mix dogma; fi - if [ $TYPE...
5771e92f0eccaf9b744a2dabf6df4d3adfe4226c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/circle.yml machine: xcode: version: "7.3" dependencies: override: - bin/carthage-bootstrap-if-needed cache_directories: - "Carthage" test: override: - bin/test <|file_sep|>current/circle.yml machine: xcode: version: "7.3" dependencies: override: - bin/carthage...
machine: xcode: version: "8.0" dependencies: override: - bin/carthage-bootstrap-if-needed cache_directories: - "Carthage" test: override: - bin/test
<|file_sep|>original/circle.yml machine: xcode: version: "7.3" dependencies: override: - bin/carthage-bootstrap-if-needed cache_directories: - "Carthage" test: override: - bin/test <|file_sep|>current/circle.yml machine: xcode: version: "7.3" dependencies: override: - bin/carthage...
adc838696f190fd88419d1dbedb435c171bfed19
circle.yml
circle.yml
YAML
<|file_sep|>parserscripts/phage.py.diff original: supported_databases = { updated: SUPPORTED_DATABASES = { <|file_sep|>original/parserscripts/phage.py } def __init__(self, raw_text, phage_finder): self.raw = raw_text.strip() self.refseq = None self.name = None self.db = ...
} def __init__(self, raw_text, phage_finder): self.raw = raw_text.strip() self.refseq = None self.name = None self.db = None self._parse_phage(raw_text, phage_finder) def _parse_phage(self, raw_text, phage_finder): for db, regex in Phage.SUPPORTED_DATABASES....
<|file_sep|>parserscripts/phage.py.diff original: supported_databases = { updated: SUPPORTED_DATABASES = { <|file_sep|>original/parserscripts/phage.py } def __init__(self, raw_text, phage_finder): self.raw = raw_text.strip() self.refseq = None self.name = None self.db = ...
ba983dea1e20409d403a86d62c300ea3d257b58a
parserscripts/phage.py
parserscripts/phage.py
Python
<|file_sep|>original/.forestry/settings.yml create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors - type: document path: config.toml label: Configuration match: "**/*" upload_dir: '' public_path: '' front_matter_path: https://res.cloudinary.com/jamstatic/im...
create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors - type: document path: config.toml label: Configuration upload_dir: '' public_path: '' front_matter_path: https://res.cloudinary.com/jamstatic/image/upload/c_scale,f_auto,q_auto,w_1200 use_front_matter_pat...
<|file_sep|>original/.forestry/settings.yml create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors - type: document path: config.toml label: Configuration match: "**/*" upload_dir: '' public_path: '' front_matter_path: https://res.cloudinary.com/jamstatic/im...
3f4a95c787c36812beab48266f03be946edf3e39
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/README.md drone-io-experiment =================== Messing around with drone.io.. <|file_sep|>current/README.md drone-io-experiment =================== Messing around with drone.io.. <|file_sep|>updated/README.md
drone-io-experiment =================== ![Build Status](https://drone.io/github.com/darnould/drone_io_experiment/status.png)](https://drone.io/github.com/darnould/drone_io_experiment/latest) Messing around with drone.io..
<|file_sep|>original/README.md drone-io-experiment =================== Messing around with drone.io.. <|file_sep|>current/README.md drone-io-experiment =================== Messing around with drone.io.. <|file_sep|>updated/README.md drone-io-experiment =================== ![Build Status](https://drone.io/github.com/d...
d179c5386f7914fbee0d6ab466c2b6603a454352
README.md
README.md
Markdown
<|file_sep|>original/src/optimizers/sgd.jl * rate: learning rate * momentum: momentum coefficient """ type SGD rate::Float64 momentum::Float64 states::ObjectIdDict end function SGD(rate, momentum=0.0) SGD(rate, momentum, ObjectIdDict()) end @compat function (opt::SGD){T}(data::Array{T}, grad::Array{T...
* rate: learning rate * momentum: momentum coefficient """ type SGD rate::Float64 momentum::Float64 states::ObjectIdDict end function SGD(rate; momentum=0.0) SGD(rate, momentum, ObjectIdDict()) end @compat function (opt::SGD){T}(data::Array{T}, grad::Array{T}) if opt.momentum != 0.0 state...
<|file_sep|>original/src/optimizers/sgd.jl * rate: learning rate * momentum: momentum coefficient """ type SGD rate::Float64 momentum::Float64 states::ObjectIdDict end function SGD(rate, momentum=0.0) SGD(rate, momentum, ObjectIdDict()) end @compat function (opt::SGD){T}(data::Array{T}, grad::Array{T...
bc8eeaa69a8fb40bed111d748f26c34b8597ce14
src/optimizers/sgd.jl
src/optimizers/sgd.jl
Julia
<|file_sep|>jsdoc-conf.json.diff original: "opts": { "readme": "README.md", "recurse": true }, "plugins": [ "plugins/markdown" updated: "opts": { "readme": "README.md", "recurse": true }, "plugins": [ "plugins/markdown" ], "source": { "excludePattern": "(^|\...
"source": { "excludePattern": "(^|\\/|\\\\)_", "include": [ "lib", "spec" ], "includePattern": ".+\\.js(doc)?$" }, "tags": { "allowUnknownTags": true, "dictionaries": [ "jsdoc", "closure" ] }, "templates": { "cleverLinks": false, "monospaceLinks": fa...
<|file_sep|>jsdoc-conf.json.diff original: "opts": { "readme": "README.md", "recurse": true }, "plugins": [ "plugins/markdown" updated: "opts": { "readme": "README.md", "recurse": true }, "plugins": [ "plugins/markdown" ], "source": { "excludePattern": "(^|\...
2e43dace9cf56532034cd719260ec9d124ed0202
jsdoc-conf.json
jsdoc-conf.json
JSON
<|file_sep|>original/app/models/concerns/application_userstamp_concern.rb # frozen_string_literal: true module ApplicationUserstampConcern extend ActiveSupport::Concern module ClassMethods # Bring forward the userstamp association definitions # TODO: Remove after lowjoel/activerecord-userstamp#27 is closed...
# Bring forward the userstamp association definitions # TODO: Remove after lowjoel/activerecord-userstamp#27 is closed def inherited(klass) super klass.class_eval do add_userstamp_associations({}) end end def add_userstamp_associations(options) options.reverse_merge...
<|file_sep|>original/app/models/concerns/application_userstamp_concern.rb # frozen_string_literal: true module ApplicationUserstampConcern extend ActiveSupport::Concern module ClassMethods # Bring forward the userstamp association definitions # TODO: Remove after lowjoel/activerecord-userstamp#27 is closed...
63864fbb91c6effc9792c8b694058b4ce7bcb247
app/models/concerns/application_userstamp_concern.rb
app/models/concerns/application_userstamp_concern.rb
Ruby
<|file_sep|>original/README.rst Welcome! Pawesome! ================== Example project for the EuroPython talk `Release Management with Devpi`_ Upload to Devpi --------------- The following command sequence will upload code and documetation to the given Devpi server. Packages are uploaded as wheels and source di...
Welcome! Pawesome! ================== Example project for the EuroPython talk `Release Management with Devpi`_ The following command sequence will upload code and documetation to the given Devpi server. Packages are uploaded as wheels and source distributions. Upload settings are defined in `setup.cfg`. .. code::...
<|file_sep|>original/README.rst Welcome! Pawesome! ================== Example project for the EuroPython talk `Release Management with Devpi`_ Upload to Devpi --------------- The following command sequence will upload code and documetation to the given Devpi server. Packages are uploaded as wheels and source di...
2c401323fb04d2fb30949ae8be617b3d32f73b8e
README.rst
README.rst
reStructuredText
<|file_sep|>src/raster/warp.rs.diff original: use gdal_sys::{self, CPLErr, GDALRIOResampleAlg}; updated: use gdal_sys::{self, CPLErr, GDALResampleAlg}; <|file_sep|>original/src/raster/warp.rs use errors::*; pub fn reproject(src: &Dataset, dst: &Dataset) -> Result<()> { let rv = unsafe { gdal_sys::GDALRepr...
use errors::*; pub fn reproject(src: &Dataset, dst: &Dataset) -> Result<()> { let rv = unsafe { gdal_sys::GDALReprojectImage( src._c_ptr(), null(), dst._c_ptr(), null(), GDALResampleAlg::GRA_Bilinear, 0.0, ...
<|file_sep|>src/raster/warp.rs.diff original: use gdal_sys::{self, CPLErr, GDALRIOResampleAlg}; updated: use gdal_sys::{self, CPLErr, GDALResampleAlg}; <|file_sep|>original/src/raster/warp.rs use errors::*; pub fn reproject(src: &Dataset, dst: &Dataset) -> Result<()> { let rv = unsafe { gdal_sys::GDALRepr...
0363f0c874c49564931d6ff07ba9ec27059bffcd
src/raster/warp.rs
src/raster/warp.rs
Rust
<|file_sep|>original/packages/cdparanoia/cdparanoia_9.8alpha.bb PR ="r2" LICENSE="GPL" SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ file://fixes.patch;patch=1 \ file://Makefile.patch;patch=1" S="${WORKDIR}/cdparanoia-III-alpha9.8" inherit autotools do_install() { oe...
PR ="r2" LICENSE="GPL" SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ file://fixes.patch;patch=1 \ file://Makefile.patch;patch=1" S="${WORKDIR}/cdparanoia-III-alpha9.8" PARALLEL_MAKE = "" inherit autotools do_install() { oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/...
<|file_sep|>original/packages/cdparanoia/cdparanoia_9.8alpha.bb PR ="r2" LICENSE="GPL" SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ file://fixes.patch;patch=1 \ file://Makefile.patch;patch=1" S="${WORKDIR}/cdparanoia-III-alpha9.8" inherit autotools do_install() { oe...
383f8b67a383ae36ea1a54d525eb49d936b1afaf
packages/cdparanoia/cdparanoia_9.8alpha.bb
packages/cdparanoia/cdparanoia_9.8alpha.bb
BitBake
<|file_sep|>original/index.html layout: default body-class: index body-head-content: <meta property='og:title' content='Complete Guide to the Best Free Fonts'> <meta property='og:image' content='https://beautifulwebtype.com/assets/images/card.png'> <link rel='preload' href='/assets/fonts/alegreya-sans/AlegreyaSan...
layout: default body-class: index body-head-content: <meta property='og:title' content='Complete Guide to the Best Free Fonts'> <meta property='og:image' content='https://beautifulwebtype.com/assets/images/card.png'> <link rel='preload' href='/assets/fonts/alegreya-sans/AlegreyaSans-Italic.woff2' as='font' type='...
<|file_sep|>original/index.html layout: default body-class: index body-head-content: <meta property='og:title' content='Complete Guide to the Best Free Fonts'> <meta property='og:image' content='https://beautifulwebtype.com/assets/images/card.png'> <link rel='preload' href='/assets/fonts/alegreya-sans/AlegreyaSan...
16233484ff49409b96283033d8be77ea7cc406bd
index.html
index.html
HTML
<|file_sep|>original/.travis.yml language: ruby cache: bundler env: - CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas-base-dev script: bundle exec rake compile...
language: ruby cache: bundler env: - CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas-base-dev script: bundle exec rake compile && bundle exec rake spec notific...
<|file_sep|>original/.travis.yml language: ruby cache: bundler env: - CPLUS_INCLUDE_PATH=/usr/include/atlas C_INCLUDE_PATH=/usr/include/atlas rvm: - "1.9.2" - "1.9.3" - "2.0.0" - "2.1.0" before_install: - sudo apt-get update -qq - sudo apt-get install -qq libatlas-base-dev script: bundle exec rake compile...
4be2444f15681db7481de4589a23e39f5c1018f5
.travis.yml
.travis.yml
YAML
<|file_sep|>app/assets/stylesheets/bootstrap_and_overrides.css.less.diff original: background-color: #5cb85c; updated: background-color: @brand-success; <|file_sep|>original/app/assets/stylesheets/bootstrap_and_overrides.css.less // Override bootstrap LESS vars before import. @import "twitter/bootstrap.less"; .badg...
// Override bootstrap LESS vars before import. @import "twitter/bootstrap.less"; .badge-success { background-color: @brand-success; } .badge-info { background-color: @brand-info; } .btn-toolbar { margin-bottom: 10px; } .dropdown-menu { li .section-header { padding-left: 10px; color: #888; }
<|file_sep|>app/assets/stylesheets/bootstrap_and_overrides.css.less.diff original: background-color: #5cb85c; updated: background-color: @brand-success; <|file_sep|>original/app/assets/stylesheets/bootstrap_and_overrides.css.less // Override bootstrap LESS vars before import. @import "twitter/bootstrap.less"; .badg...
297c9fbea0ec3e5253f963f470f271354e1b76e9
app/assets/stylesheets/bootstrap_and_overrides.css.less
app/assets/stylesheets/bootstrap_and_overrides.css.less
Less
<|file_sep|>.travis.yml.diff original: - rbx updated: - rbx-3 <|file_sep|>original/.travis.yml language: ruby sudo: false rvm: - 2.1 - 2.2 - ruby-head - jruby - rbx matrix: allow_failures: - rvm: rbx-2 addons: code_climate: repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8 after_suc...
language: ruby sudo: false rvm: - 2.1 - 2.2 - ruby-head - jruby - rbx-3 matrix: allow_failures: - rvm: rbx-3 addons: code_climate: repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8 after_success: - bundle exec codeclimate-test-reporter notifications: slack: secure: IfKhtia5n...
<|file_sep|>.travis.yml.diff original: - rbx updated: - rbx-3 <|file_sep|>original/.travis.yml language: ruby sudo: false rvm: - 2.1 - 2.2 - ruby-head - jruby - rbx matrix: allow_failures: - rvm: rbx-2 addons: code_climate: repo_token: 2a03fa37ce5a5cb21bb117a736be5d83dcf9f1c3ea2b248f7af4c0a7b330d8c8 after_suc...
41a2c04cb59e32decff693e35150464a36266d19
.travis.yml
.travis.yml
YAML
<|file_sep|>original/appveyor.yml build: false environment: global: BINSTAR_USER: menpo BINSTAR_KEY: secure: fyETJrtllCxpbmu5FLz5KVnRW1qLEfSmZa5GVSIzoWEPejhD/a2kWdhbhRYj1rTj matrix: - PYTHON_VERSION: 2.7 - PYTHON_VERSION: 3.4 - PYTHON_VERSION: 3.5 platform: - x86 - x64 init: - ps:...
build: false environment: global: BINSTAR_USER: menpo BINSTAR_KEY: secure: fyETJrtllCxpbmu5FLz5KVnRW1qLEfSmZa5GVSIzoWEPejhD/a2kWdhbhRYj1rTj matrix: - PYTHON_VERSION: 2.7 - PYTHON_VERSION: 3.5 platform: - x86 - x64 init: - ps: Start-FileDownload 'https://raw.githubusercontent.com/menpo...
<|file_sep|>original/appveyor.yml build: false environment: global: BINSTAR_USER: menpo BINSTAR_KEY: secure: fyETJrtllCxpbmu5FLz5KVnRW1qLEfSmZa5GVSIzoWEPejhD/a2kWdhbhRYj1rTj matrix: - PYTHON_VERSION: 2.7 - PYTHON_VERSION: 3.4 - PYTHON_VERSION: 3.5 platform: - x86 - x64 init: - ps:...
5e7985ef72798ffcd980d68533e0369c2f9e44cf
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/test/compile.cases.js module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], [...
module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], ['upload', 'заебенить'], ['!x === y || z ...
<|file_sep|>original/test/compile.cases.js module.exports = [ ['console.log();', 'красноглазое.чмо() нах'], /** * Вхождения внутри слова * * https://github.com/samgozman/YoptaScript/issues/30 */ ['checking', 'checking'], ['form', 'form'], ['settings', 'settings'], ['undefined', 'undefined'], [...
14cf493762967912977c465bf63ec5c8509d7109
test/compile.cases.js
test/compile.cases.js
JavaScript