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/stylesheets/components/optional/_search_box.scss // Styleguide Search @if $include-search-box { .search-box { position: relative; margin: 0 auto; width: 100%; } input.search-box__input { @extend %font-heading-medium; width: 100%; height: $baseline-unit*7; paddin...
// Styleguide Search @if $include-search-box { .search-box { position: relative; margin: 0 auto; width: 100%; } // using input to be more specific than base style which uses attribute selector input.search-box__input { @extend %font-heading-medium; width: 100%; height: $baseline-unit*...
<|file_sep|>original/stylesheets/components/optional/_search_box.scss // Styleguide Search @if $include-search-box { .search-box { position: relative; margin: 0 auto; width: 100%; } input.search-box__input { @extend %font-heading-medium; width: 100%; height: $baseline-unit*7; paddin...
77735f3107b635ada52333c05a4bcd6767980f94
stylesheets/components/optional/_search_box.scss
stylesheets/components/optional/_search_box.scss
SCSS
<|file_sep|>original/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java
package info.u_team.u_team_core.util; import java.io.*; import java.nio.file.*; import java.util.function.Function; import com.google.gson.Gson; import com.google.gson.stream.JsonWriter; public class ConfigUtil { public static <T> T loadConfig(Path directory, String name, Gson gson, Function<JsonWriter, T> write,...
<|file_sep|>original/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java <|file_sep|>current/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java <|file_sep|>updated/src/main/java/info/u_team/u_team_core/util/ConfigUtil.java package info.u_team.u_team_core.util; import java.io.*; import java.nio.file.*;...
b7803005cefda8eb2a12123c8fc26fde505a0b49
src/main/java/info/u_team/u_team_core/util/ConfigUtil.java
src/main/java/info/u_team/u_team_core/util/ConfigUtil.java
Java
<|file_sep|>shared/components/locale-select.jsx.diff original: updated: var currentLocale = this.props.currentLocale; if (Array.isArray(currentLocale)) { currentLocale = currentLocale[0]; } <|file_sep|>original/shared/components/locale-select.jsx export default React.createClass(...
}, render: function () { var currentLocale = this.props.currentLocale; if (Array.isArray(currentLocale)) { currentLocale = currentLocale[0]; } return ( <select className="locale-select" value={currentLocale} onChange={thi...
<|file_sep|>shared/components/locale-select.jsx.diff original: updated: var currentLocale = this.props.currentLocale; if (Array.isArray(currentLocale)) { currentLocale = currentLocale[0]; } <|file_sep|>original/shared/components/locale-select.jsx export default React.createClass(...
717931b1e78330362cb5e8e74157c9c7be67bbc1
shared/components/locale-select.jsx
shared/components/locale-select.jsx
JSX
<|file_sep|>lib/features/changelog/presentation/pages/changelog_page.dart.diff original: updated: import 'package:font_awesome_flutter/font_awesome_flutter.dart'; <|file_sep|>lib/features/changelog/presentation/pages/changelog_page.dart.diff original: updated: import '../../../donate/presentation/pages/donate_page.da...
const ChangelogPage({Key key}) : super(key: key); static const routeName = '/changelog'; @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Theme.of(context).backgroundColor, appBar: AppBar( title: const Text(LocaleKeys.changelog_page_title).tr(), ...
<|file_sep|>lib/features/changelog/presentation/pages/changelog_page.dart.diff original: updated: import 'package:font_awesome_flutter/font_awesome_flutter.dart'; <|file_sep|>lib/features/changelog/presentation/pages/changelog_page.dart.diff original: updated: import '../../../donate/presentation/pages/donate_page.da...
3e6769999d3e7494708b45e8bed9b5b789ead0e0
lib/features/changelog/presentation/pages/changelog_page.dart
lib/features/changelog/presentation/pages/changelog_page.dart
Dart
<|file_sep|>original/composer.json "license": "BSD-3-Clause", "require": { "php": ">=5.3.23", "zendframework/zend-config": "2.*", "zendframework/zend-eventmanager": "2.*", "zendframework/zend-loader": "2.*", "zendframework/zend-modulemanager": "2.*", "zendframewor...
"zendframework/zend-config": "2.*", "zendframework/zend-eventmanager": "2.*", "zendframework/zend-loader": "2.*", "zendframework/zend-modulemanager": "2.*", "zendframework/zend-mvc": "2.*", "zendframework/zend-servicemanager": "2.*", "zendframework/zend-stdlib": "...
<|file_sep|>original/composer.json "license": "BSD-3-Clause", "require": { "php": ">=5.3.23", "zendframework/zend-config": "2.*", "zendframework/zend-eventmanager": "2.*", "zendframework/zend-loader": "2.*", "zendframework/zend-modulemanager": "2.*", "zendframewor...
d95d6b9d00d30508463c948a00e05e4df9f0fed4
composer.json
composer.json
JSON
<|file_sep|>original/lib/swagger_docs_generator/parser/parser.rb private def controller_name @controller.controller_name end def tmp_json "#{@tag_name}.json" end def create_file puts "Create file : #{temporary_file}" FileUtils.touch(temporary_file) end end end ...
private def controller_name @controller.controller_name end def tmp_json "#{@tag_name}.json" end def create_file base_file = { paths: {}, tags: {}, definitions: {} } File.open(temporary_file, 'a+') { |file| file.puts(base_file.to_json) } end end end require 'sw...
<|file_sep|>original/lib/swagger_docs_generator/parser/parser.rb private def controller_name @controller.controller_name end def tmp_json "#{@tag_name}.json" end def create_file puts "Create file : #{temporary_file}" FileUtils.touch(temporary_file) end end end ...
0f4599fe2db693d9e8a23623467960cf2601d6a5
lib/swagger_docs_generator/parser/parser.rb
lib/swagger_docs_generator/parser/parser.rb
Ruby
<|file_sep|>original/src/site/storage.js function getPrefFast(path) { if (_fastPrefsReadyInvoked !== true) { throw new TypeError('initFastPrefs() call is requried'); } if (!_prefsCache.has(path)) { let ref = _prefs || {}; for (const key of path.split('.'...
function getPrefFast(path) { if (_fastPrefsReadyInvoked !== true) { throw new TypeError('initFastPrefs() call is requried'); } if (!_prefsCache.has(path)) { let ref = _prefs || {}; for (const key of path.split('.')) { ref = ref[key]; ...
<|file_sep|>original/src/site/storage.js function getPrefFast(path) { if (_fastPrefsReadyInvoked !== true) { throw new TypeError('initFastPrefs() call is requried'); } if (!_prefsCache.has(path)) { let ref = _prefs || {}; for (const key of path.split('.'...
a7ef9dc952a04218919497a43a76100afad35706
src/site/storage.js
src/site/storage.js
JavaScript
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4 pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Re...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4...
baa19fbcab9c0662cdf2362cda4f2506d54692ae
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>app/views/presets/index.html.erb.diff original: updated: <th>Channel</th> <th>Weight</th> <th>Events</th> <|file_sep|>app/views/presets/index.html.erb.diff original: updated: <% events = preset['events'].is_a?(Hash) ? preset['events'].keys.join(", ") : "" %> <|file_sep|>original/app/views/pr...
<th></th> <th></th> <th></th> </tr> <% @presets.each do |preset| %> <% precondition = preset['precondition'].is_a?(Hash) ? preset['precondition'].to_json : preset['precondition'] %> <% events = preset['events'].is_a?(Hash) ? preset['events'].keys.join(", ") : "" %> <tr> <td><%= preset['_id'] %>...
<|file_sep|>app/views/presets/index.html.erb.diff original: updated: <th>Channel</th> <th>Weight</th> <th>Events</th> <|file_sep|>app/views/presets/index.html.erb.diff original: updated: <% events = preset['events'].is_a?(Hash) ? preset['events'].keys.join(", ") : "" %> <|file_sep|>original/app/views/pr...
7481797b275740723345e8878e11ef773eac3f12
app/views/presets/index.html.erb
app/views/presets/index.html.erb
HTML+ERB
<|file_sep|>README.md.diff original: Remove CSS vendor prefixes from your source. updated: Remove CSS vendor prefixes from your source. This ensures that your prebuilt CSS is as terse and concise as possible. <|file_sep|>README.md.diff original: var postcssRemovePrefixes = require('postcss-remove-prefixes'); updated: v...
## Usage ```javascript var postcss = require('postcss') var removePrefixes = require('postcss-remove-prefixes') postcss([ removePrefixes() ]).process(myCss).css ``` ### Input ```css .flex { display: -webkit-flex; display: -moz-flex; display: flex; -webkit-flex: 1; flex: 1; } ```
<|file_sep|>README.md.diff original: Remove CSS vendor prefixes from your source. updated: Remove CSS vendor prefixes from your source. This ensures that your prebuilt CSS is as terse and concise as possible. <|file_sep|>README.md.diff original: var postcssRemovePrefixes = require('postcss-remove-prefixes'); updated: v...
8c1a6e70526ce249a385b461fee75ea6ce1a7f22
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt beautifulsoup4==4.4.1 bs4==0.0.1 colorama==0.3.7 configparser==3.5.0 subprocess32==3.2.7 urllib3==1.16 <|file_sep|>current/requirements.txt beautifulsoup4==4.4.1 bs4==0.0.1 colorama==0.3.7 configparser==3.5.0 subprocess32==3.2.7 urllib3==1.16 <|file_sep|>updated/requirements.txt
beautifulsoup4==4.4.1 bs4==0.0.1 colorama==0.3.7 configparser==3.5.0 subprocess32==3.2.7 urllib3==1.23
<|file_sep|>original/requirements.txt beautifulsoup4==4.4.1 bs4==0.0.1 colorama==0.3.7 configparser==3.5.0 subprocess32==3.2.7 urllib3==1.16 <|file_sep|>current/requirements.txt beautifulsoup4==4.4.1 bs4==0.0.1 colorama==0.3.7 configparser==3.5.0 subprocess32==3.2.7 urllib3==1.16 <|file_sep|>updated/requirements.txt be...
3102cd05831f1ce5cc429416c800eb41e2f9b7ef
requirements.txt
requirements.txt
Text
<|file_sep|>original/LICENSE.md Copyright (C) 2011 Blake Mizerany Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
Copyright (c) 2011-2013, 'pq' Contributors Portions Copyright (C) 2011 Blake Mizerany Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights t...
<|file_sep|>original/LICENSE.md Copyright (C) 2011 Blake Mizerany Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
01a9744f6d87bdf39113f43c74acf1b132676661
LICENSE.md
LICENSE.md
Markdown
<|file_sep|>original/requirements/base.txt django==1.10.5 ipython==5.0.0 raven==5.24.3 psycopg2==2.6.2 PyYAML==3.11 redis==2.10.5 certifi==2016.8.8 click==6.6 invoke==0.13.0 celery==3.1.23 djangorestframework==3.4.3 django-extensions==1.7.0 django-cors-headers==1.1.0 django-oauth-toolkit==0.10.0 django-basis==0.4.0 d...
django==1.10.5 ipython==5.1.0 raven==5.24.3 psycopg2==2.6.2 PyYAML==3.11 redis==2.10.5 certifi==2016.8.8 click==6.6 invoke==0.13.0 celery==3.1.23 djangorestframework==3.4.3 django-extensions==1.7.0 django-cors-headers==1.1.0 django-oauth-toolkit==0.10.0 django-basis==0.4.0 django-environ==0.4.0 django-redis==4.4.4 dj...
<|file_sep|>original/requirements/base.txt django==1.10.5 ipython==5.0.0 raven==5.24.3 psycopg2==2.6.2 PyYAML==3.11 redis==2.10.5 certifi==2016.8.8 click==6.6 invoke==0.13.0 celery==3.1.23 djangorestframework==3.4.3 django-extensions==1.7.0 django-cors-headers==1.1.0 django-oauth-toolkit==0.10.0 django-basis==0.4.0 d...
d4d4b43fb33fae569eae42c62f0da93605ace3ba
requirements/base.txt
requirements/base.txt
Text
<|file_sep|>test/kamo_test.js.diff original: updated: }); describe('.fromEventHandlerSetter', function () { it('creates a new Stream from an object and its setter', function (done) { var object = {}; kamo.Stream.fromEventHandlerSetter(object, 'eventHandlerName').subscribe(function (message) { ...
var index = 0; this.stream.subscribe(function (message) { assert.equal(index, 0); index++; }); this.stream.subscribe(function (message) { assert.equal(index, 1); index++; done(); }); this.stream.publish('message'); }); }); describe('#s...
<|file_sep|>test/kamo_test.js.diff original: updated: }); describe('.fromEventHandlerSetter', function () { it('creates a new Stream from an object and its setter', function (done) { var object = {}; kamo.Stream.fromEventHandlerSetter(object, 'eventHandlerName').subscribe(function (message) { ...
16394855e979a78b8d3f3705439005714dd35bd3
test/kamo_test.js
test/kamo_test.js
JavaScript
<|file_sep|>README.adoc.diff original: updated: == Building DbShadow uses Scala Build Tool (sbt) in order to build. Clone the repo and type .... $ sbt clean compile .... In order to package the system into a Java binary that's useful for somebody to use: .... $ sbt clean universal:packageZipTarball .... This will pr...
== ReleaseNotes 0.0.1 - Base code == Building DbShadow uses Scala Build Tool (sbt) in order to build. Clone the repo and type .... $ sbt clean compile .... In order to package the system into a Java binary that's useful for somebody to use: .... $ sbt clean universal:packageZipTarball .... This will produce a tarbal...
<|file_sep|>README.adoc.diff original: updated: == Building DbShadow uses Scala Build Tool (sbt) in order to build. Clone the repo and type .... $ sbt clean compile .... In order to package the system into a Java binary that's useful for somebody to use: .... $ sbt clean universal:packageZipTarball .... This will pr...
76b8742d77b52284247e1fafa372a066279254f0
README.adoc
README.adoc
AsciiDoc
<|file_sep|>original/lib/plugin/orm/revision.js "use strict"; const Table = require('./table'); class Revision extends Table { constructor(engine, relationship, name='revision', alias=null) { super(engine, relationship.name + '.' + name, alias); this.id = name; this.relationship = relationship; retu...
"use strict"; const Table = require('./table'); class Revision extends Table { constructor(engine, relationship, name='revision', alias=null) { super(engine, relationship.name + '__' + name, alias); this.id = name; this.relationship = relationship; return this; } schema() { let schema = sup...
<|file_sep|>original/lib/plugin/orm/revision.js "use strict"; const Table = require('./table'); class Revision extends Table { constructor(engine, relationship, name='revision', alias=null) { super(engine, relationship.name + '.' + name, alias); this.id = name; this.relationship = relationship; retu...
a6268c56273a01ddeb2e3d84e72c562d66dad818
lib/plugin/orm/revision.js
lib/plugin/orm/revision.js
JavaScript
<|file_sep|>original/.travis.yml before_script: - unset RAILS_ENV - unset RACK_ENV branches: master gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile - gemfiles/rails40.gemfile - gemfiles/rails41.gemfile language: ruby matrix: allow_failures: - rvm: ruby-head ...
before_install: - gem update bundler before_script: - unset RAILS_ENV - unset RACK_ENV branches: master gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile - gemfiles/rails40.gemfile - gemfiles/rails41.gemfile language: ruby matrix: allow_failures: - rvm: ruby...
<|file_sep|>original/.travis.yml before_script: - unset RAILS_ENV - unset RACK_ENV branches: master gemfile: - gemfiles/rails30.gemfile - gemfiles/rails31.gemfile - gemfiles/rails32.gemfile - gemfiles/rails40.gemfile - gemfiles/rails41.gemfile language: ruby matrix: allow_failures: - rvm: ruby-head ...
2a3fd71c205d830af727299fb387a96a4f46fc2b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.travis.yml language: go go: - "1.12" os: - linux dist: trusty sudo: false install: true script: - env GO111MODULE=off go build - env GO111MODULE=off go test <|file_sep|>current/.travis.yml language: go go: - "1.12" os: - linux dist: trusty sudo: false install: true script: - ...
language: go go: - "1.12" - tip os: - linux dist: trusty sudo: false install: true script: - env GO111MODULE=off go build - env GO111MODULE=off go test
<|file_sep|>original/.travis.yml language: go go: - "1.12" os: - linux dist: trusty sudo: false install: true script: - env GO111MODULE=off go build - env GO111MODULE=off go test <|file_sep|>current/.travis.yml language: go go: - "1.12" os: - linux dist: trusty sudo: false install: true script: - ...
e0e4f7bb6df092530a5475be69c43fb63c33075d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.0 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.8.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4 <|file_sep|>current/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.0 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-wa...
tox==2.7.0 mock==2.0.0 pytest==3.2.1 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.8.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4
<|file_sep|>original/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.0 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-watch==4.1.0 pytest-sugar==0.8.0 Sphinx==1.6.3 sphinx_rtd_theme==0.2.4 <|file_sep|>current/requirements_test.txt tox==2.7.0 mock==2.0.0 pytest==3.2.0 pytest-cov==2.5.1 pytest-pep8==1.0.6 pytest-wa...
c94251fd371a65d3db83feb931ef29f578640d04
requirements_test.txt
requirements_test.txt
Text
<|file_sep|>original/lib/analytical/modules/click_tale.rb js when :body_append js = <<-HTML <!-- Analytical Init: ClickTale Bottom part --> <div id="ClickTaleDiv" style="display: none;"></div> <script type='text/javascript'> docum...
js when :body_append js = <<-HTML <!-- Analytical Init: ClickTale Bottom part --> <div id="ClickTaleDiv" style="display: none;"></div> <script type='text/javascript'> document.write(unescape("%3Cscript%20src='"+ (docu...
<|file_sep|>original/lib/analytical/modules/click_tale.rb js when :body_append js = <<-HTML <!-- Analytical Init: ClickTale Bottom part --> <div id="ClickTaleDiv" style="display: none;"></div> <script type='text/javascript'> docum...
146932fee8f557dd887a88590601cb800756210b
lib/analytical/modules/click_tale.rb
lib/analytical/modules/click_tale.rb
Ruby
<|file_sep|>lib/bot.js.diff original: updated: <|file_sep|>lib/bot.js.diff original: this.irc.addListener('error', function(msg) { console.error('Error: %s: %s', msg.command, msg.args.join(' ')); }); updated: var obj = this; this.irc.on('error', obj.onError); <|file_sep|>original/lib/bot.js var irc = r...
function Bot(settings) { this.settings = settings; console.log('Connecting to IRC server ' + settings.irc.host + ' with nick ' + settings.irc.nick); this.irc = new irc.Client(settings.irc.host, settings.irc.nick, { channels: [settings.irc.channel], }); var obj = this; this.irc.on('error', ob...
<|file_sep|>lib/bot.js.diff original: updated: <|file_sep|>lib/bot.js.diff original: this.irc.addListener('error', function(msg) { console.error('Error: %s: %s', msg.command, msg.args.join(' ')); }); updated: var obj = this; this.irc.on('error', obj.onError); <|file_sep|>original/lib/bot.js var irc = r...
96d83af378f8d47b159ef49e36f8efa750caf762
lib/bot.js
lib/bot.js
JavaScript
<|file_sep|>original/ruma-appservice-api/Cargo.toml [package] authors = ["Wim de With <wf@dewith.io>"] categories = ["api-bindings", "web-programming"] description = "Types for the endpoints in the Matrix application service API." homepage = "https://www.ruma.io/" keywords = ["matrix", "chat", "messaging", "ruma"] lice...
[package] authors = ["Wim de With <wf@dewith.io>"] categories = ["api-bindings", "web-programming"] description = "Types for the endpoints in the Matrix application service API." homepage = "https://www.ruma.io/" keywords = ["matrix", "chat", "messaging", "ruma"] license = "MIT" name = "ruma-appservice-api" readme = "R...
<|file_sep|>original/ruma-appservice-api/Cargo.toml [package] authors = ["Wim de With <wf@dewith.io>"] categories = ["api-bindings", "web-programming"] description = "Types for the endpoints in the Matrix application service API." homepage = "https://www.ruma.io/" keywords = ["matrix", "chat", "messaging", "ruma"] lice...
ba1aaba53e29c4e31c505f0eea6b78dd8958dd87
ruma-appservice-api/Cargo.toml
ruma-appservice-api/Cargo.toml
TOML
<|file_sep|>original/package.json { "name": "rtcio-demo-signalling", "version": "0.2.1", "description": "an application that runs a signaling server and shows how to exchange information over it", "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": ...
{ "name": "rtcio-demo-signalling", "version": "0.2.1", "description": "an application that runs a signaling server and shows how to exchange information over it", "main": "server.js", "private": true, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "...
<|file_sep|>original/package.json { "name": "rtcio-demo-signalling", "version": "0.2.1", "description": "an application that runs a signaling server and shows how to exchange information over it", "main": "server.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": ...
711145d699a4aaf4564c25485a0e9c031144224b
package.json
package.json
JSON
<|file_sep|>original/lib/modernizr.rb module Modernizr VERSION = "2.5.2" PATH = File.expand_path("..", __FILE__) def self.path PATH end # Rails "Magic" if defined? ::Rails::Railtie class Railtie < ::Rails::Railtie initializer "modernizr" do |app| app.assets.append_path Modernizr.pat...
module Modernizr VERSION = "2.5.2" PATH = File.expand_path("..", __FILE__) def self.path PATH end # Rails "Magic" if defined? ::Rails::Railtie class Railtie < ::Rails::Railtie initializer "modernizr" do |app| app.config.assets.path << Modernizr.path end end end end
<|file_sep|>original/lib/modernizr.rb module Modernizr VERSION = "2.5.2" PATH = File.expand_path("..", __FILE__) def self.path PATH end # Rails "Magic" if defined? ::Rails::Railtie class Railtie < ::Rails::Railtie initializer "modernizr" do |app| app.assets.append_path Modernizr.pat...
8c459dc3599672aaaea8dc57b5f49456f06fa804
lib/modernizr.rb
lib/modernizr.rb
Ruby
<|file_sep|>src/ipc-helpers.js.diff original: updated: let nextResponseChannelId = 0 <|file_sep|>src/ipc-helpers.js.diff original: const responseChannel = getResponseChannel(channel) updated: const responseChannel = `ipc-helpers-response-${nextResponseChannelId++}` <|file_sep|>src/ipc-helpers.js.diff original: ...
ipcRenderer.removeAllListeners(responseChannel) resolve(result) }) ipcRenderer.send(channel, responseChannel, ...args) }) } exports.respondTo = function (channel, callback) { if (!ipcMain) { const electron = require('electron') ipcMain = electron.ipcMain BrowserWindow = electron.Br...
<|file_sep|>src/ipc-helpers.js.diff original: updated: let nextResponseChannelId = 0 <|file_sep|>src/ipc-helpers.js.diff original: const responseChannel = getResponseChannel(channel) updated: const responseChannel = `ipc-helpers-response-${nextResponseChannelId++}` <|file_sep|>src/ipc-helpers.js.diff original: ...
9694448f9d41dec92e9cb901e6aa1df163c09d30
src/ipc-helpers.js
src/ipc-helpers.js
JavaScript
<|file_sep|>original/requirements.txt Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.15.0 wcwidth==0.1.7 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1 <|file_sep|>current/requirements.txt ...
Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.15.0 wcwidth==0.2.5 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1
<|file_sep|>original/requirements.txt Flask==1.1.2 Flask-Admin==1.5.6 Flask-SQLAlchemy==2.4.4 SQLAlchemy==1.3.19 WTForms==2.3.3 coverage==5.3 pytest==6.1.1 Flask-Cors==3.0.9 pytest-cov==2.10.1 pytest-flask==1.0.0 six==1.15.0 wcwidth==0.1.7 Werkzeug==1.0.1 WTForms==2.3.3 zipp==0.5.1 <|file_sep|>current/requirements.txt ...
e48e52b373e58ef233c56834e8dd1136cb735d4a
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.rst ===== .. image:: https://travis-ci.org/topazproject/topaz.png?branch=master :target: https://travis-ci.org/topazproject/topaz An implementation of the Ruby programming language, in Python, using the RPython VM toolchain. Its goals are simplicity of implementation and performance. ...
===== .. image:: https://travis-ci.org/topazproject/topaz.png?branch=master :target: https://travis-ci.org/topazproject/topaz An implementation of the Ruby programming language, in Python, using the RPython VM toolchain. Its goals are simplicity of implementation and performance. You'll need to have a few depen...
<|file_sep|>original/README.rst ===== .. image:: https://travis-ci.org/topazproject/topaz.png?branch=master :target: https://travis-ci.org/topazproject/topaz An implementation of the Ruby programming language, in Python, using the RPython VM toolchain. Its goals are simplicity of implementation and performance. ...
3b0ae2389412465a24901374de1f9f6bf1c4dd65
README.rst
README.rst
reStructuredText
<|file_sep|>original/locales/da/experiments.ftl notesDescription = En simpel notesbog direkte i Firefox. Har du nogensinde brug for hurtigt at skrive noget ned, når du surfer på nettet? Så er det hér eksperiment lige noget for dig. notesIntroductionMultinote = Noter er en enkel notesbog i din browsers sidepanel. Log in...
notesDescription = En simpel notesbog direkte i Firefox. Har du nogensinde brug for hurtigt at skrive noget ned, når du surfer på nettet? Så er det hér eksperiment lige noget for dig. notesIntroductionMultinote = Noter er en enkel notesbog i din browsers sidepanel. Log in på din Firefox-konto for at synkronisere alle d...
<|file_sep|>original/locales/da/experiments.ftl notesDescription = En simpel notesbog direkte i Firefox. Har du nogensinde brug for hurtigt at skrive noget ned, når du surfer på nettet? Så er det hér eksperiment lige noget for dig. notesIntroductionMultinote = Noter er en enkel notesbog i din browsers sidepanel. Log in...
a619546151c7c9f0da3f61b2256f80b93023444d
locales/da/experiments.ftl
locales/da/experiments.ftl
FreeMarker
<|file_sep|>original/app/controllers/home.js import Ember from 'ember'; export default Ember.Controller.extend({ isAdmin: Ember.computed('node', function(){ return this.get('model.node.currentUserPermissions').includes('admin'); }), editMode: false, currentMode: Ember.computed('editMode', funct...
import Ember from 'ember'; export default Ember.Controller.extend({ queryParams: ['editMode'], isAdmin: Ember.computed('node', function(){ return this.get('model.node.currentUserPermissions').includes('admin'); }), editMode: false, currentMode: Ember.computed('editMode', function(){ ...
<|file_sep|>original/app/controllers/home.js import Ember from 'ember'; export default Ember.Controller.extend({ isAdmin: Ember.computed('node', function(){ return this.get('model.node.currentUserPermissions').includes('admin'); }), editMode: false, currentMode: Ember.computed('editMode', funct...
e3eb48e7e377f100677d2adf19494a43bf53e2b5
app/controllers/home.js
app/controllers/home.js
JavaScript
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: "6" - nodejs_version: "7" version: "{build}-{branch}" init: - git config --global core.longpaths true clone_depth: 1 matrix: fast_finish: true cache: - node_modules install: <|file...
# http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: "6" - nodejs_version: "8" version: "{build}-{branch}" init: - git config --global core.longpaths true clone_depth: 1 matrix: fast_finish: true cache: - node_modules install:
<|file_sep|>original/appveyor.yml # http://www.appveyor.com/docs/appveyor-yml environment: matrix: - nodejs_version: "6" - nodejs_version: "7" version: "{build}-{branch}" init: - git config --global core.longpaths true clone_depth: 1 matrix: fast_finish: true cache: - node_modules install: <|file...
08e3ea6912b8c4720068a4526f63493e512dc76c
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/lib/fluffle/errors.rb end end class TimeoutError < StandardError end # Raised if it timed out waiting for a confirm from the broker class ConfirmTimeoutError < TimeoutError end # Raised if it received a return from the server class ReturnError < StandardErro...
end end class TimeoutError < StandardError end # Raised if it timed out waiting for a confirm from the broker class ConfirmTimeoutError < TimeoutError end # Raised if it received a nack from the broker class NackError < StandardError end # Raised if it received a return...
<|file_sep|>original/lib/fluffle/errors.rb end end class TimeoutError < StandardError end # Raised if it timed out waiting for a confirm from the broker class ConfirmTimeoutError < TimeoutError end # Raised if it received a return from the server class ReturnError < StandardErro...
b902b2d48d96686d16484b6f31fa256178a7f0e8
lib/fluffle/errors.rb
lib/fluffle/errors.rb
Ruby
<|file_sep|>original/selfish-youtube.user.js // @include https://*.youtube.com/watch* // @grant none // ==/UserScript== var panelName = "action-panel-share"; // Remove panel var actionPanelShare = document.getElementById(panelName); actionPanelShare.parentNode.removeChild(actionPanelShare); ...
// @include https://*.youtube.com/watch* // @grant none // ==/UserScript== var panelName = "action-panel-share"; // Remove panel var actionPanelShare = document.getElementById(panelName); actionPanelShare.parentNode.removeChild(actionPanelShare); // Remove buttons targeting the panel var bu...
<|file_sep|>original/selfish-youtube.user.js // @include https://*.youtube.com/watch* // @grant none // ==/UserScript== var panelName = "action-panel-share"; // Remove panel var actionPanelShare = document.getElementById(panelName); actionPanelShare.parentNode.removeChild(actionPanelShare); ...
205f3a920fe5a88c8427b637d38ab10a3a733f39
selfish-youtube.user.js
selfish-youtube.user.js
JavaScript
<|file_sep|>app/controllers/attachments_controller.rb.diff original: updated: fresh_when(strong_etag: param_etag) <|file_sep|>app/controllers/attachments_controller.rb.diff original: updated: self.headers["ETag"] = param_etag <|file_sep|>original/app/controllers/attachments_controller.rb class AttachmentsC...
private def set_rack_response((status, headers, body)) self.status = status self.headers.merge!(headers) if status == 200 self.headers["ETag"] = param_etag self.headers["Cache-Control"] = "private, no-cache, max-age=31536000, immutable" end self.response_body = body end def ...
<|file_sep|>app/controllers/attachments_controller.rb.diff original: updated: fresh_when(strong_etag: param_etag) <|file_sep|>app/controllers/attachments_controller.rb.diff original: updated: self.headers["ETag"] = param_etag <|file_sep|>original/app/controllers/attachments_controller.rb class AttachmentsC...
8cdf887375f78eccd9693ec40511b53ef88825a0
app/controllers/attachments_controller.rb
app/controllers/attachments_controller.rb
Ruby
<|file_sep|>original/lib/spree_twitter_testimonials/engine.rb require 'twitter' require 'twitter-text' module SpreeTwitterTestimonials class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_twitter_testimonials' initializer 'spree_twitter_testimonials.action_cont...
require 'twitter' require 'twitter-text' module SpreeTwitterTestimonials class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_twitter_testimonials' ActionController::Base.send(:helper, SpreeTwitterTestimonials::TwitterHelper) config.autoload_paths += %W(#{...
<|file_sep|>original/lib/spree_twitter_testimonials/engine.rb require 'twitter' require 'twitter-text' module SpreeTwitterTestimonials class Engine < Rails::Engine require 'spree/core' isolate_namespace Spree engine_name 'spree_twitter_testimonials' initializer 'spree_twitter_testimonials.action_cont...
d878ec6b1ebabce7c1d473d50dd26055ac771b84
lib/spree_twitter_testimonials/engine.rb
lib/spree_twitter_testimonials/engine.rb
Ruby
<|file_sep|>.travis.yml.diff original: updated: - make install <|file_sep|>original/.travis.yml language: c addons: apt: packages: [ libmicrohttpd-dev, libjansson-dev, check, libsubunit-dev, cppcheck ] matrix: include: - os: linux compiler: gcc - os: linux compiler: clang - env: LAB...
packages: [ libmicrohttpd-dev, libjansson-dev, check, libsubunit-dev, cppcheck ] matrix: include: - os: linux compiler: gcc - os: linux compiler: clang - env: LABEL=cppcheck os: linux script: - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >buil...
<|file_sep|>.travis.yml.diff original: updated: - make install <|file_sep|>original/.travis.yml language: c addons: apt: packages: [ libmicrohttpd-dev, libjansson-dev, check, libsubunit-dev, cppcheck ] matrix: include: - os: linux compiler: gcc - os: linux compiler: clang - env: LAB...
99cb4abc96deb6dc16aa8c06a65fd3a33499e8cf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/docs/requirements.txt sphinx==1.6.5 sphinx-rtd-theme==0.2.4 Django==2.0 -e . <|file_sep|>current/docs/requirements.txt sphinx==1.6.5 sphinx-rtd-theme==0.2.4 Django==2.0 -e . <|file_sep|>updated/docs/requirements.txt
sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0 -e .
<|file_sep|>original/docs/requirements.txt sphinx==1.6.5 sphinx-rtd-theme==0.2.4 Django==2.0 -e . <|file_sep|>current/docs/requirements.txt sphinx==1.6.5 sphinx-rtd-theme==0.2.4 Django==2.0 -e . <|file_sep|>updated/docs/requirements.txt sphinx==1.7.0 sphinx-rtd-theme==0.2.4 Django==2.0 -e .
cd0a859be8045ac8a4b5a2240339aca5fa8e1733
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/README.md oaths ===== Don't make an oath if you can't fulfill it <|file_sep|>current/README.md oaths ===== Don't make an oath if you can't fulfill it <|file_sep|>updated/README.md
oaths ===== Don't make an oath if you can't fulfill it *Note: This is still an idea nad not usable.* See `test/index.js` and `test/json-fulfiller.js` for now. ## Testing ```no-highlight npm test ```
<|file_sep|>original/README.md oaths ===== Don't make an oath if you can't fulfill it <|file_sep|>current/README.md oaths ===== Don't make an oath if you can't fulfill it <|file_sep|>updated/README.md oaths ===== Don't make an oath if you can't fulfill it *Note: This is still an idea nad not usable.* See `test/ind...
59f8f5e7089f4b79b8dd1d660e396ce825df829b
README.md
README.md
Markdown
<|file_sep|>original/packages/lesswrong/components/shortform/ShortformThreadList.jsx {loading || !results ? <Loading /> : <div> {results.map((comment, i) => { return <ShortformThread key={comment._id} comment={comment} refetch={refetch}/> })} { loadMore && <LoadMore loading...
<div> {results.map((comment, i) => { return <ShortformThread key={comment._id} comment={comment} refetch={refetch}/> })} { loadMore && <LoadMore loading={loadingMore || loading} loadMore={loadMore} /> } { loadingMore && <Loading />} </div>} </div>) } const d...
<|file_sep|>original/packages/lesswrong/components/shortform/ShortformThreadList.jsx {loading || !results ? <Loading /> : <div> {results.map((comment, i) => { return <ShortformThread key={comment._id} comment={comment} refetch={refetch}/> })} { loadMore && <LoadMore loading...
dea6a7a207157a1d4fe85c29a66d8254e604a21a
packages/lesswrong/components/shortform/ShortformThreadList.jsx
packages/lesswrong/components/shortform/ShortformThreadList.jsx
JSX
<|file_sep|>original/LICENSE.txt Copyright (c) 2014 Derek Prior MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
Copyright (c) 2014 Derek Prior, Caleb Thompson, and thoughtbot. MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
<|file_sep|>original/LICENSE.txt Copyright (c) 2014 Derek Prior MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
4965968f34fe9581413240dcab8a6fe780ebc4e3
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java.diff original: import java.awt.Component; updated: <|file_sep|>LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java.diff original: import java.util.Map; impor...
public String getAsText() { if (getValue() == null) return "-"; return ((Country) getValue()).getName(); } @Override public String[] getTags() { String[] names = new String[Country.getAll().size() + 1]; List<Country> selectable = Country.getAll(); ...
<|file_sep|>LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java.diff original: import java.awt.Component; updated: <|file_sep|>LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java.diff original: import java.util.Map; impor...
c2281883ac2a5ba1952da63bd8f26cb25b8e11c6
LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java
LIMO/LIMO_view/src/main/java/nl/fontys/sofa/limo/view/node/property/editor/CountryPopertyEditor.java
Java
<|file_sep|>interface.py.diff original: updated: from contextlib import contextmanager import os import sys <|file_sep|>interface.py.diff original: class App(npyscreen.NPSApp): def main(self): form = npyscreen.FormBaseNew(name='EKOiE') form.add_widget(npyscreen.TitleSelectOne, name='Track number',...
) quit_popup = self.addForm( 'quit_popup', QuitPopup, name='Really quit?', lines=5, ) quit_popup.show_atx = 40 quit_popup.show_aty = 20 self.setNextForm('MAIN') if __name__ == '__main__': with use_xterm(): ap...
<|file_sep|>interface.py.diff original: updated: from contextlib import contextmanager import os import sys <|file_sep|>interface.py.diff original: class App(npyscreen.NPSApp): def main(self): form = npyscreen.FormBaseNew(name='EKOiE') form.add_widget(npyscreen.TitleSelectOne, name='Track number',...
afb97310cba3c32d28f3b21b0895c53183914326
interface.py
interface.py
Python
<|file_sep|>original/Cargo.toml [package] name = "html2text" version = "0.1.7" authors = ["Chris Emerson <github@mail.nosreme.org>"] description = "Render HTML as plain text." repository = "https://github.com/jugglerchris/rust-html2text/" readme = "README.md" documentation = "https://docs.rs/html2text/" keywords = ["h...
[package] name = "html2text" version = "0.1.8" authors = ["Chris Emerson <github@mail.nosreme.org>"] description = "Render HTML as plain text." repository = "https://github.com/jugglerchris/rust-html2text/" readme = "README.md" documentation = "https://docs.rs/html2text/" keywords = ["html", "text"] license = "MIT" [...
<|file_sep|>original/Cargo.toml [package] name = "html2text" version = "0.1.7" authors = ["Chris Emerson <github@mail.nosreme.org>"] description = "Render HTML as plain text." repository = "https://github.com/jugglerchris/rust-html2text/" readme = "README.md" documentation = "https://docs.rs/html2text/" keywords = ["h...
3a579b8f3fd9df23e36696229f60b948f68c8783
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/quickeebooks.gemspec gem.email = "toolbag@gmail.com" gem.homepage = "http://github.com/ruckus/quickeebooks" gem.summary = "REST API to Quickbooks Online/Windows via Intuit Data Services" gem.license = 'MIT' gem.description = gem.summary gem.files = Dir['lib/**/*'] gem.add_depen...
gem.author = "Cody Caughlan" gem.email = "toolbag@gmail.com" gem.homepage = "http://github.com/ruckus/quickeebooks" gem.summary = "REST API to Quickbooks Online/Windows via Intuit Data Services" gem.license = 'MIT' gem.description = gem.summary gem.files = Dir['lib/**/*'] gem.add_dependency 'ro...
<|file_sep|>original/quickeebooks.gemspec gem.email = "toolbag@gmail.com" gem.homepage = "http://github.com/ruckus/quickeebooks" gem.summary = "REST API to Quickbooks Online/Windows via Intuit Data Services" gem.license = 'MIT' gem.description = gem.summary gem.files = Dir['lib/**/*'] gem.add_depen...
4f9b73f60baec5a8b44ebed50c2c1cd6f7ff4892
quickeebooks.gemspec
quickeebooks.gemspec
Ruby
<|file_sep|>original/polling_stations/apps/addressbase/migrations/0001_initial.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.contrib.gis.db.models.fields class Migration(migrations.Migration): replaces = [('addressbase', '0001_initial')...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.contrib.gis.db.models.fields class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
<|file_sep|>original/polling_stations/apps/addressbase/migrations/0001_initial.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.contrib.gis.db.models.fields class Migration(migrations.Migration): replaces = [('addressbase', '0001_initial')...
2f85d8985bf4089e39d2510190bf6dedea91fe5b
polling_stations/apps/addressbase/migrations/0001_initial.py
polling_stations/apps/addressbase/migrations/0001_initial.py
Python
<|file_sep|>original/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/cli.py #!/usr/bin/env python # -*- coding: utf-8 -*- import os os.environ["KIVY_NO_ARGS"] = "1" import click from {{cookiecutter.repo_name}} import {{cookiecutter.app_class_name}} @click.command() @click.option( '-l', '--language', help...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os os.environ["KIVY_NO_ARGS"] = "1" import click from {{cookiecutter.repo_name}}.{{cookiecutter.repo_name}} import {{cookiecutter.app_class_name}} @click.command() @click.option( '-l', '--language', help='Default language of the App', default='en', type=...
<|file_sep|>original/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/cli.py #!/usr/bin/env python # -*- coding: utf-8 -*- import os os.environ["KIVY_NO_ARGS"] = "1" import click from {{cookiecutter.repo_name}} import {{cookiecutter.app_class_name}} @click.command() @click.option( '-l', '--language', help...
30907bbfc1b6d38034867070075a28fd3c5d3c6b
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/cli.py
{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/cli.py
Python
<|file_sep|>original/Examples/Client/Program.cs using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using Obvs.Types; using Obvs.ActiveMQ.Configuration; using Obvs.Configuration; using Obvs.Example.Messages; using Obvs.Serialization.Json.Configuration; namespace Obvs.Example.Client { inte...
using System; using Obvs.Types; using Obvs.ActiveMQ.Configuration; using Obvs.Configuration; using Obvs.Example.Messages; using Obvs.Serialization.Json.Configuration; namespace Obvs.Example.Client { internal static class Program { private static void Main(string[] args) { var broke...
<|file_sep|>original/Examples/Client/Program.cs using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using Obvs.Types; using Obvs.ActiveMQ.Configuration; using Obvs.Configuration; using Obvs.Example.Messages; using Obvs.Serialization.Json.Configuration; namespace Obvs.Example.Client { inte...
5337bdf7841cfe80e88436ec7657d3251e695512
Examples/Client/Program.cs
Examples/Client/Program.cs
C#
<|file_sep|>README.rst.diff original: should be used together with the Sahara version available here: https://github.com/bigfootproject/savanna updated: should be used together with the Sahara version available here: https://github.com/bigfootproject/sahara <|file_sep|>original/README.rst Sahara image elements project ...
Sahara image elements project (Spark experimental fork) ======================================================= This repo is a place for Sahara-related for diskimage-builder elements. This has been forked from the OpenStack repository to develop the Spark support in Sahara. The images created with this version of the...
<|file_sep|>README.rst.diff original: should be used together with the Sahara version available here: https://github.com/bigfootproject/savanna updated: should be used together with the Sahara version available here: https://github.com/bigfootproject/sahara <|file_sep|>original/README.rst Sahara image elements project ...
cbf3e50d14cc8e006732b52087ac42bc50ee9aef
README.rst
README.rst
reStructuredText
<|file_sep|>.travis.yml.diff original: # - "iojs" updated: - "iojs" <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.10" - "0.12" # - "iojs" script: npm run travis env: - NO_WATCH_TESTS=1 before_install: npm install -g npm after_success: cat ./coverage/lcov.info | node_modules/...
sudo: false language: node_js node_js: - "0.10" - "0.12" - "iojs" script: npm run travis env: - NO_WATCH_TESTS=1 before_install: - '[ "${TRAVIS_NODE_VERSION}" != "0.10" ] || npm install -g npm' after_success: cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose && rm -rf ./coverage
<|file_sep|>.travis.yml.diff original: # - "iojs" updated: - "iojs" <|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "0.10" - "0.12" # - "iojs" script: npm run travis env: - NO_WATCH_TESTS=1 before_install: npm install -g npm after_success: cat ./coverage/lcov.info | node_modules/...
b0c65291b401a26e9a0e66283ceb076849c19948
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ansi_palette.gemspec spec.version = AnsiPalette::VERSION spec.authors = ["David Begin"] spec.email = ["davidmichaelbe@gmail.com"] if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems...
spec.version = AnsiPalette::VERSION spec.authors = ["David Begin"] spec.email = ["davidmichaelbe@gmail.com"] if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems.org, or delete to allow pushes to any ser...
<|file_sep|>original/ansi_palette.gemspec spec.version = AnsiPalette::VERSION spec.authors = ["David Begin"] spec.email = ["davidmichaelbe@gmail.com"] if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com' to prevent pushes to rubygems...
2be85e8b774cdcc92e134e8ae047388642622e7a
ansi_palette.gemspec
ansi_palette.gemspec
Ruby
<|file_sep|>packages/bg/bglib.yaml.diff original: hash: e5ba37b6b33b1771674d4f36bd88d2a99637b6fb8d0dcf120a9e6a6727d1fc75 updated: hash: 23eb343bf315dc90db3524e4001e096d6961be0158f29ca2adc639e66f5e2e8b <|file_sep|>packages/bg/bglib.yaml.diff original: updated: - 1.0.0.1 <|file_sep|>original/packages/bg/bglib.yaml bin...
binary: -any bglib: -any mtl: -any optparse-applicative: -any serialport: -any all-versions: - 0.1.0.0 - 1.0.0.0 - 1.0.0.1 author: Tamas Fabian latest: 1.0.0.1 description-type: markdown description: |+ # haskell-bglib An implementation of the BGAPI serial protocol. This protocol is spoken by Silicon ...
<|file_sep|>packages/bg/bglib.yaml.diff original: hash: e5ba37b6b33b1771674d4f36bd88d2a99637b6fb8d0dcf120a9e6a6727d1fc75 updated: hash: 23eb343bf315dc90db3524e4001e096d6961be0158f29ca2adc639e66f5e2e8b <|file_sep|>packages/bg/bglib.yaml.diff original: updated: - 1.0.0.1 <|file_sep|>original/packages/bg/bglib.yaml bin...
7b5dee67b40d9808a559bc8ad1ac8ecd476bf208
packages/bg/bglib.yaml
packages/bg/bglib.yaml
YAML
<|file_sep|>packages/mo/modbus-tcp.yaml.diff original: hash: 00e3d2ed799651199a1454fb0072edb335e194fd229859cca92827f012ffd4b0 updated: hash: e0d89cfb45f72f05cc5a3ead3ca90eb258c34fc457a242c3c05bee00f709404a <|file_sep|>packages/mo/modbus-tcp.yaml.diff original: base: ! '>=4.8 && <5' updated: base: ! '>=4.9 && <5' <|...
test-bench-deps: {} maintainer: Roel van Dijk <roel@lambdacube.nl> synopsis: Communicate with Modbus devices over TCP changelog: '' basic-deps: cereal: ! '>=0.5.1 && <0.6' bytestring: ! '>=0.10.6 && <0.11' base: ! '>=4.9 && <5' network: ! '>=2.6.2.1 && <2.7' transformers: ! '>=0.5.2 && <0.6' all-versions: - '...
<|file_sep|>packages/mo/modbus-tcp.yaml.diff original: hash: 00e3d2ed799651199a1454fb0072edb335e194fd229859cca92827f012ffd4b0 updated: hash: e0d89cfb45f72f05cc5a3ead3ca90eb258c34fc457a242c3c05bee00f709404a <|file_sep|>packages/mo/modbus-tcp.yaml.diff original: base: ! '>=4.8 && <5' updated: base: ! '>=4.9 && <5' <|...
e6e3250e6445a5b8d38ed0d67ae2439cf52efbc9
packages/mo/modbus-tcp.yaml
packages/mo/modbus-tcp.yaml
YAML
<|file_sep|>original/packages/redux-simple-auth/test/utils/testStorage.js export default (initialData = {}) => { let data = initialData return { reset: () => (data = initialData), getData: () => data, persist: d => (data = d), restore: jest.fn(() => data) } } <|file_sep|>current/packages/redux-si...
export default (initialData = {}) => { let data = initialData return { reset: () => (data = initialData), getData: () => data, persist: d => (data = d), restore: () => data } }
<|file_sep|>original/packages/redux-simple-auth/test/utils/testStorage.js export default (initialData = {}) => { let data = initialData return { reset: () => (data = initialData), getData: () => data, persist: d => (data = d), restore: jest.fn(() => data) } } <|file_sep|>current/packages/redux-si...
4332487bb2ae15a36252d4cf59af7077bb7aebc7
packages/redux-simple-auth/test/utils/testStorage.js
packages/redux-simple-auth/test/utils/testStorage.js
JavaScript
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4" - "6" - "stable" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4" - "6" - "stable" <|file_sep|>updated/.travis.yml
sudo: false language: node_js node_js: - "4" - "6" - "stable" deploy: provider: npm email: stefan.penner+ember-cli@gmail.com api_key: secure: Vfs9LIJtu0GGQqEk74aypqUGk0925/41ioOkAoHxWQwZGkhvZsVDJsfe2Two47uJGGoq17vScorrhiXFZXRvKpdwFl1uHyeIMPQj66DG1cksw972z3mtKMLrxmwSuRk9LNgnow5kUPZfoNuHl0u/9Fjp0ieicwYJ...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - "4" - "6" - "stable" <|file_sep|>current/.travis.yml sudo: false language: node_js node_js: - "4" - "6" - "stable" <|file_sep|>updated/.travis.yml sudo: false language: node_js node_js: - "4" - "6" - "stable" deploy: provi...
151891af2cde73ee817dd6416fc2f19085954c0b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "gitanajs", "version": "1.0.92", "devDependencies": { "grunt": "*", "grunt-contrib": "*", "grunt-connect-proxy": "*", "grunt-bumpup": "*", "grunt-closure-compiler": "*" } } <|file_sep|>current/package.json { "name": ...
{ "name": "gitanajs", "version": "1.0.93", "devDependencies": { "grunt": "*", "grunt-contrib": "*", "grunt-connect-proxy": "*", "grunt-bumpup": "*", "grunt-closure-compiler": "*" } }
<|file_sep|>original/package.json { "name": "gitanajs", "version": "1.0.92", "devDependencies": { "grunt": "*", "grunt-contrib": "*", "grunt-connect-proxy": "*", "grunt-bumpup": "*", "grunt-closure-compiler": "*" } } <|file_sep|>current/package.json { "name": ...
2254175256ad1bf225969d19fdf791e8e78fa006
package.json
package.json
JSON
<|file_sep|>original/README.md While working on a task, go ahead and implement the functionality that you think would be a good fit for `common`, and comment the implementation with a TODO suggesting it belongs in `common`. An example: // TODO(mygithubusername): migrate to common object ResourceHandling { t...
While working on a task, go ahead and implement the functionality that you think would be a good fit for `common`, and comment the implementation with a TODO suggesting it belongs in `common`. An example: // TODO(mygithubusername): migrate to common object ResourceHandling { type Resource = { def close(): U...
<|file_sep|>original/README.md While working on a task, go ahead and implement the functionality that you think would be a good fit for `common`, and comment the implementation with a TODO suggesting it belongs in `common`. An example: // TODO(mygithubusername): migrate to common object ResourceHandling { t...
5c2142ad87565077a2fa9fa63494b1118290b007
README.md
README.md
Markdown
<|file_sep|>original/composer.json "name": "Tommaso Barbugli", "email": "support@getstream.io" } ], "require": { "php": ">=5.5", "guzzlehttp/guzzle": "^6.0", "firebase/php-jwt": "~3.0 || ~4.0", "99designs/http-signatures": ">=1.1.0 <3.0.0" }, ...
"name": "Tommaso Barbugli", "email": "support@getstream.io" } ], "require": { "php": ">=5.5", "guzzlehttp/guzzle": "^6.0", "firebase/php-jwt": "~3.0 || ~4.0", "99designs/http-signatures": ">=1.1.0 <3.0.0" }, "require-dev": { "phpuni...
<|file_sep|>original/composer.json "name": "Tommaso Barbugli", "email": "support@getstream.io" } ], "require": { "php": ">=5.5", "guzzlehttp/guzzle": "^6.0", "firebase/php-jwt": "~3.0 || ~4.0", "99designs/http-signatures": ">=1.1.0 <3.0.0" }, ...
5f03d9da451856ff3632e571b1dc770cda0c8da1
composer.json
composer.json
JSON
<|file_sep|>readme.md.diff original: updated: A Laravel Package to route domains and register service providers dynamically. <|file_sep|>original/readme.md Router ======== [![Build Status](https://travis-ci.org/algorit/router.svg?branch=master)](https://travis-ci.org/algorit/router) [![Scrutinizer Code Quality](http...
Router ======== [![Build Status](https://travis-ci.org/algorit/router.svg?branch=master)](https://travis-ci.org/algorit/router) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/algorit/router/badges/quality-score.png?s=1de2383d7b620fb7971c86416feec1ba04b4fb11)](https://scrutinizer-ci.com/g/algorit/router/) [!...
<|file_sep|>readme.md.diff original: updated: A Laravel Package to route domains and register service providers dynamically. <|file_sep|>original/readme.md Router ======== [![Build Status](https://travis-ci.org/algorit/router.svg?branch=master)](https://travis-ci.org/algorit/router) [![Scrutinizer Code Quality](http...
73cf661a6c0c422e9ec6fd91ee1e8c43a0ba5cfc
readme.md
readme.md
Markdown
<|file_sep|>original/update_repo.sh git config --global user.email "weecologydeploy@weecology.org" git config --global user.name "Weecology Deploy Bot" git add predictions/* docs/* git commit -m "Update forecasts: Travis Build $TRAVIS_BUILD_NUMBER" git remote add deploy https://${GITHUB_TOKEN}@github.com/weecology/po...
git config --global user.email "weecologydeploy@weecology.org" git config --global user.name "Weecology Deploy Bot" git checkout master git add predictions/* docs/* git commit -m "Update forecasts: Travis Build $TRAVIS_BUILD_NUMBER" git remote add deploy https://${GITHUB_TOKEN}@github.com/weecology/portalPredictions....
<|file_sep|>original/update_repo.sh git config --global user.email "weecologydeploy@weecology.org" git config --global user.name "Weecology Deploy Bot" git add predictions/* docs/* git commit -m "Update forecasts: Travis Build $TRAVIS_BUILD_NUMBER" git remote add deploy https://${GITHUB_TOKEN}@github.com/weecology/po...
6f8ce662e2fc6904b74761c19bf21edecfb222d2
update_repo.sh
update_repo.sh
Shell
<|file_sep|>original/src/main/java/gsg/infrastructure/Utils.java if (i > -1) { return line.substring(0, i); } else { return null; } } public static JobRunner runLoop(IJob job) { final JobRunnerConfiguration configuration = new JobRunnerConfiguration(); final JobRunner runner = new JobRunner(configu...
if (i > -1) { return line.substring(0, i); } else { return null; } } public static JobRunner runLoop(IJob job) { final JobRunnerConfiguration configuration = new JobRunnerConfiguration(); configuration.setDoLog(false); final JobRunner runner = new JobRunner(configuration, job); runner.start(); ...
<|file_sep|>original/src/main/java/gsg/infrastructure/Utils.java if (i > -1) { return line.substring(0, i); } else { return null; } } public static JobRunner runLoop(IJob job) { final JobRunnerConfiguration configuration = new JobRunnerConfiguration(); final JobRunner runner = new JobRunner(configu...
3e683e4ab0a606bcd4a841acabb9f47c4d2be79c
src/main/java/gsg/infrastructure/Utils.java
src/main/java/gsg/infrastructure/Utils.java
Java
<|file_sep|>original/scripts/components/pages/home/Home.js import React from "react"; import styles from "./Home.less"; import { Stickers } from "./Stickers"; import { CTM } from "./CTM"; export const Home = () => ( <> <h2>Hello, World! It&apos;s my laboratory.</h2> <Stickers /> <div className={styles.a...
import React from "react"; import styles from "./Home.less"; import { Stickers } from "./Stickers"; import { CTM } from "./CTM"; export const Home = () => ( <> <h2>Hello, World! It&apos;s my laboratory.</h2> <Stickers /> <div className={styles.avatar} /> <div className={styles.intro}> <b>Igor ...
<|file_sep|>original/scripts/components/pages/home/Home.js import React from "react"; import styles from "./Home.less"; import { Stickers } from "./Stickers"; import { CTM } from "./CTM"; export const Home = () => ( <> <h2>Hello, World! It&apos;s my laboratory.</h2> <Stickers /> <div className={styles.a...
c150fbf1c2533b0735bad2504669e019f1d88d49
scripts/components/pages/home/Home.js
scripts/components/pages/home/Home.js
JavaScript
<|file_sep|>original/include/lambdacommon/document/document.h * * Licensed under the MIT license. For more information, * see the LICENSE file. */ #ifndef LAMBDACOMMON_DOCUMENT_H #define LAMBDACOMMON_DOCUMENT_H #include "../lambdacommon.h" #include <map> namespace lambdacommon { class LAMBDACOMMON_API Conten...
* * Licensed under the MIT license. For more information, * see the LICENSE file. */ #ifndef LAMBDACOMMON_DOCUMENT_H #define LAMBDACOMMON_DOCUMENT_H #include "../lambdacommon.h" #include <map> namespace lambdacommon { class LAMBDACOMMON_API Element {}; class LAMBDACOMMON_API Document {}; } #end...
<|file_sep|>original/include/lambdacommon/document/document.h * * Licensed under the MIT license. For more information, * see the LICENSE file. */ #ifndef LAMBDACOMMON_DOCUMENT_H #define LAMBDACOMMON_DOCUMENT_H #include "../lambdacommon.h" #include <map> namespace lambdacommon { class LAMBDACOMMON_API Conten...
bcd0f03a33b360f54b0223e64bd5dae90d3a0e2c
include/lambdacommon/document/document.h
include/lambdacommon/document/document.h
C
<|file_sep|>original/src/PerformanceTest/README.md <|file_sep|>current/src/PerformanceTest/README.md <|file_sep|>updated/src/PerformanceTest/README.md
CSV Parser Performance Test =========================== This project tests parsing performance. We will use the [worldcitiespop.txt](http://www.maxmind.com/download/worldcities/worldcitiespop.txt.gz) as the input file by [Maxmind](http://www.maxmind.com/). It contains more than 3 million rows. Please download [worldc...
<|file_sep|>original/src/PerformanceTest/README.md <|file_sep|>current/src/PerformanceTest/README.md <|file_sep|>updated/src/PerformanceTest/README.md CSV Parser Performance Test =========================== This project tests parsing performance. We will use the [worldcitiespop.txt](http://www.maxmind.com/download/w...
4cbfc5efb655afda0c4c538b1037d9079cd683de
src/PerformanceTest/README.md
src/PerformanceTest/README.md
Markdown
<|file_sep|>components/Tabs.jsx.diff original: updated: var clone = require('../lib/niceClone'); <|file_sep|>original/components/Tabs.jsx }; }, render() { var { children, type, ...props } = this.props; if (type) this.addStyles(this.styles[type]); return ( <ul {...props} {...this.comp...
name: 'Tabs', getDefaultProps() { return { type: 'text' }; }, render() { var { children, type, ...props } = this.props; if (type) this.addStyles(this.styles[type]); return ( <ul {...props} {...this.componentProps()}> {clone(children, (child, i) => ({ key: i, typ...
<|file_sep|>components/Tabs.jsx.diff original: updated: var clone = require('../lib/niceClone'); <|file_sep|>original/components/Tabs.jsx }; }, render() { var { children, type, ...props } = this.props; if (type) this.addStyles(this.styles[type]); return ( <ul {...props} {...this.comp...
4e745820554f6c51201aa25f720ef446941fb3e0
components/Tabs.jsx
components/Tabs.jsx
JSX
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.5.0b3" install: - pip install tox script: - tox notifications: email: true <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.5.0b3" install: - pip install tox script: - tox notifi...
sudo: false language: python python: - "3.5.0b3" install: - pip install tox script: - tox notifications: email: true
<|file_sep|>original/.travis.yml sudo: false language: python python: - "2.7" - "3.5.0b3" install: - pip install tox script: - tox notifications: email: true <|file_sep|>current/.travis.yml sudo: false language: python python: - "2.7" - "3.5.0b3" install: - pip install tox script: - tox notifi...
201d0ea2d76b4081bed0a53ffbab7891c8f73b49
.travis.yml
.travis.yml
YAML
<|file_sep|>original/spec/transitions/fill_in_reply_tokens_transition_spec.rb describe FillInReplyTokensTransition do it "creates a reply token for all users missing a reply token" do users = [create(:user), create(:user)] users.each { |user| user.update_attribute(:reply_token, nil) } FillInReplyTokensTr...
describe FillInReplyTokensTransition do it "creates a reply token for all users missing a reply token" do users = [create(:user), create(:user)] users.each { |user| user.update_attribute(:reply_token, nil) } FillInReplyTokensTransition.new.perform users_without_tokens = User.where(reply_token: nil) ...
<|file_sep|>original/spec/transitions/fill_in_reply_tokens_transition_spec.rb describe FillInReplyTokensTransition do it "creates a reply token for all users missing a reply token" do users = [create(:user), create(:user)] users.each { |user| user.update_attribute(:reply_token, nil) } FillInReplyTokensTr...
d432a3ba9e46164bb9d52dda07bc40afd156734a
spec/transitions/fill_in_reply_tokens_transition_spec.rb
spec/transitions/fill_in_reply_tokens_transition_spec.rb
Ruby
<|file_sep|>app/scripts/controllers/nav-bar.coffee.diff original: .controller 'NavBarCtrl', ($scope, $location, xoApi) -> updated: .controller 'NavBarCtrl', ($scope, $state, xoApi) -> <|file_sep|>app/scripts/controllers/nav-bar.coffee.diff original: $scope.logOut = xoApi.logOut updated: $scope.logOut = -> ...
# TODO: It would make sense to inject xoApi in the scope. $scope.$watch( -> xoApi.status (status) -> $scope.status = status ) $scope.$watch( -> xoApi.user (user) -> $scope.user = user ) $scope.logIn = xoApi.logIn $scope.logOut = -> xoApi.logOut()...
<|file_sep|>app/scripts/controllers/nav-bar.coffee.diff original: .controller 'NavBarCtrl', ($scope, $location, xoApi) -> updated: .controller 'NavBarCtrl', ($scope, $state, xoApi) -> <|file_sep|>app/scripts/controllers/nav-bar.coffee.diff original: $scope.logOut = xoApi.logOut updated: $scope.logOut = -> ...
3cb8d779773545830d37ed414066a6d4c906f777
app/scripts/controllers/nav-bar.coffee
app/scripts/controllers/nav-bar.coffee
CoffeeScript
<|file_sep|>src/Ice/ExternalUserBundle/Form/Type/RegistrationFormType.php.diff original: ->add('plainPassword', 'password') ->add('email', 'email') ->add('title') ->add('firstNames') ->add('lastName') updated: ->add('plainPassword', 'password', arr...
'description' => 'Salutation.', )) ->add('firstNames', 'text', array( 'description' => 'First name(s).', )) ->add('lastName', 'text', array( 'description' => 'Last name.', )) ->add('dob', 'date', arra...
<|file_sep|>src/Ice/ExternalUserBundle/Form/Type/RegistrationFormType.php.diff original: ->add('plainPassword', 'password') ->add('email', 'email') ->add('title') ->add('firstNames') ->add('lastName') updated: ->add('plainPassword', 'password', arr...
20b41ef991f23216bcd80dc24eee2b8e979a6c86
src/Ice/ExternalUserBundle/Form/Type/RegistrationFormType.php
src/Ice/ExternalUserBundle/Form/Type/RegistrationFormType.php
PHP
<|file_sep|>includes/gmail-basic-html-select-all.user.js.diff original: if (/^mail\.google\./i.test(window.location.host)) { updated: if (!/^mail\.google\./i.test(window.location.host)) { <|file_sep|>includes/gmail-basic-html-select-all.user.js.diff original: if (!del) { updated: if ('object' != typeof(...
return; } var cbox = document.createElement('input'); cbox.setAttribute('type', 'checkbox'); cbox.addEventListener('click', function () { var boxes = document.querySelectorAll('input[type="checkbox"]'); [].forEach.call(boxes, function (box) { if (box == cbox) { ...
<|file_sep|>includes/gmail-basic-html-select-all.user.js.diff original: if (/^mail\.google\./i.test(window.location.host)) { updated: if (!/^mail\.google\./i.test(window.location.host)) { <|file_sep|>includes/gmail-basic-html-select-all.user.js.diff original: if (!del) { updated: if ('object' != typeof(...
d43cec73012420f31c89eb25746b9a86634a55e3
includes/gmail-basic-html-select-all.user.js
includes/gmail-basic-html-select-all.user.js
JavaScript
<|file_sep|>original/cmake/SketchUpAPICpp.cmake # TODO(thomthom): Configure for Mac: include_directories(SYSTEM "${SLAPI_INCLUDE_PATH}") include_directories("${CPP_API_INCLUDE_PATH}") file(GLOB_RECURSE CPP_API_HEADERS ${CPP_API_INCLUDE_PATH}/*.hpp) file(GLOB_RECURSE CPP_API_SOURCES ${CPP_API_SOURCE_PATH}/*.cpp) add_l...
# TODO(thomthom): Configure for Mac: include_directories(SYSTEM "${SLAPI_INCLUDE_PATH}") include_directories("${CPP_API_INCLUDE_PATH}") file(GLOB_RECURSE CPP_API_HEADERS ${CPP_API_INCLUDE_PATH}/*.hpp) file(GLOB_RECURSE CPP_API_SOURCES ${CPP_API_SOURCE_PATH}/*.cpp) add_library(SketchUpAPICpp STATIC ${CPP_API_HEADERS} ...
<|file_sep|>original/cmake/SketchUpAPICpp.cmake # TODO(thomthom): Configure for Mac: include_directories(SYSTEM "${SLAPI_INCLUDE_PATH}") include_directories("${CPP_API_INCLUDE_PATH}") file(GLOB_RECURSE CPP_API_HEADERS ${CPP_API_INCLUDE_PATH}/*.hpp) file(GLOB_RECURSE CPP_API_SOURCES ${CPP_API_SOURCE_PATH}/*.cpp) add_l...
57b504b33a92cd901724c7cdbe93886aa29d777d
cmake/SketchUpAPICpp.cmake
cmake/SketchUpAPICpp.cmake
CMake
<|file_sep|>original/blueprints/component/files/app/tests/components/__name__.jsx <|file_sep|>current/blueprints/component/files/app/tests/components/__name__.jsx <|file_sep|>updated/blueprints/component/files/app/tests/components/__name__.jsx
'use strict'; var React = require('react'), TestUtils = require('react-addons-test-utils'), expect = require('chai').expect, __name__ = require('../../components/__name__').default; describe('__name__', function() { describe('#render()', function() { it('should succeed', function() { let compo...
<|file_sep|>original/blueprints/component/files/app/tests/components/__name__.jsx <|file_sep|>current/blueprints/component/files/app/tests/components/__name__.jsx <|file_sep|>updated/blueprints/component/files/app/tests/components/__name__.jsx 'use strict'; var React = require('react'), TestUtils = require('reac...
b02b4744fdeea3007373e05fb36f30bd67a5d294
blueprints/component/files/app/tests/components/__name__.jsx
blueprints/component/files/app/tests/components/__name__.jsx
JSX
<|file_sep|>core/src/main/net/gpdev/gameoflife/GameOfLife.java.diff original: updated: } else { next.unset(i, j); <|file_sep|>core/src/main/net/gpdev/gameoflife/GameOfLife.java.diff original: } else { updated: } else { <|file_s...
} else { final int numNeighbors = current.numNeighbors(i, j); if (numNeighbors == 2 || numNeighbors == 3) { next.set(i, j); } else { next.unset(i, j); } } ...
<|file_sep|>core/src/main/net/gpdev/gameoflife/GameOfLife.java.diff original: updated: } else { next.unset(i, j); <|file_sep|>core/src/main/net/gpdev/gameoflife/GameOfLife.java.diff original: } else { updated: } else { <|file_s...
7c28d667bc0d177feea7f3437ac6206bc5d5da7d
core/src/main/net/gpdev/gameoflife/GameOfLife.java
core/src/main/net/gpdev/gameoflife/GameOfLife.java
Java
<|file_sep|>README.md.diff original: [![wercker status](https://app.wercker.com/status/0b67ee08cd9fbaf0b08eca342d3a1c2b/m "wercker status")](https://app.wercker.com/project/bykey/0b67ee08cd9fbaf0b08eca342d3a1c2b) updated: # blotter: bedford rab research <|file_sep|>original/README.md [![wercker status](https://app.werc...
# blotter: bedford rab research ## Projects Each project exists as a git submodule. To add a project and have it automatically redeploy when the project's GitHub repo is updated requires the following three steps: 1. **Add the project as a submodule.** Run the following from the base `blotter/` directory: git su...
<|file_sep|>README.md.diff original: [![wercker status](https://app.wercker.com/status/0b67ee08cd9fbaf0b08eca342d3a1c2b/m "wercker status")](https://app.wercker.com/project/bykey/0b67ee08cd9fbaf0b08eca342d3a1c2b) updated: # blotter: bedford rab research <|file_sep|>original/README.md [![wercker status](https://app.werc...
40867a299392b9d6e6812573656fc9fd76190330
README.md
README.md
Markdown
<|file_sep|>original/resources/application.rb actions :deploy CFG_PATH = '/etc/profile.d/rails.sh' attribute :directory, kind_of: [String], name_attribute: true attribute :repo, kind_of: [String] attribute :revision, kind_of: [String] attribute :keep_releases, kind_of: [Fixnum] a...
actions :deploy CFG_PATH = '/etc/profile.d/rails.sh' attribute :directory, kind_of: [String], name_attribute: true attribute :user, kind_of: [String], default: 'app' attribute :repo, kind_of: [String] attribute :revision, kind_of: [String] attribute :keep_releases, ...
<|file_sep|>original/resources/application.rb actions :deploy CFG_PATH = '/etc/profile.d/rails.sh' attribute :directory, kind_of: [String], name_attribute: true attribute :repo, kind_of: [String] attribute :revision, kind_of: [String] attribute :keep_releases, kind_of: [Fixnum] a...
dbb19514a2986102ac5344c32f03290f648606e5
resources/application.rb
resources/application.rb
Ruby
<|file_sep|>original/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp <|file_sep|>current/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp <|file_sep|>updated/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
// RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s | FileCheck %s namespace std { typedef decltype(sizeof(int)) size_t; // libc++'s implementation with __size_ replaced by __end_ template <class _E> class initializer_list { const _E* __begin_; const _E* __end_; initializer_list(const _E* __b, ...
<|file_sep|>original/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp <|file_sep|>current/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp <|file_sep|>updated/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp // RUN: %clang_cc1 -std=c++11 -S -emit-llvm -o - %s | FileC...
b859d505f99379eebed40367aa09788b93fca443
test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
C++
<|file_sep|>original/spec/models/person_spec.rb it 'requires first name' do expect(build(:person, first_name: nil)).to be_invalid end it 'requires last name' do expect(build(:person, last_name: nil)).to be_invalid end it 'creates a name from first and last names' do expect(build(:person, ...
it 'requires first name' do expect(build(:person, first_name: nil)).to be_invalid end it 'requires last name' do expect(build(:person, last_name: nil)).to be_invalid end it 'creates a name from first and last names' do expect(build(:person, first_name: 'Roger', last_name: 'Smith').name).t...
<|file_sep|>original/spec/models/person_spec.rb it 'requires first name' do expect(build(:person, first_name: nil)).to be_invalid end it 'requires last name' do expect(build(:person, last_name: nil)).to be_invalid end it 'creates a name from first and last names' do expect(build(:person, ...
7497399dc4371cb3428fd783f8d358f6a86076ec
spec/models/person_spec.rb
spec/models/person_spec.rb
Ruby
<|file_sep|>original/doc/markdown/singlerow.md <!-- dash: #singlerow | Element | ###:Section --> ## Single Row Element - #singlerow {} The single row element is a shortcut for a table with one row. Commonly used by CSS anti-purists to get simple layouts to work in cross-browser scenarious. See [this site](ht...
<!-- dash: #singlerow | Element | ###:Section --> ## Single Row Element - #singlerow {} The single row element is a shortcut for a table with one row. Commonly used by CSS anti-purists to get simple layouts to work in cross-browser scenarious. ### Usage ```erlang #singlerow { cells=[ #tablecell { bod...
<|file_sep|>original/doc/markdown/singlerow.md <!-- dash: #singlerow | Element | ###:Section --> ## Single Row Element - #singlerow {} The single row element is a shortcut for a table with one row. Commonly used by CSS anti-purists to get simple layouts to work in cross-browser scenarious. See [this site](ht...
bdcfcd8109499829d4e65f637a06e048270fccee
doc/markdown/singlerow.md
doc/markdown/singlerow.md
Markdown
<|file_sep|>original/docs/changes.rst ========== Change Log ========== ?.X.? ----- - Modify 'config-atom' command to make a backup of the existing config. 1.3.0 ----- - Add a '--version' option to show the currently installed version. 1.2.0 ----- - Add a 'config-atom' command to configure the atom text editor. 1...
========== Change Log ========== 1.4.0 ----- - Modify 'config-atom' command to make a backup of the existing config. 1.3.0 ----- - Add a '--version' option to show the currently installed version. 1.2.0 ----- - Add a 'config-atom' command to configure the atom text editor. 1.1.2 -----
<|file_sep|>original/docs/changes.rst ========== Change Log ========== ?.X.? ----- - Modify 'config-atom' command to make a backup of the existing config. 1.3.0 ----- - Add a '--version' option to show the currently installed version. 1.2.0 ----- - Add a 'config-atom' command to configure the atom text editor. 1...
e7a6803b8373aea40dcf764805489f7a104e5e0b
docs/changes.rst
docs/changes.rst
reStructuredText
<|file_sep|>Http/backendRoutes.php.diff original: $router->bind('blocks', function ($id) { return app('Modules\Block\Repositories\BlockRepository')->find($id); updated: $router->bind('block', function ($id) { return app(\Modules\Block\Repositories\BlockRepository::class)->find($id); <|file_sep|>original/Http/ba...
<?php $router->bind('block', function ($id) { return app(\Modules\Block\Repositories\BlockRepository::class)->find($id); }); $router->group(['prefix' =>'/block'], function () { get('blocks', ['as' => 'admin.block.block.index', 'uses' => 'BlockController@index']); get('blocks/create', ['as' => 'admin.block...
<|file_sep|>Http/backendRoutes.php.diff original: $router->bind('blocks', function ($id) { return app('Modules\Block\Repositories\BlockRepository')->find($id); updated: $router->bind('block', function ($id) { return app(\Modules\Block\Repositories\BlockRepository::class)->find($id); <|file_sep|>original/Http/ba...
6b491ac08f97668a47cfaec33e4ba31ec008546a
Http/backendRoutes.php
Http/backendRoutes.php
PHP
<|file_sep|>original/app/views/navigation/_main.haml = render 'navigation/desktop' = render 'navigation/mobile' = render 'modal/ask' %button.btn.btn-primary.btn-fab.d-block.d-sm-none{ data: { target: '#modal-ask-followers', toggle: :modal }, type: 'button' } %i.fa.fa-pencil-square-o <|file_sep|>current/app/views/nav...
= render 'navigation/desktop' = render 'navigation/mobile' = render 'modal/ask' %button.btn.btn-primary.btn-fab.d-block.d-lg-none{ data: { target: '#modal-ask-followers', toggle: :modal }, type: 'button' } %i.fa.fa-pencil-square-o
<|file_sep|>original/app/views/navigation/_main.haml = render 'navigation/desktop' = render 'navigation/mobile' = render 'modal/ask' %button.btn.btn-primary.btn-fab.d-block.d-sm-none{ data: { target: '#modal-ask-followers', toggle: :modal }, type: 'button' } %i.fa.fa-pencil-square-o <|file_sep|>current/app/views/nav...
3a8d207b70ccf75cc7e61d9b86b157bb27ce7b6e
app/views/navigation/_main.haml
app/views/navigation/_main.haml
Haml
<|file_sep|>original/.github/ISSUE_TEMPLATE.md **What version of WebTorrent Desktop?** (See the 'About WebTorrent' menu) **What operating system and version?** **What did you do?** **What did you expect to happen?** **What actually happened?** <|file_sep|>current/.github/ISSUE_TEMPLATE.md **What version of WebTorre...
<!-- DO NOT POST LINKS OR REFERENCES TO COPYRIGHTED CONTENT IN YOUR ISSUE. --> **What version of WebTorrent Desktop?** (See the 'About WebTorrent' menu) **What operating system and version?** **What did you do?** **What did you expect to happen?** **What actually happened?**
<|file_sep|>original/.github/ISSUE_TEMPLATE.md **What version of WebTorrent Desktop?** (See the 'About WebTorrent' menu) **What operating system and version?** **What did you do?** **What did you expect to happen?** **What actually happened?** <|file_sep|>current/.github/ISSUE_TEMPLATE.md **What version of WebTorre...
efc984f1dd9fe7dbbb441793d294adbe733a7cc6
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>pages/calendari.md.diff original: ### Trobada informal: Live Hacking & much more _Data_: XXXXXXXXXXXXXXXXX\\ _Lloc_: XXXXXXXXXXXXXXXXX updated: ### Presentació curs 17/18: Live Hacking & trobada informal _Data_: Dimarts 10 d'Octubre de 2017 a les 13:15h\\ _Lloc_: Aula B3 de la Facutat de Matemàtiques i Info...
## Pròximes ### Presentació curs 17/18: Live Hacking & trobada informal _Data_: Dimarts 10 d'Octubre de 2017 a les 13:15h\\ _Lloc_: Aula B3 de la Facutat de Matemàtiques i Informàtica de la UB ### Gestió segura de contrasenyes I: Nivell Usuaris _Data_: A definir\\ _Lloc_: A definir ### Gestió segura de contrasenyes I...
<|file_sep|>pages/calendari.md.diff original: ### Trobada informal: Live Hacking & much more _Data_: XXXXXXXXXXXXXXXXX\\ _Lloc_: XXXXXXXXXXXXXXXXX updated: ### Presentació curs 17/18: Live Hacking & trobada informal _Data_: Dimarts 10 d'Octubre de 2017 a les 13:15h\\ _Lloc_: Aula B3 de la Facutat de Matemàtiques i Info...
74defa14ad11f4dfd5433af65b588763454be8b0
pages/calendari.md
pages/calendari.md
Markdown
<|file_sep|>original/.travis.yml language: php php: - '7.1' - nightly before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-...
language: php php: - '7.1' - '7.2' before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.p...
<|file_sep|>original/.travis.yml language: php php: - '7.1' - nightly before_install: - travis_retry composer self-update install: - travis_retry composer install --no-interaction --prefer-dist script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-...
d3cf607fe71cd4e9dafa037bc2e8f801e749d5c8
.travis.yml
.travis.yml
YAML
<|file_sep|>python/requirements.txt.diff original: updated: caniusepython3 <|file_sep|>python/requirements.txt.diff original: updated: future <|file_sep|>original/python/requirements.txt django fabric flake8 flask httpbin ipython isort laboratory percol pew pip prospector[with_everything] pylint pytest pytest-cov req...
curdling django fabric flake8 flask future httpbin ipython isort laboratory modernize percol pew pip prospector[with_everything] pylint pytest pytest-cov requests saws setuptools
<|file_sep|>python/requirements.txt.diff original: updated: caniusepython3 <|file_sep|>python/requirements.txt.diff original: updated: future <|file_sep|>original/python/requirements.txt django fabric flake8 flask httpbin ipython isort laboratory percol pew pip prospector[with_everything] pylint pytest pytest-cov req...
48da195228d887f6ca6fd8c8242322e272a32c32
python/requirements.txt
python/requirements.txt
Text
<|file_sep|>original/public/javascripts/app/views/gameController.js var GameController = Backbone.View.extend({ template: _.template(closeGameTemplate), close: function(event){ var task = this.selectedTask.get('id'); socket.emit('close game', task); }, killTask: function(){ var re...
var GameController = Backbone.View.extend({ template: _.template(closeGameTemplate), close: function(event){ var task = this.selectedTask.get('id'); socket.emit('close game', task); }, killTask: function(){ var task = this.selectedTask.get('id'); var kill = _.once(function()...
<|file_sep|>original/public/javascripts/app/views/gameController.js var GameController = Backbone.View.extend({ template: _.template(closeGameTemplate), close: function(event){ var task = this.selectedTask.get('id'); socket.emit('close game', task); }, killTask: function(){ var re...
d130e6373de4b79cd414d6b02e37eecce1aee97d
public/javascripts/app/views/gameController.js
public/javascripts/app/views/gameController.js
JavaScript
<|file_sep|>original/src/test/java/org/jutils/jprocesses/util/ProcessesUtilsTest.java import java.text.ParseException; import java.util.Locale; import static org.junit.Assert.*; @SuppressWarnings("Since15") public class ProcessesUtilsTest { @Test public void getCustomDateFormat() throws Exception { assertE...
import java.text.ParseException; import java.util.Locale; import static org.junit.Assert.*; @SuppressWarnings("Since15") public class ProcessesUtilsTest { @Test public void getCustomDateFormat() throws Exception { assertEquals("10/23/2016 08:30:00", ProcessesUtils.parseUnixLongTimeToFullDate("oct 23 08:30:...
<|file_sep|>original/src/test/java/org/jutils/jprocesses/util/ProcessesUtilsTest.java import java.text.ParseException; import java.util.Locale; import static org.junit.Assert.*; @SuppressWarnings("Since15") public class ProcessesUtilsTest { @Test public void getCustomDateFormat() throws Exception { assertE...
ed3cce96eb342439834ef529fd7fbfa361b44cf8
src/test/java/org/jutils/jprocesses/util/ProcessesUtilsTest.java
src/test/java/org/jutils/jprocesses/util/ProcessesUtilsTest.java
Java
<|file_sep|>original/_sass/_footer.scss min-height: 100vh; } .site-wrap { flex: 1; } footer { background-color: $footer-bg-color; border-top: $footer-border-top; color: $footer-color; font-size: $footer-font-size; font-weight: $footer-font-weight; padding: $footer-padding; text-align: center; } foo...
.site-wrap { flex: 1; } footer { background-color: $footer-bg-color; border-top: $footer-border-top; color: $footer-color; font-size: $footer-font-size; font-weight: $footer-font-weight; padding: $footer-padding; text-align: center; } footer .fa { display: inline-block; padding: 0 15px; font-si...
<|file_sep|>original/_sass/_footer.scss min-height: 100vh; } .site-wrap { flex: 1; } footer { background-color: $footer-bg-color; border-top: $footer-border-top; color: $footer-color; font-size: $footer-font-size; font-weight: $footer-font-weight; padding: $footer-padding; text-align: center; } foo...
806a2db295ad1b53b76ef2067f59611c0f0cc698
_sass/_footer.scss
_sass/_footer.scss
SCSS
<|file_sep|>original/.github/workflows/docker-branch.yml <|file_sep|>current/.github/workflows/docker-branch.yml <|file_sep|>updated/.github/workflows/docker-branch.yml
name: Docker Image for specific branch on: workflow_dispatch: inputs: branch: description: 'branch or tag to build' required: true env: ORG: timescaledev TS_VERSION: ${{ github.event.inputs.branch }} PLATFORM: linux/amd64 jobs: # Build ubuntu TimescaleDB images for both TSL and O...
<|file_sep|>original/.github/workflows/docker-branch.yml <|file_sep|>current/.github/workflows/docker-branch.yml <|file_sep|>updated/.github/workflows/docker-branch.yml name: Docker Image for specific branch on: workflow_dispatch: inputs: branch: description: 'branch or tag to build' requ...
f594d6f86d073e8b621a8a1860254a507f91eab5
.github/workflows/docker-branch.yml
.github/workflows/docker-branch.yml
YAML
<|file_sep|>tests/_autoload.php.diff original: // Setup autoloading for ZendTest assets require_once __DIR__ . '/../library/Zend/Loader/StandardAutoloader.php'; $loader = new Zend\Loader\StandardAutoloader( array( Zend\Loader\StandardAutoloader::LOAD_NS => array( 'ZendTest' => __DIR__ . ...
<?php /** * Setup autoloading */ if (file_exists(__DIR__ . '/../vendor/autoload.php')) { include_once __DIR__ . '/../vendor/autoload.php'; } else { // if composer autoloader is missing, explicitly add the ZF library path require_once __DIR__ . '/../library/Zend/Loader/StandardAutoloader.php'; $loader...
<|file_sep|>tests/_autoload.php.diff original: // Setup autoloading for ZendTest assets require_once __DIR__ . '/../library/Zend/Loader/StandardAutoloader.php'; $loader = new Zend\Loader\StandardAutoloader( array( Zend\Loader\StandardAutoloader::LOAD_NS => array( 'ZendTest' => __DIR__ . ...
2ea4896e2302e7ebf4c3a4754a0d793046144d4d
tests/_autoload.php
tests/_autoload.php
PHP
<|file_sep|>spec/dummy/app/controllers/content_controller.rb.diff original: require "pry" updated: <|file_sep|>original/spec/dummy/app/controllers/content_controller.rb require "pry" class ContentController < ApplicationController before_filter :track_user def home binding.pry end end <|file_sep|>current...
class ContentController < ApplicationController before_filter :track_user def home end end
<|file_sep|>spec/dummy/app/controllers/content_controller.rb.diff original: require "pry" updated: <|file_sep|>original/spec/dummy/app/controllers/content_controller.rb require "pry" class ContentController < ApplicationController before_filter :track_user def home binding.pry end end <|file_sep|>current...
5ff71e919e3c2147f0a39affeff1a2009c5f3beb
spec/dummy/app/controllers/content_controller.rb
spec/dummy/app/controllers/content_controller.rb
Ruby
<|file_sep|>original/composer.json { "name": "bossa/phpspec2-expect", "description": "Helper that decorates any SUS with a phpspec lazy object wrapper", "keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"], "license": "MIT", "authors": [ { "name...
{ "name": "bossa/phpspec2-expect", "description": "Helper that decorates any SUS with a phpspec lazy object wrapper", "keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"], "license": "MIT", "authors": [ { "name": "Marcello Duarte", ...
<|file_sep|>original/composer.json { "name": "bossa/phpspec2-expect", "description": "Helper that decorates any SUS with a phpspec lazy object wrapper", "keywords": ["BDD", "SpecBDD", "TDD", "spec", "specification"], "license": "MIT", "authors": [ { "name...
95c5dde0d87c1ef8b36a78048b4637ef90366446
composer.json
composer.json
JSON
<|file_sep|>indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java.diff original: updated: import android.graphics.Matrix; <|file_sep|>original/indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java import android.support.annotation.NonNull; import android.view.View; import android.widget.Ima...
import android.graphics.Matrix; import android.support.annotation.NonNull; import android.view.View; import android.widget.ImageView; /** * ViewHolder for a {@link CutoutViewIndicator}. * * Can be used like a {@link android.widget.ProgressBar}, only more straightforward. * <br/><br/> * Call {@link OffSetters#offs...
<|file_sep|>indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java.diff original: updated: import android.graphics.Matrix; <|file_sep|>original/indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java import android.support.annotation.NonNull; import android.view.View; import android.widget.Ima...
10d1e9f2cb92bcb739d9bbc65338216cefc76b6e
indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java
indicator/src/main/java/com/fuzz/indicator/IndicatorViewHolder.java
Java
<|file_sep|>original/bower.json "angular": "1.2", "angular-route": "1.2", "angular-mocks": "1.2", "angular-ui-bootstrap-bower": "0.8.0", "angular-sanitize": "1.2", "angular-ui-select2": "0.0.4", "ckeditor":"4", "bootstrap": "2.3.2", "html5shiv-dist": "3.6.2", "jquery": "1.10", ...
"angular-route": "1.2", "angular-mocks": "1.2", "angular-ui-bootstrap-bower": "0.8.0", "angular-sanitize": "1.2", "angular-ui-select2": "0.0.4", "ckeditor":"4", "bootstrap": "2.3.2", "html5shiv-dist": "3.6.2", "jquery": "1.10", "jquery-ui": "1", "select2": "3.4.3", "under...
<|file_sep|>original/bower.json "angular": "1.2", "angular-route": "1.2", "angular-mocks": "1.2", "angular-ui-bootstrap-bower": "0.8.0", "angular-sanitize": "1.2", "angular-ui-select2": "0.0.4", "ckeditor":"4", "bootstrap": "2.3.2", "html5shiv-dist": "3.6.2", "jquery": "1.10", ...
2806ed3bbe0a2e8cee701e039683a028e5612f7c
bower.json
bower.json
JSON
<|file_sep|>original/_config.yml # Site settings title: UI Guidelines description: Front-end coding guidelines for Bright Interactive baseurl: "/ui-guidelines" # the subpath of your site, e.g. /blog/ url: "http://brightinteractive.github.io" # the base hostname & protocol for your site twitter_username: bright...
# Site settings title: UI Guidelines description: Front-end coding guidelines for Bright Interactive baseurl: "/ui-guidelines" # the subpath of your site, e.g. /blog/ url: "http://brightinteractive.github.io" # the base hostname & protocol for your site twitter_username: brightinteract github_username: jekyll...
<|file_sep|>original/_config.yml # Site settings title: UI Guidelines description: Front-end coding guidelines for Bright Interactive baseurl: "/ui-guidelines" # the subpath of your site, e.g. /blog/ url: "http://brightinteractive.github.io" # the base hostname & protocol for your site twitter_username: bright...
db3ce2aeced04a91c185212f9380523b6eeeeffc
_config.yml
_config.yml
YAML
<|file_sep|>original/github-dorks.txt filename:.bash_profile aws rds.amazonaws.com password extension:json api.forecast.io extension:json mongolab.com extension:yaml mongolab.com jsforce extension:js conn.login SF_USERNAME "salesforce" filename:.tugboat NOT "_tugboat" HEROKU_API_KEY language:shell HEROKU_API_KEY langua...
rds.amazonaws.com password extension:json api.forecast.io extension:json mongolab.com extension:yaml mongolab.com jsforce extension:js conn.login SF_USERNAME "salesforce" filename:.tugboat NOT "_tugboat" HEROKU_API_KEY language:shell HEROKU_API_KEY language:json filename:.netrc password filename:_netrc password filenam...
<|file_sep|>original/github-dorks.txt filename:.bash_profile aws rds.amazonaws.com password extension:json api.forecast.io extension:json mongolab.com extension:yaml mongolab.com jsforce extension:js conn.login SF_USERNAME "salesforce" filename:.tugboat NOT "_tugboat" HEROKU_API_KEY language:shell HEROKU_API_KEY langua...
a8fccb3f28d63adc03b2ffa6a87323e4cd41b884
github-dorks.txt
github-dorks.txt
Text
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml
name: Build and deploy on: push: branches: - master jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Build run: | npm install npm run build - name: Set up SSH uses: webfactory/ssh-...
<|file_sep|>original/.github/workflows/main.yml <|file_sep|>current/.github/workflows/main.yml <|file_sep|>updated/.github/workflows/main.yml name: Build and deploy on: push: branches: - master jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/che...
69cd18994f3e3c4cf3ca27cc79cad0120c910f3c
.github/workflows/main.yml
.github/workflows/main.yml
YAML
<|file_sep|>original/templates/pages/contribute.html <p> <script data-gittip-username="pydanny" data-gittip-widget="button" src="//gttp.co/v1.js"></script> Daniel Greenfeld </p> <h3>Hosting</h3> <p>{{ SITE_TITLE }} is hosted by the nice folks at <a href="https://heroku.com">Heroku</...
data-gittip-widget="button" src="//gttp.co/v1.js"></script> Audrey Roy </p> <p> <script data-gittip-username="pydanny" data-gittip-widget="button" src="//gttp.co/v1.js"></script> Daniel Greenfeld </p> <h3>Contributing code</h3> <p>This project has had ove...
<|file_sep|>original/templates/pages/contribute.html <p> <script data-gittip-username="pydanny" data-gittip-widget="button" src="//gttp.co/v1.js"></script> Daniel Greenfeld </p> <h3>Hosting</h3> <p>{{ SITE_TITLE }} is hosted by the nice folks at <a href="https://heroku.com">Heroku</...
e826ae1f4b6eca150aeb1f4756796b1aacce146a
templates/pages/contribute.html
templates/pages/contribute.html
HTML
<|file_sep|>lib/rlyeh/deep_ones/me.rb.diff original: updated: @registered = false <|file_sep|>lib/rlyeh/deep_ones/me.rb.diff original: env.me = self env.message.prefix = to_prefix env.sender = Rlyeh::Target.new(env, @nick) @app.call env if @app updated: if registered? ...
def registered? !!@registered end on :pass do |env| @pass = env.message.params[0] end on :nick do |env| @nick = env.message.params[0] end on :user do |env| @user = env.message.params[0] @real = env.message.params[3] @host = env...
<|file_sep|>lib/rlyeh/deep_ones/me.rb.diff original: updated: @registered = false <|file_sep|>lib/rlyeh/deep_ones/me.rb.diff original: env.me = self env.message.prefix = to_prefix env.sender = Rlyeh::Target.new(env, @nick) @app.call env if @app updated: if registered? ...
11fbc090d4c50a83ba394cc19a2d272cf0ec14a3
lib/rlyeh/deep_ones/me.rb
lib/rlyeh/deep_ones/me.rb
Ruby
<|file_sep|>tox.ini.diff original: py27-{16,17,18}, pypy-{16,17,18} updated: py27-{16,17,18,19}, pypy-{16,17,18,19} <|file_sep|>original/tox.ini [tox] minversion = 1.8 envlist = py26-{16}, py27-{16,17,18}, pypy-{16,17,18} [testenv] deps = 16: Django >= 1.6, < 1.7 17: Django >= 1.7, ...
[tox] minversion = 1.8 envlist = py26-{16}, py27-{16,17,18,19}, pypy-{16,17,18,19} [testenv] deps = 16: Django >= 1.6, < 1.7 17: Django >= 1.7, < 1.8 18: Django >= 1.8, < 1.9 19: Django >= 1.9, < 1.10 -r{toxinidir}/requirements/tests.txt commands = python runtests.py
<|file_sep|>tox.ini.diff original: py27-{16,17,18}, pypy-{16,17,18} updated: py27-{16,17,18,19}, pypy-{16,17,18,19} <|file_sep|>original/tox.ini [tox] minversion = 1.8 envlist = py26-{16}, py27-{16,17,18}, pypy-{16,17,18} [testenv] deps = 16: Django >= 1.6, < 1.7 17: Django >= 1.7, ...
30037e8196e038be501e0c3f156cb0c802f0b395
tox.ini
tox.ini
INI
<|file_sep|>original/setup.py def read_from(filename): with open(path.join(project_dir, filename), encoding='utf-8') as f: return f.read().strip() setup( name='nlist', version=read_from('VERSION'), description='A lightweight multidimensional list in Python', long_description=read_from('RE...
def read_from(filename): with open(path.join(project_dir, filename), encoding='utf-8') as f: return f.read().strip() setup( name='nlist', version=read_from('VERSION'), description='A lightweight multidimensional list in Python', long_description='\n'.join(read_from('README.rst').splitline...
<|file_sep|>original/setup.py def read_from(filename): with open(path.join(project_dir, filename), encoding='utf-8') as f: return f.read().strip() setup( name='nlist', version=read_from('VERSION'), description='A lightweight multidimensional list in Python', long_description=read_from('RE...
e1595a489ef7a5243dd4bf759a393338257e02dd
setup.py
setup.py
Python
<|file_sep|>.travis.yml.diff original: before_install: npm install -g grunt-cli updated: before_install: # Update NPM, so installing stuff which uses the new ^ syntax in their # dependencies doesn't error the build. - npm install -g npm - npm install -g grunt-cli <|file_sep|>original/.travis.yml before_install: ...
before_install: # Update NPM, so installing stuff which uses the new ^ syntax in their # dependencies doesn't error the build. - npm install -g npm - npm install -g grunt-cli language: node_js node_js: - 0.10
<|file_sep|>.travis.yml.diff original: before_install: npm install -g grunt-cli updated: before_install: # Update NPM, so installing stuff which uses the new ^ syntax in their # dependencies doesn't error the build. - npm install -g npm - npm install -g grunt-cli <|file_sep|>original/.travis.yml before_install: ...
cf2fcaea46de7e5453f41bafff7c6c8e57d5b19d
.travis.yml
.travis.yml
YAML