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|>wiblog/formatting.py.diff original: updated: import CommonMark from images.models import Image <|file_sep|>wiblog/formatting.py.diff original: import CommonMark updated: from django.core.exceptions import ObjectDoesNotExist import re <|file_sep|>wiblog/formatting.py.diff original: # Convert a markdown stri...
# prevent changing string positions and messing up substitution for tag_dict in reversed(tags): value = value[:tag_dict['start']] + \ '![{}]({})'.format(tag_dict['image'].desc, tag_dict['image'].get_absolute_url()) + \ value[tag_dict['end']:] return mark...
<|file_sep|>wiblog/formatting.py.diff original: updated: import CommonMark from images.models import Image <|file_sep|>wiblog/formatting.py.diff original: import CommonMark updated: from django.core.exceptions import ObjectDoesNotExist import re <|file_sep|>wiblog/formatting.py.diff original: # Convert a markdown stri...
82b4e19e4d12c9a44c4258afaa78a7e386e0f7de
wiblog/formatting.py
wiblog/formatting.py
Python
<|file_sep|>original/build/dbscripts-duplicate_upgrade_scripts.sh #!/bin/sh OUT="$(find "$(dirname "$0")/../packaging/dbscripts" | grep -P '\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)" if [ -n "${OUT}" ]; then echo "Found duplicate upgrade scripts with version $(echo ${OUT}), please resolve and retry" >&2 exit 1 fi ...
#!/bin/sh OUT="$(find "$(dirname "$0")/../packaging/dbscripts" | grep -P '^\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)" if [ -n "${OUT}" ]; then echo "Found duplicate upgrade scripts with version $(echo ${OUT}), please resolve and retry" >&2 exit 1 fi exit 0
<|file_sep|>original/build/dbscripts-duplicate_upgrade_scripts.sh #!/bin/sh OUT="$(find "$(dirname "$0")/../packaging/dbscripts" | grep -P '\d{2}_\d{2}_\d{2,8}' -o | sort | uniq -d)" if [ -n "${OUT}" ]; then echo "Found duplicate upgrade scripts with version $(echo ${OUT}), please resolve and retry" >&2 exit 1 fi ...
042a658338a069a838a5bcef26fc5f6187eb54fe
build/dbscripts-duplicate_upgrade_scripts.sh
build/dbscripts-duplicate_upgrade_scripts.sh
Shell
<|file_sep|>original/examples/HelloWorld/CMakeLists.txt # For more information see the CMake documentation: # http://www.cmake.org/cmake/help/documentation.html # http://techbase.kde.org/Development/Tutorials/CMake cmake_minimum_required(VERSION 2.8.12) # find KDE's extra cmake modules: find_package(ECM 1.1.0 REQUIRED ...
# For more information see the CMake documentation: # http://www.cmake.org/cmake/help/documentation.html # http://techbase.kde.org/Development/Tutorials/CMake cmake_minimum_required(VERSION 2.8.12) # find KDE's extra cmake modules: find_package(ECM 1.1.0 REQUIRED NO_MODULE) # Project name project(HelloWorld) # Tell C...
<|file_sep|>original/examples/HelloWorld/CMakeLists.txt # For more information see the CMake documentation: # http://www.cmake.org/cmake/help/documentation.html # http://techbase.kde.org/Development/Tutorials/CMake cmake_minimum_required(VERSION 2.8.12) # find KDE's extra cmake modules: find_package(ECM 1.1.0 REQUIRED ...
f75f0cad8ac3d7196df4b30d1d2482016ee08f1d
examples/HelloWorld/CMakeLists.txt
examples/HelloWorld/CMakeLists.txt
Text
<|file_sep|>pypwa/meta.yaml.diff original: version: "3.0.0b1" updated: version: "3.0.0" <|file_sep|>original/pypwa/meta.yaml package: name: pypwa version: "3.0.0b1" source: git_rev: development git_url: https://github.com/JeffersonLab/PyPWA.git requirements: build: - python>=3.6,<4 - setuptools...
package: name: pypwa version: "3.0.0" source: git_rev: master git_url: https://github.com/JeffersonLab/PyPWA.git requirements: build: - python>=3.6,<4 - setuptools>=46 - tqdm>=4.45,<5 - iminuit>=1.3,<2 - scipy>=1.4,<2 - numpy>=1.18,<2 - pyyaml>=5.3,<6 - tabulate>=0.8,<1 ...
<|file_sep|>pypwa/meta.yaml.diff original: version: "3.0.0b1" updated: version: "3.0.0" <|file_sep|>original/pypwa/meta.yaml package: name: pypwa version: "3.0.0b1" source: git_rev: development git_url: https://github.com/JeffersonLab/PyPWA.git requirements: build: - python>=3.6,<4 - setuptools...
a39bebdf33607fbbd7968e338fc528b59efcbfe4
pypwa/meta.yaml
pypwa/meta.yaml
YAML
<|file_sep|>scripts/deploy.sh.diff original: updated: git config --global push.default matching <|file_sep|>original/scripts/deploy.sh git config --global user.name "$GITHUB_NAME" echo "Removing contents..." rm -r caramelomartins.github.io/* echo "Copying new contents..." cp -r public/* caramelomartins.github.io/ H...
git config --global push.default matching echo "Removing contents..." rm -r caramelomartins.github.io/* echo "Copying new contents..." cp -r public/* caramelomartins.github.io/ HASH=$(git rev-parse --short HEAD) echo "Pushing new contents..." cd caramelomartins.github.io || exit git add ./* git commit -q -m "Auto De...
<|file_sep|>scripts/deploy.sh.diff original: updated: git config --global push.default matching <|file_sep|>original/scripts/deploy.sh git config --global user.name "$GITHUB_NAME" echo "Removing contents..." rm -r caramelomartins.github.io/* echo "Copying new contents..." cp -r public/* caramelomartins.github.io/ H...
f0d269534f8034c6a60734af39683feb84374b12
scripts/deploy.sh
scripts/deploy.sh
Shell
<|file_sep|>original/src/codechicken/lib/world/TileChunkLoadHook.java package codechicken.lib.world; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.world.ChunkEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import j...
package codechicken.lib.world; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.world.ChunkEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import java.util.ArrayList; import java.util.List; import java.util.ArrayList...
<|file_sep|>original/src/codechicken/lib/world/TileChunkLoadHook.java package codechicken.lib.world; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.world.ChunkEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import j...
68d97f0791ce5a201646803f40452df8cf453916
src/codechicken/lib/world/TileChunkLoadHook.java
src/codechicken/lib/world/TileChunkLoadHook.java
Java
<|file_sep|>original/.pkgr.yml targets: ubuntu-14.04: after_install: ./packager/debian/postinst ubuntu-12.04: after_install: ./packager/debian/postinst centos-6: after_install: ./packager/debian/postinst.centos centos-7: after_install: ./packager/debian/postinst.centos debian-7: after_inst...
targets: ubuntu-14.04: after_install: ./packager/debian/postinst ubuntu-12.04: after_install: ./packager/debian/postinst centos-7: after_install: ./packager/debian/postinst.centos debian-7: after_install: ./packager/debian/postinst debian-8: after_install: ./packager/debian/postinst fedo...
<|file_sep|>original/.pkgr.yml targets: ubuntu-14.04: after_install: ./packager/debian/postinst ubuntu-12.04: after_install: ./packager/debian/postinst centos-6: after_install: ./packager/debian/postinst.centos centos-7: after_install: ./packager/debian/postinst.centos debian-7: after_inst...
193efc5037d4888b5d29d6ca453f06711e668252
.pkgr.yml
.pkgr.yml
YAML
<|file_sep|>src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java.diff original: updated: @SuppressWarnings("unchecked") <|file_sep|>src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java.diff original: updated: super.setValidParents(Carousel.class); <|file_sep|>original/src/org/bootstrapjsp/tags/core/carou...
} /** * Sets a caption for this item. The caption is automatically * wrapped in a &lt;carouselcaption&gt;. */ @Attribute(rtexprvalue=true) public void setCaption(String caption) { super.appendChild(new CarouselCaption(caption), BEFORE_BODY); } @Override public void setParent(JspTag parent) { if (par...
<|file_sep|>src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java.diff original: updated: @SuppressWarnings("unchecked") <|file_sep|>src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java.diff original: updated: super.setValidParents(Carousel.class); <|file_sep|>original/src/org/bootstrapjsp/tags/core/carou...
d76497aad6a0040c78f816c10081b7ec71a2bec6
src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java
src/org/bootstrapjsp/tags/core/carousel/CarouselItem.java
Java
<|file_sep|>original/README.md Clean and purely beautiful. ## Installation ```bash $ git clone https://github.com/hpurmann/dotfiles.git ~/dotfiles $ cd ~/dotfiles $ ./makesymlinks.sh ``` ## Plugins These plugins need special treatment to get working. ### [tmux OSX Clipboard](https://github.com/ChrisJohnsen/tmux-M...
Clean and purely beautiful. ## Installation ```bash $ git clone https://github.com/hpurmann/dotfiles.git ~/dotfiles $ cd ~/dotfiles $ ./makesymlinks.sh ``` ## Font [Meslo](https://github.com/powerline/fonts/blob/master/Meslo/Meslo%20LG%20M%20Regular%20for%20Powerline.otf) ## Plugins These plugins need special tre...
<|file_sep|>original/README.md Clean and purely beautiful. ## Installation ```bash $ git clone https://github.com/hpurmann/dotfiles.git ~/dotfiles $ cd ~/dotfiles $ ./makesymlinks.sh ``` ## Plugins These plugins need special treatment to get working. ### [tmux OSX Clipboard](https://github.com/ChrisJohnsen/tmux-M...
ae914df2ab379a48eba3dc0f9468393118e289b3
README.md
README.md
Markdown
<|file_sep|>original/package.json "http-proxy" ], "main" : "./bin/hipache", "bin": { "hipache": "./bin/hipache" }, "directories" : { "lib" : "./lib" }, "dependencies" : { "http-proxy" : "0.8.3", "redis" : "0.7.x", "lru-cache": "2.0.x", ...
"http-proxy" ], "main" : "./bin/hipache", "bin": { "hipache": "./bin/hipache" }, "directories" : { "lib" : "./lib" }, "dependencies" : { "http-proxy" : "git://github.com/jpetazzo/node-http-proxy#patch-1", "redis" : "0.7.x", "lru-cache": "2.0.x"...
<|file_sep|>original/package.json "http-proxy" ], "main" : "./bin/hipache", "bin": { "hipache": "./bin/hipache" }, "directories" : { "lib" : "./lib" }, "dependencies" : { "http-proxy" : "0.8.3", "redis" : "0.7.x", "lru-cache": "2.0.x", ...
f29e9de278f4c999d1639a08a3707a21cf95deaa
package.json
package.json
JSON
<|file_sep|>app/views/devise/sessions/_login_form.html.haml.diff original: = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login form-horizontal" }) do |f| updated: = bootstrap_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| <|fi...
= bootstrap_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| .form-group = f.email_field :email .form-group = f.password_field :password - if devise_mapping.recoverable? && controller_name != 'passwords' = link_to "Forgot your password?", new_password_path(resou...
<|file_sep|>app/views/devise/sessions/_login_form.html.haml.diff original: = form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login form-horizontal" }) do |f| updated: = bootstrap_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| <|fi...
bfb805e28c49ff4e83e619c2b5fb711fa4bf4ae8
app/views/devise/sessions/_login_form.html.haml
app/views/devise/sessions/_login_form.html.haml
Haml
<|file_sep|>original/src/ofp/yaml/ycontrollermaxlen.cpp #include "ofp/yaml/yllvm.h" #include "ofp/yaml/ycontrollermaxlen.h" using namespace ofp; using ofp::yaml::EnumConverterSparse; #define OFP_NAME(s) \ { OFPCML_##s, #s } OFP_BEGIN_IGNORE_GLOBAL_CONSTRUCTOR static std::pair<OFPControllerMaxLen, llvm::StringRef...
#include "ofp/yaml/yllvm.h" #include "ofp/yaml/ycontrollermaxlen.h" using namespace ofp; using ofp::yaml::EnumConverterSparse; #define OFP_NAME(s) \ { OFPCML_##s, #s } OFP_BEGIN_IGNORE_GLOBAL_CONSTRUCTOR static std::pair<OFPControllerMaxLen, llvm::StringRef> sControllerMaxLen[] = { OFP_NAME(MAX), OFP_NAME...
<|file_sep|>original/src/ofp/yaml/ycontrollermaxlen.cpp #include "ofp/yaml/yllvm.h" #include "ofp/yaml/ycontrollermaxlen.h" using namespace ofp; using ofp::yaml::EnumConverterSparse; #define OFP_NAME(s) \ { OFPCML_##s, #s } OFP_BEGIN_IGNORE_GLOBAL_CONSTRUCTOR static std::pair<OFPControllerMaxLen, llvm::StringRef...
b54685628948eddd1e33a4b9a70792d0d1590875
src/ofp/yaml/ycontrollermaxlen.cpp
src/ofp/yaml/ycontrollermaxlen.cpp
C++
<|file_sep|>extensions/widgets/interactive/CodeRepl/CodeRepl.html.diff original: updated: <style> .code-repl-input-box { border: 1px solid #ccc; } </style> <|file_sep|>original/extensions/widgets/interactive/CodeRepl/CodeRepl.html <em>Language: <[language]></em> </div> <br> <form ng-submit="...
} </style> <script type="text/ng-template" id="interactiveWidget/CodeRepl"> <div> <div> <em>Language: <[language]></em> </div> <br> <form ng-submit="runCode(code)"> <div class="code-repl-input-box"> <div ui-codemirror="{onLoad: initCodeEditor}"> </div> </div> ...
<|file_sep|>extensions/widgets/interactive/CodeRepl/CodeRepl.html.diff original: updated: <style> .code-repl-input-box { border: 1px solid #ccc; } </style> <|file_sep|>original/extensions/widgets/interactive/CodeRepl/CodeRepl.html <em>Language: <[language]></em> </div> <br> <form ng-submit="...
5d4845c8364e9e559ef8ed6b8e7aeabd52e9a0d0
extensions/widgets/interactive/CodeRepl/CodeRepl.html
extensions/widgets/interactive/CodeRepl/CodeRepl.html
HTML
<|file_sep|>original/api.js BloggerController.getAllProfiles(true, function (profiles, error) { if(error) { res.send(error); } else { res.json(profiles); } }); }); app.get('/api/v0.1/bloggers/:vanityUrl', function(req, res) { var vanityUrl = req.params.vanityurl; BloggerController.getPro...
BloggerController.getAllProfiles(true, function (profiles, error) { if(error) { res.send(error); } else { res.json(profiles); } }); }); app.get('/api/v0.1/bloggers/:vanityurl', function(req, res) { var vanityUrl = req.params.vanityurl; BloggerController.getProfileByVanityUrl(vanityUrl, f...
<|file_sep|>original/api.js BloggerController.getAllProfiles(true, function (profiles, error) { if(error) { res.send(error); } else { res.json(profiles); } }); }); app.get('/api/v0.1/bloggers/:vanityUrl', function(req, res) { var vanityUrl = req.params.vanityurl; BloggerController.getPro...
037dbc58135277923787836621f256974b85c3df
api.js
api.js
JavaScript
<|file_sep|>app/src/main/res/menu/menu_main.xml.diff original: updated: <item android:id="@+id/action_settings" android:orderInCategory="1" android:title="Settings" app:showAsAction="never"/> <|file_sep|>app/src/main/res/menu/menu_main.xml.diff original: android:orderInCategory="100" updated: android:or...
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity"> <item android:id="@+id/action_settings" android:orderInCategory="1" android:title="Settings" app:...
<|file_sep|>app/src/main/res/menu/menu_main.xml.diff original: updated: <item android:id="@+id/action_settings" android:orderInCategory="1" android:title="Settings" app:showAsAction="never"/> <|file_sep|>app/src/main/res/menu/menu_main.xml.diff original: android:orderInCategory="100" updated: android:or...
9c6b14ecec0fbba93264980a5a4050b06de8a1e6
app/src/main/res/menu/menu_main.xml
app/src/main/res/menu/menu_main.xml
XML
<|file_sep|>original/build_heka.sh #!/bin/bash : ${CIRCLE_BUILD_NUM:=`git describe --always`} : ${CIRCLE_ARTIFACTS:=`pwd`} : ${BUILD_TYPE:=TGZ} goat deps export GOPATH=`goat env GOPATH` mkdir -p .goat/deps/src/github.com/mozilla-services/heka/externals rsync -a --exclude-from .gitignore `pwd`/ .goat/deps/src/github...
#!/bin/bash : ${CIRCLE_BUILD_NUM:=`git describe --always`} : ${CIRCLE_ARTIFACTS:=`pwd`} : ${BUILD_TYPE:=TGZ} goat deps export GOPATH=`goat env GOPATH` mkdir -p .goat/deps/src/github.com/mozilla-services/heka/externals rsync -a --exclude-from .gitignore `pwd`/ .goat/deps/src/github.com/mozilla-services/heka/external...
<|file_sep|>original/build_heka.sh #!/bin/bash : ${CIRCLE_BUILD_NUM:=`git describe --always`} : ${CIRCLE_ARTIFACTS:=`pwd`} : ${BUILD_TYPE:=TGZ} goat deps export GOPATH=`goat env GOPATH` mkdir -p .goat/deps/src/github.com/mozilla-services/heka/externals rsync -a --exclude-from .gitignore `pwd`/ .goat/deps/src/github...
003e42d6813867a050b8049eec91d17320e061e8
build_heka.sh
build_heka.sh
Shell
<|file_sep|>original/dev-requirements.txt # Requirements marshmallow # Task running invoke==1.0.0 # Testing pytest==3.6.3 tox==3.0.0 mock==2.0.0 webtest==2.0.30 # Web frameworks Flask>=0.10.1 Django>=1.6.5 bottle>=0.12.10 tornado>=4.0 pyramid>=1.5.2 webapp2>=3.0.0b1 falcon>=0.3.0 <|file_sep|>current/dev-requirement...
# Requirements marshmallow # Task running invoke==1.0.0 # Testing pytest==3.6.3 tox==3.1.1 mock==2.0.0 webtest==2.0.30 # Web frameworks Flask>=0.10.1 Django>=1.6.5 bottle>=0.12.10 tornado>=4.0 pyramid>=1.5.2 webapp2>=3.0.0b1 falcon>=0.3.0
<|file_sep|>original/dev-requirements.txt # Requirements marshmallow # Task running invoke==1.0.0 # Testing pytest==3.6.3 tox==3.0.0 mock==2.0.0 webtest==2.0.30 # Web frameworks Flask>=0.10.1 Django>=1.6.5 bottle>=0.12.10 tornado>=4.0 pyramid>=1.5.2 webapp2>=3.0.0b1 falcon>=0.3.0 <|file_sep|>current/dev-requirement...
7828d3f3c92cde29f0e132d4ae2fb9c4e8441350
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties #Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 groovy=2.5.9 guava=28.2-jre junit-jupiter=5.6.0 junit=4.13 kotlin=1.4.0-dev-3529-134 scala-...
#Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 groovy=2.5.9 guava=28.2-jre junit-jupiter=5.6.0 junit=4.13 kotlin=1.3.70 scala-library=2.13.1 scala-xml=1.2.0 scala=2.13 scalatest=3.1.1 scalatestplus-junit=3.1.1.0 slf4j=1.7.30 spock=1.3-groovy-2.5 testng=7.1.1
<|file_sep|>original/subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties #Generated file, please do not edit - Version values used in build-init templates commons-math=3.6.1 groovy=2.5.9 guava=28.2-jre junit-jupiter=5.6.0 junit=4.13 kotlin=1.4.0-dev-3529-134 scala-...
1ba702be200c4118dd08c5dd55d5587d17187759
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
subprojects/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/library-versions.properties
INI
<|file_sep|>original/imports/startup/routes.js // Handles the setup of the routes within the app. // Sets the root the the 'body' tag BlazeLayout.setRoot('body'); // Sets the index to automatically render either dashboard or the main page depending on logged in status FlowRouter.route('/', { name: 'App_Content', ...
// Handles the setup of the routes within the app. // Sets the root the the 'body' tag BlazeLayout.setRoot('body'); // Sets the index to automatically render either dashboard or the main page depending on logged in status FlowRouter.route('/', { name: 'App_Content', action() { if(Meteor.user() === undefined){ ...
<|file_sep|>original/imports/startup/routes.js // Handles the setup of the routes within the app. // Sets the root the the 'body' tag BlazeLayout.setRoot('body'); // Sets the index to automatically render either dashboard or the main page depending on logged in status FlowRouter.route('/', { name: 'App_Content', ...
5d9b53f39f47c5c87812d2c7283f66cec98cd57b
imports/startup/routes.js
imports/startup/routes.js
JavaScript
<|file_sep|>original/spec/yelp/client/search_spec.rb let(:params) { Hash[term: 'restaurants', category_filter: 'discgolf'] } before do @client = Yelp::Client.new(keys) end describe 'search' do it 'should make a successful search against the api' do @client.search_request({l...
let(:params) { Hash[term: 'restaurants', category_filter: 'discgolf'] } before do @client = Yelp::Client.new(keys) end describe 'search' do it 'should make a successful search against the api' do @client.search_request({location: location}).status.should eql 200 end ...
<|file_sep|>original/spec/yelp/client/search_spec.rb let(:params) { Hash[term: 'restaurants', category_filter: 'discgolf'] } before do @client = Yelp::Client.new(keys) end describe 'search' do it 'should make a successful search against the api' do @client.search_request({l...
31d155266d8da16a70f273e5b70d07c72feebd15
spec/yelp/client/search_spec.rb
spec/yelp/client/search_spec.rb
Ruby
<|file_sep|>original/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java
package info.u_team.u_team_core.data; import java.io.IOException; import java.util.Arrays; import net.minecraft.resources.*; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.data.ExistingFileHelper; import net.minecraftforge.fml.loading.FMLLoader; public class ExistingFileHelperWithForge ...
<|file_sep|>original/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java package info.u_team.u_team_co...
5a2ad0c9fe478aab952457e9a0c189ceac6865c9
src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java
src/main/java/info/u_team/u_team_core/data/ExistingFileHelperWithForge.java
Java
<|file_sep|>original/Pod/Classes/Core/CLPUIObject.h #import "CLPBaseObject.h" @interface CLPUIObject : CLPBaseObject @property (nonatomic, readwrite) IBOutlet UIView *view; - (instancetype)remove; @end <|file_sep|>current/Pod/Classes/Core/CLPUIObject.h #import "CLPBaseObject.h" @interface CLPUIObject : CLPBaseObje...
#import "CLPBaseObject.h" @interface CLPUIObject : CLPBaseObject @property (nonatomic, strong, readwrite) IBOutlet UIView *view; - (instancetype)remove; @end
<|file_sep|>original/Pod/Classes/Core/CLPUIObject.h #import "CLPBaseObject.h" @interface CLPUIObject : CLPBaseObject @property (nonatomic, readwrite) IBOutlet UIView *view; - (instancetype)remove; @end <|file_sep|>current/Pod/Classes/Core/CLPUIObject.h #import "CLPBaseObject.h" @interface CLPUIObject : CLPBaseObje...
a5f90d80a27a575b3fc428e38d2d179dad1c877b
Pod/Classes/Core/CLPUIObject.h
Pod/Classes/Core/CLPUIObject.h
C
<|file_sep|>original/docs/faq.md ## Operating Systems Only Container Linux is supported currently. This just due to operational familiarity, rather than intentional exclusion. It's important that another operating system be added, to reduce the risk of making narrowly-scoped design decisions. Fedora Cloud will likely...
## Operating Systems Only Container Linux is supported currently. This just due to operational familiarity, rather than intentional exclusion. It's important that another operating system be added, to reduce the risk of making narrowly-scoped design decisions. Fedora Cloud will likely be next. ## Get Help Ask ques...
<|file_sep|>original/docs/faq.md ## Operating Systems Only Container Linux is supported currently. This just due to operational familiarity, rather than intentional exclusion. It's important that another operating system be added, to reduce the risk of making narrowly-scoped design decisions. Fedora Cloud will likely...
fd9606712558e3251bc6636817440b99c7ca8dc0
docs/faq.md
docs/faq.md
Markdown
<|file_sep|>original/tests/issues/test_issue0619.py return self.__dict__[attr] KeyError: '_foo' I think this is because the __getattr__ method in Context (here) don't raise properly AttributeError when the key don't exists in the dict, so the default behaviour of getattr is not executed (see docs). """ from...
return self.__dict__[attr] KeyError: '_foo' I think this is because the __getattr__ method in Context (here) don't raise properly AttributeError when the key don't exists in the dict, so the default behaviour of getattr is not executed (see docs). """ from __future__ import absolute_import from behave.runne...
<|file_sep|>original/tests/issues/test_issue0619.py return self.__dict__[attr] KeyError: '_foo' I think this is because the __getattr__ method in Context (here) don't raise properly AttributeError when the key don't exists in the dict, so the default behaviour of getattr is not executed (see docs). """ from...
8fa72cea635171e94f0fb5538bc82197c6890b36
tests/issues/test_issue0619.py
tests/issues/test_issue0619.py
Python
<|file_sep|>original/src/Scripts/endtoend-constants.py <|file_sep|>current/src/Scripts/endtoend-constants.py <|file_sep|>updated/src/Scripts/endtoend-constants.py
from num2words import num2words # Generate BitFunnel chunk data, with documents consisting of: # {'one'}, {'one', 'two'}, {'one', 'two', 'three'}, ... def print_numbers(num): all_numbers = "" for i in range(1, num+1): english_number = num2words(i).replace(' ','-') all_numbers += english_number...
<|file_sep|>original/src/Scripts/endtoend-constants.py <|file_sep|>current/src/Scripts/endtoend-constants.py <|file_sep|>updated/src/Scripts/endtoend-constants.py from num2words import num2words # Generate BitFunnel chunk data, with documents consisting of: # {'one'}, {'one', 'two'}, {'one', 'two', 'three'}, ... de...
ef6d88b1caa830a2b095d80dff7d32f624517149
src/Scripts/endtoend-constants.py
src/Scripts/endtoend-constants.py
Python
<|file_sep|>extensions/css/snippets/css.json.diff original: "transition: ${property} ${duration} ${timing-function} ${delay};", updated: <|file_sep|>original/extensions/css/snippets/css.json { "transition property": { "prefix": "transition", "body": [ "transition: ${property} ${duration} ${timing-function} ...
{ "transition property": { "prefix": "transition", "body": [ "-webkit-transition: ${property} ${duration} ${timing-function} ${delay};", "-moz-transition: ${property} ${duration} ${timing-function} ${delay};", "transition: ${property} ${duration} ${timing-function} ${delay};" ], "description": "The tr...
<|file_sep|>extensions/css/snippets/css.json.diff original: "transition: ${property} ${duration} ${timing-function} ${delay};", updated: <|file_sep|>original/extensions/css/snippets/css.json { "transition property": { "prefix": "transition", "body": [ "transition: ${property} ${duration} ${timing-function} ...
911ba94d5cb026be9c56dc449699f5db2f088360
extensions/css/snippets/css.json
extensions/css/snippets/css.json
JSON
<|file_sep|>original/docs/src/app/components/pages/components/Tabs/ExampleControlled.js value: value, }); }; render() { return ( <Tabs value={this.state.value} onChange={this.handleChange} > <Tab label="Tab A" value="a" > <div> <h2 style={styl...
value: value, }); }; render() { return ( <Tabs value={this.state.value} onChange={this.handleChange} > <Tab label="Tab A" value="a"> <div> <h2 style={styles.headline}>Controllable Tab A</h2> <p> Tabs are also controll...
<|file_sep|>original/docs/src/app/components/pages/components/Tabs/ExampleControlled.js value: value, }); }; render() { return ( <Tabs value={this.state.value} onChange={this.handleChange} > <Tab label="Tab A" value="a" > <div> <h2 style={styl...
c5a98a9a7c99537fa03e2dbed720db5f6b0ea0bd
docs/src/app/components/pages/components/Tabs/ExampleControlled.js
docs/src/app/components/pages/components/Tabs/ExampleControlled.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "1.1.0" - "0.8.0" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "1.1.0" - "0.8.0" before_script: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml
language: node_js before_script: - npm install -g grunt-cli
<|file_sep|>original/.travis.yml language: node_js node_js: - "1.1.0" - "0.8.0" before_script: - npm install -g grunt-cli <|file_sep|>current/.travis.yml language: node_js node_js: - "1.1.0" - "0.8.0" before_script: - npm install -g grunt-cli <|file_sep|>updated/.travis.yml language: node_js before_script: ...
c433af8cb196d3841808e34c29588f2f5ee94199
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/run_tests.yml <|file_sep|>current/.github/workflows/run_tests.yml <|file_sep|>updated/.github/workflows/run_tests.yml
name: Tests on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: [ubuntu-latest] php: ["7.4", "8.0", "8.1"] dependency-version: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - ${{ matrix.dependency-version }} ...
<|file_sep|>original/.github/workflows/run_tests.yml <|file_sep|>current/.github/workflows/run_tests.yml <|file_sep|>updated/.github/workflows/run_tests.yml name: Tests on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} strategy: fail-fast: true matrix: os: [ubuntu-latest] ...
a9373acc34e4ff6b0da5c78b229351aedfcca52c
.github/workflows/run_tests.yml
.github/workflows/run_tests.yml
YAML
<|file_sep|>bigbase/bigmandelbrot_test.go.diff original: if !originMember.SetMember() { updated: if !originMember.InSet { <|file_sep|>bigbase/bigmandelbrot_test.go.diff original: if nonMember.SetMember() { updated: if nonMember.InSet { <|file_sep|>original/bigbase/bigmandelbrot_test.go nonMember := BigMandelbrotMe...
nonMember := BigMandelbrotMember{ C: &non, SqrtDivergeLimit: &sqrtDL, Prec: testPrec, } originMember.Mandelbrot(iterateLimit) nonMember.Mandelbrot(iterateLimit) if !originMember.InSet { t.Error("Expected origin to be in Mandelbrot set") } if nonMember.InSet { t.Error("Expected ", nonMember, " to be ...
<|file_sep|>bigbase/bigmandelbrot_test.go.diff original: if !originMember.SetMember() { updated: if !originMember.InSet { <|file_sep|>bigbase/bigmandelbrot_test.go.diff original: if nonMember.SetMember() { updated: if nonMember.InSet { <|file_sep|>original/bigbase/bigmandelbrot_test.go nonMember := BigMandelbrotMe...
b30751191d32097552e73d56402dd0506b5e61be
bigbase/bigmandelbrot_test.go
bigbase/bigmandelbrot_test.go
Go
<|file_sep|>original/debian/patches/0001-Localize-generated-documentation.patch From: "Jeremy T. Bouse" <Jeremy.Bouse@UnderGrid.net> Date: Mon, 15 Feb 2016 13:00:19 -0500 Subject: Localize generated documentation Remove external resource references from the Sphinx layout to generate local documentation to package unde...
From: "Jeremy T. Bouse" <jbouse@debian.org> Date: Mon, 15 Feb 2016 13:00:19 -0500 Subject: Localize generated documentation Remove external resource references from the Sphinx layout to generate local documentation to package under /usr/share/doc for the paramiko-doc. --- sites/shared_conf.py | 5 +---- 1 file change...
<|file_sep|>original/debian/patches/0001-Localize-generated-documentation.patch From: "Jeremy T. Bouse" <Jeremy.Bouse@UnderGrid.net> Date: Mon, 15 Feb 2016 13:00:19 -0500 Subject: Localize generated documentation Remove external resource references from the Sphinx layout to generate local documentation to package unde...
d11ec86ba2b48dd6f4244bfed24938bc403a107a
debian/patches/0001-Localize-generated-documentation.patch
debian/patches/0001-Localize-generated-documentation.patch
Diff
<|file_sep|>original/source/manual/ownership-meaning.html.md <|file_sep|>current/source/manual/ownership-meaning.html.md <|file_sep|>updated/source/manual/ownership-meaning.html.md
--- owner_slack: "#govuk-developers" title: Application ownership section: Applications layout: manual_layout parent: "/manual.html" --- This describes what ownership of a GOV.UK application means in practice. ##What ownership means The owner of an application is responsible for: - keeping its code up to date (eg d...
<|file_sep|>original/source/manual/ownership-meaning.html.md <|file_sep|>current/source/manual/ownership-meaning.html.md <|file_sep|>updated/source/manual/ownership-meaning.html.md --- owner_slack: "#govuk-developers" title: Application ownership section: Applications layout: manual_layout parent: "/manual.html" --- ...
d8bff3af0137ed05a1f14a5e2707b63be7a518d8
source/manual/ownership-meaning.html.md
source/manual/ownership-meaning.html.md
Markdown
<|file_sep|>original/README.md # gargle [![Build Status](https://travis-ci.org/r-lib/gargle.svg?branch=master)](https://travis-ci.org/r-lib/gargle) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-lib/gargle?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/gargle) [![co...
# gargle [![Build Status](https://travis-ci.org/r-lib/gargle.svg?branch=master)](https://travis-ci.org/r-lib/gargle) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-lib/gargle?branch=master&svg=true)](https://ci.appveyor.com/project/r-lib/gargle) [![codecov.io](https://codecov.io/github...
<|file_sep|>original/README.md # gargle [![Build Status](https://travis-ci.org/r-lib/gargle.svg?branch=master)](https://travis-ci.org/r-lib/gargle) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-lib/gargle?branch=master&svg=true)](https://ci.appveyor.com/project/tidyverse/gargle) [![co...
2bae574b2b7229654ca90fb46c8e97b3c9c0c1ef
README.md
README.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.1 tox==2.3.1 coverage==4.1 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pytest==2.9.2 requests==2.10.0 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 fl...
pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.2 tox==2.3.1 coverage==4.1 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pytest==2.9.2 requests==2.10.0
<|file_sep|>original/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 flake8==3.0.1 tox==2.3.1 coverage==4.1 Sphinx==1.4.5 cryptography==1.4 PyYAML==3.11 pytest==2.9.2 requests==2.10.0 <|file_sep|>current/requirements_dev.txt pip==8.1.2 bumpversion==0.5.3 wheel==0.29.0 watchdog==0.8.3 fl...
571fe1d814c00e8c4ed02731c79d903fa9626221
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/frontend/config/routes.rb # frozen_string_literal: true Spree::Core::Engine.routes.draw do root to: 'home#index' resources :products, only: [:index, :show] get '/locale/set', to: 'locale#set' # non-restful checkout stuff patch '/checkout/update/:state', to: 'checkout#update', as: :upd...
# frozen_string_literal: true Spree::Core::Engine.routes.draw do root to: 'home#index' resources :products, only: [:index, :show] get '/locale/set', to: 'locale#set' post '/locale/set', to: 'locale#set', as: :select_locale # non-restful checkout stuff patch '/checkout/update/:state', to: 'checkout#updat...
<|file_sep|>original/frontend/config/routes.rb # frozen_string_literal: true Spree::Core::Engine.routes.draw do root to: 'home#index' resources :products, only: [:index, :show] get '/locale/set', to: 'locale#set' # non-restful checkout stuff patch '/checkout/update/:state', to: 'checkout#update', as: :upd...
7d5e3830722a60474c66c47a025622b3343081c1
frontend/config/routes.rb
frontend/config/routes.rb
Ruby
<|file_sep|>original/.drone.yml - name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - golang...
- name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - golangci-lint run - git clone --dept...
<|file_sep|>original/.drone.yml - name: test image: golang environment: GO111MODULE: on ARN_ROOT: /notify.moe commands: - go version - go get ./... - go build ./... - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0 - golang...
3031b2bcc712db7678c777566e75cde460513ebb
.drone.yml
.drone.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: env: - $DJANGO_ENV="" - $DJANGO_ENV="pip install --upgrade Django" - $DJANGO_ENV="pip install --upgrade --pre Django" <|file_sep|>.travis.yml.diff original: updated: - $DJANGO_ENV <|file_sep|>original/.travis.yml install: - pip install -r requirements.txt -...
install: - pip install -r requirements.txt - $DJANGO_ENV - pip install coveralls - npm install -g bower - bower install before_script: # @see https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI - "export DISPLAY=:99.0" - "sh -e /etc/init.d/xvfb start" ...
<|file_sep|>.travis.yml.diff original: updated: env: - $DJANGO_ENV="" - $DJANGO_ENV="pip install --upgrade Django" - $DJANGO_ENV="pip install --upgrade --pre Django" <|file_sep|>.travis.yml.diff original: updated: - $DJANGO_ENV <|file_sep|>original/.travis.yml install: - pip install -r requirements.txt -...
142985fb246ea32b0aeaeb95aadb1f61c384d57f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/sw/device/lib/dif/dif_warn_unused_result.h */ // Header Extern Guard (so header can be used from C and C++) #ifdef __cplusplus extern "C" { #endif // __cplusplus /** * Attribute for functions which return errors that must be acknowledged. * * This attribute must be used to mark all DIFs whic...
#ifdef __cplusplus extern "C" { #endif // __cplusplus /** * Attribute for functions which return errors that must be acknowledged. * * This attribute must be used to mark all DIFs which return an error value of * some kind, to ensure that callers do not accidentally drop the error on the * ground. * * Normally...
<|file_sep|>original/sw/device/lib/dif/dif_warn_unused_result.h */ // Header Extern Guard (so header can be used from C and C++) #ifdef __cplusplus extern "C" { #endif // __cplusplus /** * Attribute for functions which return errors that must be acknowledged. * * This attribute must be used to mark all DIFs whic...
642e338cf79c78704ebfa7833fdd148f561921f5
sw/device/lib/dif/dif_warn_unused_result.h
sw/device/lib/dif/dif_warn_unused_result.h
C
<|file_sep|>original/.github/workflows/publish-package.yml steps: - name: Checkout Repo uses: actions/checkout@v2 with: fetch-depth: 0 # avoids shallow checkout as needed by setuptools-scm - name: Set up Conda Environment uses: conda-incubator/setup-miniconda@v2 with: ...
- name: Checkout Repo uses: actions/checkout@v2 with: fetch-depth: 0 # avoids shallow checkout as needed by setuptools-scm - name: Set up Conda Environment uses: conda-incubator/setup-miniconda@v2 with: miniconda-version: "latest" activate-environment: "pyscaffol...
<|file_sep|>original/.github/workflows/publish-package.yml steps: - name: Checkout Repo uses: actions/checkout@v2 with: fetch-depth: 0 # avoids shallow checkout as needed by setuptools-scm - name: Set up Conda Environment uses: conda-incubator/setup-miniconda@v2 with: ...
e01d7ed7fe264a79f0dd440676c08a598e51ef9d
.github/workflows/publish-package.yml
.github/workflows/publish-package.yml
YAML
<|file_sep|>original/.travis.yml env: global: - THEME_DIR=./web/app/themes/ado-theme/ before_install: - pyrus install pear/PHP_CodeSniffer - phpenv rehash - npm install -g gulp bower - bundle install install: - composer install --no-dev --no-scripts --quiet --optimize-autoloader - cd $THEME_DIR ...
env: global: - THEME_DIR=./web/app/themes/ado-theme/ before_install: - pyrus install pear/PHP_CodeSniffer - phpenv rehash - npm install -g gulp bower - bundle install install: - composer install --no-dev --no-scripts --quiet --optimize-autoloader - cd $THEME_DIR - npm install --devDependencies -...
<|file_sep|>original/.travis.yml env: global: - THEME_DIR=./web/app/themes/ado-theme/ before_install: - pyrus install pear/PHP_CodeSniffer - phpenv rehash - npm install -g gulp bower - bundle install install: - composer install --no-dev --no-scripts --quiet --optimize-autoloader - cd $THEME_DIR ...
42795561220d929013156b8e8758b3315c6e12a6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/CodeFights/primeSum.py <|file_sep|>current/CodeFights/primeSum.py <|file_sep|>updated/CodeFights/primeSum.py
#!/usr/local/bin/python # Code Fights Prime Sum Problem def primeSum(a, b): return sum(filter(lambda p: p > 1 and all(p % n for n in range(2, int(p**0.5) + 1)), range(a, b + 1))) def main(): tests = [ [10, 20, 60], [1, 7, 17], [5, 10, 12], [24, 28, 0], ...
<|file_sep|>original/CodeFights/primeSum.py <|file_sep|>current/CodeFights/primeSum.py <|file_sep|>updated/CodeFights/primeSum.py #!/usr/local/bin/python # Code Fights Prime Sum Problem def primeSum(a, b): return sum(filter(lambda p: p > 1 and all(p % n for n in range(2, int(p**0.5) + 1)), range(...
696c9f81590eff6a127eed91257517cb0e37c81c
CodeFights/primeSum.py
CodeFights/primeSum.py
Python
<|file_sep|>original/README.md gem 'vagrant-forge-sandbox', git: "https://github.com/artemave/vagrant-forge-sandbox.git" Install bundle: $ bundle You need to specify your dev certificate (passwordless, in .pem format) in Vagrantfile: config.forge_sandbox.cert = "./my_dev_bbc_cert.pem" Use this to gener...
gem 'vagrant-forge-sandbox', git: "https://github.com/artemave/vagrant-forge-sandbox.git" Install bundle: $ bundle You need to specify your dev certificate (passwordless, in .pem format) in Vagrantfile: config.forge_sandbox.cert = "./my_dev_bbc_cert.pem" This will end up in /root/.yum/dev.bbc.co.uk.pem...
<|file_sep|>original/README.md gem 'vagrant-forge-sandbox', git: "https://github.com/artemave/vagrant-forge-sandbox.git" Install bundle: $ bundle You need to specify your dev certificate (passwordless, in .pem format) in Vagrantfile: config.forge_sandbox.cert = "./my_dev_bbc_cert.pem" Use this to gener...
718a06a50e92b6fcac5b4f0abec444ce2802f101
README.md
README.md
Markdown
<|file_sep|>init/colorscheme.vim.diff original: updated: silent! let g:airline_theme='tomorrow' <|file_sep|>original/init/colorscheme.vim set t_Co=256 set background=dark silent! colorscheme Tomorrow-Night " Feel free to override the colorscheme by adding a line to ~/.vimrc.local " such as the following: " " colorsch...
set t_Co=256 set background=dark silent! colorscheme Tomorrow-Night silent! let g:airline_theme='tomorrow' " Feel free to override the colorscheme by adding a line to ~/.vimrc.local " such as the following: " " colorscheme solarized " let g:airline_theme='solarized'
<|file_sep|>init/colorscheme.vim.diff original: updated: silent! let g:airline_theme='tomorrow' <|file_sep|>original/init/colorscheme.vim set t_Co=256 set background=dark silent! colorscheme Tomorrow-Night " Feel free to override the colorscheme by adding a line to ~/.vimrc.local " such as the following: " " colorsch...
addfc7b60510d4d3f7cebae83357e72a1bf373c0
init/colorscheme.vim
init/colorscheme.vim
VimL
<|file_sep|>app/views/users/show.html.erb.diff original: <div class="col-md-4"> updated: <div class="col-md-4"> <|file_sep|>app/views/users/show.html.erb.diff original: <div class="col-md-8"> updated: <div class="col-md-8"> <|file_sep|>app/views/users/show.html.erb.diff original: <p> <%= link_to question...
</br><b>Email : </b> <%= @user.email %> </div> </div> <div> <div class="col-md-8"> <h2> Question asked : </h2> <% @user.questions.each do |question| %> <p> <%= link_to question.title, question %> </p> <% end %> </div> <div class="col-md-8"> <h2> Question Answered : </h2> <...
<|file_sep|>app/views/users/show.html.erb.diff original: <div class="col-md-4"> updated: <div class="col-md-4"> <|file_sep|>app/views/users/show.html.erb.diff original: <div class="col-md-8"> updated: <div class="col-md-8"> <|file_sep|>app/views/users/show.html.erb.diff original: <p> <%= link_to question...
99235ede7b97dd3a59adfde87c04b219a17a1334
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB
<|file_sep|>recipes/mkdocs-macros-plugin/meta.yaml.diff original: - python updated: - python >=3.5 <|file_sep|>recipes/mkdocs-macros-plugin/meta.yaml.diff original: - python updated: - python >=3.5 <|file_sep|>original/recipes/mkdocs-macros-plugin/meta.yaml host: - pip - python - setuptool...
host: - pip - python >=3.5 - setuptools run: - jinja2 - mkdocs >=0.17 - python >=3.5 - pyyaml - repackage - termcolor test: imports: - macros about: home: "https://github.com/fralau/mkdocs_macros_plugin" license: MIT license_family: MIT license_file: LICENSE.txt
<|file_sep|>recipes/mkdocs-macros-plugin/meta.yaml.diff original: - python updated: - python >=3.5 <|file_sep|>recipes/mkdocs-macros-plugin/meta.yaml.diff original: - python updated: - python >=3.5 <|file_sep|>original/recipes/mkdocs-macros-plugin/meta.yaml host: - pip - python - setuptool...
72041ef857b20ef16f8644b750c8866dcc91bd8e
recipes/mkdocs-macros-plugin/meta.yaml
recipes/mkdocs-macros-plugin/meta.yaml
YAML
<|file_sep|>app/views/layouts/_header.html.erb.diff original: <%= link_to "Bike Commute Challenge", root_path, class: "brand" %> updated: <%= link_to "Commuter Challenge", root_path, class: "brand" %> <|file_sep|>original/app/views/layouts/_header.html.erb <div class="container"> <div class="navbar"> ...
<div class="navbar"> <div class="navbar-inner"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-chevron-down icon-white"></span> </a> <%= link_to "Commuter Challenge", root_path, class: "brand" %> <div class="nav-collapse collapse">...
<|file_sep|>app/views/layouts/_header.html.erb.diff original: <%= link_to "Bike Commute Challenge", root_path, class: "brand" %> updated: <%= link_to "Commuter Challenge", root_path, class: "brand" %> <|file_sep|>original/app/views/layouts/_header.html.erb <div class="container"> <div class="navbar"> ...
4ebd650a0f2456bf0db685b8628afe38f5fc49a5
app/views/layouts/_header.html.erb
app/views/layouts/_header.html.erb
HTML+ERB
<|file_sep|>recipes/stringtie/meta.yaml.diff original: number: 0 updated: number: 1 <|file_sep|>recipes/stringtie/meta.yaml.diff original: updated: - python <|file_sep|>original/recipes/stringtie/meta.yaml package: name: stringtie version: 1.3.3 requirements: build: - gcc # [linux] - llvm # [...
version: 1.3.3 requirements: build: - gcc # [linux] - llvm # [osx] - zlib run: - libgcc # [linux] - zlib - python source: fn: stringtie-1.3.3.tar.gz sha256: c01b16a681dc55f114dbfc2fcd725f615b2d9a79058ff8c110047cfa9cbe2976 url: http://ccb.jhu.edu/software/stringtie/dl/stringti...
<|file_sep|>recipes/stringtie/meta.yaml.diff original: number: 0 updated: number: 1 <|file_sep|>recipes/stringtie/meta.yaml.diff original: updated: - python <|file_sep|>original/recipes/stringtie/meta.yaml package: name: stringtie version: 1.3.3 requirements: build: - gcc # [linux] - llvm # [...
ce60af05c24615be7be6ac0305e5d6ecffd25315
recipes/stringtie/meta.yaml
recipes/stringtie/meta.yaml
YAML
<|file_sep|>scripts/brew_init.sh.diff original: brew install php70 brew install php70-mcrypt brew install php70-intl brew install php70-xdebug updated: brew install homebrew/php/php70 brew install homebrew/php/php70-mcrypt brew install homebrew/php/php70-intl brew install homebrew/php/php70-xdebug <|file_sep|>original/...
#!/bin/sh /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install wget brew install tmate brew install jq brew install awscli brew install s3cmd brew install vim brew install the_silver_searcher brew install homebrew/php/php70 brew install homebrew/php/php70-mcryp...
<|file_sep|>scripts/brew_init.sh.diff original: brew install php70 brew install php70-mcrypt brew install php70-intl brew install php70-xdebug updated: brew install homebrew/php/php70 brew install homebrew/php/php70-mcrypt brew install homebrew/php/php70-intl brew install homebrew/php/php70-xdebug <|file_sep|>original/...
c7f73120b0374dd12a60f633ba9e5c5de8f334e8
scripts/brew_init.sh
scripts/brew_init.sh
Shell
<|file_sep|>original/cnxuser/assets/site/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!-- Application source. --> <script data-main="scripts/main" src="scripts/libs/requirejs/require.js" async...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!-- Application source. --> <script data-main="/scripts/main" src="/scripts/libs/requirejs/require.js" async></script> </head> <body> <!-- Applicatio...
<|file_sep|>original/cnxuser/assets/site/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <!-- Application source. --> <script data-main="scripts/main" src="scripts/libs/requirejs/require.js" async...
94e88ad81fbac66535fe080213b33a9635f1a831
cnxuser/assets/site/index.html
cnxuser/assets/site/index.html
HTML
<|file_sep|>original/lib/allrecipes/page_parser.rb def recipe_info recipes_grid.search(recipe_info_class) end def recipes_grid_class ".grid-view" end def recipes_grid @page.search(recipes_grid_class)[1] end def recipe_link(info) info.search(title_class)[0].attributes["href"].value e...
def recipe_info recipes_grid.search(recipe_info_class) end def recipes_grid_class ".grid-view" end def recipes_grid @page.search(recipes_grid_class)[-1] end def recipe_link(info) info.search(title_class)[0].attributes["href"].value end def get_recipes recipe_info.each do |inf...
<|file_sep|>original/lib/allrecipes/page_parser.rb def recipe_info recipes_grid.search(recipe_info_class) end def recipes_grid_class ".grid-view" end def recipes_grid @page.search(recipes_grid_class)[1] end def recipe_link(info) info.search(title_class)[0].attributes["href"].value e...
e1e0ec813f819b8d46b3664720a46fa973646d7f
lib/allrecipes/page_parser.rb
lib/allrecipes/page_parser.rb
Ruby
<|file_sep|>original/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java <|file_sep|>current/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java <|file_sep|>updated/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
<|file_sep|>original/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java <|file_sep|>current/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java <|file_sep|>updated/src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java /* * Copyright (C) 2014 Pedro Vicente Gómez Sánch...
f12876207902d7b23d02ce3cb6823461481504f4
src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java
src/test/java/com/github/pedrovgs/problem27/ReverseSentenceTest.java
Java
<|file_sep|>icekit/plugins/content_listing/forms.py.diff original: updated: from django.forms import ModelChoiceField from django.contrib.contenttypes.models import ContentType <|file_sep|>icekit/plugins/content_listing/forms.py.diff original: #from icekit.content_collections.abstract_models import AbstractCollected...
class Meta: model = ContentListingItem fields = '__all__' def __init__(self, *args, **kwargs): super(ContentListingAdminForm, self).__init__(*args, **kwargs) # Apply `filter_content_types` filter self.fields['content_type'].queryset = self.filter_content_types( ...
<|file_sep|>icekit/plugins/content_listing/forms.py.diff original: updated: from django.forms import ModelChoiceField from django.contrib.contenttypes.models import ContentType <|file_sep|>icekit/plugins/content_listing/forms.py.diff original: #from icekit.content_collections.abstract_models import AbstractCollected...
609fcedf1aa90e0022c72121865452b3cbdd0ba3
icekit/plugins/content_listing/forms.py
icekit/plugins/content_listing/forms.py
Python
<|file_sep|>original/src/compare_version_numbers.py <|file_sep|>current/src/compare_version_numbers.py <|file_sep|>updated/src/compare_version_numbers.py
""" Source : https://oj.leetcode.com/problems/compare-version-numbers/ Author : Changxi Wu Date : 2015-01-23 Compare two version numbers version1 and version2. if version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and contain on...
<|file_sep|>original/src/compare_version_numbers.py <|file_sep|>current/src/compare_version_numbers.py <|file_sep|>updated/src/compare_version_numbers.py """ Source : https://oj.leetcode.com/problems/compare-version-numbers/ Author : Changxi Wu Date : 2015-01-23 Compare two version numbers version1 and version2. ...
65e689dd66124fcaa0ce8ab9f5029b727fba18e2
src/compare_version_numbers.py
src/compare_version_numbers.py
Python
<|file_sep|>original/README.md # gnome-mouse-magnifier A script that detects mouse shaking and magnifies mouse pointer size (similar to OS X mouse gesture) <|file_sep|>current/README.md # gnome-mouse-magnifier A script that detects mouse shaking and magnifies mouse pointer size (similar to OS X mouse gesture) <|file_se...
# gnome-mouse-magnifier A script that detects mouse shaking and magnifies mouse pointer size (similar to OS X mouse gesture) ## Running/installation Gnome-mouse-magnifier is written using `python3` and requires `python3-xlib`. To use gnome-mouse-magnifier just run: ./gnome-mouse-mangifier
<|file_sep|>original/README.md # gnome-mouse-magnifier A script that detects mouse shaking and magnifies mouse pointer size (similar to OS X mouse gesture) <|file_sep|>current/README.md # gnome-mouse-magnifier A script that detects mouse shaking and magnifies mouse pointer size (similar to OS X mouse gesture) <|file_se...
b42727ee549f29873053ab647677692bb7c56013
README.md
README.md
Markdown
<|file_sep|>app/models/gobierto_people/gift.rb.diff original: updated: include BelongsToPersonWithCharge <|file_sep|>app/models/gobierto_people/gift.rb.diff original: belongs_to :person updated: <|file_sep|>original/app/models/gobierto_people/gift.rb require_dependency "gobierto_people" module GobiertoPeople...
require_dependency "gobierto_people" module GobiertoPeople class Gift < ApplicationRecord include GobiertoCommon::Metadatable include GobiertoCommon::UrlBuildable include BelongsToPersonWithCharge belongs_to :department belongs_to_person_with_historical_charge date_attribute: :date scope :...
<|file_sep|>app/models/gobierto_people/gift.rb.diff original: updated: include BelongsToPersonWithCharge <|file_sep|>app/models/gobierto_people/gift.rb.diff original: belongs_to :person updated: <|file_sep|>original/app/models/gobierto_people/gift.rb require_dependency "gobierto_people" module GobiertoPeople...
3f2c8c8dbcc3dd7e2dd8ef0e190b8a45f27ec85d
app/models/gobierto_people/gift.rb
app/models/gobierto_people/gift.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: - 2.4.2 <|file_sep|>original/.travis.yml notifications: email: false sudo: false gemfile: - gemfiles/rails_3.gemfile - gemfiles/rails_4.gemfile - gemfiles/rails_5.gemfile - gemfiles/rails_5_edge.gemfile matrix: fast_finish: true exclude: - rvm: 1.9.3 ...
gemfile: - gemfiles/rails_3.gemfile - gemfiles/rails_4.gemfile - gemfiles/rails_5.gemfile - gemfiles/rails_5_edge.gemfile matrix: fast_finish: true exclude: - rvm: 1.9.3 gemfile: gemfiles/rails_4.gemfile - rvm: 1.9.3 gemfile: gemfiles/rails_5.gemfile - rvm: 1.9.3 gemfile: gemfi...
<|file_sep|>.travis.yml.diff original: updated: - 2.4.2 <|file_sep|>original/.travis.yml notifications: email: false sudo: false gemfile: - gemfiles/rails_3.gemfile - gemfiles/rails_4.gemfile - gemfiles/rails_5.gemfile - gemfiles/rails_5_edge.gemfile matrix: fast_finish: true exclude: - rvm: 1.9.3 ...
9f99c15c3c1b54ee4e6433c6f447925b96ab1411
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/style/thick.rb # encoding: UTF-8 require 'style/separator' class Style::Thick < Style::Separator def initialize super '⮀ ', ' ⮂' end def flatten(current_formatting) @separator_formatting.fg_color ||= @formatting.bg_color || current_formatting.bg_color @formatting.bg_color ||...
# encoding: UTF-8 require 'style/separator' class Style::Thick < Style::Separator def initialize super '⮀ ', ' ⮂' end def flatten(current_formatting) @separator_formatting.fg_color ||= @formatting.bg_color || current_formatting.bg_color @formatting.bg_color ||= @separator_formatting.fg_color sup...
<|file_sep|>original/lib/style/thick.rb # encoding: UTF-8 require 'style/separator' class Style::Thick < Style::Separator def initialize super '⮀ ', ' ⮂' end def flatten(current_formatting) @separator_formatting.fg_color ||= @formatting.bg_color || current_formatting.bg_color @formatting.bg_color ||...
e8085186a5ccee48b983ff4478f73225d4460c5d
lib/style/thick.rb
lib/style/thick.rb
Ruby
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo pip install cpp-coveralls --use-mirrors script: - cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D USE_LIBCXX:BOOL=FALSE . - make - make test - coveralls -x hpp notifications: recipients: - j...
language: cpp compiler: - gcc before_install: - sudo pip install cpp-coveralls --use-mirrors script: - cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D USE_LIBCXX:BOOL=FALSE . - make - make test - mkdir gcov - find CMakeFiles/ -name "*.gc*" -exec mv {} gcov/ \; - gcov -d gcov/*....
<|file_sep|>original/.travis.yml language: cpp compiler: - gcc before_install: - sudo pip install cpp-coveralls --use-mirrors script: - cmake -D ENABLE_COVERAGE:BOOL=TRUE -D CMAKE_BUILD_TYPE:STRING=Debug -D USE_LIBCXX:BOOL=FALSE . - make - make test - coveralls -x hpp notifications: recipients: - j...
e4a3b3f6204d48eed80566d0b37d6753bda56c5d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements/dev.txt -r base.txt factory-boy==3.0.1 Faker==4.1.3 flake8==3.8.3 freezegun==1.0.0 isort==5.2.0 pytest==6.0.1 pytest-cov==2.10.1 pytest-django==3.9.0 pytest-factoryboy==2.0.3 <|file_sep|>current/requirements/dev.txt -r base.txt factory-boy==3.0.1 Faker==4.1.3 flake8==3.8.3 freezegun==1...
-r base.txt factory-boy==3.0.1 Faker==4.1.3 flake8==3.8.3 freezegun==1.0.0 isort==5.5.3 pytest==6.0.1 pytest-cov==2.10.1 pytest-django==3.9.0 pytest-factoryboy==2.0.3
<|file_sep|>original/requirements/dev.txt -r base.txt factory-boy==3.0.1 Faker==4.1.3 flake8==3.8.3 freezegun==1.0.0 isort==5.2.0 pytest==6.0.1 pytest-cov==2.10.1 pytest-django==3.9.0 pytest-factoryboy==2.0.3 <|file_sep|>current/requirements/dev.txt -r base.txt factory-boy==3.0.1 Faker==4.1.3 flake8==3.8.3 freezegun==1...
a319287e2a0a49834ac2e02f8b758e324da978a3
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>basis/unix/ffi/ffi-tests.factor.diff original: updated: USING: accessors alien.c-types io.encodings.utf8 kernel sequences tools.test unix.ffi unix.utilities ; <|file_sep|>basis/unix/ffi/ffi-tests.factor.diff original: USING: accessors alien.c-types tools.test unix.ffi ; updated: <|file_sep|>original/basis...
USING: accessors alien.c-types io.encodings.utf8 kernel sequences tools.test unix.ffi unix.utilities ; IN: unix.ffi.tests [ 80 ] [ "http" f getservbyname port>> ntohs ] unit-test [ t ] [ 0 "http" f getservbyname aliases>> utf8 alien>strings "www" swap member? ] unit-test [ "http" ] [ 80 htons f getservbyport...
<|file_sep|>basis/unix/ffi/ffi-tests.factor.diff original: updated: USING: accessors alien.c-types io.encodings.utf8 kernel sequences tools.test unix.ffi unix.utilities ; <|file_sep|>basis/unix/ffi/ffi-tests.factor.diff original: USING: accessors alien.c-types tools.test unix.ffi ; updated: <|file_sep|>original/basis...
6be25de125e5fe8d116c209b21c73a07b69ce5cf
basis/unix/ffi/ffi-tests.factor
basis/unix/ffi/ffi-tests.factor
Factor
<|file_sep|>server/routes/dashboard/dashboard.route.js.diff original: updated: const queryHelper = require('../../utilities/query') const router = express.Router() <|file_sep|>original/server/routes/dashboard/dashboard.route.js const express = require('express') const router = express.Router() module.exports = rout...
const express = require('express') const queryHelper = require('../../utilities/query') const router = express.Router() router.get('/number-of-student', (req, res) => { queryHelper.queryAndResponse({ sql: `select substr(student_id, 1, 2) as academic_year, count(*) as student_count from students ...
<|file_sep|>server/routes/dashboard/dashboard.route.js.diff original: updated: const queryHelper = require('../../utilities/query') const router = express.Router() <|file_sep|>original/server/routes/dashboard/dashboard.route.js const express = require('express') const router = express.Router() module.exports = rout...
d5d5e4f18a4a3fb467bac398a0a28d5c9a1701f4
server/routes/dashboard/dashboard.route.js
server/routes/dashboard/dashboard.route.js
JavaScript
<|file_sep|>original/lib/smitty/variable_parser.rb <|file_sep|>current/lib/smitty/variable_parser.rb <|file_sep|>updated/lib/smitty/variable_parser.rb
module Smitty def self.variable_parser(variable_string) pairs = variable_string.split('=') # content is a file begin with_content = File.readlines(pairs[1]).map(&:chomp) rescue Errno::ENOENT with_content = pairs[1] rescue croak("Could not parse key value pair #{variable_string}")...
<|file_sep|>original/lib/smitty/variable_parser.rb <|file_sep|>current/lib/smitty/variable_parser.rb <|file_sep|>updated/lib/smitty/variable_parser.rb module Smitty def self.variable_parser(variable_string) pairs = variable_string.split('=') # content is a file begin with_content = File.readlines(...
4c724d8381d82aeafebff6a45abf993ac62f3c35
lib/smitty/variable_parser.rb
lib/smitty/variable_parser.rb
Ruby
<|file_sep|>original/shell/cgi.apl <|file_sep|>current/shell/cgi.apl <|file_sep|>updated/shell/cgi.apl
#!/usr/local/bin/apl --script NEWLINE ← ⎕UCS 10 HEADERS ← 'Content-Type: text/plain', NEWLINE HEADERS ⍝ ⎕←HEADERS ⍝ ⍕⎕TS )OFF ⍝ testVars←'FUCKYEAH' ⍝ ≠\~(testVars ∊ 'AEIOU') ⍝ (124 × 4)≠(+/124 124 124) ⍝ testVars ∊ '<>'
<|file_sep|>original/shell/cgi.apl <|file_sep|>current/shell/cgi.apl <|file_sep|>updated/shell/cgi.apl #!/usr/local/bin/apl --script NEWLINE ← ⎕UCS 10 HEADERS ← 'Content-Type: text/plain', NEWLINE HEADERS ⍝ ⎕←HEADERS ⍝ ⍕⎕TS )OFF ⍝ testVars←'FUCKYEAH' ⍝ ≠\~(testVars ∊ 'AEIOU') ⍝ (124 × 4)≠(+/124 124 124) ⍝ testVars ∊...
b686026f4993f3934100324bb9a4cc593f06d434
shell/cgi.apl
shell/cgi.apl
APL
<|file_sep|>original/subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy <|file_sep|>current/subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy <|file_sep|>updated/subprojects/cpp/src/i...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
<|file_sep|>original/subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy <|file_sep|>current/subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy <|file_sep|>updated/subprojects/cpp/src/i...
2bf1322ed751e4e3c792694563798e00a88adcde
subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy
subprojects/cpp/src/integTest/groovy/org/gradle/nativebinaries/toolchain/CommonToolchainCustomizationIntegTest.groovy
Groovy
<|file_sep|>original/uidable.gemspec spec.version = Uidable::VERSION spec.authors = ["Sibevin Wang"] spec.email = ["sibevin@gmail.com"] spec.summary = %q{Create the uid attribute in your model or class.} spec.description = <<-EOF Uidable is a module to add a uid(unique identif...
spec.version = Uidable::VERSION spec.authors = ["Sibevin Wang"] spec.email = ["sibevin@gmail.com"] spec.summary = %q{Create the uid attribute in your model or class.} spec.description = <<-EOF Uidable is a module to add a uid(unique identifier) attribute in your model or class...
<|file_sep|>original/uidable.gemspec spec.version = Uidable::VERSION spec.authors = ["Sibevin Wang"] spec.email = ["sibevin@gmail.com"] spec.summary = %q{Create the uid attribute in your model or class.} spec.description = <<-EOF Uidable is a module to add a uid(unique identif...
0941a1560e6b9c6fa8a93e126871621b6abf6767
uidable.gemspec
uidable.gemspec
Ruby
<|file_sep|>components/templateCell/index.less.diff original: updated: <|file_sep|>components/templateCell/index.less.diff original: updated: padding-top: 30px; <|file_sep|>original/components/templateCell/index.less width: 100%; height: 100%; text-decoration: none; color: inherit; .app-ico...
height: 100%; padding-top: 30px; text-decoration: none; color: inherit; .app-icon { display: block; width: 70px; height: 70px; margin: 0px auto 8px auto; } .name { display: block; width: 100%; color: @white; font-size: 0.85e...
<|file_sep|>components/templateCell/index.less.diff original: updated: <|file_sep|>components/templateCell/index.less.diff original: updated: padding-top: 30px; <|file_sep|>original/components/templateCell/index.less width: 100%; height: 100%; text-decoration: none; color: inherit; .app-ico...
a761de3e551ac105dbcda91ed28868385c3fa375
components/templateCell/index.less
components/templateCell/index.less
Less
<|file_sep|>original/js/main.js var questions = [ Q1 = { question: "What do HTML means?", answer: "HyperText Markup Language" }, Q2 = { question: "What do CSS means?", answer: "Cascading Style Sheet" } ]; <|file_sep|>current/js/main.js var questions = [ Q1 = { question: "What do HTML mean...
var questions = [ Q1 = { question: "What do HTML means?", answer: "HyperText Markup Language" }, Q2 = { question: "What do CSS means?", answer: "Cascading Style Sheet" } ]; var question = document.getElementById('question');
<|file_sep|>original/js/main.js var questions = [ Q1 = { question: "What do HTML means?", answer: "HyperText Markup Language" }, Q2 = { question: "What do CSS means?", answer: "Cascading Style Sheet" } ]; <|file_sep|>current/js/main.js var questions = [ Q1 = { question: "What do HTML mean...
f61c2387ede2502a9325d75da7aa8a611c31f567
js/main.js
js/main.js
JavaScript
<|file_sep|>README.md.diff original: include Envied updated: include ENVied <|file_sep|>README.md.diff original: updated: variable :rails_env variable :database_url <|file_sep|>original/README.md It can be used as follows: ```ruby # app/models/app_config.rb class AppConfig include Envied variable :force_...
It can be used as follows: ```ruby # app/models/app_config.rb class AppConfig include ENVied variable :rails_env variable :database_url variable :force_ssl, Boolean end # config/application.rb Bundler.require(*Rails.groups) AppConfig.require # checks availability module Blog class Application < Rails::Ap...
<|file_sep|>README.md.diff original: include Envied updated: include ENVied <|file_sep|>README.md.diff original: updated: variable :rails_env variable :database_url <|file_sep|>original/README.md It can be used as follows: ```ruby # app/models/app_config.rb class AppConfig include Envied variable :force_...
b07e58a5fb001de905f55d4c09a0c884fb2417a5
README.md
README.md
Markdown
<|file_sep|>altair/examples/bar_chart_with_labels.py.diff original: Simple Bar Chart with Labels ============================ updated: Bar Chart with Labels ===================== <|file_sep|>altair/examples/bar_chart_with_labels.py.diff original: import pandas as pd updated: from vega_datasets import data <|file_sep|>a...
""" # category: bar charts import altair as alt from vega_datasets import data source = data.wheat.url bars = alt.Chart(source).mark_bar().encode( x='wheat:Q', y="year:O" ) text = bars.mark_text( align='left', baseline='middle', dx=3 # Nudges text to right so it doesn't appear on top of the bar ...
<|file_sep|>altair/examples/bar_chart_with_labels.py.diff original: Simple Bar Chart with Labels ============================ updated: Bar Chart with Labels ===================== <|file_sep|>altair/examples/bar_chart_with_labels.py.diff original: import pandas as pd updated: from vega_datasets import data <|file_sep|>a...
bc1e8baeb2698462dae5556e033c37a505cfcb2c
altair/examples/bar_chart_with_labels.py
altair/examples/bar_chart_with_labels.py
Python
<|file_sep|>original/_docs/server.go // Copyright 2015 Hajime Hoshi // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
// Copyright 2016 Hajime Hoshi // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
<|file_sep|>original/_docs/server.go // Copyright 2015 Hajime Hoshi // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
b33d5c5393e80ffc39fb31da8d88440803853a0a
_docs/server.go
_docs/server.go
Go
<|file_sep|>README.md.diff original: updated: [![HHVM Status](http://hhvm.h4cc.de/badge/pingpong/modules.svg)](http://hhvm.h4cc.de/package/pingpong/modules) <|file_sep|>README.md.diff original: [![Latest Unstable Version](https://poser.pugx.org/pingpong/modules/v/unstable.svg)](https://packagist.org/packages/pingpong/...
Laravel Modules ========================= [![Build Status](https://travis-ci.org/pingpong-labs/modules.svg?branch=master)](https://travis-ci.org/pingpong-labs/modules) [![HHVM Status](http://hhvm.h4cc.de/badge/pingpong/modules.svg)](http://hhvm.h4cc.de/package/pingpong/modules) [![Latest Stable Version](https://poser....
<|file_sep|>README.md.diff original: updated: [![HHVM Status](http://hhvm.h4cc.de/badge/pingpong/modules.svg)](http://hhvm.h4cc.de/package/pingpong/modules) <|file_sep|>README.md.diff original: [![Latest Unstable Version](https://poser.pugx.org/pingpong/modules/v/unstable.svg)](https://packagist.org/packages/pingpong/...
13af93a84df338b8bfcbb27a6f1d7c5e074014df
README.md
README.md
Markdown
<|file_sep|>original/app.yaml - url: /node/.* script: node.py - url: /.* script: lollysite.py skip_files: - ^(.*/)?app\.yaml - ^(.*/)?app\.yml - ^(.*/)?index\.yaml - ^(.*/)?index\.yml - ^(.*/)?#.*# - ^(.*/)?.*~ - ^(.*/)?.*\.py[co] - ^(.*/)?.*/RCS/.* - ^(.*/)?\..* - store/.* - Makefile - README <|file_sep|>curre...
- url: /.* script: lollysite.py skip_files: - ^(.*/)?app\.yaml$ - ^(.*/)?app\.yml$ - ^(.*/)?index\.yaml$ - ^(.*/)?index\.yml$ - ^(.*/)?.*\.log$ - ^(.*/)?.*\.dat$ - ^(.*/)?.*\.py[co]$ # compiled Python - ^(.*/)?.*/RCS/.* # any RCS files - ^(.*/)?\..* # dotfiles - ^(.*/)?#.*# ...
<|file_sep|>original/app.yaml - url: /node/.* script: node.py - url: /.* script: lollysite.py skip_files: - ^(.*/)?app\.yaml - ^(.*/)?app\.yml - ^(.*/)?index\.yaml - ^(.*/)?index\.yml - ^(.*/)?#.*# - ^(.*/)?.*~ - ^(.*/)?.*\.py[co] - ^(.*/)?.*/RCS/.* - ^(.*/)?\..* - store/.* - Makefile - README <|file_sep|>curre...
3b51b421479891fb57dba57aba6bbeb97fee0f9e
app.yaml
app.yaml
YAML
<|file_sep|>meetup_facebook_bot/messenger/message_validators.py.diff original: if 'postback' not in messaging_event: updated: if not is_quick_button(messaging_event): <|file_sep|>original/meetup_facebook_bot/messenger/message_validators.py def is_talk_info_command(messaging_event): if 'postback' not in mes...
def is_talk_info_command(messaging_event): if 'postback' not in messaging_event: return False return 'info talk' in messaging_event['postback']['payload'] def is_talk_rate_command(messaging_event): if 'postback' not in messaging_event: return False return 'rate talk' in messaging_even...
<|file_sep|>meetup_facebook_bot/messenger/message_validators.py.diff original: if 'postback' not in messaging_event: updated: if not is_quick_button(messaging_event): <|file_sep|>original/meetup_facebook_bot/messenger/message_validators.py def is_talk_info_command(messaging_event): if 'postback' not in mes...
5a27b1ff443db49a9c70cb6980653f615cca1b33
meetup_facebook_bot/messenger/message_validators.py
meetup_facebook_bot/messenger/message_validators.py
Python
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md For # <!-- If an item below does not apply to you, then go ahead and check it off as "done" and strikethrough the text, e.g.: - [x] ~Has unit tests & system/integration tests~ --> - [ ] Pull request represents a single change (i.e. not fixing disparate/unrela...
For # <!-- If an item below does not apply to you, then go ahead and check it off as "done" and strikethrough the text, e.g.: - [x] ~Has unit tests & system/integration tests~ --> - [ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR) - [ ] Title summarizes what...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md For # <!-- If an item below does not apply to you, then go ahead and check it off as "done" and strikethrough the text, e.g.: - [x] ~Has unit tests & system/integration tests~ --> - [ ] Pull request represents a single change (i.e. not fixing disparate/unrela...
80c9908263e7fca1299920b4aca58341908f84cd
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/dist/gae/standalone_main.py import werkzeug.serving import standalone_app werkzeug.serving.run_simple('localhost', 8080, standalone_app.app, use_reloader=True) <|file_sep|>current/dist/gae/standalone_main.py import werkzeug.serving import standalone_app werkzeug.serving.run_simple('localhost', 80...
import werkzeug.serving import standalone_app werkzeug.serving.run_simple('0.0.0.0', 8080, standalone_app.app, use_reloader=True)
<|file_sep|>original/dist/gae/standalone_main.py import werkzeug.serving import standalone_app werkzeug.serving.run_simple('localhost', 8080, standalone_app.app, use_reloader=True) <|file_sep|>current/dist/gae/standalone_main.py import werkzeug.serving import standalone_app werkzeug.serving.run_simple('localhost', 80...
af4c24dc7ac5b05ea509b5b6d95d22395aa2d409
dist/gae/standalone_main.py
dist/gae/standalone_main.py
Python
<|file_sep|>original/README.rst # -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for he...
# -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. Code is avai...
<|file_sep|>original/README.rst # -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for he...
04cfd3ae171bae36381855145c930bd199b0bfd7
README.rst
README.rst
reStructuredText
<|file_sep|>original/tests/acceptance/features/framework/organization_editor/markdown.feature Feature: A framework with markdown can be loaded In order to add styling to statements As an organization editor I need to be able to use markdown in the full statement @organization-editor @case-file @markdown @1107-...
Feature: A framework with markdown can be loaded In order to add styling to statements As an organization editor I need to be able to use markdown in the full statement @organization-editor @case-file @markdown @1107-0825 Scenario: 1107-0825 A CASE file can contain markdown syntax Given I log in as a use...
<|file_sep|>original/tests/acceptance/features/framework/organization_editor/markdown.feature Feature: A framework with markdown can be loaded In order to add styling to statements As an organization editor I need to be able to use markdown in the full statement @organization-editor @case-file @markdown @1107-...
71b50f9f8239f7b8affe539cc453234da9f3661d
tests/acceptance/features/framework/organization_editor/markdown.feature
tests/acceptance/features/framework/organization_editor/markdown.feature
Cucumber
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sudo apt-get update - sudo apt-get install mongodb sqlite-3 build-essential python-dev python-setuptools # command to install dependencies install: pip install -r requirements.txt --use-mirrors # # command to run tests script:...
language: python python: - "2.7" before_install: - sudo apt-get update - sudo apt-get install mongodb sqlite3 build-essential python-dev python-setuptools # command to install dependencies install: pip install -r requirements.txt --use-mirrors # # command to run tests script: nosetests --exe -v tests/
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sudo apt-get update - sudo apt-get install mongodb sqlite-3 build-essential python-dev python-setuptools # command to install dependencies install: pip install -r requirements.txt --use-mirrors # # command to run tests script:...
f168a1dceb104930a5d638166bec25fc1dc289c1
.travis.yml
.travis.yml
YAML
<|file_sep|>original/roles/utils/vars/main.yml --- packages: - at - bmon - git - gnupg - htop - lftp - mtr - ncdu - openssl - pv - pydf - ranger - rsync - tmux - tree packages_arch: - openssh <|file_sep|>current/roles/utils/vars/main.yml --- packages: - at - bmon - git - gnup...
--- packages: - at - bmon - byobu #For remove-old-kernels - git - gnupg - htop - lftp - mtr - ncdu - openssl - pv - pydf - ranger - rsync - tmux - tree packages_arch:
<|file_sep|>original/roles/utils/vars/main.yml --- packages: - at - bmon - git - gnupg - htop - lftp - mtr - ncdu - openssl - pv - pydf - ranger - rsync - tmux - tree packages_arch: - openssh <|file_sep|>current/roles/utils/vars/main.yml --- packages: - at - bmon - git - gnup...
4d590fe4a0ed73dd58723f71612d904f18cbb096
roles/utils/vars/main.yml
roles/utils/vars/main.yml
YAML
<|file_sep|>original/composer.json "jakub-onderka/php-parallel-lint": "1.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/mediawiki-codesniffer": "24.0.0", "mediawiki/minus-x": "0.3.1", "mediawiki/mediawiki-phan-config": "0.6.1" }, "scripts": { "fix": [ "phpcbf", "minus-x fix ." ...
"jakub-onderka/php-parallel-lint": "1.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/mediawiki-codesniffer": "24.0.0", "mediawiki/minus-x": "0.3.1", "mediawiki/mediawiki-phan-config": "0.6.1" }, "scripts": { "fix": [ "phpcbf", "minus-x fix ." ], "test": [ "parallel-lint . ...
<|file_sep|>original/composer.json "jakub-onderka/php-parallel-lint": "1.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/mediawiki-codesniffer": "24.0.0", "mediawiki/minus-x": "0.3.1", "mediawiki/mediawiki-phan-config": "0.6.1" }, "scripts": { "fix": [ "phpcbf", "minus-x fix ." ...
1eebc42cd56de9f766ab913e8e38cafe91e77c95
composer.json
composer.json
JSON
<|file_sep|>distributionviewer/core/static/css/chart-menu.styl.diff original: line-height: 2.5; updated: line-height: 1.5; <|file_sep|>original/distributionviewer/core/static/css/chart-menu.styl a { color: $normal-text; font-size: 12px; text-decoration: none; line-height: 2.5; display: bl...
a { color: $normal-text; font-size: 12px; text-decoration: none; line-height: 1.5; display: block; border-radius: 0 4px 4px 0; padding: 0 $min-padding 0 0; text-align: right; margin-bottom: 15px; &:hover { background-image: linear-gradient(90deg, #001021 0%, #00224A 100...
<|file_sep|>distributionviewer/core/static/css/chart-menu.styl.diff original: line-height: 2.5; updated: line-height: 1.5; <|file_sep|>original/distributionviewer/core/static/css/chart-menu.styl a { color: $normal-text; font-size: 12px; text-decoration: none; line-height: 2.5; display: bl...
d79fb2e3c7f3fb7b812c31c429c784b596ff0cab
distributionviewer/core/static/css/chart-menu.styl
distributionviewer/core/static/css/chart-menu.styl
Stylus
<|file_sep|>original/bin/requirements.txt cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.2 google-api-core==2.7.1 google-api-python-client==2.41.0 google-auth==2.6.2 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.5.1 googleapis-common-protos==1.55.0 httplib2==0.20.4 idna==3.3 oauth2client==4.1.3 o...
cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.2 google-api-core==2.7.1 google-api-python-client==2.41.0 google-auth==2.6.2 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.5.1 googleapis-common-protos==1.56.0 httplib2==0.20.4 idna==3.3 oauth2client==4.1.3 oauthlib==3.2.0 packaging==21.3 protobuf==3...
<|file_sep|>original/bin/requirements.txt cachetools==4.2.4 certifi==2021.10.8 chardet==4.0.0 coverage==6.2 google-api-core==2.7.1 google-api-python-client==2.41.0 google-auth==2.6.2 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.5.1 googleapis-common-protos==1.55.0 httplib2==0.20.4 idna==3.3 oauth2client==4.1.3 o...
23b127f6f735d5a6d34a2e9e04d32252d0b957e6
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>original/skel/metadata.json "operatingsystemrelease":[ "12", "14" ] } ], "requirements": [ { "name": "pe", "version_requirement": "3.x" }, { "name": "puppet", "version_requirement": ">=2.7.20 <4.0.0" } ], "description": "Skeleton module.", "dependencies": [ ...
"operatingsystem":"Ubuntu", "operatingsystemrelease":[ "12", "14" ] } ], "requirements": [ { "name": "pe", "version_requirement": "3.x" }, { "name": "puppet", "version_requirement": ">=2.7.20 <4.0.0" } ], "dependencies": [ { "name": "puppetlabs/stdlib", "v...
<|file_sep|>original/skel/metadata.json "operatingsystemrelease":[ "12", "14" ] } ], "requirements": [ { "name": "pe", "version_requirement": "3.x" }, { "name": "puppet", "version_requirement": ">=2.7.20 <4.0.0" } ], "description": "Skeleton module.", "dependencies": [ ...
b253c5ef8435a3e66f19fbc4c7cbf3916e1b386b
skel/metadata.json
skel/metadata.json
JSON
<|file_sep|>original/metadata/ru.equestriadev.mgke.txt Issue Tracker:https://github.com/bronydell/MGKE_Android_App/issues Auto Name:Расписание МГКЭ Summary:Track updates of schedule on college site Description: Tracks updates of schedule on college site and shows it in the app. . Repo Type:git Repo:https://github.com...
Tracks updates of schedule on college site and shows it in the app. . Repo Type:git Repo:https://github.com/bronydell/MGKE_Android_App Build:3.0.5 Release,24 commit=b3043a462f92aa9a97a9f4ac5d91a734d914fc72 subdir=app gradle=yes prebuild=mv src/main/java/ru/equestriadev/parsing/expiriments.java src/mai...
<|file_sep|>original/metadata/ru.equestriadev.mgke.txt Issue Tracker:https://github.com/bronydell/MGKE_Android_App/issues Auto Name:Расписание МГКЭ Summary:Track updates of schedule on college site Description: Tracks updates of schedule on college site and shows it in the app. . Repo Type:git Repo:https://github.com...
396bb710544c22a06ce206f242f27922c33568d5
metadata/ru.equestriadev.mgke.txt
metadata/ru.equestriadev.mgke.txt
Text
<|file_sep|>original/.github/workflows/tests.yml - push jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: ...
- push jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} ...
<|file_sep|>original/.github/workflows/tests.yml - push jobs: tests: runs-on: ubuntu-latest strategy: matrix: python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: ...
c7704b9fd6fb06283b8c6c5732e3ddd531fa0caf
.github/workflows/tests.yml
.github/workflows/tests.yml
YAML
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.2 flake8==3.2.1 django-test-plus=...
# Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.2 flake8==3.2.1 django-test-plus==1.0.16 factory-boy==2.8.1 # pytest! pytest-django==3.1.2 pytest-sugar==...
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/test.txt # Test dependencies go here. -r base.txt {% if cookiecutter.windows == 'y' -%} # Python-PostgreSQL Database Adapter # If using Win for dev, this assumes Unix in test/prod psycopg2==2.6.2 {%- endif %} coverage==4.2 flake8==3.2.1 django-test-plus=...
f70f33f9dfea7265de0c04bcece2a9f2c8b4be7a
{{cookiecutter.project_slug}}/requirements/test.txt
{{cookiecutter.project_slug}}/requirements/test.txt
Text
<|file_sep|>.travis.yml.diff original: updated: rust: - 1.25.0 # Must align with `build/version.rs`. - stable - beta - nightly matrix: allow_failures: - rust: nightly fast_finish: true <|file_sep|>original/.travis.yml language: rust script: - cargo test --verbose --all <|file_sep|>current/.travis.ym...
language: rust rust: - 1.25.0 # Must align with `build/version.rs`. - stable - beta - nightly matrix: allow_failures: - rust: nightly fast_finish: true script: - cargo test --verbose --all cache: cargo
<|file_sep|>.travis.yml.diff original: updated: rust: - 1.25.0 # Must align with `build/version.rs`. - stable - beta - nightly matrix: allow_failures: - rust: nightly fast_finish: true <|file_sep|>original/.travis.yml language: rust script: - cargo test --verbose --all <|file_sep|>current/.travis.ym...
8cc0e5a64efddccc689bb632854334820fcf1926
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Lab3/PalindromeExercise.py # Asks the user for input of the word and makes it lower case. normStr = raw_input("Enter the word:\n").lower(); # Inverts the string so it can compare it with the original input. invertStr = normStr[::-1]; <|file_sep|>current/Lab3/PalindromeExercise.py # Asks the user f...
# Asks the user for input of the word and makes it lower case. normStr = raw_input("Enter the word:\n").lower(); # Inverts the string so it can compare it with the original input. invertStr = normStr[::-1]; # Tests if the string is a palindrome. If so, it prints True. Else, prints False. if normStr == invertStr: pri...
<|file_sep|>original/Lab3/PalindromeExercise.py # Asks the user for input of the word and makes it lower case. normStr = raw_input("Enter the word:\n").lower(); # Inverts the string so it can compare it with the original input. invertStr = normStr[::-1]; <|file_sep|>current/Lab3/PalindromeExercise.py # Asks the user f...
c4903f5b631bba21e17be1b7deb118c0c9571432
Lab3/PalindromeExercise.py
Lab3/PalindromeExercise.py
Python
<|file_sep|>original/composer.json "keywords": ["psr-7", "framework"], "authors": [ { "name": "Dimitar Dimitrov", "email": "daghostman.dimitrov@gmail.com" } ], "license": "MIT", "require": { "php": "^7.0", "psr/http-message": "^1.0", "c...
"keywords": ["psr-7", "framework"], "authors": [ { "name": "Dimitar Dimitrov", "email": "daghostman.dimitrov@gmail.com" } ], "license": "MIT", "require": { "php": "^7.0 || ^7.1", "psr/http-message": "~1.0", "container-interop/container-...
<|file_sep|>original/composer.json "keywords": ["psr-7", "framework"], "authors": [ { "name": "Dimitar Dimitrov", "email": "daghostman.dimitrov@gmail.com" } ], "license": "MIT", "require": { "php": "^7.0", "psr/http-message": "^1.0", "c...
a072ec24b0cc274f7487a8a8afe21011058fa720
composer.json
composer.json
JSON
<|file_sep|>dumper/file_uploader.py.diff original: updated: self._copy_url = config.getboolean('Settings', 'copy_url_to_clipboard') <|file_sep|>dumper/file_uploader.py.diff original: self._copy_to_clipboard(name) updated: if self._copy_url: self._copy_to_clipboard(name) ...
def upload(self, filepath): try: with ftplib.FTP(self._host, self._user, self._passwd) as ftp: ftp.cwd(self._path) name = ntpath.basename(filepath) logging.info('Upload \'{}\''.format(name)) msg = ftp.storbinary('STOR ' + name, open...
<|file_sep|>dumper/file_uploader.py.diff original: updated: self._copy_url = config.getboolean('Settings', 'copy_url_to_clipboard') <|file_sep|>dumper/file_uploader.py.diff original: self._copy_to_clipboard(name) updated: if self._copy_url: self._copy_to_clipboard(name) ...
dfca6054fd32c0904bc027dcddb347c378adf954
dumper/file_uploader.py
dumper/file_uploader.py
Python
<|file_sep|>original/app/controllers/summaries_controller.rb class SummariesController < ApplicationController include SummariesHelper before_filter :authorize_only_for_admin def index @assignment = Assignment.find(params[:assignment_id]) @section_column = '' if Section.all.size > 0 @section_...
class SummariesController < ApplicationController include SummariesHelper before_filter :authorize_for_ta_and_admin def index @assignment = Assignment.find(params[:assignment_id]) @section_column = '' if Section.all.size > 0 @section_column = "{ id: 'section', content: '" + I1...
<|file_sep|>original/app/controllers/summaries_controller.rb class SummariesController < ApplicationController include SummariesHelper before_filter :authorize_only_for_admin def index @assignment = Assignment.find(params[:assignment_id]) @section_column = '' if Section.all.size > 0 @section_...
fd66601d8bd8fec8f739243cacc5a22aa753a1d3
app/controllers/summaries_controller.rb
app/controllers/summaries_controller.rb
Ruby
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Go # Build your Go project. # Add steps that test, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/go trigger: - master pool: vmImage: 'Ubuntu-16.04' variables: GOBIN: '$(GOPATH)/bin' # Go binaries path GOROOT: '/usr/local/go1.11' # Go installation path ...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Go # Build your Go project. # Add steps that test, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/go trigger: - master pool: vmImage: 'U...
3812345145a1c2ebe52bd55cad336855a615096c
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/playbooks/translation/propose-translation-update.yaml --- - hosts: all roles: - prep-zanata - legacy-zuul-git-prep-upper-constraints tasks: - name: Run propose_translation_update.sh script command: "{{ ansible_user_dir }}/scripts/upstream_translation_update.sh {{ zuul.project...
--- - hosts: all roles: - prep-zanata - legacy-zuul-git-prep-upper-constraints tasks: - name: Run propose_translation_update.sh script command: "{{ ansible_user_dir }}/scripts/propose_translation_update.sh {{ zuul.project.short_name }} {{ zuul.branch }} {{ zuul.job }}" args: chdir: ...
<|file_sep|>original/playbooks/translation/propose-translation-update.yaml --- - hosts: all roles: - prep-zanata - legacy-zuul-git-prep-upper-constraints tasks: - name: Run propose_translation_update.sh script command: "{{ ansible_user_dir }}/scripts/upstream_translation_update.sh {{ zuul.project...
7a246fc77e9f5b7f2c01f0b0bbe8bae8b2e2d46f
playbooks/translation/propose-translation-update.yaml
playbooks/translation/propose-translation-update.yaml
YAML
<|file_sep|>src/main/styles/maps.styl.diff original: updated: // By default there is no height on the map container <|file_sep|>original/src/main/styles/maps.styl // Stylesheet for maps integration. .angular-google-map-container height 500px <|file_sep|>current/src/main/styles/maps.styl // Stylesheet for maps int...
// Stylesheet for maps integration. // By default there is no height on the map container .angular-google-map-container height 400px // Map search box, styles similar to Google Maps itself input.map-search-box { font-size 15px line-height 20px font-weight 300 width 300px margin 0 !important ...
<|file_sep|>src/main/styles/maps.styl.diff original: updated: // By default there is no height on the map container <|file_sep|>original/src/main/styles/maps.styl // Stylesheet for maps integration. .angular-google-map-container height 500px <|file_sep|>current/src/main/styles/maps.styl // Stylesheet for maps int...
47c4aae9870ea7d9a562dcb3e2407a50a4ee8e9a
src/main/styles/maps.styl
src/main/styles/maps.styl
Stylus
<|file_sep|>original/compiler/sbt.vim endif let current_compiler = 'sbt' if exists(':CompilerSet') != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=sbt\ -Dsbt.log.noformat=true\ compile CompilerSet errorformat= ...
endif let current_compiler = 'sbt' if exists(':CompilerSet') != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=sbt\ -Dsbt.log.noformat=true\ compile CompilerSet errorformat= \%E\ %#[error]\ %f:%l:%c:\ %m,%C...
<|file_sep|>original/compiler/sbt.vim endif let current_compiler = 'sbt' if exists(':CompilerSet') != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=sbt\ -Dsbt.log.noformat=true\ compile CompilerSet errorformat= ...
971ac9ab3fe945105ef88587cfe5273fa2c8e988
compiler/sbt.vim
compiler/sbt.vim
VimL
<|file_sep|>original/regulations/templates/regulations/macros/external_link.html <a href="{{url}}" class="external {{classes}}" target="_blank" {% if title %}title="{{title}}"{% endif %} aria-label="Link opens in a new window">{{text}}</a> <|file_sep|>current/regulations/templates/regulations/macros/external_link...
<a href="{{url}}" class="external {{classes}}" target="_blank" {% if title %} title="{{title}}" aria-label="{{title}}, Link opens in a new window" {% else %} aria-label="{{text}}, Link opens in a new window" {% endif %} >{{text}}</a>
<|file_sep|>original/regulations/templates/regulations/macros/external_link.html <a href="{{url}}" class="external {{classes}}" target="_blank" {% if title %}title="{{title}}"{% endif %} aria-label="Link opens in a new window">{{text}}</a> <|file_sep|>current/regulations/templates/regulations/macros/external_link...
07f62c02e4bd230963b400d40e1d77e549a6b318
regulations/templates/regulations/macros/external_link.html
regulations/templates/regulations/macros/external_link.html
HTML
<|file_sep|>original/install-win.ps1 if (Test-Path $PROFILE) { $file = Get-Item $PROFILE -Force -ea 0 $symlink = $file.Attributes -band [IO.FileAttributes]::ReparsePoint if (-Not $symlink) { Remove-Item $PROFILE cmd /c mklink $PROFILE $args[0] } } else { cmd /c mklink $PROFILE $args[...
if (Test-Path $PROFILE) { $file = Get-Item $PROFILE -Force -ea 0 $symlink = $file.Attributes -band [IO.FileAttributes]::ReparsePoint if (-Not $symlink) { Remove-Item $PROFILE cmd /c mklink $PROFILE $args[0] } } else { cmd /c mklink $PROFILE $args[0] } iex (new-object net.webclient)....
<|file_sep|>original/install-win.ps1 if (Test-Path $PROFILE) { $file = Get-Item $PROFILE -Force -ea 0 $symlink = $file.Attributes -band [IO.FileAttributes]::ReparsePoint if (-Not $symlink) { Remove-Item $PROFILE cmd /c mklink $PROFILE $args[0] } } else { cmd /c mklink $PROFILE $args[...
d90ef6c5fc60881c05ab95e039988a9d22755ec0
install-win.ps1
install-win.ps1
PowerShell
<|file_sep|>spec/email_spec.rb.diff original: let(:from) { "test@test.com" } let(:subject) { "Test Subject" } let(:title) { "Test Title" } updated: let(:klass) { subject.class } let(:from) { "test@test.com" } let(:subj) { "Test Subject" } let(:title) { "Test Title" } <|file_sep|>spec...
describe "provides variables" do let(:klass) { subject.class } let(:from) { "test@test.com" } let(:subj) { "Test Subject" } let(:title) { "Test Title" } before do Reparty.config do |config| config.from = from config.subject = subj config.title = title end ...
<|file_sep|>spec/email_spec.rb.diff original: let(:from) { "test@test.com" } let(:subject) { "Test Subject" } let(:title) { "Test Title" } updated: let(:klass) { subject.class } let(:from) { "test@test.com" } let(:subj) { "Test Subject" } let(:title) { "Test Title" } <|file_sep|>spec...
0b3cb58619aacbe7ddf6c4512466081845fbba75
spec/email_spec.rb
spec/email_spec.rb
Ruby
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 script: go build <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 script: go build <|file_sep|>updated/.travis.yml
language: go go: - 1.2 - 1.3 - 1.4 script: go build
<|file_sep|>original/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 script: go build <|file_sep|>current/.travis.yml language: go go: - 1.0 - 1.1 - 1.2 - 1.3 - 1.4 script: go build <|file_sep|>updated/.travis.yml language: go go: - 1.2 - 1.3 - 1.4 script: go build
8ce1f6cb00bcda434c0390645351fd259c3d4073
.travis.yml
.travis.yml
YAML
<|file_sep|>original/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php <|file_sep|>current/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php <|file_sep|>updated/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php
<?php namespace spec\SearchApi\Builders; use SearchApi; use SearchApi\Models; use SearchApi\Builders\SolrQueryBuilder; use PhpSpec\ObjectBehavior; use Prophecy\Argument; /** * SolrQueryBuilderSpec - Spec test for SolrQueryBuilder */ class SolrQueryBuilderSpec extends ObjectBehavior { function it_is_initializabl...
<|file_sep|>original/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php <|file_sep|>current/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php <|file_sep|>updated/test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php <?php namespace spec\SearchApi\Builders; use SearchApi; use SearchApi\Models; use SearchApi\B...
1ba2797024824ae00b4b2040e7600b5a148bba9b
test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php
test/spec/SearchApi/Builders/SolrQueryBuilderSpec.php
PHP