prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/test/test_helper.rb require 'rails/test_help' require 'minitest/reporters' # # == ActiveSupport namespace # module ActiveSupport # # == TestCase class # class TestCase ActiveRecord::Migration.check_pending! Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new] # Se...
require 'rails/test_help' require 'minitest/reporters' # # == ActiveSupport namespace # module ActiveSupport # # == TestCase class # class TestCase ActiveRecord::Migration.check_pending! Minitest::Reporters.use! [Minitest::Reporters::DefaultReporter.new(color: true)] # Setup all fixtures in test/...
<|file_sep|>original/test/test_helper.rb require 'rails/test_help' require 'minitest/reporters' # # == ActiveSupport namespace # module ActiveSupport # # == TestCase class # class TestCase ActiveRecord::Migration.check_pending! Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new] # Se...
f57d0c9a819b36b9801b3d12c962e997138478ad
test/test_helper.rb
test/test_helper.rb
Ruby
<|file_sep|>original/htteepee.js http = require('http'), _hs = http.createServer; http.createServer = function createServer () { 'use strict'; return _hs.call(http, stack.apply(stack, Array.prototype.slice.call(arguments)) ); }; http.createMiddlewareServer = function (mws) { 'use stric...
http = require('http'), _hs = http.createServer; http.createServer = function createServer () { 'use strict'; return _hs.call(http, stack.apply(stack, Array.prototype.slice.call(arguments)) ); }; http.createMiddlewareServer = function (mws) { 'use strict'; mws = Array.prototype.sli...
<|file_sep|>original/htteepee.js http = require('http'), _hs = http.createServer; http.createServer = function createServer () { 'use strict'; return _hs.call(http, stack.apply(stack, Array.prototype.slice.call(arguments)) ); }; http.createMiddlewareServer = function (mws) { 'use stric...
c9707e7a63d446ae1c60814c705d48b604b9ddca
htteepee.js
htteepee.js
JavaScript
<|file_sep|>app/views/layouts/application.html.erb.diff original: <html> <head> <title>SeattleCrimeVisualization</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
<|file_sep|>app/views/layouts/application.html.erb.diff original: <html> <head> <title>SeattleCrimeVisualization</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <...
29f1a115f470f4f0b315291f7c3faf4253bd7ccf
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
HTML+ERB
<|file_sep|>original/test/CMakeLists.txt src/threading/OpenMPHelperTests.cpp src/utility/ArrayTests.cpp src/utility/UtilityTests.cpp src/Main.cpp src/TestingUtility.h src/TestingUtility.cpp) if (APPLE) target_link_libraries(tests -Wl,-all_load gtest -Wl,-noall_load) elseif (UNIX) ...
src/Main.cpp src/TestingUtility.h src/TestingUtility.cpp) if (APPLE) target_link_libraries(tests -Wl,-all_load gtest -Wl,-noall_load) elseif (UNIX) target_link_libraries(tests -Wl,-whole-archive gtest -Wl,-no-whole-archive) else() target_link_libraries(te...
<|file_sep|>original/test/CMakeLists.txt src/threading/OpenMPHelperTests.cpp src/utility/ArrayTests.cpp src/utility/UtilityTests.cpp src/Main.cpp src/TestingUtility.h src/TestingUtility.cpp) if (APPLE) target_link_libraries(tests -Wl,-all_load gtest -Wl,-noall_load) elseif (UNIX) ...
99e3d6bfd28dbdf584de516429dd77311e1bf5ad
test/CMakeLists.txt
test/CMakeLists.txt
Text
<|file_sep|>CommonMarkSharp/InlineParsers/LineBreakParser.cs.diff original: updated: using System.Text.RegularExpressions; <|file_sep|>CommonMarkSharp/InlineParsers/LineBreakParser.cs.diff original: updated: private static readonly Regex _startsWithDoubleSpaceNewLine = RegexUtils.Create(@"\G +\n"); <|file_se...
subject.Advance(groups[0].Length); subject.AdvanceWhile(c => c == ' '); return new HardBreak(); } else if (subject.StartsWith("\\\n")) { subject.Advance(2); subject.AdvanceWhile(c => c == ' '); ...
<|file_sep|>CommonMarkSharp/InlineParsers/LineBreakParser.cs.diff original: updated: using System.Text.RegularExpressions; <|file_sep|>CommonMarkSharp/InlineParsers/LineBreakParser.cs.diff original: updated: private static readonly Regex _startsWithDoubleSpaceNewLine = RegexUtils.Create(@"\G +\n"); <|file_se...
208374cf3c80bbea3810058f53f27bd2f79a2502
CommonMarkSharp/InlineParsers/LineBreakParser.cs
CommonMarkSharp/InlineParsers/LineBreakParser.cs
C#
<|file_sep|>original/requirements/test.txt # ydf/requirements/test.txt # # Requirements for executing this package test suite. -r dev.txt coverage==5.0.3 pytest<3.3.0; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pytest==4.6.5; python_version == '3.4' # pyup: ignore ...
# ydf/requirements/test.txt # # Requirements for executing this package test suite. -r dev.txt coverage==5.2.1 pytest<3.3.0; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pytest==4.6.5; python_version == '3.4' # pyup: ignore pytest==5.3.5; python_version > '3.4' pytes...
<|file_sep|>original/requirements/test.txt # ydf/requirements/test.txt # # Requirements for executing this package test suite. -r dev.txt coverage==5.0.3 pytest<3.3.0; python_version < '2.7' or (python_version > '3.0' and python_version < '3.4') # pyup: ignore pytest==4.6.5; python_version == '3.4' # pyup: ignore ...
671a999da2806cd22995dcb8f2c8d4a742fdf59e
requirements/test.txt
requirements/test.txt
Text
<|file_sep|>genes/lib/traits.py.diff original: @wraps updated: @wraps(func) <|file_sep|>original/genes/lib/traits.py from functools import wraps def if_any(*conds): def wrapper(func): @wraps def run_if_any(*args, **kwargs): if any(conds): return func(*ar...
from functools import wraps def if_any(*conds): def wrapper(func): @wraps(func) def run_if_any(*args, **kwargs): if any(conds): return func(*args, **kwargs) return run_if_any return wrapper def if_all(*conds): def wrapper(func): @wraps(func...
<|file_sep|>genes/lib/traits.py.diff original: @wraps updated: @wraps(func) <|file_sep|>original/genes/lib/traits.py from functools import wraps def if_any(*conds): def wrapper(func): @wraps def run_if_any(*args, **kwargs): if any(conds): return func(*ar...
69304be6df25ba2db53985b3d1e2e66954b7d655
genes/lib/traits.py
genes/lib/traits.py
Python
<|file_sep|>original/gitsetup.sh #!/bin/sh # Configure user name and email git config --global user.email "charles.pax@gmail.com" git config --global user.name "Charles Edward Pax" # Use vim as difftool git config --global diff.tool vimdiff git config --global difftool.prompt false git config --global alias.d difftoo...
#!/bin/sh # Configure user name and email git config --global user.email "charles.pax@gmail.com" git config --global user.name "Charles Edward Pax" # Push only the current branch rather than all branches when using 'git push' git config --global push.default simple # Use vim as difftool git config --global diff.tool...
<|file_sep|>original/gitsetup.sh #!/bin/sh # Configure user name and email git config --global user.email "charles.pax@gmail.com" git config --global user.name "Charles Edward Pax" # Use vim as difftool git config --global diff.tool vimdiff git config --global difftool.prompt false git config --global alias.d difftoo...
5f419dbdceb242854a5c269209fdfc2bb58e4191
gitsetup.sh
gitsetup.sh
Shell
<|file_sep|>original/src/AppHarbor/Commands/LoginAuthCommand.cs Console.WriteLine("Password:"); var password = Console.ReadLine(); var accessToken = GetAccessToken(username, password); _accessTokenConfiguration.SetAccessToken(accessToken); } public virtual string GetAccessToken(string username, string...
public virtual string GetAccessToken(string username, string password) { //NOTE: Remove when merged into AppHarbor.NET library var restClient = new RestClient("https://appharbor-token-client.apphb.com"); var request = new RestRequest("/token", Method.POST); request.AddParameter("username", username); ...
<|file_sep|>original/src/AppHarbor/Commands/LoginAuthCommand.cs Console.WriteLine("Password:"); var password = Console.ReadLine(); var accessToken = GetAccessToken(username, password); _accessTokenConfiguration.SetAccessToken(accessToken); } public virtual string GetAccessToken(string username, string...
046f5ec2bc36bfb1a2085d12d59c5a35916ceceb
src/AppHarbor/Commands/LoginAuthCommand.cs
src/AppHarbor/Commands/LoginAuthCommand.cs
C#
<|file_sep|>original/regulations/static/regulations/js/source/models/preamble-model.js 'use strict'; var URI = require('urijs'); var _ = require('underscore'); var Backbone = require('backbone'); var MetaModel = require('./meta-model'); Backbone.PreambleModel = MetaModel.extend({ getAJAXUrl: function(id) { var ...
'use strict'; var URI = require('urijs'); var _ = require('underscore'); var Backbone = require('backbone'); var MetaModel = require('./meta-model'); Backbone.PreambleModel = MetaModel.extend({ getAJAXUrl: function(id) { // window.APP_PREFIX always ends in a slash var path = [window.APP_PREFIX + 'preamble']...
<|file_sep|>original/regulations/static/regulations/js/source/models/preamble-model.js 'use strict'; var URI = require('urijs'); var _ = require('underscore'); var Backbone = require('backbone'); var MetaModel = require('./meta-model'); Backbone.PreambleModel = MetaModel.extend({ getAJAXUrl: function(id) { var ...
39fb8e8ef10506fb4ae401d2de1c6ef0e27086f0
regulations/static/regulations/js/source/models/preamble-model.js
regulations/static/regulations/js/source/models/preamble-model.js
JavaScript
<|file_sep|>README.md.diff original: updated: | 4.2.2.2 | adrift.aftermath.accrue.aftermath | <|file_sep|>original/README.md # ipgp Use the [PGP word](https://en.wikipedia.org/wiki/PGP_word_list) list to represent IPv4 addresses Do your eyes glaze over when quickly trying to compare addresses like `56.39.187.101` an...
# ipgp Use the [PGP word](https://en.wikipedia.org/wiki/PGP_word_list) list to represent IPv4 addresses Do your eyes glaze over when quickly trying to compare addresses like `56.39.187.101` and `58.89.137.107`? Would it be easier if they were `classic celebrate shamrock glossary` and `cleanup examine nightbird Hamil...
<|file_sep|>README.md.diff original: updated: | 4.2.2.2 | adrift.aftermath.accrue.aftermath | <|file_sep|>original/README.md # ipgp Use the [PGP word](https://en.wikipedia.org/wiki/PGP_word_list) list to represent IPv4 addresses Do your eyes glaze over when quickly trying to compare addresses like `56.39.187.101` an...
c30ea981704688a5f17daddd45809cd11590f4cf
README.md
README.md
Markdown
<|file_sep|>original/libevmjit/CMakeLists.txt file(GLOB SOURCES "*.cpp") file(GLOB HEADERS "*.h") source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTIES COMPI...
file(GLOB SOURCES "*.cpp") file(GLOB HEADERS "*.h") source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTIES COMPILE_FLAGS -fno-rtti) endif () # Needed by LLVM...
<|file_sep|>original/libevmjit/CMakeLists.txt file(GLOB SOURCES "*.cpp") file(GLOB HEADERS "*.h") source_group("" FILES ${HEADERS}) source_group("" FILES ${SOURCES}) if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Disable rtti for Cache as LLVM has no rtti set_source_files_properties(Cache.cpp PROPERTIES COMPI...
8e85dc444c5e7aaba6f97a8a69b4f77df52abd95
libevmjit/CMakeLists.txt
libevmjit/CMakeLists.txt
Text
<|file_sep|>elasticio.js.diff original: updated: package_json = require './package.json' <|file_sep|>original/elasticio.js StockXmlImport = require('./main').StockXmlImport exports.process = function(msg, cfg, next, snapshot) { console.log("Got elastic.io msg: %j", msg); config = { client_id: cfg.sphereClient...
package_json = require './package.json' StockXmlImport = require('./main').StockXmlImport exports.process = function(msg, cfg, next, snapshot) { console.log("Got elastic.io msg: %j", msg); config = { client_id: cfg.sphereClientId, client_secret: cfg.sphereClientSecret, project_key: cfg.sphereProjectKey...
<|file_sep|>elasticio.js.diff original: updated: package_json = require './package.json' <|file_sep|>original/elasticio.js StockXmlImport = require('./main').StockXmlImport exports.process = function(msg, cfg, next, snapshot) { console.log("Got elastic.io msg: %j", msg); config = { client_id: cfg.sphereClient...
63d102a061e13b4bad06dc24600df60c563eeb74
elasticio.js
elasticio.js
JavaScript
<|file_sep|>original/uoftscrapers/scrapers/food/__init__.py <|file_sep|>current/uoftscrapers/scrapers/food/__init__.py <|file_sep|>updated/uoftscrapers/scrapers/food/__init__.py
import requests from bs4 import BeautifulSoup from collections import OrderedDict import json from ..scraper import Scraper class Food(Scraper): """A scraper for UofT restaurants. UofT Food data is located at http://map.utoronto.ca """ def __init__(self, output_location='.'): super().__init_...
<|file_sep|>original/uoftscrapers/scrapers/food/__init__.py <|file_sep|>current/uoftscrapers/scrapers/food/__init__.py <|file_sep|>updated/uoftscrapers/scrapers/food/__init__.py import requests from bs4 import BeautifulSoup from collections import OrderedDict import json from ..scraper import Scraper class Food(Scr...
832b22df0dc8cc7d9b4a3ae4095d5508b732978f
uoftscrapers/scrapers/food/__init__.py
uoftscrapers/scrapers/food/__init__.py
Python
<|file_sep|>packages/pi/picedit.yaml.diff original: hash: d840ef92ea1124957d8720674cc1bf65891447e688f264d9076904147b66c833 updated: hash: 7f8a66fc7ab531fb5bd24169c33349c599c4924ecfd1f76abd80e78497baae0c <|file_sep|>packages/pi/picedit.yaml.diff original: hmatrix: ! '>=0.17.0.2 && <0.18' updated: hmatrix: ! '>=0.17....
test-bench-deps: {} maintainer: mdibaiee@aol.com synopsis: simple image manipulation functions changelog: '' basic-deps: JuicyPixels: ! '>=3.2.8 && <3.3' base: ! '>=4.7 && <5' picedit: -any hmatrix: ! '>=0.17.0.2 && <0.19' cli: ! '>=0.1.2 && <0.2' vector: ! '>=0.11.0.0 && <0.12' all-versions: - '0.1.0.0' - ...
<|file_sep|>packages/pi/picedit.yaml.diff original: hash: d840ef92ea1124957d8720674cc1bf65891447e688f264d9076904147b66c833 updated: hash: 7f8a66fc7ab531fb5bd24169c33349c599c4924ecfd1f76abd80e78497baae0c <|file_sep|>packages/pi/picedit.yaml.diff original: hmatrix: ! '>=0.17.0.2 && <0.18' updated: hmatrix: ! '>=0.17....
04795b91413383d468d41fc271511afb5ca75ea6
packages/pi/picedit.yaml
packages/pi/picedit.yaml
YAML
<|file_sep|>original/SphinxDocs/source/HomePage.txt sphinx-quickstart on Mon Mar 17 11:40:57 2014. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to Motech's documentation! ================================== Contents: .. toctree:: :...
contain the root `toctree` directive. Welcome to Motech's documentation! ================================== Contents: .. toctree:: :maxdepth: 2 source/architecture/index source/contribute/index source/get_started/index source/development/index source/build_release source/demos/index sourc...
<|file_sep|>original/SphinxDocs/source/HomePage.txt sphinx-quickstart on Mon Mar 17 11:40:57 2014. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to Motech's documentation! ================================== Contents: .. toctree:: :...
ee1f549b50c6e3cb556fd064e2e926657e4c8cde
SphinxDocs/source/HomePage.txt
SphinxDocs/source/HomePage.txt
Text
<|file_sep|>original/core/enumerable/count_spec.rb it "counts nils if given nil as an argument" do EnumerableSpecs::Numerous.new(nil, nil, nil, false).count(nil).should == 3 end it "accepts an argument for comparison using ==" do @numerous.count(2).should == 2 end it "uses a block for comparison" do...
it "uses a block for comparison" do @numerous.count{|x| x%2==0 }.should == 3 end it "ignores the block when given an argument" do @numerous.count(4){|x| x%2==0 }.should == 1 end context "when each yields multiple" do it "gathers initial args as elements" do multi = EnumerableSpecs::Yields...
<|file_sep|>original/core/enumerable/count_spec.rb it "counts nils if given nil as an argument" do EnumerableSpecs::Numerous.new(nil, nil, nil, false).count(nil).should == 3 end it "accepts an argument for comparison using ==" do @numerous.count(2).should == 2 end it "uses a block for comparison" do...
523f780c12cf731b7b1ce23a7f970802187598fb
core/enumerable/count_spec.rb
core/enumerable/count_spec.rb
Ruby
<|file_sep|>app/collections/Products.coffee.diff original: updated: <|file_sep|>original/app/collections/Products.coffee getByName: (name) -> @findWhere { name: name } getBasicSubscriptionForUser: (user) -> coupon = user?.get('stripe')?.couponID if coupon countrySpecificProduct = @findWhere { ...
getByName: (name) -> @findWhere { name: name } getBasicSubscriptionForUser: (user) -> coupon = user?.get('stripe')?.couponID if coupon countrySpecificProduct = @findWhere { name: "#{coupon}_basic_subscription" } unless countrySpecificProduct countrySpecificProduct = @findWhere { name: "#{us...
<|file_sep|>app/collections/Products.coffee.diff original: updated: <|file_sep|>original/app/collections/Products.coffee getByName: (name) -> @findWhere { name: name } getBasicSubscriptionForUser: (user) -> coupon = user?.get('stripe')?.couponID if coupon countrySpecificProduct = @findWhere { ...
2e5633d415e24e2f3c5edfdfa83b8809f58df5b8
app/collections/Products.coffee
app/collections/Products.coffee
CoffeeScript
<|file_sep|>original/libhbase.sh #!/bin/sh git subtree add --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash git subtree pull --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash cd third_party/libhbase mvn install -DskipTests mkdir -p ../../libhbase/src/common tar zx...
#!/bin/sh cd third_party/libhbase mvn install -DskipTests mkdir -p ../../libhbase/src/common tar zxvf target/libhbase-1.0-SNAPSHOT.tar.gz -C ../../libhbase cp src/test/native/common/*.cc ../../libhbase/src/common cp src/test/native/common/*.h ../../libhbase/include/hbase cd ../../libhbase mkdir -p build
<|file_sep|>original/libhbase.sh #!/bin/sh git subtree add --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash git subtree pull --prefix third_party/libhbase git@github.com:mapr/libhbase master --squash cd third_party/libhbase mvn install -DskipTests mkdir -p ../../libhbase/src/common tar zx...
312b204f6d0c45d27758807c015c60d42a809e25
libhbase.sh
libhbase.sh
Shell
<|file_sep|>original/components/collector/requirements-dev.txt aiounittest==1.3.1 bandit==1.6.2 coverage==5.1 lxml==4.5.0 mypy==0.770 nose==1.3.7 pip==20.0.2 pylint==2.5.0 safety==1.9.0 vulture==1.4 <|file_sep|>current/components/collector/requirements-dev.txt aiounittest==1.3.1 bandit==1.6.2 coverage==5.1 lxml==4.5.0 ...
aiounittest==1.3.1 bandit==1.6.2 coverage==5.1 lxml==4.5.0 mypy==0.770 nose==1.3.7 pip==20.1 pylint==2.5.0 safety==1.9.0 vulture==1.4
<|file_sep|>original/components/collector/requirements-dev.txt aiounittest==1.3.1 bandit==1.6.2 coverage==5.1 lxml==4.5.0 mypy==0.770 nose==1.3.7 pip==20.0.2 pylint==2.5.0 safety==1.9.0 vulture==1.4 <|file_sep|>current/components/collector/requirements-dev.txt aiounittest==1.3.1 bandit==1.6.2 coverage==5.1 lxml==4.5.0 ...
03dbefa7409ebaf2e3c6687ea59d7b0029bd304c
components/collector/requirements-dev.txt
components/collector/requirements-dev.txt
Text
<|file_sep|>GUI/src/main.cpp.diff original: updated: std::cout << "Who am I ? where am I ? Lei" << std::endl; <|file_sep|>original/GUI/src/main.cpp INITIALIZE_EASYLOGGINGPP int main(int argc, char *argv[]) { START_EASYLOGGINGPP(argc, argv); int i = foo(); std::cout << str() + 1 << std::endl << i...
INITIALIZE_EASYLOGGINGPP int main(int argc, char *argv[]) { START_EASYLOGGINGPP(argc, argv); std::cout << "Who am I ? where am I ? Lei" << std::endl; int i = foo(); std::cout << str() + 1 << std::endl << i << std::endl; LOG(INFO) << "I'm drawing here..."; sf::RenderWindow window(sf::Vide...
<|file_sep|>GUI/src/main.cpp.diff original: updated: std::cout << "Who am I ? where am I ? Lei" << std::endl; <|file_sep|>original/GUI/src/main.cpp INITIALIZE_EASYLOGGINGPP int main(int argc, char *argv[]) { START_EASYLOGGINGPP(argc, argv); int i = foo(); std::cout << str() + 1 << std::endl << i...
7b97ff371e4aa42bfc4b9f4b95557d67c781768c
GUI/src/main.cpp
GUI/src/main.cpp
C++
<|file_sep|>original/catalog/Developer_Tools/ruby_version_management.yml name: Ruby Version Management description: projects: # deprecated in favor of chruby: - hmans/rbfu # deprecated - phoet/which_ruby - postmodern/chruby - postmodern/ruby-install - rvm/rvm - senny/rvm.el - sstephenson/rbenv - sst...
name: Ruby Version Management description: projects: - asdf-vm/asdf-ruby # deprecated in favor of chruby: - hmans/rbfu # deprecated - phoet/which_ruby - postmodern/chruby - postmodern/ruby-install - rvm/rvm - senny/rvm.el - sstephenson/rbenv - sstephenson/ruby-build # deprecated in favor of http...
<|file_sep|>original/catalog/Developer_Tools/ruby_version_management.yml name: Ruby Version Management description: projects: # deprecated in favor of chruby: - hmans/rbfu # deprecated - phoet/which_ruby - postmodern/chruby - postmodern/ruby-install - rvm/rvm - senny/rvm.el - sstephenson/rbenv - sst...
30d4c7eb2d8f97e9ff35612aba2c90ad72e9c3ac
catalog/Developer_Tools/ruby_version_management.yml
catalog/Developer_Tools/ruby_version_management.yml
YAML
<|file_sep|>original/src/JwtAuthentication/RequestPathRule.php public function __construct($options = array()) { $this->options = array_merge($this->options, $options); } public function __invoke(\Slim\Slim $app) { /* If request path is matches passthrough should not authenticate. ...
public function __construct($options = array()) { $this->options = array_merge($this->options, $options); } public function __invoke(\Slim\Slim $app) { /* If request path is matches passthrough should not authenticate. */ foreach ($this->options["passthrough"] as $passthrou...
<|file_sep|>original/src/JwtAuthentication/RequestPathRule.php public function __construct($options = array()) { $this->options = array_merge($this->options, $options); } public function __invoke(\Slim\Slim $app) { /* If request path is matches passthrough should not authenticate. ...
182cf7bed9d7b90e4109780ed08a9e270e5e26f5
src/JwtAuthentication/RequestPathRule.php
src/JwtAuthentication/RequestPathRule.php
PHP
<|file_sep|>src/Elders.Pandora.Cli/RELEASE_NOTES.md.diff original: #### 0.1.0 - 29.05.2015 updated: #### 0.1.1 - 29.05.2015 <|file_sep|>original/src/Elders.Pandora.Cli/RELEASE_NOTES.md #### 0.1.0 - 29.05.2015 * Make the Pandora.Cli a separate package <|file_sep|>current/src/Elders.Pandora.Cli/RELEASE_NOTES.md #### 0.1....
#### 0.1.1 - 29.05.2015 * Make the Pandora.Cli a separate package #### 0.1.1 - 29.05.2015 * Make the Pandora.Cli a separate package
<|file_sep|>src/Elders.Pandora.Cli/RELEASE_NOTES.md.diff original: #### 0.1.0 - 29.05.2015 updated: #### 0.1.1 - 29.05.2015 <|file_sep|>original/src/Elders.Pandora.Cli/RELEASE_NOTES.md #### 0.1.0 - 29.05.2015 * Make the Pandora.Cli a separate package <|file_sep|>current/src/Elders.Pandora.Cli/RELEASE_NOTES.md #### 0.1....
49163379da62a3d0ebff4a70eb2d01bb77e87a26
src/Elders.Pandora.Cli/RELEASE_NOTES.md
src/Elders.Pandora.Cli/RELEASE_NOTES.md
Markdown
<|file_sep|>original/script/vsts/pull-requests.yml trigger: branches: exclude: - master - 1.* # VSTS only supports wildcards at the end phases: - phase: GetReleaseVersion steps: # This has to be done separately because VSTS inexplicably # exits the script block after `npm install` completes. ...
trigger: none # No CI builds, only PR builds phases: - phase: GetReleaseVersion steps: # This has to be done separately because VSTS inexplicably # exits the script block after `npm install` completes. - script: | cd script\vsts npm install displayName: npm install - script: node script\vst...
<|file_sep|>original/script/vsts/pull-requests.yml trigger: branches: exclude: - master - 1.* # VSTS only supports wildcards at the end phases: - phase: GetReleaseVersion steps: # This has to be done separately because VSTS inexplicably # exits the script block after `npm install` completes. ...
1d5c71ef7f10be32ab99ea3b6a92dc6c1f0475ad
script/vsts/pull-requests.yml
script/vsts/pull-requests.yml
YAML
<|file_sep|>original/stdlib/public/Reflection/CMakeLists.txt add_swift_library(swiftReflection IS_STDLIB IS_HOST Demangle.cpp Remangle.cpp TypeRef.cpp INSTALL_IN_COMPONENT dev COMPONENT_DEPENDS Support) <|file_sep|>current/stdlib/public/Reflection/CMakeLists.txt add_swift_library(swiftReflection IS_STDLIB IS_...
add_swift_library(swiftReflection IS_STDLIB IS_HOST Demangle.cpp Remangle.cpp TypeRef.cpp INSTALL_IN_COMPONENT dev)
<|file_sep|>original/stdlib/public/Reflection/CMakeLists.txt add_swift_library(swiftReflection IS_STDLIB IS_HOST Demangle.cpp Remangle.cpp TypeRef.cpp INSTALL_IN_COMPONENT dev COMPONENT_DEPENDS Support) <|file_sep|>current/stdlib/public/Reflection/CMakeLists.txt add_swift_library(swiftReflection IS_STDLIB IS_...
e806fd2d1dd84d30c2ec0f51f130b139986fc460
stdlib/public/Reflection/CMakeLists.txt
stdlib/public/Reflection/CMakeLists.txt
Text
<|file_sep|>scripts/maintenance/cluster_status.sh.diff original: echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat` echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat2` updated: echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat` echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat2` <|file_sep|>or...
#/bin/bash stat='mongo --port 27018 admin -uadmin -padmin123 --eval "tojson(rs.status());" | grep stateStr; echo "|" ; mongo --port 27018 admin -uadmin -padmin123 --eval "tojson(rs.status());" | grep "optimeDate"'; stat2='mongo --port 27018 admin -uadmin -padmin123 --quiet --eval "db.serverStatus().version;"' for i i...
<|file_sep|>scripts/maintenance/cluster_status.sh.diff original: echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat` echo "vrl-billdbm$ipad " `ssh vrl-billdbm$i $stat2` updated: echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat` echo "vrl-billdbm$i " `ssh vrl-billdbm$i $stat2` <|file_sep|>or...
56ccd52bbda4dd129bdf7fd0ea5da03d3db454d3
scripts/maintenance/cluster_status.sh
scripts/maintenance/cluster_status.sh
Shell
<|file_sep|>spec/factories.rb.diff original: updated: factory :activity do end <|file_sep|>spec/factories.rb.diff original: transaction_id { ::SecureRandom.uuid } updated: <|file_sep|>original/spec/factories.rb factory :application do sequence(:name) {|n| "Spec Application ##{n}" } end factory :tr...
factory :activity do end factory :trace do start { Time.zone.now } stop { Time.zone.now } name 'mnemosyne.test.trace' association :application association :activity end factory :span do start { Time.zone.now } stop { Time.zone.now } name 'mnemosyne.test.span' associati...
<|file_sep|>spec/factories.rb.diff original: updated: factory :activity do end <|file_sep|>spec/factories.rb.diff original: transaction_id { ::SecureRandom.uuid } updated: <|file_sep|>original/spec/factories.rb factory :application do sequence(:name) {|n| "Spec Application ##{n}" } end factory :tr...
3a0b80a29e08a98608951a9cecff0541d9fb5dad
spec/factories.rb
spec/factories.rb
Ruby
<|file_sep|>original/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch <|file_sep|>current/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch <|file_sep|>updated/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index e0ac494..fa82bb7 100755 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -134,7 +138,7 @@ #ifndef CONFIG_RESTORE_FLASH /* set to negative value for no autoboot */ -#define CONFIG_BOOTDELAY 3 +#define CONFIG_BOOTD...
<|file_sep|>original/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch <|file_sep|>current/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch <|file_sep|>updated/config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch diff --git a/include/configs/am335x_evm.h b/include/configs...
bc8cc7a774b044c5ab25cade497525ef117d0166
config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch
config/arm/BEAGLEBONE/files/uboot_patch5_set_zero_bootdelay.patch
Diff
<|file_sep|>README.md.diff original: 3. `npm run ios` updated: 3. `react-native link` 4. `npm run ios` <|file_sep|>original/README.md ## About Lexington, KY traffic cameras, now in pocket size -- written in React Native. ## Getting Started - Clone the repository - [Install React Native](http://facebook.github.io/react...
## Getting Started - Clone the repository - [Install React Native](http://facebook.github.io/react-native/docs/getting-started.html#content) #### iOS 1. `cd lexington-traffic-cameras/app` 2. `npm i` 3. `react-native link` 4. `npm run ios` #### Android 1. `cd lexington-traffic-cameras/app` 2. `npm i` 3. `react-native...
<|file_sep|>README.md.diff original: 3. `npm run ios` updated: 3. `react-native link` 4. `npm run ios` <|file_sep|>original/README.md ## About Lexington, KY traffic cameras, now in pocket size -- written in React Native. ## Getting Started - Clone the repository - [Install React Native](http://facebook.github.io/react...
dff7c97558a45c7191e17d6113db043e8082eecc
README.md
README.md
Markdown
<|file_sep|>src/plugins/jade-template.coffee.diff original: updated: path = require 'path' <|file_sep|>src/plugins/jade-template.coffee.diff original: JadeTemplate.fromFile = (filename, callback) -> updated: JadeTemplate.fromFile = (filename, base, callback) -> fullpath = path.join base, filename <|file_sep|>src/plu...
try callback null, new Buffer @fn(locals) catch error callback error JadeTemplate.fromFile = (filename, base, callback) -> fullpath = path.join base, filename async.waterfall [ (callback) -> fs.readFile fullpath, callback (buffer, callback) -> try rv = jade.compile b...
<|file_sep|>src/plugins/jade-template.coffee.diff original: updated: path = require 'path' <|file_sep|>src/plugins/jade-template.coffee.diff original: JadeTemplate.fromFile = (filename, callback) -> updated: JadeTemplate.fromFile = (filename, base, callback) -> fullpath = path.join base, filename <|file_sep|>src/plu...
62a941e9760d9e4431baaf7258442f9185c52b3f
src/plugins/jade-template.coffee
src/plugins/jade-template.coffee
CoffeeScript
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
# Title tag # Navigation # Header upper-title=Pontoon by Mozilla headline-1=LocaliSe the web. # What what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you. context-desc=By localising web page on the page itself, you no longer need to worry if the wo...
<|file_sep|>static/locales/en-GB/messages.properties.diff original: navigation-title=Pontoon Intro navigation-developers=Developers updated: <|file_sep|>original/static/locales/en-GB/messages.properties # Title tag # Navigation navigation-title=Pontoon Intro navigation-developers=Developers # Header upper-title=Pont...
173ac0fc3f13c272986969d2cbb10ff2c3b46b77
static/locales/en-GB/messages.properties
static/locales/en-GB/messages.properties
INI
<|file_sep|>federation/apis/federation/annotations.go.diff original: Copyright 2016 The Kubernetes Authors. updated: Copyright 2017 The Kubernetes Authors. <|file_sep|>original/federation/apis/federation/annotations.go http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package f...
<|file_sep|>federation/apis/federation/annotations.go.diff original: Copyright 2016 The Kubernetes Authors. updated: Copyright 2017 The Kubernetes Authors. <|file_sep|>original/federation/apis/federation/annotations.go http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
3e69ca745210ba67f07309c360b87a3c65d3f47f
federation/apis/federation/annotations.go
federation/apis/federation/annotations.go
Go
<|file_sep|>original/client/components/App.jsx import React from 'react'; import ReactDom from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import MainLayout from './main-layout/Mainlayout.jsx'; import HomeView from './home-view/HomeView.jsx'; import RecordView from './record-...
import React from 'react'; import ReactDom from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import MainLayout from './main-layout/MainLayout.jsx'; import HomeView from './home-view/HomeView.jsx'; import RecordView from './record-view/RecordView.jsx'; import SessionsView from ...
<|file_sep|>original/client/components/App.jsx import React from 'react'; import ReactDom from 'react-dom'; import { Router, Route, IndexRoute, browserHistory } from 'react-router'; import MainLayout from './main-layout/Mainlayout.jsx'; import HomeView from './home-view/HomeView.jsx'; import RecordView from './record-...
35b2d2d3ecf1a0e764c070335f6af743c66afae8
client/components/App.jsx
client/components/App.jsx
JSX
<|file_sep|>original/oh-my-zsh/plugins/pmcdaniel/pmcdaniel.plugin.zsh c() { cd ~/Development/$1; } _c() { _files -W ~/Development -/; } compdef _c c h() { cd ~/$1; } _h() { _files -W ~/ -/; } compdef _h h # Switch Java Version function # Usage: sjv <version> # Description: Switches the version of Java currently refer...
h() { cd ~/$1; } _h() { _files -W ~/ -/; } compdef _h h # Switch Java Version function # Usage: sjv <version> # Description: Switches the version of Java currently referenced by java_home. <version> should be of the form 1.7, 1.8 sjv () { local java_version=$1 export JAVA_HOME=`/usr/libexec/java_home -v $java_versi...
<|file_sep|>original/oh-my-zsh/plugins/pmcdaniel/pmcdaniel.plugin.zsh c() { cd ~/Development/$1; } _c() { _files -W ~/Development -/; } compdef _c c h() { cd ~/$1; } _h() { _files -W ~/ -/; } compdef _h h # Switch Java Version function # Usage: sjv <version> # Description: Switches the version of Java currently refer...
b2d705937a667de9ccda5612e29a14198ff42bbf
oh-my-zsh/plugins/pmcdaniel/pmcdaniel.plugin.zsh
oh-my-zsh/plugins/pmcdaniel/pmcdaniel.plugin.zsh
Shell
<|file_sep|>.travis.yml.diff original: lein: lein2 updated: lein: lein <|file_sep|>.travis.yml.diff original: - lein2 test updated: - lein test <|file_sep|>original/.travis.yml language: clojure lein: lein2 script: - lein2 test jdk: - oraclejdk8 - openjdk7 - oraclejdk7 <|file_sep|>current/.travis.yml lang...
language: clojure lein: lein script: - lein test jdk: - oraclejdk8 - openjdk7 - oraclejdk7 - oraclejdk9
<|file_sep|>.travis.yml.diff original: lein: lein2 updated: lein: lein <|file_sep|>.travis.yml.diff original: - lein2 test updated: - lein test <|file_sep|>original/.travis.yml language: clojure lein: lein2 script: - lein2 test jdk: - oraclejdk8 - openjdk7 - oraclejdk7 <|file_sep|>current/.travis.yml lang...
75b44f1860dd6f3dcf15c32b32f2afbb997b39a6
.travis.yml
.travis.yml
YAML
<|file_sep|>original/Python/ProcBridge/example/client.py import procbridge # from procbridge import procbridge host = '127.0.0.1' port = 8077 client = procbridge.ProcBridge(host, port) print(client.request('echo', {})) print(client.request('add', { 'elements': [1, 2, 3, 4, 5] })) <|file_sep|>current/Python/Pro...
import procbridge # from procbridge import procbridge host = '127.0.0.1' port = 8877 client = procbridge.ProcBridge(host, port) print(client.request('echo', {})) print(client.request('add', { 'elements': [1, 2, 3, 4, 5] }))
<|file_sep|>original/Python/ProcBridge/example/client.py import procbridge # from procbridge import procbridge host = '127.0.0.1' port = 8077 client = procbridge.ProcBridge(host, port) print(client.request('echo', {})) print(client.request('add', { 'elements': [1, 2, 3, 4, 5] })) <|file_sep|>current/Python/Pro...
e821236194b7e6f132c9fd08758b751edd8f0fc8
Python/ProcBridge/example/client.py
Python/ProcBridge/example/client.py
Python
<|file_sep|>original/app/controllers/NewController.php $id; do { $id = Text::random(Text::RANDOM_ALNUM, rand(5,13)); } while (Paste::findFirstByid($id)); $paste = new Paste(); $paste->id = $id; $paste->content = $this->request->getPost("conten...
$id; do { $id = Text::random(Text::RANDOM_ALNUM, rand(5,13)); } while (Paste::findFirstByid($id)); $paste = new Paste(); $paste->id = $id; $paste->content = $this->request->getPost("content"); $paste->lang = $this->request->getPost("la...
<|file_sep|>original/app/controllers/NewController.php $id; do { $id = Text::random(Text::RANDOM_ALNUM, rand(5,13)); } while (Paste::findFirstByid($id)); $paste = new Paste(); $paste->id = $id; $paste->content = $this->request->getPost("conten...
50157d859db0a547ed596127ecee4adec42b2c36
app/controllers/NewController.php
app/controllers/NewController.php
PHP
<|file_sep|>original/src/app/states/devices/abstract-device.service.ts constructor(protected store: Store) {} abstract getDeviceInfo(device: T): Observable<Partial<T>>; abstract saveDeviceParams(device: T): Observable<any>; abstract startMeasureScan(device: T, stopSignal: Observable<any>): Observable<Step>;...
constructor(protected store: Store) {} abstract getDeviceInfo(device: T): Observable<Partial<T>>; abstract saveDeviceParams(device: T): Observable<any>; abstract startMeasureScan(device: T, stopSignal: Observable<any>): Observable<Step>; computeRadiationValue(measure: Measure): number { if (measure.e...
<|file_sep|>original/src/app/states/devices/abstract-device.service.ts constructor(protected store: Store) {} abstract getDeviceInfo(device: T): Observable<Partial<T>>; abstract saveDeviceParams(device: T): Observable<any>; abstract startMeasureScan(device: T, stopSignal: Observable<any>): Observable<Step>;...
8ec40f898d97a4c32e91e90ab06bf2957b3e5323
src/app/states/devices/abstract-device.service.ts
src/app/states/devices/abstract-device.service.ts
TypeScript
<|file_sep|>whois_search.py.diff original: cidr, range = "Not found" updated: cidr, ranges = "CIDR not found", "Range not found" <|file_sep|>whois_search.py.diff original: range = ip_dict['nets'][0].get('range') updated: ranges = ip_dict['nets'][0].get('range') <|file_sep|>original/whois_search....
# because you still aren't hitting target w = whois.whois(host) return w.text, w.emails, w def whois_ip(ip): # Default to not found cidr, ranges = "CIDR not found", "Range not found" # Get whois for IP. Returns a list with dictionary ip_dict = IPWhois(ip).lookup_rws() if ip_dict['n...
<|file_sep|>whois_search.py.diff original: cidr, range = "Not found" updated: cidr, ranges = "CIDR not found", "Range not found" <|file_sep|>whois_search.py.diff original: range = ip_dict['nets'][0].get('range') updated: ranges = ip_dict['nets'][0].get('range') <|file_sep|>original/whois_search....
681379125ca83641e6906318c01b6932e0cb100b
whois_search.py
whois_search.py
Python
<|file_sep|>original/test/tc_Matriz_Dispersa.rb <|file_sep|>current/test/tc_Matriz_Dispersa.rb <|file_sep|>updated/test/tc_Matriz_Dispersa.rb
# Implementar en este fichero las Pruebas Unitarias asociadas a la clase Matriz_Dispersa require "../lib/prct09/Matriz.rb" require "test/unit" class Test_Matriz_Dispersa < Test::Unit::TestCase def setup MatrizMadre = Matriz.new() @mat_C = MatrizMadre.convert([[1, 0], [0, 0]]) @mat_D = MatrizMadre.con...
<|file_sep|>original/test/tc_Matriz_Dispersa.rb <|file_sep|>current/test/tc_Matriz_Dispersa.rb <|file_sep|>updated/test/tc_Matriz_Dispersa.rb # Implementar en este fichero las Pruebas Unitarias asociadas a la clase Matriz_Dispersa require "../lib/prct09/Matriz.rb" require "test/unit" class Test_Matriz_Dispersa < Te...
7fc26fbdc404e21ec7d3c86f94cc009b1caa5457
test/tc_Matriz_Dispersa.rb
test/tc_Matriz_Dispersa.rb
Ruby
<|file_sep|>original/test/ELF/mips-micror6-relocs.s <|file_sep|>current/test/ELF/mips-micror6-relocs.s <|file_sep|>updated/test/ELF/mips-micror6-relocs.s
# REQUIRES: mips # Check handling of microMIPS R6 relocations. # RUN: llvm-mc -filetype=obj -triple=mips -mcpu=mips32r6 \ # RUN: %S/Inputs/mips-micro.s -o %t1eb.o # RUN: llvm-mc -filetype=obj -triple=mips -mcpu=mips32r6 %s -o %t2eb.o # RUN: ld.lld -o %teb.exe %t1eb.o %t2eb.o # RUN: llvm-objdump -d -t -mattr=m...
<|file_sep|>original/test/ELF/mips-micror6-relocs.s <|file_sep|>current/test/ELF/mips-micror6-relocs.s <|file_sep|>updated/test/ELF/mips-micror6-relocs.s # REQUIRES: mips # Check handling of microMIPS R6 relocations. # RUN: llvm-mc -filetype=obj -triple=mips -mcpu=mips32r6 \ # RUN: %S/Inputs/mips-micro.s -o...
e65d1686960a44acc9bcce2aa37fff96b53d0794
test/ELF/mips-micror6-relocs.s
test/ELF/mips-micror6-relocs.s
GAS
<|file_sep|>original/appveyor.yml os: Visual Studio 2017 build_script: - ps: .\build.ps1 -target "AppVeyor" test: off artifacts: - path: artifacts\Stranne.VasttrafikNET_coverage.xml - path: 'src\Stranne.VasttrafikNET\**\*.nupkg' - path: artifacts\test-report.zip <|file_sep|>current/appveyor.yml os: Visu...
os: Visual Studio 2017 build_script: - ps: .\build.ps1 -target "AppVeyor" test: off artifacts: - path: artifacts\Stranne.VasttrafikNET_coverage.xml - path: 'artifacts\**\*.nupkg' - path: artifacts\test-report.zip
<|file_sep|>original/appveyor.yml os: Visual Studio 2017 build_script: - ps: .\build.ps1 -target "AppVeyor" test: off artifacts: - path: artifacts\Stranne.VasttrafikNET_coverage.xml - path: 'src\Stranne.VasttrafikNET\**\*.nupkg' - path: artifacts\test-report.zip <|file_sep|>current/appveyor.yml os: Visu...
620b0612746e4aca86ac0574d6f0ad29b0aa4e64
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/julia-0.5.0-mkl/meta.yaml version: 0.5.0 source: fn: julia-0.5.0-full.tar.gz url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz md5: b61385671ba74767ab452363c43131fb # from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5 requirement...
version: 0.5.0 source: fn: julia-0.5.0-full.tar.gz url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz md5: b61385671ba74767ab452363c43131fb # from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5 requirements: build: - python 2.7* - gcc - p...
<|file_sep|>original/julia-0.5.0-mkl/meta.yaml version: 0.5.0 source: fn: julia-0.5.0-full.tar.gz url: https://github.com/JuliaLang/julia/releases/download/v0.5.0/julia-0.5.0-full.tar.gz md5: b61385671ba74767ab452363c43131fb # from https://s3.amazonaws.com/julialang/bin/checksums/julia-0.5.0.md5 requirement...
ddceef92e93b6f056751de19eef7c97355410dea
julia-0.5.0-mkl/meta.yaml
julia-0.5.0-mkl/meta.yaml
YAML
<|file_sep|>src/helmsman.js.diff original: angular.module('helmsman', []) updated: angular.module('helmsman', ['cfp.hotkeys']) <|file_sep|>src/helmsman.js.diff original: HelmsmanController = ["$scope", function($scope){ updated: HelmsmanController = ["$scope", "hotkeys", function($scope, hotkeys){ // Add shortcut k...
// Set the active menu $scope.setMenu = function(menu){ $scope.heading = menu $scope.items = $scope.menus[menu] setShortcuts() } // On refresh find the corresponding menu to the page. if($scope.locationToMenu[location.hash]) { ...
<|file_sep|>src/helmsman.js.diff original: angular.module('helmsman', []) updated: angular.module('helmsman', ['cfp.hotkeys']) <|file_sep|>src/helmsman.js.diff original: HelmsmanController = ["$scope", function($scope){ updated: HelmsmanController = ["$scope", "hotkeys", function($scope, hotkeys){ // Add shortcut k...
db5c974cf86cc9a27bbb66781db42d09dd04c7fe
src/helmsman.js
src/helmsman.js
JavaScript
<|file_sep|>README.md.diff original: # Skatejs Web Components updated: # SkateJS Web Components <|file_sep|>README.md.diff original: updated: ## Installing It is available on NPM. ```sh npm install skatejs-web-components ``` ## Importing The `dist/` files are provided in UMD format and can be imported by whatever ...
It is available on NPM. ```sh npm install skatejs-web-components ``` ## Importing The `dist/` files are provided in UMD format and can be imported by whatever module format you're using. ```js import 'skatejs-web-components'; require('skatejs-web-components'); require(['skatejs-web-components']); ``` Or you can lo...
<|file_sep|>README.md.diff original: # Skatejs Web Components updated: # SkateJS Web Components <|file_sep|>README.md.diff original: updated: ## Installing It is available on NPM. ```sh npm install skatejs-web-components ``` ## Importing The `dist/` files are provided in UMD format and can be imported by whatever ...
7385ea60d17d94af3bbe5fd5b44918f4fa6b12f5
README.md
README.md
Markdown
<|file_sep|>original/.github/workflows/test.yml pull_request: push: jobs: test-nix: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: # Nix Flakes doesn't work on shallow clones fetch-depth: 0 - uses: cachix/install-nix-action@v16 with: nix_pat...
pull_request: push: jobs: test-nix: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: # Nix Flakes doesn't work on shallow clones fetch-depth: 0 - uses: cachix/install-nix-action@v17 with: nix_path: nixpkgs=channel:nixos-unstable extra_...
<|file_sep|>original/.github/workflows/test.yml pull_request: push: jobs: test-nix: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: # Nix Flakes doesn't work on shallow clones fetch-depth: 0 - uses: cachix/install-nix-action@v16 with: nix_pat...
9b35e43bac781fe7a36f2cfa057f51406b9b4d72
.github/workflows/test.yml
.github/workflows/test.yml
YAML
<|file_sep|>original/paper/CMakeLists.txt add_subdirectory(fig) <|file_sep|>current/paper/CMakeLists.txt add_subdirectory(fig) <|file_sep|>updated/paper/CMakeLists.txt
add_subdirectory(fig) add_custom_command( OUTPUT main.pdf COMMAND pdflatex main COMMAND pdflatex main MAIN_DEPENDENCY main.tex DEPENDS figures ) add_custom_target(paper DEPENDS main.pdf)
<|file_sep|>original/paper/CMakeLists.txt add_subdirectory(fig) <|file_sep|>current/paper/CMakeLists.txt add_subdirectory(fig) <|file_sep|>updated/paper/CMakeLists.txt add_subdirectory(fig) add_custom_command( OUTPUT main.pdf COMMAND pdflatex main COMMAND pdflatex main MAIN_DEPENDENCY main.tex DE...
720239d284cea76f1afd87d5ed368ed7069b69f2
paper/CMakeLists.txt
paper/CMakeLists.txt
Text
<|file_sep|>original/app/views/layouts/dashing/dashboard.html.erb <meta charset="utf-8"/> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><%= yield :title %></title> <%= javascript_in...
<meta charset="utf-8"/> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><%= yield :title %></title> <%= javascript_include_tag 'dashing/application' %> <%= stylesheet_link_tag 'da...
<|file_sep|>original/app/views/layouts/dashing/dashboard.html.erb <meta charset="utf-8"/> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><%= yield :title %></title> <%= javascript_in...
1e01ebe1f644f92f48d06675f2a08945e93e73a6
app/views/layouts/dashing/dashboard.html.erb
app/views/layouts/dashing/dashboard.html.erb
HTML+ERB
<|file_sep|>original/src/main/java/me/coley/recaf/util/LaunchParams.java import java.util.List; import java.util.concurrent.Callable; import me.coley.recaf.Logging; import picocli.CommandLine.Option; public class LaunchParams implements Runnable { @Option(names = { "-i", "--input" }, description = "Jar file to read....
import java.util.List; import java.util.concurrent.Callable; import me.coley.recaf.Logging; import picocli.CommandLine.Option; public class LaunchParams implements Runnable { @Option(names = { "-i", "--input" }, description = "Jar file to read.") public File initialFile; @Option(names = { "-c", "--class" }, descri...
<|file_sep|>original/src/main/java/me/coley/recaf/util/LaunchParams.java import java.util.List; import java.util.concurrent.Callable; import me.coley.recaf.Logging; import picocli.CommandLine.Option; public class LaunchParams implements Runnable { @Option(names = { "-i", "--input" }, description = "Jar file to read....
a5519222680d6f7b197133f893fb352e2f503609
src/main/java/me/coley/recaf/util/LaunchParams.java
src/main/java/me/coley/recaf/util/LaunchParams.java
Java
<|file_sep|>original/db/migrate/20160204080445_add_posts_original_updated_at.rb class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime end end <|file_sep|>current/db/migrate/20160204080445_add_posts_original_updated_at.rb class AddPostsOriginalUpd...
class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime execute 'UPDATE posts SET original_updated_at = updated_at' end end
<|file_sep|>original/db/migrate/20160204080445_add_posts_original_updated_at.rb class AddPostsOriginalUpdatedAt < ActiveRecord::Migration def change add_column :posts, :original_updated_at, :datetime end end <|file_sep|>current/db/migrate/20160204080445_add_posts_original_updated_at.rb class AddPostsOriginalUpd...
a58730c82ba4ecc2b580a0cc74a30871f669d778
db/migrate/20160204080445_add_posts_original_updated_at.rb
db/migrate/20160204080445_add_posts_original_updated_at.rb
Ruby
<|file_sep|>original/requirements.txt # Required packages for synapse tornado==4.5.1 cryptograph==1.9 pyOpenSSL==17.0.0 msgpack-python==0.4.8 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.4.1 coveralls==1.1 nose==1.3.7 <|file_sep|>current/requirements.txt #...
# Required packages for synapse tornado==4.5.1 cryptography==1.9 pyOpenSSL==17.0.0 msgpack-python==0.4.8 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.4.1 coveralls==1.1 nose==1.3.7
<|file_sep|>original/requirements.txt # Required packages for synapse tornado==4.5.1 cryptograph==1.9 pyOpenSSL==17.0.0 msgpack-python==0.4.8 # Delayed import psycopg2==2.7.1 # Code style checks pycodestyle==2.3.1 # Test related packages coverage==4.4.1 coveralls==1.1 nose==1.3.7 <|file_sep|>current/requirements.txt #...
5a5ac90af38d7e3ce13ea6c64f9cd6a874fad126
requirements.txt
requirements.txt
Text
<|file_sep|>original/lib/csv_shaper_template.rb self.default_format = Mime::CSV # Expected `call` class method # Set response headers with filename # Primarily calls CsvShaperTemplate.encode, passing through the context (self) def self.call(template) %{ unless defined?(ActionMailer) && defined?(Act...
self.default_format = Mime::CSV # Expected `call` class method # Set response headers with filename # Primarily calls CsvShaperTemplate.encode, passing through the context (self) def self.call(template) %{ unless defined?(ActionMailer) && defined?(ActionMailer::Base) && controller.is_a?(ActionMaile...
<|file_sep|>original/lib/csv_shaper_template.rb self.default_format = Mime::CSV # Expected `call` class method # Set response headers with filename # Primarily calls CsvShaperTemplate.encode, passing through the context (self) def self.call(template) %{ unless defined?(ActionMailer) && defined?(Act...
ddef5fbb5a7f7c850460e214033238a085df5668
lib/csv_shaper_template.rb
lib/csv_shaper_template.rb
Ruby
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md
#javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of problems that I've tackled, but not of my solo work.
<|file_sep|>original/README.md <|file_sep|>current/README.md <|file_sep|>updated/README.md #javascript-koans This is a copy of the work I did on a private repo, originally a project from [Hack Reactor's](http://hackreactor.com) curriculum. This project was worked on with a pair; it's representative of the kind of pr...
8c3608cb01d6d73c533a4d42ce08c3e127ee602e
README.md
README.md
Markdown
<|file_sep|>original/crowdin.yml files: - source: /languages/YourLanguage.ts translation: /languages/%language%.ts - source: /crash-reporter/languages/YourLanguage.ts translation: /crash-reporter/languages/%language%.ts <|file_sep|>current/crowdin.yml files: - source: /languages/YourLanguage.ts transl...
files: - source: /src/languages/YourLanguage.ts translation: /src/languages/%language%.ts - source: /src/crash-reporter/languages/YourLanguage.ts translation: /src/crash-reporter/languages/%language%.ts
<|file_sep|>original/crowdin.yml files: - source: /languages/YourLanguage.ts translation: /languages/%language%.ts - source: /crash-reporter/languages/YourLanguage.ts translation: /crash-reporter/languages/%language%.ts <|file_sep|>current/crowdin.yml files: - source: /languages/YourLanguage.ts transl...
07ca8ccb4786c9c616c12992a4a13f4cd11b5e35
crowdin.yml
crowdin.yml
YAML
<|file_sep|>original/.github/workflows/pythonpackage.yml steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m...
steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pyt...
<|file_sep|>original/.github/workflows/pythonpackage.yml steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m...
ff025910537eafd6800d2ceefe12f60bb37fcd92
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
YAML
<|file_sep|>original/lita-weather.gemspec Gem::Specification.new do |spec| spec.name = "lita-weather" spec.version = "0.1.0" spec.authors = ["Gou Furuya"] spec.email = ["innocent.zero@gmail.com"] spec.description = "Respond weather infromation" spec.summary = "Respond we...
Gem::Specification.new do |spec| spec.name = "lita-weather" spec.version = "0.1.1" spec.authors = ["Gou Furuya", "darkcat666"] spec.email = ["innocent.zero@gmail.com", "holycat666@gmail.com"] spec.description = "Respond weather infromation" spec.summary = "Respond weathe...
<|file_sep|>original/lita-weather.gemspec Gem::Specification.new do |spec| spec.name = "lita-weather" spec.version = "0.1.0" spec.authors = ["Gou Furuya"] spec.email = ["innocent.zero@gmail.com"] spec.description = "Respond weather infromation" spec.summary = "Respond we...
b7a6bbd5f024a284c015729dd4445a876fae95a8
lita-weather.gemspec
lita-weather.gemspec
Ruby
<|file_sep|>original/SnappyMap/CommandLine/Options.cs using System.Collections.Generic; using global::CommandLine; using global::CommandLine.Text; public class Options { [Option('s', "size", DefaultValue = "8x8", HelpText = "Set the size of the output map.")] public string Size { g...
using System.Collections.Generic; using global::CommandLine; using global::CommandLine.Text; public class Options { [Option('s', "size", DefaultValue = "8x8", HelpText = "Set the size of the output map.")] public string Size { get; set; } [Option('t', "tileset-dir", Defaul...
<|file_sep|>original/SnappyMap/CommandLine/Options.cs using System.Collections.Generic; using global::CommandLine; using global::CommandLine.Text; public class Options { [Option('s', "size", DefaultValue = "8x8", HelpText = "Set the size of the output map.")] public string Size { g...
1fbc47f75857140072163b960ce0392d3f0e1910
SnappyMap/CommandLine/Options.cs
SnappyMap/CommandLine/Options.cs
C#
<|file_sep|>original/ui-v2/app/validations/kv.js import { validatePresence, validateLength } from 'ember-changeset-validations/validators'; export default { Key: [validatePresence(true), validateLength({ min: 1 })], Value: validatePresence(true), }; <|file_sep|>current/ui-v2/app/validations/kv.js import { validateP...
import { validatePresence, validateLength } from 'ember-changeset-validations/validators'; export default { Key: [validatePresence(true), validateLength({ min: 1 })], };
<|file_sep|>original/ui-v2/app/validations/kv.js import { validatePresence, validateLength } from 'ember-changeset-validations/validators'; export default { Key: [validatePresence(true), validateLength({ min: 1 })], Value: validatePresence(true), }; <|file_sep|>current/ui-v2/app/validations/kv.js import { validateP...
6a407a044e48c6c83fa7572d5c23c46b09738d0f
ui-v2/app/validations/kv.js
ui-v2/app/validations/kv.js
JavaScript
<|file_sep|>src/AppBundle/Tests/Security/UserTest.php.diff original: $this->user->set('eduPPN', null); updated: $this->user->set('nameId', null); <|file_sep|>src/AppBundle/Tests/Security/UserTest.php.diff original: $this->user->set('eduPPN', 'phpunit'); updated: $this->user->set('nameId'...
} public function testLogin() { $this->user->set('nameId', null); $this->assertFalse($this->user->isLoggedIn()); $this->user->set('nameId', 'phpunit'); $this->assertTrue($this->user->isLoggedIn()); } public function testUid() { $this->assertEquals( ...
<|file_sep|>src/AppBundle/Tests/Security/UserTest.php.diff original: $this->user->set('eduPPN', null); updated: $this->user->set('nameId', null); <|file_sep|>src/AppBundle/Tests/Security/UserTest.php.diff original: $this->user->set('eduPPN', 'phpunit'); updated: $this->user->set('nameId'...
c9084c4ea1e01415ea7ee97585816a31b6acfa64
src/AppBundle/Tests/Security/UserTest.php
src/AppBundle/Tests/Security/UserTest.php
PHP
<|file_sep|>original/README.md fuzzy-octo-happiness ==================== <|file_sep|>current/README.md fuzzy-octo-happiness ==================== <|file_sep|>updated/README.md
fuzzy-octo-happiness ==================== Welcome to this fun experiment in helping those new to Octokit quickly find all the GitHub API methods they need to create new projects that change the world. How are we going to do it? We're going to make some magic that shows Octokit method names in the GitHub API docs that...
<|file_sep|>original/README.md fuzzy-octo-happiness ==================== <|file_sep|>current/README.md fuzzy-octo-happiness ==================== <|file_sep|>updated/README.md fuzzy-octo-happiness ==================== Welcome to this fun experiment in helping those new to Octokit quickly find all the GitHub API methods...
b9c16f2d96f020ad8f3ff057774531cbfbebb18f
README.md
README.md
Markdown
<|file_sep|>README.asciidoc.diff original: Building ~~~~~~~~ updated: Building and Testing ~~~~~~~~~~~~~~~~~~~~ <|file_sep|>original/README.asciidoc * link:http://tinkerpop.com/docs/current/[user documentation] * link:http://tinkerpop.com/javadocs/current/[javadoc] Building ~~~~~~~~ * Build Project: `mvn clean instal...
* link:http://tinkerpop.com/docs/current/[user documentation] * link:http://tinkerpop.com/javadocs/current/[javadoc] Building and Testing ~~~~~~~~~~~~~~~~~~~~ * Build Project: `mvn clean install` * Build AsciiDocs: `mvn process-resources -Dasciidoc` * Deploy AsciiDocs: `mvn deploy -Dasciidoc` * Deploy JavaDocs: `mvn ...
<|file_sep|>README.asciidoc.diff original: Building ~~~~~~~~ updated: Building and Testing ~~~~~~~~~~~~~~~~~~~~ <|file_sep|>original/README.asciidoc * link:http://tinkerpop.com/docs/current/[user documentation] * link:http://tinkerpop.com/javadocs/current/[javadoc] Building ~~~~~~~~ * Build Project: `mvn clean instal...
598dd1d73bb429845249485bcc8dcba1f83501db
README.asciidoc
README.asciidoc
AsciiDoc
<|file_sep|>original/src/Util/Cursor.php * @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor left in the terminal x number of columns. * * @param int $cols * * @return string ...
* @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor down in the terminal x number of lines. * * @param int $lines * * @return string */ public function down($lines = 1) ...
<|file_sep|>original/src/Util/Cursor.php * @param int $lines * * @return string */ public function up($lines = 1) { return "\e[{$lines}A"; } /** * Move the cursor left in the terminal x number of columns. * * @param int $cols * * @return string ...
17eda1ffdbe09d41302462d7a177693827c2e966
src/Util/Cursor.php
src/Util/Cursor.php
PHP
<|file_sep|>original/plugins/webpresence/webpresenceprefs.ui.h <|file_sep|>current/plugins/webpresence/webpresenceprefs.ui.h <|file_sep|>updated/plugins/webpresence/webpresenceprefs.ui.h
/**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** ** If you wish to add, delete or rename functions or slots use ** Qt Designer which will update this file, preserving your code. Create an ** init() function in p...
<|file_sep|>original/plugins/webpresence/webpresenceprefs.ui.h <|file_sep|>current/plugins/webpresence/webpresenceprefs.ui.h <|file_sep|>updated/plugins/webpresence/webpresenceprefs.ui.h /**************************************************************************** ** ui.h extension file, included from the uic-generat...
35069f4960fce71e3d8052465ee90b70e6eb3b55
plugins/webpresence/webpresenceprefs.ui.h
plugins/webpresence/webpresenceprefs.ui.h
C
<|file_sep|>original/.travis.yml language: php php: - 5.5.9 - 5.5 - 5.6 - hhvm - nightly sudo: false install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;' - ba...
language: php php: - 5.5.9 - 5.5 - 5.6 - hhvm sudo: false install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;' - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]...
<|file_sep|>original/.travis.yml language: php php: - 5.5.9 - 5.5 - 5.6 - hhvm - nightly sudo: false install: travis_retry composer install --no-interaction --ignore-platform-reqs --no-scripts --prefer-source script: - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "hhvm" ]; then vendor/bin/phpunit; fi;' - ba...
c06019a554650b88709c1cc2650a178c73696ac4
.travis.yml
.travis.yml
YAML
<|file_sep|>original/python/opencv/opencv_2/videos/play_video_from_file.py <|file_sep|>current/python/opencv/opencv_2/videos/play_video_from_file.py <|file_sep|>updated/python/opencv/opencv_2/videos/play_video_from_file.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015 Jérémie DECOCK (http://www.jdhp.org) """ OpenCV - Play video: play videos from files Required: opencv library (Debian: aptitude install python-opencv) See: https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_gui/py_video_display...
<|file_sep|>original/python/opencv/opencv_2/videos/play_video_from_file.py <|file_sep|>current/python/opencv/opencv_2/videos/play_video_from_file.py <|file_sep|>updated/python/opencv/opencv_2/videos/play_video_from_file.py #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2015 Jérémie DECOCK (http://www....
d9302fab69d16f556adf27248c0fa7f7d12dc2ec
python/opencv/opencv_2/videos/play_video_from_file.py
python/opencv/opencv_2/videos/play_video_from_file.py
Python
<|file_sep|>programoutput/tox.ini.diff original: mock pytest updated: sphinx>=1.0.7 mock>=0.7 pytest>=2.0 <|file_sep|>original/programoutput/tox.ini [tox] envlist=py27,doc [testenv] deps= mock pytest sphinxcontrib-ansi commands= py.test --junitxml={envlogdir}/tests.xml [] [testenv:...
[tox] envlist=py27,doc [testenv] deps= sphinx>=1.0.7 mock>=0.7 pytest>=2.0 sphinxcontrib-ansi commands= py.test --junitxml={envlogdir}/tests.xml [] [testenv:doc] deps= sphinx>=1.0.7 commands= sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees doc {envtmpdir}/linkcheck sphinx-build -W...
<|file_sep|>programoutput/tox.ini.diff original: mock pytest updated: sphinx>=1.0.7 mock>=0.7 pytest>=2.0 <|file_sep|>original/programoutput/tox.ini [tox] envlist=py27,doc [testenv] deps= mock pytest sphinxcontrib-ansi commands= py.test --junitxml={envlogdir}/tests.xml [] [testenv:...
5ea71be68508e44b9345a93a102f53dcb236592f
programoutput/tox.ini
programoutput/tox.ini
INI
<|file_sep|>original/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java <|file_sep|>current/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java <|file_sep|>updated/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java
package fitnesse.testsystems.slim.result; import fitnesse.testsystems.slim.results.SlimExceptionResult; import org.junit.Test; import static org.junit.Assert.*; public class SlimExceptionResultTest { @Test public void otherExceptionRecognized() { SlimExceptionResult result = new SlimExceptionResult("key", "m...
<|file_sep|>original/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java <|file_sep|>current/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java <|file_sep|>updated/test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java package fitnesse.testsystems.slim.result; import fitnes...
dc6687b79431b7fabd369505a62880913e1834cf
test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java
test/fitnesse/testsystems/slim/result/SlimExceptionResultTest.java
Java
<|file_sep|>docs/tutorials/not-found-page.md.diff original: import {Middleware, Res} from "@tsed/common"; import * as Express from "express"; updated: import {Middleware, Res, Next} from "@tsed/common"; <|file_sep|>docs/tutorials/not-found-page.md.diff original: use( @Res() response: Express.Response ) { update...
``` Then register your middleware on the `$afterRoutesInit` in your Server: ```typescript import {Inject} from "@tsed/di"; import {Configuration, PlatformApplication} from "@tsed/common"; import {NotFoundMiddleware} from "./middlewares/NotFoundMiddleware"; @Configuration({ // ... }) export class Server { @Inject...
<|file_sep|>docs/tutorials/not-found-page.md.diff original: import {Middleware, Res} from "@tsed/common"; import * as Express from "express"; updated: import {Middleware, Res, Next} from "@tsed/common"; <|file_sep|>docs/tutorials/not-found-page.md.diff original: use( @Res() response: Express.Response ) { update...
0fcbf729c31c203c0324569da037a07085dd4c6d
docs/tutorials/not-found-page.md
docs/tutorials/not-found-page.md
Markdown
<|file_sep|>original/source/Initialization/CMakeLists.txt add_lldb_library(lldbInitialization SystemInitializerCommon.cpp SystemInitializer.cpp SystemLifetimeManager.cpp LINK_LIBS lldbCore lldbHost lldbPluginInstructionARM lldbPluginInstructionMIPS lldbPluginInstructionMIPS64 lldbPlugi...
endif () add_lldb_library(lldbInitialization SystemInitializerCommon.cpp SystemInitializer.cpp SystemLifetimeManager.cpp LINK_LIBS lldbCore lldbHost lldbPluginInstructionARM lldbPluginInstructionMIPS lldbPluginInstructionMIPS64 lldbPluginObjectContainerBSDArchive lldbPluginObjectCo...
<|file_sep|>original/source/Initialization/CMakeLists.txt add_lldb_library(lldbInitialization SystemInitializerCommon.cpp SystemInitializer.cpp SystemLifetimeManager.cpp LINK_LIBS lldbCore lldbHost lldbPluginInstructionARM lldbPluginInstructionMIPS lldbPluginInstructionMIPS64 lldbPlugi...
94f5768fc8a2b92263ce10438edb533fc9e99950
source/Initialization/CMakeLists.txt
source/Initialization/CMakeLists.txt
Text
<|file_sep|>original/lib/ext/patch-ember-app.js emberApp.addonPreconcatTree = addonPreconcatTree; // Install patched `concatFiles` method. This checks options passed to it // and, if it detects that it's a concat for the app tree, invokes our // preconcat hook. Afterwards, we invoke the original implementation...
emberApp.addonPreconcatTree = addonPreconcatTree; // Install patched `concatFiles` method. This checks options passed to it // and, if it detects that it's a concat for the app tree, invokes our // preconcat hook. Afterwards, we invoke the original implementation to // return a tree concating the files. em...
<|file_sep|>original/lib/ext/patch-ember-app.js emberApp.addonPreconcatTree = addonPreconcatTree; // Install patched `concatFiles` method. This checks options passed to it // and, if it detects that it's a concat for the app tree, invokes our // preconcat hook. Afterwards, we invoke the original implementation...
c4e58fda577b4f7f9165a788df9204d2646d26a3
lib/ext/patch-ember-app.js
lib/ext/patch-ember-app.js
JavaScript
<|file_sep|>original/.travis.yml - 1.9.3 services: - postgresql notifications: recipients: - jari@holderdeord.no irc: channels: - "irc.freenode.net#holderdeord" on_success: change on_failure: change template: - "%{author} | %{commit} | %{message} | %{build_url}" script: "RAILS_EN...
- 1.9.3 services: - postgresql notifications: recipients: - jari@holderdeord.no irc: channels: - "irc.freenode.net#holderdeord" on_success: change on_failure: change template: - "%{author} | %{commit} | %{message} | %{build_url}" script: "RAILS_ENV=test SPEC_OPTS=--backtrace bund...
<|file_sep|>original/.travis.yml - 1.9.3 services: - postgresql notifications: recipients: - jari@holderdeord.no irc: channels: - "irc.freenode.net#holderdeord" on_success: change on_failure: change template: - "%{author} | %{commit} | %{message} | %{build_url}" script: "RAILS_EN...
507a3235767425460075900ca6ff6c0251ff00aa
.travis.yml
.travis.yml
YAML
<|file_sep|>original/capistrano-hipchat.gemspec Gem::Specification.new do |spec| spec.name = "capistrano-hipchat" spec.version = Capistrano::Hipchat::VERSION spec.authors = ["Restorando"] spec.email = ["dev@restorando.com"] spec.description = %q{Notify to hipchat about deployme...
Gem::Specification.new do |spec| spec.name = "capistrano-hipchat" spec.version = Capistrano::Hipchat::VERSION spec.authors = ["Restorando"] spec.email = ["dev@restorando.com"] spec.description = %q{Notify to hipchat about deployments} spec.summary = %Q{Notifies in a hip...
<|file_sep|>original/capistrano-hipchat.gemspec Gem::Specification.new do |spec| spec.name = "capistrano-hipchat" spec.version = Capistrano::Hipchat::VERSION spec.authors = ["Restorando"] spec.email = ["dev@restorando.com"] spec.description = %q{Notify to hipchat about deployme...
a141b9f7c0719d155474dbf7c269928a46dd196a
capistrano-hipchat.gemspec
capistrano-hipchat.gemspec
Ruby
<|file_sep|>README.rst.diff original: Construct tables for rich display in IPython updated: Construct tables for rich display in IPython that will also render in LaTeX. <|file_sep|>original/README.rst Construct tables for rich display in IPython For usage details, see `the example notebook <http://nbviewer.ipython.org...
Construct tables for rich display in IPython that will also render in LaTeX. For usage details, see `the example notebook <http://nbviewer.ipython.org/github/takluyver/ipytables/blob/master/IPyTables.ipynb>`_ and its `rendered LaTeX output <https://github.com/takluyver/ipytables/raw/master/IPyTables.pdf>`_.
<|file_sep|>README.rst.diff original: Construct tables for rich display in IPython updated: Construct tables for rich display in IPython that will also render in LaTeX. <|file_sep|>original/README.rst Construct tables for rich display in IPython For usage details, see `the example notebook <http://nbviewer.ipython.org...
d501551ed31ba50480821ef48e5d8eb849657698
README.rst
README.rst
reStructuredText
<|file_sep|>original/test/msan/backtrace.cc #include <string.h> #include <stdlib.h> __attribute__((noinline)) void f() { void *buf[10]; int sz = backtrace(buf, sizeof(buf) / sizeof(*buf)); assert(sz > 0); for (int i = 0; i < sz; ++i) if (!buf[i]) exit(1); char **s = backtrace_symbols(buf, sz); as...
#include <string.h> #include <stdlib.h> __attribute__((noinline)) void f() { void *buf[10]; int sz = backtrace(buf, sizeof(buf) / sizeof(*buf)); assert(sz > 0); for (int i = 0; i < sz; ++i) if (!buf[i]) exit(1); char **s = backtrace_symbols(buf, sz); assert(s != 0); for (int i = 0; i < sz; ++i)...
<|file_sep|>original/test/msan/backtrace.cc #include <string.h> #include <stdlib.h> __attribute__((noinline)) void f() { void *buf[10]; int sz = backtrace(buf, sizeof(buf) / sizeof(*buf)); assert(sz > 0); for (int i = 0; i < sz; ++i) if (!buf[i]) exit(1); char **s = backtrace_symbols(buf, sz); as...
62ece795ecafcc14b44d595c0f8a5f668f59adb9
test/msan/backtrace.cc
test/msan/backtrace.cc
C++
<|file_sep|>original/Form/Type/UploadedFileType.php <?php namespace Admingenerator\GeneratorBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class UploadedFileType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $opt...
<?php namespace Admingenerator\GeneratorBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class UploadedFileType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('name', 'hidden');...
<|file_sep|>original/Form/Type/UploadedFileType.php <?php namespace Admingenerator\GeneratorBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class UploadedFileType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $opt...
34ee3bd1722e4d6a88eaed6027eea5cbcfe93c9d
Form/Type/UploadedFileType.php
Form/Type/UploadedFileType.php
PHP
<|file_sep|>original/.travis.yml curl -O https://bootstrap.pypa.io/get-pip.py; python get-pip.py --user; python -m pip install --user virtualenv; python -m virtualenv .venv/; source .venv/bin/activate; fi - pip install -r requirements.txt - pip install -r dev-requirements.txt - p...
python get-pip.py --user; python -m pip install --user virtualenv; python -m virtualenv .venv/; source .venv/bin/activate; fi - pip install -r requirements.txt - pip install -r dev-requirements.txt - pip install codacy-coverage script: - make check - make dist - unzip dist/psaut...
<|file_sep|>original/.travis.yml curl -O https://bootstrap.pypa.io/get-pip.py; python get-pip.py --user; python -m pip install --user virtualenv; python -m virtualenv .venv/; source .venv/bin/activate; fi - pip install -r requirements.txt - pip install -r dev-requirements.txt - p...
a528ebf4fe34ae11e987947e7d0ef16af7f4f8ea
.travis.yml
.travis.yml
YAML
<|file_sep|>locales/it/encrypt.properties.diff original: updated: join_mozilla=Collabora con Mozilla update_my_info=Aggiorna i miei dati signup_header_variant_a=Diventa un paladino della crittografia <|file_sep|>locales/it/encrypt.properties.diff original: updated: share_message=Ci serve il tuo aiuto per far sapere a...
join_mozilla=Collabora con Mozilla update_my_info=Aggiorna i miei dati signup_header_variant_a=Diventa un paladino della crittografia join_the_convo=Partecipa alla discussione become_champ=Diventa un paladino della crittografia share_this_now=Condividi subito share_message=Ci serve il tuo aiuto per far sapere a tutti c...
<|file_sep|>locales/it/encrypt.properties.diff original: updated: join_mozilla=Collabora con Mozilla update_my_info=Aggiorna i miei dati signup_header_variant_a=Diventa un paladino della crittografia <|file_sep|>locales/it/encrypt.properties.diff original: updated: share_message=Ci serve il tuo aiuto per far sapere a...
5f47b12ba69590280e6929a524757566d514f036
locales/it/encrypt.properties
locales/it/encrypt.properties
INI
<|file_sep|>docker/docker-compose.yml.diff original: updated: - "./jenkins_home:/var/jenkins_home:z" <|file_sep|>original/docker/docker-compose.yml dockerfile: Dockerfile-jenkins args: # Change this to match the host user, same as hubdrop container. NEW_UID: 1000 ports: - "8080:...
dockerfile: Dockerfile-jenkins args: # Change this to match the host user, same as hubdrop container. NEW_UID: 1000 ports: - "8080:8080" - "50000:50000" volumes: - "./hubdrop_home:/var/hubdrop:z" # - "./repos/:/var/hubdrop/repos:Z" - "./jenkins_home:/var/jenkins_ho...
<|file_sep|>docker/docker-compose.yml.diff original: updated: - "./jenkins_home:/var/jenkins_home:z" <|file_sep|>original/docker/docker-compose.yml dockerfile: Dockerfile-jenkins args: # Change this to match the host user, same as hubdrop container. NEW_UID: 1000 ports: - "8080:...
8a1ca8a64c59cdea72087ae898ef956b28ea23ed
docker/docker-compose.yml
docker/docker-compose.yml
YAML
<|file_sep|>packages/di/ditto.yaml.diff original: hash: e4549b1445956252500a7bbb955c42cb97721d8fad51888ce0f390a4ff7de835 updated: hash: 998319807b08bd673b241c88aafd047ca3bf21a9b4a9132d29af742c046d9759 <|file_sep|>packages/di/ditto.yaml.diff original: updated: - 0.1.3.0 <|file_sep|>original/packages/di/ditto.yaml basic...
base: ! '>=4 && <5' text: ! '>=0.11 && <1.3' semigroups: ! '>=0.16 && <0.20' containers: ! '>=0.4 && <0.7' mtl: ! '>=2.0 && <2.3' all-versions: - 0.0.1.0 - 0.0.1.1 - 0.1.0.0 - 0.1.1.0 - 0.1.2.0 - 0.1.3.0 author: Jeremy Shaw, Jasper Van der Jeugt <m@jaspervdj.be> latest: 0.1.3.0 description-type: haddock descr...
<|file_sep|>packages/di/ditto.yaml.diff original: hash: e4549b1445956252500a7bbb955c42cb97721d8fad51888ce0f390a4ff7de835 updated: hash: 998319807b08bd673b241c88aafd047ca3bf21a9b4a9132d29af742c046d9759 <|file_sep|>packages/di/ditto.yaml.diff original: updated: - 0.1.3.0 <|file_sep|>original/packages/di/ditto.yaml basic...
fedecc19a6c3ef94f6351a8af1999497f53e0320
packages/di/ditto.yaml
packages/di/ditto.yaml
YAML
<|file_sep|>original/clic/web/fixtures.py <|file_sep|>current/clic/web/fixtures.py <|file_sep|>updated/clic/web/fixtures.py
import os from models import db, Subset # importing from admin rather than db, because it needs app context from admin import app if __name__ == '__main__': # http://stackoverflow.com/a/19008403/2115409 db.init_app(app) with app.app_context(): # Extensions like Flask-SQLAlchemy now know what t...
<|file_sep|>original/clic/web/fixtures.py <|file_sep|>current/clic/web/fixtures.py <|file_sep|>updated/clic/web/fixtures.py import os from models import db, Subset # importing from admin rather than db, because it needs app context from admin import app if __name__ == '__main__': # http://stackoverflow.com/a/...
1b39f2427a1ba777968908344836fd597bcea428
clic/web/fixtures.py
clic/web/fixtures.py
Python
<|file_sep|>original/lib/mathjax.html <script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], processEscapes: true } }); MathJax.H...
<script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], processEscapes: true } }); MathJax.Hub.Queue(function() { var all ...
<|file_sep|>original/lib/mathjax.html <script type="text/x-mathjax-config"> MathJax.Hub.Config({ tex2jax: { inlineMath: [ ["$","$"], ["\\(","\\)"] ], skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], processEscapes: true } }); MathJax.H...
6151cad192959386f762ad8b21cef52c245b993a
lib/mathjax.html
lib/mathjax.html
HTML
<|file_sep|>original/.travis.yml - 1.4 - release - tip install: - go get github.com/go-sql-driver/mysql - go get github.com/cenkalti/backoff - go get github.com/joho/godotenv - go get github.com/codegangsta/cli - go get github.com/DATA-DOG/go-sqlmock - go get github.com/onsi/ginkgo - go get github.c...
- release - tip install: - go get github.com/go-sql-driver/mysql - go get github.com/cenkalti/backoff - go get github.com/joho/godotenv - go get github.com/codegangsta/cli - go get github.com/DATA-DOG/go-sqlmock - go get github.com/onsi/ginkgo - go get github.com/onsi/ginkgo/ginkgo - go get github.c...
<|file_sep|>original/.travis.yml - 1.4 - release - tip install: - go get github.com/go-sql-driver/mysql - go get github.com/cenkalti/backoff - go get github.com/joho/godotenv - go get github.com/codegangsta/cli - go get github.com/DATA-DOG/go-sqlmock - go get github.com/onsi/ginkgo - go get github.c...
2c1e27c728d78e5c23e3cdd9196958d995958631
.travis.yml
.travis.yml
YAML
<|file_sep|>original/subprojects/files/files.gradle.kts api(library("guava")) api(library("jsr305")) api(library("inject")) implementation(project(":logging")) implementation(project(":native")) implementation(library("commons_io")) implementation(library("commons_lang")) testImplement...
api(library("guava")) api(library("jsr305")) api(library("inject")) implementation(project(":logging")) implementation(project(":native")) implementation(library("commons_io")) implementation(library("commons_lang")) testImplementation(project(":internalTesting")) testFixturesImple...
<|file_sep|>original/subprojects/files/files.gradle.kts api(library("guava")) api(library("jsr305")) api(library("inject")) implementation(project(":logging")) implementation(project(":native")) implementation(library("commons_io")) implementation(library("commons_lang")) testImplement...
fde3eca847096c8255d0a582fa662285c9ef231b
subprojects/files/files.gradle.kts
subprojects/files/files.gradle.kts
Kotlin
<|file_sep|>original/.github/workflows/ci.yml name: CI on: [push, pull_request] jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Build and Test run: pwsh ./build.ps1 <|file_sep|>current/.github/workflows/ci.yml name: CI on: [push, pull_request] job...
name: CI on: [push, pull_request] jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Build and Test run: pwsh ./build.ps1
<|file_sep|>original/.github/workflows/ci.yml name: CI on: [push, pull_request] jobs: ci: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Build and Test run: pwsh ./build.ps1 <|file_sep|>current/.github/workflows/ci.yml name: CI on: [push, pull_request] job...
a377e592d57eb9077ff7732d86d959bf73e79fc5
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/testing/lib/refinery/testing.rb require 'refinerycms-core' require 'rspec-rails' require 'factory_girl_rails' module Refinery autoload :TestingGenerator, 'generators/refinery/testing/testing_generator' module Testing class << self def root @root ||= Pathname.new(File.expand_...
require 'refinerycms-core' require 'rspec-rails' require 'factory_girl' module Refinery autoload :TestingGenerator, 'generators/refinery/testing/testing_generator' module Testing class << self def root @root ||= Pathname.new(File.expand_path('../../../', __FILE__)) end # Load the fa...
<|file_sep|>original/testing/lib/refinery/testing.rb require 'refinerycms-core' require 'rspec-rails' require 'factory_girl_rails' module Refinery autoload :TestingGenerator, 'generators/refinery/testing/testing_generator' module Testing class << self def root @root ||= Pathname.new(File.expand_...
3ce3fb08662f73b9bac257b6012a0c1e76682e7e
testing/lib/refinery/testing.rb
testing/lib/refinery/testing.rb
Ruby
<|file_sep|>original/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb <|file_sep|>current/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb <|file_sep|>updated/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb
require 'umakadata/my_sparql_client' require 'umakadata/logging/sparql_log' module Umakadata module SparqlHelper def prepare(uri) @client = Umakadata::MySparqlClient.new(uri, {'read_timeout': 5 * 60}) if @uri == uri && @client == nil @uri = uri end def set_client(client) @client = cli...
<|file_sep|>original/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb <|file_sep|>current/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb <|file_sep|>updated/web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb require 'umakadata/my_sparql_client' require 'umakadata/logging/sparql_log' module Umaka...
701b7547e577f7b420a09b8ce29ad62ad2a29cc1
web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb
web/lib/assets/umakadata/lib/umakadata/sparql_helper.rb
Ruby
<|file_sep|>astropy/table/_column_mixins.pyx.diff original: cimport numpy as cnp updated: <|file_sep|>astropy/table/_column_mixins.pyx.diff original: ndarray = np.ndarray ctypedef cnp.ndarray ndarray_t updated: cdef extern from "numpy/arrayobject.h": ctypedef class numpy.ndarray [object PyArrayObject]: cde...
ctypedef class numpy.ndarray [object PyArrayObject]: cdef int ndim "nd" cdef class _ColumnGetitemShim: def __getitem__(self, item): if (<ndarray>self).ndim > 1 and isinstance(item, INTEGER_TYPES): return self.data[item] else: return (<PyTypeObject *>ndarray).tp_...
<|file_sep|>astropy/table/_column_mixins.pyx.diff original: cimport numpy as cnp updated: <|file_sep|>astropy/table/_column_mixins.pyx.diff original: ndarray = np.ndarray ctypedef cnp.ndarray ndarray_t updated: cdef extern from "numpy/arrayobject.h": ctypedef class numpy.ndarray [object PyArrayObject]: cde...
37014a98700167001b14f1aa83f7e24b8ca1b6c9
astropy/table/_column_mixins.pyx
astropy/table/_column_mixins.pyx
Cython
<|file_sep|>original/config/application.rb # -- all .rb files in that directory are automatically loaded. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_z...
# -- all .rb files in that directory are automatically loaded. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_zone = 'Central Time (US & Canada)' # T...
<|file_sep|>original/config/application.rb # -- all .rb files in that directory are automatically loaded. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. # config.time_z...
78eee7f3706ca08731810b26d7579449d57d16ae
config/application.rb
config/application.rb
Ruby
<|file_sep|>lib/quill/builder/html.rb.diff original: attrs << 'font-weight: bold;' updated: attrs << ['<b>', '</b>'] <|file_sep|>lib/quill/builder/html.rb.diff original: attrs << 'font-style: italic;' updated: attrs << ['<i>', '</i>'] <|file_sep|>lib/quill/builder/html.rb...
item['attributes'].each_pair do |key, value| case key when 'bold' attrs << ['<b>', '</b>'] when 'italic' attrs << ['<i>', '</i>'] when 'color' attrs << [%Q|<span style="color: #{value}">|, '</span>'] end end end ...
<|file_sep|>lib/quill/builder/html.rb.diff original: attrs << 'font-weight: bold;' updated: attrs << ['<b>', '</b>'] <|file_sep|>lib/quill/builder/html.rb.diff original: attrs << 'font-style: italic;' updated: attrs << ['<i>', '</i>'] <|file_sep|>lib/quill/builder/html.rb...
7fcf3536c10d8f604b1db4aea1fa1992c52e8ccc
lib/quill/builder/html.rb
lib/quill/builder/html.rb
Ruby
<|file_sep|>bash_profile.sh.diff original: if [ -f /etc/bashrc ]; then . /etc/bashrc fi # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin"...
fi # Looks best on a terminal with black background..... echo -e "Welcome $USER... We've been expecting you!" date # Print awesomeness if which fortune >/dev/null; then echo -en '\033[0;36m' fortune -a -s | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf | head -n1) echo -en '\033[0;37m' fi # if r...
<|file_sep|>bash_profile.sh.diff original: if [ -f /etc/bashrc ]; then . /etc/bashrc fi # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin"...
0950221f46005504892a513458b460911675125d
bash_profile.sh
bash_profile.sh
Shell
<|file_sep|>src/http/responsedata.h.diff original: updated: #include <unordered_map> #include "statuscodes.h" <|file_sep|>original/src/http/responsedata.h #ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> namespace ApiMock { struct ResponseData { std::string body; }; } #endif <|fil...
#ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> #include <unordered_map> #include "statuscodes.h" namespace ApiMock { struct ResponseData { std::string body; std::unordered_map<std::string, std::string> headers; HTTP_RESPONSE_CODE statusCode; }; } #endif
<|file_sep|>src/http/responsedata.h.diff original: updated: #include <unordered_map> #include "statuscodes.h" <|file_sep|>original/src/http/responsedata.h #ifndef APIMOCK_RESPONSEDATA_H #define APIMOCK_RESPONSEDATA_H #include <string> namespace ApiMock { struct ResponseData { std::string body; }; } #endif <|fil...
8cb37afde89b4c89079f579f3532792d7dd5ff67
src/http/responsedata.h
src/http/responsedata.h
C
<|file_sep|>original/pylearn2/utils/doc.py <|file_sep|>current/pylearn2/utils/doc.py <|file_sep|>updated/pylearn2/utils/doc.py
""" Documentation-related helper classes/functions """ class soft_wraps: """ A Python decorator which concatenates two functions' docstrings: one function is defined at initialization and the other one is defined when soft_wraps is called. This helps reduce the ammount of documentation to write: ...
<|file_sep|>original/pylearn2/utils/doc.py <|file_sep|>current/pylearn2/utils/doc.py <|file_sep|>updated/pylearn2/utils/doc.py """ Documentation-related helper classes/functions """ class soft_wraps: """ A Python decorator which concatenates two functions' docstrings: one function is defined at initiali...
48857638694ceca08c64d7b9c6825e2178c53279
pylearn2/utils/doc.py
pylearn2/utils/doc.py
Python
<|file_sep|>original/metadata/com.tananaev.passportreader.yml RepoType: git Repo: https://github.com/tananaev/passport-reader Builds: - versionName: '2.1' versionCode: 16 commit: v2.1 subdir: app gradle: - yes scanignore: - app/src/main/assets/masterList ndk: r21d MaintainerNotes...
RepoType: git Repo: https://github.com/tananaev/passport-reader Builds: - versionName: '2.1' versionCode: 16 commit: v2.1 subdir: app gradle: - yes scanignore: - app/src/main/assets/masterList ndk: r21d MaintainerNotes: masterList is a bundle of x509 certificates the scanner othe...
<|file_sep|>original/metadata/com.tananaev.passportreader.yml RepoType: git Repo: https://github.com/tananaev/passport-reader Builds: - versionName: '2.1' versionCode: 16 commit: v2.1 subdir: app gradle: - yes scanignore: - app/src/main/assets/masterList ndk: r21d MaintainerNotes...
15f2d4cc080d29e4fea836ff10787dc2105c51bd
metadata/com.tananaev.passportreader.yml
metadata/com.tananaev.passportreader.yml
YAML
<|file_sep|>original/HACKING.txt <|file_sep|>current/HACKING.txt <|file_sep|>updated/HACKING.txt
---------------------------------------------------------------------- BUILD FOR TIZEN To build a deployable Tizen package, you will need Linux, node and grunt. Once these are installed, follow these steps: 1. Install build-time dependencies with: npm install . 2. Create the package by running: grunt pkg The package...
<|file_sep|>original/HACKING.txt <|file_sep|>current/HACKING.txt <|file_sep|>updated/HACKING.txt ---------------------------------------------------------------------- BUILD FOR TIZEN To build a deployable Tizen package, you will need Linux, node and grunt. Once these are installed, follow these steps: 1. Install b...
d4cc3c1b10a43d10d3bf1679a50880c5a68e568f
HACKING.txt
HACKING.txt
Text
<|file_sep|>original/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md <|file_sep|>current/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md <|file_sep|>updated/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md
--- layout: post title: "A Faster Test Workflow for Haskell" date: 2016-04-19 07:00 +0200 categories: Programming tags: ["haskell", "tools"] --- The amount of tests in Oden has been increasing steadily since the beginning of this compiler iteration. I like to have tests run automatically when both library and test ...
<|file_sep|>original/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md <|file_sep|>current/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md <|file_sep|>updated/_posts/2016-04-19-a-faster-test-workflow-for-haskell.md --- layout: post title: "A Faster Test Workflow for Haskell" date: 2016-04-19 07:00 +0...
508f1236d1371cfe3fbc416900d0925ef1b0bee3
_posts/2016-04-19-a-faster-test-workflow-for-haskell.md
_posts/2016-04-19-a-faster-test-workflow-for-haskell.md
Markdown
<|file_sep|>original/test.js var Office365ConnectorHook = require("./index.js"), winston = require('winston'); var Logger = winston.Logger; var Console = winston.transports.Console; var logger = new Logger({ transports: [ new Console({}), new Office365ConnectorHook({ hookUrl: 'http...
var Office365ConnectorHook = require("./index.js"), winston = require('winston'); var Logger = winston.Logger; var Console = winston.transports.Console; var logger = new Logger({ transports: [ new Console({}), new Office365ConnectorHook({ hookUrl: 'https://outlook.office.com/webhoo...
<|file_sep|>original/test.js var Office365ConnectorHook = require("./index.js"), winston = require('winston'); var Logger = winston.Logger; var Console = winston.transports.Console; var logger = new Logger({ transports: [ new Console({}), new Office365ConnectorHook({ hookUrl: 'http...
47974a7c853f940a4113b379b73b4cc9ab34e83e
test.js
test.js
JavaScript
<|file_sep|>original/src/Neblion/ScrumBundle/Entity/FeatureRepository.php */ class FeatureRepository extends EntityRepository { public function load($id) { return $this->getEntityManager() ->createQuery( 'SELECT f, p, s FROM NeblionScrumBundle:Fea...
*/ class FeatureRepository extends EntityRepository { public function load($id) { return $this->getEntityManager() ->createQuery( 'SELECT f, p, s FROM NeblionScrumBundle:Feature f INNER JOIN f.project p LEFT...
<|file_sep|>original/src/Neblion/ScrumBundle/Entity/FeatureRepository.php */ class FeatureRepository extends EntityRepository { public function load($id) { return $this->getEntityManager() ->createQuery( 'SELECT f, p, s FROM NeblionScrumBundle:Fea...
0b4b2abab82a9f61b69dd42439420d977e4fb4a3
src/Neblion/ScrumBundle/Entity/FeatureRepository.php
src/Neblion/ScrumBundle/Entity/FeatureRepository.php
PHP
<|file_sep|>original/composer.json "homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.2", "sylius/registry": "^1.2", "...
"homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.2", "sylius/registry": "^1.6", "sylius/resource": "^1.0" }, ...
<|file_sep|>original/composer.json "homepage": "http://sylius.com" }, { "name": "Community contributions", "homepage": "http://github.com/Sylius/Sylius/contributors" } ], "require": { "php": "^7.2", "sylius/registry": "^1.2", "...
e8c0fb49d662a6f7e856dda3f3b9a5eab9c68217
composer.json
composer.json
JSON
<|file_sep|>DefineOptions.cmake.diff original: updated: if(WITH_BENCHMARKS) set(WITH_TESTING ON) endif(WITH_BENCHMARKS) <|file_sep|>original/DefineOptions.cmake option(WITH_LIBZ "Build with ZLIB support" ON) option(WITH_SSH1 "Build with SSH1 support" OFF) option(WITH_SFTP "Build with SFTP support" ON) option(WITH_...
option(WITH_LIBZ "Build with ZLIB support" ON) option(WITH_SSH1 "Build with SSH1 support" OFF) option(WITH_SFTP "Build with SFTP support" ON) option(WITH_SERVER "Build with SSH server support" ON) option(WITH_STATIC_LIB "Build with a static library" OFF) option(WITH_DEBUG_CRYPTO "Build with cryto debug output" OFF) opt...
<|file_sep|>DefineOptions.cmake.diff original: updated: if(WITH_BENCHMARKS) set(WITH_TESTING ON) endif(WITH_BENCHMARKS) <|file_sep|>original/DefineOptions.cmake option(WITH_LIBZ "Build with ZLIB support" ON) option(WITH_SSH1 "Build with SSH1 support" OFF) option(WITH_SFTP "Build with SFTP support" ON) option(WITH_...
7dc183126ab53d0788d48066054a8282d63c0d17
DefineOptions.cmake
DefineOptions.cmake
CMake