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|>README.md.diff original: corylucasdotcom updated: Cory Lucas DOT Com <|file_sep|>original/README.md corylucasdotcom =============== corylucas.com Jekyll project <|file_sep|>current/README.md Cory Lucas DOT Com =============== corylucas.com Jekyll project <|file_sep|>updated/README.md
Cory Lucas DOT Com =============== ![build status](https://api.travis-ci.org/coryflucas/corylucasdotcom.svg?branch=master) This is the Jekyll project for my [personal website](http://www.corylucas.com)
<|file_sep|>README.md.diff original: corylucasdotcom updated: Cory Lucas DOT Com <|file_sep|>original/README.md corylucasdotcom =============== corylucas.com Jekyll project <|file_sep|>current/README.md Cory Lucas DOT Com =============== corylucas.com Jekyll project <|file_sep|>updated/README.md Cory Lucas DOT Com ==...
de2c62f94cbbc2a67a85814da2ad571c221294f6
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "test": "mocha -R spec --bail" updated: "test": "mocha --bail" <|file_sep|>original/package.json "type": "git", "url": "git://github.com/IndigoUnited/node-p-throttler" }, "bugs": { "url": "http://github.com/IndigoUnited/node-p-throttler/issues" }, "key...
"type": "git", "url": "git://github.com/IndigoUnited/node-p-throttler" }, "bugs": { "url": "http://github.com/IndigoUnited/node-p-throttler/issues" }, "keywords": [ "promise", "throttler", "trottle", "deferred", "worker", "tasks", "parallel" ], "author": "IndigoUnited...
<|file_sep|>package.json.diff original: "test": "mocha -R spec --bail" updated: "test": "mocha --bail" <|file_sep|>original/package.json "type": "git", "url": "git://github.com/IndigoUnited/node-p-throttler" }, "bugs": { "url": "http://github.com/IndigoUnited/node-p-throttler/issues" }, "key...
cd1475c14a33f9228d3fec5fdb05edc1b0ec6e6e
package.json
package.json
JSON
<|file_sep|>original/src/Definition/ConfigProcessor.php namespace Overblog\GraphQLBundle\Definition; use Overblog\GraphQLBundle\Definition\ConfigProcessor\ConfigProcessorInterface; final class ConfigProcessor { /** * @var ConfigProcessorInterface[] */ private array $processors; public function...
namespace Overblog\GraphQLBundle\Definition; use Overblog\GraphQLBundle\Definition\ConfigProcessor\ConfigProcessorInterface; final class ConfigProcessor { /** * @var ConfigProcessorInterface[] */ private array $processors = []; public function __construct(iterable $processors) { fo...
<|file_sep|>original/src/Definition/ConfigProcessor.php namespace Overblog\GraphQLBundle\Definition; use Overblog\GraphQLBundle\Definition\ConfigProcessor\ConfigProcessorInterface; final class ConfigProcessor { /** * @var ConfigProcessorInterface[] */ private array $processors; public function...
d934f3da1363008e8a966dce6dfcbe8406ba0769
src/Definition/ConfigProcessor.php
src/Definition/ConfigProcessor.php
PHP
<|file_sep|>original/lib/remotely_exceptional.rb require "remotely_exceptional/version" require "remotely_exceptional/exceptions" require "remotely_exceptional/handler" require "remotely_exceptional/matcher" require "remotely_exceptional/remote_handling" # The namespace for the RemotelyExceptional gem. module Remotely...
require "remotely_exceptional/version" require "remotely_exceptional/exceptions" require "remotely_exceptional/handler" require "remotely_exceptional/matcher" require "remotely_exceptional/remote_handling" # The namespace for the RemotelyExceptional gem. module RemotelyExceptional end
<|file_sep|>original/lib/remotely_exceptional.rb require "remotely_exceptional/version" require "remotely_exceptional/exceptions" require "remotely_exceptional/handler" require "remotely_exceptional/matcher" require "remotely_exceptional/remote_handling" # The namespace for the RemotelyExceptional gem. module Remotely...
8d83e707c0afb6816357e1c2b29f0382e92c2f71
lib/remotely_exceptional.rb
lib/remotely_exceptional.rb
Ruby
<|file_sep|>original/src/config.lisp ;; Common Lisp Script ;; Manoel Vilela (defpackage :lisp-chat/config (:use :cl) (:export :*debug* :*host* :*port*)) (in-package :lisp-chat/config) (defparameter *debug* t "Run application in debug mode with extra info in terminal") (defparameter *host* "...
;; Common Lisp Script ;; Manoel Vilela (defpackage :lisp-chat/config (:use :cl) (:export :*debug* :*host* :*port*)) (in-package :lisp-chat/config) (defparameter *debug* t "Run application in debug mode with extra info in terminal") (defparameter *host* "bikelis.com" "Host used in server and...
<|file_sep|>original/src/config.lisp ;; Common Lisp Script ;; Manoel Vilela (defpackage :lisp-chat/config (:use :cl) (:export :*debug* :*host* :*port*)) (in-package :lisp-chat/config) (defparameter *debug* t "Run application in debug mode with extra info in terminal") (defparameter *host* "...
8a1e1809633517b6ac7debb18087b848b0061086
src/config.lisp
src/config.lisp
Common Lisp
<|file_sep|>original/scripts/ci.sh #!/usr/bin/env bash set -e xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiOS -sdk iphonesimulator -destination "name=iPhone SE" test | xcpretty <|file_sep|>current/scripts/ci.sh #!/usr/bin/env bash set -e xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiO...
#!/usr/bin/env bash set -e xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiOS -sdk iphonesimulator -destination "name=iPhone SE" test | xcpretty && exit ${PIPESTATUS[0]}
<|file_sep|>original/scripts/ci.sh #!/usr/bin/env bash set -e xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiOS -sdk iphonesimulator -destination "name=iPhone SE" test | xcpretty <|file_sep|>current/scripts/ci.sh #!/usr/bin/env bash set -e xcodebuild -workspace EmonCMSiOS.xcworkspace -scheme EmonCMSiO...
756ea94a0bc69869392193d4bbf4af22fffacaa0
scripts/ci.sh
scripts/ci.sh
Shell
<|file_sep|>src/Domain/Maintenance.js.diff original: updated: twoWeeks: "twoWeeks", oneMonth: "oneMonth", <|file_sep|>src/Domain/Maintenance.js.diff original: updated: twoWeeks: 20160, oneMonth: 43200, <|file_sep|>original/src/Domain/Maintenance.js }; export const MaintenanceCaptions = { off: "Of...
}; export const MaintenanceCaptions = { off: "Off", quarterHour: "15 min", oneHour: "1 hour", threeHours: "3 hours", sixHours: "6 hours", oneDay: "1 day", oneWeek: "1 week", twoWeeks: "2 weeks", oneMonth: "1 month", }; export type Maintenance = $Keys<typeof Maintenances>; export f...
<|file_sep|>src/Domain/Maintenance.js.diff original: updated: twoWeeks: "twoWeeks", oneMonth: "oneMonth", <|file_sep|>src/Domain/Maintenance.js.diff original: updated: twoWeeks: 20160, oneMonth: 43200, <|file_sep|>original/src/Domain/Maintenance.js }; export const MaintenanceCaptions = { off: "Of...
d367dfbd8e097419d12de4eed828881fee2b48df
src/Domain/Maintenance.js
src/Domain/Maintenance.js
JavaScript
<|file_sep|>original/app/uploaders/avatar_uploader.rb def default_url image_path("#{Cloudsdale.config['asset_url']}/assets/fallback/#{mounted_as}/" + [version_name, "#{model.avatar_namespace}.png"].compact.join('_')) end after :store, :purge_from_cdn after :remove, :purge_from_cdn protected # Interna...
def default_url image_path("#{Cloudsdale.config['asset_url']}/assets/fallback/#{mounted_as}/" + [version_name, "#{model.avatar_namespace}.png"].compact.join('_')) end after :store, :purge_from_cdn after :remove, :purge_from_cdn protected # Internal: Clears the CDN of any records associated to previou...
<|file_sep|>original/app/uploaders/avatar_uploader.rb def default_url image_path("#{Cloudsdale.config['asset_url']}/assets/fallback/#{mounted_as}/" + [version_name, "#{model.avatar_namespace}.png"].compact.join('_')) end after :store, :purge_from_cdn after :remove, :purge_from_cdn protected # Interna...
e2b7c64bb30b3c6ec5027af9668970e87f07ec94
app/uploaders/avatar_uploader.rb
app/uploaders/avatar_uploader.rb
Ruby
<|file_sep|>test/CMakeLists.txt.diff original: ADD_EXECUTABLE (test_compress test_compress.cpp) updated: add_executable(test_compress test_compress.cpp) <|file_sep|>test/CMakeLists.txt.diff original: IF (CMAKE_COMPILER_IS_GNUCXX) ADD_DEFINITIONS (-std=c++0x) ELSE() ADD_DEFINITIONS(-DMOOR_STATIC) ENDIF() updated: if...
add_executable(test_compress test_compress.cpp) if(CMAKE_COMPILER_IS_GNUCXX) add_definitions (-std=c++0x) else() add_definitions(-DMOOR_STATIC) endif() include_directories(${PROJECT_SOURCE_DIR}) target_link_libraries(test_compress moor_static) target_link_libraries(test_compress ${ADDITIONAL_LIBS}) #SET_TARGET_PR...
<|file_sep|>test/CMakeLists.txt.diff original: ADD_EXECUTABLE (test_compress test_compress.cpp) updated: add_executable(test_compress test_compress.cpp) <|file_sep|>test/CMakeLists.txt.diff original: IF (CMAKE_COMPILER_IS_GNUCXX) ADD_DEFINITIONS (-std=c++0x) ELSE() ADD_DEFINITIONS(-DMOOR_STATIC) ENDIF() updated: if...
a1fdd1a61ac979d16dbd6a04fb3715dbf9a9f2c0
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>original/noelia.md --- title: Noelia permalink: "/noelia/" layout: page --- ### Información de contacto ### * [GitHub](https://github.com/nvdaes) * [Correo electrónico](mailto:nrm1977@gmail.com) <|file_sep|>current/noelia.md --- title: Noelia permalink: "/noelia/" layout: page --- ### Información de cont...
--- title: Noelia permalink: "/noelia/" layout: page --- ### Información de contacto ### * [GitHub](https://github.com/nvdaes) * [Correo electrónico](mailto:nrm1977@gmail.com) ### Manifiestos firmados ### * [El Manifiesto Pos-Meritocracia](https://postmeritocracy.org/es/)
<|file_sep|>original/noelia.md --- title: Noelia permalink: "/noelia/" layout: page --- ### Información de contacto ### * [GitHub](https://github.com/nvdaes) * [Correo electrónico](mailto:nrm1977@gmail.com) <|file_sep|>current/noelia.md --- title: Noelia permalink: "/noelia/" layout: page --- ### Información de cont...
f51f83353e0d63bceef0c8405582330c3a56c19c
noelia.md
noelia.md
Markdown
<|file_sep|>original/.travis.yml language: d #compiler: # - dmd install: # dmd # dub - DMD_VER=2.064.2 - DMD=dmd_${DMD_VER}-0_amd64.deb - DUB_VER=0.9.21-rc.2 - DUB=dub-${DUB_VER}-linux-x86_64 - wget http://downloads.dlang.org/releases/2013/${DMD} - sudo dpkg -i ${DMD} || true - sudo apt-get -y upda...
language: d #compiler: # - dmd install: # dmd # dub - DMD_VER=2.064.2 - DMD=dmd_${DMD_VER}-0_amd64.deb - DUB_VER=0.9.21-rc.4 - DUB=dub-${DUB_VER}-linux-x86_64 - wget http://downloads.dlang.org/releases/2013/${DMD} - sudo dpkg -i ${DMD} || true - sudo apt-get -y update - sudo apt-get -fy install ...
<|file_sep|>original/.travis.yml language: d #compiler: # - dmd install: # dmd # dub - DMD_VER=2.064.2 - DMD=dmd_${DMD_VER}-0_amd64.deb - DUB_VER=0.9.21-rc.2 - DUB=dub-${DUB_VER}-linux-x86_64 - wget http://downloads.dlang.org/releases/2013/${DMD} - sudo dpkg -i ${DMD} || true - sudo apt-get -y upda...
0114d6713f863c2a3526de6990b471be2f64a663
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/notifier/README.md <|file_sep|>current/lib/notifier/README.md <|file_sep|>updated/lib/notifier/README.md
The code in the following subdirectories comes from https://github.com/DmitryKoterov/dklab_realsync, unmodified. It is being redistrubuted under GPL, which it was originally provided under. For more information on GPL, please see https://www.gnu.org/licenses/gpl-3.0.en.html.
<|file_sep|>original/lib/notifier/README.md <|file_sep|>current/lib/notifier/README.md <|file_sep|>updated/lib/notifier/README.md The code in the following subdirectories comes from https://github.com/DmitryKoterov/dklab_realsync, unmodified. It is being redistrubuted under GPL, which it was originally provided unde...
9ce945fb8f995ac87b8b64603e03e53f938fec49
lib/notifier/README.md
lib/notifier/README.md
Markdown
<|file_sep|>system/db/driver/MYSQLI.php.diff original: updated: namespace DB\Driver; <|file_sep|>system/db/driver/MYSQLI.php.diff original: class DB_MYSQLI implements IDriver updated: class MYSQLI implements IDriver <|file_sep|>system/db/driver/MYSQLI.php.diff original: $this->mysqli = new mysq...
private $mysqli; public function connect($host, $user, $password) { $this->mysqli = new \mysqli($host, $user, $password); } public function database($name) { $this->mysqli->select_db($name); } public function query($sql) ...
<|file_sep|>system/db/driver/MYSQLI.php.diff original: updated: namespace DB\Driver; <|file_sep|>system/db/driver/MYSQLI.php.diff original: class DB_MYSQLI implements IDriver updated: class MYSQLI implements IDriver <|file_sep|>system/db/driver/MYSQLI.php.diff original: $this->mysqli = new mysq...
e7e0b2e749572bfba458256c706659332bf3775b
system/db/driver/MYSQLI.php
system/db/driver/MYSQLI.php
PHP
<|file_sep|>data/transition-sites/ukvi.yml.diff original: updated: - contact-ukba.homeoffice.gov.uk <|file_sep|>original/data/transition-sites/ukvi.yml --- site: ukvi whitehall_slug: uk-visas-and-immigration host: www.ukba.homeoffice.gov.uk tna_timestamp: 20140110181512 homepage: https://www.gov.uk/government/organisa...
whitehall_slug: uk-visas-and-immigration host: www.ukba.homeoffice.gov.uk tna_timestamp: 20140110181512 homepage: https://www.gov.uk/government/organisations/uk-visas-and-immigration aliases: - bia.homeoffice.gov.uk - biapreview.homeoffice.gov.uk - contact-ukba.homeoffice.gov.uk - ind.homeoffice.gov.uk - origin.ukba.ho...
<|file_sep|>data/transition-sites/ukvi.yml.diff original: updated: - contact-ukba.homeoffice.gov.uk <|file_sep|>original/data/transition-sites/ukvi.yml --- site: ukvi whitehall_slug: uk-visas-and-immigration host: www.ukba.homeoffice.gov.uk tna_timestamp: 20140110181512 homepage: https://www.gov.uk/government/organisa...
d15a72f586db5e086beeb7ebcb84e34bf34b54a5
data/transition-sites/ukvi.yml
data/transition-sites/ukvi.yml
YAML
<|file_sep|>app/views/ezine/agents/nodes/page/index.html.erb.diff original: <li> updated: <li class="add"> <|file_sep|>app/views/ezine/agents/nodes/page/index.html.erb.diff original: <li> updated: <li class="update"> <|file_sep|>original/app/views/ezine/agents/nodes/page/index.html.erb <ul class="ezine-pages"> ...
<ul class="ezine-pages"> <li class="add"> <%= link_to t('ezine.entry_type.add'), @cur_node.url + 'add.html' %> </li> <li class="update"> <%= link_to t('ezine.entry_type.update'), @cur_node.url + 'update.html' %> </li> <li class="delete"> <%= link_to t('ezine.entry_type.delete'), @cur_node.url +...
<|file_sep|>app/views/ezine/agents/nodes/page/index.html.erb.diff original: <li> updated: <li class="add"> <|file_sep|>app/views/ezine/agents/nodes/page/index.html.erb.diff original: <li> updated: <li class="update"> <|file_sep|>original/app/views/ezine/agents/nodes/page/index.html.erb <ul class="ezine-pages"> ...
b18d3bdeee65515b3e0d97021dc42db58ec8e8c0
app/views/ezine/agents/nodes/page/index.html.erb
app/views/ezine/agents/nodes/page/index.html.erb
HTML+ERB
<|file_sep|>original/org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/matching/FalseLiteralTermMatchPattern.java package org.metaborg.meta.lang.dynsem.interpreter.nodes.matching; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.sourc...
package org.metaborg.meta.lang.dynsem.interpreter.nodes.matching; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.source.SourceSection; public abstract class FalseLiteralTermMatchPattern extends LiteralMatchPattern { public FalseLiteralTermMatchPattern(SourceSection source) { super...
<|file_sep|>original/org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/matching/FalseLiteralTermMatchPattern.java package org.metaborg.meta.lang.dynsem.interpreter.nodes.matching; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.sourc...
814dafdb495b83eaab5dc9d44b8397ba10f807f7
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/matching/FalseLiteralTermMatchPattern.java
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/matching/FalseLiteralTermMatchPattern.java
Java
<|file_sep|>README.md.diff original: Vulkan Header files and API registry updated: Vulkan header files and API registry <|file_sep|>original/README.md # Vulkan-Headers Vulkan Header files and API registry ## Repository Content The contents of this repository are largely obtained from other repositories and are colle...
The contents of this repository are largely obtained from other repositories and are collected, coordinated, and curated here. The projects for these repositories are: - [KhronosGroup/Vulkan-Docs](https://github.com/KhronosGroup/Vulkan-Docs) - Core Vulkan headers and Registry - [KhronosGroup/Vulkan-Hpp](https://gi...
<|file_sep|>README.md.diff original: Vulkan Header files and API registry updated: Vulkan header files and API registry <|file_sep|>original/README.md # Vulkan-Headers Vulkan Header files and API registry ## Repository Content The contents of this repository are largely obtained from other repositories and are colle...
f54e45b92374b99de8556cacffc3602a03187b68
README.md
README.md
Markdown
<|file_sep|>original/SwiftyDropbox.podspec s.version = '4.8.2' s.summary = 'Dropbox Swift SDK for API v2' s.homepage = 'https://dropbox.com/developers/' s.license = 'MIT' s.author = { 'Stephen Cobbe' => 'scobbe@dropbox.com' } s.source = { :git => 'https://github.com/dropbox/Sw...
s.summary = 'Dropbox Swift SDK for API v2' s.homepage = 'https://dropbox.com/developers/' s.license = 'MIT' s.author = { 'Stephen Cobbe' => 'scobbe@dropbox.com' } s.source = { :git => 'https://github.com/dropbox/SwiftyDropbox.git', :tag => s.version } s.source_files = 'Source/Swif...
<|file_sep|>original/SwiftyDropbox.podspec s.version = '4.8.2' s.summary = 'Dropbox Swift SDK for API v2' s.homepage = 'https://dropbox.com/developers/' s.license = 'MIT' s.author = { 'Stephen Cobbe' => 'scobbe@dropbox.com' } s.source = { :git => 'https://github.com/dropbox/Sw...
435c29d61b921b6c44debe4b2ee22830c1f992e2
SwiftyDropbox.podspec
SwiftyDropbox.podspec
Ruby
<|file_sep|>original/README.md # Migration tool: from Heroku to Scalingo in a minute ## Roadmap * First version includes: * Scalingo app creation * Get heroku app environment and set it to scalingo's new app * Heroku repository cloning + add of scalingo remote + push to scalingo master <|file_sep|>current/READM...
# Migration tool: from Heroku to Scalingo in a minute ## Roadmap * First version includes: * Scalingo app creation * Get heroku app environment and set it to scalingo's new app * Heroku repository cloning + add of scalingo remote + push to scalingo master ## Installation You can install the binary by: * Downl...
<|file_sep|>original/README.md # Migration tool: from Heroku to Scalingo in a minute ## Roadmap * First version includes: * Scalingo app creation * Get heroku app environment and set it to scalingo's new app * Heroku repository cloning + add of scalingo remote + push to scalingo master <|file_sep|>current/READM...
a43c2681ca240e8991a7707e1038fade5abf92bc
README.md
README.md
Markdown
<|file_sep|>src/rygel/rygel-media-object.vala.diff original: updated: // You can keep both a unowned and owned ref to parent of this MediaObject. // In most cases, one will only need to keep an unowned ref to avoid cyclic // references since usually parent container will keep refs to child items. // Ho...
using GUPnP; /** * Represents a media object (container and item). */ public abstract class Rygel.MediaObject : GLib.Object { public string id; public string title; // You can keep both a unowned and owned ref to parent of this MediaObject. // In most cases, one will only need to keep an unowned re...
<|file_sep|>src/rygel/rygel-media-object.vala.diff original: updated: // You can keep both a unowned and owned ref to parent of this MediaObject. // In most cases, one will only need to keep an unowned ref to avoid cyclic // references since usually parent container will keep refs to child items. // Ho...
9efb735a3f86755004f9f189cd6846bd28b64aba
src/rygel/rygel-media-object.vala
src/rygel/rygel-media-object.vala
Vala
<|file_sep|>original/roles/mysql/tasks/main.yml --- - include_vars: mysql.yml - name: ensure that packages are installed apt: name: "{{ item }}" state: present with_items: "{{ packages }}" become: Yes - name: Start the MySQL service service: name: mariadb-server state: started <|file_sep|>cu...
--- - include_vars: mysql.yml - name: ensure that packages are installed apt: name: "{{ item }}" state: present with_items: "{{ packages }}" become: Yes - name: Start the MySQL service service: name: mariadb state: started
<|file_sep|>original/roles/mysql/tasks/main.yml --- - include_vars: mysql.yml - name: ensure that packages are installed apt: name: "{{ item }}" state: present with_items: "{{ packages }}" become: Yes - name: Start the MySQL service service: name: mariadb-server state: started <|file_sep|>cu...
ded0700591a4457a9586d64112c7487fa0654b0e
roles/mysql/tasks/main.yml
roles/mysql/tasks/main.yml
YAML
<|file_sep|>original/spec/lib/champaign_queue/clients/sqs_spec.rb require 'rails_helper' describe ChampaignQueue::Clients::Sqs do context "with SQS_QUEUE_URL" do it "delivers payload to AWS SQS Queue" do expected_arguments = { queue_url: "http://example.com", message_body: {foo: :bar}.to_j...
require 'rails_helper' describe ChampaignQueue::Clients::Sqs do context "with SQS_QUEUE_URL" do xit "delivers payload to AWS SQS Queue" do expected_arguments = { queue_url: "http://example.com", message_body: {foo: :bar}.to_json } expect_any_instance_of(Aws::SQS::Client).to( ...
<|file_sep|>original/spec/lib/champaign_queue/clients/sqs_spec.rb require 'rails_helper' describe ChampaignQueue::Clients::Sqs do context "with SQS_QUEUE_URL" do it "delivers payload to AWS SQS Queue" do expected_arguments = { queue_url: "http://example.com", message_body: {foo: :bar}.to_j...
c6d1906a8c3c1ce76ba05e5f384f6714c212a135
spec/lib/champaign_queue/clients/sqs_spec.rb
spec/lib/champaign_queue/clients/sqs_spec.rb
Ruby
<|file_sep|>src/article/shared/createDemoVfs.js.diff original: updated: import { DefaultDOMElement } from 'substance' <|file_sep|>src/article/shared/createDemoVfs.js.diff original: export default function createDemoVfs (seedXML) { updated: export default function createDemoVfs () { let dom = DefaultDOMElement.parseX...
import { DefaultDOMElement } from 'substance' import { Vfs } from '../../dar' import { EMPTY_JATS } from '../ArticleConstants' export default function createDemoVfs () { let dom = DefaultDOMElement.parseXML(EMPTY_JATS) // add an empty paragraph into the empty body let $$ = dom.createElement.bind(dom) let bodyE...
<|file_sep|>src/article/shared/createDemoVfs.js.diff original: updated: import { DefaultDOMElement } from 'substance' <|file_sep|>src/article/shared/createDemoVfs.js.diff original: export default function createDemoVfs (seedXML) { updated: export default function createDemoVfs () { let dom = DefaultDOMElement.parseX...
83efc04efcb0ca664cedbc3cb81c51df0ab64d72
src/article/shared/createDemoVfs.js
src/article/shared/createDemoVfs.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - node cache: yarn: true directories: - node_modules before_install: - yarn global add yarn - export PATH="$PATH:`yarn global bin`" before_deploy: - yarn global add now script: [] deploy: - provider: script script: - cd packages/api...
language: node_js node_js: - node cache: yarn: true directories: - node_modules before_install: - yarn global add yarn - export PATH="`yarn global bin`:$PATH" before_deploy: - yarn global add now script: [] deploy: - provider: script script: - cd packages/api.literally.deals - now --to...
<|file_sep|>original/.travis.yml language: node_js node_js: - node cache: yarn: true directories: - node_modules before_install: - yarn global add yarn - export PATH="$PATH:`yarn global bin`" before_deploy: - yarn global add now script: [] deploy: - provider: script script: - cd packages/api...
0f377e0cce55591b0b84a9b54d8039f8e6791cef
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: [![codecov](https://codecov.io/gh/cbioportal/cbioportal-frontend/branch/master/graph/badge.svg)](https://codecov.io/gh/cbioportal/cbioportal-frontend) <|file_sep|>original/README.md ``` To install all app and dev dependencies ``` npm install ``` To start dev server with...
``` To install all app and dev dependencies ``` npm install ``` To start dev server with hot reload enabled ``` npm start ``` To run unit/integration tests ``` npm test ``` To run linting ``` npm run lint ```
<|file_sep|>README.md.diff original: updated: [![codecov](https://codecov.io/gh/cbioportal/cbioportal-frontend/branch/master/graph/badge.svg)](https://codecov.io/gh/cbioportal/cbioportal-frontend) <|file_sep|>original/README.md ``` To install all app and dev dependencies ``` npm install ``` To start dev server with...
8e0a5e16a345c6d85298e3f3b43e5637d3f7f121
README.md
README.md
Markdown
<|file_sep|>test/monk_add_NAME_REPOSITORY.rb.diff original: test "allow to fetch from the added repository when using the --skeleton parameter" do updated: test "allow to fetch from the added repository with --skeleton parameter" do <|file_sep|>original/test/monk_add_NAME_REPOSITORY.rb assert out["foobar"] ...
assert out["foobar"] assert out["http://github.com/monkrb/foo.git"] monk("rm foobar") end test "allow to fetch from the added repository with --skeleton parameter" do monk("add glue http://github.com/monkrb/glue.git") out, _ = monk("init #{TARGET} --skeleton glue") assert out.match(/initia...
<|file_sep|>test/monk_add_NAME_REPOSITORY.rb.diff original: test "allow to fetch from the added repository when using the --skeleton parameter" do updated: test "allow to fetch from the added repository with --skeleton parameter" do <|file_sep|>original/test/monk_add_NAME_REPOSITORY.rb assert out["foobar"] ...
d99abed93b3048851c92e9400f64c279423852c6
test/monk_add_NAME_REPOSITORY.rb
test/monk_add_NAME_REPOSITORY.rb
Ruby
<|file_sep|>tests/dojo_test.py.diff original: my_class_instance = Dojo() initial_room_count = len(my_class_instance.all_rooms) offices = my_class_instance.create_room("office", "Blue", "Black", "Brown") updated: initial_room_count = len(self.dojo.all_rooms) offices = self.dojo.cr...
class TestCreateRoom (unittest.TestCase): def setUp(self): self.dojo = Dojo() self.test_office = self.dojo.create_room("office", "test") self.test_living_space = self.dojo.create_room("living_space", "test living space") def test_create_room_successfully(self): initial_room_co...
<|file_sep|>tests/dojo_test.py.diff original: my_class_instance = Dojo() initial_room_count = len(my_class_instance.all_rooms) offices = my_class_instance.create_room("office", "Blue", "Black", "Brown") updated: initial_room_count = len(self.dojo.all_rooms) offices = self.dojo.cr...
5958f80d456a43654c5013d38569554940e754f4
tests/dojo_test.py
tests/dojo_test.py
Python
<|file_sep|>README.md.diff original: ## Configuration Plugin uses default setting `SUMMARY_MAX_LENGTH`. updated: <|file_sep|>original/README.md # content2summary Simply converts article's content to a short summary. ## Requirements * BeautifulSoup `pip install BeautifulSoup4` ## Configuration Plugin uses defau...
# content2summary Simply converts article's content to a short summary. ## Requirements * BeautifulSoup `pip install BeautifulSoup4` ## Installation Clone repository to your plugins directory: `git https://github.com/gyKa/pelican-content2summary.git content2summary` ## Configuration In order to enable plugin a...
<|file_sep|>README.md.diff original: ## Configuration Plugin uses default setting `SUMMARY_MAX_LENGTH`. updated: <|file_sep|>original/README.md # content2summary Simply converts article's content to a short summary. ## Requirements * BeautifulSoup `pip install BeautifulSoup4` ## Configuration Plugin uses defau...
0cf081be2a3c08de437f5b48831dcd8b2d6975b6
README.md
README.md
Markdown
<|file_sep|>original/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/launcher/messages.properties ChromiumRemoteTab_ShowDebuggerNetworkCommunication=Show debugger network communication console ChromiumRemoteTab_PortLabel=Port: ChromiumRemoteTab_ProjectNameLabel=Virtual project name: ChromiumRemoteTab_RemoteTabN...
ChromiumRemoteTab_ShowDebuggerNetworkCommunication=Show debugger network communication console ChromiumRemoteTab_PortLabel=Port: ChromiumRemoteTab_ProjectNameLabel=Virtual project name: ChromiumRemoteTab_RemoteTabName=Remote ChromiumRemoteTab_InvalidPortNumberError=Invalid port number ChromiumRemoteTab_InvalidProjectNa...
<|file_sep|>original/plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/launcher/messages.properties ChromiumRemoteTab_ShowDebuggerNetworkCommunication=Show debugger network communication console ChromiumRemoteTab_PortLabel=Port: ChromiumRemoteTab_ProjectNameLabel=Virtual project name: ChromiumRemoteTab_RemoteTabN...
03e4f491f694a81fcbe2167ec9a96a683aa51370
plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/launcher/messages.properties
plugins/org.chromium.debug.ui/src/org/chromium/debug/ui/launcher/messages.properties
INI
<|file_sep|>original/src/core/templatetags/nose_tools.py <|file_sep|>current/src/core/templatetags/nose_tools.py <|file_sep|>updated/src/core/templatetags/nose_tools.py
from nose import tools from django import template register = template.Library() class NoseNode(template.Node): def render(self, context): tools.set_trace() # Debugger will stop here return '' @register.tag def set_trace(parser, token): return NoseNode()
<|file_sep|>original/src/core/templatetags/nose_tools.py <|file_sep|>current/src/core/templatetags/nose_tools.py <|file_sep|>updated/src/core/templatetags/nose_tools.py from nose import tools from django import template register = template.Library() class NoseNode(template.Node): def render(self, context): ...
ebc88a28e2f8018b2887970bddb0423243ee8292
src/core/templatetags/nose_tools.py
src/core/templatetags/nose_tools.py
Python
<|file_sep|>sample-apps/async-example/viewData.php.diff original: public function getTime(): int updated: public function getTime(): ?int <|file_sep|>original/sample-apps/async-example/viewData.php * @return int */ public function getTime(): int { return $this->time; } /** ...
* @return int */ public function getTime(): ?int { return $this->time; } /** * @return float */ public function getDistance(): ?float { return $this->distance; } /** * @return bool */ public function hasSentData(): bool { re...
<|file_sep|>sample-apps/async-example/viewData.php.diff original: public function getTime(): int updated: public function getTime(): ?int <|file_sep|>original/sample-apps/async-example/viewData.php * @return int */ public function getTime(): int { return $this->time; } /** ...
cb75d04ec60d9e53409dea5efb8dc4dade7dfd92
sample-apps/async-example/viewData.php
sample-apps/async-example/viewData.php
PHP
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' - '7' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.12' - '4' - '6' branches: only: - master - travis-ci before_install: - npm install - npm install istanbul coveralls <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - '0.10' - '0.1...
537ede1c86b741475c9887fc0975e5320310c39a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml install: # Setup tools. - sudo ./tools/setup_tools.sh # Build images. - ./server/build.sh - ./client/build.sh script: # Test server. - ./server/test.sh - ./server/run.sh # Test client. - ./client/test.sh # Verify that docs build. - ./tools/build_docs.sh # Chec...
install: # Setup tools. - sudo ./tools/setup_tools.sh # Build images. - ./server/build.sh - ./client/build.sh script: # Test server. - ./server/test.sh - ./server/run.sh && sleep 30 # Test client. - ./client/test.sh # Verify that docs build. - ./tools/build_docs.sh # Check formatting. - ./t...
<|file_sep|>original/.travis.yml install: # Setup tools. - sudo ./tools/setup_tools.sh # Build images. - ./server/build.sh - ./client/build.sh script: # Test server. - ./server/test.sh - ./server/run.sh # Test client. - ./client/test.sh # Verify that docs build. - ./tools/build_docs.sh # Chec...
da1ba5381fddb1e52b8c73b5e6ff4754fb10120e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/scripts/start_server.pl use File::Basename; my $dir=dirname($0); chdir $dir . '/..'; my $cfg = new Config::Simple(); $cfg->read('conf/settings.ini'); our $config = $cfg->vars(); $config->{'daemon.listen_ip'} ||= '127.0.0.1'; $config->{'daemon.listen_port'} ||= '8090'; $config->{'daemon.backend...
use File::Basename; my $dir=dirname($0); chdir $dir . '/..'; my $cfg = new Config::Simple(); $cfg->read('conf/settings.ini'); our $config = $cfg->vars(); $config->{'daemon.listen_ip'} ||= '127.0.0.1'; $config->{'daemon.listen_port'} ||= '8090'; $config->{'daemon.backend'} ||= 'hypnotoad'; $ENV{'PERL5LIB'} = '...
<|file_sep|>original/scripts/start_server.pl use File::Basename; my $dir=dirname($0); chdir $dir . '/..'; my $cfg = new Config::Simple(); $cfg->read('conf/settings.ini'); our $config = $cfg->vars(); $config->{'daemon.listen_ip'} ||= '127.0.0.1'; $config->{'daemon.listen_port'} ||= '8090'; $config->{'daemon.backend...
a394cc4619d9fdf22bc0898258cc137c8455637d
scripts/start_server.pl
scripts/start_server.pl
Perl
<|file_sep|>original/ideas.md It's about HTML, the base of all things. Workshop: Saturday 14 May, 10am - 12pm. # TODO list * write blurb. 1. Make your stuff accessible. 2. "Convince your boss": get people to do [the activities on the GWAAD site](http://www.globalaccessibilityawarenessday.org/participate.html). * Pub...
It's about HTML, the base of all things. Workshop: Saturday 14 May, 10am - 12pm. # TODO list * write blurb. 1. Make your stuff accessible. 2. "Convince your boss": get people to do [the activities on the GWAAD site](http://www.globalaccessibilityawarenessday.org/participate.html). * Publish it soon. * Do special RSV...
<|file_sep|>original/ideas.md It's about HTML, the base of all things. Workshop: Saturday 14 May, 10am - 12pm. # TODO list * write blurb. 1. Make your stuff accessible. 2. "Convince your boss": get people to do [the activities on the GWAAD site](http://www.globalaccessibilityawarenessday.org/participate.html). * Pub...
6ea6fa4f1fb8e5c0df48f0ecf669501cb28d0c5f
ideas.md
ideas.md
Markdown
<|file_sep|>src/autoload.php.diff original: Autoload function for Open Badges Backend updated: Autoload function for Open Badges Frontend <|file_sep|>src/autoload.php.diff original: $prefix = 'UoMCS\\OpenBadges\\Backend\\'; updated: $prefix = 'UoMCS\\OpenBadges\\Frontend\\'; <|file_sep|>original/src/autoload.ph...
$base_dir = __DIR__ . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR; $len = strlen($prefix); // Skip this autoloader if class name does not begin with prefix if (strncmp($prefix, $class, $len) !== 0) { return; } // Relative class is the last part of full class name // e.g. UoMCS\OpenBadges\Fr...
<|file_sep|>src/autoload.php.diff original: Autoload function for Open Badges Backend updated: Autoload function for Open Badges Frontend <|file_sep|>src/autoload.php.diff original: $prefix = 'UoMCS\\OpenBadges\\Backend\\'; updated: $prefix = 'UoMCS\\OpenBadges\\Frontend\\'; <|file_sep|>original/src/autoload.ph...
46b2b2b8e9e0bd319b1751b3901503e4c062370b
src/autoload.php
src/autoload.php
PHP
<|file_sep|>original/.expeditor/verify.pipeline.yml docker: image: ruby:2.6-buster - label: run-lint-and-specs-ruby-2.7 command: - apt-get update - apt-get install -y libarchive-dev - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: image: ruby:2.7-buster ...
image: ruby:2.6-buster - label: run-lint-and-specs-ruby-2.7 command: - apt-get update - apt-get install -y libarchive-dev - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: image: ruby:2.7-buster - label: run-specs-windows command: - bundle config set --l...
<|file_sep|>original/.expeditor/verify.pipeline.yml docker: image: ruby:2.6-buster - label: run-lint-and-specs-ruby-2.7 command: - apt-get update - apt-get install -y libarchive-dev - .expeditor/run_linux_tests.sh rake expeditor: executor: docker: image: ruby:2.7-buster ...
51568da990aa538f86c21f48874cf326deda5e2a
.expeditor/verify.pipeline.yml
.expeditor/verify.pipeline.yml
YAML
<|file_sep|>original/.travis.yml language: scala jdk: oraclejdk8 scala: - 2.10.7 - 2.11.12 - 2.12.6 script: - sbt ++$TRAVIS_SCALA_VERSION test <|file_sep|>current/.travis.yml language: scala jdk: oraclejdk8 scala: - 2.10.7 - 2.11.12 - 2.12.6 script: - sbt ++$TRAVIS_SCALA_VERSION test <|f...
language: scala jdk: oraclejdk8 scala: - 2.10.7 - 2.11.12 - 2.12.6 script: - sbt ++$TRAVIS_SCALA_VERSION test os: - linux - osx
<|file_sep|>original/.travis.yml language: scala jdk: oraclejdk8 scala: - 2.10.7 - 2.11.12 - 2.12.6 script: - sbt ++$TRAVIS_SCALA_VERSION test <|file_sep|>current/.travis.yml language: scala jdk: oraclejdk8 scala: - 2.10.7 - 2.11.12 - 2.12.6 script: - sbt ++$TRAVIS_SCALA_VERSION test <|f...
9bd383a7f19ebaf2d3e21b87162be0e2ba1bcd04
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 2.1.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 1.9.3 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.2 - 2.0.0 - 1.9.3 - ruby-head <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.1.2 - 2.0.0 - 1.9.3
<|file_sep|>.travis.yml.diff original: updated: - 2.1.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 1.9.3 - ruby-head <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.2 - 2.0.0 - 1.9.3 - ruby-head <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.1.2 - 2.0.0 - 1....
25e84085336511aa9e706f70718a5c88930890c8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/main/java/com/skcraft/plume/module/perf/MobCommands.java <|file_sep|>current/src/main/java/com/skcraft/plume/module/perf/MobCommands.java <|file_sep|>updated/src/main/java/com/skcraft/plume/module/perf/MobCommands.java
package com.skcraft.plume.module.perf; import com.sk89q.intake.Command; import com.sk89q.intake.Require; import com.skcraft.plume.command.Sender; import com.skcraft.plume.common.util.module.Module; import com.skcraft.plume.util.Messages; import net.minecraft.command.ICommandSender; import net.minecraft.entity.Entity; ...
<|file_sep|>original/src/main/java/com/skcraft/plume/module/perf/MobCommands.java <|file_sep|>current/src/main/java/com/skcraft/plume/module/perf/MobCommands.java <|file_sep|>updated/src/main/java/com/skcraft/plume/module/perf/MobCommands.java package com.skcraft.plume.module.perf; import com.sk89q.intake.Command; i...
95f02f31a9a5ae691269c9896e7561f64401e9ef
src/main/java/com/skcraft/plume/module/perf/MobCommands.java
src/main/java/com/skcraft/plume/module/perf/MobCommands.java
Java
<|file_sep|>original/app/models/search.rb require 'pry' class Search def self.find(query, opts = {}) if plos? SearchPlos.new(query, opts).run elsif crossref? SearchCrossref.new(query, opts).run end end def self.plos? APP_CONFIG['search'] == 'plos' end def self.crossref? APP_...
class Search def self.find(query, opts = {}) if plos? SearchPlos.new(query, opts).run elsif crossref? SearchCrossref.new(query, opts).run end end def self.plos? APP_CONFIG['search'] == 'plos' end def self.crossref? APP_CONFIG['search'] == 'crossref' end end
<|file_sep|>original/app/models/search.rb require 'pry' class Search def self.find(query, opts = {}) if plos? SearchPlos.new(query, opts).run elsif crossref? SearchCrossref.new(query, opts).run end end def self.plos? APP_CONFIG['search'] == 'plos' end def self.crossref? APP_...
774b3f0d64cff3fbb0424d06a3a453967c15a89c
app/models/search.rb
app/models/search.rb
Ruby
<|file_sep|>original/src/mailme/migrations/0006_auto_20180221_0758.py <|file_sep|>current/src/mailme/migrations/0006_auto_20180221_0758.py <|file_sep|>updated/src/mailme/migrations/0006_auto_20180221_0758.py
# Generated by Django 2.0 on 2018-02-21 07:58 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('mailme', '0005_auto_20160724_1415'), ] operations = [ migrations.RemoveField...
<|file_sep|>original/src/mailme/migrations/0006_auto_20180221_0758.py <|file_sep|>current/src/mailme/migrations/0006_auto_20180221_0758.py <|file_sep|>updated/src/mailme/migrations/0006_auto_20180221_0758.py # Generated by Django 2.0 on 2018-02-21 07:58 from django.conf import settings from django.db import migratio...
6c6442bf232c36314c5d195cd2674a98397b64ed
src/mailme/migrations/0006_auto_20180221_0758.py
src/mailme/migrations/0006_auto_20180221_0758.py
Python
<|file_sep|>original/readux/__init__.py __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environment def context_extras(request): return { # software ...
# Dot-connect all but the last. Last is dash-connected if not None. __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environment def context_extras(request): ...
<|file_sep|>original/readux/__init__.py __version__ = '.'.join([str(i) for i in __version_info__[:-1]]) if __version_info__[-1] is not None: __version__ += ('-%s' % (__version_info__[-1],)) # context processor to add version to the template environment def context_extras(request): return { # software ...
79ef50191123c6e8a2e5e47efb8b15239a7acc5c
readux/__init__.py
readux/__init__.py
Python
<|file_sep|>original/lib/foursquare/checkin_proxy.rb module Foursquare class CheckinProxy def initialize(foursquare) @foursquare = foursquare end def find(id) Foursquare::Checkin.new(@foursquare, @foursquare.get("checkins/#{id}")["checkin"]) end def recent @foursquare.get("chec...
def initialize(foursquare) @foursquare = foursquare end def find(id) Foursquare::Checkin.new(@foursquare, @foursquare.get("checkins/#{id}")["checkin"]) end def recent @foursquare.get("checkins/recent")["recent"].map do |json| Foursquare::Checkin.new(@foursquare, json) ...
<|file_sep|>original/lib/foursquare/checkin_proxy.rb module Foursquare class CheckinProxy def initialize(foursquare) @foursquare = foursquare end def find(id) Foursquare::Checkin.new(@foursquare, @foursquare.get("checkins/#{id}")["checkin"]) end def recent @foursquare.get("chec...
ce828d2a728b1edf26a25354902bebbaff257f41
lib/foursquare/checkin_proxy.rb
lib/foursquare/checkin_proxy.rb
Ruby
<|file_sep|>original/LICENSE.txt Copyright (c) 2014-2017 Xavier Dutreilh 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, ...
Copyright (c) 2014-2018 Xavier Dutreilh 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, publish, distribut...
<|file_sep|>original/LICENSE.txt Copyright (c) 2014-2017 Xavier Dutreilh 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, ...
2e1dbc7921aa9160169fe40d746b6f3485c0918e
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/.travis.yml language: python matrix: include: - os: linux sudo: false python: 2.7 - os: linux sudo: false python: 3.5 - os: osx language: generic install: - pip install pyflakes pep8 coverage coveralls nose script: - pyflakes . - pep8 . - noset...
matrix: include: - os: linux sudo: false python: 2.7 - os: linux sudo: false python: 3.5 - os: osx language: generic install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip2 install pyflakes pep8 coverage coveralls nose; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then...
<|file_sep|>original/.travis.yml language: python matrix: include: - os: linux sudo: false python: 2.7 - os: linux sudo: false python: 3.5 - os: osx language: generic install: - pip install pyflakes pep8 coverage coveralls nose script: - pyflakes . - pep8 . - noset...
4ce0ab9daa8d733d5f9d89a600abfdad550dec39
.travis.yml
.travis.yml
YAML
<|file_sep|>original/binbin.ml <|file_sep|>current/binbin.ml <|file_sep|>updated/binbin.ml
type t = Binstr of string;; let empty = Binstr "";; let unsafe_s binstr = match binstr with | (Binstr str) -> str ;; let unsafe_b str = (Binstr str);; let size binstr = String.length (unsafe_s binstr);; let concat b1 b2 = (unsafe_b ((unsafe_s b1) ^ (unsafe_s b2)));; let of_int n = let reduce_int i = i...
<|file_sep|>original/binbin.ml <|file_sep|>current/binbin.ml <|file_sep|>updated/binbin.ml type t = Binstr of string;; let empty = Binstr "";; let unsafe_s binstr = match binstr with | (Binstr str) -> str ;; let unsafe_b str = (Binstr str);; let size binstr = String.length (unsafe_s binstr);; let concat ...
44fccbc050df283fee9dae9390960662f32b3c62
binbin.ml
binbin.ml
OCaml
<|file_sep|>menus/titanium.cson.diff original: # See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details updated: <|file_sep|>menus/titanium.cson.diff original: 'label': 'Toggle titanium' 'command': 'titanium:toggle' updated: 'label': 'Alloy' 'submenu': [ ...
'command': 'titanium:openView' } { 'label': 'Open style' 'command': 'titanium:openStyle' } { 'label': 'Open controller' 'command': 'titanium:openController' } { 'label': 'Open related' 'command': 'titan...
<|file_sep|>menus/titanium.cson.diff original: # See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details updated: <|file_sep|>menus/titanium.cson.diff original: 'label': 'Toggle titanium' 'command': 'titanium:toggle' updated: 'label': 'Alloy' 'submenu': [ ...
3bc12ccb631a5dba2d5b511c804cb09611a4bed1
menus/titanium.cson
menus/titanium.cson
CoffeeScript
<|file_sep|>original/CHANGES.md ## 0.1.7 * Support EditorConfig. * Add CONFIG[:ambiguos_east_asian_width]. * Add C mode. * Add the *Completions* buffer. ## 0.1.6 * Fix bugs of clipboard commands. ## 0.1.5 * Support clipboard. * Added tests. * Bug fixes. ## 0.1.4 * Add dabbrev_expand (M-/). * Add find_tag (M-.) a...
## 0.1.7 * Support EditorConfig. * Add CONFIG[:ambiguos_east_asian_width]. * Add C mode. * Add the *Completions* buffer. * Echo multi-character commands in the echo area. ## 0.1.6 * Fix bugs of clipboard commands. ## 0.1.5 * Support clipboard. * Added tests. * Bug fixes. ## 0.1.4 * Add dabbrev_expand (M-/).
<|file_sep|>original/CHANGES.md ## 0.1.7 * Support EditorConfig. * Add CONFIG[:ambiguos_east_asian_width]. * Add C mode. * Add the *Completions* buffer. ## 0.1.6 * Fix bugs of clipboard commands. ## 0.1.5 * Support clipboard. * Added tests. * Bug fixes. ## 0.1.4 * Add dabbrev_expand (M-/). * Add find_tag (M-.) a...
4fa075fcb5b3360caf940abe8d39a6cd206b0cfe
CHANGES.md
CHANGES.md
Markdown
<|file_sep|>original/cron_tasks.sh <|file_sep|>current/cron_tasks.sh <|file_sep|>updated/cron_tasks.sh
#! /bin/bash cd /home/datamade/lametro-staging /home/datamade/.virtualenvs/lametro-staging/bin/python manage.py loaddata >> /tmp/lametro-loaddata.log 2>&1 /home/datamade/.virtualenvs/lametro-staging/bin/python manage.py update_index
<|file_sep|>original/cron_tasks.sh <|file_sep|>current/cron_tasks.sh <|file_sep|>updated/cron_tasks.sh #! /bin/bash cd /home/datamade/lametro-staging /home/datamade/.virtualenvs/lametro-staging/bin/python manage.py loaddata >> /tmp/lametro-loaddata.log 2>&1 /home/datamade/.virtualenvs/lametro-staging/bin/python mana...
3d95aeef35cfd0cf451e605126b3d5f6ea6e452f
cron_tasks.sh
cron_tasks.sh
Shell
<|file_sep|>original/infrared/common/roles/vbmc/tasks/install.yml - gcc - libvirt - libvirt-devel - python-devel state: latest disable_gpg_check: yes - name: install pip become: yes easy_install: name: pip - name: Instal...
name: - gcc - libvirt - libvirt-devel - python-devel state: latest disable_gpg_check: yes - name: install pip become: yes easy_install: name: pip - name: Install python-virtualbmc with pip become: true ...
<|file_sep|>original/infrared/common/roles/vbmc/tasks/install.yml - gcc - libvirt - libvirt-devel - python-devel state: latest disable_gpg_check: yes - name: install pip become: yes easy_install: name: pip - name: Instal...
da7def4576d4827edff8c5733d1d7ff9a85f9100
infrared/common/roles/vbmc/tasks/install.yml
infrared/common/roles/vbmc/tasks/install.yml
YAML
<|file_sep|>original/Xcode/ESP/src/user.cpp #include "user.h" // This is a hack. // Otherwise, we will need to create a target for each user application. #include "examples/user_audio_beat.cpp" //#include "examples/user_color_sensor.h" //#include "examples/user_accelerometer_gestures.h" //#include "examples/user_accel...
#include "user.h" // This is a hack. // Otherwise, we will need to create a target for each user application. #include "examples/user_audio_beat.cpp" //#include "examples/user_color_sensor.cpp" //#include "examples/user_accelerometer_gestures.cpp" //#include "examples/user_accelerometer_poses.cpp" //#include "examples...
<|file_sep|>original/Xcode/ESP/src/user.cpp #include "user.h" // This is a hack. // Otherwise, we will need to create a target for each user application. #include "examples/user_audio_beat.cpp" //#include "examples/user_color_sensor.h" //#include "examples/user_accelerometer_gestures.h" //#include "examples/user_accel...
edc85bd1cd77eb1eb5c13bbffce2414f1e6552bb
Xcode/ESP/src/user.cpp
Xcode/ESP/src/user.cpp
C++
<|file_sep|>metadata/agrigolo.chubbyclick.yml.diff original: updated: - versionName: v1.8.1 versionCode: 13 commit: v1.8.1 subdir: app gradle: - yes <|file_sep|>original/metadata/agrigolo.chubbyclick.yml gradle: - yes - versionName: v1.6 versionCode: 10 commit: v1.6 su...
gradle: - yes - versionName: v1.7 versionCode: 11 commit: v1.7 subdir: app gradle: - yes - versionName: v1.8.1 versionCode: 13 commit: v1.8.1 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: v1.8.1 CurrentVersionCode:...
<|file_sep|>metadata/agrigolo.chubbyclick.yml.diff original: updated: - versionName: v1.8.1 versionCode: 13 commit: v1.8.1 subdir: app gradle: - yes <|file_sep|>original/metadata/agrigolo.chubbyclick.yml gradle: - yes - versionName: v1.6 versionCode: 10 commit: v1.6 su...
0cf80ee52ce48793c55efd8496fbe4ee0e89e1ce
metadata/agrigolo.chubbyclick.yml
metadata/agrigolo.chubbyclick.yml
YAML
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 pytest==3.3.2 pytest-mock==1.6.3 pytest-cov==2.5.1 pytest-xdist==1.21.0 coveralls==1.2.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7 <|file_sep|>current/requirements_for_t...
-r requirements.txt flake8==3.5.0 pytest==3.3.2 pytest-mock==1.6.3 pytest-cov==2.5.1 pytest-xdist==1.22.0 coveralls==1.2.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7
<|file_sep|>original/requirements_for_test.txt -r requirements.txt flake8==3.5.0 pytest==3.3.2 pytest-mock==1.6.3 pytest-cov==2.5.1 pytest-xdist==1.21.0 coveralls==1.2.0 freezegun==0.3.9 requests-mock==1.4.0 # optional requirements for jsonschema strict-rfc3339==0.7 rfc3987==1.3.7 <|file_sep|>current/requirements_for_t...
a997fe94a8bb4dae699dbde60528b4cb4fa77c84
requirements_for_test.txt
requirements_for_test.txt
Text
<|file_sep|>original/README.md # gerrit-docker Operational scripts for docker-gerrit project. ## Create gerrit container. createGerrit.sh <Gerrit canonicalWebUrl> <LDAP server ip/name> <LDAP AccountBase> <SMTP server ip> <Sender email address> <SMTP server auth user> <SMTP server auth password> ## Add administrator...
# gerrit-docker Operational scripts for docker-gerrit project. ## Create gerrit container. createGerrit.sh <Gerrit canonicalWebUrl> <LDAP server ip/name> <LDAP AccountBase> <SMTP server ip> <Sender email address> <SMTP server auth user> <SMTP server auth password> ## Add administrator's public ssh key. addGerri...
<|file_sep|>original/README.md # gerrit-docker Operational scripts for docker-gerrit project. ## Create gerrit container. createGerrit.sh <Gerrit canonicalWebUrl> <LDAP server ip/name> <LDAP AccountBase> <SMTP server ip> <Sender email address> <SMTP server auth user> <SMTP server auth password> ## Add administrator...
6e616136e7ea643e35f2bc8152d8781c6db95791
README.md
README.md
Markdown
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.0.2", "turbolinks": "5.2.0", "@rails/activestorage": "6.0.2", "@rails/actioncable": "6.0.2" }, "devDependencies": { "sass": "1.26.3", "vanilla-framework": "2.9.1" }, "version":...
{ "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.0.2", "turbolinks": "5.2.0", "@rails/activestorage": "6.0.2", "@rails/actioncable": "6.0.2" }, "devDependencies": { "sass": "1.26.3", "vanilla-framework": "2.10.0" }, "version": "0.1.0" }
<|file_sep|>original/package.json { "name": "tigefa", "private": true, "dependencies": { "@rails/ujs": "6.0.2", "turbolinks": "5.2.0", "@rails/activestorage": "6.0.2", "@rails/actioncable": "6.0.2" }, "devDependencies": { "sass": "1.26.3", "vanilla-framework": "2.9.1" }, "version":...
3b1a505307c0a8a91c3254238c89a1d1f2de431f
package.json
package.json
JSON
<|file_sep|>original/src/main/res/layout/util_simple_list_item_1.xml <|file_sep|>current/src/main/res/layout/util_simple_list_item_1.xml <|file_sep|>updated/src/main/res/layout/util_simple_list_item_1.xml
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
<|file_sep|>original/src/main/res/layout/util_simple_list_item_1.xml <|file_sep|>current/src/main/res/layout/util_simple_list_item_1.xml <|file_sep|>updated/src/main/res/layout/util_simple_list_item_1.xml <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2006 The Android Open Source Project Licensed und...
0da419b297ff106719468a0626dce9e49f05e272
src/main/res/layout/util_simple_list_item_1.xml
src/main/res/layout/util_simple_list_item_1.xml
XML
<|file_sep|>original/blueprints/app/files/.prettierrc.js 'use strict'; module.exports = { singleQuote: true, }; <|file_sep|>current/blueprints/app/files/.prettierrc.js 'use strict'; module.exports = { singleQuote: true, }; <|file_sep|>updated/blueprints/app/files/.prettierrc.js
'use strict'; module.exports = { overrides: [ { files: '*.{js,ts}', options: { singleQuote: true, }, }, ], };
<|file_sep|>original/blueprints/app/files/.prettierrc.js 'use strict'; module.exports = { singleQuote: true, }; <|file_sep|>current/blueprints/app/files/.prettierrc.js 'use strict'; module.exports = { singleQuote: true, }; <|file_sep|>updated/blueprints/app/files/.prettierrc.js 'use strict'; module.exports = { ...
3dc6e5ac904f1a6dbcd3dbd0554d53ccbd5e78f0
blueprints/app/files/.prettierrc.js
blueprints/app/files/.prettierrc.js
JavaScript
<|file_sep|>.travis.yml.diff original: - '0.10' updated: - '0.10' sudo: false <|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: npm install -g codeclimate-test-reporter after_script: - cat coverage/lcov.info | codeclimate addons: code_climate: repo_token: 9852ac5362c8cc38c...
language: node_js node_js: - '0.10' sudo: false before_script: npm install -g codeclimate-test-reporter after_script: - cat coverage/lcov.info | codeclimate addons: code_climate: repo_token: 9852ac5362c8cc38c07ca5adc0f94c20c6c79bd78e17933dc284598a65338656
<|file_sep|>.travis.yml.diff original: - '0.10' updated: - '0.10' sudo: false <|file_sep|>original/.travis.yml language: node_js node_js: - '0.10' before_script: npm install -g codeclimate-test-reporter after_script: - cat coverage/lcov.info | codeclimate addons: code_climate: repo_token: 9852ac5362c8cc38c...
098f6c3958fb1f6d97b5a3898bd76232061d7417
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/lita/handlers/diceman_spec.rb require "spec_helper" describe Lita::Handlers::Diceman, lita_handler: true do end <|file_sep|>current/spec/lita/handlers/diceman_spec.rb require "spec_helper" describe Lita::Handlers::Diceman, lita_handler: true do end <|file_sep|>updated/spec/lita/handlers/dice...
require "spec_helper" describe Lita::Handlers::Diceman, lita_handler: true do it { routes_command("!dice answer one;answer two").to(:dice!) } end
<|file_sep|>original/spec/lita/handlers/diceman_spec.rb require "spec_helper" describe Lita::Handlers::Diceman, lita_handler: true do end <|file_sep|>current/spec/lita/handlers/diceman_spec.rb require "spec_helper" describe Lita::Handlers::Diceman, lita_handler: true do end <|file_sep|>updated/spec/lita/handlers/dice...
8ffeb534095d822b8a282a8a9b281dabd4d073cf
spec/lita/handlers/diceman_spec.rb
spec/lita/handlers/diceman_spec.rb
Ruby
<|file_sep|>original/nix/disnix-infrastructure-module.nix }; }; }; config = lib.mkIf cfg.enable { disnixInfrastructure.infrastructure = { properties = { hostname = config.networking.hostName; } // cfg.properties; system = if config.nixpkgs ? localSystem && config.nixpkgs.lo...
}; }; }; config = lib.mkIf cfg.enable { disnixInfrastructure.infrastructure = { properties = { hostname = config.networking.hostName; } // cfg.properties; system = if config.nixpkgs ? localSystem && config.nixpkgs.localSystem.system != "" then config.nixpkgs.localSystem.sys...
<|file_sep|>original/nix/disnix-infrastructure-module.nix }; }; }; config = lib.mkIf cfg.enable { disnixInfrastructure.infrastructure = { properties = { hostname = config.networking.hostName; } // cfg.properties; system = if config.nixpkgs ? localSystem && config.nixpkgs.lo...
79a4759cbfa1be3a44ab45b93d8d3f32c696d822
nix/disnix-infrastructure-module.nix
nix/disnix-infrastructure-module.nix
Nix
<|file_sep|>original/src/main/java/com/github/games647/lagmonitor/command/timing/TimingCommand.java public TimingCommand(LagMonitor plugin) { super(plugin); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if (!canExecute(sender,...
public TimingCommand(LagMonitor plugin) { super(plugin); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if (!canExecute(sender, command)) { return true; } if (!isTimingsEnabled()) { send...
<|file_sep|>original/src/main/java/com/github/games647/lagmonitor/command/timing/TimingCommand.java public TimingCommand(LagMonitor plugin) { super(plugin); } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if (!canExecute(sender,...
950ab043ca4ce5729930fe54347d750947f7f65c
src/main/java/com/github/games647/lagmonitor/command/timing/TimingCommand.java
src/main/java/com/github/games647/lagmonitor/command/timing/TimingCommand.java
Java
<|file_sep|>original/htdocs/system/themes/charcoal/footer.php </div> <div id="bottom-secondary"> <div id="tags"><?php if (Plugins::is_loaded('tagcloud')) echo $tag_cloud; else $theme->show_tags();?></div> </div> <div id="footer"> <p> <?php printf( _t('%1$s is powered by %2$s'), Options::get('title'),' <a ...
</div> <div id="bottom-secondary"> <div id="tags"><?php if (Plugins::is_loaded('tagcloud')) $theme->tag_cloud(); else $theme->show_tags();?></div> </div> <div id="footer"> <p> <?php printf( _t('%1$s is powered by %2$s'), Options::get('title'),' <a href="http://www.habariproject.org/" title="Habari">Habari...
<|file_sep|>original/htdocs/system/themes/charcoal/footer.php </div> <div id="bottom-secondary"> <div id="tags"><?php if (Plugins::is_loaded('tagcloud')) echo $tag_cloud; else $theme->show_tags();?></div> </div> <div id="footer"> <p> <?php printf( _t('%1$s is powered by %2$s'), Options::get('title'),' <a ...
cc0d3aaaeb9e9bdc929e0def427c44f84b2e9508
htdocs/system/themes/charcoal/footer.php
htdocs/system/themes/charcoal/footer.php
PHP
<|file_sep|>original/src/JD/Laradit/Helpers/APIRequestBuilder.php <|file_sep|>current/src/JD/Laradit/Helpers/APIRequestBuilder.php <|file_sep|>updated/src/JD/Laradit/Helpers/APIRequestBuilder.php
<?php namespace JD\Laradit\Helpers; class APIRequestBuilder { public static function getRequestAttributes($url, $token) { return [ 'url' => 'https://oauth.reddit.com/api/'.$url, 'headers' => [ 'headers' => [ 'User-Agent' => 'my user agent', ...
<|file_sep|>original/src/JD/Laradit/Helpers/APIRequestBuilder.php <|file_sep|>current/src/JD/Laradit/Helpers/APIRequestBuilder.php <|file_sep|>updated/src/JD/Laradit/Helpers/APIRequestBuilder.php <?php namespace JD\Laradit\Helpers; class APIRequestBuilder { public static function getRequestAttributes($url, $toke...
8925da9a801a3c7597d9f9b1ce9287a128eec9bd
src/JD/Laradit/Helpers/APIRequestBuilder.php
src/JD/Laradit/Helpers/APIRequestBuilder.php
PHP
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: 5.6 - php: hhvm before_script: - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &; fi script: - php -l src/* - if [[ "$TRAVIS_PHP_VERSIO...
language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: 5.6 - php: hhvm before_script: - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then sh -c "php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &"; fi script: - php -l src/* - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then cd t...
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 - 5.5 - 5.6 - hhvm matrix: allow_failures: - php: 5.6 - php: hhvm before_script: - if [[ "$TRAVIS_PHP_VERSION" != "5.3" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &; fi script: - php -l src/* - if [[ "$TRAVIS_PHP_VERSIO...
0c9fda4165f5f07323bc441331aa91d2750d13ea
.travis.yml
.travis.yml
YAML
<|file_sep|>original/types/tslint.json { "extends": "dtslint/dtslint.json", "rules": { "semicolon": false, "indent": [true, "spaces"], "no-redundant-jsdoc": false, "no-unnecessary-class": false, "no-implicit-dependencies": false } } <|file_sep|>current/types/tslint.json { "extends": "dtslint...
{ "extends": "dtslint/dtslint.json", "rules": { "semicolon": false, "indent": [true, "spaces"], "no-redundant-jsdoc": false, "no-unnecessary-class": false, "no-implicit-dependencies": false, "file-name-casing": false } }
<|file_sep|>original/types/tslint.json { "extends": "dtslint/dtslint.json", "rules": { "semicolon": false, "indent": [true, "spaces"], "no-redundant-jsdoc": false, "no-unnecessary-class": false, "no-implicit-dependencies": false } } <|file_sep|>current/types/tslint.json { "extends": "dtslint...
08cb07cbfacdd7935fa1cff680b4ff31aba9f889
types/tslint.json
types/tslint.json
JSON
<|file_sep|>original/spec/introduction.tex \chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. <|file_sep|>current/spec/introduction.tex \chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. <|file_sep|>updated/spec/introduction.tex
\chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. \section{Ideas} \begin{itemize} \item Semantic types are often used to label values that have a special property. For example, a list may be sorted, a file may be open and a matrix may be symmetric. Many of these properties can be checked quite easily. We can...
<|file_sep|>original/spec/introduction.tex \chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. <|file_sep|>current/spec/introduction.tex \chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. <|file_sep|>updated/spec/introduction.tex \chapter{Introduction} Unicorns are $\mathbb{PRETTY}$. \section{Ideas} \begin...
1ddbf2a1da0384a3f8db438366bb7e87de236e7d
spec/introduction.tex
spec/introduction.tex
TeX
<|file_sep|>original/README.md # Various Nagios plugins See documentation in scripts headers. <|file_sep|>current/README.md # Various Nagios plugins See documentation in scripts headers. <|file_sep|>updated/README.md
# Various Nagios plugins ## Documentation Use `--help` flag or browse the documentation directly in scripts headers. ## Coding style / Lint ### Shell * [ShellCheck](https://github.com/koalaman/shellcheck) * [Google's Shell Style Guide](https://google-styleguide.googlecode.com/svn/trunk/shell.xml) ### Ruby * [Rub...
<|file_sep|>original/README.md # Various Nagios plugins See documentation in scripts headers. <|file_sep|>current/README.md # Various Nagios plugins See documentation in scripts headers. <|file_sep|>updated/README.md # Various Nagios plugins ## Documentation Use `--help` flag or browse the documentation directly in...
7f4f8efa64f957c0a5d4e1f2dc92f8753762e947
README.md
README.md
Markdown
<|file_sep|>bower.json.diff original: "version": "0.6.0-preview", updated: "version": "0.6.0", <|file_sep|>original/bower.json { "name": "basic-item-selection", "description": "Aspect which manages selection semantics for items in a list.", "version": "0.6.0-preview", "license": "MIT", "main": "basic-item...
{ "name": "basic-item-selection", "description": "Aspect which manages selection semantics for items in a list.", "version": "0.6.0", "license": "MIT", "main": "basic-item-selection.html", "dependencies": { "basic-aspect": "basic-web-components/basic-aspect#master", "polymer": "Polymer/polymer#0.9.0...
<|file_sep|>bower.json.diff original: "version": "0.6.0-preview", updated: "version": "0.6.0", <|file_sep|>original/bower.json { "name": "basic-item-selection", "description": "Aspect which manages selection semantics for items in a list.", "version": "0.6.0-preview", "license": "MIT", "main": "basic-item...
b2216fb61f2e5a56461c9ac749a9f03ea781bf7b
bower.json
bower.json
JSON
<|file_sep|>original/tox.ini [tox] envlist=py{36,37,38,39,py3},flake8 skip_missing_interpreters = true [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp #commands = python3 -m unittest discover changedir = tests commands = discover deps = discover ; If you want to make tox run the tests with the same ...
[tox] envlist=py{36,37,38,py3},flake8 skip_missing_interpreters = true [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp #commands = python3 -m unittest discover changedir = tests commands = discover deps = discover ; If you want to make tox run the tests with the same versions, create a ; requirement...
<|file_sep|>original/tox.ini [tox] envlist=py{36,37,38,39,py3},flake8 skip_missing_interpreters = true [testenv] setenv = PYTHONPATH = {toxinidir}:{toxinidir}/pythainlp #commands = python3 -m unittest discover changedir = tests commands = discover deps = discover ; If you want to make tox run the tests with the same ...
2b4e7929c216475089a6376eb72a275e61e83ffb
tox.ini
tox.ini
INI
<|file_sep|>original/packages/gh/ghc-options.yaml <|file_sep|>current/packages/gh/ghc-options.yaml <|file_sep|>updated/packages/gh/ghc-options.yaml
homepage: https://github.com/ranjitjhala/ghc-options.git changelog-type: '' hash: 0d8dfdc3956552c9c9e56410e8568d13fafabe487f71a46878c49b782dd04bc4 test-bench-deps: {} maintainer: jhala@cs.ucsd.edu synopsis: Utilities for extracting GHC options needed to compile a given Haskell target. changelog: '' basic-deps: unix: ...
<|file_sep|>original/packages/gh/ghc-options.yaml <|file_sep|>current/packages/gh/ghc-options.yaml <|file_sep|>updated/packages/gh/ghc-options.yaml homepage: https://github.com/ranjitjhala/ghc-options.git changelog-type: '' hash: 0d8dfdc3956552c9c9e56410e8568d13fafabe487f71a46878c49b782dd04bc4 test-bench-deps: {} mai...
a818ccff17021f6dd1b53017952ea57ebb05e526
packages/gh/ghc-options.yaml
packages/gh/ghc-options.yaml
YAML
<|file_sep|>original/views/home.jade #disclaimers.overlay #navigation-region.overlay .top-right-controls #language-selector.overlay #personalisation.overlay #service-cart.overlay #app-container #map #feature-tour-start.overlay script(type='text/javascript', src!=staticFile('vendor/jade-runti...
#feature-tour-start.overlay script(type='text/javascript', src!=staticFile('vendor/jade-runtime.js')) script(type='text/javascript', src!=staticFile('js/templates.js')) script(type='text/javascript', src!=staticFile('vendor/require.js')) script(type='text/javascript'). require(['static/js/app/config'], fu...
<|file_sep|>original/views/home.jade #disclaimers.overlay #navigation-region.overlay .top-right-controls #language-selector.overlay #personalisation.overlay #service-cart.overlay #app-container #map #feature-tour-start.overlay script(type='text/javascript', src!=staticFile('vendor/jade-runti...
ef13e5569c7ffd859099786bb920d7ac9d6ce60a
views/home.jade
views/home.jade
Jade
<|file_sep|>original/src/S3/Subscriber/PutObjectUrl.php { public function getEvents() { return ['process' => ['addObjectUrl', -10]]; } public function addObjectUrl(ProcessEvent $e) { if ($e->getException()) { return; } $name = $e->getCommand()->getName()...
{ public function getEvents() { return ['process' => ['addObjectUrl', -10]]; } public function addObjectUrl(ProcessEvent $e) { if ($e->getException()) { return; } $name = $e->getCommand()->getName(); if ($name === 'PutObject' || $name === 'CopyO...
<|file_sep|>original/src/S3/Subscriber/PutObjectUrl.php { public function getEvents() { return ['process' => ['addObjectUrl', -10]]; } public function addObjectUrl(ProcessEvent $e) { if ($e->getException()) { return; } $name = $e->getCommand()->getName()...
45b13a63884e9d5a44958c8eb499b4a21b037e4b
src/S3/Subscriber/PutObjectUrl.php
src/S3/Subscriber/PutObjectUrl.php
PHP
<|file_sep|>original/SwiftySensorsExample/AppDelegate.swift class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Cus...
class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Customize what services you want to scan for SensorMana...
<|file_sep|>original/SwiftySensorsExample/AppDelegate.swift class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Cus...
12106349ea111128ad4c0a98ec761f6fb8b00f85
SwiftySensorsExample/AppDelegate.swift
SwiftySensorsExample/AppDelegate.swift
Swift
<|file_sep|>original/packages/wh/wholepixels.yaml <|file_sep|>current/packages/wh/wholepixels.yaml <|file_sep|>updated/packages/wh/wholepixels.yaml
homepage: '' changelog-type: text hash: c0b4496422110bd3c7b1489c8536208d66053ce11d1aa8c3ff40a4777c861ca8 test-bench-deps: {} maintainer: wholepixels@protonmail.com synopsis: '' changelog: |2 1.0 (2019-06-25) ================ Initial release. basic-deps: MonadRandom: -any hsnoise: -any base: ! '>=4.7 && <5...
<|file_sep|>original/packages/wh/wholepixels.yaml <|file_sep|>current/packages/wh/wholepixels.yaml <|file_sep|>updated/packages/wh/wholepixels.yaml homepage: '' changelog-type: text hash: c0b4496422110bd3c7b1489c8536208d66053ce11d1aa8c3ff40a4777c861ca8 test-bench-deps: {} maintainer: wholepixels@protonmail.com synops...
04bb7eab035467d222a3e954c5e9e397f7144771
packages/wh/wholepixels.yaml
packages/wh/wholepixels.yaml
YAML
<|file_sep|>original/docs/docker-container-setup.md By default, a container receives the default permissions configured by the metadata proxy. However, some containers require more or less permissions. For these cases, the container can provide a custom IAM role, a custom IAM policy, or both. # Container Role A conta...
By default, a container receives the default permissions configured by the metadata proxy. However, some containers require more or less permissions. For these cases, the container can provide a custom IAM role, a custom IAM policy, or both. The role and/or policy are configured in container environment variables. The...
<|file_sep|>original/docs/docker-container-setup.md By default, a container receives the default permissions configured by the metadata proxy. However, some containers require more or less permissions. For these cases, the container can provide a custom IAM role, a custom IAM policy, or both. # Container Role A conta...
7a634145da6f1d4d74e2e5cf1332ed36b6e2b00d
docs/docker-container-setup.md
docs/docker-container-setup.md
Markdown
<|file_sep|>original/README.md # vue-clickaway > Reusable clickaway directive for reusable [Vue.js](https://github.com/yyx990803/vue) components ## Requirements - vue: ^0.12.9 - browserify or webpack ## Install ``` sh $ npm install vue-clickaway --save ``` ## Usage As an asset: ``` js var onClickaway = require(...
# vue-clickaway > Reusable clickaway directive for reusable [Vue.js](https://github.com/vuejs/vue) components ## Requirements - vue: ^0.12.9 - browserify or webpack ## Install ``` sh $ npm install vue-clickaway --save ``` ## Usage As an asset: ``` js var onClickaway = require('vue-clickaway/directive');
<|file_sep|>original/README.md # vue-clickaway > Reusable clickaway directive for reusable [Vue.js](https://github.com/yyx990803/vue) components ## Requirements - vue: ^0.12.9 - browserify or webpack ## Install ``` sh $ npm install vue-clickaway --save ``` ## Usage As an asset: ``` js var onClickaway = require(...
538dcb0b57d07e0f3115e4d0491acab9fb8856ba
README.md
README.md
Markdown
<|file_sep|>original/grunt/html2js.js module.exports = { options: { base: '<%= dir.src %>/components/', singleModule: true }, components: { module: 'ed.template.components', src: '<%= dir.src %>/components/**/*.tpl.html', dest: '<%= dir.dist %>/<%= package.name %>.template.js' }, }; <|file_sep|>current/...
module.exports = { options: { base: '<%= dir.src %>/components/', singleModule: true }, components: { module: 'ed.template.components', src: '<%= dir.src %>/components/**/*.html', dest: '<%= dir.dist %>/<%= package.name %>.template.js' }, };
<|file_sep|>original/grunt/html2js.js module.exports = { options: { base: '<%= dir.src %>/components/', singleModule: true }, components: { module: 'ed.template.components', src: '<%= dir.src %>/components/**/*.tpl.html', dest: '<%= dir.dist %>/<%= package.name %>.template.js' }, }; <|file_sep|>current/...
1511746513347626d4c75644e47f114cab0f99b8
grunt/html2js.js
grunt/html2js.js
JavaScript
<|file_sep|>README.md.diff original: This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically. updated: This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically. <|file_sep|>README.md.diff original: updated: You can...
```py import razorpay razor = razorpay.Client(auth=("<YOUR_API_KEY>", "<YOUR_API_SECRET>")) ``` ### Payments - Capture a payment ```py razor.payment.capture("<PAYMENT_ID>") ``` - Fetch a particular payment ```py razor.payment.fetch("<PAYMENT_ID>") ```
<|file_sep|>README.md.diff original: This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically. updated: This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically. <|file_sep|>README.md.diff original: updated: You can...
e17133e03462b204438be2d0e7de09639c41c0a9
README.md
README.md
Markdown
<|file_sep|>original/test/cli/command/test_help.rb <|file_sep|>current/test/cli/command/test_help.rb <|file_sep|>updated/test/cli/command/test_help.rb
# frozen_string_literal: true require "helpers" # Tests for KBSecret::CLI::Command::Help class KBSecretCommandHelpTest < Minitest::Test include Helpers include Helpers::CLI def test_help_help help_helps = [ %w[help --help], %w[help -h], %w[help help], ] help_helps.each do |help_h...
<|file_sep|>original/test/cli/command/test_help.rb <|file_sep|>current/test/cli/command/test_help.rb <|file_sep|>updated/test/cli/command/test_help.rb # frozen_string_literal: true require "helpers" # Tests for KBSecret::CLI::Command::Help class KBSecretCommandHelpTest < Minitest::Test include Helpers include H...
0feb5e7f319b392c299d6b71ee4d46dd2060a2cd
test/cli/command/test_help.rb
test/cli/command/test_help.rb
Ruby
<|file_sep|>original/.github/workflows/ruby.yml <|file_sep|>current/.github/workflows/ruby.yml <|file_sep|>updated/.github/workflows/ruby.yml
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see...
<|file_sep|>original/.github/workflows/ruby.yml <|file_sep|>current/.github/workflows/ruby.yml <|file_sep|>updated/.github/workflows/ruby.yml # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support...
7f1dd316f81a30af1e854d843ba82c1e454fc7b5
.github/workflows/ruby.yml
.github/workflows/ruby.yml
YAML
<|file_sep|>original/tests/xilinx/run-test.sh #!/usr/bin/env bash set -e { echo "all::" for x in *.ys; do echo "all:: run-$x" echo "run-$x:" echo " @echo 'Running $x..'" echo " @../../yosys -ql ${x%.ys}.log $x -w 'Yosys has only limited support for tri-state logic at the moment.'" done for s in *.sh; do if [ "$s" ...
#!/usr/bin/env bash set -e { echo "all::" for x in *.ys; do echo "all:: run-$x" echo "run-$x:" echo " @echo 'Running $x..'" echo " @../../yosys -ql ${x%.ys}.log -w 'Yosys has only limited support for tri-state logic at the moment.' $x" done for s in *.sh; do if [ "$s" != "run-test.sh" ]; then echo "all:: run-$s"...
<|file_sep|>original/tests/xilinx/run-test.sh #!/usr/bin/env bash set -e { echo "all::" for x in *.ys; do echo "all:: run-$x" echo "run-$x:" echo " @echo 'Running $x..'" echo " @../../yosys -ql ${x%.ys}.log $x -w 'Yosys has only limited support for tri-state logic at the moment.'" done for s in *.sh; do if [ "$s" ...
eded90b6b42117ba427469a6100c74e708c4f142
tests/xilinx/run-test.sh
tests/xilinx/run-test.sh
Shell
<|file_sep|>original/chrome/content/status.js /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ window.addEventListener("load", function(e) { startup(); }, false); function startup() { var myPanel = document.getElementById("my-panel"); myPanel.label = "Tor enabled"; } <|file_...
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ window.addEventListener("load", function(e) { startup(); }, false); function startup() { var myPanel = document.getElementById("my-panel"); myPanel.label = "Tor Enabled"; myPanel.style.color = "red"; }
<|file_sep|>original/chrome/content/status.js /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ window.addEventListener("load", function(e) { startup(); }, false); function startup() { var myPanel = document.getElementById("my-panel"); myPanel.label = "Tor enabled"; } <|file_...
523c3222ac62f6da4ae525dc691606afdf36f478
chrome/content/status.js
chrome/content/status.js
JavaScript
<|file_sep|>original/tests/test_comments.py <|file_sep|>current/tests/test_comments.py <|file_sep|>updated/tests/test_comments.py
import collections import logging import pytest from mappyfile.pprint import PrettyPrinter def test_comment(): d = collections.Order/edDict() d["name"] = "Test" d["__type__"] = "layer" d["__comments__"] = {"name": "Test comment"} pp = PrettyPrinter(indent=0, quote="'", newlinechar="\n") s = p...
<|file_sep|>original/tests/test_comments.py <|file_sep|>current/tests/test_comments.py <|file_sep|>updated/tests/test_comments.py import collections import logging import pytest from mappyfile.pprint import PrettyPrinter def test_comment(): d = collections.Order/edDict() d["name"] = "Test" d["__type__"]...
49d6984f2c57cf2169304de8fd3956e2f21aba19
tests/test_comments.py
tests/test_comments.py
Python
<|file_sep|>original/requirements.txt modoboa>=1.15.0 django-filter==2.2.0 django-webpack-loader vobject caldav==0.6.2 <|file_sep|>current/requirements.txt modoboa>=1.15.0 django-filter==2.2.0 django-webpack-loader vobject caldav==0.6.2 <|file_sep|>updated/requirements.txt
modoboa>=1.15.0 django-filter==2.2.0 django-webpack-loader vobject caldav==0.7.1
<|file_sep|>original/requirements.txt modoboa>=1.15.0 django-filter==2.2.0 django-webpack-loader vobject caldav==0.6.2 <|file_sep|>current/requirements.txt modoboa>=1.15.0 django-filter==2.2.0 django-webpack-loader vobject caldav==0.6.2 <|file_sep|>updated/requirements.txt modoboa>=1.15.0 django-filter==2.2.0 django-we...
b742172496db152655317bcffd4ab6209055e0d7
requirements.txt
requirements.txt
Text
<|file_sep|>app/views/tickets/index.blade.php.diff original: <th>Description</th> updated: <|file_sep|>app/views/tickets/index.blade.php.diff original: updated: <th>Updated At</th> <|file_sep|>app/views/tickets/index.blade.php.diff original: </td> <td> ...
<td> {{ $ticket->priority->title }} </td> <td> {{ $ticket->status->title }} </td> <td> {{ $ticket->replies }} </td> ...
<|file_sep|>app/views/tickets/index.blade.php.diff original: <th>Description</th> updated: <|file_sep|>app/views/tickets/index.blade.php.diff original: updated: <th>Updated At</th> <|file_sep|>app/views/tickets/index.blade.php.diff original: </td> <td> ...
bc06ebfb24fadbab604c3e7cc6c6987bf92aaa8c
app/views/tickets/index.blade.php
app/views/tickets/index.blade.php
PHP
<|file_sep|>original/README.md # DummyEntity Dummy entities for PHP testing <|file_sep|>current/README.md # DummyEntity Dummy entities for PHP testing <|file_sep|>updated/README.md
# DummyEntity Dummy entities for PHP testing [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg?style=flat-square)](https://php.net/) [![Build Status](https://travis-ci.org/adlacruzes/DummyEntity.svg?branch=travis)](https://travis-ci.org/adlacruzes/DummyEntity) ## Installing DummyEntity ...
<|file_sep|>original/README.md # DummyEntity Dummy entities for PHP testing <|file_sep|>current/README.md # DummyEntity Dummy entities for PHP testing <|file_sep|>updated/README.md # DummyEntity Dummy entities for PHP testing [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg?style=flat-s...
8d552347e184db42a6ed9bc6e72e757a1039fec4
README.md
README.md
Markdown
<|file_sep|>original/src/test/php/net/xp_framework/unittest/util/FileBasedPropertiesTest.class.php with ($t= new TempFile()); { $t->out()->write($source); $t->close(); } return (new Properties())->load($t); } #[@test] public function from_resource() { $prop= new Properties($this->get...
with ($t= new TempFile()); { $t->out()->write($source); $t->close(); } return (new Properties())->load($t); } #[@test] public function from_resource() { $prop= new Properties(typeof($this)->getPackage()->getResourceAsStream('example.ini')->getURI()); $this->assertEquals('value', ...
<|file_sep|>original/src/test/php/net/xp_framework/unittest/util/FileBasedPropertiesTest.class.php with ($t= new TempFile()); { $t->out()->write($source); $t->close(); } return (new Properties())->load($t); } #[@test] public function from_resource() { $prop= new Properties($this->get...
6894844933d44e1786ef2f889e9b764e3c8224fa
src/test/php/net/xp_framework/unittest/util/FileBasedPropertiesTest.class.php
src/test/php/net/xp_framework/unittest/util/FileBasedPropertiesTest.class.php
PHP
<|file_sep|>original/requirements/base.txt # ydf/requirements/base.txt # # Requirements for using this package. -r build.txt click==7.1.2 six==1.15.0 ruamel.yaml==0.15.94; python_version == '3.4' # pyup: ignore ruamel.yaml==0.16.12; python_version > '3.4' jinja2==2.11.1 <|file_sep|>current/requirements/base.txt # yd...
# ydf/requirements/base.txt # # Requirements for using this package. -r build.txt click==7.1.2 six==1.15.0 ruamel.yaml==0.15.94; python_version == '3.4' # pyup: ignore ruamel.yaml==0.16.12; python_version > '3.4' jinja2==2.11.2
<|file_sep|>original/requirements/base.txt # ydf/requirements/base.txt # # Requirements for using this package. -r build.txt click==7.1.2 six==1.15.0 ruamel.yaml==0.15.94; python_version == '3.4' # pyup: ignore ruamel.yaml==0.16.12; python_version > '3.4' jinja2==2.11.1 <|file_sep|>current/requirements/base.txt # yd...
8f5cf6d64fb95bd883fbc423e067cf3d1a9c4baf
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>original/extra_requirements.txt # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will # use them if available when running on older Python versions. # # They are dependencies of pytest when Python < 3.6 so we sometimes get them via # requirements.txt, this file makes them explicit...
# "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will # use them if available when running on older Python versions. # # They are dependencies of pytest when Python < 3.6 so we sometimes get them via # requirements.txt, this file makes them explicit dependencies for testing & # development. #...
<|file_sep|>original/extra_requirements.txt # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will # use them if available when running on older Python versions. # # They are dependencies of pytest when Python < 3.6 so we sometimes get them via # requirements.txt, this file makes them explicit...
15c35223be9de732c7cb8101e41b5c58bd8d781b
extra_requirements.txt
extra_requirements.txt
Text
<|file_sep|>.travis.yml.diff original: updated: services: - postgresql addons: postgresql: "10" <|file_sep|>original/.travis.yml sudo: true cache: pip: true directories: - $HOME/.imageio before_script: - cd Discord script: - ...
sudo: true services: - postgresql addons: postgresql: "10" cache: pip: true directories: - $HOME/.imageio before_script: - psql -c "CREATE DATABASE harmonbot" - psql -c "CREATE USER harmonbot" - cd Discord script: ...
<|file_sep|>.travis.yml.diff original: updated: services: - postgresql addons: postgresql: "10" <|file_sep|>original/.travis.yml sudo: true cache: pip: true directories: - $HOME/.imageio before_script: - cd Discord script: - ...
4ba1190287523afca307abf154226e3ad7a1c798
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json "name": "gotchu-app-landing-page", "version": "1.0.0", "description": "### Learn more and sign up for our beta version on our [website](gotchuapp.co)", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type"...
"description": "### Learn more and sign up for our beta version on our [website](gotchuapp.co)", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/GotchU-App/GotchU-App.github.io.git" }, "auth...
<|file_sep|>original/package.json "name": "gotchu-app-landing-page", "version": "1.0.0", "description": "### Learn more and sign up for our beta version on our [website](gotchuapp.co)", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type"...
aced1d54ce9170f91d1d819cdef310b5aaa6f729
package.json
package.json
JSON
<|file_sep|>original/src/NotifyMeFactory.php * * @throws \InvalidArgumentException * * @return \NotifyMeHQ\NotifyMe\FactoryInterface */ public function createFactory(array $config) { if (!isset($config['driver'])) { throw new InvalidArgumentException("A driver must b...
* * @throws \InvalidArgumentException * * @return \NotifyMeHQ\NotifyMe\FactoryInterface */ public function createFactory(array $config) { if (!isset($config['driver'])) { throw new InvalidArgumentException("A driver must be specified."); } $driver = ...
<|file_sep|>original/src/NotifyMeFactory.php * * @throws \InvalidArgumentException * * @return \NotifyMeHQ\NotifyMe\FactoryInterface */ public function createFactory(array $config) { if (!isset($config['driver'])) { throw new InvalidArgumentException("A driver must b...
0193c9c87c10f5c9900a80e2947f01ce986e3d22
src/NotifyMeFactory.php
src/NotifyMeFactory.php
PHP
<|file_sep|>original/src/main/scala/com/ftchinese/jobs/database/AnalyticDataSource.scala import com.zaxxer.hikari.HikariDataSource /** * Analytic database source * Created by GWB on 2014/12/11. */ class AnalyticDataSource { private val ds = new HikariDataSource() ds.setMaximumPoolSize(10) def setUrl(...
import com.zaxxer.hikari.HikariDataSource /** * Analytic database source * Created by GWB on 2014/12/11. */ class AnalyticDataSource { private val ds = new HikariDataSource() ds.setMinimumIdle(1) ds.setMaximumPoolSize(10) def setUrl(url: String): Unit ={ ds.setJdbcUrl(url) } def ...
<|file_sep|>original/src/main/scala/com/ftchinese/jobs/database/AnalyticDataSource.scala import com.zaxxer.hikari.HikariDataSource /** * Analytic database source * Created by GWB on 2014/12/11. */ class AnalyticDataSource { private val ds = new HikariDataSource() ds.setMaximumPoolSize(10) def setUrl(...
443fed801c814c05cafa2f07c0067619630b49c9
src/main/scala/com/ftchinese/jobs/database/AnalyticDataSource.scala
src/main/scala/com/ftchinese/jobs/database/AnalyticDataSource.scala
Scala
<|file_sep|>original/checkstyle-suppressions.xml <?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> <suppressions> <suppress checks=".*" files=".*(compressed.js|min.js|\.eot|\.gif|\.ico|\.patch|\.png|\.ttf|\.woff)...
<?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> <suppressions> <suppress checks=".*" files=".*(compressed.*\.js|min\.js|\.eot|\.gif|\.ico|\.patch|\.png|\.ttf|\.woff)" /> <!-- Ignore old Liquibase changelogs -...
<|file_sep|>original/checkstyle-suppressions.xml <?xml version="1.0"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> <suppressions> <suppress checks=".*" files=".*(compressed.js|min.js|\.eot|\.gif|\.ico|\.patch|\.png|\.ttf|\.woff)...
7ec5d10123831af3fedb7d917e6fb61aca7da514
checkstyle-suppressions.xml
checkstyle-suppressions.xml
XML
<|file_sep|>original/lib/adhearsion/xmpp.rb server nil , :desc => "XMPP server hostname. May be omitted if server can be determined from JID. String." port nil , :desc => "XMPP server port. May be omitted if server can be determined from JID. Integer." end delegate :...
server nil , :desc => "XMPP server hostname. May be omitted if server can be determined from JID. String." port nil , :desc => "XMPP server port. May be omitted if server can be determined from JID. Integer." end delegate :connection, :to => Plugin # Include the...
<|file_sep|>original/lib/adhearsion/xmpp.rb server nil , :desc => "XMPP server hostname. May be omitted if server can be determined from JID. String." port nil , :desc => "XMPP server port. May be omitted if server can be determined from JID. Integer." end delegate :...
416a4bfb262b73e5b3e4952092141c08a5e9db8c
lib/adhearsion/xmpp.rb
lib/adhearsion/xmpp.rb
Ruby
<|file_sep|>original/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java
package info.u_team.u_team_core.util.registry; import java.util.*; import java.util.function.Supplier; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.*; public class CommonDeferredRegister<R extends IForgeRegistryEntry<R>> implemen...
<|file_sep|>original/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java package info.u_te...
0a894226cd944384ef4d4359e2b5331c13b2e33f
src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java
src/main/java/info/u_team/u_team_core/util/registry/CommonDeferredRegister.java
Java
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: c sudo: required install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: - OCAML_VERSION=4.00 - OCAML_VERSION=4.01 - OCAML_VERSION=4.02 os: - linux - osx
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: c sudo: required install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: - OCAML_VERSION=4.00 - OCAML_VERSION=4.01 - OCAML...
2eb30a60cbfbc7006933b947bc13b41e9ea347e9
.travis.yml
.travis.yml
YAML
<|file_sep|>metadata.json.diff original: "version_requirement": ">= 3.0.0 <5.0.0" updated: "version_requirement": ">= 4.6.0 < 5.0.0" <|file_sep|>metadata.json.diff original: "version_requirement": ">= 1.0.0 <2.0.0" updated: "version_requirement": ">= 1.1.1 < 3.0.0" <|file_sep|>original/metadata....
"dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.6.0 < 5.0.0" }, { "name": "puppetlabs/powershell", "version_requirement": ">= 1.1.1 < 3.0.0" }, { "name": "liamjbennett/win_facts", "version_requirement": ">= 0.0.2 < 2.0.0" } ],...
<|file_sep|>metadata.json.diff original: "version_requirement": ">= 3.0.0 <5.0.0" updated: "version_requirement": ">= 4.6.0 < 5.0.0" <|file_sep|>metadata.json.diff original: "version_requirement": ">= 1.0.0 <2.0.0" updated: "version_requirement": ">= 1.1.1 < 3.0.0" <|file_sep|>original/metadata....
de733f27ee213090db937c64e4377a07d24316b4
metadata.json
metadata.json
JSON
<|file_sep|>original/manual/transpose-matrix.html "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> </head> <body> <h2>Common / Transpose matrix</h2> ...
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> </head> <body> <h2>Common / Transpose matrix</h2> <h3>Description</h3> <p>Given a matrix X in tsv format returns the transpose of X, with or without header. </p> <h3>Parameters</h3> <ul> <li>Does the first column hav...
<|file_sep|>original/manual/transpose-matrix.html "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> </head> <body> <h2>Common / Transpose matrix</h2> ...
e8d54c87773235faf29c98d45939b0d63087a2df
manual/transpose-matrix.html
manual/transpose-matrix.html
HTML