prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/src/js/routers/router.js "use strict"; app.Router = Backbone.Router.extend({ routes: { "": "default" }, // default route default: function() { var view = new app.AppView({ model: new app.AppModel(), collection: new app.AppModels() }); app.renderFetch(view); // models/colle...
"use strict"; app.Router = Backbone.Router.extend({ routes: { "": "default" }, // default route default: function() { var view = new app.AppView({ model: new app.AppModel(), collection: new app.AppModels() }); app.renderFetch(view); // models/collections can be fetch as well: app.fetchRender(v...
<|file_sep|>original/src/js/routers/router.js "use strict"; app.Router = Backbone.Router.extend({ routes: { "": "default" }, // default route default: function() { var view = new app.AppView({ model: new app.AppModel(), collection: new app.AppModels() }); app.renderFetch(view); // models/colle...
a7cbbcb844d74c232d36ab4efb6d29673d4f178c
src/js/routers/router.js
src/js/routers/router.js
JavaScript
<|file_sep|>original/dev-requirements.txt flake8-docstrings==1.3.0 flake8-import-order==0.17.1 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.56.5 mccabe==0.6.1 mypy==0.590 pep8-naming==0.5.0 pytest==3.5.0 pipdeptree==0.11.0 pipenv==11.10.0 pytest-cov==2.5.1 pytest-randomly==1.2.3 pytest-runner==4.2 readme_renderer==20...
flake8-docstrings==1.3.0 flake8-import-order==0.17.1 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.56.5 mccabe==0.6.1 mypy==0.590 pep8-naming==0.5.0 pytest==3.5.0 pipdeptree==0.11.0 pipenv==11.10.1 pytest-cov==2.5.1 pytest-randomly==1.2.3 pytest-runner==4.2 readme_renderer==20.0 scipy==1.0.1 setuptools==39.0.1 twine==...
<|file_sep|>original/dev-requirements.txt flake8-docstrings==1.3.0 flake8-import-order==0.17.1 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.56.5 mccabe==0.6.1 mypy==0.590 pep8-naming==0.5.0 pytest==3.5.0 pipdeptree==0.11.0 pipenv==11.10.0 pytest-cov==2.5.1 pytest-randomly==1.2.3 pytest-runner==4.2 readme_renderer==20...
3e384db93f0945ffc6bd51d3cd133861ea39ca5a
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>spec/dropdown/dropbox/session_spec.rb.diff original: subject { Dropdown::Dropbox::Session.new 'key', 'secret' } updated: let(:app_key) { 'key' } let(:app_secret) { 'secret' } subject { Dropdown::Dropbox::Session.new app_key, app_secret } <|file_sep|>spec/dropdown/dropbox/session_spec.rb.diff origina...
let(:app_key) { 'key' } let(:app_secret) { 'secret' } subject { Dropdown::Dropbox::Session.new app_key, app_secret } describe '#authorize_url' do it 'returns the url for the user to authorize Dropbox' do subject.authorize_url.should == "https://www.dropbox.com/1/oauth2/authorize?client_id=#{app_key}&...
<|file_sep|>spec/dropdown/dropbox/session_spec.rb.diff original: subject { Dropdown::Dropbox::Session.new 'key', 'secret' } updated: let(:app_key) { 'key' } let(:app_secret) { 'secret' } subject { Dropdown::Dropbox::Session.new app_key, app_secret } <|file_sep|>spec/dropdown/dropbox/session_spec.rb.diff origina...
be30bbbb644680a9308087e4e20ca0689035f9f5
spec/dropdown/dropbox/session_spec.rb
spec/dropdown/dropbox/session_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true before_install: - "sudo apt-get update -qq" - "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython python-pyaudio libasound2 libasound2-plugins libasound-dev alsa...
language: python python: - "2.7" virtualenv: system_site_packages: true before_install: - "sudo apt-get update -qq" - "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython python-pyaudio libasound2 libasound2-plugins libasound-dev pulseaudio alsa-base" - "sudo ldc...
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true before_install: - "sudo apt-get update -qq" - "sudo apt-get install -qq python-numpy python-scipy python-nose python-matplotlib ipython python-pyaudio libasound2 libasound2-plugins libasound-dev alsa...
a5725bae3eaaafb1a8511e6e01a4abf67da3321b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/circle.yml machine: environment: STREAK_CLUB_PIPELINE_KEY: clubs STREAK_LEADER_PIPELINE_KEY: leaders STREAK_API_KEY: test_api_key CLOUD9_USERNAME: test_username CLOUD9_PASSWORD: test_password CLOUD9_TEAM_NAME: fake_team_name deployment: production: branch: master ...
machine: environment: GOOGLE_MAPS_API_KEY: test_maps_api_key STREAK_CLUB_PIPELINE_KEY: clubs STREAK_LEADER_PIPELINE_KEY: leaders STREAK_API_KEY: test_api_key CLOUD9_USERNAME: test_username CLOUD9_PASSWORD: test_password CLOUD9_TEAM_NAME: fake_team_name deployment: production: branch...
<|file_sep|>original/circle.yml machine: environment: STREAK_CLUB_PIPELINE_KEY: clubs STREAK_LEADER_PIPELINE_KEY: leaders STREAK_API_KEY: test_api_key CLOUD9_USERNAME: test_username CLOUD9_PASSWORD: test_password CLOUD9_TEAM_NAME: fake_team_name deployment: production: branch: master ...
6fbf11a32e155f42f8b9bdae931b29e55fe39d12
circle.yml
circle.yml
YAML
<|file_sep|>.travis.yml.diff original: script: phpunit --coverage-text --coverage-clover=coverage.clover updated: script: - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; fi <|fi...
- 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: 7.0 sudo: false install: travis_retry composer install --no-interaction --prefer-source script: - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --...
<|file_sep|>.travis.yml.diff original: script: phpunit --coverage-text --coverage-clover=coverage.clover updated: script: - if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover; fi <|fi...
a0ef290ed4b4f95e7fa1a0bbc6af79c6ec6b5b1a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_script: - npm install -g grunt-cli notifications: webhooks: urls: - https://webhooks.gitter.im/e/7b309d0fef51b1696205 on_success: always on_failure: always on_start: false deploy: provider: npm email: andrewjdods...
language: node_js node_js: - "0.10" before_script: - npm install -g grunt-cli notifications: webhooks: urls: - https://webhooks.gitter.im/e/7b309d0fef51b1696205 on_success: always on_failure: always on_start: false deploy: provider: npm email: andrewjdodson@gmail.com api_key: secu...
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.10" before_script: - npm install -g grunt-cli notifications: webhooks: urls: - https://webhooks.gitter.im/e/7b309d0fef51b1696205 on_success: always on_failure: always on_start: false deploy: provider: npm email: andrewjdods...
398ae000d40d9a888be331ba4e962122d25e11cb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml # Build embeddable docker image if the dockerfile changed - > if [ $EMBEDDABLE_CHANGED != 0 ]; then DOCKER_IMG=niclabs/embeddable echo "Embeddable docker image changed, build from Dockerfile" docker build embeddable -t $DOCKER_IMG; if [ $? != 0 ]; then ...
# Build embeddable docker image if the dockerfile changed - > if [ $EMBEDDABLE_CHANGED != 0 ]; then DOCKER_IMG=niclabs/embeddable echo "Embeddable docker image changed, build from Dockerfile" docker build embeddable -t $DOCKER_IMG; if [ $? != 0 ]; then echo "Failed to build Docke...
<|file_sep|>original/.travis.yml # Build embeddable docker image if the dockerfile changed - > if [ $EMBEDDABLE_CHANGED != 0 ]; then DOCKER_IMG=niclabs/embeddable echo "Embeddable docker image changed, build from Dockerfile" docker build embeddable -t $DOCKER_IMG; if [ $? != 0 ]; then ...
aad1f8ab5829c1a2a40441684b1249e6d69bb137
.travis.yml
.travis.yml
YAML
<|file_sep|>original/gradle.properties group = org.junit.jupiter version = 5.1.0-SNAPSHOT platformGroup = org.junit.platform platformVersion = 1.1.0-SNAPSHOT vintageGroup = org.junit.vintage vintageVersion = 4.12.2-SNAPSHOT # --release release # Compiles against the pu...
group = org.junit.jupiter version = 5.1.0-SNAPSHOT platformGroup = org.junit.platform platformVersion = 1.1.0-SNAPSHOT vintageGroup = org.junit.vintage vintageVersion = 5.1.0-SNAPSHOT # --release release # Compiles against the public, supported and documented API for a...
<|file_sep|>original/gradle.properties group = org.junit.jupiter version = 5.1.0-SNAPSHOT platformGroup = org.junit.platform platformVersion = 1.1.0-SNAPSHOT vintageGroup = org.junit.vintage vintageVersion = 4.12.2-SNAPSHOT # --release release # Compiles against the pu...
1562208a3111d919b5505514baac87912870f533
gradle.properties
gradle.properties
INI
<|file_sep|>original/.github/stale.yml # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 7 # Number of days of inactivity before a stale Issue or Pull Request is closed daysUntilClose: 7 # Only issues or pull requests with all of these labels are checked if stale. Defaults to ...
# Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 7 # Number of days of inactivity before a stale Issue or Pull Request is closed daysUntilClose: 7 # Only issues or pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) onlyLabels: - stat:awa...
<|file_sep|>original/.github/stale.yml # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 7 # Number of days of inactivity before a stale Issue or Pull Request is closed daysUntilClose: 7 # Only issues or pull requests with all of these labels are checked if stale. Defaults to ...
dcbf152ef84e83d941bb278bb8fcdf0bce7f7c91
.github/stale.yml
.github/stale.yml
YAML
<|file_sep|>original/README.md # WhichBG ***Locate your OSX wallpapers.*** I have configured my Mac to rotate wallpapers images from a folder. Occasionally, it turns up an image I don't find tasteful and would like to remove from my collection. However, the folder contains thousands of images and the filenames are of...
# WhichBG ***Locate your OSX wallpapers.*** [Download the app](https://github.com/musically-ut/whichbg/blob/master/app/WhichBG.app.zip?raw=true) I have configured my Mac to rotate wallpapers images from a folder. Occasionally, it turns up an image I don't find tasteful and would like to remove from my collection. Ho...
<|file_sep|>original/README.md # WhichBG ***Locate your OSX wallpapers.*** I have configured my Mac to rotate wallpapers images from a folder. Occasionally, it turns up an image I don't find tasteful and would like to remove from my collection. However, the folder contains thousands of images and the filenames are of...
da1dc0692f2436cbdf8902f59482ed09c457f042
README.md
README.md
Markdown
<|file_sep|>sudo/conf.sls.diff original: updated: {% for group in [params.group, params.group_nopw] %} sudo-group-{{ group }}: group.present: - name: {{ group }} {% endfor %} <|file_sep|>original/sudo/conf.sls #!stateconf {% from 'states/sudo/map.jinja' import sudo as sudo_map with context %} {% from 'states/de...
sudo-group-{{ group }}: group.present: - name: {{ group }} {% endfor %} sudoers: file.managed: - name: {{ sudo_map.sudoers }} - user: root - group: {{ defaults.rootgroup }} - mode: 600 - source: salt://states/sudo/files/sudoers - template: jinja - defaults: group: {{ params....
<|file_sep|>sudo/conf.sls.diff original: updated: {% for group in [params.group, params.group_nopw] %} sudo-group-{{ group }}: group.present: - name: {{ group }} {% endfor %} <|file_sep|>original/sudo/conf.sls #!stateconf {% from 'states/sudo/map.jinja' import sudo as sudo_map with context %} {% from 'states/de...
1317ec559aa03c898b07da3af9c6f498611a67f9
sudo/conf.sls
sudo/conf.sls
SaltStack
<|file_sep|>src/PostgRESTWS.hs.diff original: updated: import Control.Concurrent (threadDelay) import Control.Monad (forever) <|file_sep|>original/src/PostgRESTWS.hs import qualified Network.WebSockets as WS import qualified Network.Wai.Handler.WebSockets as WS import PostgREST.App as PGR im...
postgrestWsApp :: PGR.AppConfig -> IORef PGR.DbStructure -> H.Pool -> Wai.Application postgrestWsApp conf refDbStructure pool = WS.websocketsOr WS.defaultConnectionOptions wsApp $ postgrest conf refDbStructure pool where wsApp :: WS.ServerApp wsAp...
<|file_sep|>src/PostgRESTWS.hs.diff original: updated: import Control.Concurrent (threadDelay) import Control.Monad (forever) <|file_sep|>original/src/PostgRESTWS.hs import qualified Network.WebSockets as WS import qualified Network.Wai.Handler.WebSockets as WS import PostgREST.App as PGR im...
6b85dfa6c2c564de1041d0512ca1e3ee2a0bc0cf
src/PostgRESTWS.hs
src/PostgRESTWS.hs
Haskell
<|file_sep|>original/lib/poolify.js 'use strict'; const poolified = Symbol('poolified'); const mixFlag = { [poolified]: true }; const duplicate = (factory, n) => ( new Array(n).fill().map(() => { const instance = factory(); return Object.assign(instance, mixFlag); }) ); const provide = callback => item ...
'use strict'; const poolified = Symbol('poolified'); const mixFlag = { [poolified]: true }; const duplicate = (factory, n) => Array .from({ length: n }, factory) .map(instance => Object.assign(instance, mixFlag)); const provide = callback => item => { setImmediate(() => { callback(item); }); }; const p...
<|file_sep|>original/lib/poolify.js 'use strict'; const poolified = Symbol('poolified'); const mixFlag = { [poolified]: true }; const duplicate = (factory, n) => ( new Array(n).fill().map(() => { const instance = factory(); return Object.assign(instance, mixFlag); }) ); const provide = callback => item ...
afe38c01e268a04153e8a644b5e64c2fd4897d0e
lib/poolify.js
lib/poolify.js
JavaScript
<|file_sep|>example/index.html.diff original: updated: <!-- <script src="https://rawgit.com/eugenekadish/gl-matrix/master/dist/gl-matrix.js"></script> --> <|file_sep|>original/example/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> Example </title> <link rel="stylesh...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> Example </title> <link rel="stylesheet" href="styles/styles.css"> </head> <body> <canvas id="scene" width="500" height="500"> </canvas> <script src="https://rawgit.com/eugenekadish/graphics-import/master/source/sh...
<|file_sep|>example/index.html.diff original: updated: <!-- <script src="https://rawgit.com/eugenekadish/gl-matrix/master/dist/gl-matrix.js"></script> --> <|file_sep|>original/example/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> Example </title> <link rel="stylesh...
6c47174f2d467ea80e2c75665c8814bf92f9e56e
example/index.html
example/index.html
HTML
<|file_sep|>original/misc/sample_project/ser/snake.py # -*- coding: utf-8 -*- from __future__ import unicode_literals __all__ = ('is_snake',) def is_snake(word): if not word.isalpha(): raise ValueError("String '{}' is not a word") if word.lower() == 'python': return True if word.lower()...
# -*- coding: utf-8 -*- from __future__ import unicode_literals __all__ = ('is_snake',) def is_snake(word): """Checks if an animal is a snake Parameters ---------- word : str Animal name Returns ------- bool Example
<|file_sep|>original/misc/sample_project/ser/snake.py # -*- coding: utf-8 -*- from __future__ import unicode_literals __all__ = ('is_snake',) def is_snake(word): if not word.isalpha(): raise ValueError("String '{}' is not a word") if word.lower() == 'python': return True if word.lower()...
1cff4ec8cdac7253be979936a1b06c5bc8264195
misc/sample_project/ser/snake.py
misc/sample_project/ser/snake.py
Python
<|file_sep|>original/core/src/wge3/model/audio/DefaultGun.java /** * * @author Teemu */ public class DefaultGun implements MySound { private Sound sound; public DefaultGun() { try { sound = Gdx.audio.newSound(Gdx.files.internal("sounds/defaultGun2-16.wav")); } catch (Exception e...
/** * * @author Teemu */ public class DefaultGun implements MySound { private Sound sound; public DefaultGun() { try { sound = Gdx.audio.newSound(Gdx.files.internal("sounds/defaultGun.wav")); } catch (Exception ex) { System.out.println("Error with playing sound."); ...
<|file_sep|>original/core/src/wge3/model/audio/DefaultGun.java /** * * @author Teemu */ public class DefaultGun implements MySound { private Sound sound; public DefaultGun() { try { sound = Gdx.audio.newSound(Gdx.files.internal("sounds/defaultGun2-16.wav")); } catch (Exception e...
9cdcd404953e1d27f333f1810df09cc580f1c50d
core/src/wge3/model/audio/DefaultGun.java
core/src/wge3/model/audio/DefaultGun.java
Java
<|file_sep|>original/setup.cfg name = sahara-image-elements summary = Image elements for Sahara description-file = README.rst license = Apache Software License classifiers = Intended Audience :: Information Technology Intended Audience :: System Administrators License :: OSI Approved :: Apache Software Lice...
name = sahara-image-elements summary = Image elements for Sahara description-file = README.rst license = Apache Software License classifiers = Intended Audience :: Information Technology Intended Audience :: System Administrators License :: OSI Approved :: Apache Software License Operating System :: POS...
<|file_sep|>original/setup.cfg name = sahara-image-elements summary = Image elements for Sahara description-file = README.rst license = Apache Software License classifiers = Intended Audience :: Information Technology Intended Audience :: System Administrators License :: OSI Approved :: Apache Software Lice...
9851391c280363c52522748419b015e8e036018d
setup.cfg
setup.cfg
INI
<|file_sep|>original/project.properties #maven.checkstyle.properties=src/conf/checkstyle.properties maven.xdoc.poweredby.image=maven-feather.png maven.javadoc.author=false maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/ maven.javadoc.overview=src/java/org/apache/commons/collections/overview.html maven.javad...
#maven.checkstyle.properties=src/conf/checkstyle.properties maven.xdoc.poweredby.image=maven-feather.png maven.xdoc.date = left maven.javadoc.author=false maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/ maven.javadoc.overview=src/java/org/apache/commons/collections/overview.html maven.javadoc.public=true #m...
<|file_sep|>original/project.properties #maven.checkstyle.properties=src/conf/checkstyle.properties maven.xdoc.poweredby.image=maven-feather.png maven.javadoc.author=false maven.javadoc.links=http://java.sun.com/j2se/1.3/docs/api/ maven.javadoc.overview=src/java/org/apache/commons/collections/overview.html maven.javad...
5e7f42c825ef5e92384cc9b1189eab12f393c093
project.properties
project.properties
INI
<|file_sep|>README.md.diff original: Multithreaded recursive directory uploader to S3 using Fog updated: Multithreaded recursive directory uploader to S3 using [fog](https://github.com/fog/fog). It recursively transverses all contents of the directory provided as source parameter, uploading all files to the destinatio...
S3Uploader.upload_directory('/tmp/test', 'mybucket', { :destination_dir => 'test/', :threads => 4 }) Or as a command line binary s3uploader -k YOUR_KEY -s YOUR_SECRET_KEY -d test/ -t 4 /tmp/test mybucket Again, it uses S3_KEY and S3_SECRET environment variables if non provided in parameters. s3uploader -d te...
<|file_sep|>README.md.diff original: Multithreaded recursive directory uploader to S3 using Fog updated: Multithreaded recursive directory uploader to S3 using [fog](https://github.com/fog/fog). It recursively transverses all contents of the directory provided as source parameter, uploading all files to the destinatio...
9de88c68c85804a491dfc5ba12bff46f5e8b856e
README.md
README.md
Markdown
<|file_sep|>original/mrbelvedereci/build/utils.py except PageNotAnInteger: # If page is not an integer, deliver first page. builds = paginator.page(1) except EmptyPage: # If page is out of range (e.g. 9999), deliver last page of results. builds = paginator.page(paginator.num_page...
# If page is out of range (e.g. 9999), deliver last page of results. builds = paginator.page(paginator.num_pages) return builds def view_queryset(request, query=None): if not query: query = {} if not request.user.is_staff: query['plan__public'] = True builds = Build.ob...
<|file_sep|>original/mrbelvedereci/build/utils.py except PageNotAnInteger: # If page is not an integer, deliver first page. builds = paginator.page(1) except EmptyPage: # If page is out of range (e.g. 9999), deliver last page of results. builds = paginator.page(paginator.num_page...
4e8c3e66b6956c88adcf275d771d06fad0c0bb34
mrbelvedereci/build/utils.py
mrbelvedereci/build/utils.py
Python
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt
Copyright (c) 2016 The Python Packaging Authority (PyPA) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
<|file_sep|>original/LICENSE.txt <|file_sep|>current/LICENSE.txt <|file_sep|>updated/LICENSE.txt Copyright (c) 2016 The Python Packaging Authority (PyPA) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the S...
deff74ce2019227d3ca0ca4d802978717d907a45
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: heading label: JTemporal - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create: all upload_dir: images public_path: "/images" front_matter_pat...
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: document path: _drafts label: Drafts match: "**/*" - type: heading label: JTemporal - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create: all upload_dir: images public_path: "/ima...
<|file_sep|>original/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: heading label: JTemporal - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create: all upload_dir: images public_path: "/images" front_matter_pat...
4ed871e2aa9d6defc4b35eec9e584f97e66d04cd
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/src/views/dark-template/MainContentSection.vue <|file_sep|>current/src/views/dark-template/MainContentSection.vue <|file_sep|>updated/src/views/dark-template/MainContentSection.vue
<template> <div class="mb-5"> <div class="title mb-3"> {{ title }} </div> <slot /> </div> </template> <script> export default { name : 'MainContentSection', components: { }, props : { title: { type: String, default: 'Section' } }, } </script> <style scoped> .title { border-botto...
<|file_sep|>original/src/views/dark-template/MainContentSection.vue <|file_sep|>current/src/views/dark-template/MainContentSection.vue <|file_sep|>updated/src/views/dark-template/MainContentSection.vue <template> <div class="mb-5"> <div class="title mb-3"> {{ title }} </div> <slot /> </div> </te...
49b6aeed1fdd9dff9cf9328ba6aa82d789e71e4c
src/views/dark-template/MainContentSection.vue
src/views/dark-template/MainContentSection.vue
Vue
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 - 0.7 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 - 0.7 <|file_sep|>updated/.travis.yml
language: node_js node_js: - 0.6 - 0.7 - 0.8
<|file_sep|>original/.travis.yml language: node_js node_js: - 0.6 - 0.7 <|file_sep|>current/.travis.yml language: node_js node_js: - 0.6 - 0.7 <|file_sep|>updated/.travis.yml language: node_js node_js: - 0.6 - 0.7 - 0.8
1957dacef554494f070f20914e72ebcafbfb0a15
.travis.yml
.travis.yml
YAML
<|file_sep|>original/paths/uploads/v3_uploads_uploadId_complete.yml be treated like a consent error. tags: - Uploads - _For Workers - _For Consented Users security: - BridgeSecurity: [] parameters: - $ref: ../../index.yml#/parameters/uploadId responses: ...
Notify Bridge an upload is complete. Either a consented user or a worker process can access this endpoing, but failure to have the worker role will be treated like a consent error. tags: - Uploads - _For Workers - _For Consented Users security: - Bridge...
<|file_sep|>original/paths/uploads/v3_uploads_uploadId_complete.yml be treated like a consent error. tags: - Uploads - _For Workers - _For Consented Users security: - BridgeSecurity: [] parameters: - $ref: ../../index.yml#/parameters/uploadId responses: ...
c8f0de33c1a0915499c3f9973eaeb24394171950
paths/uploads/v3_uploads_uploadId_complete.yml
paths/uploads/v3_uploads_uploadId_complete.yml
YAML
<|file_sep|>config/initializers/sidekiq.rb.diff original: url: ENV['REDIS_PROVIDER'], updated: <|file_sep|>original/config/initializers/sidekiq.rb Sidekiq.configure_server do |config| config.redis = { url: ENV['REDIS_PROVIDER'], namespace: "tahi_#{Rails.env}" } end Sidekiq.configure_client do |config...
Sidekiq.configure_server do |config| config.redis = { namespace: "tahi_#{Rails.env}" } end Sidekiq.configure_client do |config| config.redis = { namespace: "tahi_#{Rails.env}" } end
<|file_sep|>config/initializers/sidekiq.rb.diff original: url: ENV['REDIS_PROVIDER'], updated: <|file_sep|>original/config/initializers/sidekiq.rb Sidekiq.configure_server do |config| config.redis = { url: ENV['REDIS_PROVIDER'], namespace: "tahi_#{Rails.env}" } end Sidekiq.configure_client do |config...
80df179b8f05428bd5daaa40ff0c02fc02772124
config/initializers/sidekiq.rb
config/initializers/sidekiq.rb
Ruby
<|file_sep|>README.md.diff original: printf( "Error"); updated: printf( "Error" ); <|file_sep|>README.md.diff original: updated: // Header is available once enough bytes are read in <|file_sep|>README.md.diff original: printf( "Creating %s", stream.header.file_name ); updated: printf( "Cre...
if( result < TAR_OK ) { printf( "Error" ); } // Header is available once enough bytes are read in if( stream.header ) { printf( "Creating %s\n", stream.header.file_name ); file_handle = open( stream.header.file_name, O_WRONLY ); } if( stream.avail_out ) { ...
<|file_sep|>README.md.diff original: printf( "Error"); updated: printf( "Error" ); <|file_sep|>README.md.diff original: updated: // Header is available once enough bytes are read in <|file_sep|>README.md.diff original: printf( "Creating %s", stream.header.file_name ); updated: printf( "Cre...
6a8e8b45f4dd8be4c12e2233f87f95e38827b5f3
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true setuptools: true # command to prepare the system to install prerequisites or dependencies before_install: - sudo add-apt-repository -y ppa:donk/gstreamer - sudo apt-get -qq update - sudo apt-get install -qq...
language: python python: - "2.7" virtualenv: system_site_packages: true setuptools: true # command to prepare the system to install prerequisites or dependencies before_install: - sudo add-apt-repository -y ppa:donk/gstreamer - sudo apt-get -qq update - sudo apt-get install -qq python-numpy python-scipy python...
<|file_sep|>original/.travis.yml language: python python: - "2.7" virtualenv: system_site_packages: true setuptools: true # command to prepare the system to install prerequisites or dependencies before_install: - sudo add-apt-repository -y ppa:donk/gstreamer - sudo apt-get -qq update - sudo apt-get install -qq...
551b8605cb4cc3e5b4e0f2bfc4d278c60a62e1e9
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - protobuf-compiler <|file_sep|>.travis.yml.diff original: updated: PROTOC=protoc <|file_sep|>original/.travis.yml PROTOBUF_DIR=protobuf ifeq ($(OS), Windows_NT) BAT=.bat EXE=.exe PATH_SEPARATOR=; else PATH_SEPARATOR=: endif C...
PROTOBUF_DIR=protobuf PROTOC=protoc ifeq ($(OS), Windows_NT) BAT=.bat EXE=.exe PATH_SEPARATOR=; else PATH_SEPARATOR=: endif COMPC=flex_sdk/bin/compc$(BAT) MXMLC=flex_sdk/bin/mxmlc$(BAT) ASDOC=flex_sdk/bin/asdoc$(BAT) FDB=flex_sdk/bin/fdb$(BAT) MVN=mvn JAVAC=ja...
<|file_sep|>.travis.yml.diff original: updated: - protobuf-compiler <|file_sep|>.travis.yml.diff original: updated: PROTOC=protoc <|file_sep|>original/.travis.yml PROTOBUF_DIR=protobuf ifeq ($(OS), Windows_NT) BAT=.bat EXE=.exe PATH_SEPARATOR=; else PATH_SEPARATOR=: endif C...
350440d1daa1ebcf9c2ed014f1ea47fa320fc723
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.eslintrc.json "indent": [ "error", 2 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "single" ], "semi": [ "error", "always" ], "max-len": [ "error", 100, 2 ] <|file_sep|>curre...
{ "env": { "browser": true, "es6": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module" }, "rules": { "indent": ["error", 2], "linebreak-style": ["error", "unix"], "quotes": ["error", "single"], "semi": ["error", "always"], "max...
<|file_sep|>original/.eslintrc.json "indent": [ "error", 2 ], "linebreak-style": [ "error", "unix" ], "quotes": [ "error", "single" ], "semi": [ "error", "always" ], "max-len": [ "error", 100, 2 ] <|file_sep|>curre...
b3ae66eae471b8a0f3fcdffb20d776fde728725e
.eslintrc.json
.eslintrc.json
JSON
<|file_sep|>original/child-repo/README.md # `keycloak-auth-utils` [![Build Status](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils.svg?branch=master)](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?s...
# `keycloak-auth-utils` [![Build Status](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils.svg?branch=master)](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet...
<|file_sep|>original/child-repo/README.md # `keycloak-auth-utils` [![Build Status](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils.svg?branch=master)](https://travis-ci.org/keycloak/keycloak-nodejs-auth-utils) [![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?s...
24bf5f320836a956bca1f1d4d1f3ed409cc9d521
child-repo/README.md
child-repo/README.md
Markdown
<|file_sep|>app/modules/notifications/notifications.jade.diff original: ng-if="!vm.notificationsList.get(0).get('read')", updated: ng-if="vm.notificationsList.size && !vm.notificationsList.get(0).get('read')", <|file_sep|>original/app/modules/notifications/notifications.jade div.wrapper ...
div.wrapper div.notifications-page.centered header.header h1.title {{ 'EVENTS.MY_EVENTS' | translate }} a.action( href="", ng-if="vm.notificationsList.size && !vm.notificationsList.get(0).get('read')", ng-click="vm.setAllAsRead()") {{ '...
<|file_sep|>app/modules/notifications/notifications.jade.diff original: ng-if="!vm.notificationsList.get(0).get('read')", updated: ng-if="vm.notificationsList.size && !vm.notificationsList.get(0).get('read')", <|file_sep|>original/app/modules/notifications/notifications.jade div.wrapper ...
5341bd8b5a85fc78961bccaff42ae4c01b16092a
app/modules/notifications/notifications.jade
app/modules/notifications/notifications.jade
Jade
<|file_sep|>original/scripts/create_heatmap.py #!/usr/bin/python # -*- coding: utf-8 -*- import sys import os sys.path.append(os.path.dirname(os.path.dirname(__file__)) + '/src') import DataVisualizing if len(sys.argv) != 2: print 'usage: create_heatmap.py <data file>' print ' expected infile is a datafile c...
# -*- coding: utf-8 -*- import sys import os sys.path.append(os.path.dirname(os.path.dirname(__file__)) + '/src') import DataVisualizing if len(sys.argv) != 2: print 'usage: create_heatmap.py <data file>' print ' expected infile is a datafile containing tracking data' print ' this is a csv file with the...
<|file_sep|>original/scripts/create_heatmap.py #!/usr/bin/python # -*- coding: utf-8 -*- import sys import os sys.path.append(os.path.dirname(os.path.dirname(__file__)) + '/src') import DataVisualizing if len(sys.argv) != 2: print 'usage: create_heatmap.py <data file>' print ' expected infile is a datafile c...
dae3f42c6f6800181bc1d9f2e98cbacf03849431
scripts/create_heatmap.py
scripts/create_heatmap.py
Python
<|file_sep|>original/README.md SitecRESA-API ============= API to implement booking engine in frontend web site (need access grant with apikey) Pré-requis ============= - PHP 5.3.1 - autoriser set_include_path à PHP (nécessaire à la ligne 52 de SitecRESA/WS/Client.php) - extension cURL et JSON Installation ====...
SitecRESA-API ============= API to implement booking engine in frontend web site (need access grant with apikey) Pré-requis ============= - PHP 5.3.8 - autoriser set_include_path à PHP (nécessaire à la ligne 52 de SitecRESA/WS/Client.php) - extension cURL et JSON Installation ============= utilisez composer ...
<|file_sep|>original/README.md SitecRESA-API ============= API to implement booking engine in frontend web site (need access grant with apikey) Pré-requis ============= - PHP 5.3.1 - autoriser set_include_path à PHP (nécessaire à la ligne 52 de SitecRESA/WS/Client.php) - extension cURL et JSON Installation ====...
b4b57148de7b4316c8d9cc11d955b7511a90df10
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/de/prob2/ui/verifications/cbc/CBCFormulaFindStateItem.java package de.prob2.ui.verifications.cbc; import java.util.Objects; import de.prob.statespace.Trace; public class CBCFormulaFindStateItem extends CBCFormulaItem { private Trace example; public CBCFormulaFindStateItem(Str...
package de.prob2.ui.verifications.cbc; import java.util.Objects; import de.prob.statespace.Trace; public class CBCFormulaFindStateItem extends CBCFormulaItem { private transient Trace example; public CBCFormulaFindStateItem(String name, String code, CBCType type) { super(name, code, type); this.example = n...
<|file_sep|>original/src/main/java/de/prob2/ui/verifications/cbc/CBCFormulaFindStateItem.java package de.prob2.ui.verifications.cbc; import java.util.Objects; import de.prob.statespace.Trace; public class CBCFormulaFindStateItem extends CBCFormulaItem { private Trace example; public CBCFormulaFindStateItem(Str...
0350eddfb48085144201078b5d0b18aa9050cdbd
src/main/java/de/prob2/ui/verifications/cbc/CBCFormulaFindStateItem.java
src/main/java/de/prob2/ui/verifications/cbc/CBCFormulaFindStateItem.java
Java
<|file_sep|>original/jni/shaders/displayFrag.h * version 2.1 of the License, or (at your option) any later version. * * viaVR is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Les...
* version 2.1 of the License, or (at your option) any later version. * * viaVR is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Lesser General Public License for more details. *...
<|file_sep|>original/jni/shaders/displayFrag.h * version 2.1 of the License, or (at your option) any later version. * * viaVR is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Les...
ea2a841e4ba38300d287052d96cb397d4f4a7cf5
jni/shaders/displayFrag.h
jni/shaders/displayFrag.h
C
<|file_sep|>package.json.diff original: "version": "0.9.3", updated: "version": "0.9.4", <|file_sep|>original/package.json "version": "0.9.3", "description": "Plugin enabling ASPAX to handle Stylus files.", "keywords": [ "aspax", "stylus", "css", "compilation" ], "dependencies": { "ice...
"version": "0.9.4", "description": "Plugin enabling ASPAX to handle Stylus files.", "keywords": [ "aspax", "stylus", "css", "compilation" ], "dependencies": { "iced-coffee-script": "^1.8.0-a", "stylus": "^0.49.2", "nib": "^1.0.4" }, "engines": { "node": ">=0.8.16" }, "r...
<|file_sep|>package.json.diff original: "version": "0.9.3", updated: "version": "0.9.4", <|file_sep|>original/package.json "version": "0.9.3", "description": "Plugin enabling ASPAX to handle Stylus files.", "keywords": [ "aspax", "stylus", "css", "compilation" ], "dependencies": { "ice...
f14b9ec076cc8c6ee23628aea69972e36ed96e8f
package.json
package.json
JSON
<|file_sep|>original/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json <|file_sep|>current/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json <|file_sep|>updated/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json
{ "Records": [ { "EventSource": "aws:sns", "EventVersion": "1.0", "EventSubscriptionArn": "arn:aws:sns:us-west-2:123456789123:CloudWatchNotifications:00000000-0000-0000-0000-000000000000", "Sns": { "Type": "Notification", "MessageId": "00000000-0000-0000-000...
<|file_sep|>original/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json <|file_sep|>current/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json <|file_sep|>updated/notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json { "Records": [ { ...
68be951e9299db0af45410e88e4eb3c73f0a5892
notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json
notifications/lambdas/cloudwatch-alarm-notification-handler/test_event.json
JSON
<|file_sep|>.travis.yml.diff original: - 5.3.3 - 5.3 updated: - 5.6 - 5.5 <|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.3 - 5.4 before_script: composer install -n script: phpunit -c app <|file_sep|>current/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 before_script: compose...
language: php php: - 5.6 - 5.5 - 5.4 - hhvm - 7 before_script: composer install -n script: phpunit -c app
<|file_sep|>.travis.yml.diff original: - 5.3.3 - 5.3 updated: - 5.6 - 5.5 <|file_sep|>original/.travis.yml language: php php: - 5.3.3 - 5.3 - 5.4 before_script: composer install -n script: phpunit -c app <|file_sep|>current/.travis.yml language: php php: - 5.6 - 5.5 - 5.4 before_script: compose...
afa97426d0ca45f080254b5499b1b0c0c657a414
.travis.yml
.travis.yml
YAML
<|file_sep|>original/templates/legislators/_geo_legislator_display.html <|file_sep|>current/templates/legislators/_geo_legislator_display.html <|file_sep|>updated/templates/legislators/_geo_legislator_display.html
<div class="col-md-6"> <p><strong>Your senator is:</strong></p> <p><a href="{{ address_senator.url }}">{{ address_senator.name }}</a></p> <a href="{{ address_senator.url }}"><img src="{{ address_senator.image }}" class="legislator-image"></a> <input type="hidden" name="senator" value="{{ address_senator...
<|file_sep|>original/templates/legislators/_geo_legislator_display.html <|file_sep|>current/templates/legislators/_geo_legislator_display.html <|file_sep|>updated/templates/legislators/_geo_legislator_display.html <div class="col-md-6"> <p><strong>Your senator is:</strong></p> <p><a href="{{ address_senator.u...
4e74838f239af010c76c069c7e38ec0b3771ab49
templates/legislators/_geo_legislator_display.html
templates/legislators/_geo_legislator_display.html
HTML
<|file_sep|>original/playbooks/ansible.cfg action_plugins = plugins/actions gathering = smart # Fact caching fact_caching = jsonfile fact_caching_connection = /etc/openstack_deploy/ansible_facts fact_caching_timeout = 86400 inventory = inventory host_key_checking = False # Set color options nocolor = 0 # SSH timeo...
filter_plugins = plugins/filters action_plugins = plugins/actions gathering = smart # Fact caching fact_caching = jsonfile fact_caching_connection = /etc/openstack_deploy/ansible_facts fact_caching_timeout = 86400 inventory = inventory host_key_checking = False # Set color options nocolor = 0 # SSH timeout timeout...
<|file_sep|>original/playbooks/ansible.cfg action_plugins = plugins/actions gathering = smart # Fact caching fact_caching = jsonfile fact_caching_connection = /etc/openstack_deploy/ansible_facts fact_caching_timeout = 86400 inventory = inventory host_key_checking = False # Set color options nocolor = 0 # SSH timeo...
f3085c2f98e68897d4ef7ef475a3b34e580c81ef
playbooks/ansible.cfg
playbooks/ansible.cfg
INI
<|file_sep|>original/tagged-logging.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'tagged-logging/version' Gem::Specification.new do |gem| gem.name = "tagged-logging" gem.version = Tagged::Logging::VERSION...
# -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'tagged-logging/version' Gem::Specification.new do |gem| gem.name = "tagged-logging" gem.version = Tagged::Logging::VERSION gem.authors = ["Paweł Kondzior"] ...
<|file_sep|>original/tagged-logging.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'tagged-logging/version' Gem::Specification.new do |gem| gem.name = "tagged-logging" gem.version = Tagged::Logging::VERSION...
1f6a3aea176c40a3c14720f42ce954643095d4f5
tagged-logging.gemspec
tagged-logging.gemspec
Ruby
<|file_sep|>original/docs/package.json "hexo": { "version": "3.7.1" }, "devDependencies": { "apollo-hexo-config": "1.0.8", "chexo": "1.0.7", "hexo": "3.8.0", "hexo-browsersync": "0.3.0", "hexo-prism-plus": "1.1.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "1.0.0", "h...
"hexo": { "version": "3.7.1" }, "devDependencies": { "apollo-hexo-config": "1.0.8", "chexo": "1.0.7", "hexo": "3.8.0", "hexo-browsersync": "0.3.0", "hexo-prism-plus": "1.1.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "0.2.0", "hexo-renderer-marked": "0.3.2", "hex...
<|file_sep|>original/docs/package.json "hexo": { "version": "3.7.1" }, "devDependencies": { "apollo-hexo-config": "1.0.8", "chexo": "1.0.7", "hexo": "3.8.0", "hexo-browsersync": "0.3.0", "hexo-prism-plus": "1.1.0", "hexo-renderer-ejs": "0.3.1", "hexo-renderer-less": "1.0.0", "h...
62138935634ba040707b07d4e72aca2cdc47aff9
docs/package.json
docs/package.json
JSON
<|file_sep|>original/views/lexicon/tables/datatable-empty.html.twig <|file_sep|>current/views/lexicon/tables/datatable-empty.html.twig <|file_sep|>updated/views/lexicon/tables/datatable-empty.html.twig
{% extends '@pulsar/pulsar/components/tab.html.twig' %} {% block tab_content %} <table class="table datatable table--full"> <thead> <tr> <th class="table-responsive"></th> <th class="table-selection"></th> <th><a href="#">Name</a></th> ...
<|file_sep|>original/views/lexicon/tables/datatable-empty.html.twig <|file_sep|>current/views/lexicon/tables/datatable-empty.html.twig <|file_sep|>updated/views/lexicon/tables/datatable-empty.html.twig {% extends '@pulsar/pulsar/components/tab.html.twig' %} {% block tab_content %} <table class="table datatable t...
dd9935a8d902a03161d07637e3519459e2612381
views/lexicon/tables/datatable-empty.html.twig
views/lexicon/tables/datatable-empty.html.twig
Twig
<|file_sep|>original/app/view/twig/users/_sessions.twig <tbody> {% for session in context.sessions %} <tr> <td>{{ session.username }}</td> <td> <time class="moment" datetime="{{ session.lastseen|date("c") }}" title="{{ session.lastseen }}">{{ s...
<tbody> {% for session in context.sessions %} <tr> <td>{{ session.username }}</td> <td> <time class="moment" datetime="{{ session.lastseen|date("c") }}" title="{{ session.lastseen }}">{{ session.lastseen }}</time> </td> ...
<|file_sep|>original/app/view/twig/users/_sessions.twig <tbody> {% for session in context.sessions %} <tr> <td>{{ session.username }}</td> <td> <time class="moment" datetime="{{ session.lastseen|date("c") }}" title="{{ session.lastseen }}">{{ s...
1756d664043b38432bc7c03677bd8e827bd01665
app/view/twig/users/_sessions.twig
app/view/twig/users/_sessions.twig
Twig
<|file_sep|>original/bin/install-vmhgfs.sh <|file_sep|>current/bin/install-vmhgfs.sh <|file_sep|>updated/bin/install-vmhgfs.sh
#!/bin/bash set -e LOG=/tmp/cuckoo-tools.log touch "$LOG" function info-message() { ...
<|file_sep|>original/bin/install-vmhgfs.sh <|file_sep|>current/bin/install-vmhgfs.sh <|file_sep|>updated/bin/install-vmhgfs.sh #!/bin/bash set -e LOG=/tmp/cuckoo-tools.log touch "$LOG" function info-message() { ...
4b145353a5baf1dc176110d5aee0cdc612e830ae
bin/install-vmhgfs.sh
bin/install-vmhgfs.sh
Shell
<|file_sep|>original/.github/workflows/pythonpackage.yml name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} ...
name: Python package on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 wit...
<|file_sep|>original/.github/workflows/pythonpackage.yml name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} ...
2317e42ea07ed7b64938327aafde94a6fdd29e52
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
YAML
<|file_sep|>original/README.md # Postcard Creator API [![Build Status](https://travis-ci.org/gido/postcardcreator.svg?branch=master)](https://travis-ci.org/gido/postcardcreator) A node.js API for the [Swiss Post Postcard Creator](http://postcardcreator.post.ch). # Basic usage ```javascript var path = require('path'),...
# Postcard Creator API [![Build Status](https://travis-ci.org/gido/postcardcreator.svg?branch=master)](https://travis-ci.org/gido/postcardcreator) A node.js API for the [Swiss Post Postcard Creator](http://postcardcreator.post.ch). # Basic usage ```javascript var path = require('path'), Postcardcreator = require(...
<|file_sep|>original/README.md # Postcard Creator API [![Build Status](https://travis-ci.org/gido/postcardcreator.svg?branch=master)](https://travis-ci.org/gido/postcardcreator) A node.js API for the [Swiss Post Postcard Creator](http://postcardcreator.post.ch). # Basic usage ```javascript var path = require('path'),...
f02bb5dccce234dd3c5f025442c21d9e4cbda09f
README.md
README.md
Markdown
<|file_sep|>app/code/community/Ebanx/Gateway/sql/ebanx_magento_setup/mysql4-upgrade-2.0.1-2.0.2.php.diff original: $installer->run(" CREATE TABLE {$this->getTable('ebanx_user_cards')} ( `ebanx_card_id` int(11) unsigned NOT NULL auto_increment, `user_id` int(11) NOT NULL default 0, `token` varchar(255) NOT N...
$installer = $this; $installer->startSetup(); if (!$installer->tableExists('ebanx_user_cards')) { $installer->run(" CREATE TABLE {$this->getTable('ebanx_user_cards')} ( `ebanx_card_id` int(11) unsigned NOT NULL auto_increment, `user_id` int(11) NOT NULL default 0, `token` varchar(255) NOT NULL defaul...
<|file_sep|>app/code/community/Ebanx/Gateway/sql/ebanx_magento_setup/mysql4-upgrade-2.0.1-2.0.2.php.diff original: $installer->run(" CREATE TABLE {$this->getTable('ebanx_user_cards')} ( `ebanx_card_id` int(11) unsigned NOT NULL auto_increment, `user_id` int(11) NOT NULL default 0, `token` varchar(255) NOT N...
5b1896b1403e28a001073b344ff8437a21497d74
app/code/community/Ebanx/Gateway/sql/ebanx_magento_setup/mysql4-upgrade-2.0.1-2.0.2.php
app/code/community/Ebanx/Gateway/sql/ebanx_magento_setup/mysql4-upgrade-2.0.1-2.0.2.php
PHP
<|file_sep|>original/requirements-dev.txt -r requirements.txt nose==1.3.7 rednose==1.2.2 sure==1.4.6 sphinx==1.6.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt nose==1.3.7 rednose==1.2.2 sure==1.4.6 sphinx==1.6.2 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt nose==1.3.7 rednose==1.2.2 sure==1.4.6 sphinx==1.6.3
<|file_sep|>original/requirements-dev.txt -r requirements.txt nose==1.3.7 rednose==1.2.2 sure==1.4.6 sphinx==1.6.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt nose==1.3.7 rednose==1.2.2 sure==1.4.6 sphinx==1.6.2 <|file_sep|>updated/requirements-dev.txt -r requirements.txt nose==1.3.7 rednose==1.2.2 sur...
0807e3cd953137464cad726fc18550112d6f477b
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_testing() add_tes...
cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -std=c99") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_testing() add_test(test-endpoints1 t...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 2.8) project(kmsc-endpoints) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall") set(CUSTOM_PREFIX "kmsc") set(INCLUDE_PREFIX "include/${CUSTOM_PREFIX}") set(LIB_PREFIX "lib") add_subdirectory(src) add_subdirectory(test) enable_testing() add_tes...
4e6984e045f1e29d2d4b6b96c26c47866d55006e
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/app/scripts/browser-music-player.js 'use strict'; function BrowserMusicPlayer () { var AudioContext = window.AudioContext || window.webkitAudioContext; this.ctx = new AudioContext(); } BrowserMusicPlayer.prototype.loadingMusic = function () { }; BrowserMus...
'use strict'; function BrowserMusicPlayer () { var AudioContext = window.AudioContext || window.webkitAudioContext; this.ctx = new AudioContext(); } BrowserMusicPlayer.prototype.loadingMusic = function () { }; BrowserMusicPlayer.prototype.isMusicFile = function () { }; ...
<|file_sep|>original/app/scripts/browser-music-player.js 'use strict'; function BrowserMusicPlayer () { var AudioContext = window.AudioContext || window.webkitAudioContext; this.ctx = new AudioContext(); } BrowserMusicPlayer.prototype.loadingMusic = function () { }; BrowserMus...
c9b0995809bcd300b3ba8ccd4b3e97b0a8e51ff9
app/scripts/browser-music-player.js
app/scripts/browser-music-player.js
JavaScript
<|file_sep|>original/dev-requirements.txt attrs==18.1.0 bandit==1.4.0 check-manifest==0.37 coveralls==1.3.0 codecov==2.0.15 flake8-bugbear==18.2.0;python_version>="3.5" flake8-docstrings==1.3.0 flake8-import-order==0.18 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.66.22 mccabe==0.6.1 mypy==0.600 pytest==3.6.3 pep8-na...
attrs==18.1.0 bandit==1.4.0 check-manifest==0.37 coveralls==1.3.0 codecov==2.0.15 flake8-bugbear==18.2.0;python_version>="3.5" flake8-docstrings==1.3.0 flake8-import-order==0.18 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.66.30 mccabe==0.6.1 mypy==0.600 pytest==3.6.3 pep8-naming==0.7.0 pipdeptree==0.13.0 pipenv==201...
<|file_sep|>original/dev-requirements.txt attrs==18.1.0 bandit==1.4.0 check-manifest==0.37 coveralls==1.3.0 codecov==2.0.15 flake8-bugbear==18.2.0;python_version>="3.5" flake8-docstrings==1.3.0 flake8-import-order==0.18 pycodestyle==2.3.1 flake8==3.5.0 hypothesis==3.66.22 mccabe==0.6.1 mypy==0.600 pytest==3.6.3 pep8-na...
050ed696bce4c9be08f4e073067cbe4ad424ed5e
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>app/assets/stylesheets/modules/navbar.css.scss.diff original: width: 50px; height: 50px; padding: 15px; background-color: $navbar-default-brand-bg; updated: width: 50px; height: 50px; padding: 15px; background-color: $navbar-default-brand-bg; <|file_sep|>original/app/assets/stylesheets/modules/n...
.navbar-brand-icon { width: 50px; height: 50px; padding: 15px; background-color: $navbar-default-brand-bg; img { width: 20px; height: 20px; } } .navbar-right { margin-right: 20px; }
<|file_sep|>app/assets/stylesheets/modules/navbar.css.scss.diff original: width: 50px; height: 50px; padding: 15px; background-color: $navbar-default-brand-bg; updated: width: 50px; height: 50px; padding: 15px; background-color: $navbar-default-brand-bg; <|file_sep|>original/app/assets/stylesheets/modules/n...
0717bee7bbea3ebddc512ba7ed886e6aa786adec
app/assets/stylesheets/modules/navbar.css.scss
app/assets/stylesheets/modules/navbar.css.scss
SCSS
<|file_sep|>index.js.diff original: fs.writeFileSync(destFile, JSON.stringify(this.parsedArray)); updated: <|file_sep|>original/index.js // Check if has any file if (files.length === 0) { console.error(`Has no file in ${this.files}!`); process.exit(); } files.forEach((file) => { ...
if (files.length === 0) { console.error(`Has no file in ${this.files}!`); process.exit(); } files.forEach((file) => { let fileContent = fs.readFileSync(file); dss.parse(fileContent, options, (parsedObject) => { this.parsedArray.push(parsedObject.blocks[0]); }); });...
<|file_sep|>index.js.diff original: fs.writeFileSync(destFile, JSON.stringify(this.parsedArray)); updated: <|file_sep|>original/index.js // Check if has any file if (files.length === 0) { console.error(`Has no file in ${this.files}!`); process.exit(); } files.forEach((file) => { ...
432339717c23544dacfe0330ef568b316d946795
index.js
index.js
JavaScript
<|file_sep|>electionleaflets/apps/people/devs_dc_helpers.py.diff original: updated: self.ballot_cache = {} <|file_sep|>original/electionleaflets/apps/people/devs_dc_helpers.py import requests from django.conf import settings class DevsDCAPIHelper: def __init__(self): self.AUTH_TOKEN = settings.D...
def make_request(self, endpoint, **params): default_params = { "auth_token": self.AUTH_TOKEN } if params: default_params.update(params) url = "{}/{}/".format(self.base_url, endpoint) return requests.get(url, default_params) def postcode_request(se...
<|file_sep|>electionleaflets/apps/people/devs_dc_helpers.py.diff original: updated: self.ballot_cache = {} <|file_sep|>original/electionleaflets/apps/people/devs_dc_helpers.py import requests from django.conf import settings class DevsDCAPIHelper: def __init__(self): self.AUTH_TOKEN = settings.D...
8e47696a805cce70989a79cc6e8324aaec870f6d
electionleaflets/apps/people/devs_dc_helpers.py
electionleaflets/apps/people/devs_dc_helpers.py
Python
<|file_sep|>original/.travis.yml language: java script: - ./gradlew clean build check notifications: email: false sudo: false cache: directories: - $HOME/.gradle <|file_sep|>current/.travis.yml language: java script: - ./gradlew clean build check notifications: email: false sudo: false cache: di...
language: java jdk: - oraclejdk8 script: - ./gradlew clean build check notifications: email: false sudo: false cache: directories: - $HOME/.gradle
<|file_sep|>original/.travis.yml language: java script: - ./gradlew clean build check notifications: email: false sudo: false cache: directories: - $HOME/.gradle <|file_sep|>current/.travis.yml language: java script: - ./gradlew clean build check notifications: email: false sudo: false cache: di...
57d969e0fc1823880c451eee81de2ee20a728467
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.rst pip install alpine Requirements: Using this package requires access to an Alpine instance. For more information, see the Alpine homepage: http://alpinedata.com/ License: We use the MIT license. See the LICENSE file on GitHub for details. Example ======= Running a workflo...
pip install alpine Requirements: Using this package requires access to an Alpine instance. For more information, see the Alpine homepage: http://alpinedata.com/ License: We use the MIT license. See the LICENSE file on GitHub for details. Example ======= Running a workflow and downloading the results:: ...
<|file_sep|>original/README.rst pip install alpine Requirements: Using this package requires access to an Alpine instance. For more information, see the Alpine homepage: http://alpinedata.com/ License: We use the MIT license. See the LICENSE file on GitHub for details. Example ======= Running a workflo...
f2774e441d54ce4a5577343384d8ab9ef1041bca
README.rst
README.rst
reStructuredText
<|file_sep|>sal/management/commands/update_admin_user.py.diff original: ''' Creates an admin user if there aren't any existing superusers ''' updated: """Creates an admin user if there aren't any existing superusers.""" <|file_sep|>sal/management/commands/update_admin_user.py.diff original: updated: from optparse imp...
dest='password', default=None, help='Admin password') def handle(self, *args, **options): username = options.get('username') password = options.get('password') if not username or not password: ra...
<|file_sep|>sal/management/commands/update_admin_user.py.diff original: ''' Creates an admin user if there aren't any existing superusers ''' updated: """Creates an admin user if there aren't any existing superusers.""" <|file_sep|>sal/management/commands/update_admin_user.py.diff original: updated: from optparse imp...
6a58c7f0eb1b92ec12d0e48d7fd3f2586de20755
sal/management/commands/update_admin_user.py
sal/management/commands/update_admin_user.py
Python
<|file_sep|>app/models/PaymentProcessorFactory.php.diff original: updated: * @return class name of the PaymentProcessor implementation * @throws exception when no PaymentProcessor implementation is configured */ static function className() { self::checkConfig(); return \F3::get('payment_processor'); } /*...
/** * @return instance of a \models\PaymentProcessor implementation configured * for use via config.ini. * @throws exception when no PaymentProcessor implementation is configured. */ static function instance() { self::checkConfig(); $name = \F3::get('payment_processor'); return new $name; } /** * C...
<|file_sep|>app/models/PaymentProcessorFactory.php.diff original: updated: * @return class name of the PaymentProcessor implementation * @throws exception when no PaymentProcessor implementation is configured */ static function className() { self::checkConfig(); return \F3::get('payment_processor'); } /*...
ad28ccf3afb7d48e48f9a4ed0de3b17fcf507ec4
app/models/PaymentProcessorFactory.php
app/models/PaymentProcessorFactory.php
PHP
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_install: - composer self-update install: - composer install script: - ./bin/phpunit tests/ <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 before_install: - composer self-update install: -...
language: php php: - 5.5 - 5.6 before_install: - composer self-update install: - composer install script: - ./bin/phpunit tests/
<|file_sep|>original/.travis.yml language: php php: - 5.3 - 5.4 before_install: - composer self-update install: - composer install script: - ./bin/phpunit tests/ <|file_sep|>current/.travis.yml language: php php: - 5.3 - 5.4 before_install: - composer self-update install: -...
ec00463c53479dc29bdade29df54b1a23ce5bc19
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development --deployment --jobs=3 --retry=10 cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 script: - RAILS_ENV=test bin/setup - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U ...
language: ruby bundler_args: --without development --deployment --jobs=3 --retry=10 cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 script: - RAILS_ENV=test bin/setup - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U postgres - psql -c 'create data...
<|file_sep|>original/.travis.yml language: ruby bundler_args: --without development --deployment --jobs=3 --retry=10 cache: bundler rvm: - 2.1.5 - 2.2.4 - 2.3.0 script: - RAILS_ENV=test bin/setup - RAILS_ENV=test bundle exec rake --trace spec before_script: - psql -c 'create database fauna_development;' -U ...
313c23361560318d794d1b1ffc06d71302f1281e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml --- sudo: false script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" language: ruby branches: only: - master matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.1....
--- sudo: false script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" language: ruby branches: only: - master matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.1.5 env: PUPPET_GEM_VERSION="~>...
<|file_sep|>original/.travis.yml --- sudo: false script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" language: ruby branches: only: - master matrix: fast_finish: true include: - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.1....
8e1d8182fe4090eb3dc7d050b0923f605c437465
.travis.yml
.travis.yml
YAML
<|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff original: updated: import org.camsrobotics.lib.NerdyButton; <|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff original: * Driver Station Interface updated: * Driver Interface <|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff ori...
* * @author Wesley * */ public class DriverInput { // Driver Functions public static final NerdyJoystick kDriverLeftStick = new NerdyJoystick(0); public static final NerdyJoystick kDriverRightStick = new NerdyJoystick(1); public static final NerdyButton kSnapToVisionTarget = kDriverRightStick.getButton(99)...
<|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff original: updated: import org.camsrobotics.lib.NerdyButton; <|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff original: * Driver Station Interface updated: * Driver Interface <|file_sep|>src/org/camsrobotics/frc2016/DriverInput.java.diff ori...
b0d8bdd6682334620218117cf2721cef37a52a7f
src/org/camsrobotics/frc2016/DriverInput.java
src/org/camsrobotics/frc2016/DriverInput.java
Java
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 <|file_sep|>updated/requirements/doc.txt
-r ./base.txt sphinx==1.7.5 alagitpull==0.0.20 releases==1.5.0
<|file_sep|>original/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 <|file_sep|>current/requirements/doc.txt -r ./base.txt sphinx==1.7.4 alagitpull==0.0.20 releases==1.5.0 <|file_sep|>updated/requirements/doc.txt -r ./base.txt sphinx==1.7.5 alagitpull==0.0.20 releases==1.5.0
9aad3a968d0f1713d951b29117d77ba0813f5571
requirements/doc.txt
requirements/doc.txt
Text
<|file_sep|>original/app/mixins/page-rectangle-sizing-mixin.js }, didInsertElement: function() { Ember.$(window).on('resize', this.windowResized.bind(this)); this.calcPageRectangle(); }, calcPageRectangle: function() { var innerWrap = Ember.$('.inner-wrap'), el = this.$(), nav = Emb...
}, didInsertElement: function() { Ember.$(window).on('resize', this.windowResized.bind(this)); this.calcPageRectangle(); }, calcPageRectangle: function() { var innerWrap = Ember.$('.inner-wrap'), el = this.$(), nav, header, remainingHeight; if(!el) { return; } nav...
<|file_sep|>original/app/mixins/page-rectangle-sizing-mixin.js }, didInsertElement: function() { Ember.$(window).on('resize', this.windowResized.bind(this)); this.calcPageRectangle(); }, calcPageRectangle: function() { var innerWrap = Ember.$('.inner-wrap'), el = this.$(), nav = Emb...
fcc4a6908ad55a3a0e00a74bd4631061c6677805
app/mixins/page-rectangle-sizing-mixin.js
app/mixins/page-rectangle-sizing-mixin.js
JavaScript
<|file_sep|>lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake.diff original: filenames = ENV['DB_STRUCTURE'] updated: filenames = [] filenames << ENV['DB_STRUCTURE'] if ENV.key?('DB_STRUCTURE') <|file_sep|>lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake.diff original: filen...
filenames << ENV['DB_STRUCTURE'] if ENV.key?('DB_STRUCTURE') if ActiveRecord::VERSION::MAJOR >= 6 ActiveRecord::Tasks::DatabaseTasks.for_each do |spec_name| Rails.application.config.paths['db'].each do |path| filenames << File.join(path, spec_name + '_structure.sql') end end end un...
<|file_sep|>lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake.diff original: filenames = ENV['DB_STRUCTURE'] updated: filenames = [] filenames << ENV['DB_STRUCTURE'] if ENV.key?('DB_STRUCTURE') <|file_sep|>lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake.diff original: filen...
a9f4b22247121ddf74c5d4bdca7a64df6b4e2dfe
lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake
lib/activerecord-clean-db-structure/tasks/clean_db_structure.rake
Ruby
<|file_sep|>src/inventory_report/produceReport/sqls/vms_query_pinned_virtual_machines.sql.diff original: updated: -- Return the virtual machines pinned to run in a specific host. -- -- The column dedicated_vm_for_vd from vm_static can contain a single -- hypervisor entry or multiple hypervisors (using delimiter com...
-- Based on that, we are extacting the hypervisors in the WITH statement -- and using it in the INNER JOIN. -- COPY ( WITH vms_pinned AS ( SELECT vm_name, unnest(string_to_array(dedicated_vm_for_vds,',')) AS dedicated_vds FROM vm_static WHERE ...
<|file_sep|>src/inventory_report/produceReport/sqls/vms_query_pinned_virtual_machines.sql.diff original: updated: -- Return the virtual machines pinned to run in a specific host. -- -- The column dedicated_vm_for_vd from vm_static can contain a single -- hypervisor entry or multiple hypervisors (using delimiter com...
feee885c6d82257ce813b757225e95c23eee7b78
src/inventory_report/produceReport/sqls/vms_query_pinned_virtual_machines.sql
src/inventory_report/produceReport/sqls/vms_query_pinned_virtual_machines.sql
SQL
<|file_sep|>lib/tasks/sample_data.rake.diff original: positions = [ "Senior Developer", "Junior Developer", "Code Ninja", "Code Surfer", "Pro Hacker", "Programmer" ] updated: <|file_sep|>original/lib/tasks/sample_data.rake :uid => uid, :name => name, :email => email, ...
:uid => uid, :name => name, :email => email, :nickname => nickname ) user.save end end def make_jobs 20.times do |n| job = Job.new( title: Faker::Name.title, description: "#{Faker::Lorem.paragraph}", company_name: Faker::Company.name, company_website: Fak...
<|file_sep|>lib/tasks/sample_data.rake.diff original: positions = [ "Senior Developer", "Junior Developer", "Code Ninja", "Code Surfer", "Pro Hacker", "Programmer" ] updated: <|file_sep|>original/lib/tasks/sample_data.rake :uid => uid, :name => name, :email => email, ...
8e4604027fcb2f7a5a7e36d7dac56c921ada678e
lib/tasks/sample_data.rake
lib/tasks/sample_data.rake
Ruby
<|file_sep|>setup.py.diff original: updated: with open('README.md', 'r') as fh: long_description = fh.read() <|file_sep|>original/setup.py from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail ...
from setuptools import setup, find_packages from wagtailnetlify import __version__ with open('README.md', 'r') as fh: long_description = fh.read() setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail sites to Netlify', long_description=long_description, long_descripti...
<|file_sep|>setup.py.diff original: updated: with open('README.md', 'r') as fh: long_description = fh.read() <|file_sep|>original/setup.py from setuptools import setup, find_packages from wagtailnetlify import __version__ setup( name='wagtailnetlify', version=__version__, description='Deploy Wagtail ...
3e126dbba13ba95bb087d1d61b6d083dff8b3656
setup.py
setup.py
Python
<|file_sep|>original/web/Dashboard.elm Dashboard.elm <|file_sep|>current/web/Dashboard.elm Dashboard.elm <|file_sep|>updated/web/Dashboard.elm
module Dashboard where import Html exposing (..) import Html.Attributes exposing (..) import Maybe import Signal exposing (Signal, Address) import String type alias Dashboard = { circuits : List String } type alias Circuit = { serviceName: String , name: String , currentStatus: BreakerStatus , currentLa...
<|file_sep|>original/web/Dashboard.elm Dashboard.elm <|file_sep|>current/web/Dashboard.elm Dashboard.elm <|file_sep|>updated/web/Dashboard.elm module Dashboard where import Html exposing (..) import Html.Attributes exposing (..) import Maybe import Signal exposing (Signal, Address) import String type alias Dashboar...
8407a4140bfd1241a9a1c5c334ac2c62f27b0243
web/Dashboard.elm
web/Dashboard.elm
Elm
<|file_sep|>src/main/java/com/imaginarycode/minecraft/redisbungee/util/NameFetcher.java.diff original: import com.google.common.io.ByteStreams; import com.google.gson.reflect.TypeToken; import com.imaginarycode.minecraft.redisbungee.RedisBungee; updated: import com.google.gson.JsonArray; import com.google.gson.JsonObje...
import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.UUID; public class NameFetcher { private static JsonParser parser = new JsonParser(); public static List<String> nameHistoryFromUuid(UUID uuid) { URLConnect...
<|file_sep|>src/main/java/com/imaginarycode/minecraft/redisbungee/util/NameFetcher.java.diff original: import com.google.common.io.ByteStreams; import com.google.gson.reflect.TypeToken; import com.imaginarycode.minecraft.redisbungee.RedisBungee; updated: import com.google.gson.JsonArray; import com.google.gson.JsonObje...
20ef1ee28428a79d91caf8d65b3cfe5ef89e4cc6
src/main/java/com/imaginarycode/minecraft/redisbungee/util/NameFetcher.java
src/main/java/com/imaginarycode/minecraft/redisbungee/util/NameFetcher.java
Java
<|file_sep|>original/DependencyInjection/Configuration.php $rootNode->children() ->scalarNode('bower_bin') ->defaultValue('/usr/local/bin/bower') ->end() ->scalarNode('use_assetic') ->defaultValue(true) ...
$rootNode->children() ->scalarNode('bower_bin') ->defaultValue('/usr/local/bin/bower') ->end() ->scalarNode('use_assetic') ->defaultValue(true) ->end() ->scalarNode...
<|file_sep|>original/DependencyInjection/Configuration.php $rootNode->children() ->scalarNode('bower_bin') ->defaultValue('/usr/local/bin/bower') ->end() ->scalarNode('use_assetic') ->defaultValue(true) ...
9a208d288329a5113fc2a4816c81220fb5cf843a
DependencyInjection/Configuration.php
DependencyInjection/Configuration.php
PHP
<|file_sep|>original/travis.sh #!/bin/bash if [[ "$TRAVIS_SCALA_VERSION" == "" ]]; then TRAVIS_SCALA_VERSION=2.12.2 fi if [[ "$TEST_TYPE" == "" ]]; then TEST_TYPE=framework fi if [[ "$TEST_TYPE" == "framework" ]]; then export SKINNY_ENV=test export APP_ENV=test gem install sass && sbt "example/run db:migr...
#!/bin/bash if [[ "$TRAVIS_SCALA_VERSION" == "" ]]; then TRAVIS_SCALA_VERSION=2.12.2 fi if [[ "$TEST_TYPE" == "" ]]; then TEST_TYPE=framework fi if [[ "$TEST_TYPE" == "framework" ]]; then export SKINNY_ENV=test export APP_ENV=test # sass 3.5 requires Ruby 2.0+ gem install sass -v 3.4.25 && sbt "example/...
<|file_sep|>original/travis.sh #!/bin/bash if [[ "$TRAVIS_SCALA_VERSION" == "" ]]; then TRAVIS_SCALA_VERSION=2.12.2 fi if [[ "$TEST_TYPE" == "" ]]; then TEST_TYPE=framework fi if [[ "$TEST_TYPE" == "framework" ]]; then export SKINNY_ENV=test export APP_ENV=test gem install sass && sbt "example/run db:migr...
980667ecc451af9a7399700cdcfc16602e5b0dfa
travis.sh
travis.sh
Shell
<|file_sep|>original/lib/api/routes/exercises.rb end exercises = begin Homework.new(current_user).all.to_json rescue Xapi::ApiError => e {error: e.message} rescue Exception {error: "Something went wrong, and it's not clear what it was. Please post an issue ...
end exercises = begin Homework.new(current_user).all.to_json rescue Xapi::ApiError => e {error: e.message} rescue Exception {error: "Something went wrong, and it's not clear what it was. Please post an issue on GitHub so we can figure it out! https://github...
<|file_sep|>original/lib/api/routes/exercises.rb end exercises = begin Homework.new(current_user).all.to_json rescue Xapi::ApiError => e {error: e.message} rescue Exception {error: "Something went wrong, and it's not clear what it was. Please post an issue ...
cbbbe9cce81710ccaf8f35f12f889745c49f9335
lib/api/routes/exercises.rb
lib/api/routes/exercises.rb
Ruby
<|file_sep|>citadel/main.go.diff original: updated: if context.GlobalBool("debug") { logger.Level = logrus.Debug } <|file_sep|>original/citadel/main.go registry = citadel.NewRegistry(context.GlobalStringSlice("etcd-machines")) return nil } app.Flags = []cli.Flag{ cli.StringSliceFlag{"etcd-machines", &...
registry = citadel.NewRegistry(context.GlobalStringSlice("etcd-machines")) if context.GlobalBool("debug") { logger.Level = logrus.Debug } return nil } app.Flags = []cli.Flag{ cli.StringSliceFlag{"etcd-machines", &cli.StringSlice{"http://127.0.0.1:4001"}, "etcd hosts"}, cli.BoolFlag{"debug", "run the ...
<|file_sep|>citadel/main.go.diff original: updated: if context.GlobalBool("debug") { logger.Level = logrus.Debug } <|file_sep|>original/citadel/main.go registry = citadel.NewRegistry(context.GlobalStringSlice("etcd-machines")) return nil } app.Flags = []cli.Flag{ cli.StringSliceFlag{"etcd-machines", &...
c9de83836646dabb4214d3f0f6ff81919735453b
citadel/main.go
citadel/main.go
Go
<|file_sep|>lib/tracker.coffee.diff original: visitor = ua('UA-49535937-3') updated: module.exports = (req, res, next) -> visitor = ua('UA-49535937-3') <|file_sep|>original/lib/tracker.coffee ua = require('universal-analytics') visitor = ua('UA-49535937-3') module.exports = (req, res, next) -> eventParams = e...
ua = require('universal-analytics') module.exports = (req, res, next) -> visitor = ua('UA-49535937-3') eventParams = ec: 'API Request' # category ea: req.get('Referrer') || 'no referrer' # action el: req.ip # label dp: req.url ...
<|file_sep|>lib/tracker.coffee.diff original: visitor = ua('UA-49535937-3') updated: module.exports = (req, res, next) -> visitor = ua('UA-49535937-3') <|file_sep|>original/lib/tracker.coffee ua = require('universal-analytics') visitor = ua('UA-49535937-3') module.exports = (req, res, next) -> eventParams = e...
27184ec776930553b5d9e319b8f3f89071ed8767
lib/tracker.coffee
lib/tracker.coffee
CoffeeScript
<|file_sep|>.travis.yml.diff original: updated: - '4' - '5' <|file_sep|>original/.travis.yml language: node_js node_js: - '4.0' - '6.0' - '7.2' sudo: false script: npm run ci notifications: email: false slack: secure: jI3gt+t9s6NRCuMnEfQKqNziWpTVxKMAv2sXIukDzNgBzTl70oZcn4gGOoD+JWfPBDZV/3UFrKh3kEBKfIcfMbFaudfxP...
language: node_js node_js: - '4.0' - '4' - '5' - '6.0' - '6' - '7' sudo: false script: npm run ci notifications: email: false slack: secure: jI3gt+t9s6NRCuMnEfQKqNziWpTVxKMAv2sXIukDzNgBzTl70oZcn4gGOoD+JWfPBDZV/3UFrKh3kEBKfIcfMbFaudfxPZLxeXwTtzvOxq1AfdH8mAZwqwSCtDu+1g6KfHtbyEHfJvJZGWKuGDgJUKq5rrkeU8v5rCALFZQbDKo...
<|file_sep|>.travis.yml.diff original: updated: - '4' - '5' <|file_sep|>original/.travis.yml language: node_js node_js: - '4.0' - '6.0' - '7.2' sudo: false script: npm run ci notifications: email: false slack: secure: jI3gt+t9s6NRCuMnEfQKqNziWpTVxKMAv2sXIukDzNgBzTl70oZcn4gGOoD+JWfPBDZV/3UFrKh3kEBKfIcfMbFaudfxP...
d0b2c10816613e70f27b6df4400b4ee88124a9c9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/docker-compose.yml elasticsearch: build: elasticsearch/ ports: - "9200:9200" logstash: image: logstash:1 command: logstash -f /etc/logstash/conf.d/logstash.conf volumes: - ./logstash/config:/etc/logstash/conf.d links: - elasticsearch - rabbitmq pyrexia: build: pyre...
elasticsearch: build: elasticsearch/ ports: - "9200:9200" logstash: image: logstash:1 command: logstash -f /etc/logstash/conf.d/logstash.conf volumes: - ./logstash/config:/etc/logstash/conf.d links: - elasticsearch pyrexia: build: pyrexia/ ports: - "8080:80"
<|file_sep|>original/app/docker-compose.yml elasticsearch: build: elasticsearch/ ports: - "9200:9200" logstash: image: logstash:1 command: logstash -f /etc/logstash/conf.d/logstash.conf volumes: - ./logstash/config:/etc/logstash/conf.d links: - elasticsearch - rabbitmq pyrexia: build: pyre...
04c6a079f32baa14b71e3c916778f4de8525e3f4
app/docker-compose.yml
app/docker-compose.yml
YAML
<|file_sep|>src/index.js.diff original: run: function(args, context) { var name = context.model.get("name").replace(context.model.getExtension(), ".js"); updated: run: function(args, ctx) { var name = ctx.editor.model.get("name").replace(ctx.editor.model.getExtension(), ".js"); <|file_sep|>origi...
title: "CoffeeScript: Preview", context: ["editor"], shortcuts: [ "ctrl+shift+c" ], run: function(args, ctx) { var name = ctx.editor.model.get("name").replace(ctx.editor.model.getExtension(), ".js"); var code, error; try { code = coffeeScript.compile(ctx....
<|file_sep|>src/index.js.diff original: run: function(args, context) { var name = context.model.get("name").replace(context.model.getExtension(), ".js"); updated: run: function(args, ctx) { var name = ctx.editor.model.get("name").replace(ctx.editor.model.getExtension(), ".js"); <|file_sep|>origi...
ceb46510b3dba3846a51ea9a96983338ac349250
src/index.js
src/index.js
JavaScript
<|file_sep|>original/test/powershell/Modules/Microsoft.PowerShell.Management/Get-Process.Tests.ps1 Describe "Get-Process" { # These tests are no good, please replace! It "Should return a type of Object[] for Get-Process cmdlet" -Pending:$IsOSX { (Get-Process).GetType().BaseType | Should Be 'array' ...
Describe "Get-Process" { It "Should support -IncludeUserName" { (Get-Process powershell -IncludeUserName | Select-Object -First 1).UserName | Should Match $env:USERNAME } # These tests are no good, please replace! It "Should return a type of Object[] for Get-Process cmdlet" -Pending:$IsOSX { ...
<|file_sep|>original/test/powershell/Modules/Microsoft.PowerShell.Management/Get-Process.Tests.ps1 Describe "Get-Process" { # These tests are no good, please replace! It "Should return a type of Object[] for Get-Process cmdlet" -Pending:$IsOSX { (Get-Process).GetType().BaseType | Should Be 'array' ...
6f938bd8604f66f0f169b339c78aa98f2011edb6
test/powershell/Modules/Microsoft.PowerShell.Management/Get-Process.Tests.ps1
test/powershell/Modules/Microsoft.PowerShell.Management/Get-Process.Tests.ps1
PowerShell
<|file_sep|>CorePlugin/ScriptExecutor.cs.diff original: _engine = new PythonExecutionEngine(Script.Res.Content); _engine.SetVariable("gameObject", GameObj); updated: if (context == InitContext.Loaded) { _engine = new PythonExecutionEngine(Script.Res.Conte...
public void OnInit(InitContext context) { if (!Script.IsAvailable) return; if (context == InitContext.Loaded) { _engine = new PythonExecutionEngine(Script.Res.Content); _engine.SetVariable("gameObject", GameObj); } ...
<|file_sep|>CorePlugin/ScriptExecutor.cs.diff original: _engine = new PythonExecutionEngine(Script.Res.Content); _engine.SetVariable("gameObject", GameObj); updated: if (context == InitContext.Loaded) { _engine = new PythonExecutionEngine(Script.Res.Conte...
557324bc06051250305cd6c0d50816ee91540c1a
CorePlugin/ScriptExecutor.cs
CorePlugin/ScriptExecutor.cs
C#
<|file_sep|>original/app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb class PatientNumber < Rendering::Base pattr_initialize [:number!, :organisation!, :type!] def xml name_element end private def name_element create_nod...
class PatientNumber < Rendering::Base pattr_initialize [:number!, :organisation!, :type!] def xml name_element end private def name_element create_node("PatientNumber") do |elem| elem << create_node("Number", number&.dele...
<|file_sep|>original/app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb class PatientNumber < Rendering::Base pattr_initialize [:number!, :organisation!, :type!] def xml name_element end private def name_element create_nod...
b6c78d9129616dd2f2e3fa22565694fbb39ca3ff
app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb
app/models/renalware/ukrdc/outgoing/rendering/patient_number.rb
Ruby
<|file_sep|>original/lib/generators/nested_scaffold_generator.rb source.invoke generator, [ source.file_name.pluralize ] end # override ModelGenerator hook_for :orm, required: true # replacing hook for adding config/routes remove_hook_for :resource_route # override de...
source.invoke generator, [ source.file_name.pluralize ] end # override ModelGenerator hook_for :orm, required: true # replacing hook for adding config/routes remove_hook_for :resource_route # override def add_resource_route return if options[:actions].present?...
<|file_sep|>original/lib/generators/nested_scaffold_generator.rb source.invoke generator, [ source.file_name.pluralize ] end # override ModelGenerator hook_for :orm, required: true # replacing hook for adding config/routes remove_hook_for :resource_route # override de...
4115000076f15c1ec1071756e0de5be874c39908
lib/generators/nested_scaffold_generator.rb
lib/generators/nested_scaffold_generator.rb
Ruby
<|file_sep|>original/.travis.yml language: python sudo: false env: global: - CONDA_DEPS="pip flake8 pytest numpy scipy matplotlib pandas" PIP_DEPS="coveralls pytest-cov" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" python: - '2.7' - '3.5' - '3.6' before_install: -...
language: python sudo: false env: global: - CONDA_DEPS="pip flake8 pytest numpy scipy" PIP_DEPS="coveralls pytest-cov tensorflow keras" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" python: - '2.7' - '3.5' - '3.6' before_install: - export MINICONDA=$HOME/miniconda ...
<|file_sep|>original/.travis.yml language: python sudo: false env: global: - CONDA_DEPS="pip flake8 pytest numpy scipy matplotlib pandas" PIP_DEPS="coveralls pytest-cov" MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh" python: - '2.7' - '3.5' - '3.6' before_install: -...
5c115052de97e1e044de1bc5c5ebeb180a367327
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "slideout", "repository": "git@github.com:mango/slideout.git", "description": "A touch slideout navigation menu for your mobile web apps.", "author": "Guille Paz <guille87paz@gmail.com>", "version": "0.1.3", "scripts": { "build": "node browserify.js", "tes...
{ "name": "slideout", "repository": "git@github.com:mango/slideout.git", "description": "A touch slideout navigation menu for your mobile web apps.", "author": "Guille Paz <guille87paz@gmail.com>", "version": "0.1.4", "scripts": { "build": "node browserify.js", "test": "npm run build && node_modules...
<|file_sep|>original/package.json { "name": "slideout", "repository": "git@github.com:mango/slideout.git", "description": "A touch slideout navigation menu for your mobile web apps.", "author": "Guille Paz <guille87paz@gmail.com>", "version": "0.1.3", "scripts": { "build": "node browserify.js", "tes...
02790e33b0925f3d40792273f4bc8307aa6da567
package.json
package.json
JSON
<|file_sep|>original/install_minimal.sh <|file_sep|>current/install_minimal.sh <|file_sep|>updated/install_minimal.sh
#!/bin/bash # Install minimal subset of dotfiles without dotbot, for older OSes without # sane git versions and such. set -euo pipefail DOTDIR="${DOTDIR:-dotfiles}" cd ln -sfT "$DOTDIR" .dotfiles ln -sfT "$DOTDIR/bash/bash_profile" .bash_profile ln -sfT "$DOTDIR/bash/bashrc" .bashrc ln -sfT "$DOTDIR/bash/liquidpromp...
<|file_sep|>original/install_minimal.sh <|file_sep|>current/install_minimal.sh <|file_sep|>updated/install_minimal.sh #!/bin/bash # Install minimal subset of dotfiles without dotbot, for older OSes without # sane git versions and such. set -euo pipefail DOTDIR="${DOTDIR:-dotfiles}" cd ln -sfT "$DOTDIR" .dotfiles l...
a1cc413c2bb70b529c129dce4a96b28b608732d0
install_minimal.sh
install_minimal.sh
Shell
<|file_sep|>original/app/webserviceclients/vehicleandkeeperlookup/VehicleAndKeeperDetailsResponse.scala package webserviceclients.vehicleandkeeperlookup import play.api.libs.json.Json import webserviceclients.vehicleandkeeperlookup.VehicleAndKeeperDetailsDto final case class VehicleAndKeeperDetailsResponse(responseCo...
package webserviceclients.vehicleandkeeperlookup import play.api.libs.json.Json final case class VehicleAndKeeperDetailsResponse(responseCode: Option[String], vehicleAndKeeperDetailsDto: Option[VehicleAndKeeperDetailsDto]) object VehicleAndKeeperDetailsResponse { i...
<|file_sep|>original/app/webserviceclients/vehicleandkeeperlookup/VehicleAndKeeperDetailsResponse.scala package webserviceclients.vehicleandkeeperlookup import play.api.libs.json.Json import webserviceclients.vehicleandkeeperlookup.VehicleAndKeeperDetailsDto final case class VehicleAndKeeperDetailsResponse(responseCo...
28a3cd4df95970f4f54a7ff674248730662c7cf1
app/webserviceclients/vehicleandkeeperlookup/VehicleAndKeeperDetailsResponse.scala
app/webserviceclients/vehicleandkeeperlookup/VehicleAndKeeperDetailsResponse.scala
Scala
<|file_sep|>original/collects/tests/unstable/temp-c/ex-matthias-ctc.rkt (super-new) (define/public (malloc) 1) (define/public (free n) (void)))) (provide/contract [memory% (class/c [malloc (->m number?)] [free (->m number? void)])])) (module b racket (require 'a tests/eli-t...
(super-new) (define/public (malloc) 1) (define/public (free n) (void)))) (provide/contract [memory% (class/c [malloc (->m number?)] [free (->m number? void)])])) (module b racket (require 'a tests/eli-tester) (define memory (new memory%)) (define a (send memory ma...
<|file_sep|>original/collects/tests/unstable/temp-c/ex-matthias-ctc.rkt (super-new) (define/public (malloc) 1) (define/public (free n) (void)))) (provide/contract [memory% (class/c [malloc (->m number?)] [free (->m number? void)])])) (module b racket (require 'a tests/eli-t...
6da3ac36ecd2a45b50e7fba5c7133466a4ffc2fb
collects/tests/unstable/temp-c/ex-matthias-ctc.rkt
collects/tests/unstable/temp-c/ex-matthias-ctc.rkt
Racket
<|file_sep|>cookbooks/postgresql/templates/default/ohai.rb.erb.diff original: provides "postgresql" updated: Ohai.plugin(:Postgresql) do provides "postgresql" <|file_sep|>cookbooks/postgresql/templates/default/ohai.rb.erb.diff original: postgresql Mash.new updated: collect_data(:default) do postgresql Mash.new ...
Ohai.plugin(:Postgresql) do provides "postgresql" collect_data(:default) do postgresql Mash.new Dir.glob("/etc/postgresql/*/*/postgresql.conf").each do |conf| cluster = conf.sub("/etc/postgresql/", "").sub("/postgresql.conf", "") postgresql[:clusters] = Mash.new unless postgresql[:clusters] ...
<|file_sep|>cookbooks/postgresql/templates/default/ohai.rb.erb.diff original: provides "postgresql" updated: Ohai.plugin(:Postgresql) do provides "postgresql" <|file_sep|>cookbooks/postgresql/templates/default/ohai.rb.erb.diff original: postgresql Mash.new updated: collect_data(:default) do postgresql Mash.new ...
0ad35fabc54a06ec4f66d2989ba2c3588fff5790
cookbooks/postgresql/templates/default/ohai.rb.erb
cookbooks/postgresql/templates/default/ohai.rb.erb
HTML+ERB
<|file_sep|>original/lib/phoenix.ex defmodule Phoenix do use Application # See http://elixir-lang.org/docs/stable/Application.Behaviour.html # for more information on OTP Applications def start(_type, _args) do Phoenix.Supervisor.start_link end end <|file_sep|>current/lib/phoenix.ex defmodule Phoenix do ...
defmodule Phoenix do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do Phoenix.Supervisor.start_link end end
<|file_sep|>original/lib/phoenix.ex defmodule Phoenix do use Application # See http://elixir-lang.org/docs/stable/Application.Behaviour.html # for more information on OTP Applications def start(_type, _args) do Phoenix.Supervisor.start_link end end <|file_sep|>current/lib/phoenix.ex defmodule Phoenix do ...
192466ee3d0d53b69d6919e2d0b1071a77eca7ec
lib/phoenix.ex
lib/phoenix.ex
Elixir
<|file_sep|>core/src/main/java/foundation/stack/datamill/security/KeyGenerators.java.diff original: public static void main(String[] arguments) throws Exception { updated: public static void generate() throws Exception { <|file_sep|>original/core/src/main/java/foundation/stack/datamill/security/KeyGener...
OctetSequenceJsonWebKey key = new OctetSequenceJsonWebKey(new HmacKey(bytes)); key.setKeyId("k" + System.currentTimeMillis()); System.out.println(new JsonWebKeySet(key).toJson(JsonWebKey.OutputControlLevel.INCLUDE_SYMMETRIC)); } } class RSA { private RSA() { ...
<|file_sep|>core/src/main/java/foundation/stack/datamill/security/KeyGenerators.java.diff original: public static void main(String[] arguments) throws Exception { updated: public static void generate() throws Exception { <|file_sep|>original/core/src/main/java/foundation/stack/datamill/security/KeyGener...
8838dd4d1f550b17498fe728d529416a1acdbb11
core/src/main/java/foundation/stack/datamill/security/KeyGenerators.java
core/src/main/java/foundation/stack/datamill/security/KeyGenerators.java
Java
<|file_sep|>original/init.rb unless $gems_rake_task if Rails::VERSION::MAJOR <= 2 && Rails::VERSION::MINOR <= 3 && Rails::VERSION::TINY <= 7 $stderr.puts "rails_xss requires Rails 2.3.8 or later. Please upgrade to enable automatic HTML safety." else require 'rails_xss' end end <|file_sep|>current/init.rb ...
unless $gems_rake_task if Rails::VERSION::MAJOR >= 3 $stderr.puts "You don't need to install rails_xss as a plugin for Rails 3 and after." elsif Rails::VERSION::MAJOR <= 2 && Rails::VERSION::MINOR <= 3 && Rails::VERSION::TINY <= 7 $stderr.puts "rails_xss requires Rails 2.3.8 or later. Please upgrade to enab...
<|file_sep|>original/init.rb unless $gems_rake_task if Rails::VERSION::MAJOR <= 2 && Rails::VERSION::MINOR <= 3 && Rails::VERSION::TINY <= 7 $stderr.puts "rails_xss requires Rails 2.3.8 or later. Please upgrade to enable automatic HTML safety." else require 'rails_xss' end end <|file_sep|>current/init.rb ...
55117be7ae0078fcfed7301e0c7056b91b9928c3
init.rb
init.rb
Ruby
<|file_sep|>app/controllers/services_controller.rb.diff original: updated: caches_page :in_area <|file_sep|>original/app/controllers/services_controller.rb class ServicesController < ApplicationController include ApplicationHelper def in_area expires_in 60.seconds, :public => true map_height = (pa...
class ServicesController < ApplicationController include ApplicationHelper caches_page :in_area def in_area map_height = (params[:height].to_i or MAP_HEIGHT) map_width = (params[:width].to_i or MAP_WIDTH) map_height = MAP_HEIGHT if ! ALL_HEIGHTS.include? map_height map_width = MAP_WIDTH if !...
<|file_sep|>app/controllers/services_controller.rb.diff original: updated: caches_page :in_area <|file_sep|>original/app/controllers/services_controller.rb class ServicesController < ApplicationController include ApplicationHelper def in_area expires_in 60.seconds, :public => true map_height = (pa...
91f3f20a518abeb97a81f7bca4f64f77f58e7a0b
app/controllers/services_controller.rb
app/controllers/services_controller.rb
Ruby
<|file_sep|>original/README.md Test 25. Test 26. Test 27. Test 28. Test 29. Test 30. Test 31. Test 32. Test 33. Test 34. Test 35. Test 36. Test 38. Testing out PR's again To see the **PHP** results from Jenkins, check the **master** branch. To see the **CSS** results from Jenkins, check the **csslint** branch. To s...
Test 26. Test 27. Test 28. Test 29. Test 30. Test 31. Test 32. Test 33. Test 34. Test 35. Test 36. Test 38. Test 39. Testing out PR's again To see the **PHP** results from Jenkins, check the **master** branch. To see the **CSS** results from Jenkins, check the **csslint** branch. To see the **JS** results from Jenk...
<|file_sep|>original/README.md Test 25. Test 26. Test 27. Test 28. Test 29. Test 30. Test 31. Test 32. Test 33. Test 34. Test 35. Test 36. Test 38. Testing out PR's again To see the **PHP** results from Jenkins, check the **master** branch. To see the **CSS** results from Jenkins, check the **csslint** branch. To s...
f51421717e554bc9dcdfb65db0a67c019843d78f
README.md
README.md
Markdown
<|file_sep|>package.json.diff original: "tape": "^2.10.2", updated: "async": "^0.9.0", "crel": "^1.1.2", "getusermedia": "~0.2.1", <|file_sep|>original/package.json }, "stability": "unstable", "repository": { "type": "git", "url": "https://github.com/rtc-io/rtc-captureconfig.git" }, "k...
}, "keywords": [ "webrtc", "rtc.io" ], "author": "Damon Oehlman <damon.oehlman@nicta.com.au>", "license": "Apache 2.0", "bugs": { "url": "https://github.com/rtc-io/rtc-captureconfig/issues" }, "devDependencies": { "async": "^0.9.0", "crel": "^1.1.2", "getusermedia": "~0.2.1", ...
<|file_sep|>package.json.diff original: "tape": "^2.10.2", updated: "async": "^0.9.0", "crel": "^1.1.2", "getusermedia": "~0.2.1", <|file_sep|>original/package.json }, "stability": "unstable", "repository": { "type": "git", "url": "https://github.com/rtc-io/rtc-captureconfig.git" }, "k...
05db92b350eb78fc1a993e23b1161140b26f5f78
package.json
package.json
JSON
<|file_sep|>original/src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs } public IEnumerable<Quote> GetAllQuotesByKeyword(ulong guildId, string keyword) => _set.Where(q => q.GuildId == guildId && q.Keyword == keyword); public IEnumerable<Quote> GetGroup(ulong gui...
} public IEnumerable<Quote> GetAllQuotesByKeyword(ulong guildId, string keyword) => _set.Where(q => q.GuildId == guildId && q.Keyword == keyword); public IEnumerable<Quote> GetGroup(ulong guildId, int skip, int take) => _set.Where(q=>q.GuildId == guildId).OrderBy(q =>...
<|file_sep|>original/src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs } public IEnumerable<Quote> GetAllQuotesByKeyword(ulong guildId, string keyword) => _set.Where(q => q.GuildId == guildId && q.Keyword == keyword); public IEnumerable<Quote> GetGroup(ulong gui...
7a03c277cf6cd60fae86fc049025b08d20e2a2a9
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
C#
<|file_sep|>original/workflows/cp-leaveout/scripts/workflow-stats-all.sh #!/bin/bash set -eu # WORKFLOW STATS ALL SH THIS=$( readlink --canonicalize $( dirname $0 ) ) SUPERVISOR=$( readlink --canonicalize $THIS/../../.. ) source $SUPERVISOR/workflows/common/sh/utils.sh export PYTHONPATH+=:$SUPERVISOR/workflows/comm...
#!/bin/bash set -eu # WORKFLOW STATS ALL SH THIS=$( readlink --canonicalize $( dirname $0 ) ) SUPERVISOR=$( readlink --canonicalize $THIS/../../.. ) source $SUPERVISOR/workflows/common/sh/utils.sh export PYTHONPATH+=:$SUPERVISOR/workflows/common/python DIRS=( X157 X153 X154 X158 X159 ) TOKENS=( F-20 F-10 LINE SQ...
<|file_sep|>original/workflows/cp-leaveout/scripts/workflow-stats-all.sh #!/bin/bash set -eu # WORKFLOW STATS ALL SH THIS=$( readlink --canonicalize $( dirname $0 ) ) SUPERVISOR=$( readlink --canonicalize $THIS/../../.. ) source $SUPERVISOR/workflows/common/sh/utils.sh export PYTHONPATH+=:$SUPERVISOR/workflows/comm...
bb888f3e68fb572afa52621fb978151b245b8a99
workflows/cp-leaveout/scripts/workflow-stats-all.sh
workflows/cp-leaveout/scripts/workflow-stats-all.sh
Shell
<|file_sep|>original/ps3.py <|file_sep|>current/ps3.py <|file_sep|>updated/ps3.py
""" Team Challenge: Predicting Turn Types Authors: Tong, Will, and Ryan """ import os import sys import csv import argparse def read_csv(path): output = [] with open(path, 'rb') as f: reader = csv.reader(f, delimiter=",") for row in reader: output.append(row) return output def ...
<|file_sep|>original/ps3.py <|file_sep|>current/ps3.py <|file_sep|>updated/ps3.py """ Team Challenge: Predicting Turn Types Authors: Tong, Will, and Ryan """ import os import sys import csv import argparse def read_csv(path): output = [] with open(path, 'rb') as f: reader = csv.reader(f, delimiter=",...
b8c3faca98688507554d952e8eb0ee71ee205bd5
ps3.py
ps3.py
Python