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/composer.json ], "support": { "email": "dspsupport@dreamfactory.com", "source": "https://github.com/dreamfactorysoftware/df-rws", "issues": "https://github.com/dreamfactorysoftware/df-rws/issues", "wiki": "https://wiki.dreamfactory.com" }, "minimum-stability": "dev", ...
], "support": { "email": "dspsupport@dreamfactory.com", "source": "https://github.com/dreamfactorysoftware/df-rws", "issues": "https://github.com/dreamfactorysoftware/df-rws/issues", "wiki": "https://wiki.dreamfactory.com" }, "minimum-stability": "dev", "prefer-stable": true, "req...
<|file_sep|>original/composer.json ], "support": { "email": "dspsupport@dreamfactory.com", "source": "https://github.com/dreamfactorysoftware/df-rws", "issues": "https://github.com/dreamfactorysoftware/df-rws/issues", "wiki": "https://wiki.dreamfactory.com" }, "minimum-stability": "dev", ...
b01538d79d209c4f8c791ca6c1ba1e56fff4f8be
composer.json
composer.json
JSON
<|file_sep|>.github/workflows/tests.yml.diff original: # Use the latest version of Node.js, plus the 2 most recent LTS lines updated: # Use the latest version of Node.js, plus the 3 most recent LTS lines <|file_sep|>original/.github/workflows/tests.yml test: name: Run tests runs-on: ubuntu-lat...
test: name: Run tests runs-on: ubuntu-latest strategy: matrix: # Use the latest version of Node.js, plus the 3 most recent LTS lines node-version: - latest - lts/* - lts/-1 - lts/-2 # Probably EOL depending on release schedules, but still good ...
<|file_sep|>.github/workflows/tests.yml.diff original: # Use the latest version of Node.js, plus the 2 most recent LTS lines updated: # Use the latest version of Node.js, plus the 3 most recent LTS lines <|file_sep|>original/.github/workflows/tests.yml test: name: Run tests runs-on: ubuntu-lat...
8cf1d7aa0b563cc871b5c69bafc7bf201d2283ed
.github/workflows/tests.yml
.github/workflows/tests.yml
YAML
<|file_sep|>original/Examples/FilterProgressReporting/Documentation.rst ========================= Overview -------- Introductory example which demotrates the basics of reading, filtering, and writing an image. This examples works for any scalar or vector image type. It processes the image with a Gaussian blurring fi...
========================= Overview -------- Code ---- C++ ... .. literalinclude:: FilterProgressReporting.cxx :language: c++ :lines: 18- Python ...... .. literalinclude:: FilterProgressReporting.py
<|file_sep|>original/Examples/FilterProgressReporting/Documentation.rst ========================= Overview -------- Introductory example which demotrates the basics of reading, filtering, and writing an image. This examples works for any scalar or vector image type. It processes the image with a Gaussian blurring fi...
c8db658bb6c30634c72f5e6bb68fd249b515c930
Examples/FilterProgressReporting/Documentation.rst
Examples/FilterProgressReporting/Documentation.rst
reStructuredText
<|file_sep|>.travis.yml.diff original: - "6" - "7" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" - "8" - "9" <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "9" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "8" - "10" - "11" - "12"
<|file_sep|>.travis.yml.diff original: - "6" - "7" updated: <|file_sep|>original/.travis.yml language: node_js node_js: - "6" - "7" - "8" - "9" <|file_sep|>current/.travis.yml language: node_js node_js: - "8" - "9" <|file_sep|>updated/.travis.yml language: node_js node_js: - "8" - "10" - "11" -...
77d97c175e3ce3caaa7a542816e4c9d9ed6622a6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/routes/flight.js var Flight = require('../models/Flight'), express = require('express'), flightRouter = express.Router(); flightRouter.get("/",function (req, res, next) { Flight.find({}, function(err, results){ if (err) return res.status(500).end("Cant find Flight"); res.status(200)....
var Flight = require('../models/Flight'), express = require('express'), flightRouter = express.Router(); flightRouter.get("/",function (req, res, next) { console.log(req.query.date); var query = {}; if(req.query.from) query.from = req.query.from; if(req.query.to) query.to = req.query.to; if(req.query.date) ...
<|file_sep|>original/app/routes/flight.js var Flight = require('../models/Flight'), express = require('express'), flightRouter = express.Router(); flightRouter.get("/",function (req, res, next) { Flight.find({}, function(err, results){ if (err) return res.status(500).end("Cant find Flight"); res.status(200)....
a495bab8c59b5769a322460f8b3ba6d1eb31ccde
app/routes/flight.js
app/routes/flight.js
JavaScript
<|file_sep|>original/py/partition-to-k-equal-sum-subsets.py <|file_sep|>current/py/partition-to-k-equal-sum-subsets.py <|file_sep|>updated/py/partition-to-k-equal-sum-subsets.py
class Solution(object): def canPartitionKSubsets(self, nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ s = sum(nums) if s % k != 0: return False target = s / k lnums = len(nums) fail = set() nums.so...
<|file_sep|>original/py/partition-to-k-equal-sum-subsets.py <|file_sep|>current/py/partition-to-k-equal-sum-subsets.py <|file_sep|>updated/py/partition-to-k-equal-sum-subsets.py class Solution(object): def canPartitionKSubsets(self, nums, k): """ :type nums: List[int] :type k: int ...
f342ce1ee57b0fdc6847d80a7453f575e4301299
py/partition-to-k-equal-sum-subsets.py
py/partition-to-k-equal-sum-subsets.py
Python
<|file_sep|>original/requirements-test.txt -r requirements.txt pytest==5.3.0 pytest-cov==2.7.1 coveralls==1.8.2 <|file_sep|>current/requirements-test.txt -r requirements.txt pytest==5.3.0 pytest-cov==2.7.1 coveralls==1.8.2 <|file_sep|>updated/requirements-test.txt
-r requirements.txt pytest==5.3.1 pytest-cov==2.7.1 coveralls==1.8.2
<|file_sep|>original/requirements-test.txt -r requirements.txt pytest==5.3.0 pytest-cov==2.7.1 coveralls==1.8.2 <|file_sep|>current/requirements-test.txt -r requirements.txt pytest==5.3.0 pytest-cov==2.7.1 coveralls==1.8.2 <|file_sep|>updated/requirements-test.txt -r requirements.txt pytest==5.3.1 pytest-cov==2.7.1 cov...
b63e09f670506aaca74605a0fe92a03afbc16f1c
requirements-test.txt
requirements-test.txt
Text
<|file_sep|>original/csunplugged/at_a_distance/content/en/image-compression/introduction.md Digital pictures are stored as millions of pixels (megapixels). In their raw form they can use up a lot of storage space and be very slow to download for viewing online. But most pictures are converted to a reduced form using cl...
Digital pictures are stored as millions of pixels (megapixels). In their raw form they can use up a lot of storage space and be very slow to download for viewing online. But most pictures are converted to a reduced form using clever compression methods that make them much more efficient to store and view online. In thi...
<|file_sep|>original/csunplugged/at_a_distance/content/en/image-compression/introduction.md Digital pictures are stored as millions of pixels (megapixels). In their raw form they can use up a lot of storage space and be very slow to download for viewing online. But most pictures are converted to a reduced form using cl...
03a6644af8f9ca1f8e153cf7b70445804ed394f4
csunplugged/at_a_distance/content/en/image-compression/introduction.md
csunplugged/at_a_distance/content/en/image-compression/introduction.md
Markdown
<|file_sep|>original/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature <|file_sep|>current/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature <|file_sep|>updated/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature
# features/user.feature Feature: User In order to create users As a OroCRM Admin user I need to be able to open Create User dialog and create new user Scenario: Create new user Given I login as administrator And go to System/User Management/Users And press "Create User" When I fill "User Form" ...
<|file_sep|>original/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature <|file_sep|>current/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature <|file_sep|>updated/src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature # features/user.feature Feature: User In order to create use...
0501842361c121c996c08ebc9a0cc9213b674cbe
src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature
src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature
Cucumber
<|file_sep|>GoogleCalendarV3/setup.py.diff original: version='0.1.1', updated: version='0.1.2', <|file_sep|>original/GoogleCalendarV3/setup.py from distutils.core import setup setup( name='GoogleCalendarV3', version='0.1.1', author='Ashutosh Priyadarshy', author_email='static@siftcal.com', ...
from distutils.core import setup setup( name='GoogleCalendarV3', version='0.1.2', author='Ashutosh Priyadarshy', author_email='static@siftcal.com', packages=['google_calendar_v3', 'google_calendar_v3.test'], scripts=['bin/example.py'], url='http://www.github.com/priyadarshy/google-calendar-...
<|file_sep|>GoogleCalendarV3/setup.py.diff original: version='0.1.1', updated: version='0.1.2', <|file_sep|>original/GoogleCalendarV3/setup.py from distutils.core import setup setup( name='GoogleCalendarV3', version='0.1.1', author='Ashutosh Priyadarshy', author_email='static@siftcal.com', ...
f8aae767944cb6fe6163eb3eb99d08b12458060f
GoogleCalendarV3/setup.py
GoogleCalendarV3/setup.py
Python
<|file_sep|>_site/js/controllers/DropdownCtrl.js.diff original: $scope.indices.push(i) updated: $scope.indices.push(i); <|file_sep|>original/_site/js/controllers/DropdownCtrl.js $scope.types[i].push(j); } } path = $scope.data.host + "/_aliases"; ...
} path = $scope.data.host + "/_aliases"; $http.get(path).then(function(response){ for (i in response.data){ for (j in response.data[i].aliases) { $scope.indices.push(j); $scope.types[j] = $scope.types[i]; $scope.data.mapping[j] =...
<|file_sep|>_site/js/controllers/DropdownCtrl.js.diff original: $scope.indices.push(i) updated: $scope.indices.push(i); <|file_sep|>original/_site/js/controllers/DropdownCtrl.js $scope.types[i].push(j); } } path = $scope.data.host + "/_aliases"; ...
0aec5778808353cb608ccd4a3e57eb57c6482a28
_site/js/controllers/DropdownCtrl.js
_site/js/controllers/DropdownCtrl.js
JavaScript
<|file_sep|>packages/hk/hkd-records.yaml.diff original: hash: ccf5f52653ac255705d69088e786fde9968d1445630accf24f7fdc719fad334b updated: hash: 97e7e76f72dfc44b7f64421a49d0ef2bcfbdbfbc7dedba8bd6cc063a4188cd19 <|file_sep|>packages/hk/hkd-records.yaml.diff original: updated: - 0.0.6 <|file_sep|>original/packages/hk/hkd-re...
* added documentation * changed generic functions to default member functions * changed HkdProd and LkdProd type names basic-deps: base: '>=3 && <5' text: '>=1.2 && <1.3' hkd: '>=0.1 && <0.3' template-haskell: '>=2.14.0.0' all-versions: - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 - 0.0.5 - 0.0.6 author: Kristof Bast...
<|file_sep|>packages/hk/hkd-records.yaml.diff original: hash: ccf5f52653ac255705d69088e786fde9968d1445630accf24f7fdc719fad334b updated: hash: 97e7e76f72dfc44b7f64421a49d0ef2bcfbdbfbc7dedba8bd6cc063a4188cd19 <|file_sep|>packages/hk/hkd-records.yaml.diff original: updated: - 0.0.6 <|file_sep|>original/packages/hk/hkd-re...
b2325100ac05fbd23ddafb20b0206742558ed9d7
packages/hk/hkd-records.yaml
packages/hk/hkd-records.yaml
YAML
<|file_sep|>original/405.cpp <|file_sep|>current/405.cpp <|file_sep|>updated/405.cpp
class Solution { public: string toHex(int num) { if(num==0) return "0"; string ans; char hexa[16]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; int cnt=0; while(num!=0 && cnt<8){ ans=hexa[(num&15)]+ans; num=num>>4; cnt+...
<|file_sep|>original/405.cpp <|file_sep|>current/405.cpp <|file_sep|>updated/405.cpp class Solution { public: string toHex(int num) { if(num==0) return "0"; string ans; char hexa[16]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; int cnt=0; while(num!=0 ...
b0dccefb789249c986481858f3ff56483875224b
405.cpp
405.cpp
C++
<|file_sep|>original/code/GridFieldExtensions.php <?php /** * Utility functions for the grid fields extension module. */ class GridFieldExtensions { public static function include_requirements() { Requirements::css('gridfieldextensions/css/GridFieldExtensions.css'); Requirements::javascript('gridfieldextensions...
<?php /** * Utility functions for the grid fields extension module. */ class GridFieldExtensions { public static function include_requirements() { $moduleDir = self::get_module_dir(); Requirements::css($moduleDir.'/css/GridFieldExtensions.css'); Requirements::javascript($moduleDir.'/javascript/GridFieldExtens...
<|file_sep|>original/code/GridFieldExtensions.php <?php /** * Utility functions for the grid fields extension module. */ class GridFieldExtensions { public static function include_requirements() { Requirements::css('gridfieldextensions/css/GridFieldExtensions.css'); Requirements::javascript('gridfieldextensions...
4693aeb8d08877253f4b11c9493eba9ff7a48a5d
code/GridFieldExtensions.php
code/GridFieldExtensions.php
PHP
<|file_sep|>gulp_tasks/bower.babel.js.diff original: import rsync from 'gulp-rsync'; updated: // import rsync from 'gulp-rsync'; <|file_sep|>gulp_tasks/bower.babel.js.diff original: return bower({ updated: bower({ cmd: 'install' }) .pipe(debug({ title: 'bower install:' })) // .pipe(rsync({ // ro...
.on('end', browserSync.reload) .on('error', reportError); bower({ cmd: 'update' }) .pipe(debug({ title: 'bower update:' })) // .pipe(rsync({ // root: config.path.root, // destination: config.path.destination.bowerComponents // })) .pipe(gulp.dest(config.path.destination.bowerComponent...
<|file_sep|>gulp_tasks/bower.babel.js.diff original: import rsync from 'gulp-rsync'; updated: // import rsync from 'gulp-rsync'; <|file_sep|>gulp_tasks/bower.babel.js.diff original: return bower({ updated: bower({ cmd: 'install' }) .pipe(debug({ title: 'bower install:' })) // .pipe(rsync({ // ro...
730a77445e7b26b14d96cf8782d03e53655889ad
gulp_tasks/bower.babel.js
gulp_tasks/bower.babel.js
JavaScript
<|file_sep|>original/app.json { "name": "Course Github Org Tool", "description": "A tool to manage students in github organizations for courses", "keywords": [], "repository": "https://github.com/ncbrown1/course-github-org-tool", "success_url": "/", "scripts": { "postdeploy": "bundle exec rails db:migra...
{ "name": "Course Github Org Tool", "description": "A tool to manage students in github organizations for courses", "keywords": [], "repository": "https://github.com/UCSB-CS-Using-GitHub-In-Courses/course-github-org-tool", "success_url": "/", "scripts": { "postdeploy": "bundle exec rails db:migrate" }...
<|file_sep|>original/app.json { "name": "Course Github Org Tool", "description": "A tool to manage students in github organizations for courses", "keywords": [], "repository": "https://github.com/ncbrown1/course-github-org-tool", "success_url": "/", "scripts": { "postdeploy": "bundle exec rails db:migra...
2825543b0e4e2780240b18caac78a8e33e22ceb6
app.json
app.json
JSON
<|file_sep|>original/go/aliases.zsh # Always add verbose flag to go get commands function go() { case $* in get* ) shift 1; command go get -v "$@" | more ;; * ) command go "$@" ;; esac } <|file_sep|>current/go/aliases.zsh # Always add verbose flag to go get commands function go() { case $* in get* ) s...
# Always add verbose flag to go get commands function go() { case $* in get* ) shift 1; command go get -v "$@" | more ;; * ) command go "$@" ;; esac } # Always add verbose flag to dep ensure commands function dep() { case $* in ensure* ) shift 1; command dep ensure -v "$@" | more ;; * ) command d...
<|file_sep|>original/go/aliases.zsh # Always add verbose flag to go get commands function go() { case $* in get* ) shift 1; command go get -v "$@" | more ;; * ) command go "$@" ;; esac } <|file_sep|>current/go/aliases.zsh # Always add verbose flag to go get commands function go() { case $* in get* ) s...
0bfa0ad5f61ef82e58b44a8e2afb2717c4b7399a
go/aliases.zsh
go/aliases.zsh
Shell
<|file_sep|>original/doc/AUTOMATED_SCRIPT.md <|file_sep|>current/doc/AUTOMATED_SCRIPT.md <|file_sep|>updated/doc/AUTOMATED_SCRIPT.md
Automated script =========== ## Overview The document describes the "automated script" functionality and some use cases. I assume you have basic knowledge of iPxe/pxe booting. Please see the following link for more documentaion regarding iPxe: http://ipxe.org/ ## Summary Automated script allows you to run an arbitr...
<|file_sep|>original/doc/AUTOMATED_SCRIPT.md <|file_sep|>current/doc/AUTOMATED_SCRIPT.md <|file_sep|>updated/doc/AUTOMATED_SCRIPT.md Automated script =========== ## Overview The document describes the "automated script" functionality and some use cases. I assume you have basic knowledge of iPxe/pxe booting. Please...
3e5194046e5745a694c684d9fcef47f1905f42f4
doc/AUTOMATED_SCRIPT.md
doc/AUTOMATED_SCRIPT.md
Markdown
<|file_sep|>original/.travis.yml language: java dist: trusty jdk: - oraclejdk8 cache: directories: - $HOME/.m2/repository <|file_sep|>current/.travis.yml language: java dist: trusty jdk: - oraclejdk8 cache: directories: - $HOME/.m2/repository <|file_sep|>updated/.travis.yml
language: java dist: trusty jdk: - oraclejdk8 - oraclejdk9 cache: directories: - $HOME/.m2/repository
<|file_sep|>original/.travis.yml language: java dist: trusty jdk: - oraclejdk8 cache: directories: - $HOME/.m2/repository <|file_sep|>current/.travis.yml language: java dist: trusty jdk: - oraclejdk8 cache: directories: - $HOME/.m2/repository <|file_sep|>updated/.travis.yml language: java dist: t...
4884112fefb060e6d0e46a0477f1e3a34200f94a
.travis.yml
.travis.yml
YAML
<|file_sep|>pelab/magent/auto-magent.sh.diff original: MAGENTPID=$! updated: <|file_sep|>original/pelab/magent/auto-magent.sh ARGS=$* . `dirname $0`/../common-env.sh # # Start up our own measurement agent # echo $SH ${MAGENT_DIR}/run-magent.sh $ARGS $SH ${MAGENT_DIR}/run-magent.sh $ARGS MAGENTPID=$! # Kill the agen...
ARGS=$* . `dirname $0`/../common-env.sh # # Start up our own measurement agent # echo $SH ${MAGENT_DIR}/run-magent.sh $ARGS $SH ${MAGENT_DIR}/run-magent.sh $ARGS # Kill the agent if we get killed - TODO: harsher kill? # Because the magent backgrounds itself, it's harder to figure out # what its pid is, just just do ...
<|file_sep|>pelab/magent/auto-magent.sh.diff original: MAGENTPID=$! updated: <|file_sep|>original/pelab/magent/auto-magent.sh ARGS=$* . `dirname $0`/../common-env.sh # # Start up our own measurement agent # echo $SH ${MAGENT_DIR}/run-magent.sh $ARGS $SH ${MAGENT_DIR}/run-magent.sh $ARGS MAGENTPID=$! # Kill the agen...
374ccccea869ee7056a2f5e45de908ce5e1ed794
pelab/magent/auto-magent.sh
pelab/magent/auto-magent.sh
Shell
<|file_sep|>original/lib/inch_ci/worker/build/badge_detector.rb if filename = find_readme(repo) contents = File.read(filename, :encoding => 'utf-8') new(contents, info).detected? else false end end # @return [String] filename def...
if filename = find_readme(repo) contents = File.read(filename, :encoding => 'utf-8') new(contents, info).detected? else false end end # @return [String] filename def self.find_readme(repo) Dir[File.join(repo.path, '*.*'...
<|file_sep|>original/lib/inch_ci/worker/build/badge_detector.rb if filename = find_readme(repo) contents = File.read(filename, :encoding => 'utf-8') new(contents, info).detected? else false end end # @return [String] filename def...
969d1bbadafd0f5260673832c610616ffb36bcdf
lib/inch_ci/worker/build/badge_detector.rb
lib/inch_ci/worker/build/badge_detector.rb
Ruby
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.39 pyroma==2.5 pytest-mock==1.10.4 pytest==4.6.2 tox==3.11.1 flake8==3.7.7 twine==1.13.0 coverage==4.5.3 pytest-cov==2.7.1 Sphinx==2.0.1 sphinx-autobuild==0.7.1 redis==3.2.1 Cython==0.29.10 happybase==1.2.0 <|file_sep|>current/requirements-...
-r requirements.txt check-manifest==0.39 pyroma==2.5 pytest-mock==1.10.4 pytest==4.6.3 tox==3.11.1 flake8==3.7.7 twine==1.13.0 coverage==4.5.3 pytest-cov==2.7.1 Sphinx==2.0.1 sphinx-autobuild==0.7.1 redis==3.2.1 Cython==0.29.10 happybase==1.2.0
<|file_sep|>original/requirements-dev.txt -r requirements.txt check-manifest==0.39 pyroma==2.5 pytest-mock==1.10.4 pytest==4.6.2 tox==3.11.1 flake8==3.7.7 twine==1.13.0 coverage==4.5.3 pytest-cov==2.7.1 Sphinx==2.0.1 sphinx-autobuild==0.7.1 redis==3.2.1 Cython==0.29.10 happybase==1.2.0 <|file_sep|>current/requirements-...
e944804beebfb936c2e1eeab883e2f8a231a876f
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/src/main/resources/plugin.yml name: iAnnounce main: com.github.pocketkid2.announce.AnnouncePlugin version: 0.1.0 author: Pocketkid2 description: Broadcast server messages easily! With plenty of configuration options! permissions: iannounce.recieve: description: Allows you to recieve the...
name: iAnnounce main: com.github.pocketkid2.announce.AnnouncePlugin version: 0.4.0 author: Pocketkid2 description: Broadcast server messages easily! With plenty of configuration options! permissions: iannounce.recieve: description: Allows you to recieve the broadcasts default: true
<|file_sep|>original/src/main/resources/plugin.yml name: iAnnounce main: com.github.pocketkid2.announce.AnnouncePlugin version: 0.1.0 author: Pocketkid2 description: Broadcast server messages easily! With plenty of configuration options! permissions: iannounce.recieve: description: Allows you to recieve the...
8a5226c989d8e70c9968f82af849a73e5045ab6c
src/main/resources/plugin.yml
src/main/resources/plugin.yml
YAML
<|file_sep|>original/roles/gateway/defaults/main.yml --- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" g...
--- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" gateway_repo_url: "https://github.com/LowPowerLab/Rasp...
<|file_sep|>original/roles/gateway/defaults/main.yml --- gateway_long_name: "moteino-gateway" gateway_short_name: "gateway" moteino_username: "moteino" moteino_home_dir: "/srv/moteino" #gateway_repo_url: "git@github.com:LowPowerLab/RaspberryPi-Gateway.git" gateway_log_filename: "/var/log/{{gateway_long_name}}.log" g...
88f201d6c61befff81524d88418de66e3921a201
roles/gateway/defaults/main.yml
roles/gateway/defaults/main.yml
YAML
<|file_sep|>original/test/Sema/availability_refinement_contexts_target_min_inlining.swift // RUN: %target-swift-frontend -swift-version 5 -enable-library-evolution -target %target-next-stable-abi-triple -typecheck -dump-type-refinement-contexts -target-min-inlining-version min %s > %t.dump 2>&1 // RUN: %FileCheck --str...
// RUN: %target-swift-frontend -swift-version 5 -enable-library-evolution -target %target-next-stable-abi-triple -typecheck -dump-type-refinement-contexts -target-min-inlining-version min %s > %t.dump 2>&1 // RUN: %FileCheck --strict-whitespace --check-prefix CHECK-%target-os %s < %t.dump // REQUIRES: swift_stable_abi...
<|file_sep|>original/test/Sema/availability_refinement_contexts_target_min_inlining.swift // RUN: %target-swift-frontend -swift-version 5 -enable-library-evolution -target %target-next-stable-abi-triple -typecheck -dump-type-refinement-contexts -target-min-inlining-version min %s > %t.dump 2>&1 // RUN: %FileCheck --str...
6775624ea3f05a68a88f492ac5dfd41afb1bc3c5
test/Sema/availability_refinement_contexts_target_min_inlining.swift
test/Sema/availability_refinement_contexts_target_min_inlining.swift
Swift
<|file_sep|>original/test/test_helper.rb require 'bundler' Bundler.require :development, :test require 'second_base' require 'active_support/test_case' require 'active_support/testing/autorun' require 'dummy_app/init' require 'rails/test_help' require 'test_helpers/rails_version_helpers' require 'test_helpers/dummy_app...
ENV['RAILS_ENV'] ||= 'test' ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' Bundler.require :default, :test require 'second_base' require 'active_support/test_case' require 'active_support/testing/autorun' require 'dummy_app/init' require 'rails/test_help' require 'test_hel...
<|file_sep|>original/test/test_helper.rb require 'bundler' Bundler.require :development, :test require 'second_base' require 'active_support/test_case' require 'active_support/testing/autorun' require 'dummy_app/init' require 'rails/test_help' require 'test_helpers/rails_version_helpers' require 'test_helpers/dummy_app...
e20d3e42cd0d771688ee1c4dcb8c2f87b402c8f9
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/ruby/path.bash # add rbenv's bin and shims directories to ${PATH}. export PATH=${PATH}:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims <|file_sep|>current/ruby/path.bash # add rbenv's bin and shims directories to ${PATH}. export PATH=${PATH}:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims <|file_sep|>updated/ruby/...
# add rbenv's bin and shims directories to ${PATH}. export PATH=${HOME}/.rbenv/bin:${HOME}/.rbenv/shims:${PATH}
<|file_sep|>original/ruby/path.bash # add rbenv's bin and shims directories to ${PATH}. export PATH=${PATH}:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims <|file_sep|>current/ruby/path.bash # add rbenv's bin and shims directories to ${PATH}. export PATH=${PATH}:${HOME}/.rbenv/bin:${HOME}/.rbenv/shims <|file_sep|>updated/ruby/...
d5918da42bd4e5579f8238694594062e50a1d7ea
ruby/path.bash
ruby/path.bash
Shell
<|file_sep|>spec/starting_blocks/result_parser_spec.rb.diff original: it "should return the result from the text parser" do updated: let(:parsed_output) { {} } <|file_sep|>spec/starting_blocks/result_parser_spec.rb.diff original: text = Object.new parsed_output = Hash.new text_parser = Object...
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe StartingBlocks::ResultParser do let(:parsed_output) { {} } let(:output) do text = Object.new text_parser = Object.new StartingBlocks::ResultTextParser.stubs(:new).returns text_parser text_parser.stubs(:parse).wi...
<|file_sep|>spec/starting_blocks/result_parser_spec.rb.diff original: it "should return the result from the text parser" do updated: let(:parsed_output) { {} } <|file_sep|>spec/starting_blocks/result_parser_spec.rb.diff original: text = Object.new parsed_output = Hash.new text_parser = Object...
48f02134e1f75a3b418348b69a9b48d672b699c5
spec/starting_blocks/result_parser_spec.rb
spec/starting_blocks/result_parser_spec.rb
Ruby
<|file_sep|>original/src/main/as/flump/export/PackedTexture.as public var tex :XflTexture; public var offset :Point; public var w :int, h :int, a :int; public var atlasX :int, atlasY :int; public var atlasRotated :Boolean; public function PackedTexture (tex :XflTexture, image :DisplayObject) { ...
public var tex :XflTexture; public var offset :Point; public var w :int, h :int, a :int; public var atlasX :int, atlasY :int; public var atlasRotated :Boolean; public function PackedTexture (tex :XflTexture, image :DisplayObject) { this.tex = tex; holder.addChild(image); ...
<|file_sep|>original/src/main/as/flump/export/PackedTexture.as public var tex :XflTexture; public var offset :Point; public var w :int, h :int, a :int; public var atlasX :int, atlasY :int; public var atlasRotated :Boolean; public function PackedTexture (tex :XflTexture, image :DisplayObject) { ...
7c291f387d8af2946b6407ef5a5cde2cb58958f3
src/main/as/flump/export/PackedTexture.as
src/main/as/flump/export/PackedTexture.as
ActionScript
<|file_sep|>c2corg_ui/views/index.py.diff original: updated: from c2corg_ui.views import get_or_create_page <|file_sep|>c2corg_ui/views/index.py.diff original: updated: self.debug = 'debug' in self.request.params <|file_sep|>c2corg_ui/views/index.py.diff original: 'debug': 'debug' in self.request...
'debug': self.debug, 'api_url': self.settings['api_url'], 'ign_api_key': self.settings['ign_api_key'], 'bing_api_key': self.settings['bing_api_key'], 'image_backend_url': self.settings['image_backend_url'], 'image_url': self.settings['image_url'] ...
<|file_sep|>c2corg_ui/views/index.py.diff original: updated: from c2corg_ui.views import get_or_create_page <|file_sep|>c2corg_ui/views/index.py.diff original: updated: self.debug = 'debug' in self.request.params <|file_sep|>c2corg_ui/views/index.py.diff original: 'debug': 'debug' in self.request...
3a571e45e0bb0e11d84f5e0013d5a5f0f2a568ec
c2corg_ui/views/index.py
c2corg_ui/views/index.py
Python
<|file_sep|>comics/browser/templates/browser/release_content.html.diff original: <p class="image"><a href="{{ release.get_absolute_url }}"> updated: <p class="image"> <|file_sep|>original/comics/browser/templates/browser/release_content.html {% if image.title %} <h4>&ldquo;{{ image.title|safe }}&rdquo;</h4> ...
{% if image.title %} <h4>&ldquo;{{ image.title|safe }}&rdquo;</h4> {% endif %} <p class="image"> <img src="{{ image.file.url }}" height="{{ image.height }}" width="{{ image.width }}" alt="{{ release }}" {% if image.text %}title="{{ image.text|escape }}"{% endif %}> </p> {% if imag...
<|file_sep|>comics/browser/templates/browser/release_content.html.diff original: <p class="image"><a href="{{ release.get_absolute_url }}"> updated: <p class="image"> <|file_sep|>original/comics/browser/templates/browser/release_content.html {% if image.title %} <h4>&ldquo;{{ image.title|safe }}&rdquo;</h4> ...
ce89e2f13a706aa94026ffc635c185921b7276e3
comics/browser/templates/browser/release_content.html
comics/browser/templates/browser/release_content.html
HTML
<|file_sep|>original/ivy.xml <|file_sep|>current/ivy.xml <|file_sep|>updated/ivy.xml
<?xml version="1.0" encoding="UTF-8"?> <ivy-module version="1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://ant.apache.org/ivy/schemas/ivy.xsd"> <info organisation="org.gradle" module="gradle"/> <configurations defaultc...
<|file_sep|>original/ivy.xml <|file_sep|>current/ivy.xml <|file_sep|>updated/ivy.xml <?xml version="1.0" encoding="UTF-8"?> <ivy-module version="1.3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "http://ant.apache.org/ivy/schemas/ivy.x...
cf9bc100f289ec5e659a85250494d13428b81fde
ivy.xml
ivy.xml
XML
<|file_sep|>test/lib/Elastica/Test/Base.php.diff original: updated: * @param int $shards Number of shards to create <|file_sep|>test/lib/Elastica/Test/Base.php.diff original: protected function _createIndex($name = 'test', $delete = true) updated: protected function _createIndex($name = 'test'...
{ protected function _getClient() { return new Client(); } /** * @param string $name Index name * @param bool $delete Delete index if it exists * @param int $shards Number of shards to create * @return \Elastica\Index */ protected fun...
<|file_sep|>test/lib/Elastica/Test/Base.php.diff original: updated: * @param int $shards Number of shards to create <|file_sep|>test/lib/Elastica/Test/Base.php.diff original: protected function _createIndex($name = 'test', $delete = true) updated: protected function _createIndex($name = 'test'...
0e17c5e567b54d739ba405aea66e988fe2d5f3c8
test/lib/Elastica/Test/Base.php
test/lib/Elastica/Test/Base.php
PHP
<|file_sep|>original/docs/how-to/link-seams-commonjs.md <|file_sep|>current/docs/how-to/link-seams-commonjs.md <|file_sep|>updated/docs/how-to/link-seams-commonjs.md
# How to use [Link Seams][seams] with CommonJS This page describes how to isolate your system under test, by stubbing out dependencies with [link seams][seams]. This is the CommonJS version, so we will be using [proxyquire][proxyquire] to construct our seams. To better understand the example and get a good descripti...
<|file_sep|>original/docs/how-to/link-seams-commonjs.md <|file_sep|>current/docs/how-to/link-seams-commonjs.md <|file_sep|>updated/docs/how-to/link-seams-commonjs.md # How to use [Link Seams][seams] with CommonJS This page describes how to isolate your system under test, by stubbing out dependencies with [link seams...
9253b5f51c86e7128ad487886c25d8b8022a427b
docs/how-to/link-seams-commonjs.md
docs/how-to/link-seams-commonjs.md
Markdown
<|file_sep|>original/rgpg.gemspec lib = File.expand_path('../lib', __FILE__) $:.unshift(lib) unless $:.include?(lib) require 'rgpg/gem_info' Gem::Specification.new do |s| s.name = 'rgpg' s.version = Rgpg::GemInfo.version_string s.date = Date.today s.executables << 'rgpg' s.summary = 'rgpg' s.description =...
lib = File.expand_path('../lib', __FILE__) $:.unshift(lib) unless $:.include?(lib) require 'rgpg/gem_info' Gem::Specification.new do |s| s.name = 'rgpg' s.version = Rgpg::GemInfo.version_string s.date = Date.today rescue '1970-01-01' s.executables << 'rgpg' s.summary = 'rgpg' s.description = 'Simple Ruby ...
<|file_sep|>original/rgpg.gemspec lib = File.expand_path('../lib', __FILE__) $:.unshift(lib) unless $:.include?(lib) require 'rgpg/gem_info' Gem::Specification.new do |s| s.name = 'rgpg' s.version = Rgpg::GemInfo.version_string s.date = Date.today s.executables << 'rgpg' s.summary = 'rgpg' s.description =...
402137db4fe8632c6cac2a6dc3727b6a7db9e4cb
rgpg.gemspec
rgpg.gemspec
Ruby
<|file_sep|>CMakeLists.txt.diff original: find_package(ImageMagick REQUIRED) updated: <|file_sep|>original/CMakeLists.txt src/colortable.h src/cxxopts.hpp src/datareader.cpp src/datareader.h src/VisGrid3D.cpp src/visualizer.cpp src/visualizer.h src/colorm...
set(SOURCE_FILES src/colortable.h src/cxxopts.hpp src/datareader.cpp src/datareader.h src/VisGrid3D.cpp src/visualizer.cpp src/visualizer.h src/colormap.h) find_package(VTK REQUIRED) include(${VTK_USE_FILE}) find_package(Boost COMPONENTS filesystem iostr...
<|file_sep|>CMakeLists.txt.diff original: find_package(ImageMagick REQUIRED) updated: <|file_sep|>original/CMakeLists.txt src/colortable.h src/cxxopts.hpp src/datareader.cpp src/datareader.h src/VisGrid3D.cpp src/visualizer.cpp src/visualizer.h src/colorm...
f796e2df6e4cc38a9b7f406a1c1885a09bb65092
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/bower.json { "name": "jquery-xmlrpc", "version": "0.2.0", "main": ["jquery.xmlrpc.js", "jquery.xmlrpc.min.js"], "dependencies": { "jquery": "~1.10.2" } } <|file_sep|>current/bower.json { "name": "jquery-xmlrpc", "version": "0.2.0", "main": ["jquery.xmlrpc.js", "jquery.xmlrpc.min...
{ "name": "jquery-xmlrpc", "version": "0.2.0", "main": ["jquery.xmlrpc.js", "jquery.xmlrpc.min.js"], "dependencies": { "jquery": "~1.10.2", "jquery-mockjax": "~1.5.3" } }
<|file_sep|>original/bower.json { "name": "jquery-xmlrpc", "version": "0.2.0", "main": ["jquery.xmlrpc.js", "jquery.xmlrpc.min.js"], "dependencies": { "jquery": "~1.10.2" } } <|file_sep|>current/bower.json { "name": "jquery-xmlrpc", "version": "0.2.0", "main": ["jquery.xmlrpc.js", "jquery.xmlrpc.min...
ffd390a69d87f705037caafb898fa18449d39e7e
bower.json
bower.json
JSON
<|file_sep|>original/.travis.yml # Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py33 matrix: allow_failures: - env: TOX_ENV=py26 - env: TOX_ENV=py33 ...
# Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py33 matrix: allow_failures: - env: TOX_ENV=py26 - env: TOX_ENV=py33 before_install: - sudo apt-ge...
<|file_sep|>original/.travis.yml # Travis + Tox # Based on what I found at: https://github.com/eventlet/eventlet/blob/master/.travis.yml language: python python: - "2.7" env: - TOX_ENV=py26 - TOX_ENV=py27 - TOX_ENV=py33 matrix: allow_failures: - env: TOX_ENV=py26 - env: TOX_ENV=py33 ...
7bade2d6446adc94ddbdc6540655da6ab8af4240
.travis.yml
.travis.yml
YAML
<|file_sep|>AgateLib/Drivers/AgateSandBoxLoader.cs.diff original: updated: Assembly ass; <|file_sep|>original/AgateLib/Drivers/AgateSandBoxLoader.cs namespace AgateLib.Drivers { class AgateSandBoxLoader : MarshalByRefObject { public AgateDriverInfo[] ReportDrivers(string file) { ...
namespace AgateLib.Drivers { class AgateSandBoxLoader : MarshalByRefObject { public AgateDriverInfo[] ReportDrivers(string file) { List<AgateDriverInfo> retval = new List<AgateDriverInfo>(); Assembly ass; try { ass = Assembly.Load...
<|file_sep|>AgateLib/Drivers/AgateSandBoxLoader.cs.diff original: updated: Assembly ass; <|file_sep|>original/AgateLib/Drivers/AgateSandBoxLoader.cs namespace AgateLib.Drivers { class AgateSandBoxLoader : MarshalByRefObject { public AgateDriverInfo[] ReportDrivers(string file) { ...
296011d27d6af5a3727deaa2d752e79a46a4b15a
AgateLib/Drivers/AgateSandBoxLoader.cs
AgateLib/Drivers/AgateSandBoxLoader.cs
C#
<|file_sep|>original/build.xml <?xml version="1.0" encoding="UTF-8"?> <project name="PasswdSafe" basedir="."> <property name="rev.dir" value="${basedir}/gen/com/jefftharris/passwdsafe"/> <property name="rev.file" value="${rev.dir}/Rev.java"/> <target name="genRev" depends="checkGenRev" unless="genRevU...
<?xml version="1.0" encoding="UTF-8"?> <project name="PasswdSafe" basedir="."> <property name="rev.dir" value="${basedir}/gen/com/jefftharris/passwdsafe"/> <property name="rev.file" value="${rev.dir}/Rev.java"/> <target name="genRev" depends="checkGenRev" unless="genRevUptodate"> <exec dir="${...
<|file_sep|>original/build.xml <?xml version="1.0" encoding="UTF-8"?> <project name="PasswdSafe" basedir="."> <property name="rev.dir" value="${basedir}/gen/com/jefftharris/passwdsafe"/> <property name="rev.file" value="${rev.dir}/Rev.java"/> <target name="genRev" depends="checkGenRev" unless="genRevU...
9353f7741f428e6353be26325d053a0b7cd61aee
build.xml
build.xml
XML
<|file_sep|>original/lib/tasks/one_sheet/resume_module.txt module Resume # These consts would only ever be defined when this file's specs # are run in the repo with the structured version of the resume # (an edge case) ie: # $ bundle exec rspec spec/ && bundle exec rspec resume.rb remove_const(:VERSION) if co...
module Resume # These consts would only ever be defined when this file's specs # are run in the repo with the structured version of the resume # (an edge case) ie: # $ bundle exec rspec spec/ && bundle exec rspec resume.rb remove_const(:VERSION) if const_defined?(:VERSION) VERSION = "1.3".freeze module_f...
<|file_sep|>original/lib/tasks/one_sheet/resume_module.txt module Resume # These consts would only ever be defined when this file's specs # are run in the repo with the structured version of the resume # (an edge case) ie: # $ bundle exec rspec spec/ && bundle exec rspec resume.rb remove_const(:VERSION) if co...
e3516c10374d961966243bc18b2588b9b6304b12
lib/tasks/one_sheet/resume_module.txt
lib/tasks/one_sheet/resume_module.txt
Text
<|file_sep|>original/test/cname_test.js 'use strict'; const fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': function(test) { const actual = read('tmp/CNAME'); const expected = read('test/expected/CNAME'); test.equal(a...
'use strict'; const fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': (test) => { const actual = read('tmp/CNAME'); const expected = read('test/expected/CNAME'); test.equal(actual, expected, 'should build the CNAME file...
<|file_sep|>original/test/cname_test.js 'use strict'; const fs = require('fs'); function read(filename) { return fs.readFileSync(filename, {'encoding': 'utf8'}); } exports.cname = { 'build': function(test) { const actual = read('tmp/CNAME'); const expected = read('test/expected/CNAME'); test.equal(a...
aa90b556b90ce127f561fcd76aa5da701d756e5d
test/cname_test.js
test/cname_test.js
JavaScript
<|file_sep|>String/LongestCommonPrefix.swift.diff original: * Time Complexity: O(nm), Space Complexity: O(m), m stands for the length of first string updated: * Time Complexity: O(nm), Space Complexity: O(m), m stands for the length of longest prefix <|file_sep|>String/LongestCommonPrefix.swift.diff original: fun...
while index < firstStr.count { longestPrefix.append(firstStrChars[index]) for str in strsChars { if index >= str.count { return String(longestPrefix.dropLast()) } if st...
<|file_sep|>String/LongestCommonPrefix.swift.diff original: * Time Complexity: O(nm), Space Complexity: O(m), m stands for the length of first string updated: * Time Complexity: O(nm), Space Complexity: O(m), m stands for the length of longest prefix <|file_sep|>String/LongestCommonPrefix.swift.diff original: fun...
549eb1ffbdb991d31e9922f491b4e394269bd14f
String/LongestCommonPrefix.swift
String/LongestCommonPrefix.swift
Swift
<|file_sep|>original/app/scripts/directives/fielddrop.js angular.module('vleApp') .directive('fieldDrop', function (Dataset) { return { templateUrl: 'templates/fielddrop.html', restrict: 'E', scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { ...
scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { $scope.removeField = function() { $scope.fieldDef.name = null; $scope.fieldDef.type = null; }; $scope.fieldDropped = function() { var fieldType = Dataset.stats[$...
<|file_sep|>original/app/scripts/directives/fielddrop.js angular.module('vleApp') .directive('fieldDrop', function (Dataset) { return { templateUrl: 'templates/fielddrop.html', restrict: 'E', scope: { fieldDef: '=', types: '=' }, controller: function ($scope) { ...
8a7061a6edcbf14d0cc3db3bea7ea9d9e30e301a
app/scripts/directives/fielddrop.js
app/scripts/directives/fielddrop.js
JavaScript
<|file_sep|>original/client/src/store/reducers/auth.js ...action.payload, }; case ActionTypes.LOGIN_ERROR: case ActionTypes.REGISTER_ERROR: return { ...state, error: action.payload.error, }; case ActionTypes.CLOSE_SESSION: localStorage.removeItem('user.token')...
}; case ActionTypes.LOGIN_ERROR: case ActionTypes.REGISTER_ERROR: return { ...state, error: action.payload.error, }; case ActionTypes.CLOSE_SESSION: localStorage.removeItem('user.token'); localStorage.removeItem('user.data'); return initialState(); cas...
<|file_sep|>original/client/src/store/reducers/auth.js ...action.payload, }; case ActionTypes.LOGIN_ERROR: case ActionTypes.REGISTER_ERROR: return { ...state, error: action.payload.error, }; case ActionTypes.CLOSE_SESSION: localStorage.removeItem('user.token')...
97881a571fe60033810cc7864126b041bd82f3d1
client/src/store/reducers/auth.js
client/src/store/reducers/auth.js
JavaScript
<|file_sep|>original/.github/workflows/maven.yml # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing perm...
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. nam...
<|file_sep|>original/.github/workflows/maven.yml # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing perm...
748b2a49f1d3d0581a359f72de0cdd34d54fa813
.github/workflows/maven.yml
.github/workflows/maven.yml
YAML
<|file_sep|>original/test/rubocop/git/runner_test.rb require_relative '../../test_helper' require 'rubocop/git/runner' describe RuboCop::Git::Runner do it 'fail with invalid options' do proc do _out, _err = capture_io do RuboCop::Git::Runner.new.run({}) end end.must_raise(RuboCop::Git::Op...
require_relative '../../test_helper' require 'rubocop/git/runner' describe RuboCop::Git::Runner do it 'exit with violations' do options = RuboCop::Git::Options.new # lib/rubocop/git/runner.rb:14:1: C: Trailing whitespace detected. options.commits = ["v0.0.4", "v0.0.5"] proc do _out, _err = capt...
<|file_sep|>original/test/rubocop/git/runner_test.rb require_relative '../../test_helper' require 'rubocop/git/runner' describe RuboCop::Git::Runner do it 'fail with invalid options' do proc do _out, _err = capture_io do RuboCop::Git::Runner.new.run({}) end end.must_raise(RuboCop::Git::Op...
7aa86d5aba31325adf75583e1e82b4d8bf7a538b
test/rubocop/git/runner_test.rb
test/rubocop/git/runner_test.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "7" - "8" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "7" - "8" before_script: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml
language: node_js node_js: - "4" - "5" - "6" - "7" - "8" - "10" - "stable" before_script: - npm install -g grunt-cli
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "7" - "8" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "5" - "6" - "7" - "8" before_script: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml l...
0e9323200449f5d2005cc21f37a4f12246fe9371
.travis.yml
.travis.yml
YAML
<|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx <|file_sep|>current/webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx <|file_sep|>updated/webofneeds/won-owner-webapp/src/main/webapp/app/component...
import React from "react"; import "~/style/_dropdown-viewer.scss"; import PropTypes from "prop-types"; export default class WonDropdownViewer extends React.Component { render() { const icon = this.props.detail.icon && ( <svg className="dropdownv__header__icon"> <use xlinkHref={this.props.detail.ic...
<|file_sep|>original/webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx <|file_sep|>current/webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx <|file_sep|>updated/webofneeds/won-owner-webapp/src/main/webapp/app/component...
64aadf84ef87b48c6e48bbd99aec5597787a9a68
webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx
webofneeds/won-owner-webapp/src/main/webapp/app/components/details/react-viewer/dropdown-viewer.jsx
JSX
<|file_sep|>original/api-calls/ghost/put_location_by_id.sh <|file_sep|>current/api-calls/ghost/put_location_by_id.sh <|file_sep|>updated/api-calls/ghost/put_location_by_id.sh
#!/bin/sh if [ $# -ge 3 ] ; then curl \ --request PUT --include \ http://localhost:8080/ghost/"$1"/"$2"/"$3" else echo "Usage: ./put_location_by_id.sh latitude longitude" fi
<|file_sep|>original/api-calls/ghost/put_location_by_id.sh <|file_sep|>current/api-calls/ghost/put_location_by_id.sh <|file_sep|>updated/api-calls/ghost/put_location_by_id.sh #!/bin/sh if [ $# -ge 3 ] ; then curl \ --request PUT --include \ http://localhost:8080/ghost/"$1"/"$2"/"$3" else echo "Us...
a27527b82208f928ca409e4853b73868b1943807
api-calls/ghost/put_location_by_id.sh
api-calls/ghost/put_location_by_id.sh
Shell
<|file_sep|>original/compiler/README.md [![PyPI](https://img.shields.io/pypi/v/quilt.svg)](https://pypi.python.org/pypi/quilt) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quilt.svg) (Python 2.7 not supported on Windows) # Quilt compiler The compiler parses and serializes data (`build`). It also c...
[![PyPI](https://img.shields.io/pypi/v/quilt.svg)](https://pypi.python.org/pypi/quilt) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quilt.svg) (Python 2.7 not supported on Windows) # Quilt compiler The compiler parses and serializes data (`build`). It also communicates with the registry during `pu...
<|file_sep|>original/compiler/README.md [![PyPI](https://img.shields.io/pypi/v/quilt.svg)](https://pypi.python.org/pypi/quilt) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/quilt.svg) (Python 2.7 not supported on Windows) # Quilt compiler The compiler parses and serializes data (`build`). It also c...
279da5306be349f23027076720847075d2bae494
compiler/README.md
compiler/README.md
Markdown
<|file_sep|>original/tasks/spritesheet.js this.files = this.files || helpers.normalizeMultiTaskFiles(this.data, this.target); var srcFiles; var images; grunt.util.async.forEachSeries(this.files, function(file, callback) { var builder; var dir = ''; /...
this.files = this.files || helpers.normalizeMultiTaskFiles(this.data, this.target); var srcFiles; var images; grunt.util.async.forEachSeries(this.files, function(file, callback) { var builder; var dir = ''; //grunt.task.expand( './..' ); ...
<|file_sep|>original/tasks/spritesheet.js this.files = this.files || helpers.normalizeMultiTaskFiles(this.data, this.target); var srcFiles; var images; grunt.util.async.forEachSeries(this.files, function(file, callback) { var builder; var dir = ''; /...
b56d78047b8865e382810b750abc61db381160b9
tasks/spritesheet.js
tasks/spritesheet.js
JavaScript
<|file_sep|>original/course-preparation/Ansible/group_vars/josiah.kisoso.yml <|file_sep|>current/course-preparation/Ansible/group_vars/josiah.kisoso.yml <|file_sep|>updated/course-preparation/Ansible/group_vars/josiah.kisoso.yml
--- name: Josiah Kisoso # Real name of the person org: UR # Organisation/team they work in username: josiah.kisoso # username on the lab machine github: morendat # github user account git: ...
<|file_sep|>original/course-preparation/Ansible/group_vars/josiah.kisoso.yml <|file_sep|>current/course-preparation/Ansible/group_vars/josiah.kisoso.yml <|file_sep|>updated/course-preparation/Ansible/group_vars/josiah.kisoso.yml --- name: Josiah Kisoso # Real name of the person org: UR ...
aa75f2aec3d3d2f7e6c842e8952fb3971fe19764
course-preparation/Ansible/group_vars/josiah.kisoso.yml
course-preparation/Ansible/group_vars/josiah.kisoso.yml
YAML
<|file_sep|>original/recipes/default.rb # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions...
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing p...
<|file_sep|>original/recipes/default.rb # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions...
6bb0045e06dc3d19eb082a75fd3e1bed92c3599b
recipes/default.rb
recipes/default.rb
Ruby
<|file_sep|>original/main.cpp #include <QApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <stdlib.h> #include <QtGlobal> int main(int argc, char *argv[]) { //TODO: Run this on Qt versions which support it... //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplic...
#include <QApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <stdlib.h> #include <QtGlobal> int main(int argc, char *argv[]) { //TODO: Run this on Qt versions which support it... //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); QQm...
<|file_sep|>original/main.cpp #include <QApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <stdlib.h> #include <QtGlobal> int main(int argc, char *argv[]) { //TODO: Run this on Qt versions which support it... //QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplic...
d9fc39d858ef413ee57507434b47ac4ecb62198c
main.cpp
main.cpp
C++
<|file_sep|>original/.travis-ci.sh bash -ex .travis-opam.sh eval $(opam config env) ocaml_version=$(opam config var ocaml-version) function build_js () { opam install js_of_ocaml make js } case $ocaml_version in 4.02.2) build_js ;; *) echo "Unknown ocaml version: $ocaml_version...
bash -ex .travis-opam.sh eval $(opam config env) ocaml_version=$(opam config var ocaml-version) function build_js () { opam install js_of_ocaml make js } case $ocaml_version in 4.02.3) build_js ;; 4.03.0) build_js ;; *) echo "Unknown ocaml version: $ocaml_ve...
<|file_sep|>original/.travis-ci.sh bash -ex .travis-opam.sh eval $(opam config env) ocaml_version=$(opam config var ocaml-version) function build_js () { opam install js_of_ocaml make js } case $ocaml_version in 4.02.2) build_js ;; *) echo "Unknown ocaml version: $ocaml_version...
5b3d6561d4b9747e548f8a5cf8b13303c5014489
.travis-ci.sh
.travis-ci.sh
Shell
<|file_sep|>original/composer.json "minimum-stability":"dev", "repositories": [{ "type": "package", "package": { "version": "dev-master", "name": "nodge/lessphp", "source": { "url": "https://github.com/Nodge/lessphp.git", "type"...
"minimum-stability":"dev", "repositories": [{ "type": "package", "package": { "version": "dev-master", "name": "nodge/lessphp", "source": { "url": "https://github.com/Nodge/lessphp.git", "type": "git", "reference...
<|file_sep|>original/composer.json "minimum-stability":"dev", "repositories": [{ "type": "package", "package": { "version": "dev-master", "name": "nodge/lessphp", "source": { "url": "https://github.com/Nodge/lessphp.git", "type"...
d9a2b431e621b956a2b213b06edea178ae2f4174
composer.json
composer.json
JSON
<|file_sep|>scripts/babel-relay-plugin/package.json.diff original: "babel-core": "^5.8.3", "graphql": "^0.2.6", updated: <|file_sep|>original/scripts/babel-relay-plugin/package.json "version": "0.1.1", "description": "Babel Relay Plugin for transpiling GraphQL queries for use with Relay.", "license": "BS...
"main": "src/getBabelRelayPlugin.js", "scripts": { "test": "./testjs", "update-schema": "node ./src/generateSchemaJson.js", "update-fixtures": "node ./src/regenerateFixtures.js" }, "files": [ "LICENSE", "PATENTS", "README.md", "src/" ], "devDependencies": { "jasmine-node": "1...
<|file_sep|>scripts/babel-relay-plugin/package.json.diff original: "babel-core": "^5.8.3", "graphql": "^0.2.6", updated: <|file_sep|>original/scripts/babel-relay-plugin/package.json "version": "0.1.1", "description": "Babel Relay Plugin for transpiling GraphQL queries for use with Relay.", "license": "BS...
86ff9250cf5350061e267e988243c59f5e1d6171
scripts/babel-relay-plugin/package.json
scripts/babel-relay-plugin/package.json
JSON
<|file_sep|>original/README.md # MySQL Puppet Module for Boxen Requires the following boxen modules: * `boxen` ## Usage ```puppet include mysql mysql::db { 'mydb': } ``` ## Developing Write code. Run `script/cibuild`. <|file_sep|>current/README.md # MySQL Puppet Module for Boxen Requires the following boxen mo...
* `boxen` ## Usage ```puppet include mysql mysql::db { 'mydb': } ``` ### Environment Once installed, you can access the following variables in your environment, projects, etc: * BOXEN_MYSQL_PORT: the configured MySQL port * BOXEN_MYSQL_URL: the URL for MySQL, including localhost & port * BOXEN_MYSQL_SOCKET: the p...
<|file_sep|>original/README.md # MySQL Puppet Module for Boxen Requires the following boxen modules: * `boxen` ## Usage ```puppet include mysql mysql::db { 'mydb': } ``` ## Developing Write code. Run `script/cibuild`. <|file_sep|>current/README.md # MySQL Puppet Module for Boxen Requires the following boxen mo...
454467f4c8835b8ca855c10440854940a79b3f8b
README.md
README.md
Markdown
<|file_sep|>original/project/plugins.sbt addSbtPlugin("com.github.tkawachi" % "sbt-doctest" % "0.9.6") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.0.0") ...
addSbtPlugin("com.github.tkawachi" % "sbt-doctest" % "0.9.6") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.0.0") val scalaJSVersion = Option(System.gete...
<|file_sep|>original/project/plugins.sbt addSbtPlugin("com.github.tkawachi" % "sbt-doctest" % "0.9.6") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.7.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.0.0") ...
ebc297eaa18a02e1e11d8c19232eeea5c1ec0124
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/lib/defaults/defaultTask.js var options = { "taskId": null, "type": null, "name": null, "title": null, "configuration": {}, "decorators": [], "active": true, "suite": false, "debug": false, "verbose": false, "report": true, "failOnError": false, "echoStdOut": false, "echoStdErr": f...
var options = { "taskId": null, "type": null, "name": null, "title": null, "configuration": {}, "decorators": [], "active": true, "suite": false, "debug": false, "verbose": false, "report": true, "failOnError": false, "echoStdOut": false, "echoStdErr": true }; module.exports = options;
<|file_sep|>original/lib/defaults/defaultTask.js var options = { "taskId": null, "type": null, "name": null, "title": null, "configuration": {}, "decorators": [], "active": true, "suite": false, "debug": false, "verbose": false, "report": true, "failOnError": false, "echoStdOut": false, "echoStdErr": f...
1a3b1ad2a3f71c198eda9550570effba8ebfb7c9
lib/defaults/defaultTask.js
lib/defaults/defaultTask.js
JavaScript
<|file_sep|>original/Neo4j.Driver/runTests.ps1 If ($args.Length -ne 0) { $env:NeoctrlArgs="$args" echo $Env:NeoctrlArgs } $scriptpath = $MyInvocation.MyCommand.Path $dir = Split-Path $scriptpath Invoke-Expression "cd $dir\Neo4j.Driver.Tests; dotnet xunit -f net452 -nobuild" Invoke-Expression "cd $dir\Neo4j.Driver.In...
If ($args.Length -ne 0) { $env:NeoctrlArgs="$args" echo $Env:NeoctrlArgs } $scriptpath = $MyInvocation.MyCommand.Path $dir = Split-Path $scriptpath If (Test-Path $dir\Target) { Remove-Item -Path $dir\Target -Recurse -Force } If (Test-Path $dir\..\Target) { Remove-Item -Path $dir\..\Target -Recurse -Force } Inv...
<|file_sep|>original/Neo4j.Driver/runTests.ps1 If ($args.Length -ne 0) { $env:NeoctrlArgs="$args" echo $Env:NeoctrlArgs } $scriptpath = $MyInvocation.MyCommand.Path $dir = Split-Path $scriptpath Invoke-Expression "cd $dir\Neo4j.Driver.Tests; dotnet xunit -f net452 -nobuild" Invoke-Expression "cd $dir\Neo4j.Driver.In...
5a51f536a564db5cf77d53ce084bbd6fb9ce5cf0
Neo4j.Driver/runTests.ps1
Neo4j.Driver/runTests.ps1
PowerShell
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - ruby-head - jruby-head - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - r...
language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - jruby-head - ree
<|file_sep|>original/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - rbx-19mode - ruby-head - jruby-head - ree <|file_sep|>current/.travis.yml language: ruby rvm: - 1.8.7 - 1.9.2 - 1.9.3 - jruby-18mode - jruby-19mode - rbx-18mode - r...
ebd39a52f08d3acbba694bfba6aa92e164bca26a
.travis.yml
.travis.yml
YAML
<|file_sep|>src/Console/WidgetPublishCommand.php.diff original: protected $signature = 'widget:install {name}'; updated: protected $signature = 'widget:install {name} {--path}'; <|file_sep|>original/src/Console/WidgetPublishCommand.php { parent::__construct(); $this->extensions = $extensions...
/** * Execute the console command. * * @return mixed */ public function handle() { $path = app_path('Widgets') . DIRECTORY_SEPARATOR . $this->argument('name') . '.json'; if ($this->option('path')) { $path = base_path($this->argument('name')); } ...
<|file_sep|>src/Console/WidgetPublishCommand.php.diff original: protected $signature = 'widget:install {name}'; updated: protected $signature = 'widget:install {name} {--path}'; <|file_sep|>original/src/Console/WidgetPublishCommand.php { parent::__construct(); $this->extensions = $extensions...
dda7f9cfe782a66e65720a26d1aa79bdf9d7dd50
src/Console/WidgetPublishCommand.php
src/Console/WidgetPublishCommand.php
PHP
<|file_sep|>original/scripts/moo.coffee # Description: # A cow's gonna be a cow. # # Commands: # hubot moo* - Reply w/ moo module.exports = (robot) -> robot.hear /\bmo{2,}\b/i, (msg) -> if msg.envelope.room == "1s_and_0s" robot.messageHipchat "MOOOOOOOOOOOOOOOOO" else if !msg.envelope.room ...
# Description: # A cow's gonna be a cow. # # Commands: # hubot moo* - Reply w/ moo module.exports = (robot) -> robot.hear /\bmo{2,}\b/i, (msg) -> if msg.envelope.room == "1s_and_0s" robot.messageHipchat "MOOOOOOOOOOOOOOOOO" else if !msg.envelope.room msg.send "This incident will be re...
<|file_sep|>original/scripts/moo.coffee # Description: # A cow's gonna be a cow. # # Commands: # hubot moo* - Reply w/ moo module.exports = (robot) -> robot.hear /\bmo{2,}\b/i, (msg) -> if msg.envelope.room == "1s_and_0s" robot.messageHipchat "MOOOOOOOOOOOOOOOOO" else if !msg.envelope.room ...
e76f744b897e0c5aec5aadf8f9cc0bb8afa86840
scripts/moo.coffee
scripts/moo.coffee
CoffeeScript
<|file_sep|>original/core/migrations/Migration20180529200400ComTools.php <|file_sep|>current/core/migrations/Migration20180529200400ComTools.php <|file_sep|>updated/core/migrations/Migration20180529200400ComTools.php
<?php use Hubzero\Content\Migration\Base; // No direct access defined('_HZEXEC_') or die(); /** * Migration script for adding versionid and doi columns to doi_mapping table **/ class Migration20180529200400ComTools extends Base { /** * Up **/ public function up() { if ($this->db->tableExists('#__doi_mappi...
<|file_sep|>original/core/migrations/Migration20180529200400ComTools.php <|file_sep|>current/core/migrations/Migration20180529200400ComTools.php <|file_sep|>updated/core/migrations/Migration20180529200400ComTools.php <?php use Hubzero\Content\Migration\Base; // No direct access defined('_HZEXEC_') or die(); /** *...
d454ba5786fbf495987ec8d79b9ab263338bc9e9
core/migrations/Migration20180529200400ComTools.php
core/migrations/Migration20180529200400ComTools.php
PHP
<|file_sep|>Project-AENEAS/issues/models.py.diff original: updated: """Mini Issue Tracker program. Originally taken from Paul Bissex's blog post: http://news.e-scribe.com/230 and snippet: http://djangosnippets.org/snippets/28/ """ <|file_sep|>Project-AENEAS/issues/models.py.diff original: updated: from django.contrib...
"""Mini Issue Tracker program. Originally taken from Paul Bissex's blog post: http://news.e-scribe.com/230 and snippet: http://djangosnippets.org/snippets/28/ """ from django.db import models from django.contrib.auth.models import User from django.conf import settings from django.utils.translation import ugettext_lazy ...
<|file_sep|>Project-AENEAS/issues/models.py.diff original: updated: """Mini Issue Tracker program. Originally taken from Paul Bissex's blog post: http://news.e-scribe.com/230 and snippet: http://djangosnippets.org/snippets/28/ """ <|file_sep|>Project-AENEAS/issues/models.py.diff original: updated: from django.contrib...
f3cf8b8e36dc7d2ed5096e17dcfa1f9456a7a996
Project-AENEAS/issues/models.py
Project-AENEAS/issues/models.py
Python
<|file_sep|>original/.travis.yml --- language: ruby sudo: false cache: bundler script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.1 - ruby-head - jruby-9000 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: <|...
--- language: ruby sudo: false cache: bundler script: "bundle exec rake ci" rvm: - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.1 - ruby-head - jruby-9000 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: only: master
<|file_sep|>original/.travis.yml --- language: ruby sudo: false cache: bundler script: "bundle exec rake ci" rvm: - 1.9.3 - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.1 - ruby-head - jruby-9000 - jruby-head matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head fast_finish: true branches: <|...
c62121f30d493baf50b6b34913ddaf6ec8d16427
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.rst .. image:: https://raw.github.com/cloudtools/nymms/master/docs/_static/images/nymms_arch.png Requirements ============ Currently the main requirements are: - Python (2.7 - may work on older versions, haven't tested) - boto - PyYAML (used in a few backends, will eventually not be a req...
.. image:: https://raw.github.com/cloudtools/nymms/master/docs/_static/images/nymms_arch.png Requirements ============ Currently the main requirements are: - Python (2.7 - may work on older versions, haven't tested) - boto - PyYAML (used in a few backends, will eventually not be a requirement unless you need to us...
<|file_sep|>original/README.rst .. image:: https://raw.github.com/cloudtools/nymms/master/docs/_static/images/nymms_arch.png Requirements ============ Currently the main requirements are: - Python (2.7 - may work on older versions, haven't tested) - boto - PyYAML (used in a few backends, will eventually not be a req...
c70782d84551bee4f1528de66950e44cd4f7943f
README.rst
README.rst
reStructuredText
<|file_sep|>original/templates/polls/index.html {% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %} <|file_sep|>current/templates/polls/index.html {% if latest_p...
{% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="{% 'polls:detail' poll.id %}">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %}
<|file_sep|>original/templates/polls/index.html {% if latest_poll_list %} <ul> {% for poll in latest_poll_list %} <li><a href="/polls/{{ poll.id }}/">{{ poll.question }}</a></li> {% endfor %} </ul> {% else %} <p>No polls are available.</p> {% endif %} <|file_sep|>current/templates/polls/index.html {% if latest_p...
7edc38a6885ef7f0c89b286abb2ab2224b9bc32a
templates/polls/index.html
templates/polls/index.html
HTML
<|file_sep|>packages/we/web-routes-generics.yaml.diff original: hash: d1b81b7b5387557de816e23268132d586781f14f30b91c5f5eba7c25991b6468 updated: hash: bd0c99d1b4d9c57d7a1902b7052f2073d6f978323740e201531c06458a959568 <|file_sep|>packages/we/web-routes-generics.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>original/...
homepage: '' changelog-type: '' hash: bd0c99d1b4d9c57d7a1902b7052f2073d6f978323740e201531c06458a959568 test-bench-deps: {} maintainer: partners@seereason.com synopsis: portable, type-safe URL routing changelog: '' basic-deps: base: ! '>=4 && <5' text: -any parsec: ! '>=2 && <4' web-routes: ! '>=0.26' all-versio...
<|file_sep|>packages/we/web-routes-generics.yaml.diff original: hash: d1b81b7b5387557de816e23268132d586781f14f30b91c5f5eba7c25991b6468 updated: hash: bd0c99d1b4d9c57d7a1902b7052f2073d6f978323740e201531c06458a959568 <|file_sep|>packages/we/web-routes-generics.yaml.diff original: updated: - 0.1.0.1 <|file_sep|>original/...
26c8bfd92b751b6c9c25114301a196520af20282
packages/we/web-routes-generics.yaml
packages/we/web-routes-generics.yaml
YAML
<|file_sep|>original/build-aux/cmake/modules/ld-wrapper-linux.sh.in #!/bin/sh # This script overload the dynamic library path. appname=$(basename $0 | sed s,\.sh$,,) dirname=$(dirname $0) case "$dirname" in /*) dirname="$PWD/$dirname" ;; esac paths="$dirname/../lib/$appname" LD_LIBRARY_PATH="$paths" export LD_L...
#!/bin/sh # This script overload the dynamic library path. # Resolve links referring to me. if test -L "$0"; then exec $(readlink -f "$0") fi appname=$(basename $0 | sed s,\.sh$,,) dirname=$(dirname $0) case "$dirname" in /*) dirname="$PWD/$dirname" ;; esac paths="$dirname/../lib/$appname" LD_LIBRARY_PATH=...
<|file_sep|>original/build-aux/cmake/modules/ld-wrapper-linux.sh.in #!/bin/sh # This script overload the dynamic library path. appname=$(basename $0 | sed s,\.sh$,,) dirname=$(dirname $0) case "$dirname" in /*) dirname="$PWD/$dirname" ;; esac paths="$dirname/../lib/$appname" LD_LIBRARY_PATH="$paths" export LD_L...
da77aba36a09130e0355deda1ebbd2419e74aa6f
build-aux/cmake/modules/ld-wrapper-linux.sh.in
build-aux/cmake/modules/ld-wrapper-linux.sh.in
unknown
<|file_sep|>original/html-templates/register/registerComplete.tpl {block title}{_ "Registration complete"} &mdash; {$dwoo.parent}{/block} {block "content"} {$User = $data} <header class="page-header"> <h2>{_ "Registration complete"}</h2> </header> {capture assign=personLink}<a href="{$User->g...
{block title}{_ "Registration complete"} &mdash; {$dwoo.parent}{/block} {block "content"} {$User = $data} <header class="page-header"> <h2>{_ "Registration complete"}</h2> </header> {capture assign=personLink}<a href="{$User->getUrl()|escape}">{$User->Username|escape}</a>{/capture} <p cla...
<|file_sep|>original/html-templates/register/registerComplete.tpl {block title}{_ "Registration complete"} &mdash; {$dwoo.parent}{/block} {block "content"} {$User = $data} <header class="page-header"> <h2>{_ "Registration complete"}</h2> </header> {capture assign=personLink}<a href="{$User->g...
1b99e97fb553760050f29369d0cc28a5282e05fc
html-templates/register/registerComplete.tpl
html-templates/register/registerComplete.tpl
Smarty
<|file_sep|>python/saliweb/frontend/templates/saliweb/results_error.html.diff original: {% block title %}{{ config.SERVICE_NAME }} Error{% endblock %} updated: {% block title %}{{ config.SERVICE_NAME }} Results{% endblock %} <|file_sep|>original/python/saliweb/frontend/templates/saliweb/results_error.html {% extends "l...
{% extends "layout.html" %} {% block title %}{{ config.SERVICE_NAME }} Results{% endblock %} {% block body %} <p>{{ message }}</p> <p>You can check on the status of all jobs at the <a href="{{ url_for("job") }}">queue</a> page.</p> {% endblock %}
<|file_sep|>python/saliweb/frontend/templates/saliweb/results_error.html.diff original: {% block title %}{{ config.SERVICE_NAME }} Error{% endblock %} updated: {% block title %}{{ config.SERVICE_NAME }} Results{% endblock %} <|file_sep|>original/python/saliweb/frontend/templates/saliweb/results_error.html {% extends "l...
593d6332148de7cfa276f2466e20b6c5561e1db4
python/saliweb/frontend/templates/saliweb/results_error.html
python/saliweb/frontend/templates/saliweb/results_error.html
HTML
<|file_sep|>redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql.diff original: CREATE TABLE sslconfig updated: CREATE TABLE IF NOT EXISTS sslconfig <|file_sep|>redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql.diff origina...
PRIMARY KEY (id) ); CREATE SEQUENCE IF NOT EXISTS sslconfig_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; CREATE UNIQUE INDEX IF NOT EXISTS sslconfig_id_idx ON sslconfig(id); CREATE TABLE IF NOT EXISTS sslconfig_sslcertificates ( sslconfig_id bigint NOT NULL REFERENCES sslconfig (id), ...
<|file_sep|>redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql.diff original: CREATE TABLE sslconfig updated: CREATE TABLE IF NOT EXISTS sslconfig <|file_sep|>redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql.diff origina...
51bb63722c98c2aa4b59e7829d22a13ea94c4a4d
redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql
redbeams/src/main/resources/schema/app/20201013110628_CB-9289_ssl_certificate_added_to_db_stack.sql
SQL
<|file_sep|>original/.travis.yml packages: - clang-6.0 - g++-8 env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" - os: linux env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++ && CMAKE_CXX_FLAGS=\"$CMAKE_CXX_FLAGS -stdlib=libc++\" && CMAKE_EXE_LINKER_FLAGS=-lc++abi" before_scr...
packages: - clang-6.0 - g++-8 env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" - os: linux env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++ && CMAKE_CXX_FLAGS=\"$CMAKE_CXX_FLAGS -stdlib=libc++\" && CMAKE_EXE_LINKER_FLAGS=-lc++abi" before_script: - eval "${MATRIX_EVAL}" - tr...
<|file_sep|>original/.travis.yml packages: - clang-6.0 - g++-8 env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" - os: linux env: - MATRIX_EVAL="CC=clang-6.0 && CXX=clang++ && CMAKE_CXX_FLAGS=\"$CMAKE_CXX_FLAGS -stdlib=libc++\" && CMAKE_EXE_LINKER_FLAGS=-lc++abi" before_scr...
e35671e152ce2fbf1436eded509e79fb67781591
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/views/layouts/_current_user.html.erb <% if current_user %> <p>You are signed in as <%= link_to current_user.username, user_resources_path(current_user) %>!</p> <% end %> <|file_sep|>current/app/views/layouts/_current_user.html.erb <% if current_user %> <p>You are signed in as <%= link_to cu...
<% if current_user %> <p>You are signed in as <%= link_to current_user.username, user_path(current_user) %>!</p> <% end %>
<|file_sep|>original/app/views/layouts/_current_user.html.erb <% if current_user %> <p>You are signed in as <%= link_to current_user.username, user_resources_path(current_user) %>!</p> <% end %> <|file_sep|>current/app/views/layouts/_current_user.html.erb <% if current_user %> <p>You are signed in as <%= link_to cu...
178238bf36660e7b247c80f84f8ff9a15c262d5e
app/views/layouts/_current_user.html.erb
app/views/layouts/_current_user.html.erb
HTML+ERB
<|file_sep|>original/testmud/mud/home/Game/sys/treed.c <|file_sep|>current/testmud/mud/home/Game/sys/treed.c <|file_sep|>updated/testmud/mud/home/Game/sys/treed.c
/* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2012 Raymond Jennings * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
<|file_sep|>original/testmud/mud/home/Game/sys/treed.c <|file_sep|>current/testmud/mud/home/Game/sys/treed.c <|file_sep|>updated/testmud/mud/home/Game/sys/treed.c /* * This file is part of Kotaka, a mud library for DGD * http://github.com/shentino/kotaka * * Copyright (C) 2012 Raymond Jennings * * This program...
04b4c5a77120a26053cd853c603ff12cedf03a76
testmud/mud/home/Game/sys/treed.c
testmud/mud/home/Game/sys/treed.c
C
<|file_sep|>packages/sm/smiles.yaml.diff original: hash: e39306f56aa573ee652aa28a0d7d4ecbd64e9fe4506ee07da43218046c6bfc74 updated: hash: fa97f817bda10adb0d4cd6f7b332ef86c2d634053614baecc2c17a05baf25b39 <|file_sep|>original/packages/sm/smiles.yaml synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -a...
synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -any megaparsec: -any all-versions: - '0.1.0.0' - '0.1.0.1' - '0.1.1.0' - '0.2.0.0' author: Artem Kondyukov, Pavel Yakovlev, Vladimir Morozov latest: '0.2.0.0' description-type: markdown description: ! '# smiles [![Travis](https://img.shields....
<|file_sep|>packages/sm/smiles.yaml.diff original: hash: e39306f56aa573ee652aa28a0d7d4ecbd64e9fe4506ee07da43218046c6bfc74 updated: hash: fa97f817bda10adb0d4cd6f7b332ef86c2d634053614baecc2c17a05baf25b39 <|file_sep|>original/packages/sm/smiles.yaml synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' text: -a...
f156a4a0b899328bcb4ff44868642efe181e9895
packages/sm/smiles.yaml
packages/sm/smiles.yaml
YAML
<|file_sep|>original/config/jest.config.json { "moduleNameMapper": { "\\.(css|scss|sass|md|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|)$": "<rootDir>/__mocks__/fileMock.js" } } <|file_sep|>current/config/jest.config.json { "moduleNameMapper": { "\\.(css|scss|sass|md|jpg|jpeg|png|gif|...
{ "moduleNameMapper": { "\\.(css|scss|sass|md|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|)$": "<rootDir>/__mocks__/fileMock.js" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.jsx?$" }
<|file_sep|>original/config/jest.config.json { "moduleNameMapper": { "\\.(css|scss|sass|md|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|)$": "<rootDir>/__mocks__/fileMock.js" } } <|file_sep|>current/config/jest.config.json { "moduleNameMapper": { "\\.(css|scss|sass|md|jpg|jpeg|png|gif|...
78c1c0a5fdaf0e229697a916a755bdca66925010
config/jest.config.json
config/jest.config.json
JSON
<|file_sep|>package.json.diff original: "annois": "0.3.0" updated: "annois": "0.3.0", "require-dir": "0.1.0" <|file_sep|>original/package.json "keywords": [ "blogger", "ghost", "server" ], "author": "Juho Vepsalainen <bebraw@gmail.com> (http://nixtu.info)", "license": { "type": "MIT"...
"keywords": [ "blogger", "ghost", "server" ], "author": "Juho Vepsalainen <bebraw@gmail.com> (http://nixtu.info)", "license": { "type": "MIT", "url": "https://raw.github.com/bebraw/blogger2ghost-server/master/LICENSE" }, "dependencies": { "blogger2ghost": "0.2.0", "express": "3.4...
<|file_sep|>package.json.diff original: "annois": "0.3.0" updated: "annois": "0.3.0", "require-dir": "0.1.0" <|file_sep|>original/package.json "keywords": [ "blogger", "ghost", "server" ], "author": "Juho Vepsalainen <bebraw@gmail.com> (http://nixtu.info)", "license": { "type": "MIT"...
adc0d3de2fc752e78655e429d527ebb0bcd02724
package.json
package.json
JSON
<|file_sep|>original/scripts/run_tests_within_container.sh <|file_sep|>current/scripts/run_tests_within_container.sh <|file_sep|>updated/scripts/run_tests_within_container.sh
#!/bin/bash script_dir=$(dirname "$(readlink -f "$0")") export KB_DEPLOYMENT_CONFIG=$script_dir/../deploy.cfg export KB_AUTH_TOKEN=`cat /kb/module/work/token` export PYTHONPATH=$script_dir/../lib:$PATH:$PYTHONPATH # Set TEST_PATH to run a specific test. Eg: TEST_PATH=test.core.update_taxon_assignments_test export TEST...
<|file_sep|>original/scripts/run_tests_within_container.sh <|file_sep|>current/scripts/run_tests_within_container.sh <|file_sep|>updated/scripts/run_tests_within_container.sh #!/bin/bash script_dir=$(dirname "$(readlink -f "$0")") export KB_DEPLOYMENT_CONFIG=$script_dir/../deploy.cfg export KB_AUTH_TOKEN=`cat /kb/mod...
fbc723c5c4d45533ec006f8ac4f3cab1a180f7f9
scripts/run_tests_within_container.sh
scripts/run_tests_within_container.sh
Shell
<|file_sep|>original/Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs using Lokad.Cqrs.Build.Engine; using NUnit.Framework; namespace Lokad.Cqrs { [TestFixture] public sealed class MiscTests { // ReSharper disable InconsistentNaming [Test] public void Azure_queues_regex_is_valid() ...
using Lokad.Cqrs.Build.Engine; using NUnit.Framework; namespace Lokad.Cqrs { [TestFixture] public sealed class MiscTests { // ReSharper disable InconsistentNaming [Test] public void Azure_queues_regex_is_valid() { Assert.IsTrue(AzureEngineModule.QueueName.IsMatch...
<|file_sep|>original/Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs using Lokad.Cqrs.Build.Engine; using NUnit.Framework; namespace Lokad.Cqrs { [TestFixture] public sealed class MiscTests { // ReSharper disable InconsistentNaming [Test] public void Azure_queues_regex_is_valid() ...
cac8255904a3381233d8f276266f6d95d5528b59
Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs
Framework/Lokad.Cqrs.Azure.Tests/MiscTests.cs
C#
<|file_sep|>original/AUTHORS.txt * Andrey Smirnov <me@smira.ru> * Duncan McGreggor <oubiwann@gmail.com> * Erik Allik <eallik@gmail.com> * Guillermo Gonzalez * Jan Dvořák <mordae@anilinux.org> * Aleks Clark <aleks.clark@gmail.com> * Ralph Bean <rbean@redhat.com> * Alexander Else <|file_sep|>current/AUTHORS.txt * Andrey ...
* Andrey Smirnov <me@smira.ru> * Duncan McGreggor <oubiwann@gmail.com> * Erik Allik <eallik@gmail.com> * Guillermo Gonzalez * Jan Dvořák <mordae@anilinux.org> * Aleks Clark <aleks.clark@gmail.com> * Ralph Bean <rbean@redhat.com> * Alexander Else * David J. Felix
<|file_sep|>original/AUTHORS.txt * Andrey Smirnov <me@smira.ru> * Duncan McGreggor <oubiwann@gmail.com> * Erik Allik <eallik@gmail.com> * Guillermo Gonzalez * Jan Dvořák <mordae@anilinux.org> * Aleks Clark <aleks.clark@gmail.com> * Ralph Bean <rbean@redhat.com> * Alexander Else <|file_sep|>current/AUTHORS.txt * Andrey ...
622d17e7fd56aff6195b757648942deeb75761f4
AUTHORS.txt
AUTHORS.txt
Text
<|file_sep|>original/_posts/events/2017-08-02-monolith-to-microservice.markdown tags: events speakers: - aweigel - jfels location: synyx --- Die Migration von Monolithischen Anwendungen hin zu einer Microservice Architektur stellt oftmals eine große Herausforderung dar. In diesem Vortrag möchten wir die Erfahrungen ...
title: "Vom Monolithen zu Microservices, ein Erfahrungsbericht" date: 2017-08-02 19:15:00 +0200 registration: https://www.xing.com/events/monolithen-microservices-1826030 tags: events speakers: - aweigel - jfels location: synyx --- Die Migration von Monolithischen Anwendungen hin zu einer Microservice Architektur...
<|file_sep|>original/_posts/events/2017-08-02-monolith-to-microservice.markdown tags: events speakers: - aweigel - jfels location: synyx --- Die Migration von Monolithischen Anwendungen hin zu einer Microservice Architektur stellt oftmals eine große Herausforderung dar. In diesem Vortrag möchten wir die Erfahrungen ...
dd0f9cd0090c82b11d76beb9464b3f81592e4445
_posts/events/2017-08-02-monolith-to-microservice.markdown
_posts/events/2017-08-02-monolith-to-microservice.markdown
Markdown
<|file_sep|>original/web/resources/scripts/section.js $('#section-content').html(msg); initAjaxSlideshow(); initThumbnailAction(); }, error: function(msg) { alert("Impossible de charger le diaporama"); } }); } /** * Allows to initialize actio...
$('#section-content').html(msg); initAjaxSlideshow(); initThumbnailAction(); }, error: function(msg) { alert("Impossible de charger le diaporama"); } }); } /** * Allows to initialize action when user click on thumbnails. */ function initThum...
<|file_sep|>original/web/resources/scripts/section.js $('#section-content').html(msg); initAjaxSlideshow(); initThumbnailAction(); }, error: function(msg) { alert("Impossible de charger le diaporama"); } }); } /** * Allows to initialize actio...
ee2761025d20babbf94a171beec7ce68dd08a573
web/resources/scripts/section.js
web/resources/scripts/section.js
JavaScript
<|file_sep|>original/app/views/supporting_pages/show.html.erb <% page_title edition_page_title(@supporting_page), @policy.title, "Policies " %> <%= content_tag_for :article, @document, nil, class: "document-page #{@document.type.downcase}" do %> <header class="block headings-block"> <div class="inner-block float...
<% page_title edition_page_title(@supporting_page), @policy.title, "Policies " %> <%= content_tag_for :article, @document, nil, class: "document_page #{@document.type.downcase}" do %> <header class="block headings-block"> <div class="inner-block floated-children"> <%= render "documents/header", ...
<|file_sep|>original/app/views/supporting_pages/show.html.erb <% page_title edition_page_title(@supporting_page), @policy.title, "Policies " %> <%= content_tag_for :article, @document, nil, class: "document-page #{@document.type.downcase}" do %> <header class="block headings-block"> <div class="inner-block float...
8370aa8bd7c42095d62c0cbc65943f14ef675702
app/views/supporting_pages/show.html.erb
app/views/supporting_pages/show.html.erb
HTML+ERB
<|file_sep|>original/metadata.rb name 's3_dir' maintainer 'EverTrue, Inc.' maintainer_email 'devops@evertrue.com' license 'Apache v2.0' description 'Installs/Configures s3_dir' long_description 'Installs/Configures s3_dir' version '1.4.1' supports 'ubuntu', '= 14.04' depends '...
name 's3_dir' maintainer 'EverTrue, Inc.' maintainer_email 'devops@evertrue.com' license 'Apache v2.0' description 'Installs/Configures s3_dir' long_description 'Installs/Configures s3_dir' version '1.4.1' source_url 'https://github.com/evertrue/s3_dir/' if respond_to?(:source_...
<|file_sep|>original/metadata.rb name 's3_dir' maintainer 'EverTrue, Inc.' maintainer_email 'devops@evertrue.com' license 'Apache v2.0' description 'Installs/Configures s3_dir' long_description 'Installs/Configures s3_dir' version '1.4.1' supports 'ubuntu', '= 14.04' depends '...
1292e62f0545cb896030870e06de65a36f8663f0
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/core/htdocs_source/bower.json { "name": "openxpki-web", "dependencies": { "bootstrap": "", "bootstrap-contextmenu": "", "bootstrap3-typeahead": "3.0.3", "eonasdan-bootstrap-datetimepicker": "3.1.3", "ember": "1.12.0-beta.3", "ember-template-co...
{ "name": "openxpki-web", "dependencies": { "bootstrap": "", "bootstrap-contextmenu": "", "bootstrap3-typeahead": "3.0.3", "eonasdan-bootstrap-datetimepicker": "3.1.3", "ember": "1.12.0", "jquery": "<2.0.0", "moment": "2.9.0", "requirejs": "" }...
<|file_sep|>original/core/htdocs_source/bower.json { "name": "openxpki-web", "dependencies": { "bootstrap": "", "bootstrap-contextmenu": "", "bootstrap3-typeahead": "3.0.3", "eonasdan-bootstrap-datetimepicker": "3.1.3", "ember": "1.12.0-beta.3", "ember-template-co...
c04c2d2144433e391153641df479ef3d7c8b1f7f
core/htdocs_source/bower.json
core/htdocs_source/bower.json
JSON
<|file_sep|>original/_layouts/default.html {{ content }} <div class="footer"> <div class="contact"> <p> Your Name<br /> What You Are<br /> your@email.com </p> </div> ...
<body> <div class="container"> <div class="site"> <div class="header"> <h1 class="title"><a href="/">{{ site.name }}</a></h1> <a class="extra" href="/">home</a> </div> {{ content }} <div class="footer"> ...
<|file_sep|>original/_layouts/default.html {{ content }} <div class="footer"> <div class="contact"> <p> Your Name<br /> What You Are<br /> your@email.com </p> </div> ...
175b37d06887656a3e0cefb7984cc6fc9304c34f
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>original/aiosparkapi/__init__.py <|file_sep|>current/aiosparkapi/__init__.py <|file_sep|>updated/aiosparkapi/__init__.py
import aiosparkapi.requests from .api.messages import Messages from .api.webhooks import Webhooks from .api.people import People import aiohttp class AioSparkApi: def __init__(self, *, access_token): self._client = aiohttp.ClientSession('https://api.ciscospark.com/v1/') self._requests = aiospark...
<|file_sep|>original/aiosparkapi/__init__.py <|file_sep|>current/aiosparkapi/__init__.py <|file_sep|>updated/aiosparkapi/__init__.py import aiosparkapi.requests from .api.messages import Messages from .api.webhooks import Webhooks from .api.people import People import aiohttp class AioSparkApi: def __init__(s...
cca17afe5ed3937713e86f9a8d9c3be0dcdf60b0
aiosparkapi/__init__.py
aiosparkapi/__init__.py
Python
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.5.2 tox==2.3.1 coverage==4.0.3 Sphinx==1.3.5 cryptography==1.2.2 PyYAML==3.11 requests-mock==0.7.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.5.2 tox==2.3.1 cover...
bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.5.4 tox==2.3.1 coverage==4.0.3 Sphinx==1.3.5 cryptography==1.2.2 PyYAML==3.11 requests-mock==0.7.0
<|file_sep|>original/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.5.2 tox==2.3.1 coverage==4.0.3 Sphinx==1.3.5 cryptography==1.2.2 PyYAML==3.11 requests-mock==0.7.0 <|file_sep|>current/requirements_dev.txt bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==2.5.2 tox==2.3.1 cover...
c192bf2b0e3e33ba4c78333844d30689e7f839a2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/Android/project.properties # This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system edit # "ant.properties", and override valu...
# This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system edit # "ant.properties", and override values to adapt the script to your # project structu...
<|file_sep|>original/Android/project.properties # This file is automatically generated by Android Tools. # Do not modify this file -- YOUR CHANGES WILL BE ERASED! # # This file must be checked in Version Control Systems. # # To customize properties used by the Ant build system edit # "ant.properties", and override valu...
1ad5ed15d58da5de6a53b1ecc29ed66850e5acf5
Android/project.properties
Android/project.properties
INI
<|file_sep|>packages/react-input-feedback/src/index.ts.diff original: export default function Input() { return null updated: import { ComponentClass, createElement as r, SFC } from 'react' import { WrappedFieldProps } from 'redux-form' export type Component<P> = string | ComponentClass<P> | SFC<P> export interface ...
export type Component<P> = string | ComponentClass<P> | SFC<P> export interface IInputProps extends WrappedFieldProps { components: { error: Component<any> input: Component<any> wrapper: Component<any> } } export default function Input({ components, input, meta, ...props, }: IInputProps) { ...
<|file_sep|>packages/react-input-feedback/src/index.ts.diff original: export default function Input() { return null updated: import { ComponentClass, createElement as r, SFC } from 'react' import { WrappedFieldProps } from 'redux-form' export type Component<P> = string | ComponentClass<P> | SFC<P> export interface ...
ec77b80284577234fe4a4e4a8c70a67676c22c22
packages/react-input-feedback/src/index.ts
packages/react-input-feedback/src/index.ts
TypeScript
<|file_sep|>original/README.md django-beginners-tutorial ========================= To help others who will go before me. Specifically, making a Django project easier to get started with. Live Idea Map: https://litpen.com/idea/jriMzbo9ij8/ Basic Installation ------------------ * Install pip: http://pip.readthedocs.o...
django-beginners-tutorial ========================= To help others who will go before me. Specifically, making a Django project easier to get started with. Django 1.6 Overview: https://docs.djangoproject.com/en/1.6/intro/overview/ Basic Installation ------------------ * Install pip: http://pip.readthedocs.org/en/la...
<|file_sep|>original/README.md django-beginners-tutorial ========================= To help others who will go before me. Specifically, making a Django project easier to get started with. Live Idea Map: https://litpen.com/idea/jriMzbo9ij8/ Basic Installation ------------------ * Install pip: http://pip.readthedocs.o...
039967652651d61b9540ef53723945f82902d64a
README.md
README.md
Markdown
<|file_sep|>original/Cargo.toml [package] name = "introsort" version = "0.4.0" authors = [ "Viktor Dahl <pazaconyoman@gmail.com>" ] description = """ Fast sorting compatible with #[no_std]. Also has (optional) support for efficient and robust sorting of floating point numbers.""" keywords = ["sorting", "sort", "float"]...
[package] name = "introsort" version = "0.4.1" authors = [ "Viktor Dahl <pazaconyoman@gmail.com>" ] description = """ Fast sorting compatible with #[no_std]. Also has (optional) support for efficient and robust sorting of floating point numbers.""" keywords = ["sorting", "sort", "float"] license = "Apache-2.0" reposito...
<|file_sep|>original/Cargo.toml [package] name = "introsort" version = "0.4.0" authors = [ "Viktor Dahl <pazaconyoman@gmail.com>" ] description = """ Fast sorting compatible with #[no_std]. Also has (optional) support for efficient and robust sorting of floating point numbers.""" keywords = ["sorting", "sort", "float"]...
580f1c39f34156159b15e7faa3ce5c0045d58bc3
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: ubuntu:14.04 steps: # Ensure image has git - run: apt-get -qq update; apt-get -y install git; apt-get install wget; apt-get install build-essential - checkout - run: name: "Pull Submod...
version: 2 jobs: build: docker: - image: ubuntu:14.04 steps: # Ensure image has git - run: apt-get -qq update; apt-get -y install git; apt-get install wget; apt-get -y install build-essential - checkout - run: name: "Pull Submodules" command: | ...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: ubuntu:14.04 steps: # Ensure image has git - run: apt-get -qq update; apt-get -y install git; apt-get install wget; apt-get install build-essential - checkout - run: name: "Pull Submod...
366926a43cbea052e2aef68f0c122912508d0043
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>project.clj.diff original: :plugins [[codox "0.8.15" :exclusions [[org.clojure/clojure]]] updated: :plugins [[lein-codox "0.9.0" :exclusions [[org.clojure/clojure]]] <|file_sep|>original/project.clj :scm {:name "git" :url "https://github.com/fhofherr/simple"} :dependencies [[org.clojure/cloj...
[org.clojure/tools.logging "0.3.1"]] :main ^:skip-aot fhofherr.simple.main :global-vars {*warn-on-reflection* true} :target-path "target/%s" :test-selectors {:unit (complement :integration) :integration :integration} :plugins [[lein-codox "0.9.0" :exclusions [[org.clojure/c...
<|file_sep|>project.clj.diff original: :plugins [[codox "0.8.15" :exclusions [[org.clojure/clojure]]] updated: :plugins [[lein-codox "0.9.0" :exclusions [[org.clojure/clojure]]] <|file_sep|>original/project.clj :scm {:name "git" :url "https://github.com/fhofherr/simple"} :dependencies [[org.clojure/cloj...
f83762cdb7237d9b8ba36c86698c30215c6238a2
project.clj
project.clj
Clojure
<|file_sep|>original/rackattack/common/globallock.py def lock(): before = time.time() with _lock: acquired = time.time() took = acquired - before if took > 0.1: logging.error( "Acquiring the global lock took more than 0.1s: %(took)ss. Stack:\n%(stack)s", dict(...
def lock(): before = time.time() with _lock: acquired = time.time() took = acquired - before if took > 0.1: logging.error( "Acquiring the global lock took more than 0.1s: %(took)ss. Stack:\n%(stack)s", dict( took=took, stack=traceback.forma...
<|file_sep|>original/rackattack/common/globallock.py def lock(): before = time.time() with _lock: acquired = time.time() took = acquired - before if took > 0.1: logging.error( "Acquiring the global lock took more than 0.1s: %(took)ss. Stack:\n%(stack)s", dict(...
f100adc7991f894eac40ebe8ea6b9b67c89df00c
rackattack/common/globallock.py
rackattack/common/globallock.py
Python
<|file_sep|>original/composer.json { "name": "elnur/template-guesser-bundle", "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Elnur Abdurrakhimov", "email": "elnur@elnur.pro", "homepage": "http://www.elnur.pro" } ], "require...
{ "name": "elnur/template-guesser-bundle", "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Elnur Abdurrakhimov", "email": "elnur@elnur.pro", "homepage": "http://www.elnur.pro" } ], "require": { "sensio/framework-extr...
<|file_sep|>original/composer.json { "name": "elnur/template-guesser-bundle", "type": "symfony-bundle", "license": "MIT", "authors": [ { "name": "Elnur Abdurrakhimov", "email": "elnur@elnur.pro", "homepage": "http://www.elnur.pro" } ], "require...
0b40efe4ce2a9374590eed24e383befa4ee2397c
composer.json
composer.json
JSON