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|>OnlineParticipationDataset/spiders/Bonn2011Spider.py.diff original: yield scrapy.Request(thread,callback=self.parse_thread) updated: thread_url = thread.xpath('//div[@class="col_01"]/h3/a/@href').extract_first() yield scrapy.Request(response.urljoin(thread_url),callback=s...
thread_url = thread.xpath('//div[@class="col_01"]/h3/a/@href').extract_first() yield scrapy.Request(response.urljoin(thread_url),callback=self.parse_thread) # yield { # 'id' : thread.css('h2::text').extract_first(), # 'title' : thread.css('div.col_0...
<|file_sep|>OnlineParticipationDataset/spiders/Bonn2011Spider.py.diff original: yield scrapy.Request(thread,callback=self.parse_thread) updated: thread_url = thread.xpath('//div[@class="col_01"]/h3/a/@href').extract_first() yield scrapy.Request(response.urljoin(thread_url),callback=s...
f36a46766b3111d9acb3a11f30e170629989913e
OnlineParticipationDataset/spiders/Bonn2011Spider.py
OnlineParticipationDataset/spiders/Bonn2011Spider.py
Python
<|file_sep|>original/modules/govuk_jenkins/spec/classes/jenkins_config_spec.rb context 'false (default)' do let (:params) {{ :manage_config => false, }} it { should_not contain_file('/var/lib/jenkins/config.xml') } end context 'true' do let (:params) {{ :manage_con...
'govuk_jenkins::config::github_client_id' => 'bar', 'govuk_jenkins::config::github_client_secret' => 'baz', }} context 'false (default)' do let (:params) {{ :manage_config => false, }} it { should_not contain_file('/var/lib/jenkins/config.xml') } end context 'tru...
<|file_sep|>original/modules/govuk_jenkins/spec/classes/jenkins_config_spec.rb context 'false (default)' do let (:params) {{ :manage_config => false, }} it { should_not contain_file('/var/lib/jenkins/config.xml') } end context 'true' do let (:params) {{ :manage_con...
51d7ea08ce88b980e92b8cffaa5267fce970950f
modules/govuk_jenkins/spec/classes/jenkins_config_spec.rb
modules/govuk_jenkins/spec/classes/jenkins_config_spec.rb
Ruby
<|file_sep|>profiles/pidgin.json.diff original: "mode":"whitelist" updated: "mode":"blacklist" <|file_sep|>original/profiles/pidgin.json , "tray_icon":"/usr/share/icons/gnome-colors-common/scalable/apps/pidgin-menu.svg" } , "networking":{ "type":"bridge" } , "whitelist": [ {"path":"${HOME}/.purple", "can_create":t...
, "enable_tray": false , "tray_icon":"/usr/share/icons/gnome-colors-common/scalable/apps/pidgin-menu.svg" } , "networking":{ "type":"bridge" } , "whitelist": [ {"path":"${HOME}/.purple", "can_create":true} ,{"path":"/var/lib/oz/cells.d/pidgin.json", "can_create":false} ,{"path":"/var/lib/oz/cells.d/pidgin-whitel...
<|file_sep|>profiles/pidgin.json.diff original: "mode":"whitelist" updated: "mode":"blacklist" <|file_sep|>original/profiles/pidgin.json , "tray_icon":"/usr/share/icons/gnome-colors-common/scalable/apps/pidgin-menu.svg" } , "networking":{ "type":"bridge" } , "whitelist": [ {"path":"${HOME}/.purple", "can_create":t...
662527a337c3061da8dfbe31da58ab85686c8aca
profiles/pidgin.json
profiles/pidgin.json
JSON
<|file_sep|>coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java.diff original: updated: import com.google.common.collect.ImmutableMultimap; <|file_sep|>original/coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java import javax.ws.rs.GET; import javax.ws.rs.Path; /** * Serves...
import javax.ws.rs.GET; import javax.ws.rs.Path; /** * Serves status URL. */ public class StatusHandler extends AbstractHttpHandler { /** * Returns the status of the server, which just returns OK if it is handling requests. Used as a healthcheck. * * @param request The request for server status. * @p...
<|file_sep|>coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java.diff original: updated: import com.google.common.collect.ImmutableMultimap; <|file_sep|>original/coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java import javax.ws.rs.GET; import javax.ws.rs.Path; /** * Serves...
b5624065c8715535479b0e1190af9ffe6044c3a7
coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java
coopr-server/src/main/java/co/cask/coopr/http/handler/StatusHandler.java
Java
<|file_sep|>app/scripts/route.coffee.diff original: updated: classPool: null <|file_sep|>app/scripts/route.coffee.diff original: updated: @classPool = [] <|file_sep|>original/app/scripts/route.coffee @setView state @setView 'root' onClickNavItem: (event) => state = event.target.id || 'root'...
onClickNavItem: (event) => state = event.target.id || 'root' window.history.pushState state, @ROUTES[state].title, @ROUTES[state].url @setView state setView: (state) -> partial = @ROUTES[state].partial Handlebars.registerPartial 'view', document.querySelector(partial).innerHTML template = ...
<|file_sep|>app/scripts/route.coffee.diff original: updated: classPool: null <|file_sep|>app/scripts/route.coffee.diff original: updated: @classPool = [] <|file_sep|>original/app/scripts/route.coffee @setView state @setView 'root' onClickNavItem: (event) => state = event.target.id || 'root'...
b2b7139a37c7c55bc16cd79de0429c329c7a53d6
app/scripts/route.coffee
app/scripts/route.coffee
CoffeeScript
<|file_sep|>original/src/main/resources/simplelogger.properties org.slf4j.simpleLogger.defaultLogLevel=info org.slf4j.simpleLogger.showDateTime=true org.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss org.slf4j.simpleLogger.showThreadName=false org.slf4j.simpleLogger.showLogName=false <|file_sep|>current/src/main/resources/...
org.slf4j.simpleLogger.defaultLogLevel=info org.slf4j.simpleLogger.showDateTime=true org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss Z org.slf4j.simpleLogger.showThreadName=false org.slf4j.simpleLogger.showLogName=false
<|file_sep|>original/src/main/resources/simplelogger.properties org.slf4j.simpleLogger.defaultLogLevel=info org.slf4j.simpleLogger.showDateTime=true org.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss org.slf4j.simpleLogger.showThreadName=false org.slf4j.simpleLogger.showLogName=false <|file_sep|>current/src/main/resources/...
d3acb35542136106d31db4b1ce459d1bf2e338ff
src/main/resources/simplelogger.properties
src/main/resources/simplelogger.properties
INI
<|file_sep|>lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_british/_opposite_sex.govspeak.erb.diff original: The UK doesn’t issue certificates of no impediment (CNIs) for marriages in Commonwealth countries. The British High Commission in Pretoria or the Consulate Genera...
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need. ^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr...
<|file_sep|>lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_british/_opposite_sex.govspeak.erb.diff original: The UK doesn’t issue certificates of no impediment (CNIs) for marriages in Commonwealth countries. The British High Commission in Pretoria or the Consulate Genera...
f065a37b1ce29173aa72036cd3b76b9e083a46fc
lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_british/_opposite_sex.govspeak.erb
lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_british/_opposite_sex.govspeak.erb
HTML+ERB
<|file_sep|>original/gradle.properties version=3.0.0 profile=Java # Run findbugs runFindbugs=false # Produce java6 bytecode only if running on top of jenkins and JAVA_6_HOME is available doJava6Bytecode=auto <|file_sep|>current/gradle.properties version=3.0.0 profile=Java # Run findbugs runFindbugs=false # Produce java...
version=3.1.0 profile=Java # Run findbugs runFindbugs=false # Produce java6 bytecode only if running on top of jenkins and JAVA_6_HOME is available doJava6Bytecode=auto
<|file_sep|>original/gradle.properties version=3.0.0 profile=Java # Run findbugs runFindbugs=false # Produce java6 bytecode only if running on top of jenkins and JAVA_6_HOME is available doJava6Bytecode=auto <|file_sep|>current/gradle.properties version=3.0.0 profile=Java # Run findbugs runFindbugs=false # Produce java...
0d0a0e6e44db5fedb5965150b163448577d79739
gradle.properties
gradle.properties
INI
<|file_sep|>original/TestFile.txt This is a test file, please add your name as a distinct versioned change. Michael Stensby Kyle Carlstrom Adam Rankin Raman Dhatt <|file_sep|>current/TestFile.txt This is a test file, please add your name as a distinct versioned change. Michael Stensby Kyle Carlstrom Adam Rankin Ram...
This is a test file, please add your name as a distinct versioned change. Michael Stensby Kyle Carlstrom Adam Rankin Raman Dhatt Mitchell Messerschmidt
<|file_sep|>original/TestFile.txt This is a test file, please add your name as a distinct versioned change. Michael Stensby Kyle Carlstrom Adam Rankin Raman Dhatt <|file_sep|>current/TestFile.txt This is a test file, please add your name as a distinct versioned change. Michael Stensby Kyle Carlstrom Adam Rankin Ram...
f7b6af79ad2339407bfaed90b4281e9679ee8284
TestFile.txt
TestFile.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.4 - 0.6 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.4 - 0.6 <|file_sep|>updated/.travis.yml
language: node_js node_js: - 0.4 - 0.6 - 0.7
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.4 - 0.6 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.4 - 0.6 <|file_sep|>updated/.travis.yml language: node_js node_js: - 0.4 - 0.6 - 0.7
286669839ab0c48751a991946fcb95eb51d185d1
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - 1.2.2 updated: <|file_sep|>original/.travis.yml language: go go: - 1.2.2 - 1.3 install: - go get code.google.com/p/go.tools/cmd/vet - go get -t -v ./... - go install -a -race std script: - go tool vet -all . - go build ./... - go test -race -v ./... <|file_sep|>cur...
language: go go: - 1.3 - tip matrix: fast_finish: true env: global: - PATH=$HOME/gopath/bin:$PATH install: - go get code.google.com/p/go.tools/cmd/vet - go get -t -v ./... - go install -a -race std script: - go tool vet -all . - go build ./...
<|file_sep|>.travis.yml.diff original: - 1.2.2 updated: <|file_sep|>original/.travis.yml language: go go: - 1.2.2 - 1.3 install: - go get code.google.com/p/go.tools/cmd/vet - go get -t -v ./... - go install -a -race std script: - go tool vet -all . - go build ./... - go test -race -v ./... <|file_sep|>cur...
4bf9fd4efd848e218bd5887584b3134fd38bb6bd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/assets/stylesheets/modules/_banner.scss .Banner { @extend %roboto_bold; min-height: 44px; background: $brand_blue; color: $brand_white; text-align: center; line-height: 40px; } .Banner__text { position: relative; display: inline-block; padding-left: 48px; width: auto; } ....
color: $brand_white; text-align: center; line-height: 40px; } .Banner__text { position: relative; display: inline-block; padding-left: 48px; width: auto; // Temporarily disable to focus on Refugees // &:before { // position: absolute; // bottom: 0; // left: 0; // width: 40px; // ...
<|file_sep|>original/app/assets/stylesheets/modules/_banner.scss .Banner { @extend %roboto_bold; min-height: 44px; background: $brand_blue; color: $brand_white; text-align: center; line-height: 40px; } .Banner__text { position: relative; display: inline-block; padding-left: 48px; width: auto; } ....
77f425d2d891c9a91b2862dc47d6e921c7675c3e
app/assets/stylesheets/modules/_banner.scss
app/assets/stylesheets/modules/_banner.scss
SCSS
<|file_sep|>original/tox.ini [tox] envlist = py27,py33,py34 [testenv] deps= pytest mock WebTest commands=py.test <|file_sep|>current/tox.ini [tox] envlist = py27,py33,py34 [testenv] deps= pytest mock WebTest commands=py.test <|file_sep|>updated/tox.ini
[tox] envlist = py27,py34 [testenv] deps= pytest mock WebTest commands=py.test
<|file_sep|>original/tox.ini [tox] envlist = py27,py33,py34 [testenv] deps= pytest mock WebTest commands=py.test <|file_sep|>current/tox.ini [tox] envlist = py27,py33,py34 [testenv] deps= pytest mock WebTest commands=py.test <|file_sep|>updated/tox.ini [tox] envlist = py27,py34 [testenv] deps...
d565c86710d3c79b80ca2c7a88bfdb7818476389
tox.ini
tox.ini
INI
<|file_sep|>original/smart.json { "name": "twilio-meteor", "description": "Twilio Meteor API Bindings", "homepage": "https://github.com/andreioprisan/twilio-meteor", "author": "Andrei Oprisan (http://andrei.oprisan.com)", "version": "1.1.0", "git": "https://github.com/andreioprisan/twilio-meteor.git" } <|fi...
{ "name": "twilio-meteor", "description": "Twilio Meteor API Bindings", "homepage": "https://github.com/andreioprisan/twilio-meteor", "author": "Andrei Oprisan (http://andrei.oprisan.com)", "version": "1.4.0", "git": "https://github.com/andreioprisan/twilio-meteor.git" }
<|file_sep|>original/smart.json { "name": "twilio-meteor", "description": "Twilio Meteor API Bindings", "homepage": "https://github.com/andreioprisan/twilio-meteor", "author": "Andrei Oprisan (http://andrei.oprisan.com)", "version": "1.1.0", "git": "https://github.com/andreioprisan/twilio-meteor.git" } <|fi...
37e01fb91071243abc49a2c3240fc014ccf12ce8
smart.json
smart.json
JSON
<|file_sep|>original/docker/docker-mysql.sh <|file_sep|>current/docker/docker-mysql.sh <|file_sep|>updated/docker/docker-mysql.sh
docker run --name=honux-mysql -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=9a55w0rd -p 3306:3306 -d mysql/mysql-server:5.7
<|file_sep|>original/docker/docker-mysql.sh <|file_sep|>current/docker/docker-mysql.sh <|file_sep|>updated/docker/docker-mysql.sh docker run --name=honux-mysql -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=9a55w0rd -p 3306:3306 -d mysql/mysql-server:5.7
02bfda344e060a11ef38bb12eff5f9232105e818
docker/docker-mysql.sh
docker/docker-mysql.sh
Shell
<|file_sep|>original/directory_servers.yaml # file: directory_servers.yaml # # Directory service nodes # --- - hosts: directory_servers roles: - role: guest_dmz tags: [ 'net' ] - role: libvirt_guest_network_service tags: [ 'net' ] - role: ca_trust tags: [ 'tls' ] # - role: transpo...
# file: directory_servers.yaml # # Directory service nodes # --- - hosts: directory_servers pre_tasks: - assert: that: - public_hostname is defined - public_dns_zone is defined - ds_config_admin_password is defined - ds_rootdn_password is defined - ds_admin_password is defined...
<|file_sep|>original/directory_servers.yaml # file: directory_servers.yaml # # Directory service nodes # --- - hosts: directory_servers roles: - role: guest_dmz tags: [ 'net' ] - role: libvirt_guest_network_service tags: [ 'net' ] - role: ca_trust tags: [ 'tls' ] # - role: transpo...
49762fbf873ba2141b762f0093d47ffbb60ceca0
directory_servers.yaml
directory_servers.yaml
YAML
<|file_sep|>original/emote/mapping.json { "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻" } <|file_sep|>current/emote/mapping.json { "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻" } <|file_sep|>updated/emote/mapping.json
{ "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻", "whale":"🐳" }
<|file_sep|>original/emote/mapping.json { "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻" } <|file_sep|>current/emote/mapping.json { "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻" } <|file_sep|>updated/emote/mapping.json { "shrug":"¯\\_(ツ)_/¯", "tableflip":"(╯°□°)╯︵ ┻━┻", "whale":"🐳" }
570ad2c0fc2a080b0d864322df7d8586e5fc3591
emote/mapping.json
emote/mapping.json
JSON
<|file_sep|>original/_includes/table.html <td>4:00 PM</td> </tr> <tr> <td>Tuesday:</td> <td>10:00 AM</td> <td> - </td> <td>5:00 PM</td> </tr> <tr> <td>Wednesday:</td> <td>10:00 AM</td> <td> - </td> <td>5:00&nbsp;PM</td> </tr> <tr> <td>T...
<td>4:00 PM</td> </tr> <tr> <td>Tuesday:</td> <td>10:00 AM</td> <td> - </td> <td>5:00 PM</td> </tr> <tr> <td>Wednesday:</td> <td>9:00 AM</td> <td> - </td> <td>5:00&nbsp;PM</td> </tr> <tr> <td>Thursday:&nbsp;</td> <td>10:00 AM</td>...
<|file_sep|>original/_includes/table.html <td>4:00 PM</td> </tr> <tr> <td>Tuesday:</td> <td>10:00 AM</td> <td> - </td> <td>5:00 PM</td> </tr> <tr> <td>Wednesday:</td> <td>10:00 AM</td> <td> - </td> <td>5:00&nbsp;PM</td> </tr> <tr> <td>T...
f3c3cebc011fca1afdf7dd21d5682b2e043fac66
_includes/table.html
_includes/table.html
HTML
<|file_sep|>original/stats-server/lib/reporting/reports/instance_life_timeline.js var genericLoader = require('./generic_report_loader'); var AGGREGATION_STEPS = [ { $project: { instanceId: 1, date: 1, _id: 0 } }, { $group: { _id: "$instanceId", activityDates: { $push: "$date"} } }, { $project: { instanceId: "...
var genericLoader = require('./generic_report_loader'); var AGGREGATION_STEPS = [ { $project: { instanceId: 1, date: 1, active: 1, _id: 0 } }, { $group: { _id: "$instanceId", activityDates: { $push: { date: "$date", active: "$active" } } } }, { $project: { instanceId: "$_id", _id: 0, activityDates: 1 } } ]; ...
<|file_sep|>original/stats-server/lib/reporting/reports/instance_life_timeline.js var genericLoader = require('./generic_report_loader'); var AGGREGATION_STEPS = [ { $project: { instanceId: 1, date: 1, _id: 0 } }, { $group: { _id: "$instanceId", activityDates: { $push: "$date"} } }, { $project: { instanceId: "...
c5bc4811bb30fcf05b13bcdb303f9e5f3a4374f1
stats-server/lib/reporting/reports/instance_life_timeline.js
stats-server/lib/reporting/reports/instance_life_timeline.js
JavaScript
<|file_sep|>original/defaults/main.yml --- apache: ServerTokens: Prod ServerSignature: "Off" php: modules: 20: mysql expose_php: 'Off' max_execution_time: '120' memory_limit: '256M' variables_order: 'EGPCS' <|file_sep|>current/defaults/main.yml --- apache: ServerTokens: Prod ServerSignature: "Off...
--- apache: ServerTokens: Prod ServerSignature: "Off" php: modules: 20: mysql core: expose_php: 'Off' max_execution_time: '120' memory_limit: '256M' variables_order: 'EGPCS'
<|file_sep|>original/defaults/main.yml --- apache: ServerTokens: Prod ServerSignature: "Off" php: modules: 20: mysql expose_php: 'Off' max_execution_time: '120' memory_limit: '256M' variables_order: 'EGPCS' <|file_sep|>current/defaults/main.yml --- apache: ServerTokens: Prod ServerSignature: "Off...
92bc7603a2126a78f4341696a88cf569a03ffa04
defaults/main.yml
defaults/main.yml
YAML
<|file_sep|>original/tests/frontend_tests.py # -*- coding: utf-8 -*- from . import FogspoonAppTestCase, settings from fogspoon.frontend import create_app class FogspoonFrontendTestCase(FogspoonAppTestCase): def test_front(self): r = self.get('/') self.assertOkHtml(r) self.assertEquals(16...
# -*- coding: utf-8 -*- from . import FogspoonAppTestCase, settings from fogspoon.frontend import create_app class FogspoonFrontendTestCase(FogspoonAppTestCase): def test_front(self): r = self.get('/') self.assertOkHtml(r) self.assertEquals(1648, len(r.data)) def _create_app(self): ...
<|file_sep|>original/tests/frontend_tests.py # -*- coding: utf-8 -*- from . import FogspoonAppTestCase, settings from fogspoon.frontend import create_app class FogspoonFrontendTestCase(FogspoonAppTestCase): def test_front(self): r = self.get('/') self.assertOkHtml(r) self.assertEquals(16...
95dd556423b0f8d8ec2df9cd7e1f494206bc2104
tests/frontend_tests.py
tests/frontend_tests.py
Python
<|file_sep|>original/package.json { "name": "flow-typestrip", "version": "0.1.2", "description": "A Recast based transform to remove Flow type annotations.", "main": "index.js", "bin": { "flow-typestrip": "./bin/flow-typestrip" }, "scripts": { "test": "jest .*-test.js" }, "keywords": [ "tr...
{ "name": "flow-typestrip", "version": "0.1.3", "description": "A Recast based transform to remove Flow type annotations.", "main": "index.js", "bin": { "flow-typestrip": "./bin/flow-typestrip" }, "scripts": { "test": "jest .*-test.js" }, "keywords": [ "transformer", "flow", "flowt...
<|file_sep|>original/package.json { "name": "flow-typestrip", "version": "0.1.2", "description": "A Recast based transform to remove Flow type annotations.", "main": "index.js", "bin": { "flow-typestrip": "./bin/flow-typestrip" }, "scripts": { "test": "jest .*-test.js" }, "keywords": [ "tr...
58d3777129a694d96014227c9b5c722d2058d190
package.json
package.json
JSON
<|file_sep|>original/playbook/workflow.yml --- - name: NextflowWorkbench workflow nodes Playbook hosts: workflow_nodes tasks: - name: Create target dir command: mkdir -p /home/ubuntu/config-tools become: yes become_user: ubuntu - name: Copy installation script to node action: copy src="workflow...
--- - name: NextflowWorkbench workflow nodes Playbook hosts: workflow_nodes tasks: - name: Create target dir command: mkdir -p /home/ubuntu/config-tools become: yes become_user: ubuntu - name: Copy installation script to node action: copy src="workflow/node-install-packages.sh" dest="/home/ubun...
<|file_sep|>original/playbook/workflow.yml --- - name: NextflowWorkbench workflow nodes Playbook hosts: workflow_nodes tasks: - name: Create target dir command: mkdir -p /home/ubuntu/config-tools become: yes become_user: ubuntu - name: Copy installation script to node action: copy src="workflow...
bbfed5f86d1c68a30a48a5b7832fc06b9b966a4e
playbook/workflow.yml
playbook/workflow.yml
YAML
<|file_sep|>original/app/controllers/authentications_controller.rb class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt e...
class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt encrypted_password password_salt password_hash feed_code api_key)), ...
<|file_sep|>original/app/controllers/authentications_controller.rb class AuthenticationsController < ApplicationController before_action :only_admins def create if person = Person.authenticate(params[:authentication][:email], params[:authentication][:password]) render xml: person.to_xml(except: %w(salt e...
272ff93a8593d09b477f562c4a81f36e104854ed
app/controllers/authentications_controller.rb
app/controllers/authentications_controller.rb
Ruby
<|file_sep|>package.json.diff original: "yargs": "^8.0.1" updated: "yargs": "^6.5.0" <|file_sep|>original/package.json "webpack", "loader" ], "author": "elm-community", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/elm-community/elm-webpack-loader/issues" }, "homepage":...
"webpack", "loader" ], "author": "elm-community", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/elm-community/elm-webpack-loader/issues" }, "homepage": "https://github.com/elm-community/elm-webpack-loader", "dependencies": { "elm": "^0.18.0", "glob": "^7.1.1", "lo...
<|file_sep|>package.json.diff original: "yargs": "^8.0.1" updated: "yargs": "^6.5.0" <|file_sep|>original/package.json "webpack", "loader" ], "author": "elm-community", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/elm-community/elm-webpack-loader/issues" }, "homepage":...
c4d3f8407ba5374195763354b593aea202eead95
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - nightly matrix: allow_failures: - php: 7.4snapshot - php: nightly fast_finish: true install: # --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722 - composer update -n -...
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - nightly services: - redis-server matrix: allow_failures: - php: 7.4snapshot - php: nightly fast_finish: true install: # --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot - nightly matrix: allow_failures: - php: 7.4snapshot - php: nightly fast_finish: true install: # --ignore-platform-reqs, because https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2722 - composer update -n -...
f53f2251c8d256c9f77d5452cd864d30c0f22a38
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # Chirp Client _Geotagged Tweets Explorer_ - Example for the book [Mastering D3.js](http://www.packtpub.com/bring-data-to-life-by-creating-and-deploying-complex-data-visualizations-with-d3js/book) ## Using the Application <|file_sep|>current/README.md # Chirp Client _Geotagged Tweet...
# Chirp Client _Geotagged Tweets Explorer_ - Example for the book [Mastering D3.js](http://www.packtpub.com/bring-data-to-life-by-creating-and-deploying-complex-data-visualizations-with-d3js/book) ![chirp-client screenshot](dist/img/screenshot.png)
<|file_sep|>original/README.md # Chirp Client _Geotagged Tweets Explorer_ - Example for the book [Mastering D3.js](http://www.packtpub.com/bring-data-to-life-by-creating-and-deploying-complex-data-visualizations-with-d3js/book) ## Using the Application <|file_sep|>current/README.md # Chirp Client _Geotagged Tweet...
b1c615198aa184d78c47b08d9b4f451ac9041fa2
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.8.x" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.8.x" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "0.4" - "0.6" - "0.8" - "0.10"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.8.x" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.8.x" <|file_sep|>updated/.travis.yml language: node_js node_js: - "0.4" - "0.6" - "0.8" - "0.10"
8e79b3e57065c7171ba0b0e5481c21b453c4661e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/StatsListCommand.php * * @var string */ protected $signature = 'stats'; /** * The console command description. * * @var string */ protected $description = 'Generate Statistics for this Laravel Project'; /** * Execute the console command....
* * @var string */ protected $signature = 'stats'; /** * The console command description. * * @var string */ protected $description = 'Generate statistics for this Laravel project'; /** * Execute the console command. * * @param $finder Wnx\LaravelStats...
<|file_sep|>original/src/StatsListCommand.php * * @var string */ protected $signature = 'stats'; /** * The console command description. * * @var string */ protected $description = 'Generate Statistics for this Laravel Project'; /** * Execute the console command....
58870c2df970d58770ee63153d8a5a18c6e6dae1
src/StatsListCommand.php
src/StatsListCommand.php
PHP
<|file_sep|>original/docker-compose.yml test: build: . environment: RAILS_ENV: test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_dbs - phantomjs setup_dbs: build: . environment: GETIT_DB_HOST: db command: bash -c "sleep 5; rake...
test: build: . environment: RAILS_ENV: test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_dbs setup_dbs: build: . environment: GETIT_DB_HOST: db command: bash -c "sleep 5; rake db:setup" depends_on: - db db: image: li...
<|file_sep|>original/docker-compose.yml test: build: . environment: RAILS_ENV: test env_file: - test.env command: "tail -f /dev/null" depends_on: - setup_dbs - phantomjs setup_dbs: build: . environment: GETIT_DB_HOST: db command: bash -c "sleep 5; rake...
c44627286e7dd3072344685060d84427ec772d7f
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/static/fluent/da/main.ftl <|file_sep|>current/static/fluent/da/main.ftl <|file_sep|>updated/static/fluent/da/main.ftl
## The following terms must be treated as brand, and kept in English. ## ## They cannot be: ## - Transliterated. ## - Translated. ## ## Declension should be avoided where possible. ## ## Reference: https://mozilla-l10n.github.io/styleguides/mozilla_general/index.html#brands-copyright-and-trademark -webthings-gateway-b...
<|file_sep|>original/static/fluent/da/main.ftl <|file_sep|>current/static/fluent/da/main.ftl <|file_sep|>updated/static/fluent/da/main.ftl ## The following terms must be treated as brand, and kept in English. ## ## They cannot be: ## - Transliterated. ## - Translated. ## ## Declension should be avoided where possible...
05b8a7bee04c0c172e9c67b735657eefe076d31d
static/fluent/da/main.ftl
static/fluent/da/main.ftl
FreeMarker
<|file_sep|>original/install_mc_perlbrew.sh #!/bin/bash working_dir=`dirname $0` cd $working_dir set -u set -o errexit if [ `getconf LONG_BIT` != '64' ]; then echo "Install failed, you must have a 64 bit OS." exit 1 fi TMPDIR="." ./foreign_modules/perlbrew_install.sh set +u source ~/perl5/perlbrew/etc/bashr...
#!/bin/bash working_dir=`dirname $0` cd $working_dir set -u set -o errexit if [ `getconf LONG_BIT` != '64' ]; then echo "Install failed, you must have a 64 bit OS." exit 1 fi TMPDIR="." ./foreign_modules/perlbrew_install.sh set +u source ~/perl5/perlbrew/etc/bashrc set -u perlbrew init nice perlbrew insta...
<|file_sep|>original/install_mc_perlbrew.sh #!/bin/bash working_dir=`dirname $0` cd $working_dir set -u set -o errexit if [ `getconf LONG_BIT` != '64' ]; then echo "Install failed, you must have a 64 bit OS." exit 1 fi TMPDIR="." ./foreign_modules/perlbrew_install.sh set +u source ~/perl5/perlbrew/etc/bashr...
86fa497950c4dd486075b49426d5fd66b5b7f389
install_mc_perlbrew.sh
install_mc_perlbrew.sh
Shell
<|file_sep|>original/views/other.haml -if @characters.count == 0 %span Couldn't find any characters for this ranking. - else %h2.title= params[:other].split("_").map(&:capitalize).join(" ") %table %thead %tr %th Character %th= params[:other].split("_").map(&:capitalize).join(" ") %t...
%span Couldn't find any characters for this ranking. - else %h2.title= params[:other].split("_").map(&:capitalize).join(" ") %table %thead %tr %th Character %th= params[:other].split("_").map(&:capitalize).join(" ") %tbody - @characters.to_a.each do |character| %tr ...
<|file_sep|>original/views/other.haml -if @characters.count == 0 %span Couldn't find any characters for this ranking. - else %h2.title= params[:other].split("_").map(&:capitalize).join(" ") %table %thead %tr %th Character %th= params[:other].split("_").map(&:capitalize).join(" ") %t...
e5bdb693c5a065e38eb00c42993fa8b3346e4649
views/other.haml
views/other.haml
Haml
<|file_sep|>original/django/neverlate/tasks.py <|file_sep|>current/django/neverlate/tasks.py <|file_sep|>updated/django/neverlate/tasks.py
from __future__ import absolute_import from celery import shared_task from calparser.tasks import parse_ical_from_url from calparser.models import CalendarEntry from django.contrib.auth.models import User @shared_task def reload_all_user_calendars(): """Reload calendars for all users using Celery""" for use...
<|file_sep|>original/django/neverlate/tasks.py <|file_sep|>current/django/neverlate/tasks.py <|file_sep|>updated/django/neverlate/tasks.py from __future__ import absolute_import from celery import shared_task from calparser.tasks import parse_ical_from_url from calparser.models import CalendarEntry from django.cont...
e81e36304412e5cd86d91e3f79a17b845ec7a90d
django/neverlate/tasks.py
django/neverlate/tasks.py
Python
<|file_sep|>original/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java <|file_sep|>current/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java <|file_sep|>updated/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium...
package com.sunny.grokkingalgorithms.fasttrack.ctcimedium; /** * Created by sundas on 6/16/2018. */ public class SwapTwoVariablesWithoutTemp { /** * * @param args */ public static void main(String[] args) { int a = 5; int b = 6; System.out.println(a); System.out.println(b); a += b; ...
<|file_sep|>original/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java <|file_sep|>current/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java <|file_sep|>updated/src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium...
b8140c95a132159ff716723e5849ea7bcbed1037
src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java
src/main/java/com/sunny/grokkingalgorithms/fasttrack/ctcimedium/SwapTwoVariablesWithoutTemp.java
Java
<|file_sep|>original/app/views/layouts/_public_sidebar.html.erb <ul class="nav nav-list"> <li class="nav-header">Aktuell</li> <% if JUMU_ROUND == 2 && JUMU_TIMETABLES_PUBLIC %> <% lw_competition = Competition.seasonal_with_level(JUMU_ROUND).first %> <% date = lw_competition.begins %> <% lw_competition....
<ul class="nav nav-list"> <li class="nav-header">Aktuell</li> <% if JUMU_ROUND == 2 && JUMU_TIMETABLES_PUBLIC %> <% lw_competition = Competition.seasonal_with_level(JUMU_ROUND).first %> <% date = lw_competition.begins %> <% lw_competition.venues.each do |venue| %> <%= nav_link_to "Vorspielplan #{...
<|file_sep|>original/app/views/layouts/_public_sidebar.html.erb <ul class="nav nav-list"> <li class="nav-header">Aktuell</li> <% if JUMU_ROUND == 2 && JUMU_TIMETABLES_PUBLIC %> <% lw_competition = Competition.seasonal_with_level(JUMU_ROUND).first %> <% date = lw_competition.begins %> <% lw_competition....
66a2518291acf6c17547ee3d8d3012fe8d8a3d18
app/views/layouts/_public_sidebar.html.erb
app/views/layouts/_public_sidebar.html.erb
HTML+ERB
<|file_sep|>app/views/stylesheets/_template50.html.haml.diff original: :css updated: <|file_sep|>original/app/views/stylesheets/_template50.html.haml :css - if big_iframe :css @media (min-width: 1080px) { .navbar-pf ul > li.active { margin-bottom: 0 !important; } .navbar-nav ul > li > ul { display:no...
- if big_iframe :css @media (min-width: 1080px) { .navbar-pf ul > li.active { margin-bottom: 0 !important; } .navbar-nav ul > li > ul { display:none }
<|file_sep|>app/views/stylesheets/_template50.html.haml.diff original: :css updated: <|file_sep|>original/app/views/stylesheets/_template50.html.haml :css - if big_iframe :css @media (min-width: 1080px) { .navbar-pf ul > li.active { margin-bottom: 0 !important; } .navbar-nav ul > li > ul { display:no...
9619c7fb1a6db7e441123429774577d0b5397b80
app/views/stylesheets/_template50.html.haml
app/views/stylesheets/_template50.html.haml
Haml
<|file_sep|>original/tasks/options/topdoc.js var grunt = require('grunt'); module.exports = { demo: { options: { source: 'demo/static/css/', destination: 'demo/', template: 'node_modules/cf-component-demo/' + ( grunt.option('tpl') || 'raw' ) + '/', templateData: { ltIE9AltSource: ...
var grunt = require('grunt'); module.exports = { demo: { options: { source: 'demo/static/css/', destination: 'demo/', template: 'node_modules/cf-component-demo/' + ( grunt.option('tpl') || 'raw' ) + '/', templateData: { ltIE9AltSource: '<%= opt.ltIE9AltSource %>', ltIE8Sou...
<|file_sep|>original/tasks/options/topdoc.js var grunt = require('grunt'); module.exports = { demo: { options: { source: 'demo/static/css/', destination: 'demo/', template: 'node_modules/cf-component-demo/' + ( grunt.option('tpl') || 'raw' ) + '/', templateData: { ltIE9AltSource: ...
7d10a0aa63bc9ea757fbf77ce4fac2e93b44dd71
tasks/options/topdoc.js
tasks/options/topdoc.js
JavaScript
<|file_sep|>mogli.gemspec.diff original: updated: s.add_dependency 'hashie', '~> 1.1.0' <|file_sep|>original/mogli.gemspec spec = Gem::Specification.new do |s| s.name = 'mogli' s.version = '0.0.28' s.summary = 'Open Graph Library for Ruby' s.description = 'Simple library for accessing the Facebook Open Graph...
spec = Gem::Specification.new do |s| s.name = 'mogli' s.version = '0.0.28' s.summary = 'Open Graph Library for Ruby' s.description = 'Simple library for accessing the Facebook Open Graph API' s.files = Dir['lib/**/*.rb'] s.test_files = Dir['spec/**/*.rb'] s.require_path = 'lib' s.author = 'Mike Mangino'...
<|file_sep|>mogli.gemspec.diff original: updated: s.add_dependency 'hashie', '~> 1.1.0' <|file_sep|>original/mogli.gemspec spec = Gem::Specification.new do |s| s.name = 'mogli' s.version = '0.0.28' s.summary = 'Open Graph Library for Ruby' s.description = 'Simple library for accessing the Facebook Open Graph...
8ab8c2fe2de73e9dafd39d58d5093f1ae46efac2
mogli.gemspec
mogli.gemspec
Ruby
<|file_sep|>run.sh.diff original: sparkmaster=${*:$((startConnIdx-1)):1} updated: sparkmaster="--master ${*:$((startConnIdx-1)):1}" <|file_sep|>original/run.sh connectorArgs="" sparkmaster="" stressArgs=${*:2} else connectorArgs=${*:$((startConnIdx))} sparkmaster=${*:$((startConnIdx-1)):1} stressArgs...
connectorArgs="" sparkmaster="" stressArgs=${*:2} else connectorArgs=${*:$((startConnIdx))} sparkmaster="--master ${*:$((startConnIdx-1)):1}" stressArgs=${*:2:$((startConnIdx-2))} fi JAR=build/libs/SparkCassandraStress-1.0.jar CLASS=com.datastax.sparkstress.SparkCassandraStress SUBMIT="spark-submit $sp...
<|file_sep|>run.sh.diff original: sparkmaster=${*:$((startConnIdx-1)):1} updated: sparkmaster="--master ${*:$((startConnIdx-1)):1}" <|file_sep|>original/run.sh connectorArgs="" sparkmaster="" stressArgs=${*:2} else connectorArgs=${*:$((startConnIdx))} sparkmaster=${*:$((startConnIdx-1)):1} stressArgs...
65c5f4adf1d096848f251275293741f667e4de63
run.sh
run.sh
Shell
<|file_sep|>original/src/ProcessDBStreamForAuthorsTableUpdate/ProcessDBStreamForAuthorsTableUpdate.js var sns = new SNS(); console.log("About to process " + event.Records.length + " events"); event.Records.forEach(function(record) { if (record.eventName == "INSERT") { try { var author = record.d...
var sns = new SNS(); console.log("About to process " + event.Records.length + " events"); event.Records.forEach(function(record) { if (record.eventName == "INSERT") { try { var author = record.dynamodb.NewImage.name.S; } catch (e) { return callback(e, "Error extracting author name ...
<|file_sep|>original/src/ProcessDBStreamForAuthorsTableUpdate/ProcessDBStreamForAuthorsTableUpdate.js var sns = new SNS(); console.log("About to process " + event.Records.length + " events"); event.Records.forEach(function(record) { if (record.eventName == "INSERT") { try { var author = record.d...
289609123d88c57616ec1e51d236311dc53cab25
src/ProcessDBStreamForAuthorsTableUpdate/ProcessDBStreamForAuthorsTableUpdate.js
src/ProcessDBStreamForAuthorsTableUpdate/ProcessDBStreamForAuthorsTableUpdate.js
JavaScript
<|file_sep|>original/Gruntfile.js npm: ['package.json'] }, nodeunit: { tests: ['test/**/*.js'] }, release: { options: {} } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-jsonlint'); grunt.loadNpmTasks...
jshint: ['.jshintrc'], npm: ['package.json'] }, nodeunit: { tests: ['test/**/*.js'] }, release: { options: {} } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-jsonlint'); grunt.loadNpmTask...
<|file_sep|>original/Gruntfile.js npm: ['package.json'] }, nodeunit: { tests: ['test/**/*.js'] }, release: { options: {} } }); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-jsonlint'); grunt.loadNpmTasks...
e7274cd40ff5283da37b00a95b44cefdfb0c0507
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/.kitchen.yml <|file_sep|>current/.kitchen.yml <|file_sep|>updated/.kitchen.yml
driver: name: vagrant customize: cpus: 2 memory: 4096 provisioner: name: chef_zero platforms: - name: windows-2008r2-chef11.18.6 driver_config: box: chef/windows-server-2008r2-standard provisioner: require_chef_omnibus: 11.18.6 - name: windows-2008r2-chef12 driver_config: ...
<|file_sep|>original/.kitchen.yml <|file_sep|>current/.kitchen.yml <|file_sep|>updated/.kitchen.yml driver: name: vagrant customize: cpus: 2 memory: 4096 provisioner: name: chef_zero platforms: - name: windows-2008r2-chef11.18.6 driver_config: box: chef/windows-server-2008r2-standard p...
cf8a9659db1b6db71bc41c11ce7f40556133d502
.kitchen.yml
.kitchen.yml
YAML
<|file_sep|>original/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java <|file_sep|>current/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java <|file_sep|>updated/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java
package ca.dal.cs.scavenger; import android.app.Application; import net.gotev.uploadservice.UploadService; /** * Created by odavi on 11/25/2016. */ public class ScavengerApplication extends Application { @Override public void onCreate() { super.onCreate(); UploadService.NAMESPACE = BuildCon...
<|file_sep|>original/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java <|file_sep|>current/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java <|file_sep|>updated/app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java package ca.dal.cs.scavenger; import android.app.Application; im...
dbdb996b197e4245f2f756351f6a68b8f264019d
app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java
app/src/main/java/ca/dal/cs/scavenger/ScavengerApplication.java
Java
<|file_sep|>original/package.json { "name": "webperformance", "preferGlobal": true, "version": "0.0.1", "description": "Simple Tool to test page performance with differents bandwith", "main": "webPerformance.js", "author": { "name": "Alvaro Salazar", "email": "salazar3pa@gmail.com" }, "keywords"...
{ "name": "webperformance", "preferGlobal": true, "version": "0.0.2", "description": "Simple Tool to test page performance with differents bandwith", "main": "webPerformance.js", "author": { "name": "Alvaro Salazar", "email": "salazar3pa@gmail.com" }, "keywords": [ "webPerformance", "performance...
<|file_sep|>original/package.json { "name": "webperformance", "preferGlobal": true, "version": "0.0.1", "description": "Simple Tool to test page performance with differents bandwith", "main": "webPerformance.js", "author": { "name": "Alvaro Salazar", "email": "salazar3pa@gmail.com" }, "keywords"...
0d6d5678084c92621ff820f49cdfe68b2130f567
package.json
package.json
JSON
<|file_sep|>original/lib/rubocop/cop/favor_unless_over_negated_if.rb # encoding: utf-8 module Rubocop module Cop module FavorOtherKeywordOverNegation def check(node) condition, _body, _rest = *node # Look at last expression of contents if there's a parenthesis # around condition. ...
# encoding: utf-8 module Rubocop module Cop module FavorOtherKeywordOverNegation def check(node) condition, _body, _rest = *node # Look at last expression of contents if there's a parenthesis # around condition. condition = condition.children.last while condition.type == :b...
<|file_sep|>original/lib/rubocop/cop/favor_unless_over_negated_if.rb # encoding: utf-8 module Rubocop module Cop module FavorOtherKeywordOverNegation def check(node) condition, _body, _rest = *node # Look at last expression of contents if there's a parenthesis # around condition. ...
e344e841e361d97338502f0e6845dc87bfa50021
lib/rubocop/cop/favor_unless_over_negated_if.rb
lib/rubocop/cop/favor_unless_over_negated_if.rb
Ruby
<|file_sep|>original/modules/mod_ginger_collection/templates/page.beeldenzoeker_query.tpl {% include "beeldenzoeker/share.tpl" %} </div> </div> <article class="main-content"> {% include "page-title/page-title.tpl" %} {% include "subtitle/subtitle.tpl"...
{% include "beeldenzoeker/share.tpl" %} </div> </div> <article class="main-content"> {% include "page-title/page-title.tpl" %} {% include "subtitle/subtitle.tpl" %} {% include "summary/summary.tpl" %} {% include "body/body.tp...
<|file_sep|>original/modules/mod_ginger_collection/templates/page.beeldenzoeker_query.tpl {% include "beeldenzoeker/share.tpl" %} </div> </div> <article class="main-content"> {% include "page-title/page-title.tpl" %} {% include "subtitle/subtitle.tpl"...
b25e6c29d8ec138527ccca5d442a9618feb13e3e
modules/mod_ginger_collection/templates/page.beeldenzoeker_query.tpl
modules/mod_ginger_collection/templates/page.beeldenzoeker_query.tpl
Smarty
<|file_sep|>original/www/index.php declare(strict_types = 1); namespace app; use ErrorException; use Throwable; /** * Include base source files and extensions */ foreach (glob(__DIR__ . '/src/*.php') as $file) { include_once $file; } foreach (glob(path('ext', 'src/*.php')) as $file) { include_once $file; ...
declare(strict_types = 1); namespace app; use ErrorException; use Throwable; /** * Include base source files and extensions */ foreach (glob(dirname(__DIR__) . '/src/*.php') as $file) { include_once $file; } foreach (glob(path('ext', 'src/*.php')) as $file) { include_once $file; } /** * Register error a...
<|file_sep|>original/www/index.php declare(strict_types = 1); namespace app; use ErrorException; use Throwable; /** * Include base source files and extensions */ foreach (glob(__DIR__ . '/src/*.php') as $file) { include_once $file; } foreach (glob(path('ext', 'src/*.php')) as $file) { include_once $file; ...
02e99e988402a3fa4e118df47f744a947b84b938
www/index.php
www/index.php
PHP
<|file_sep|>original/DHSmartScreenshot.podspec Pod::Spec.new do |s| s.name = "DHSmartScreenshot" s.version = "1.1.0" s.summary = "UITableView Category to get really easy, smart and instant screenshot images like no other library out there for iOS 5+ devices." s.homepage = 'https://github....
Pod::Spec.new do |s| s.name = "DHSmartScreenshot" s.version = "1.2.0" s.summary = "UITableView Category to get really easy, smart and instant screenshot images like no other library out there for iOS 5+ devices." s.homepage = 'https://github.com/davidman/DHSmartScreenshot' s.license ...
<|file_sep|>original/DHSmartScreenshot.podspec Pod::Spec.new do |s| s.name = "DHSmartScreenshot" s.version = "1.1.0" s.summary = "UITableView Category to get really easy, smart and instant screenshot images like no other library out there for iOS 5+ devices." s.homepage = 'https://github....
06993aee125ec825cb4c6a25cb2396ebc08adb95
DHSmartScreenshot.podspec
DHSmartScreenshot.podspec
Ruby
<|file_sep|>original/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 pytest==3.1.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.10 <|file_sep|>current/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 pytest=...
coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 pytest==3.1.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.11
<|file_sep|>original/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 pytest==3.1.2 pytest-cov==2.4.0 pytest-sugar==0.8.0 sphinx==1.5.3 sphinxcontrib-asyncio==0.2.0 sqlalchemy==1.1.10 <|file_sep|>current/requirements-dev.txt coverage==4.3.4 flake8==3.3.0 ipdb==0.10.2 ipython==5.3.0 pytest=...
c29d72d2cab00f9a7b2a3ef3d9a9ab13f29fad0a
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/git-svn/update-autotools.sh <|file_sep|>current/git-svn/update-autotools.sh <|file_sep|>updated/git-svn/update-autotools.sh
#!/usr/bin/env bash autotools_subrepos="c-utils lb turbine" for subrepo in $autotools_subrepos; do if ! git diff-index --quiet HEAD --; then ./setup.sh git commit -a -m "Regenerate build scripts" else echo "Not updating scripts: uncommitted changes" fi done
<|file_sep|>original/git-svn/update-autotools.sh <|file_sep|>current/git-svn/update-autotools.sh <|file_sep|>updated/git-svn/update-autotools.sh #!/usr/bin/env bash autotools_subrepos="c-utils lb turbine" for subrepo in $autotools_subrepos; do if ! git diff-index --quiet HEAD --; then ./setup.sh git commit...
b3c67cfac0332372c6cee6830c2cb80cbda36ec6
git-svn/update-autotools.sh
git-svn/update-autotools.sh
Shell
<|file_sep|>original/test/phpunit.xml stopOnSkipped="false" strict="true" verbose="true" > <testsuites> <testsuite name="Full test suite"> <directory>test/src/*Test.php</directory> </testsuite> </testsuites> <logging> <log type="coverage-html" target="reports/phpunit" charset="UTF-8" highlig...
stopOnSkipped="false" strict="true" verbose="true" > <testsuites> <testsuite name="Full test suite"> <directory>test/src/*Test.php</directory> </testsuite> </testsuites> <logging> <log type="coverage-html" target="../build/reports/phpunit" charset="UTF-8" highlight="true" lowUpperBound="3...
<|file_sep|>original/test/phpunit.xml stopOnSkipped="false" strict="true" verbose="true" > <testsuites> <testsuite name="Full test suite"> <directory>test/src/*Test.php</directory> </testsuite> </testsuites> <logging> <log type="coverage-html" target="reports/phpunit" charset="UTF-8" highlig...
dfa3377811e7e016268ab57b38178f8c0a1e4a29
test/phpunit.xml
test/phpunit.xml
XML
<|file_sep|>original/helpers/handlebars.js dizNome: function() { return moment().format('YYYY-MM-DD hh:mm:ss:SSS') }, json: function(obj) { return JSON.stringify(obj) }, inc: function(value) { return value + 1 }, setSelected: function(value, unitList) { ...
}, inc: function(value) { return value + 1 }, setSelected: function(value, unitList) { return (value === unitList) ? 'selected' : '' }, convBoolToHuman: function(value) { //console.log('convBoolToHuman' + value); return (parseInt(value) === 1) ? 'Sim/Y...
<|file_sep|>original/helpers/handlebars.js dizNome: function() { return moment().format('YYYY-MM-DD hh:mm:ss:SSS') }, json: function(obj) { return JSON.stringify(obj) }, inc: function(value) { return value + 1 }, setSelected: function(value, unitList) { ...
0a5b7afec79aa0e30c94c42f89c131d15bf8576e
helpers/handlebars.js
helpers/handlebars.js
JavaScript
<|file_sep|>original/lib/mspec/opal/special_calls.rb push fragment("nil") end end add_special :not_supported_on do unless arglist.flatten.include? :opal compile_default! end end add_special :platform_is_not do unless arglist.flatten.include? :opal compile_default! end e...
push fragment("nil") end end add_special :not_supported_on do unless arglist.flatten.include? :opal compile_default! end end add_special :not_compliant_on do unless arglist.flatten.include? :opal compile_default! end end add_special :platform_is_not do unless arg...
<|file_sep|>original/lib/mspec/opal/special_calls.rb push fragment("nil") end end add_special :not_supported_on do unless arglist.flatten.include? :opal compile_default! end end add_special :platform_is_not do unless arglist.flatten.include? :opal compile_default! end e...
9174d0978109039865f9c77f879c754f85b932bb
lib/mspec/opal/special_calls.rb
lib/mspec/opal/special_calls.rb
Ruby
<|file_sep|>original/src/pages/components/ToolBarContainer.qml /**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Raine Makelainen <raine.makelainen@jollamobile.com> ** ****************************************************************************...
/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Raine Makelainen <raine.makelainen@jollamobile.com> ** ****************************************************************************/ import QtQuick 2.0 import Sailfish.Silica 1.0 Rectangle { ...
<|file_sep|>original/src/pages/components/ToolBarContainer.qml /**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Raine Makelainen <raine.makelainen@jollamobile.com> ** ****************************************************************************...
c484bb9202c9a7582d3d43658202579c4580162b
src/pages/components/ToolBarContainer.qml
src/pages/components/ToolBarContainer.qml
QML
<|file_sep|>metadata/com.mbestavros.geometricweather.yml.diff original: updated: - versionName: '2.610' versionCode: 26100 commit: 2.610-foss subdir: app gradle: - yes <|file_sep|>original/metadata/com.mbestavros.geometricweather.yml SourceCode: https://github.com/mbestavros/GeometricWeather I...
Repo: https://github.com/mbestavros/GeometricWeather.git Builds: - versionName: 2.608-foss versionCode: 26068 commit: 2.608-foss subdir: app gradle: - yes - versionName: '2.610' versionCode: 26100 commit: 2.610-foss subdir: app gradle: - yes AutoUpdateMode: Version %v ...
<|file_sep|>metadata/com.mbestavros.geometricweather.yml.diff original: updated: - versionName: '2.610' versionCode: 26100 commit: 2.610-foss subdir: app gradle: - yes <|file_sep|>original/metadata/com.mbestavros.geometricweather.yml SourceCode: https://github.com/mbestavros/GeometricWeather I...
3694af71ebfffac05635b34b80d6988475179d5e
metadata/com.mbestavros.geometricweather.yml
metadata/com.mbestavros.geometricweather.yml
YAML
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' before_script: - composer install --prefer-source --no-interaction --dev <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' before_script: - composer install --prefer-source --no-interaction --dev <|f...
language: php php: - '5.6' - '7.0' - '7.1' install: composer install --no-interaction --prefer-dist script: ./vendor/bin/phpunit
<|file_sep|>original/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' before_script: - composer install --prefer-source --no-interaction --dev <|file_sep|>current/.travis.yml language: php php: - '5.6' - '7.0' - '7.1' before_script: - composer install --prefer-source --no-interaction --dev <|f...
5ac2e2acbcd4282adce88d6f5a12f0ac78db3b08
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Result/Result.swift // import Foundation public enum Result<T> { case Failure(ErrorType) // TODO: Get rid of @autoclosure hack at some point after 6.1b1 case Success(@autoclosure () -> T) public var isSuccess: Bool { switch self { case .Success: return true ...
// import Foundation public enum Result<T> { case Failure(ErrorType) // TODO: Get rid of @autoclosure hack at some point after 6.1b1 case Success(@autoclosure () -> T) public var successValue: T? { switch self { case let .Success(success): return success() case .Failure: retu...
<|file_sep|>original/Result/Result.swift // import Foundation public enum Result<T> { case Failure(ErrorType) // TODO: Get rid of @autoclosure hack at some point after 6.1b1 case Success(@autoclosure () -> T) public var isSuccess: Bool { switch self { case .Success: return true ...
2c35db56d7544d7883132c7c22e1ea689e5c184f
Result/Result.swift
Result/Result.swift
Swift
<|file_sep|>README.md.diff original: updated: ### `custom` Downloads a user-defined comic. To download a specific comic, you'll need a link to the first page, an XPath expression giving out the link to the next page and an XPath expression giving out the link to the image. More info [here](http://www.w3schools.com/xm...
5. Clone this repository or download its ZIP. ## Usage Commands: * `help` * `exit`/ `quit` * `custom` ### `help` Prints information on all commands and a list of already implemented comics you can download by typing the command on the left column. ### `custom` Downloads a user-defined comic. To download a specif...
<|file_sep|>README.md.diff original: updated: ### `custom` Downloads a user-defined comic. To download a specific comic, you'll need a link to the first page, an XPath expression giving out the link to the next page and an XPath expression giving out the link to the image. More info [here](http://www.w3schools.com/xm...
687d2a139a091bba0a063f7b1386a9dd6ccd89a7
README.md
README.md
Markdown
<|file_sep|>original/version.sh v="v1.10" which git &> /dev/null if [ $? == 0 -a -d .git ]; then if head=`git rev-parse --verify HEAD 2>/dev/null`; then if tag=`git describe --tags 2>/dev/null`; then v="$tag" fi # Are there uncommitted changes? git update-index --refre...
which git &> /dev/null if [ $? == 0 -a -d .git ]; then if head=`git rev-parse --verify HEAD 2>/dev/null`; then if tag=`git describe --tags 2>/dev/null`; then v="$tag" fi # Are there uncommitted changes? git update-index --refresh --unmerged > /dev/null if git di...
<|file_sep|>original/version.sh v="v1.10" which git &> /dev/null if [ $? == 0 -a -d .git ]; then if head=`git rev-parse --verify HEAD 2>/dev/null`; then if tag=`git describe --tags 2>/dev/null`; then v="$tag" fi # Are there uncommitted changes? git update-index --refre...
fb429cdae578bef5ce1c261d0c63c8478cbd7d2f
version.sh
version.sh
Shell
<|file_sep|>original/README.md A new Connfa (Swift) is in master, an old Objective-C project now is available in branch [connfa-objc](https://github.com/lemberg/connfa-ios/tree/connfa-objc) ; Documentation is available on [http://connfa.com/](http://connfa.com/) Project is supported by [Lemberg Solutions](http://lemb...
A new Connfa (Swift) is in master, an old Objective-C project now is available in branch [connfa-objc](https://github.com/lemberg/connfa-ios/tree/connfa-objc) Documentation is available on [http://connfa.com/](http://connfa.com/) Project is supported by [Lemberg Solutions](http://lemberg.co.uk)
<|file_sep|>original/README.md A new Connfa (Swift) is in master, an old Objective-C project now is available in branch [connfa-objc](https://github.com/lemberg/connfa-ios/tree/connfa-objc) ; Documentation is available on [http://connfa.com/](http://connfa.com/) Project is supported by [Lemberg Solutions](http://lemb...
a3d399a487dbe40db48ebd06c7225162126eda1b
README.md
README.md
Markdown
<|file_sep|>original/build/zip.sh fi # Create a temporary folder to copy all files in for zipping mkdir zip cd zip BASE=../.. # Copy license over cp $BASE/LICENSE.txt . # Make library folder and copy paper.js there mkdir lib cp $BASE/dist/paper.js lib # Copy examples over cp -r $BASE/examples . # Replace ../../dist/ wi...
fi # Create a temporary folder to copy all files in for zipping mkdir zip cd zip BASE=../.. # Copy license over cp $BASE/LICENSE.txt . # Make library folder and copy paper.js there mkdir lib cp $BASE/dist/paper.js lib cp $BASE/dist/paper-min.js lib # Copy examples over cp -r $BASE/examples . # Replace ../../dist/ with ...
<|file_sep|>original/build/zip.sh fi # Create a temporary folder to copy all files in for zipping mkdir zip cd zip BASE=../.. # Copy license over cp $BASE/LICENSE.txt . # Make library folder and copy paper.js there mkdir lib cp $BASE/dist/paper.js lib # Copy examples over cp -r $BASE/examples . # Replace ../../dist/ wi...
87d755e2f6033b0faa3b21f094e6628c3084bc18
build/zip.sh
build/zip.sh
Shell
<|file_sep|>original/ext/ffi_c/libffi.gnu.mk # Tack the extra deps onto the autogenerated variables INCFLAGS += -I$(LIBFFI_BUILD_DIR)/include LOCAL_LIBS += $(LIBFFI) BUILD_DIR = $(shell pwd) LIBFFI_CFLAGS = $(FFI_MMAP_EXEC) LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi ifeq ($(srcdir),.) LIBFFI_SRC_DIR := $(shell pwd)/libf...
# Tack the extra deps onto the autogenerated variables INCFLAGS += -I$(LIBFFI_BUILD_DIR)/include LOCAL_LIBS += $(LIBFFI) BUILD_DIR = $(shell pwd) LIBFFI_CFLAGS = $(FFI_MMAP_EXEC) LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi ifeq ($(srcdir),.) LIBFFI_SRC_DIR := $(shell pwd)/libffi else LIBFFI_SRC_DIR := $(abspath $(srcdi...
<|file_sep|>original/ext/ffi_c/libffi.gnu.mk # Tack the extra deps onto the autogenerated variables INCFLAGS += -I$(LIBFFI_BUILD_DIR)/include LOCAL_LIBS += $(LIBFFI) BUILD_DIR = $(shell pwd) LIBFFI_CFLAGS = $(FFI_MMAP_EXEC) LIBFFI_BUILD_DIR = $(BUILD_DIR)/libffi ifeq ($(srcdir),.) LIBFFI_SRC_DIR := $(shell pwd)/libf...
7abe0579f91a713a915245bac48262837df79c15
ext/ffi_c/libffi.gnu.mk
ext/ffi_c/libffi.gnu.mk
Makefile
<|file_sep|>original/boardinghouse/tests/test_sql.py <|file_sep|>current/boardinghouse/tests/test_sql.py <|file_sep|>updated/boardinghouse/tests/test_sql.py
""" Tests for the RAW sql functions. """ from django.conf import settings from django.test import TestCase from django.db.models import connection from boardinghouse.models import Schema class TestRejectSchemaColumnChange(TestCase): def test_exception_is_raised(self): Schema.objects.mass_create('a') ...
<|file_sep|>original/boardinghouse/tests/test_sql.py <|file_sep|>current/boardinghouse/tests/test_sql.py <|file_sep|>updated/boardinghouse/tests/test_sql.py """ Tests for the RAW sql functions. """ from django.conf import settings from django.test import TestCase from django.db.models import connection from boardin...
66543a7330a0898146076adb5269b75708f763a9
boardinghouse/tests/test_sql.py
boardinghouse/tests/test_sql.py
Python
<|file_sep|>original/routes/index.js //TODO: // Cache expiry - store cache data as object with time //Only pull content if time is greater than expiry time. var CACHE = {}; //this can be moved to another file. router.get("/search", function (req, res) { var url_parts = url.parse(req.url, true); var query = ur...
//TODO: // Cache expiry - store cache data as object with time //Only pull content if time is greater than expiry time. var CACHE = {}; //this can be moved to another file. router.get("/search", function (req, res) { var url_parts = url.parse(req.url, true); var query = url_parts.query; //if blank or user...
<|file_sep|>original/routes/index.js //TODO: // Cache expiry - store cache data as object with time //Only pull content if time is greater than expiry time. var CACHE = {}; //this can be moved to another file. router.get("/search", function (req, res) { var url_parts = url.parse(req.url, true); var query = ur...
323277b8d0c2fc5c076722e2f8ed1feea41a7cc5
routes/index.js
routes/index.js
JavaScript
<|file_sep|>original/l10n/scripts/player/player.js.yml <bold><red> You can feel something willing you to become </red> <blue> more. </blue></bold> EXPGAIN: en: "<bold><blue>You gain $[1] experience.</blue></bold>" NEWSKILL: en: "<bold><yellow>You gained a new fea...
EXPGAIN: en: "<bold><blue>You gain $[1] experience.</blue></bold>" NEWSKILL: en: "<bold><yellow>You gained a new feat: $[1].</yellow></bold>" es: "ES-<bold><yellow>You gained a new feat: $[1].</yellow></bold>" SUN_SETTING: en: "<yellow>The sun begins to set, spilling hues of yellow and orange across the...
<|file_sep|>original/l10n/scripts/player/player.js.yml <bold><red> You can feel something willing you to become </red> <blue> more. </blue></bold> EXPGAIN: en: "<bold><blue>You gain $[1] experience.</blue></bold>" NEWSKILL: en: "<bold><yellow>You gained a new fea...
155a3d394ecfdffe96977c098ce38dd40f2ed31f
l10n/scripts/player/player.js.yml
l10n/scripts/player/player.js.yml
YAML
<|file_sep|>original/caqe.rb class Caqe < Formula desc "CAQE is a certifying solver for quantified Boolean formulas (QBF) based on the CEGAR-based clausal abstraction algorithm" homepage "https://www.react.uni-saarland.de/tools/caqe/" url "https://www.react.uni-saarland.de/tools/caqe/downloads/caqe-1.tar.gz" sh...
class Caqe < Formula desc "CAQE is a certifying solver for quantified Boolean formulas (QBF) based on the CEGAR-based clausal abstraction algorithm" homepage "https://www.react.uni-saarland.de/tools/caqe/" url "https://www.react.uni-saarland.de/tools/caqe/downloads/caqe-2.tar.gz" sha256 "1bfd86d849927f0e29bb917...
<|file_sep|>original/caqe.rb class Caqe < Formula desc "CAQE is a certifying solver for quantified Boolean formulas (QBF) based on the CEGAR-based clausal abstraction algorithm" homepage "https://www.react.uni-saarland.de/tools/caqe/" url "https://www.react.uni-saarland.de/tools/caqe/downloads/caqe-1.tar.gz" sh...
063356f42c7127ba3c18a4ed5b179106115e1252
caqe.rb
caqe.rb
Ruby
<|file_sep|>original/doc/examples/osmo-bts.cfg ! ! OsmoBTS () configuration saved from vty !! ! log stderr logging color 1 logging timestamp 0 logging level all everything logging level rsl info logging level oml info logging level rll notice logging level rr notice logging level meas notice logging l...
! ! OsmoBTS () configuration saved from vty !! ! log stderr logging color 0 logging timestamp 0 logging level all everything logging level rsl info logging level oml info logging level rll notice logging level rr notice logging level meas notice logging level pag info logging level l1c info loggin...
<|file_sep|>original/doc/examples/osmo-bts.cfg ! ! OsmoBTS () configuration saved from vty !! ! log stderr logging color 1 logging timestamp 0 logging level all everything logging level rsl info logging level oml info logging level rll notice logging level rr notice logging level meas notice logging l...
ef2cb5ab7f4b39ebf974083fe6c79bb415831549
doc/examples/osmo-bts.cfg
doc/examples/osmo-bts.cfg
INI
<|file_sep|>test/centos_spec.rb.diff original: # https://www.chef.io/blog/2015/02/26/bento-box-update-for-centos-and-fedora/ describe 'test-cacert' do it 'uses the vendor-supplied openssl certificates' do expect(command('openssl s_client -CAfile /etc/pki/tls/certs/ca-bundle.crt -connect packagecloud-repos...
end it 'should disable SELinux' do expect(selinux).to be_permissive end describe package('systemd-journal-gateway') do it {should be_installed} end describe yumrepo('epel') do it { should exist } end describe yumrepo('idi') do it { should exist } end # Should be only one kerne...
<|file_sep|>test/centos_spec.rb.diff original: # https://www.chef.io/blog/2015/02/26/bento-box-update-for-centos-and-fedora/ describe 'test-cacert' do it 'uses the vendor-supplied openssl certificates' do expect(command('openssl s_client -CAfile /etc/pki/tls/certs/ca-bundle.crt -connect packagecloud-repos...
36e30c4bd22c06208ab4c7239f7ce82de1d56abb
test/centos_spec.rb
test/centos_spec.rb
Ruby
<|file_sep|>original/templates/portal_wrapper.html <div class="pull-left nav-logos"> <!-- Probably need to use absolute links for images --> <a href="http://truenth-demo.cirg.washington.edu"><img src="{{PORTAL}}{{logo_truenth}}" /></a> <a href="http://us.movember.com"><img src="{{PORTAL}}{{l...
<div class="pull-left nav-logos"> <!-- Probably need to use absolute links for images --> <a href="http://truenth-demo.cirg.washington.edu"><img src="{{PORTAL}}{{logo_truenth}}" /></a> <a href="http://us.movember.com"><img src="{{PORTAL}}{{logo_movember}}" /></a> </div> <div class="...
<|file_sep|>original/templates/portal_wrapper.html <div class="pull-left nav-logos"> <!-- Probably need to use absolute links for images --> <a href="http://truenth-demo.cirg.washington.edu"><img src="{{PORTAL}}{{logo_truenth}}" /></a> <a href="http://us.movember.com"><img src="{{PORTAL}}{{l...
a81ffde9d34ee0aa09d40e8bcdd5e5428457095d
templates/portal_wrapper.html
templates/portal_wrapper.html
HTML
<|file_sep|>tests/acceptance/test_ensure_index.py.diff original: assert self.indexes['number_1'] == { 'key': [('number', 1)], 'unique': False, 'v': 0, } updated: index = self.indexes['number_1'] assert index['key'] == [('number', 1)] assert ind...
cls.connected_document = cls.connection.models.IndexTestDocument cls.connected_document.collection.drop() cls.connected_document.ensure_indexes() cls.indexes = cls.connected_document.collection.index_information() def should_create_index_on_number(self): index = self.index...
<|file_sep|>tests/acceptance/test_ensure_index.py.diff original: assert self.indexes['number_1'] == { 'key': [('number', 1)], 'unique': False, 'v': 0, } updated: index = self.indexes['number_1'] assert index['key'] == [('number', 1)] assert ind...
f6491445d8811f0fcb5bf8937056a4e15ed985b4
tests/acceptance/test_ensure_index.py
tests/acceptance/test_ensure_index.py
Python
<|file_sep|>original/src/styles/_texture.css :root { --input-padding: 4px; --negative-input-padding: -4px; --input-border-radius: 5px; --input-default-border: 2px solid transparent; --input-focus-border: 2px solid #A8D0FF; } .sc-texture { height: 100%; } .sc-texture .emphasis, .sc-texture em, .sc-textur...
:root { --input-padding: 4px; --negative-input-padding: -4px; --input-border-radius: 5px; --input-default-border: 2px solid transparent; --input-focus-border: 2px solid #A8D0FF; } .sc-texture { height: 100%; position: relative; } .sc-texture .emphasis, .sc-texture em, .sc-texture i:not(.fa) { font-s...
<|file_sep|>original/src/styles/_texture.css :root { --input-padding: 4px; --negative-input-padding: -4px; --input-border-radius: 5px; --input-default-border: 2px solid transparent; --input-focus-border: 2px solid #A8D0FF; } .sc-texture { height: 100%; } .sc-texture .emphasis, .sc-texture em, .sc-textur...
2ad9a7b098cd51f3f5b27c2c43dd817438f46567
src/styles/_texture.css
src/styles/_texture.css
CSS
<|file_sep|>original/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py <|file_sep|>current/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py <|file_sep|>updated/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param head:...
<|file_sep|>original/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py <|file_sep|>current/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py <|file_sep|>updated/lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py """ Definition of ListNode class ListNode(object): def __init__(self, val, ...
a79273430fd3f3a4629cfdba6a5db119a3b2c3ba
lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py
lintcode/Medium/106_Convert_Sorted_List_to_Balanced_BST.py
Python
<|file_sep|>original/subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy output.contains "value: original" when: file("buildSrc/src/main/groovy/Thing.groovy").text = """ class Thing { public static final Str...
output.contains "value: original" when: file("buildSrc/src/main/groovy/Thing.groovy").text = """ class Thing { public static final String VALUE = "changed" } """ then: noBuildTriggered() when: file("a") << "added" ...
<|file_sep|>original/subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy output.contains "value: original" when: file("buildSrc/src/main/groovy/Thing.groovy").text = """ class Thing { public static final Str...
fc726ccbb2420c2bc69c13106e22245c04604526
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy
Groovy
<|file_sep|>server/bindSassMiddleware.js.diff original: updated: var _ = require('underscore'); <|file_sep|>original/server/bindSassMiddleware.js } catch(e) { if (e.code === 'MODULE_NOT_FOUND') { console.error( '\nERROR: node-sass not found.\n' + '\nPlease install the node-sass-middleware from npm ...
} catch(e) { if (e.code === 'MODULE_NOT_FOUND') { console.error( '\nERROR: node-sass not found.\n' + '\nPlease install the node-sass-middleware from npm to use the `sass` option.' + '\nYou can do this by running "npm install node-sass-middleware --save".\n' ); process.exit(1); } else ...
<|file_sep|>server/bindSassMiddleware.js.diff original: updated: var _ = require('underscore'); <|file_sep|>original/server/bindSassMiddleware.js } catch(e) { if (e.code === 'MODULE_NOT_FOUND') { console.error( '\nERROR: node-sass not found.\n' + '\nPlease install the node-sass-middleware from npm ...
366eb10cef4312b94e8ee3aa437c408b486b1472
server/bindSassMiddleware.js
server/bindSassMiddleware.js
JavaScript
<|file_sep|>app/models/calendar_invite.rb.diff original: event.dtstart = outcome.poll_option.name.to_date updated: <|file_sep|>app/models/calendar_invite.rb.diff original: event.dtstart = date_time(outcome.poll_option.name) updated: <|file_sep|>original/app/models/calendar_invite.rb def build...
def build_calendar(outcome) return unless outcome.poll_option && outcome.dates_as_options Icalendar::Calendar.new.tap do |calendar| calendar.event do |event| if outcome.poll_option.name.match /^\d+-\d+-\d+$/ event.duration = "+P0W1D0H0M" else event.duration = "+P0W0D...
<|file_sep|>app/models/calendar_invite.rb.diff original: event.dtstart = outcome.poll_option.name.to_date updated: <|file_sep|>app/models/calendar_invite.rb.diff original: event.dtstart = date_time(outcome.poll_option.name) updated: <|file_sep|>original/app/models/calendar_invite.rb def build...
c290349d8404c6c893a5408deb4a3883761bf632
app/models/calendar_invite.rb
app/models/calendar_invite.rb
Ruby
<|file_sep|>app.js.diff original: var ytInfo = Promise.promisify(yt.getInfo) updated: <|file_sep|>app.js.diff original: var tree = md.parse(fs.readFileSync('./tmp/README.md', 'utf8')) var youtubeUrls = updated: request('https://raw.githubusercontent.com/poteto/emberconf-2015/master/README.md', function (err, res, bod...
var tree = md.parse(body) _(tree) .flatten() .filter(_.isArray) .filter(function (n) { return n[0] === 'listitem' }) .filter(function (n) { return n[1].indexOf('Video') !== -1 }) .map(function (n) { return n[1].split(' ')[1] }) .compact() .map(function(url) { yt.getInfo(url, functi...
<|file_sep|>app.js.diff original: var ytInfo = Promise.promisify(yt.getInfo) updated: <|file_sep|>app.js.diff original: var tree = md.parse(fs.readFileSync('./tmp/README.md', 'utf8')) var youtubeUrls = updated: request('https://raw.githubusercontent.com/poteto/emberconf-2015/master/README.md', function (err, res, bod...
c432725aff0125020018560914caf9f9144ce447
app.js
app.js
JavaScript
<|file_sep|>original/FUNDING.yml <|file_sep|>current/FUNDING.yml <|file_sep|>updated/FUNDING.yml
# These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with ...
<|file_sep|>original/FUNDING.yml <|file_sep|>current/FUNDING.yml <|file_sep|>updated/FUNDING.yml # These are supported funding model platforms github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a sing...
390c2f0e1d8639b3a6e42c05c92d92587c18d5db
FUNDING.yml
FUNDING.yml
YAML
<|file_sep|>original/Angular2/README.md The **Angular2** version of the Star Rating application. Usage example: ```javascript <stars radius="45" stars="4" stars-selected="2" disabled="true"></stars> ``` This will show 4 stars with 2 of them selected. Default configuration will show those in light gray background (fo...
The **Angular2** version of the Star Rating application. Usage example: ```javascript <stars radius="45" stars="4" stars-selected="2" disabled="true"></stars> ``` This will show `4` stars with `2` of them selected. Default configuration will show those in light gray background (for not selected) anf gold for selecte...
<|file_sep|>original/Angular2/README.md The **Angular2** version of the Star Rating application. Usage example: ```javascript <stars radius="45" stars="4" stars-selected="2" disabled="true"></stars> ``` This will show 4 stars with 2 of them selected. Default configuration will show those in light gray background (fo...
f87fa73a26909c1702d27a88f40297e56bc38f76
Angular2/README.md
Angular2/README.md
Markdown
<|file_sep|>original/azure-pipelines.yml jobs: - job: 'Test' pool: vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016' strategy: matrix: Python27: python.version: '2.7' Python35: python.version: '3.5' Python36: python.version: '3.6' maxParal...
pool: vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016' strategy: matrix: Python27: python.version: '2.7' Python35: python.version: '3.5' Python36: python.version: '3.6' maxParallel: 3 steps: - task: UsePythonVersion@0 inputs: ...
<|file_sep|>original/azure-pipelines.yml jobs: - job: 'Test' pool: vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016' strategy: matrix: Python27: python.version: '2.7' Python35: python.version: '3.5' Python36: python.version: '3.6' maxParal...
96afb5b8583743757225e76d71c54bc0cb53e5d4
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/src/index.html <link rel='stylesheet' href="https://fonts.googleapis.com/css?family=Roboto:300,100,400"> <style> html, body { height: 100%; } body { margin: 0; padding: 0; overflow: hidden; } #containe...
<link rel='stylesheet' href="https://fonts.googleapis.com/css?family=Roboto:300,100,400"> <style> html, body { height: 100%; } body { margin: 0; padding: 0; overflow: hidden; background: #035371; } #container ...
<|file_sep|>original/src/index.html <link rel='stylesheet' href="https://fonts.googleapis.com/css?family=Roboto:300,100,400"> <style> html, body { height: 100%; } body { margin: 0; padding: 0; overflow: hidden; } #containe...
3b7d345278a16443c24b00c68c6c9d17c0ca201f
src/index.html
src/index.html
HTML
<|file_sep|>original/project.clj (defproject foreclojure "0.1.3.1" :description "4clojure - a website for lisp beginners" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [compojure "0.6.2"] [hiccup "0.2.4"] [cloja...
(defproject foreclojure "0.1.3.2" :description "4clojure - a website for lisp beginners" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [compojure "0.6.2"] [hiccup "0.2.4"] [clojail "0.4.0-SNAPSHOT"] ...
<|file_sep|>original/project.clj (defproject foreclojure "0.1.3.1" :description "4clojure - a website for lisp beginners" :dependencies [[org.clojure/clojure "1.2.1"] [org.clojure/clojure-contrib "1.2.0"] [compojure "0.6.2"] [hiccup "0.2.4"] [cloja...
7504f162ca014b45d80da85b374830269342166c
project.clj
project.clj
Clojure
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.69" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.70" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= Seq( ws, filters, ...
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.8" crossScalaVersions := Seq("2.11.8") version := "0.1.69" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= ...
8082fd5fa1e98a72d3e63f50b099b76ad120665d
build.sbt
build.sbt
Scala
<|file_sep|>original/test/ReadLine.Tests/Abstractions/Console2.cs <|file_sep|>current/test/ReadLine.Tests/Abstractions/Console2.cs <|file_sep|>updated/test/ReadLine.Tests/Abstractions/Console2.cs
using Internal.ReadLine.Abstractions; using System; namespace ReadLine.Tests.Abstractions { internal class Console2 : IConsole { public int CursorLeft => _cursorLeft; public int CursorTop => _cursorTop; public int BufferWidth => _bufferWidth; public int BufferHeight => _buff...
<|file_sep|>original/test/ReadLine.Tests/Abstractions/Console2.cs <|file_sep|>current/test/ReadLine.Tests/Abstractions/Console2.cs <|file_sep|>updated/test/ReadLine.Tests/Abstractions/Console2.cs using Internal.ReadLine.Abstractions; using System; namespace ReadLine.Tests.Abstractions { internal class Console2 ...
c3c5a817ae5e0954cb82c0e711da5f399f8d9c42
test/ReadLine.Tests/Abstractions/Console2.cs
test/ReadLine.Tests/Abstractions/Console2.cs
C#
<|file_sep|>original/spec/spec_helper.rb require "coveralls" Coveralls.wear! if ENV["COVERAGE"] require "rspec" require "rspec/expectations" require "rspec/mocks" <|file_sep|>current/spec/spec_helper.rb require "coveralls" Coveralls.wear! if ENV["COVERAGE"] require "rspec" require "rspec/expectations" require "rspe...
require "coveralls" Coveralls.wear! if ENV["COVERAGE"] == "true" require "rspec" require "rspec/expectations" require "rspec/mocks"
<|file_sep|>original/spec/spec_helper.rb require "coveralls" Coveralls.wear! if ENV["COVERAGE"] require "rspec" require "rspec/expectations" require "rspec/mocks" <|file_sep|>current/spec/spec_helper.rb require "coveralls" Coveralls.wear! if ENV["COVERAGE"] require "rspec" require "rspec/expectations" require "rspe...
8dc1b6e3018d955fec7aaedfdc5710b9786c0430
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/noodall-ui.gemspec s.authors = ["Steve England"] s.email = ['steve@wearebeef.co.uk'] s.homepage = "http://github.com/beef/noodall-ui" s.summary = "Noodall Rails User Interface" s.description = "Noodall Rails User Interface Engine. Requires Noodall Core" s.required_rubygems_version = "...
s.authors = ["Steve England"] s.email = ['steve@wearebeef.co.uk'] s.homepage = "http://github.com/beef/noodall-ui" s.summary = "Noodall Rails User Interface" s.description = "Noodall Rails User Interface Engine. Requires Noodall Core" s.required_rubygems_version = ">= 1.3.6" s.add_dependency 'noodall-c...
<|file_sep|>original/noodall-ui.gemspec s.authors = ["Steve England"] s.email = ['steve@wearebeef.co.uk'] s.homepage = "http://github.com/beef/noodall-ui" s.summary = "Noodall Rails User Interface" s.description = "Noodall Rails User Interface Engine. Requires Noodall Core" s.required_rubygems_version = "...
3ffb21491467e09926a4c4f87ede4d8ab3e90452
noodall-ui.gemspec
noodall-ui.gemspec
Ruby
<|file_sep|>original/config/watch-timestamps-plugin.js * All credit for the technique and implementation goes to @reiv. See: * https://github.com/Jimdo/typings-for-css-modules-loader/issues/48#issuecomment-347036461 */ module.exports = class WatchTimestampsPlugin { constructor(patterns) { this.patterns = patter...
* All credit for the technique and implementation goes to @reiv. See: * https://github.com/Jimdo/typings-for-css-modules-loader/issues/48#issuecomment-347036461 */ module.exports = class WatchTimestampsPlugin { constructor(patterns) { this.patterns = patterns; } apply(compiler) { compiler.plugin('watch-run...
<|file_sep|>original/config/watch-timestamps-plugin.js * All credit for the technique and implementation goes to @reiv. See: * https://github.com/Jimdo/typings-for-css-modules-loader/issues/48#issuecomment-347036461 */ module.exports = class WatchTimestampsPlugin { constructor(patterns) { this.patterns = patter...
2ff3de518d17adfe2b9dcd94aa802bd6cf602d6b
config/watch-timestamps-plugin.js
config/watch-timestamps-plugin.js
JavaScript
<|file_sep|>original/src/server/website-ui/index.html </head> <body> <nav class="navbar navbar-default navbar-static-top"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#">Device Lab Bot</a> </div> <ul class="nav navbar-nav navbar...
</head> <body> <nav class="navbar navbar-default navbar-static-top"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#">Device Lab Bot</a> </div> <ul class="nav navbar-nav navbar-right"> <li><a href="/docs">API Docs</a></l...
<|file_sep|>original/src/server/website-ui/index.html </head> <body> <nav class="navbar navbar-default navbar-static-top"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#">Device Lab Bot</a> </div> <ul class="nav navbar-nav navbar...
93bee6e9261ff2f2cca89f4ec97b180582d0023c
src/server/website-ui/index.html
src/server/website-ui/index.html
HTML
<|file_sep|>original/tests/test_commissioning_events.ts <|file_sep|>current/tests/test_commissioning_events.ts <|file_sep|>updated/tests/test_commissioning_events.ts
import myparser = require('../lib/epcisparser'); import eventtypes = require('../lib/epcisevents'); var assert = require('assert'); var fs = require('fs'); describe('epcisconverter', () => { before(function(){ // before all tests }); describe('parse commissioning events', () => { var events:eventty...
<|file_sep|>original/tests/test_commissioning_events.ts <|file_sep|>current/tests/test_commissioning_events.ts <|file_sep|>updated/tests/test_commissioning_events.ts import myparser = require('../lib/epcisparser'); import eventtypes = require('../lib/epcisevents'); var assert = require('assert'); var fs = require('fs...
454a11124f8a5474885743576df9d66ae0ff1331
tests/test_commissioning_events.ts
tests/test_commissioning_events.ts
TypeScript
<|file_sep|>original/metadata/com.money.manager.ex.txt * Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Re...
* Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Repo:https://github.com/moneymanagerex/android-money-mana...
<|file_sep|>original/metadata/com.money.manager.ex.txt * Account, payee, category, currency management * Storage card Import/Export * Dropbox synchronization * Security, application lock/unlock * Repeating transactions * Charts * Supported languages: English, Italian, Portoguese, Spanish and Russian . Repo Type:git Re...
608f0efbf09b50dc1021929d7ef43ab6cefaed53
metadata/com.money.manager.ex.txt
metadata/com.money.manager.ex.txt
Text
<|file_sep|>.travis.yml.diff original: before_script: updated: install: <|file_sep|>original/.travis.yml ADMIN_PASSWORD: SoSecureK0el LASTFM_API_KEY: foo LASTFM_API_SECRET: bar BROADCAST_DRIVER: log branches: - master before_script: - . $HOME/.nvm/nvm.sh - nvm install stable - nvm use stable - npm i...
ADMIN_NAME: Koel ADMIN_PASSWORD: SoSecureK0el LASTFM_API_KEY: foo LASTFM_API_SECRET: bar BROADCAST_DRIVER: log branches: - master install: - . $HOME/.nvm/nvm.sh - nvm install stable - nvm use stable - npm install -g yarn - yarn install - composer self-update - composer install --prefer-sourc...
<|file_sep|>.travis.yml.diff original: before_script: updated: install: <|file_sep|>original/.travis.yml ADMIN_PASSWORD: SoSecureK0el LASTFM_API_KEY: foo LASTFM_API_SECRET: bar BROADCAST_DRIVER: log branches: - master before_script: - . $HOME/.nvm/nvm.sh - nvm install stable - nvm use stable - npm i...
c71766b88026f4c5cc1fb6bc6420912e92865a6c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/css/bbplayersimple.css <|file_sep|>current/css/bbplayersimple.css <|file_sep|>updated/css/bbplayersimple.css
@charset 'UTF-8'; /* Optional styling for bbplayer elements. */ @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); .bbplayer { font: 200 20px/1.5 Lato,"Helvetica Neue",Helvetica,Arial,sans-serif; color: #898989; } .bb-play { display: inline-block; vertical-align: middle; ...
<|file_sep|>original/css/bbplayersimple.css <|file_sep|>current/css/bbplayersimple.css <|file_sep|>updated/css/bbplayersimple.css @charset 'UTF-8'; /* Optional styling for bbplayer elements. */ @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); .bbplayer { font: 200 20px/1.5 La...
342f614e31b0e91115f7494db064e08a59f3bf87
css/bbplayersimple.css
css/bbplayersimple.css
CSS
<|file_sep|>node_tests/unit/lib/git-tag-test.js.diff original: it('concatenates manifest and version', function(){ updated: it('concatenates manifest and version', function() { <|file_sep|>node_tests/unit/lib/git-tag-test.js.diff original: it('determines version using git-repo-version', function(){ updated:...
it('creates tag with a useful format', function() { var subject = new GitTaggingAdapter({ manifest: 'manifest', }); // Format: manifest, version in form 1.2.3, "+", 8 chars of git hash var format = /^manifest:\d+\.\d+\.\d+\+[0-9a-f]{8}$/; expect(subject.createTag()).to.match(...
<|file_sep|>node_tests/unit/lib/git-tag-test.js.diff original: it('concatenates manifest and version', function(){ updated: it('concatenates manifest and version', function() { <|file_sep|>node_tests/unit/lib/git-tag-test.js.diff original: it('determines version using git-repo-version', function(){ updated:...
f16361999321df384d7c122b1620ee445bae755a
node_tests/unit/lib/git-tag-test.js
node_tests/unit/lib/git-tag-test.js
JavaScript
<|file_sep|>original/setup.py from setuptools import setup setup( name='icapservice', version='0.2.0', description='ICAP service library for Python', author='Giles Brown', author_email='giles_brown@hotmail.com', url='https://github.com/gilesbrown/icapservice', license='MIT', packages=[...
from setuptools import setup setup( name='icapservice', version='0.2.1', description='ICAP service library for Python', author='Giles Brown', author_email='giles_brown@hotmail.com', url='https://github.com/gilesbrown/icapservice', license='MIT', packages=['icapservice'], zip_safe=F...
<|file_sep|>original/setup.py from setuptools import setup setup( name='icapservice', version='0.2.0', description='ICAP service library for Python', author='Giles Brown', author_email='giles_brown@hotmail.com', url='https://github.com/gilesbrown/icapservice', license='MIT', packages=[...
44b9649df3418713b8ef5ae8e1f2990a92a48907
setup.py
setup.py
Python
<|file_sep|>original/README.md # VHost Generator Bundle <|file_sep|>current/README.md # VHost Generator Bundle <|file_sep|>updated/README.md
# VHost Generator Bundle ## TODO: - **List command** - to list all available vhosts (needs some parser) - **Disable command** - disable vhosts configured with this application - **Composer installer** - to make application able to install vhosts on install/update(?) - **ApacheVhostNode**: - logs path properties ...
<|file_sep|>original/README.md # VHost Generator Bundle <|file_sep|>current/README.md # VHost Generator Bundle <|file_sep|>updated/README.md # VHost Generator Bundle ## TODO: - **List command** - to list all available vhosts (needs some parser) - **Disable command** - disable vhosts configured with this application -...
2ea8996f5f3944e1f08550376211dcedcb603272
README.md
README.md
Markdown
<|file_sep|>reeprotocol/ip.py.diff original: updated: import queue import threading <|file_sep|>reeprotocol/ip.py.diff original: updated: self.connected = False self.queue = queue.Queue() self.thread = threading.Thread(target=self.read_port) <|file_sep|>reeprotocol/ip.py.diff original: up...
self.connection.close() self.connected = False def read_port(self): """Read bytes from socket """ while self.connected: response = self.connection.recv(16) if not response: continue for byte_resp in response: ...
<|file_sep|>reeprotocol/ip.py.diff original: updated: import queue import threading <|file_sep|>reeprotocol/ip.py.diff original: updated: self.connected = False self.queue = queue.Queue() self.thread = threading.Thread(target=self.read_port) <|file_sep|>reeprotocol/ip.py.diff original: up...
7371244c00c94fdc552c5d146ab1a245b643427e
reeprotocol/ip.py
reeprotocol/ip.py
Python
<|file_sep|>django_summernote/test_settings.py.diff original: import django updated: <|file_sep|>django_summernote/test_settings.py.diff original: __MIDDLEWARE__ = ( updated: MIDDLEWARE = ( <|file_sep|>original/django_summernote/test_settings.py } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', ...
MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.l...
<|file_sep|>django_summernote/test_settings.py.diff original: import django updated: <|file_sep|>django_summernote/test_settings.py.diff original: __MIDDLEWARE__ = ( updated: MIDDLEWARE = ( <|file_sep|>original/django_summernote/test_settings.py } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', ...
aa014a472a39c12cf3141dd337ecc2ed1ea2cd55
django_summernote/test_settings.py
django_summernote/test_settings.py
Python
<|file_sep|>original/app/serializers/resource_serializer.rb class ResourceSerializer < ActiveModel::Serializer attributes :id, :title, :url, :description, :user_id has_many :languages end <|file_sep|>current/app/serializers/resource_serializer.rb class ResourceSerializer < ActiveModel::Serializer attributes :id, ...
class ResourceSerializer < ActiveModel::Serializer attributes :id, :title, :url, :description, :user_id end
<|file_sep|>original/app/serializers/resource_serializer.rb class ResourceSerializer < ActiveModel::Serializer attributes :id, :title, :url, :description, :user_id has_many :languages end <|file_sep|>current/app/serializers/resource_serializer.rb class ResourceSerializer < ActiveModel::Serializer attributes :id, ...
1e526d96a249b57a2918d98589580829484932c7
app/serializers/resource_serializer.rb
app/serializers/resource_serializer.rb
Ruby
<|file_sep|>original/db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java public class DBConfig { private final String jdbcURL; private final String password; private final String user; public DBConfig(String jdbcURL, String user, String pass) { this.jdbcURL = jdbcURL; this.user = user;...
private final String jdbcURL; private final String password; private final String user; public DBConfig(String jdbcURL, String user, String pass) { this.jdbcURL = jdbcURL; this.user = user; this.password = pass; } public DBConfig(String jdbcURL) { this(jdbcURL, "user", ""); } public Str...
<|file_sep|>original/db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java public class DBConfig { private final String jdbcURL; private final String password; private final String user; public DBConfig(String jdbcURL, String user, String pass) { this.jdbcURL = jdbcURL; this.user = user;...
c538fa0968686b72587752c5bc274fc7a743b044
db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java
db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java
Java
<|file_sep|>original/docker-compose.yml image: mysql:8.0 environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=bookstack - MYSQL_USER=bookstack - MYSQL_PASSWORD=secret volumes: - mysql-data:/var/lib/mysql bookstack: image: solidnerd/bookstack:22.04.02 depends_on: - my...
image: mysql:8.0 environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=bookstack - MYSQL_USER=bookstack - MYSQL_PASSWORD=secret volumes: - mysql-data:/var/lib/mysql bookstack: image: solidnerd/bookstack:22.10.1 depends_on: - mysql environment: - DB_HOST=mysql:...
<|file_sep|>original/docker-compose.yml image: mysql:8.0 environment: - MYSQL_ROOT_PASSWORD=secret - MYSQL_DATABASE=bookstack - MYSQL_USER=bookstack - MYSQL_PASSWORD=secret volumes: - mysql-data:/var/lib/mysql bookstack: image: solidnerd/bookstack:22.04.02 depends_on: - my...
53e30b448b3b3cb6e4860e234213354d2ec23014
docker-compose.yml
docker-compose.yml
YAML