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/Configuration/Settings.yaml # this is deprecated and should be configured via TypoScript instead feed: title: 'The Neos Blog' description: 'A great, new - yet unconfigured - blog powered by Neos' uri: '' includeContent: false Neos: Flow: object: ...
# this is deprecated and should be configured via TypoScript instead feed: title: 'The Neos Blog' description: 'A great, new - yet unconfigured - blog powered by Neos' uri: '' includeContent: false Neos: Flow: mvc: routes: 'RobertLemke.Plugin.Blog': true ...
<|file_sep|>original/Configuration/Settings.yaml # this is deprecated and should be configured via TypoScript instead feed: title: 'The Neos Blog' description: 'A great, new - yet unconfigured - blog powered by Neos' uri: '' includeContent: false Neos: Flow: object: ...
2ba2b614358a5ad97058455c5307768030608860
Configuration/Settings.yaml
Configuration/Settings.yaml
YAML
<|file_sep|>original/TOZ_iOS/GalleryTableViewCell.swift @IBOutlet weak var animalImage: UIImageView! @IBOutlet weak var animalName: UILabel! @IBOutlet weak var animalType: UILabel! private var animalID: String? func configure(for animal: AnimalItem) { animalID = animal.animalID sel...
@IBOutlet weak var animalImage: UIImageView! @IBOutlet weak var animalName: UILabel! @IBOutlet weak var animalType: UILabel! private var animalID: String? func configure(for animal: AnimalItem) { animalID = animal.animalID self.animalName.text = animal.name self.animalType....
<|file_sep|>original/TOZ_iOS/GalleryTableViewCell.swift @IBOutlet weak var animalImage: UIImageView! @IBOutlet weak var animalName: UILabel! @IBOutlet weak var animalType: UILabel! private var animalID: String? func configure(for animal: AnimalItem) { animalID = animal.animalID sel...
4dfa04ab599de635eccc13c013996b0630a64e6b
TOZ_iOS/GalleryTableViewCell.swift
TOZ_iOS/GalleryTableViewCell.swift
Swift
<|file_sep|>original/tests/test_smartypants.py <|file_sep|>current/tests/test_smartypants.py <|file_sep|>updated/tests/test_smartypants.py
# -*- coding: utf-8 -*- # This file is part of python-markups test suite # License: BSD # Copyright: (C) Dmitry Shachnev, 2012 from markups.common import educate as ed import unittest class SmartyTest(unittest.TestCase): def test_quotes(self): self.assertEqual(ed('"Isn\'t this fun?"'), '“Isn’t this fun?”') self...
<|file_sep|>original/tests/test_smartypants.py <|file_sep|>current/tests/test_smartypants.py <|file_sep|>updated/tests/test_smartypants.py # -*- coding: utf-8 -*- # This file is part of python-markups test suite # License: BSD # Copyright: (C) Dmitry Shachnev, 2012 from markups.common import educate as ed import un...
3da5a4dd70b50b7988d0023087a9d73274f273ba
tests/test_smartypants.py
tests/test_smartypants.py
Python
<|file_sep|>original/src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java * * @author acearl */ @Extension public class EmailExtTemplateActionFactory extends TransientProjectActionFactory { @Override public Collection<? extends Action> createFor(AbstractProject target) { boolean ...
* * @author acearl */ @Extension public class EmailExtTemplateActionFactory extends TransientProjectActionFactory { @Override public Collection<? extends Action> createFor(AbstractProject target) { boolean hasEmailExt = false; if (target.getPublishersList() != null) { for(Object ...
<|file_sep|>original/src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java * * @author acearl */ @Extension public class EmailExtTemplateActionFactory extends TransientProjectActionFactory { @Override public Collection<? extends Action> createFor(AbstractProject target) { boolean ...
512a8fc4e217bf5919590ce067cdc10309103594
src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java
src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java
Java
<|file_sep|>original/Tests/MongoKittenTests/TestManager.swift import MongoKitten import BSON import Dispatch import Foundation final class TestManager { enum TestError : Error { case TestDataNotPresent } static var mongoURL: (host: String, database: String) { let defaultURL = "mongodb:...
import Async import MongoKitten import BSON import Dispatch import Foundation final class TestManager { enum TestError : Error { case TestDataNotPresent } static var mongoURL: (host: String, database: String) { let defaultURL = "mongodb://localhost:27017/mongokitten-unittest" ...
<|file_sep|>original/Tests/MongoKittenTests/TestManager.swift import MongoKitten import BSON import Dispatch import Foundation final class TestManager { enum TestError : Error { case TestDataNotPresent } static var mongoURL: (host: String, database: String) { let defaultURL = "mongodb:...
a2caa797c67387674dc012ea53fa56a4afdc6a15
Tests/MongoKittenTests/TestManager.swift
Tests/MongoKittenTests/TestManager.swift
Swift
<|file_sep|>test/e2e/website/scroll-and-click-command.html.diff original: updated: top: 100px; <|file_sep|>original/test/e2e/website/scroll-and-click-command.html position: fixed; } .block1 { height: 100px; width: 100px; background-color: green; } .block2 { ...
position: fixed; top: 100px; } .block1 { height: 100px; width: 100px; background-color: green; } .block2 { height: 1000px; width: 100px; background-color: blue; } </style> <body> <div class="floating">Blabla...</div> <div class="bloc...
<|file_sep|>test/e2e/website/scroll-and-click-command.html.diff original: updated: top: 100px; <|file_sep|>original/test/e2e/website/scroll-and-click-command.html position: fixed; } .block1 { height: 100px; width: 100px; background-color: green; } .block2 { ...
acbebf80ada6672730502913f2f26b2e79dc0a00
test/e2e/website/scroll-and-click-command.html
test/e2e/website/scroll-and-click-command.html
HTML
<|file_sep|>original/cibuild.cmd <|file_sep|>current/cibuild.cmd <|file_sep|>updated/cibuild.cmd
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 msbuild /v:m /m BuildAndTest.proj /p:CIBuild=true REM Kill any instances of VBCSCompiler.exe to release locked files; REM otherwise future CI runs may fail while trying to delete those files. taskkill /F /IM vbcscompiler.exe
<|file_sep|>original/cibuild.cmd <|file_sep|>current/cibuild.cmd <|file_sep|>updated/cibuild.cmd call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 msbuild /v:m /m BuildAndTest.proj /p:CIBuild=true REM Kill any instances of VBCSCompiler.exe to release locked files; REM otherwise future C...
7fc867cfca640e68b6ef712a34e06805407edf38
cibuild.cmd
cibuild.cmd
Batchfile
<|file_sep|>docs/release-process.rst.diff original: * Update version numbers: updated: * Update version numbers using the three-part x.y.z notation everywhere: <|file_sep|>original/docs/release-process.rst Release process =============== Note: this is intended for core committers. * Update CHANGES.md with everything ...
Release process =============== Note: this is intended for core committers. * Update CHANGES.md with everything interesting since the last update. * Update version numbers using the three-part x.y.z notation everywhere: * The header in CHANGES.md (this is where the site looks for the latest version number) * ``...
<|file_sep|>docs/release-process.rst.diff original: * Update version numbers: updated: * Update version numbers using the three-part x.y.z notation everywhere: <|file_sep|>original/docs/release-process.rst Release process =============== Note: this is intended for core committers. * Update CHANGES.md with everything ...
70acae2eaa07107d11838297814a88583db461ef
docs/release-process.rst
docs/release-process.rst
reStructuredText
<|file_sep|>original/debates2txt.py <|file_sep|>current/debates2txt.py <|file_sep|>updated/debates2txt.py
#!/usr/bin/env python # -.*- coding: utf-8 -.*- """Script to save text in xml file(s) to text file(s). Usage: debates2txt.py <xml-file or directory containing xml files> 2014-12-15 j.vanderzwaan@esciencecenter.nl """ import argparse import xml.etree.ElementTree as ET import re import os import codecs if __name__ ==...
<|file_sep|>original/debates2txt.py <|file_sep|>current/debates2txt.py <|file_sep|>updated/debates2txt.py #!/usr/bin/env python # -.*- coding: utf-8 -.*- """Script to save text in xml file(s) to text file(s). Usage: debates2txt.py <xml-file or directory containing xml files> 2014-12-15 j.vanderzwaan@esciencecenter....
475c968a16809a386a1249de396d0574623b682d
debates2txt.py
debates2txt.py
Python
<|file_sep|>CONTRIBUTING.md.diff original: * Use [JSHint](http://www.jshint.com) and respect the `.jshintrc` file. * Use [EditorConfig](http://www.editorconfig.com) and respect the `.editorconfig` file. * Write test for your modifications (use `mocha` and `chai` modules). * Keep the code coverage as high as poss...
Contributing :heart: ==================== Thanks for your interest! In order to keep the code coherent there are some easy-to-follow rules. * Use [StandrdJS](https://standardjs.com/) * Write test for your modifications (use `mocha` and `chai` modules). * Keep the code coverage as high as possible (100% is awesome!). ...
<|file_sep|>CONTRIBUTING.md.diff original: * Use [JSHint](http://www.jshint.com) and respect the `.jshintrc` file. * Use [EditorConfig](http://www.editorconfig.com) and respect the `.editorconfig` file. * Write test for your modifications (use `mocha` and `chai` modules). * Keep the code coverage as high as poss...
2531419f8335586733a0bc69985eb63229cd38fc
CONTRIBUTING.md
CONTRIBUTING.md
Markdown
<|file_sep|>original/ComponentKit/Debug/CKComponentDebugController.h * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same dir...
* All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #import <Foundation/Foundation.h> #import <Component...
<|file_sep|>original/ComponentKit/Debug/CKComponentDebugController.h * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same dir...
a833979af5fa88902eac3ab7a3b106ca6f0e5561
ComponentKit/Debug/CKComponentDebugController.h
ComponentKit/Debug/CKComponentDebugController.h
C
<|file_sep|>original/.travis.yml env: global: - LC_CTYPE=en_US.UTF-8 matrix: include: - os: osx language: objective-c osx_image: xcode9.2 before_install: - ./scripts/install_swiftlint.sh script: - swiftlint - set -o pipefail - xcodebuild build-for-test...
env: global: - LC_CTYPE=en_US.UTF-8 matrix: include: - os: osx language: objective-c osx_image: xcode9.2 before_install: - ./scripts/install_swiftlint.sh script: - swiftlint - set -o pipefail - xcodebuild build-for-testing test-without-building -scheme...
<|file_sep|>original/.travis.yml env: global: - LC_CTYPE=en_US.UTF-8 matrix: include: - os: osx language: objective-c osx_image: xcode9.2 before_install: - ./scripts/install_swiftlint.sh script: - swiftlint - set -o pipefail - xcodebuild build-for-test...
211f972c137520f0f27d3470223977b96c6d8b90
.travis.yml
.travis.yml
YAML
<|file_sep|>recipes/starling/starling_0.9.bb.diff original: gst-plugin-mad \ updated: <|file_sep|>original/recipes/starling/starling_0.9.bb inherit gpe autotools SRC_URI = "http://gpe.linuxtogo.org/download/source/starling-${PV}.tar.bz2" RDEPENDS_${PN} = "\ esd \ gst-plugin-audioconvert \ gst-plugin-esd \ ...
inherit gpe autotools SRC_URI = "http://gpe.linuxtogo.org/download/source/starling-${PV}.tar.bz2" RDEPENDS_${PN} = "\ esd \ gst-plugin-audioconvert \ gst-plugin-esd \ gst-plugin-typefindfunctions \ gst-plugin-decodebin \ gst-plugin-volume \ " RRECOMMENDS_${PN} = "\ gst-plugin-modplug \ gst-plugin-ivor...
<|file_sep|>recipes/starling/starling_0.9.bb.diff original: gst-plugin-mad \ updated: <|file_sep|>original/recipes/starling/starling_0.9.bb inherit gpe autotools SRC_URI = "http://gpe.linuxtogo.org/download/source/starling-${PV}.tar.bz2" RDEPENDS_${PN} = "\ esd \ gst-plugin-audioconvert \ gst-plugin-esd \ ...
5ac637998e557bb0292531d4ac2f223e3a0d76f0
recipes/starling/starling_0.9.bb
recipes/starling/starling_0.9.bb
BitBake
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.8.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.8.0 tox==2.9.1 <|file_sep|>updated/requirements.txt
docker==2.5.1 molecule==1.25.0 pytest==3.2.3 python-vagrant==0.5.15 testinfra==1.8.0 tox==2.9.1
<|file_sep|>original/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.8.0 tox==2.9.1 <|file_sep|>current/requirements.txt docker==2.5.1 molecule==1.25.0 pytest==3.2.2 python-vagrant==0.5.15 testinfra==1.8.0 tox==2.9.1 <|file_sep|>updated/requirements.txt docker==2.5.1 mo...
585be9feed9e6fb4f29ecadede2170cbf36ec91b
requirements.txt
requirements.txt
Text
<|file_sep|>original/build_test_tag_publish.sh #!/bin/bash -Eeu readonly SH_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/sh" && pwd)" source ${SH_DIR}/versioner_env_vars.sh export $(versioner_env_vars) "${SH_DIR}/containers_down.sh" "${SH_DIR}/build_images.sh" "${SH_DIR}/tag_image.sh" if [ "${1:-}" == '--no-test' ]; the...
#!/bin/bash -Eeu readonly SH_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/sh" && pwd)" source ${SH_DIR}/versioner_env_vars.sh export $(versioner_env_vars) "${SH_DIR}/containers_down.sh" "${SH_DIR}/build_images.sh" "${SH_DIR}/tag_image.sh" if [ "${1:-}" == '--build-only' ]; then exit 0 fi "${SH_DIR}/containers_up.sh" "...
<|file_sep|>original/build_test_tag_publish.sh #!/bin/bash -Eeu readonly SH_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/sh" && pwd)" source ${SH_DIR}/versioner_env_vars.sh export $(versioner_env_vars) "${SH_DIR}/containers_down.sh" "${SH_DIR}/build_images.sh" "${SH_DIR}/tag_image.sh" if [ "${1:-}" == '--no-test' ]; the...
3900f6dba07fa59df8318441ad720dd62922b91f
build_test_tag_publish.sh
build_test_tag_publish.sh
Shell
<|file_sep|>data/haxademic/shaders/filters/mirror-quad.glsl.diff original: uv = fract(uv); // repeat updated: uv = fract(uv - 0.5); // repeat <|file_sep|>original/data/haxademic/shaders/filters/mirror-quad.glsl #endif #define PROCESSING_TEXTURE_SHADER uniform sampler2D texture; uniform sampler2D t...
precision mediump int; #endif #define PROCESSING_TEXTURE_SHADER uniform sampler2D texture; uniform sampler2D textureDupe; // uv multiplication gets weird and buggy on original texture varying vec4 vertColor; varying vec4 vertTexCoord; uniform float zoom = 1.; void main() { vec2 uv = vertTexCoord.xy - 0...
<|file_sep|>data/haxademic/shaders/filters/mirror-quad.glsl.diff original: uv = fract(uv); // repeat updated: uv = fract(uv - 0.5); // repeat <|file_sep|>original/data/haxademic/shaders/filters/mirror-quad.glsl #endif #define PROCESSING_TEXTURE_SHADER uniform sampler2D texture; uniform sampler2D t...
ede51d29e908f124e5c89a297f706784755f44d7
data/haxademic/shaders/filters/mirror-quad.glsl
data/haxademic/shaders/filters/mirror-quad.glsl
GLSL
<|file_sep|>original/refinerycms-testimonials.gemspec require File.expand_path('lib/refinery/testimonials/version', __dir__) version = Refinery::Testimonials::Version.to_s Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'refinerycms-testimonials' s.version =...
require File.expand_path('lib/refinery/testimonials/version', __dir__) version = Refinery::Testimonials::Version.to_s Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'refinerycms-testimonials' s.version = version s.description = 'Ruby on Rails Testim...
<|file_sep|>original/refinerycms-testimonials.gemspec require File.expand_path('lib/refinery/testimonials/version', __dir__) version = Refinery::Testimonials::Version.to_s Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY s.name = 'refinerycms-testimonials' s.version =...
5762acad7015fbd03b42249bb70300d591133e73
refinerycms-testimonials.gemspec
refinerycms-testimonials.gemspec
Ruby
<|file_sep|>original/setup.py pass def run(self): errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.tests']) raise SystemExit(errno) setup( name='gis_metadata_parser', description='Parser for GIS metadata standards including FGDC and ISO-19115', ke...
pass def run(self): errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.tests']) raise SystemExit(errno) setup( name='gis_metadata_parser', description='Parser for GIS metadata standards including FGDC and ISO-19115', keywords='fgdc,iso,ISO-19115,ISO...
<|file_sep|>original/setup.py pass def run(self): errno = subprocess.call([sys.executable, '-m', 'unittest', 'gis_metadata.tests.tests']) raise SystemExit(errno) setup( name='gis_metadata_parser', description='Parser for GIS metadata standards including FGDC and ISO-19115', ke...
9f4215c6ca5cf8e022b8a6d180f0c47170eee7df
setup.py
setup.py
Python
<|file_sep|>original/src/dynmen/dmenu.py # -*- coding: utf-8 -*- from os import path as _path from dynmen.common import TraitMenu as _TraitMenu from dynmen.generator import (AddOptions as _AddOptions, load_options as _load_options,) _dirname = _path.dirname(_path.abspath(__file__)) _path...
# -*- coding: utf-8 -*- from os import path as _path from dynmen.common import TraitMenu as _TraitMenu from dynmen.generator import (AddOptions as _AddOptions, load_options as _load_options,) _dirname = _path.dirname(_path.abspath(__file__)) _path = _path.join(_dirname, 'data/dmenu_opts....
<|file_sep|>original/src/dynmen/dmenu.py # -*- coding: utf-8 -*- from os import path as _path from dynmen.common import TraitMenu as _TraitMenu from dynmen.generator import (AddOptions as _AddOptions, load_options as _load_options,) _dirname = _path.dirname(_path.abspath(__file__)) _path...
c6fc60ec33c98b0a4b6272f5304b76477f5955f8
src/dynmen/dmenu.py
src/dynmen/dmenu.py
Python
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper def sidebar_link_to(name, path, options = {}) url = "/docs/#{path}" options[:class] = [options[:class]].flatten.compact options[:class] << 'Docs__nav__sub-nav__item__link Link--on-white Link--no-underline' options[:class]...
url = "/docs/#{path}" options[:class] = [options[:class]].flatten.compact options[:class] << 'Docs__nav__sub-nav__item__link Link--on-white Link--no-underline' options[:class] << "active" if current_page?(url) link_to(name, url, options) end def open_source_url # This dirty hack grabs the...
<|file_sep|>original/app/helpers/application_helper.rb module ApplicationHelper def sidebar_link_to(name, path, options = {}) url = "/docs/#{path}" options[:class] = [options[:class]].flatten.compact options[:class] << 'Docs__nav__sub-nav__item__link Link--on-white Link--no-underline' options[:class]...
8965cca8a6640c5fb6fbacd03e17eb895394ed69
app/helpers/application_helper.rb
app/helpers/application_helper.rb
Ruby
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Create a report to help us improve Airbrake title: '' labels: bug assignees: sgray --- # 🐞 bug report ### Affected Package <!-- Can you identify one or more @airbrake/* packages as the source of the bug? --> <!-- ✍️edit: --> The issue is caused by package @airbrake/.... ### Is this a r...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md --- name: Bug report about: Create a report to help us improve Airbrake title: '' labels: bug assignees: sgray --- # 🐞 bug report ### Affected...
e7bd6fe3c99e4d000c237ecaf63843244b6421d7
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>original/index.js import { createStore } from 'redux' import reducers from './reducers/index.js' import { ActionCreators as UndoActionCreators } from 'redux-undo' import * as actions from 'actions/index.js' import Draggable from './components/Draggable.js' const store = createStore(reducers) const draggabl...
import { createStore } from 'redux' import reducers from './reducers/index.js' import { ActionCreators as UndoActionCreators } from 'redux-undo' import * as actions from 'actions/index.js' import Draggable from './components/Draggable.js' const store = createStore(reducers) const draggable = new Draggable( document....
<|file_sep|>original/index.js import { createStore } from 'redux' import reducers from './reducers/index.js' import { ActionCreators as UndoActionCreators } from 'redux-undo' import * as actions from 'actions/index.js' import Draggable from './components/Draggable.js' const store = createStore(reducers) const draggabl...
bf032fca78673762c6e04876dea16e787cf506ac
index.js
index.js
JavaScript
<|file_sep|>original/renovate.json { "extends": [ "config:base" ], "commitBody": "Signed-off-by: {{{gitAuthor}}}", "automerge": true, "major": { "automerge": false } } <|file_sep|>current/renovate.json { "extends": [ "config:base" ], "commitBody": "Signed-off-by: {{{gitAuthor}}}", "autom...
{ "extends": [ "config:base" ], "commitBody": "Signed-off-by: {{{gitAuthor}}}", "automerge": true, "labels": [ "dependencies" ], "major": { "automerge": false } }
<|file_sep|>original/renovate.json { "extends": [ "config:base" ], "commitBody": "Signed-off-by: {{{gitAuthor}}}", "automerge": true, "major": { "automerge": false } } <|file_sep|>current/renovate.json { "extends": [ "config:base" ], "commitBody": "Signed-off-by: {{{gitAuthor}}}", "autom...
e114a411942c876f80844fe4aff7a7989decd0ae
renovate.json
renovate.json
JSON
<|file_sep|>original/css/fonts.less @import 'pt_mono'; @import url(//fonts.googleapis.com/css?family=Cuprum:400,700,700italic,400italic&subset=latin,cyrillic); body { font-family: 'Cuprum', sans-serif; } pre, code { font-family: 'pt_monoregular', monospace; font-size: 14px; } <|file_sep|>current/css/fonts.less @im...
@import 'pt_mono'; @import url(https://fonts.googleapis.com/css?family=Cuprum:400,700,700italic,400italic&subset=latin,cyrillic); body { font-family: 'Cuprum', sans-serif; } pre, code { font-family: 'pt_monoregular', monospace; font-size: 14px; }
<|file_sep|>original/css/fonts.less @import 'pt_mono'; @import url(//fonts.googleapis.com/css?family=Cuprum:400,700,700italic,400italic&subset=latin,cyrillic); body { font-family: 'Cuprum', sans-serif; } pre, code { font-family: 'pt_monoregular', monospace; font-size: 14px; } <|file_sep|>current/css/fonts.less @im...
6c822bd21b2041c16ea3cef0256933b25b789c41
css/fonts.less
css/fonts.less
Less
<|file_sep|>original/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json <|file_sep|>current/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json <|file_sep|>updated/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json
{ "version":"1.0", "oldState":{ "stateValue":"ALARM", "stateReason":"Threshold Crossed: 1 datapoint [6.0 (03/08/19 20:35:00)] was greater than the threshold (0.0).", "stateReasonData":{ "version":"1.0", "queryDate":"2019-08-03T20:36:32.716+0000", "startDate":"2019-08-03T20:35:00.000+00...
<|file_sep|>original/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json <|file_sep|>current/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json <|file_sep|>updated/notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json { "version":"1.0", ...
5f8ab16cbb1fe719ce5518b4079e42454832c22a
notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json
notifications/lambdas/cloudwatch-alarm-notification-handler/history_data.json
JSON
<|file_sep|>original/atom.sh ATOM_PATH=/Applications/Atom.app ATOM_BINARY=$ATOM_PATH/Contents/MacOS/Atom if [ ! -d $ATOM_PATH ]; then sleep 5; fi # Wait for Atom to reappear, Sparkle may be replacing it. if [ ! -d $ATOM_PATH ]; then echo "Atom application not found at '$ATOM_PATH'" >&2 exit 1 fi while getopts ":...
ATOM_PATH=/Applications/Atom.app ATOM_BINARY=$ATOM_PATH/Contents/MacOS/Atom if [ ! -d $ATOM_PATH ]; then sleep 5; fi # Wait for Atom to reappear, Sparkle may be replacing it. if [ ! -d $ATOM_PATH ]; then echo "Atom application not found at '$ATOM_PATH'" >&2 exit 1 fi while getopts ":wtfvhs-:" opt; do case "$op...
<|file_sep|>original/atom.sh ATOM_PATH=/Applications/Atom.app ATOM_BINARY=$ATOM_PATH/Contents/MacOS/Atom if [ ! -d $ATOM_PATH ]; then sleep 5; fi # Wait for Atom to reappear, Sparkle may be replacing it. if [ ! -d $ATOM_PATH ]; then echo "Atom application not found at '$ATOM_PATH'" >&2 exit 1 fi while getopts ":...
b92b6e689d4fa485f916b4b989cca2341b0be080
atom.sh
atom.sh
Shell
<|file_sep|>original/ichnaea/gunicorn_config.py # This file contains gunicorn configuration setttings, as described at # http://docs.gunicorn.org/en/latest/settings.html # The file is loaded via the -c ichnaea.gunicorn_config command line option # Be explicit about the worker class worker_class = "sync" # Set timeout...
# This file contains gunicorn configuration setttings, as described at # http://docs.gunicorn.org/en/latest/settings.html # The file is loaded via the -c ichnaea.gunicorn_config command line option # Be explicit about the worker class worker_class = "sync" # Set timeout to the same value as the default one from Amazo...
<|file_sep|>original/ichnaea/gunicorn_config.py # This file contains gunicorn configuration setttings, as described at # http://docs.gunicorn.org/en/latest/settings.html # The file is loaded via the -c ichnaea.gunicorn_config command line option # Be explicit about the worker class worker_class = "sync" # Set timeout...
e9f3b6f9eb59ef7290498e8ceaf81c2bc66c8f59
ichnaea/gunicorn_config.py
ichnaea/gunicorn_config.py
Python
<|file_sep|>original/db/migrate/20160117202815_create_sendings.rb <|file_sep|>current/db/migrate/20160117202815_create_sendings.rb <|file_sep|>updated/db/migrate/20160117202815_create_sendings.rb
class CreateSendings < ActiveRecord::Migration def change create_table :sendings do |t| t.references :notification, index: true, foreign_key: true t.string :type t.timestamp :sending_at t.timestamps null: false end end end
<|file_sep|>original/db/migrate/20160117202815_create_sendings.rb <|file_sep|>current/db/migrate/20160117202815_create_sendings.rb <|file_sep|>updated/db/migrate/20160117202815_create_sendings.rb class CreateSendings < ActiveRecord::Migration def change create_table :sendings do |t| t.references :notifica...
129c2b85b3009915545db16ea8996773790288c2
db/migrate/20160117202815_create_sendings.rb
db/migrate/20160117202815_create_sendings.rb
Ruby
<|file_sep|>original/roles/web.rb :status => :role, :members => [:tomh, :grant] } } }, :nfs => { "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } }, :passenger => { :pool_idle_time => 0 }, :web => { :status => "database_readonly", :database_host =...
:status => :role, :members => [:tomh, :grant] } } }, :nfs => { "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } }, :passenger => { :pool_idle_time => 0 }, :web => { :status => "online", :database_host => "db", :readonly_database_host => "db" ...
<|file_sep|>original/roles/web.rb :status => :role, :members => [:tomh, :grant] } } }, :nfs => { "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } }, :passenger => { :pool_idle_time => 0 }, :web => { :status => "database_readonly", :database_host =...
74095e6a698a5bdd8df5d8be906b99d6d8e70277
roles/web.rb
roles/web.rb
Ruby
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 matrix: allow_failures: - php: 7.2 include: - php: 7.1 script: - phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - php ./vendor/bin/ocular code-coverage:upload --format=ph...
language: php php: - 7.1 - 7.2 matrix: include: - php: 7.1 script: - phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - php ./vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover before_script: - travis_retry composer se...
<|file_sep|>original/.travis.yml language: php php: - 7.1 - 7.2 matrix: allow_failures: - php: 7.2 include: - php: 7.1 script: - phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - php ./vendor/bin/ocular code-coverage:upload --format=ph...
172c319fe6bdc61420832a168c1e31ac8cba4f9a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/More/README.md # More * [Delegation](Delegation) [:notebook:](http://en.wikipedia.org/wiki/Delegation_pattern) * [ServiceLocator](ServiceLocator) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern) <|file_sep|>current/More/README.md # More * [Delegation](Delegation) [:notebook:](ht...
# More * [Delegation](Delegation) [:notebook:](http://en.wikipedia.org/wiki/Delegation_pattern) * [ServiceLocator](ServiceLocator) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern) * [Repository](Repository)
<|file_sep|>original/More/README.md # More * [Delegation](Delegation) [:notebook:](http://en.wikipedia.org/wiki/Delegation_pattern) * [ServiceLocator](ServiceLocator) [:notebook:](http://en.wikipedia.org/wiki/Service_locator_pattern) <|file_sep|>current/More/README.md # More * [Delegation](Delegation) [:notebook:](ht...
43ec81a3a647c5fc33da687fefe9fc5fa942f3e5
More/README.md
More/README.md
Markdown
<|file_sep|>original/gradle.properties # Application Versions version=0.2.3 # Consumed Language/Build System Versions javaVersion=1.8 gradleVersion=4.2.1 <|file_sep|>current/gradle.properties # Application Versions version=0.2.3 # Consumed Language/Build System Versions javaVersion=1.8 gradleVersion=4.2.1 <|file_sep|...
# Application Versions version=0.2.4-SNAPSHOT # Consumed Language/Build System Versions javaVersion=1.8 gradleVersion=4.2.1
<|file_sep|>original/gradle.properties # Application Versions version=0.2.3 # Consumed Language/Build System Versions javaVersion=1.8 gradleVersion=4.2.1 <|file_sep|>current/gradle.properties # Application Versions version=0.2.3 # Consumed Language/Build System Versions javaVersion=1.8 gradleVersion=4.2.1 <|file_sep|...
2a5bafe90583ff862366395bd3e8c40d95c2bf06
gradle.properties
gradle.properties
INI
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.2) project(anitomy_lib) # Boost lib dependency set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/node_modules/boost-lib/cmake") include(BoostLib) require_boost_libs(">= v1.58.0" locale) # Include JS, Boost and Anitomy directories include_directorie...
cmake_minimum_required(VERSION 3.2) project(anitomy_lib) # Boost lib dependency set(NODE_MODULES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/node_modules") if(NOT EXISTS "${NODE_MODULES_DIR}" OR NOT IS_DIRECTORY "${NODE_MODULES_DIR}") set(NODE_MODULES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../node_modules") endif() set(CMAKE_MOD...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.2) project(anitomy_lib) # Boost lib dependency set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/node_modules/boost-lib/cmake") include(BoostLib) require_boost_libs(">= v1.58.0" locale) # Include JS, Boost and Anitomy directories include_directorie...
1d5bbce887f26ba85903aad4eff519077c47a5d2
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>core/objectspace/_id2ref_spec.rb.diff original: it "retrieves an Integer by object_id" do f = 1 r = ObjectSpace._id2ref(f.object_id) r.should == f updated: it "retrieves true by object_id" do ObjectSpace._id2ref(true.object_id).should == true end it "retrieves false by object_id" do...
ObjectSpace._id2ref((-42).object_id).should == -42 end it "retrieves a large Integer by object_id" do obj = 1 << 88 ObjectSpace._id2ref(obj.object_id).should.equal?(obj) end it "retrieves a Symbol by object_id" do ObjectSpace._id2ref(:sym.object_id).should.equal?(:sym) end it "retrieves a...
<|file_sep|>core/objectspace/_id2ref_spec.rb.diff original: it "retrieves an Integer by object_id" do f = 1 r = ObjectSpace._id2ref(f.object_id) r.should == f updated: it "retrieves true by object_id" do ObjectSpace._id2ref(true.object_id).should == true end it "retrieves false by object_id" do...
f38166d481598324cf7961db03c0aba3a901040a
core/objectspace/_id2ref_spec.rb
core/objectspace/_id2ref_spec.rb
Ruby
<|file_sep|>original/mini_magick.gemspec $:.push File.expand_path("../lib", __FILE__) require "mini_magick/version" Gem::Specification.new do |s| s.name = "mini_magick" s.version = MiniMagick::VERSION s.platform = Gem::Platform::RUBY s.summary = "Manipulate images with minimal use of memory ...
$:.push File.expand_path("../lib", __FILE__) require "mini_magick/version" Gem::Specification.new do |s| s.name = "mini_magick" s.version = MiniMagick::VERSION s.platform = Gem::Platform::RUBY s.summary = "Manipulate images with minimal use of memory via ImageMagick / GraphicsMagick" s.des...
<|file_sep|>original/mini_magick.gemspec $:.push File.expand_path("../lib", __FILE__) require "mini_magick/version" Gem::Specification.new do |s| s.name = "mini_magick" s.version = MiniMagick::VERSION s.platform = Gem::Platform::RUBY s.summary = "Manipulate images with minimal use of memory ...
29cec93268c916a063b9e551916af1f4c82427a5
mini_magick.gemspec
mini_magick.gemspec
Ruby
<|file_sep|>original/.travis.yml branches: only: - dev - customized # Manual build matrix. # See https://github.com/travis-ci/travis-ci/issues/1519 env: - SCENARIO=default PYTHONWARNINGS='ignore::DeprecationWarning' MOLECULE_DISTRO=ubuntu1604 - SCENARIO=wordpress-deploy PYTHONWARNINGS='ignore::DeprecationWar...
branches: only: - dev - customized # Manual build matrix. # See https://github.com/travis-ci/travis-ci/issues/1519 env: - SCENARIO=default PYTHONWARNINGS='ignore::DeprecationWarning' MOLECULE_DISTRO=ubuntu1604 - SCENARIO=wordpress-deploy PYTHONWARNINGS='ignore::DeprecationWarning' MOLECULE_DISTRO=ubuntu1604 ...
<|file_sep|>original/.travis.yml branches: only: - dev - customized # Manual build matrix. # See https://github.com/travis-ci/travis-ci/issues/1519 env: - SCENARIO=default PYTHONWARNINGS='ignore::DeprecationWarning' MOLECULE_DISTRO=ubuntu1604 - SCENARIO=wordpress-deploy PYTHONWARNINGS='ignore::DeprecationWar...
a42adbe921c2ca3f000a0a67c57c37699862d7bc
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer self-update - composer install --prefer-source --no-interaction --dev script: - ./vendor/bin/phpcbf --standard=PSR2 -v src/ - phpunit --coverage-clover=coverage.clover after_script: - if [...
sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer self-update - composer install --prefer-source --no-interaction --dev script: - ./vendor/bin/phpcbf --standard=PSR2 -v src/ - ./vendor/bin/phpunit --coverage-clover=coverage.clover after_script: - if [ "$TRAVIS_PHP_VERSIO...
<|file_sep|>original/.travis.yml sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer self-update - composer install --prefer-source --no-interaction --dev script: - ./vendor/bin/phpcbf --standard=PSR2 -v src/ - phpunit --coverage-clover=coverage.clover after_script: - if [...
5ce5a473492f691e0bd2679b00b64886cc0b7890
.travis.yml
.travis.yml
YAML
<|file_sep|>lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h.diff original: private: ARMLinkingContext &_ctx; ARMTargetLayout &_armLayout; updated: <|file_sep|>original/lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h public: ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ARMTargetLayout &layout); protect...
public: ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ARMTargetLayout &layout); protected: // Add any runtime files and their atoms to the output void createImplicitFiles(std::vector<std::unique_ptr<File>> &) override; }; ARMDynamicLibraryWriter::ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ...
<|file_sep|>lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h.diff original: private: ARMLinkingContext &_ctx; ARMTargetLayout &_armLayout; updated: <|file_sep|>original/lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h public: ARMDynamicLibraryWriter(ARMLinkingContext &ctx, ARMTargetLayout &layout); protect...
a9787a770a80293b0b709a49403460c9a380c9ed
lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h
lib/ReaderWriter/ELF/ARM/ARMDynamicLibraryWriter.h
C
<|file_sep|>original/requirements.txt # These requirements are only necessary when developing on Oscar. # development Werkzeug==0.12.1 django-debug-toolbar==1.6 django-extensions==1.7.7 # Sandbox Pillow==4.0.0 Whoosh==2.7.4 django-environ==0.4.1 django-redis==4.7.0 pysolr==3.6.0 redis==2.10.5 requests==2.13.0 uWSGI==...
# These requirements are only necessary when developing on Oscar. # development Werkzeug==0.12.1 django-debug-toolbar==1.6 django-extensions==1.7.8 # Sandbox Pillow==4.0.0 Whoosh==2.7.4 django-environ==0.4.1 django-redis==4.7.0 pysolr==3.6.0 redis==2.10.5 requests==2.13.0 uWSGI==2.0.14 whitenoise==3.3.0 # Linting fl...
<|file_sep|>original/requirements.txt # These requirements are only necessary when developing on Oscar. # development Werkzeug==0.12.1 django-debug-toolbar==1.6 django-extensions==1.7.7 # Sandbox Pillow==4.0.0 Whoosh==2.7.4 django-environ==0.4.1 django-redis==4.7.0 pysolr==3.6.0 redis==2.10.5 requests==2.13.0 uWSGI==...
23c923028a8223535dc93d771be43af99f2f739d
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/vagrant/util.rb module Vagrant module Util autoload :Busy, 'vagrant/util/busy' autoload :CommandDeprecation, 'vagrant/util/command_deprecation' autoload :Counter, 'vagrant/util/counter' autoload :CredentialScrubber, 'vagrant...
module Vagrant module Util autoload :Busy, 'vagrant/util/busy' autoload :CommandDeprecation, 'vagrant/util/command_deprecation' autoload :Counter, 'vagrant/util/counter' autoload :CredentialScrubber, 'vagrant/util/credential_scrubber' autoload :...
<|file_sep|>original/lib/vagrant/util.rb module Vagrant module Util autoload :Busy, 'vagrant/util/busy' autoload :CommandDeprecation, 'vagrant/util/command_deprecation' autoload :Counter, 'vagrant/util/counter' autoload :CredentialScrubber, 'vagrant...
50dd832e6365f9448ada4da2b5c125dfe81336c5
lib/vagrant/util.rb
lib/vagrant/util.rb
Ruby
<|file_sep|>original/docs/examples/dynamic_execution_deploy.md # Assumes the repo is configured/apt is updated apt.packages( {'Install ZeroTier'}, 'zerotier-one', ) def authorize_server(state, host): # Run a command on the server and collect status, stderr and stdout status, stdout, stderr = host.run...
# Assumes the repo is configured/apt is updated apt.packages( {'Install ZeroTier'}, 'zerotier-one', ) def authorize_server(state, host): # Run a command on the server and collect status, stderr and stdout status, stdout, stderr = host.run_shell_command(state, 'cat /var/lib/zerotier-one/identity.publi...
<|file_sep|>original/docs/examples/dynamic_execution_deploy.md # Assumes the repo is configured/apt is updated apt.packages( {'Install ZeroTier'}, 'zerotier-one', ) def authorize_server(state, host): # Run a command on the server and collect status, stderr and stdout status, stdout, stderr = host.run...
ed472d3c213caa55dbbbe243341671c890c5214c
docs/examples/dynamic_execution_deploy.md
docs/examples/dynamic_execution_deploy.md
Markdown
<|file_sep|>original/README.md ```html <!-- your index.html --> <script type="text/javascript" src="js/leap-0.4.0.js"></script> <script type="text/javascript" src="js/lib/leap.hand-entry.js"></script> <script type="text/javascript"> var controller = new Leap.Controller(); controller.use('handEntry') </script> ``` ...
<!-- your index.html --> <script type="text/javascript" src="js/leap-0.4.0.js"></script> <script type="text/javascript" src="js/lib/leap.hand-entry.js"></script> <script type="text/javascript"> var controller = new Leap.Controller(); controller.use('handEntry') </script> ``` - Each plugin is individually documen...
<|file_sep|>original/README.md ```html <!-- your index.html --> <script type="text/javascript" src="js/leap-0.4.0.js"></script> <script type="text/javascript" src="js/lib/leap.hand-entry.js"></script> <script type="text/javascript"> var controller = new Leap.Controller(); controller.use('handEntry') </script> ``` ...
6a06c52a73e6c5840f6accc6800cb84f47e85d0f
README.md
README.md
Markdown
<|file_sep|>original/spec/generator/generator_spec.rb require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } end end <|file_sep|>current/spec/generator/generator_spec.rb require 'spec_helper' describe Uniqueness do context 'generate' do it { e...
require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } it { expect(Uniqueness.generate(type: :numbers)).to match(/^[0-9]+$/) } it { expect(Uniqueness.generate(prefix: 'hassan').index('hassan')).to eq 0 } it { expect(Uniqueness.generate(suff...
<|file_sep|>original/spec/generator/generator_spec.rb require 'spec_helper' describe Uniqueness do context 'generate' do it { expect(Uniqueness.generate).not_to be_nil } end end <|file_sep|>current/spec/generator/generator_spec.rb require 'spec_helper' describe Uniqueness do context 'generate' do it { e...
99a7eb86808cb44d99606ed2aa60c7cd489e30f7
spec/generator/generator_spec.rb
spec/generator/generator_spec.rb
Ruby
<|file_sep|>original/mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } <|file_sep|>current/mainwindow.cpp #include "mainwindow.h" #inclu...
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QStringList tauList; tauList << "1" << "0.1" << "0.01" << "0.001" << "0.0001"; ui->tauComboBox->addItems(tauList); } MainWindow::~MainWi...
<|file_sep|>original/mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } <|file_sep|>current/mainwindow.cpp #include "mainwindow.h" #inclu...
a207390d180fe9544a7d49d560f6d98138f8fd46
mainwindow.cpp
mainwindow.cpp
C++
<|file_sep|>original/packer/install_dep.sh #!/bin/bash set -ux mkdir -p /home/${USER}/.ssh echo "${USER} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${USER} set +u easy_install pip pip install -U virtualenvwrapper echo 'export WORKON_HOME=~/Envs' >> ${HOME}/.bashrc . $HOME/.bashrc mkdir -p ~/Envs echo 'export VIRTUALENVW...
#!/bin/bash set -ux mkdir -p /home/${USER}/.ssh echo "${USER} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${USER} set +u easy_install pip pip install -U virtualenvwrapper echo 'export WORKON_HOME=~/Envs' >> ${HOME}/.bashrc . $HOME/.bashrc mkdir -p ~/Envs echo 'export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python' >> ${HOME}/....
<|file_sep|>original/packer/install_dep.sh #!/bin/bash set -ux mkdir -p /home/${USER}/.ssh echo "${USER} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${USER} set +u easy_install pip pip install -U virtualenvwrapper echo 'export WORKON_HOME=~/Envs' >> ${HOME}/.bashrc . $HOME/.bashrc mkdir -p ~/Envs echo 'export VIRTUALENVW...
a2aba602f81a56e8c5a2a54a372024ed6850a63a
packer/install_dep.sh
packer/install_dep.sh
Shell
<|file_sep|>original/benchmarks/caesium/byte_bufs_benchmark.clj <|file_sep|>current/benchmarks/caesium/byte_bufs_benchmark.clj <|file_sep|>updated/benchmarks/caesium/byte_bufs_benchmark.clj
(ns caesium.byte-bufs-benchmark (:require [caesium.crypto.secretbox :as sb] [caesium.crypto.secretbox-test :as st] [caesium.byte-bufs :as bb] [criterium.core :refer [bench]] [clojure.test :refer [deftest]])) (defn secretbox-easy-wrap-byte-array [m n k] (let [c (byt...
<|file_sep|>original/benchmarks/caesium/byte_bufs_benchmark.clj <|file_sep|>current/benchmarks/caesium/byte_bufs_benchmark.clj <|file_sep|>updated/benchmarks/caesium/byte_bufs_benchmark.clj (ns caesium.byte-bufs-benchmark (:require [caesium.crypto.secretbox :as sb] [caesium.crypto.secretbox-test :as st]...
74de70c8b79cf5515d6dd2ad127eace34f86e16b
benchmarks/caesium/byte_bufs_benchmark.clj
benchmarks/caesium/byte_bufs_benchmark.clj
Clojure
<|file_sep|>original/dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs /// <param name="driver">The driver used to execute the command.</param> /// <param name="locator">The first parameter to the command.</param> /// <param name="value">The second parameter to the c...
/// <param name="driver">The driver used to execute the command.</param> /// <param name="locator">The first parameter to the command.</param> /// <param name="value">The second parameter to the command.</param> /// <returns>The result of the command.</returns> protected override...
<|file_sep|>original/dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs /// <param name="driver">The driver used to execute the command.</param> /// <param name="locator">The first parameter to the command.</param> /// <param name="value">The second parameter to the c...
172a9644b79f6f7c4883d0dd383a70209e7f2449
dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs
dotnet/src/Selenium.WebDriverBackedSelenium/Internal/SeleniumEmulation/Open.cs
C#
<|file_sep|>original/pillar/mongodb_devstack.sls #!jinja|yaml {% set mongodb_admin_username = 'admin' %} {% set mongodb_admin_password = 'changeme' %} mine_functions: network.ip_addrs: [eth0] network.get_hostname: [] mongodb: overrides: pkgs: - mongodb service_name: mongodb admin_username: {{ m...
#!jinja|yaml {% set mongodb_admin_username = 'admin' %} {% set mongodb_admin_password = 'changeme' %} mine_functions: network.ip_addrs: [eth0] network.get_hostname: [] mongodb: overrides: pkgs: - mongodb-org service_name: mongodb admin_username: {{ mongodb_admin_username }} admin_password: {{...
<|file_sep|>original/pillar/mongodb_devstack.sls #!jinja|yaml {% set mongodb_admin_username = 'admin' %} {% set mongodb_admin_password = 'changeme' %} mine_functions: network.ip_addrs: [eth0] network.get_hostname: [] mongodb: overrides: pkgs: - mongodb service_name: mongodb admin_username: {{ m...
ba33e232ed38c773df7e302797f2d02edfbedb71
pillar/mongodb_devstack.sls
pillar/mongodb_devstack.sls
SaltStack
<|file_sep|>original/lib/tasks/rake_helpers/rake_utils.rb yield end end def compress_file(filename) shell_working "compressing file #{filename}" do system "gzip -3 -f #{filename}" end "#{filename}.gz" end def decompress_file(filename) shell_working "decompressing file #{filenam...
yield end end def compress_file(filename) shell_working "compressing file #{filename}" do system "gzip -3 -f #{filename}" end "#{filename}.gz" end def decompress_file(filename) shell_working "decompressing file #{filename}" do system "gunzip #{filename}" end end ...
<|file_sep|>original/lib/tasks/rake_helpers/rake_utils.rb yield end end def compress_file(filename) shell_working "compressing file #{filename}" do system "gzip -3 -f #{filename}" end "#{filename}.gz" end def decompress_file(filename) shell_working "decompressing file #{filenam...
c81a68fe72a7fe2e56581d56691c2e2740cd005c
lib/tasks/rake_helpers/rake_utils.rb
lib/tasks/rake_helpers/rake_utils.rb
Ruby
<|file_sep|>btree/main.go.diff original: updated: func Println(n tree.Node) { fmt.Println(n) } <|file_sep|>btree/main.go.diff original: intBT.Walk(func(n tree.Node) { fmt.Println(n) }) updated: intBT.Walk(Println) <|file_sep|>original/btree/main.go intBT.Insert(IntNode(7)) intBT.Insert(IntNode(2)) intBT.Inse...
func main() { intBT := tree.New() intBT.Insert(IntNode(5)) intBT.Insert(IntNode(1)) intBT.Insert(IntNode(7)) intBT.Insert(IntNode(2)) intBT.Insert(IntNode(4)) intBT.Insert(IntNode(6)) intBT.Insert(IntNode(3)) intBT.Walk(Println) stringBT := tree.New() stringBT.Insert(StringNode("ello")) stringBT.Insert(Str...
<|file_sep|>btree/main.go.diff original: updated: func Println(n tree.Node) { fmt.Println(n) } <|file_sep|>btree/main.go.diff original: intBT.Walk(func(n tree.Node) { fmt.Println(n) }) updated: intBT.Walk(Println) <|file_sep|>original/btree/main.go intBT.Insert(IntNode(7)) intBT.Insert(IntNode(2)) intBT.Inse...
21efb2fc3363b15f7e5aee0d392757f43373e9f9
btree/main.go
btree/main.go
Go
<|file_sep|>original/python/example_code/ec2/terminate_instances.py <|file_sep|>current/python/example_code/ec2/terminate_instances.py <|file_sep|>updated/python/example_code/ec2/terminate_instances.py
# snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] # snippet-sourcedescription:[terminate_instances.py demonstrates how to terminate an Amazon EC2 instance.] # snippet-service:[ec2] # snippet-keyword:[Amazon EC2] # snippet-keyword:[Python] # snippet-keyword:[AWS SDK for Python (Bot...
<|file_sep|>original/python/example_code/ec2/terminate_instances.py <|file_sep|>current/python/example_code/ec2/terminate_instances.py <|file_sep|>updated/python/example_code/ec2/terminate_instances.py # snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] # snippet-sourcedescription...
e48caa4bb61cce466ad5eb9bffbfba8e33312474
python/example_code/ec2/terminate_instances.py
python/example_code/ec2/terminate_instances.py
Python
<|file_sep|>cms/sass/components/_card.scss.diff original: background-color: $fair-pink; updated: background-color: $warm-white; <|file_sep|>original/cms/sass/components/_card.scss /* Cards */ .card { padding: $spacing-03; margin-bottom: $spacing-04; background-color: $fair-pink; @include typescale-06; @...
/* Cards */ .card { padding: $spacing-03; margin-bottom: $spacing-04; background-color: $warm-white; @include typescale-06; @include box-shadow; @media screen and (min-width: 768px) { margin-bottom: $spacing-05; } } .card__desc { color: $dark-grey; margin-bottom: $spacing-01; } .card--with-ico...
<|file_sep|>cms/sass/components/_card.scss.diff original: background-color: $fair-pink; updated: background-color: $warm-white; <|file_sep|>original/cms/sass/components/_card.scss /* Cards */ .card { padding: $spacing-03; margin-bottom: $spacing-04; background-color: $fair-pink; @include typescale-06; @...
cc8c51fbb66372182829905e0d6bf825c205a56d
cms/sass/components/_card.scss
cms/sass/components/_card.scss
SCSS
<|file_sep|>original/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - hhvm env: global: - TARGET=test matrix: fast_finish: true include: - php: 7.0 env: TARGET=cs_dry_run - php: 5.5 env: COMPOSER_FLAGS="--prefer-lowest" - php: 5.6 env: SYMFONY_VERSION=2.7.* <|file_se...
language: php php: - 5.5 - 5.6 - 7.0 - 7.1 - hhvm env: global: - TARGET=test matrix: fast_finish: true include: - php: 7.0 env: TARGET=cs_dry_run - php: 5.5 env: COMPOSER_FLAGS="--prefer-lowest" - php: 5.6
<|file_sep|>original/.travis.yml language: php php: - 5.5 - 5.6 - 7.0 - hhvm env: global: - TARGET=test matrix: fast_finish: true include: - php: 7.0 env: TARGET=cs_dry_run - php: 5.5 env: COMPOSER_FLAGS="--prefer-lowest" - php: 5.6 env: SYMFONY_VERSION=2.7.* <|file_se...
a207cce23ff11e9b8273f0cfb1e73787b9a64bef
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Library/Language/Indo/English/UK/Uk.php <?php /** * * @author newloki */ class Language_Indo_English_Uk extends Language_Indo_English_Abstract { } <|file_sep|>current/Library/Language/Indo/English/UK/Uk.php <?php /** * * @author newloki */ class Language_Indo_English_Uk extends Languag...
<?php /** * * @author newloki */ class Language_Indo_English_Uk extends Language_Indo_English_Abstract { protected $_name = 'english_uk'; }
<|file_sep|>original/Library/Language/Indo/English/UK/Uk.php <?php /** * * @author newloki */ class Language_Indo_English_Uk extends Language_Indo_English_Abstract { } <|file_sep|>current/Library/Language/Indo/English/UK/Uk.php <?php /** * * @author newloki */ class Language_Indo_English_Uk extends Languag...
8dcfe24c36f5af1cab704872fa4c5c0fdc69aa6b
Library/Language/Indo/English/UK/Uk.php
Library/Language/Indo/English/UK/Uk.php
PHP
<|file_sep|>original/scuevals_api/resources/official_user_types.py type = fields.Str(required=True) class Meta: strict = True class OfficialUserTypeResource(Resource): @auth_required(Permission.UpdateOfficialUserTypes) @use_args({'official_user_types': fields.List(fields.Nested(OfficialUserTy...
type = fields.Str(required=True) class Meta: strict = True class OfficialUserTypeResource(Resource): @auth_required(Permission.UpdateOfficialUserTypes) @use_args({'official_user_types': fields.List(fields.Nested(OfficialUserTypeSchema), required=True)}, locations=('json',)) ...
<|file_sep|>original/scuevals_api/resources/official_user_types.py type = fields.Str(required=True) class Meta: strict = True class OfficialUserTypeResource(Resource): @auth_required(Permission.UpdateOfficialUserTypes) @use_args({'official_user_types': fields.List(fields.Nested(OfficialUserTy...
3358d47cc9bdad5abaa1e8a9358d49539e6256b1
scuevals_api/resources/official_user_types.py
scuevals_api/resources/official_user_types.py
Python
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode - ree <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode - ree <|file_sep|>updated/.travis.y...
language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode - ree <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.2" - "1.9.3" - ruby-head - jruby-19mode - jruby-head - rbx-19mode - ree <|file_sep|>updated/.travis.y...
24ce2bcfc132d8d380629cdc4c860acfe921448b
.travis.yml
.travis.yml
YAML
<|file_sep|>Package.swift.diff original: .package(name: "Atk", url: "https://github.com/rhx/SwiftAtk.git", .branch("master")), .package(name: "Gdk", url: "https://github.com/rhx/SwiftGdk.git", .branch("master")), updated: .package(name: "Atk", url: "https://github.com/mikolasstuchlik/SwiftAtk.gi...
import PackageDescription let package = Package( name: "Gtk", products: [ .library(name: "Gtk", targets: ["Gtk"]) ], dependencies: [ .package(name: "Atk", url: "https://github.com/mikolasstuchlik/SwiftAtk.git", .branch("master")), .package(name: "Gdk", url: "https://github.com/mikolasstuch...
<|file_sep|>Package.swift.diff original: .package(name: "Atk", url: "https://github.com/rhx/SwiftAtk.git", .branch("master")), .package(name: "Gdk", url: "https://github.com/rhx/SwiftGdk.git", .branch("master")), updated: .package(name: "Atk", url: "https://github.com/mikolasstuchlik/SwiftAtk.gi...
0daa75a7b1233e5773453230c09197b512141100
Package.swift
Package.swift
Swift
<|file_sep|>original/client/app/templates/components/projectNav/projectNav.html <div class="project-nav"> <div class="container"> <div class="row"> <div class="project-nav-button" project-home-button></div> <div class="project-nav-button" project-back-button></div> <div class="project-nav-button...
<div class="project-nav"> <div class="container"> <div class="row"> <div class="project-nav-button" project-home-button></div> <div class="project-nav-button" project-back-button ng-show="projects.length > 1"></div> <div class="project-nav-button" project-forward-button ng-show="projects.length ...
<|file_sep|>original/client/app/templates/components/projectNav/projectNav.html <div class="project-nav"> <div class="container"> <div class="row"> <div class="project-nav-button" project-home-button></div> <div class="project-nav-button" project-back-button></div> <div class="project-nav-button...
768b46d7af02d7a1debaff071b9df57caed74da7
client/app/templates/components/projectNav/projectNav.html
client/app/templates/components/projectNav/projectNav.html
HTML
<|file_sep|>app/controllers/application_controller.rb.diff original: return worker_confirmation_path if resource.worker? && resource.worker.has_password? return new_company_path if resource.manager? && !resource.has_company? updated: return new_company_path if resource.manager? && !resource.has_com...
self.responder = ApplicationResponder respond_to :html # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception def after_sign_in_path_for(resource) return new_company_path if resource.manager? && !resource.has_company...
<|file_sep|>app/controllers/application_controller.rb.diff original: return worker_confirmation_path if resource.worker? && resource.worker.has_password? return new_company_path if resource.manager? && !resource.has_company? updated: return new_company_path if resource.manager? && !resource.has_com...
4a79601bf13258813aa56ce85f6b3ac7aa63bb61
app/controllers/application_controller.rb
app/controllers/application_controller.rb
Ruby
<|file_sep|>original/tw_begins.py @begin.subcommand def mentions(): "Display recent tweets mentioning user" for status in begin.context.api.mentions: print u"%s: %s" % (status.user.screen_name, status.text) @begin.subcommand def retweets(): "Display recent retweets from user's timeline" for sta...
@begin.subcommand def mentions(): "Display recent tweets mentioning user" for status in begin.context.api.mentions: print u"%s: %s" % (status.user.screen_name, status.text) @begin.subcommand def retweets(): "Display recent retweets from user's timeline" for status in begin.context.api.retweets:...
<|file_sep|>original/tw_begins.py @begin.subcommand def mentions(): "Display recent tweets mentioning user" for status in begin.context.api.mentions: print u"%s: %s" % (status.user.screen_name, status.text) @begin.subcommand def retweets(): "Display recent retweets from user's timeline" for sta...
e6d483c867687188ad89dae9ea00b0d651598605
tw_begins.py
tw_begins.py
Python
<|file_sep|>original/src/main/java/nl/ekholabs/nlp/controller/FaceClassifierController.java import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE; @RestController public class Fa...
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE; @RestController public class FaceClassifierController { private final ElsieDeeSightFeignClient elsieDeeSightFeignClient;...
<|file_sep|>original/src/main/java/nl/ekholabs/nlp/controller/FaceClassifierController.java import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE; @RestController public class Fa...
66d42b1aadc8e7133c032e476296f0b67ebdd7ec
src/main/java/nl/ekholabs/nlp/controller/FaceClassifierController.java
src/main/java/nl/ekholabs/nlp/controller/FaceClassifierController.java
Java
<|file_sep|>original/docker-compose.yaml ports: - "3031:3001" depends_on: - mongo links: - mongo command: bash -c "npm install && nodemon --legacy-watch ./bin/www ../server 3001" node-client: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: ...
ports: - "3031:3001" depends_on: - mongo links: - mongo command: bash -c "npm install && nodemon --legacy-watch ./bin/www ../server 3001" node-client: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: - "./app:/src/app" ports: ...
<|file_sep|>original/docker-compose.yaml ports: - "3031:3001" depends_on: - mongo links: - mongo command: bash -c "npm install && nodemon --legacy-watch ./bin/www ../server 3001" node-client: build: context: . dockerfile: "./docker/nodejs.dockerfile" volumes: ...
c64c39e55431e9eca4c2e24ed86574f2f10cd259
docker-compose.yaml
docker-compose.yaml
YAML
<|file_sep|>original/pretty_print_test_data.sh #! /bin/sh -x for d in \ de-by-germering tr-antalya-kas tr-antalya-serik tr-isparta-keciborlu \ br--1.05--46.76 cn-+30.63-+122.07 de-+53.05-+8.73 it-+42.01-+12.50 jp-+35.69-+139.78 do python -m json.tool < $(dirname $0)/library/src/test/resources/${d}.json > ...
#! /bin/sh -x for d in \ de-by-germering tr-antalya-kas tr-antalya-serik tr-isparta-keciborlu \ br--1.05--46.76 cn-+30.63-+122.07 de-+53.05-+8.73 it-+42.01-+12.50 jp-+35.69-+139.78 do jq "." < $(dirname $0)/library/src/test/resources/${d}.json > $(dirname $0)/library/src/test/resources/${d}-pretty.json do...
<|file_sep|>original/pretty_print_test_data.sh #! /bin/sh -x for d in \ de-by-germering tr-antalya-kas tr-antalya-serik tr-isparta-keciborlu \ br--1.05--46.76 cn-+30.63-+122.07 de-+53.05-+8.73 it-+42.01-+12.50 jp-+35.69-+139.78 do python -m json.tool < $(dirname $0)/library/src/test/resources/${d}.json > ...
0a5859f83ea75245ea2e03881cc02fee47387468
pretty_print_test_data.sh
pretty_print_test_data.sh
Shell
<|file_sep|>README.md.diff original: ## Prerequisites updated: ## Prerequisites and usage <|file_sep|>README.md.diff original: ## To Use updated: On Ubuntu 14.04, you can try the following installation procedure: ```bash curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get update sudo apt-get ins...
The program calls out to the command line for caching PDFs locally and for printing. Printing requires `lp`, whereas caching relies on all tools used in [`cache.sh`](cache.sh). These tools have to be installed separately before running the progrm. On Ubuntu 14.04, you can try the following installation procedure: ```...
<|file_sep|>README.md.diff original: ## Prerequisites updated: ## Prerequisites and usage <|file_sep|>README.md.diff original: ## To Use updated: On Ubuntu 14.04, you can try the following installation procedure: ```bash curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - sudo apt-get update sudo apt-get ins...
085bc5214045af363a3c4e26c4423192f60253c0
README.md
README.md
Markdown
<|file_sep|>original/docs/index.rst .. docs documentation master file, created by sphinx-quickstart on Mon May 8 13:02:08 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. include:: intro.rst Python Toolkit for Accelerator Controls ========...
.. docs documentation master file, created by sphinx-quickstart on Mon May 8 13:02:08 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. include:: intro.rst Python Toolkit for Accelerator Controls ======================================= Pyth...
<|file_sep|>original/docs/index.rst .. docs documentation master file, created by sphinx-quickstart on Mon May 8 13:02:08 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. include:: intro.rst Python Toolkit for Accelerator Controls ========...
6d8cc60de7b2cfa4ec8262db7dcc35acad0f822e
docs/index.rst
docs/index.rst
reStructuredText
<|file_sep|>theme.toml.diff original: name = "Well Travelled" updated: name = "Well Traveled" <|file_sep|>original/theme.toml name = "Well Travelled" license = "MIT" licenselink = "https://github.com/mpaluchowski/hugo-well-travelled/blob/master/LICENSE" description = "" homepage = "http://travel.paluchowski.com/" tags ...
name = "Well Traveled" license = "MIT" licenselink = "https://github.com/mpaluchowski/hugo-well-traveled/blob/master/LICENSE" description = "" homepage = "http://travel.paluchowski.com/" tags = ["blog"] min_version = 0.17 [author] name = "Michał Paluchowski" homepage = "https://michal.paluchowski.com/"
<|file_sep|>theme.toml.diff original: name = "Well Travelled" updated: name = "Well Traveled" <|file_sep|>original/theme.toml name = "Well Travelled" license = "MIT" licenselink = "https://github.com/mpaluchowski/hugo-well-travelled/blob/master/LICENSE" description = "" homepage = "http://travel.paluchowski.com/" tags ...
baa302903524e48b3f66f57b9b398ce54b8ba8fe
theme.toml
theme.toml
TOML
<|file_sep|>original/C++/patternMatch.cpp <|file_sep|>current/C++/patternMatch.cpp <|file_sep|>updated/C++/patternMatch.cpp
#include <iostream> #include <unordered_map> #include <vector> #include <string> #include <ctime> #include <set> #include <utility> #include <algorithm> #include <map> using namespace std; bool isPatternMatched(string& str, string& pattern) { if (pattern.size() < 1) { return true; } vector<vector<map<char, ...
<|file_sep|>original/C++/patternMatch.cpp <|file_sep|>current/C++/patternMatch.cpp <|file_sep|>updated/C++/patternMatch.cpp #include <iostream> #include <unordered_map> #include <vector> #include <string> #include <ctime> #include <set> #include <utility> #include <algorithm> #include <map> using namespace std; boo...
d2e195ebb37d88e1024954ba4546414250b0d3c2
C++/patternMatch.cpp
C++/patternMatch.cpp
C++
<|file_sep|>original/examples/report1-image.php <|file_sep|>current/examples/report1-image.php <|file_sep|>updated/examples/report1-image.php
<?php include "../vendor/autoload.php"; $html = file_get_contents('report1.html'); $header = '<div style="text-align: center;font-size: 20px; border-bottom: 1px #eeeeee solid; padding: 1px; ">'; $header.= ' <strong>THE MANAGEMENT REPORT TITLE</strong>'; $header.= '</div>'; $footer = '<div style="text-align: right...
<|file_sep|>original/examples/report1-image.php <|file_sep|>current/examples/report1-image.php <|file_sep|>updated/examples/report1-image.php <?php include "../vendor/autoload.php"; $html = file_get_contents('report1.html'); $header = '<div style="text-align: center;font-size: 20px; border-bottom: 1px #eeeeee solid...
7fd5fd4df9d1fc68e2eb92bfe7c801161ed57779
examples/report1-image.php
examples/report1-image.php
PHP
<|file_sep|>original/base_partner_merge/__openerp__.py { 'name': 'Base Partner Merge', 'author': 'OpenERP S.A.', 'category': 'Generic Modules/Base', 'version': '0.1', 'description': """ backport module, to be removed when we switch to saas2 on the private servers """, 'depends': [ 'base'...
{ 'name': 'Base Partner Merge', 'author': "OpenERP S.A.,Odoo Community Association (OCA)", 'category': 'Generic Modules/Base', 'version': '0.1', 'description': """ backport module, to be removed when we switch to saas2 on the private servers """, 'depends': [ 'base', ], 'data': [...
<|file_sep|>original/base_partner_merge/__openerp__.py { 'name': 'Base Partner Merge', 'author': 'OpenERP S.A.', 'category': 'Generic Modules/Base', 'version': '0.1', 'description': """ backport module, to be removed when we switch to saas2 on the private servers """, 'depends': [ 'base'...
9af7c012c8ef2ca2999408abe98bdc3aa0ee1738
base_partner_merge/__openerp__.py
base_partner_merge/__openerp__.py
Python
<|file_sep|>docker-compose-frontend.yml.diff original: - LOG_LEVEL=info - ISERVE_HOST=192.168.99.100 updated: - LOG_LEVEL_ISERVE=INFO - LOG_LEVEL_MSM4J=WARN # Override - ISERVE_HOST=XXXX <|file_sep|>original/docker-compose-frontend.yml image: openuniversity/iserve ports: - "808...
ports: - "8080:8080" volumes_from: - iservedata environment: - LOG_LEVEL_ISERVE=INFO - LOG_LEVEL_MSM4J=WARN # Override - ISERVE_HOST=XXXX - ISERVE_PORT=8080 - ISERVE_BASE=/opt/iserve - ISERVE_DATA=/iserve - ISERVE_REPOSITORY=iserve # Override - RDFSTO...
<|file_sep|>docker-compose-frontend.yml.diff original: - LOG_LEVEL=info - ISERVE_HOST=192.168.99.100 updated: - LOG_LEVEL_ISERVE=INFO - LOG_LEVEL_MSM4J=WARN # Override - ISERVE_HOST=XXXX <|file_sep|>original/docker-compose-frontend.yml image: openuniversity/iserve ports: - "808...
ff0bcfdbd1d6e0baccacb376913c1adb4d31bf67
docker-compose-frontend.yml
docker-compose-frontend.yml
YAML
<|file_sep|>original/project/Build.scala import Keys._ import PlayProject._ object ApplicationBuild extends Build { val appName = "Play20StartApp" val appVersion = "1.0" val appDependencies = Seq( "com.typesafe" %% "play-plugins-mailer" % "2.0.2", "com.roundeights" % "hasher" % "...
import sbt._ import Keys._ import PlayProject._ object ApplicationBuild extends Build { val appName = "Play20StartApp" val appVersion = "1.0" val appDependencies = Seq( "com.typesafe" %% "play-plugins-mailer" % "2.0.2", "org.mindrot" % "jbcrypt" % "0.3m" ) val main = Pla...
<|file_sep|>original/project/Build.scala import Keys._ import PlayProject._ object ApplicationBuild extends Build { val appName = "Play20StartApp" val appVersion = "1.0" val appDependencies = Seq( "com.typesafe" %% "play-plugins-mailer" % "2.0.2", "com.roundeights" % "hasher" % "...
8044b3d432c7ac521400ff38822bf56db04c47ba
project/Build.scala
project/Build.scala
Scala
<|file_sep|>original/app/src/main/java/com/veyndan/redditclient/RedditClientApp.java import com.squareup.leakcanary.LeakCanary; import com.twitter.sdk.android.Twitter; import com.twitter.sdk.android.core.TwitterAuthConfig; import io.fabric.sdk.android.Fabric; import timber.log.Timber; public class RedditClientApp ex...
import io.fabric.sdk.android.Fabric; import timber.log.Timber; public class RedditClientApp extends Application { @Override public void onCreate() { super.onCreate(); if (BuildConfig.DEBUG) { Timber.plant(new Timber.DebugTree() { @Override protected...
<|file_sep|>original/app/src/main/java/com/veyndan/redditclient/RedditClientApp.java import com.squareup.leakcanary.LeakCanary; import com.twitter.sdk.android.Twitter; import com.twitter.sdk.android.core.TwitterAuthConfig; import io.fabric.sdk.android.Fabric; import timber.log.Timber; public class RedditClientApp ex...
ac85758fa19d27c6ea6c5c113dc751e341738c3a
app/src/main/java/com/veyndan/redditclient/RedditClientApp.java
app/src/main/java/com/veyndan/redditclient/RedditClientApp.java
Java
<|file_sep|>original/poi.config.js module.exports = { entry: './dev/main.ts', html: { title: 'Vue Thailand address', description: 'Thai address input for Vue.' }, presets: [ require('poi-preset-typescript')() ] }; <|file_sep|>current/poi.config.js module.exports = { entry: './dev/main.ts', html: { title:...
module.exports = { entry: './dev/main.ts', html: { title: 'Vue Thailand address', description: 'Thai address input for Vue.' }, presets: [ require('poi-preset-typescript')() ], extendWebpack(config) { config.resolve .alias .set('vue$', 'vue/dist/vue.runtime.common.js') .set('vuex$', 'vuex/dist/vu...
<|file_sep|>original/poi.config.js module.exports = { entry: './dev/main.ts', html: { title: 'Vue Thailand address', description: 'Thai address input for Vue.' }, presets: [ require('poi-preset-typescript')() ] }; <|file_sep|>current/poi.config.js module.exports = { entry: './dev/main.ts', html: { title:...
ccac07a4a7d0699d171aac973a2e70fbf79b2f30
poi.config.js
poi.config.js
JavaScript
<|file_sep|>src/main/kotlin/org/paradise/ipaq/controllers/ipaqController.kt.diff original: fun search(@RequestParam(value = "query") query: String? = null, @RequestParam(value = "country") country: String? = null, @RequestParam(value = "take", defaultValue = "10") take: Int): ResponseE...
import org.springframework.web.bind.annotation.RestController /** * Created by terrence on 17/7/17. */ @RestController class ipaqController(val experianService: ExperianService) { @RequestMapping(value = "/Search", method = arrayOf(RequestMethod.GET), produces = arrayOf(MediaType.APPLICATION_JSON_VALUE)) fu...
<|file_sep|>src/main/kotlin/org/paradise/ipaq/controllers/ipaqController.kt.diff original: fun search(@RequestParam(value = "query") query: String? = null, @RequestParam(value = "country") country: String? = null, @RequestParam(value = "take", defaultValue = "10") take: Int): ResponseE...
73bb30324b9cf5c2458761c5566d317bb754e986
src/main/kotlin/org/paradise/ipaq/controllers/ipaqController.kt
src/main/kotlin/org/paradise/ipaq/controllers/ipaqController.kt
Kotlin
<|file_sep|>original/docker-compose.yml lightfm: build: . # Uncomment this to mount your local version # of the LightFM code. # volumes: # - .:/home/lightfm/ ports: - "8888:8888" <|file_sep|>current/docker-compose.yml lightfm: build: . # Uncomment this to mount your local version # of the LightFM ...
version: '3' services: lightfm: build: . # Uncomment this to mount your local version # of the LightFM code. # volumes: # - .:/home/lightfm/ ports: - "8888:8888"
<|file_sep|>original/docker-compose.yml lightfm: build: . # Uncomment this to mount your local version # of the LightFM code. # volumes: # - .:/home/lightfm/ ports: - "8888:8888" <|file_sep|>current/docker-compose.yml lightfm: build: . # Uncomment this to mount your local version # of the LightFM ...
322ed0024e8f70281e2ddea2c3944f3213a67bed
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/app/controllers/workflow/user_controller.rb class Workflow::UserController < ApplicationController def index @assigned_tasks = Task.assigned.where(user_id: current_user.id) @completed_tasks = Task.complete.where(user_id: current_user.id) end end <|file_sep|>current/app/controllers/workf...
class Workflow::UserController < ApplicationController def index @assigned_tasks = Task.where(user_id: current_user.id, state: 'assigned') @completed_tasks = Task.complete.where(user_id: current_user.id) end end
<|file_sep|>original/app/controllers/workflow/user_controller.rb class Workflow::UserController < ApplicationController def index @assigned_tasks = Task.assigned.where(user_id: current_user.id) @completed_tasks = Task.complete.where(user_id: current_user.id) end end <|file_sep|>current/app/controllers/workf...
c3c0fe4e8f47b11fda4a2924eaa16cdabdbe35aa
app/controllers/workflow/user_controller.rb
app/controllers/workflow/user_controller.rb
Ruby
<|file_sep|>original/.travis.yml language: node_js node_js: - 6 - 7 - node os: - linux - osx matrix: include: - node_js: node env: LANG=en_US.UTF-8 # Number formatting: 1.000.000,01 - node_js: node env: LANG=de_DE.UTF-8 # Number formatting: 10,...
language: node_js node_js: - node os: - linux - osx matrix: include: - node_js: node env: LANG=en_US.UTF-8 # Number formatting: 1.000.000,01 - node_js: node env: LANG=de_DE.UTF-8 # Number formatting: 10,00,000.01 - node_js: node env: ...
<|file_sep|>original/.travis.yml language: node_js node_js: - 6 - 7 - node os: - linux - osx matrix: include: - node_js: node env: LANG=en_US.UTF-8 # Number formatting: 1.000.000,01 - node_js: node env: LANG=de_DE.UTF-8 # Number formatting: 10,...
400f7d377d45d889e0cad7e898fd73d70a16a064
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis/install_z3.sh usage() { echo "install_z3.sh download_dir install_dir" exit 1 } if [ "$#" -ne "2" ]; then usage fi DOWNLOAD_DIR=$1 INSTALL_DIR=$2 mkdir -p $DOWNLOAD_DIR cd $DOWNLOAD_DIR #download z3 curl http://saw.galois.com/builds/z3/z3 > z3 sudo chmod +x z3 mkdir -p $INSTALL_DIR/b...
usage() { echo "install_z3.sh download_dir install_dir" exit 1 } if [ "$#" -ne "2" ]; then usage fi DOWNLOAD_DIR=$1 INSTALL_DIR=$2 mkdir -p $DOWNLOAD_DIR cd $DOWNLOAD_DIR #download z3 curl https://s3-us-west-2.amazonaws.com/s2n-public-test-dependencies/z3-2017-04-04-Ubuntu14.04-64 > z3 sudo chmod +x z3 mkdir -p...
<|file_sep|>original/.travis/install_z3.sh usage() { echo "install_z3.sh download_dir install_dir" exit 1 } if [ "$#" -ne "2" ]; then usage fi DOWNLOAD_DIR=$1 INSTALL_DIR=$2 mkdir -p $DOWNLOAD_DIR cd $DOWNLOAD_DIR #download z3 curl http://saw.galois.com/builds/z3/z3 > z3 sudo chmod +x z3 mkdir -p $INSTALL_DIR/b...
ad9eb6d29851aa7b5d1a55579575e348cfeeac55
.travis/install_z3.sh
.travis/install_z3.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" <|file_sep|>.travis.yml.diff original: env: PUPPET_GEM_VERSION="~> 3.0" updated: env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" <|file_sep|>ori...
--- language: ruby bundler_args: --without system_tests --jobs 3 --retry 3 script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" sudo: false matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes...
<|file_sep|>.travis.yml.diff original: updated: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" <|file_sep|>.travis.yml.diff original: env: PUPPET_GEM_VERSION="~> 3.0" updated: env: PUPPET_GEM_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" <|file_sep|>ori...
492f709ff0d4f7944913ce2b92eeed7ef5f466c0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Sources/TelegramBot/Types/JSON+JsonObject.swift <|file_sep|>current/Sources/TelegramBot/Types/JSON+JsonObject.swift <|file_sep|>updated/Sources/TelegramBot/Types/JSON+JsonObject.swift
// Telegram Bot SDK for Swift (unofficial). // (c) 2015 - 2016 Andrey Fidrya. MIT license. See LICENSE for more information. import Foundation import SwiftyJSON extension JSON: JsonObject { public init(json: JSON) { self = json } public var json: JSON { get { return self } set { self = newValue ...
<|file_sep|>original/Sources/TelegramBot/Types/JSON+JsonObject.swift <|file_sep|>current/Sources/TelegramBot/Types/JSON+JsonObject.swift <|file_sep|>updated/Sources/TelegramBot/Types/JSON+JsonObject.swift // Telegram Bot SDK for Swift (unofficial). // (c) 2015 - 2016 Andrey Fidrya. MIT license. See LICENSE for more i...
5206415199495005168a0ed12a29108e5edce25a
Sources/TelegramBot/Types/JSON+JsonObject.swift
Sources/TelegramBot/Types/JSON+JsonObject.swift
Swift
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==2.0 django-rest-swagger==2.1.2 django-taggit==0.22.2 django-taggit-serializer==0.1.5 django-webpack-loader==0.6.0 djangorestframework==3.7.7 djangorestframework-jwt==1.11.0 freezegun==0.3.10 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.4 PyJWT==1.6.0 pyth...
coreapi==2.3.3 Django==2.0 django-rest-swagger==2.1.2 django-taggit==0.22.2 django-taggit-serializer==0.1.5 django-webpack-loader==0.6.0 djangorestframework==3.7.7 djangorestframework-jwt==1.11.0 freezegun==0.3.10 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.4 PyJWT==1.6.0 python-dateutil==2.7.0 requests==2.18.4 si...
<|file_sep|>original/requirements.txt coreapi==2.3.3 Django==2.0 django-rest-swagger==2.1.2 django-taggit==0.22.2 django-taggit-serializer==0.1.5 django-webpack-loader==0.6.0 djangorestframework==3.7.7 djangorestframework-jwt==1.11.0 freezegun==0.3.10 itypes==1.1.0 openapi-codec==1.3.2 psycopg2==2.7.4 PyJWT==1.6.0 pyth...
dbdfa50a59383c1bfd5d50e37864eb561e725d0a
requirements.txt
requirements.txt
Text
<|file_sep|>source/handbook/marketing/index.md.diff original: [Developer marketing](/handbook/marketing/developer-marketing) [Demand generation](/handbook/marketing/demand-generation) updated: [Developer marketing](/handbook/marketing/developer-marketing) [Demand generation](/handbook/marketing/demand-generation) <...
--- layout: markdown_page title: "Marketing" --- [Developer marketing](/handbook/marketing/developer-marketing) [Demand generation](/handbook/marketing/demand-generation) [Social media](/handbook/marketing/developer-marketing/social-media/) ## Developer Relations Organization (dev rel org) - [technical writing](https...
<|file_sep|>source/handbook/marketing/index.md.diff original: [Developer marketing](/handbook/marketing/developer-marketing) [Demand generation](/handbook/marketing/demand-generation) updated: [Developer marketing](/handbook/marketing/developer-marketing) [Demand generation](/handbook/marketing/demand-generation) <...
8a1e53825f27bb62e9fff00e04dbe87c40c1114f
source/handbook/marketing/index.md
source/handbook/marketing/index.md
Markdown
<|file_sep|>original/fetch.py if not tok: break # No more input print tok def interpret(): import fetchinterpreter compiled = fetchparser.parse_input(open("sample.fetch").read()) for line in compiled: fetchinterpreter.handle_line(line) print "Output", fetchinterpreter.get_o...
if not tok: break # No more input print tok def interpret(): import fetchinterpreter compiled = fetchparser.parse_input(open("sample.fetch").read()) for line in compiled: fetchinterpreter.handle_line(line) print "Output", fetchinterpreter.get_output() if __name__ == "__mai...
<|file_sep|>original/fetch.py if not tok: break # No more input print tok def interpret(): import fetchinterpreter compiled = fetchparser.parse_input(open("sample.fetch").read()) for line in compiled: fetchinterpreter.handle_line(line) print "Output", fetchinterpreter.get_o...
09fed8f6bfb32f0f4c3aba45d16a153eaefe79e4
fetch.py
fetch.py
Python
<|file_sep|>original/src/docker_clojure/dockerfile.clj [docker-clojure.dockerfile.tools-deps :as tools-deps])) (defn build-dir [{:keys [base-image build-tool]}] (str/join "/" ["target" (str/replace base-image ":" "-") build-tool])) (defn contents [{:keys [maintainer build-tool] ...
[docker-clojure.dockerfile.tools-deps :as tools-deps])) (defn build-dir [{:keys [base-image build-tool]}] (str/join "/" ["target" (str/replace base-image ":" "-") build-tool])) (defn contents [{:keys [maintainer build-tool] :as variant}] (str/join "\n" (concat [(fo...
<|file_sep|>original/src/docker_clojure/dockerfile.clj [docker-clojure.dockerfile.tools-deps :as tools-deps])) (defn build-dir [{:keys [base-image build-tool]}] (str/join "/" ["target" (str/replace base-image ":" "-") build-tool])) (defn contents [{:keys [maintainer build-tool] ...
67f26518dab1ea3ad228e39c9ac0424e0ec22c60
src/docker_clojure/dockerfile.clj
src/docker_clojure/dockerfile.clj
Clojure
<|file_sep|>metadata/org.paladyn.mediclog.txt.diff original: updated: Build:0.2.2,5 commit=v0.2.2 gradle=yes <|file_sep|>original/metadata/org.paladyn.mediclog.txt . Repo Type:git Repo:https://github.com/JohnLines/mediclog Build:0.1.1,2 commit=v0.1.1 gradle=yes Build:0.2.0,3 commit=v0.2.0 g...
Build:0.1.1,2 commit=v0.1.1 gradle=yes Build:0.2.0,3 commit=v0.2.0 gradle=yes Build:0.2.1,4 commit=v0.2.1 gradle=yes Build:0.2.2,5 commit=v0.2.2 gradle=yes Auto Update Mode:Version v%v Update Check Mode:Tags ^v[0-9.]*$ Current Version:0.2.2 Current Version Code:5
<|file_sep|>metadata/org.paladyn.mediclog.txt.diff original: updated: Build:0.2.2,5 commit=v0.2.2 gradle=yes <|file_sep|>original/metadata/org.paladyn.mediclog.txt . Repo Type:git Repo:https://github.com/JohnLines/mediclog Build:0.1.1,2 commit=v0.1.1 gradle=yes Build:0.2.0,3 commit=v0.2.0 g...
b7a4312c8d40878a24c06a3671880d6e8bfc165f
metadata/org.paladyn.mediclog.txt
metadata/org.paladyn.mediclog.txt
Text
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "ArDeveloppement", "email": "contact@ardeveloppement.fr" } ], "autoload": { "psr-4": { "ArDev\\HAL\\": "src/" } }, "require": { "php": ">=5.4", "doctrine/...
"type": "library", "license": "MIT", "authors": [ { "name": "ArDeveloppement", "email": "contact@ardeveloppement.fr" } ], "autoload": { "psr-4": { "ArDev\\HAL\\": "src/" } }, "require": { "php": ">=5.4" }, "require-dev": { ...
<|file_sep|>original/composer.json "license": "MIT", "authors": [ { "name": "ArDeveloppement", "email": "contact@ardeveloppement.fr" } ], "autoload": { "psr-4": { "ArDev\\HAL\\": "src/" } }, "require": { "php": ">=5.4", "doctrine/...
748a1f2529e60c06992940ec67d50bde501b4f94
composer.json
composer.json
JSON
<|file_sep|>original/requirements.txt cookiecutter django-vanilla-views django-floppyforms factory-boy webtest django-webtest <|file_sep|>current/requirements.txt cookiecutter django-vanilla-views django-floppyforms factory-boy webtest django-webtest <|file_sep|>updated/requirements.txt
-e git://github.com/audreyr/cookiecutter.git#egg=cookiecutter django-vanilla-views django-floppyforms factory-boy webtest django-webtest
<|file_sep|>original/requirements.txt cookiecutter django-vanilla-views django-floppyforms factory-boy webtest django-webtest <|file_sep|>current/requirements.txt cookiecutter django-vanilla-views django-floppyforms factory-boy webtest django-webtest <|file_sep|>updated/requirements.txt -e git://github.com/audreyr/cook...
77b2f8bb729b2c0c3afcd871561d1e2027c260d4
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk11 - oraclejdk8 after_success: - chmod -R 777 ./travis/after_success.sh - ./travis/after_success.sh env: global: - secure: OdSIcNSjG1/GVBSejmM5Y4AQTIw0+b7lYWO4dmRBCqyvNiJDTRn+LZHPrWQpJZ0bqu0R6kGpsa0xkK91V55apS2e41reo9wXJGBjVySaAVgy8tqZfWvl...
language: java jdk: - openjdk11 - oraclejdk8 after_success: - chmod -R 777 ./travis/after_success.sh - ./travis/after_success.sh env: global: - secure: OdSIcNSjG1/GVBSejmM5Y4AQTIw0+b7lYWO4dmRBCqyvNiJDTRn+LZHPrWQpJZ0bqu0R6kGpsa0xkK91V55apS2e41reo9wXJGBjVySaAVgy8tqZfWvlN89UeXTknrji07zpJFV/lFrNHpQkkmOIHt9...
<|file_sep|>original/.travis.yml language: java jdk: - oraclejdk11 - oraclejdk8 after_success: - chmod -R 777 ./travis/after_success.sh - ./travis/after_success.sh env: global: - secure: OdSIcNSjG1/GVBSejmM5Y4AQTIw0+b7lYWO4dmRBCqyvNiJDTRn+LZHPrWQpJZ0bqu0R6kGpsa0xkK91V55apS2e41reo9wXJGBjVySaAVgy8tqZfWvl...
13c0c160dce07a39312bf2ca4fd2c03e4a0dac5c
.travis.yml
.travis.yml
YAML
<|file_sep|>original/library/alloc/src/panic.rs use crate::rc::Rc; use crate::sync::Arc; use core::panic::{RefUnwindSafe, UnwindSafe}; // not covered via the Shared impl above b/c the inner contents use // Cell/AtomicUsize, but the usage here is unwind safe so we can lift the // impl up one level to Arc/Rc itself #[st...
use crate::rc::Rc; use crate::sync::Arc; use core::panic::{RefUnwindSafe, UnwindSafe}; // not covered via the Shared impl in libcore b/c the inner contents use // Cell/AtomicUsize, but the usage here is unwind safe so we can lift the // impl up one level to Arc/Rc itself #[stable(feature = "catch_unwind", since = "1.9...
<|file_sep|>original/library/alloc/src/panic.rs use crate::rc::Rc; use crate::sync::Arc; use core::panic::{RefUnwindSafe, UnwindSafe}; // not covered via the Shared impl above b/c the inner contents use // Cell/AtomicUsize, but the usage here is unwind safe so we can lift the // impl up one level to Arc/Rc itself #[st...
701e3a45a9b8d2eb32be1c44ac3ef780abb4075f
library/alloc/src/panic.rs
library/alloc/src/panic.rs
Rust
<|file_sep|>GitMind/Common/JUmpListService.cs.diff original: using System.Windows; updated: using System.IO; using System.Windows; <|file_sep|>original/GitMind/Common/JUmpListService.cs { private static readonly int MaxTitleLength = 25; public void Add(string workingFolder) { JumpList jumpList = JumpList....
public class JumpListService { private static readonly int MaxTitleLength = 25; public void Add(string workingFolder) { JumpList jumpList = JumpList.GetJumpList(Application.Current) ?? new JumpList(); string folderName = Path.GetFileName(workingFolder) ?? workingFolder; string title = folderName.Le...
<|file_sep|>GitMind/Common/JUmpListService.cs.diff original: using System.Windows; updated: using System.IO; using System.Windows; <|file_sep|>original/GitMind/Common/JUmpListService.cs { private static readonly int MaxTitleLength = 25; public void Add(string workingFolder) { JumpList jumpList = JumpList....
73173a4d859a165420e6f8c3d445bfb9417f97b1
GitMind/Common/JUmpListService.cs
GitMind/Common/JUmpListService.cs
C#
<|file_sep|>tooling/ide/p2update/siteTemplate/index.html.diff original: updated: <|file_sep|>original/tooling/ide/p2update/siteTemplate/index.html See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>...
--> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>${update.site.name}</title> </head> <body> <h1>${update.site.name}</h1> <ol> <li>To install from this site, start up Eclipse ${target.eclipse.version}, then do: Help &gt; Install New Software... &gt; </li> <li>Copy this site's URL into Eclipse, an...
<|file_sep|>tooling/ide/p2update/siteTemplate/index.html.diff original: updated: <|file_sep|>original/tooling/ide/p2update/siteTemplate/index.html See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>...
797f5d68f8bb70d12cc6db43de13afb44200f0d6
tooling/ide/p2update/siteTemplate/index.html
tooling/ide/p2update/siteTemplate/index.html
HTML
<|file_sep|>original/spec/controllers/submissions_controller_spec.rb programming_others: :used, english: :basic, operating_system: :mac, first_time: true, goals: "Job as a developer/n", problems: "Allergic to dairy"}} it "redirects to new submission" do expect(subject).to redirect_to(assigns(:submi...
end it "saves the new submission" do expect{subject}.to change(Submission, :count).by(1) end end context "with invaild submission parameters" do subject {post :create, submission: {full_name: "NN", email: "nn", age: 200}} it "shows form again" do expect(subject)....
<|file_sep|>original/spec/controllers/submissions_controller_spec.rb programming_others: :used, english: :basic, operating_system: :mac, first_time: true, goals: "Job as a developer/n", problems: "Allergic to dairy"}} it "redirects to new submission" do expect(subject).to redirect_to(assigns(:submi...
6f98da8004621ec5ccf769edf00f6abe417599ce
spec/controllers/submissions_controller_spec.rb
spec/controllers/submissions_controller_spec.rb
Ruby
<|file_sep|>original/.travis.yml sudo: required language: node_js install: - sudo pip install -r requirements.txt - npm install node_js: - node services: - docker script: - yamllint --strict $(git ls-files '*.yaml' '*.yml') - markdownlint ./**/*.md - docker run --rm -i --name df-shellcheck -v "$(pwd)...
sudo: required language: node_js install: - sudo pip install -r requirements.txt - npm install node_js: - node services: - docker script: - yamllint --strict $(git ls-files '*.yaml' '*.yml') - find . -name "*js" ! -name "*node_modules*" | xargs markdownlint - docker run --rm -i --name df-shellcheck -...
<|file_sep|>original/.travis.yml sudo: required language: node_js install: - sudo pip install -r requirements.txt - npm install node_js: - node services: - docker script: - yamllint --strict $(git ls-files '*.yaml' '*.yml') - markdownlint ./**/*.md - docker run --rm -i --name df-shellcheck -v "$(pwd)...
e67c8290a319afa7e4dc949b9386937a5cec3dc8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/templates/erb/scaffold/_form.html.erb <%%= simple_form_for(@<%= singular_table_name %>) do |f| %> <%%= f.error_notification %> <div class="form-inputs"> <%- attributes.each do |attribute| -%> <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %> <%- e...
<%%= minimal_form_for(@<%= singular_table_name %>) do |f| %> <%%= f.error_notification %> <div class="form-inputs"> <%- attributes.each do |attribute| -%> <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %> <%- end -%> </div> <div class="form-actions"> <%%= f.butto...
<|file_sep|>original/lib/templates/erb/scaffold/_form.html.erb <%%= simple_form_for(@<%= singular_table_name %>) do |f| %> <%%= f.error_notification %> <div class="form-inputs"> <%- attributes.each do |attribute| -%> <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %> <%- e...
c18a6a7650b7d31f8b8b24197c6182721f0eca51
lib/templates/erb/scaffold/_form.html.erb
lib/templates/erb/scaffold/_form.html.erb
HTML+ERB
<|file_sep|>original/lang/es/validation.php <|file_sep|>current/lang/es/validation.php <|file_sep|>updated/lang/es/validation.php
<?php return array( "image_size" => "El campo :attribute debe ser :width de ancho y :height de alto.", 'between' => 'entre :size1 y :size2 pixeles', 'lessthan' => 'menor que :size pixeles', 'lessthanorequal' => 'menor que o equivalente a :size pixeles', 'greaterthan' => '...
<|file_sep|>original/lang/es/validation.php <|file_sep|>current/lang/es/validation.php <|file_sep|>updated/lang/es/validation.php <?php return array( "image_size" => "El campo :attribute debe ser :width de ancho y :height de alto.", 'between' => 'entre :size1 y :size2 pixeles', 'lessthan' ...
ef85bfdb622b91634c5afea83690578f0bc27024
lang/es/validation.php
lang/es/validation.php
PHP
<|file_sep|>original/init/50_ruby.sh # Initialize rbenv. source $DOTFILES/source/50_ruby.sh # Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.2.2) # 2.0.0-p576 1.9.3-p547) rubies=($(setdiff "${versions[*]}" "$(rbenv whence ruby)")) if (( ${#rubies[@]} > 0 )); then e_header "Installing Ruby versi...
# Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.2.2) # 2.0.0-p576 1.9.3-p547) rubies=($(setdiff "${versions[*]}" "$(rbenv whence ruby)")) if (( ${#rubies[@]} > 0 )); then e_header "Installing Ruby versions: ${rubies[*]}" for r in "${rubies[@]}"; do rbenv install "$r" [[ "$r" == ...
<|file_sep|>original/init/50_ruby.sh # Initialize rbenv. source $DOTFILES/source/50_ruby.sh # Install Ruby. if [[ "$(type -P rbenv)" ]]; then versions=(2.2.2) # 2.0.0-p576 1.9.3-p547) rubies=($(setdiff "${versions[*]}" "$(rbenv whence ruby)")) if (( ${#rubies[@]} > 0 )); then e_header "Installing Ruby versi...
3c404fc371f3e70fc40acb8a194b4ed1bd90d535
init/50_ruby.sh
init/50_ruby.sh
Shell
<|file_sep|>spec/features/admin_creates_plot_spec.rb.diff original: select('Plant Example', from: 'Featured plant') fill_in('Location description', with: 'Top of the hill') updated: select('Plant Example', from: 'Featured Plant') fill_in('Description', with: 'Top of the hill') <|file_sep|>origin...
end scenario 'providing valid plot attributes' do visit new_plot_path fill_in('Plot', with: 1) select('Plant Example', from: 'Featured Plant') fill_in('Description', with: 'Top of the hill') fill_in('Latitude', with: 1234) fill_in('Longitude', with: 1234) fill_in('Elev...
<|file_sep|>spec/features/admin_creates_plot_spec.rb.diff original: select('Plant Example', from: 'Featured plant') fill_in('Location description', with: 'Top of the hill') updated: select('Plant Example', from: 'Featured Plant') fill_in('Description', with: 'Top of the hill') <|file_sep|>origin...
328efb47facb6590b6981087576826db55af1b97
spec/features/admin_creates_plot_spec.rb
spec/features/admin_creates_plot_spec.rb
Ruby
<|file_sep|>original/_config.yml # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. title: Holland Loves email: your-email@domain.com repo: "https://github.com/andr...
# You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. title: Holland Loves email: your-email@domain.com repo: "https://github.com/andrewbredow/hollandloves" issues: "https://github.com/andrewbredow/hollandloves/issues" tracking_id: "UA-89598047-1"...
<|file_sep|>original/_config.yml # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. title: Holland Loves email: your-email@domain.com repo: "https://github.com/andr...
e9497848a8fa08f8ed72d3f137e0e00cad0a35e4
_config.yml
_config.yml
YAML
<|file_sep|>original/package.json { "name": "isolated-vm", "version": "1.5.2", "description": "Access to multiple isolates", "main": "isolated-vm.js", "types": "isolated-vm.d.ts", "scripts": { "install": "node-gyp rebuild --release -j 4", "lint": "find src -name '*.cc' | xargs -n1 ./clang-tidy-wrapp...
{ "name": "isolated-vm", "version": "1.6.0", "description": "Access to multiple isolates", "main": "isolated-vm.js", "types": "isolated-vm.d.ts", "scripts": { "install": "node-gyp rebuild --release -j 4", "lint": "find src -name '*.cc' | xargs -n1 ./clang-tidy-wrapper", "test": "node test.js || ...
<|file_sep|>original/package.json { "name": "isolated-vm", "version": "1.5.2", "description": "Access to multiple isolates", "main": "isolated-vm.js", "types": "isolated-vm.d.ts", "scripts": { "install": "node-gyp rebuild --release -j 4", "lint": "find src -name '*.cc' | xargs -n1 ./clang-tidy-wrapp...
44d3fd9551891889fdae689d9bbfe2845adc8198
package.json
package.json
JSON
<|file_sep|>original/requirements.txt GitPython==2.1.11 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.3 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.7 internetarchive==1.8.4 nose==1.3.7 oauthlib==3.0.1 pip==19.1.1 pylint==2.3.1 PyGithub==1.43.7 pywikibot==3.0.20190301 requests==2.21.0 requests-mock==1.6.0 requests-...
GitPython==2.1.11 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.3 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.7 internetarchive==1.8.4 nose==1.3.7 oauthlib==3.0.1 pip==19.1.1 pylint==2.3.1 PyGithub==1.43.7 pywikibot==3.0.20190430 requests==2.21.0 requests-mock==1.6.0 requests-oauthlib==1.2.0 roman==3.2 safety==1.8...
<|file_sep|>original/requirements.txt GitPython==2.1.11 codacy-coverage==1.3.11 codecov==2.0.15 coverage==4.5.3 ddt==1.2.1 defusedxml==0.6.0 flake8==3.7.7 internetarchive==1.8.4 nose==1.3.7 oauthlib==3.0.1 pip==19.1.1 pylint==2.3.1 PyGithub==1.43.7 pywikibot==3.0.20190301 requests==2.21.0 requests-mock==1.6.0 requests-...
d47346cfec5b03fbccfbc2c68c4d8a3301af2097
requirements.txt
requirements.txt
Text