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/articles/client-platforms/jquery/00-intro.md ## 1. Create an Application <%= include('../../_includes/_new_app') %>_ ![App Dashboard](/media/articles/angularjs/app_dashboard.png) ## 2. Dependencies To integrate your jQuery application with Auth0, add the Lock widget. You can get it from Bower o...
## 1. Create an Application <%= include('../../_includes/_new_app') %>_ ![App Dashboard](/media/articles/angularjs/app_dashboard.png) ## 2. Dependencies To integrate your jQuery application with Auth0, add the Lock widget. You can get it from Bower or from the Auth0 CDN. **Bower** ```bash bower install auth0-lock...
<|file_sep|>original/articles/client-platforms/jquery/00-intro.md ## 1. Create an Application <%= include('../../_includes/_new_app') %>_ ![App Dashboard](/media/articles/angularjs/app_dashboard.png) ## 2. Dependencies To integrate your jQuery application with Auth0, add the Lock widget. You can get it from Bower o...
ee5b21cde1fe1fc7ea47d929d2fe897c286097e4
articles/client-platforms/jquery/00-intro.md
articles/client-platforms/jquery/00-intro.md
Markdown
<|file_sep|>original/LICENSE.txt The MIT License (MIT) Copyright (c) 2016 Jarkko Laaksonen, Oliver Vartiainen <oliver.a.vartiainen@gmail.com> 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 MIT License (MIT) Copyright (c) 2016 Jarkko Laaksonen, Oliver Vartiainen <firoxer@gmail.com> 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 ...
<|file_sep|>original/LICENSE.txt The MIT License (MIT) Copyright (c) 2016 Jarkko Laaksonen, Oliver Vartiainen <oliver.a.vartiainen@gmail.com> 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...
f2de3272e3c074d952a377653fe3a1ec57482242
LICENSE.txt
LICENSE.txt
Text
<|file_sep|>original/src/generic/network-options.ts enableMonitoring: true, areAllContactsUproxy: true, supportsReconnect: true, supportsInvites: true }, 'GMail': { isFirebase: true, enableMonitoring: true, areAllContactsUproxy: true, supportsReconnect: true, supportsInvites: tru...
areAllContactsUproxy: true, supportsReconnect: true, supportsInvites: true }, 'WeChat': { isFirebase: false, enableMonitoring: false, areAllContactsUproxy: false, supportsReconnect: false, supportsInvites: false, isExperimental: true }, 'GitHub': { isFirebase: false, ...
<|file_sep|>original/src/generic/network-options.ts enableMonitoring: true, areAllContactsUproxy: true, supportsReconnect: true, supportsInvites: true }, 'GMail': { isFirebase: true, enableMonitoring: true, areAllContactsUproxy: true, supportsReconnect: true, supportsInvites: tru...
3e3606ef0ada52d6d332354041007772afba6964
src/generic/network-options.ts
src/generic/network-options.ts
TypeScript
<|file_sep|>original/.travis.yml language: node_js node_js: ["0.11", "0.10", "0.9", "0.8", "0.6"] install: npm install script: npm test notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: ["0.11", "0.10", "0.9", "0.8", "0.6"] install: npm install script: npm test notifications...
language: node_js node_js: ["0.11", "0.10", "0.8", "0.6"] install: npm install script: npm test notifications: email: false
<|file_sep|>original/.travis.yml language: node_js node_js: ["0.11", "0.10", "0.9", "0.8", "0.6"] install: npm install script: npm test notifications: email: false <|file_sep|>current/.travis.yml language: node_js node_js: ["0.11", "0.10", "0.9", "0.8", "0.6"] install: npm install script: npm test notifications...
395869f0dcac0d25c0d44094570ddd32d42215e2
.travis.yml
.travis.yml
YAML
<|file_sep|>original/FightingFantasy/FFImageView.swift <|file_sep|>current/FightingFantasy/FFImageView.swift <|file_sep|>updated/FightingFantasy/FFImageView.swift
// FightingFantasy // Created by Tony Smith on 10/30/17. // Copyright © 2017 Tony Smith. All rights reserved. import Cocoa class FFImageView: NSImageView { override func mouseUp(with event: NSEvent) { let clickCount = event.clickCount if clickCount == 2 { self.alphaValue = self....
<|file_sep|>original/FightingFantasy/FFImageView.swift <|file_sep|>current/FightingFantasy/FFImageView.swift <|file_sep|>updated/FightingFantasy/FFImageView.swift // FightingFantasy // Created by Tony Smith on 10/30/17. // Copyright © 2017 Tony Smith. All rights reserved. import Cocoa class FFImageView: NSImag...
bd98b0a365b841faea31220b5e5b5a62292486ef
FightingFantasy/FFImageView.swift
FightingFantasy/FFImageView.swift
Swift
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net trigger: - master pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' ...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save build artifacts, and more: # https://docs.microsoft.com/azure/devo...
74b86ce8609f9cb55d5b5fc1bc29c74371ff1273
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/app/views/spree/addresses/_form.html.erb <% address_id = address_type.chars.first %> <% ADDRESS_FIELDS.each do |field| %> <% if field == "country" %> <p class="form-group" id="<%= "#{address_id}country" %>"> <%= address_form.label :country_id, Spree.t(:country) %><span class="required"...
<% address_id = address_type.chars.first %> <% ADDRESS_FIELDS.each do |field| %> <% if field == "country" %> <p class="form-group" id="<%= "#{address_id}country" %>"> <%= address_form.label :country_id, Spree.t(:country) %><span class="required">*</span><br /> <span id="<%= "#{address_id}country-sele...
<|file_sep|>original/app/views/spree/addresses/_form.html.erb <% address_id = address_type.chars.first %> <% ADDRESS_FIELDS.each do |field| %> <% if field == "country" %> <p class="form-group" id="<%= "#{address_id}country" %>"> <%= address_form.label :country_id, Spree.t(:country) %><span class="required"...
d5b8afeb1064e4e56eab9bf21e4ac82c75cd66d5
app/views/spree/addresses/_form.html.erb
app/views/spree/addresses/_form.html.erb
HTML+ERB
<|file_sep|>original/app/src/js/modules/buic/select.js * @private * @type {Object} */ var select = {}; /** * Bind BUIC selects. * * @static * @function init * @memberof Bolt.buic.select * * @param {Object} buic */ select.init = function (buic) { };...
/** * Bind BUIC selects. * * @static * @function init * @memberof Bolt.buic.select * * @param {Object} buic */ select.init = function (buic) { var select = $(buic).find('select'), buttonAll = $(buic).find('.select-all'), buttonNone = $(buic...
<|file_sep|>original/app/src/js/modules/buic/select.js * @private * @type {Object} */ var select = {}; /** * Bind BUIC selects. * * @static * @function init * @memberof Bolt.buic.select * * @param {Object} buic */ select.init = function (buic) { };...
0694b75256965a71d7bc443583d91149a447468b
app/src/js/modules/buic/select.js
app/src/js/modules/buic/select.js
JavaScript
<|file_sep|>original/tools/humann2/transform_json_to_pkl.py <|file_sep|>current/tools/humann2/transform_json_to_pkl.py <|file_sep|>updated/tools/humann2/transform_json_to_pkl.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import cPickle as pickle import bz2 import json import argparse def transform_json_to_pkl(args): with open(args.json_input, 'r') as json_file: json_str = json_file.read() metadata = json.loads(json_str) for marker in metadata["markers"]: ...
<|file_sep|>original/tools/humann2/transform_json_to_pkl.py <|file_sep|>current/tools/humann2/transform_json_to_pkl.py <|file_sep|>updated/tools/humann2/transform_json_to_pkl.py #!/usr/bin/env python # -*- coding: utf-8 -*- import cPickle as pickle import bz2 import json import argparse def transform_json_to_pkl(ar...
800beaf2cbff9fe42fe8879d5fbeaa650cb23980
tools/humann2/transform_json_to_pkl.py
tools/humann2/transform_json_to_pkl.py
Python
<|file_sep|>app/soc/templates/soc/templatetags/_field_as_table_row.html.diff original: <td>&nbsp;</td> <td colspan="2" class="formfielderror"> updated: <td colspan="3" class="formfielderror"> <|file_sep|>app/soc/templates/soc/templatetags/_field_as_table_row.html.diff original: updated: {% if field.errors %} <td c...
</tr> {% endif %} <tr> {% if field.errors %} <td class="formfielderrorlabel"> {% else %} <td class="formfieldlabel"> {% endif %} <label for="{{ field.auto_id }}">{{ field.label }} </label> </td> <td> {{ field }} </td> <td class="formfieldrequired"> {% if field.field.required %}(required){% endif %} </...
<|file_sep|>app/soc/templates/soc/templatetags/_field_as_table_row.html.diff original: <td>&nbsp;</td> <td colspan="2" class="formfielderror"> updated: <td colspan="3" class="formfielderror"> <|file_sep|>app/soc/templates/soc/templatetags/_field_as_table_row.html.diff original: updated: {% if field.errors %} <td c...
05fb981032c104cb33afb895e7549ed409567072
app/soc/templates/soc/templatetags/_field_as_table_row.html
app/soc/templates/soc/templatetags/_field_as_table_row.html
HTML
<|file_sep|>original/yagocd/resources/base.py # THE SOFTWARE. # ############################################################################### from easydict import EasyDict class Base(object): def __init__(self, session, data): self._session = session self._data = EasyDict(data) self.ba...
class Base(object): def __init__(self, session, data): self._session = session self._data = EasyDict(data) self.base_api = self._session.base_api() @property def data(self): return self._data def __str__(self): return self.data.__str__() def __repr__(self...
<|file_sep|>original/yagocd/resources/base.py # THE SOFTWARE. # ############################################################################### from easydict import EasyDict class Base(object): def __init__(self, session, data): self._session = session self._data = EasyDict(data) self.ba...
183aacf12405eec38ba8b2193f8f89904d415c4a
yagocd/resources/base.py
yagocd/resources/base.py
Python
<|file_sep|>original/tsconfig.json { "compilerOptions": { "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es5", "module": "commonjs", "moduleResolution": "node", "removeComments": true, "sourceMap": true, "declaration": true, "outDir": "dist", "lib": [...
{ "compilerOptions": { "emitDecoratorMetadata": true, "strictNullChecks": true, "experimentalDecorators": true, "target": "es5", "module": "commonjs", "moduleResolution": "node", "removeComments": true, "sourceMap": true, "declaration": true, "outDir": "dist", "lib": [ ...
<|file_sep|>original/tsconfig.json { "compilerOptions": { "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es5", "module": "commonjs", "moduleResolution": "node", "removeComments": true, "sourceMap": true, "declaration": true, "outDir": "dist", "lib": [...
0566b06f1b83682660504de0f3abef1d02af6e83
tsconfig.json
tsconfig.json
JSON
<|file_sep|>original/microcosm_pubsub/chain/__init__.py from microcosm_pubsub.chain.chain import Chain # noqa: F401 from microcosm_pubsub.chain.decorators import binds, extracts # noqa: F401 from microcosm_pubsub.chain.statements import extract, when, switch, try_chain # noqa: F401 <|file_sep|>current/microcosm_pubs...
from microcosm_pubsub.chain.chain import Chain # noqa: F401 from microcosm_pubsub.chain.decorators import binds, extracts # noqa: F401 from microcosm_pubsub.chain.statements import extract, when, switch, try_chain, for_each # noqa: F401
<|file_sep|>original/microcosm_pubsub/chain/__init__.py from microcosm_pubsub.chain.chain import Chain # noqa: F401 from microcosm_pubsub.chain.decorators import binds, extracts # noqa: F401 from microcosm_pubsub.chain.statements import extract, when, switch, try_chain # noqa: F401 <|file_sep|>current/microcosm_pubs...
b15bf76c9a3d3a55423923038e374695a7b302a8
microcosm_pubsub/chain/__init__.py
microcosm_pubsub/chain/__init__.py
Python
<|file_sep|>original/poems/proposals/el-idioma-de-los-dioses.md <|file_sep|>current/poems/proposals/el-idioma-de-los-dioses.md <|file_sep|>updated/poems/proposals/el-idioma-de-los-dioses.md
--- title: El idioma de los dioses (música) author: Nach - 2011 --- Si estoy solo tú me acoges eres mi fiel compañía, Me hablas sincera y me esperas cuando empieza el día, Mi guía, mi faro de Alejandría, si me ves perdido Te miro y elimino la tristeza en un suspiro. Das sentido a mi existencia, tú, desobediencia, Tú, ...
<|file_sep|>original/poems/proposals/el-idioma-de-los-dioses.md <|file_sep|>current/poems/proposals/el-idioma-de-los-dioses.md <|file_sep|>updated/poems/proposals/el-idioma-de-los-dioses.md --- title: El idioma de los dioses (música) author: Nach - 2011 --- Si estoy solo tú me acoges eres mi fiel compañía, Me hablas ...
f79ce84dfc316f20287b8ab4c7c7442ca7ef895a
poems/proposals/el-idioma-de-los-dioses.md
poems/proposals/el-idioma-de-los-dioses.md
Markdown
<|file_sep|>original/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp // UNSUPPORTED: libcpp-has-no-threads // <shared_mutex> // template <class Mutex> class shared_lock; // shared_lock(mutex_type& m, adopt_lock_t); #include <shared_mutex> #include <casse...
// UNSUPPORTED: libcpp-has-no-threads // <shared_mutex> // template <class Mutex> class shared_lock; // shared_lock(mutex_type& m, adopt_lock_t); #include <shared_mutex> #include <cassert> int main() { #if _LIBCPP_STD_VER > 11 std::shared_timed_mutex m; m.lock_shared(); std::shared_lock<std::shared_tim...
<|file_sep|>original/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp // UNSUPPORTED: libcpp-has-no-threads // <shared_mutex> // template <class Mutex> class shared_lock; // shared_lock(mutex_type& m, adopt_lock_t); #include <shared_mutex> #include <casse...
91220d104379729e1fa9e2335c278d3aea3ebc62
test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp
test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp
C++
<|file_sep|>data-structures/trees/binary/main.cpp.diff original: updated: if (treeInspector.isEmpty()) { out << id << "[label=\"NULL\" shape=point];" << endl; return; } <|file_sep|>original/data-structures/trees/binary/main.cpp { out << id << " -> " << id + 1 << ";" << endl; treeInspector.goLeft(); dotPr...
out << id << "[label=\"NULL\" shape=point];" << endl; return; } out << id << "[label=\"" << treeInspector.getData() << "\"];" << endl; out << id << " -> " << 2*id + 1 << ";" << endl; dotPrint<T>(out, treeInspector.left(), 2*id + 1); out << id << " -> " << 2*id + 2 << ";" << endl; dotPrint<T>(out, treeInspec...
<|file_sep|>data-structures/trees/binary/main.cpp.diff original: updated: if (treeInspector.isEmpty()) { out << id << "[label=\"NULL\" shape=point];" << endl; return; } <|file_sep|>original/data-structures/trees/binary/main.cpp { out << id << " -> " << id + 1 << ";" << endl; treeInspector.goLeft(); dotPr...
8be98d780ee6d6897f220d5c787dceb0b75e5a2f
data-structures/trees/binary/main.cpp
data-structures/trees/binary/main.cpp
C++
<|file_sep|>original/URLGreyTests/UTITests.swift // // Created by Zachary Waldowski on 12/10/14. // Copyright © 2014-2015. Some rights reserved. // import URLGrey import XCTest class UTITests: XCTestCase { func testPreferredTagInitShouldntFail() { let type = UTI(preferredTag: .FilenameExtension("il...
// // UTITests.swift // URLGrey // // Created by Zachary Waldowski on 12/10/14. // Copyright © 2014-2015. Some rights reserved. // import URLGrey import XCTest class UTITests: XCTestCase { func testPreferredTagInitShouldntFail() { let type = UTI(preferredTag: .FilenameExtension("illogicallylongfi...
<|file_sep|>original/URLGreyTests/UTITests.swift // // Created by Zachary Waldowski on 12/10/14. // Copyright © 2014-2015. Some rights reserved. // import URLGrey import XCTest class UTITests: XCTestCase { func testPreferredTagInitShouldntFail() { let type = UTI(preferredTag: .FilenameExtension("il...
780ba380e9e7f098cd7e837258c26cb9857ce840
URLGreyTests/UTITests.swift
URLGreyTests/UTITests.swift
Swift
<|file_sep|>original/examples/dept.csv 1, "accounting", 5 2, "human resources" 2 3, "engineering", 2 4, "sales", 7 <|file_sep|>current/examples/dept.csv 1, "accounting", 5 2, "human resources" 2 3, "engineering", 2 4, "sales", 7 <|file_sep|>updated/examples/dept.csv
1, "accounting", 5 2, "human resources", 2 3, "engineering", 2 4, "sales", 7
<|file_sep|>original/examples/dept.csv 1, "accounting", 5 2, "human resources" 2 3, "engineering", 2 4, "sales", 7 <|file_sep|>current/examples/dept.csv 1, "accounting", 5 2, "human resources" 2 3, "engineering", 2 4, "sales", 7 <|file_sep|>updated/examples/dept.csv 1, "accounting", 5 2, "human resources", 2 3, "engine...
e1642421b5b23ea6b48d2b6dada595f2a4e19943
examples/dept.csv
examples/dept.csv
CSV
<|file_sep|>original/app/views/shared/_minister_selection.html.slim .minister-dropdown.form-group id="answering-minister-form-#{question.try(:id)}" label.form-label for="commission_form_minister_id" Answering minister = form.collection_select(:minister_id, Minister.active_or_having_id(question.minister_id), :id, :n...
.minister-dropdown.form-group id="answering-minister-form-#{question.try(:id)}" label.form-label for="commission_form_minister_id" Answering minister = form.collection_select(:minister_id, Minister.active_or_having_id(question.minister_id), :id, :name_with_inactive_status, {include_blank: true}, { class: 'minister-...
<|file_sep|>original/app/views/shared/_minister_selection.html.slim .minister-dropdown.form-group id="answering-minister-form-#{question.try(:id)}" label.form-label for="commission_form_minister_id" Answering minister = form.collection_select(:minister_id, Minister.active_or_having_id(question.minister_id), :id, :n...
9dd84aadeda075492e8bde36ea1c2f7ffb82505a
app/views/shared/_minister_selection.html.slim
app/views/shared/_minister_selection.html.slim
Slim
<|file_sep|>src/requirements.txt.diff original: Django==1.8a1 updated: Django==1.8b1 <|file_sep|>original/src/requirements.txt slimit lxml # Polyfill for Python <3.4 # Remove this, when Python 3.3 support is dropped flufl.enum # Debugging requirements django-debug-toolbar # Testing requirements pyflakes pep8 pep8-na...
slimit lxml # Polyfill for Python <3.4 # Remove this, when Python 3.3 support is dropped flufl.enum # Debugging requirements django-debug-toolbar # Testing requirements pyflakes pep8==1.5.7 # exact requirement by flake8 2.4.0 pep8-naming flake8 coveralls coverage selenium # PyVirtualDisplay # -e git+https://github....
<|file_sep|>src/requirements.txt.diff original: Django==1.8a1 updated: Django==1.8b1 <|file_sep|>original/src/requirements.txt slimit lxml # Polyfill for Python <3.4 # Remove this, when Python 3.3 support is dropped flufl.enum # Debugging requirements django-debug-toolbar # Testing requirements pyflakes pep8 pep8-na...
099158603d713967180668af18d75941ee9b6f5e
src/requirements.txt
src/requirements.txt
Text
<|file_sep|>original/composer.json "homepage": "https://arda.pw/", "license": "MIT", "authors": [{ "name": "Arda Kilicdagi", "email": "arda@kilicdagi.com" }], "require": { "php": ">=5.6.4", "guzzlehttp/guzzle": "6.3.3", "illuminate/database": "6.5.0", "symfony/console": "4.3.6", "s...
"homepage": "https://arda.pw/", "license": "MIT", "authors": [{ "name": "Arda Kilicdagi", "email": "arda@kilicdagi.com" }], "require": { "php": ">=5.6.4", "guzzlehttp/guzzle": "6.3.3", "illuminate/database": "6.5.0", "symfony/console": "4.3.7", "symfony/yaml": "4.3.7" }, "autol...
<|file_sep|>original/composer.json "homepage": "https://arda.pw/", "license": "MIT", "authors": [{ "name": "Arda Kilicdagi", "email": "arda@kilicdagi.com" }], "require": { "php": ">=5.6.4", "guzzlehttp/guzzle": "6.3.3", "illuminate/database": "6.5.0", "symfony/console": "4.3.6", "s...
b37dc08a04c215e97eadc8810b3d0320fb8edbc3
composer.json
composer.json
JSON
<|file_sep|>original/features/find-broadcasts/broadcast_view_on_click.feature <|file_sep|>current/features/find-broadcasts/broadcast_view_on_click.feature <|file_sep|>updated/features/find-broadcasts/broadcast_view_on_click.feature
@121 Feature: Show broadcast modal on click As a user I would like to see a detailed view whenever I click on the title of a broadcast In order to recap and see the description of that broadcast again
<|file_sep|>original/features/find-broadcasts/broadcast_view_on_click.feature <|file_sep|>current/features/find-broadcasts/broadcast_view_on_click.feature <|file_sep|>updated/features/find-broadcasts/broadcast_view_on_click.feature @121 Feature: Show broadcast modal on click As a user I would like to see a detail...
dadb3e9c3a93e529b315a55c23fabd390e439fd3
features/find-broadcasts/broadcast_view_on_click.feature
features/find-broadcasts/broadcast_view_on_click.feature
Cucumber
<|file_sep|>original/lib/fabrication/fabricator.rb class Fabrication::Fabricator def initialize(class_name, &block) klass = class_for(class_name) if klass.ancestors.include?(ActiveRecord::Base) @fabricator = Fabrication::Generator::ActiveRecord.new(klass, &block) else @fabricator = Fabricatio...
class Fabrication::Fabricator def initialize(class_name, &block) klass = class_for(class_name) if defined?(ActiveRecord) && klass.ancestors.include?(ActiveRecord::Base) @fabricator = Fabrication::Generator::ActiveRecord.new(klass, &block) else @fabricator = Fabrication::Generator::Base.new(kl...
<|file_sep|>original/lib/fabrication/fabricator.rb class Fabrication::Fabricator def initialize(class_name, &block) klass = class_for(class_name) if klass.ancestors.include?(ActiveRecord::Base) @fabricator = Fabrication::Generator::ActiveRecord.new(klass, &block) else @fabricator = Fabricatio...
b63ca245de07a848c399e62150b9b75e7d7d55e0
lib/fabrication/fabricator.rb
lib/fabrication/fabricator.rb
Ruby
<|file_sep|>original/scala3doc/resources/dotty_res/styles/search-bar.css <|file_sep|>current/scala3doc/resources/dotty_res/styles/search-bar.css <|file_sep|>updated/scala3doc/resources/dotty_res/styles/search-bar.css
/* Global search */ .search-content { padding: 0; margin: var(--content-padding); position: absolute; top: 0; right: 0; z-index: 5; background: none; } /* button */ .search button { background: none; fill: var(--icon-color); cursor: pointer; border: none; padding: 0; } .search button:hover { ...
<|file_sep|>original/scala3doc/resources/dotty_res/styles/search-bar.css <|file_sep|>current/scala3doc/resources/dotty_res/styles/search-bar.css <|file_sep|>updated/scala3doc/resources/dotty_res/styles/search-bar.css /* Global search */ .search-content { padding: 0; margin: var(--content-padding); position: abs...
72865de68e7d9c3f6f5abc43034cd81b61c705aa
scala3doc/resources/dotty_res/styles/search-bar.css
scala3doc/resources/dotty_res/styles/search-bar.css
CSS
<|file_sep|>package.json.diff original: "version": "0.1.7", updated: "version": "0.1.8", <|file_sep|>original/package.json "docts": "docts", "lint": "tslint -c src/tslint.json src/*.ts", "prepublish": "npm run lint && tsc -p src", "test": "node dist/index.js" }, "author": "Juha Järvi", "licens...
"docts": "docts", "lint": "tslint -c src/tslint.json src/*.ts", "prepublish": "npm run lint && tsc -p src", "test": "node dist/index.js" }, "author": "Juha Järvi", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/charto/emscripten-library-decorator.git" }...
<|file_sep|>package.json.diff original: "version": "0.1.7", updated: "version": "0.1.8", <|file_sep|>original/package.json "docts": "docts", "lint": "tslint -c src/tslint.json src/*.ts", "prepublish": "npm run lint && tsc -p src", "test": "node dist/index.js" }, "author": "Juha Järvi", "licens...
4ba1c359ba19d031e4b5bb53354109a3cbd6592f
package.json
package.json
JSON
<|file_sep|>original/requirements.txt numpy==1.10.2 matplotlib==1.5.1 astropy==1.1.1 flask==0.10.1 jinja2==2.8 werkzeug==0.11.3 gunicorn==19.1.0 -e git://github.com/KeplerGO/K2fov.git@4d50916e86c8a29cbf8c65387799391bbb6a71fb#egg=K2fov <|file_sep|>current/requirements.txt numpy==1.10.2 matplotlib==1.5.1 astropy==1.1.1 f...
numpy==1.10.2 matplotlib==1.5.1 astropy==1.1.1 flask==0.10.1 jinja2==2.8 werkzeug==0.11.3 gunicorn==19.1.0 -e git://github.com/KeplerGO/K2fov.git@7708be018f9519366bb4cf3022749b730fb3d46a#egg=K2fov
<|file_sep|>original/requirements.txt numpy==1.10.2 matplotlib==1.5.1 astropy==1.1.1 flask==0.10.1 jinja2==2.8 werkzeug==0.11.3 gunicorn==19.1.0 -e git://github.com/KeplerGO/K2fov.git@4d50916e86c8a29cbf8c65387799391bbb6a71fb#egg=K2fov <|file_sep|>current/requirements.txt numpy==1.10.2 matplotlib==1.5.1 astropy==1.1.1 f...
9ed28108fcb85b0ad0ba3307e93ff38aa1a36306
requirements.txt
requirements.txt
Text
<|file_sep|>original/build-scripts/pyget.py <|file_sep|>current/build-scripts/pyget.py <|file_sep|>updated/build-scripts/pyget.py
#!/usr/bin/python ### ### Simple HTTP download utility for platforms without wget ### ### Copyright 2008 Steven J. Murdoch <http://www.cl.cam.ac.uk/users/sjm217/> ### See LICENSE for licensing information ### ### $Id$ ### import sys import os import urllib import urlparse from optparse import OptionParser ## Destina...
<|file_sep|>original/build-scripts/pyget.py <|file_sep|>current/build-scripts/pyget.py <|file_sep|>updated/build-scripts/pyget.py #!/usr/bin/python ### ### Simple HTTP download utility for platforms without wget ### ### Copyright 2008 Steven J. Murdoch <http://www.cl.cam.ac.uk/users/sjm217/> ### See LICENSE for lice...
07e9f20a190e07650e064985b4eee7b10de442e5
build-scripts/pyget.py
build-scripts/pyget.py
Python
<|file_sep|>.travis.yml.diff original: - '5.5' - '5.6' - '7.0' - '7.1' - '7.2' - '7.3' - '7.4' updated: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 env: - HTTPMOCK_VERSION="^0.13.0" matrix: include: - php: 5.5 env: HTTPMOCK_VERSION="0.10.1" - php: 5.6 env: HTTPMOCK_VE...
- 7.1 - 7.2 - 7.3 - 7.4 env: - HTTPMOCK_VERSION="^0.13.0" matrix: include: - php: 5.5 env: HTTPMOCK_VERSION="0.10.1" - php: 5.6 env: HTTPMOCK_VERSION="0.10.1" before_script: - composer self-update - composer require "internations/http-mock:${HTTPMOCK_VERSION}" --no-update - comp...
<|file_sep|>.travis.yml.diff original: - '5.5' - '5.6' - '7.0' - '7.1' - '7.2' - '7.3' - '7.4' updated: - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 env: - HTTPMOCK_VERSION="^0.13.0" matrix: include: - php: 5.5 env: HTTPMOCK_VERSION="0.10.1" - php: 5.6 env: HTTPMOCK_VE...
e7dd741a7cb2cd34d45ab0a25e403ef5960b82e9
.travis.yml
.travis.yml
YAML
<|file_sep|>website/snat/forms.py.diff original: from wtforms import TextField updated: from wtforms import TextField, ValidationError <|file_sep|>website/snat/forms.py.diff original: updated: def IPorNet(message=u"无效的IP 或网段!"): def _ipornet(form, field): value = field.data ip = value.split('/')[...
except: raise ValidationError(message) if mask < 0 or mask > 32: raise ValidationError(message) parts = ip.split('.') if len(parts) == 4 and all(x.isdigit() for x in parts): numbers = list(int(x) for x in parts) if not a...
<|file_sep|>website/snat/forms.py.diff original: from wtforms import TextField updated: from wtforms import TextField, ValidationError <|file_sep|>website/snat/forms.py.diff original: updated: def IPorNet(message=u"无效的IP 或网段!"): def _ipornet(form, field): value = field.data ip = value.split('/')[...
4c080197dce0d452047203dbf06dd160086fcbdf
website/snat/forms.py
website/snat/forms.py
Python
<|file_sep|>salt/beacons/salt_proxy.py.diff original: ret.append(result) updated: <|file_sep|>salt/beacons/salt_proxy.py.diff original: ret.append(result) updated: <|file_sep|>original/salt/beacons/salt_proxy.py # prox_ is a dict proxy = prox_.keys()[0] result = {} ...
# prox_ is a dict proxy = prox_.keys()[0] result = {} if not __salt__['salt_proxy.is_running'](proxy)['result']: __salt__['salt_proxy.configure_proxy'](proxy, start=True) result[proxy] = 'Proxy {0} was started'.format(proxy) else: msg = 'Proxy ...
<|file_sep|>salt/beacons/salt_proxy.py.diff original: ret.append(result) updated: <|file_sep|>salt/beacons/salt_proxy.py.diff original: ret.append(result) updated: <|file_sep|>original/salt/beacons/salt_proxy.py # prox_ is a dict proxy = prox_.keys()[0] result = {} ...
662d103adffd0592474378e2aaf98b8fafc3fb93
salt/beacons/salt_proxy.py
salt/beacons/salt_proxy.py
Python
<|file_sep|>Entity/Parameter.php.diff original: updated: * @var string * * @ORM\Column(type="string") */ private $bundle; /** * @var string * * @ORM\Column(type="string") */ private $name; /** * @var string * * @ORM\Column(type="string") */ ...
*/ private $value; /** * @return string */ public function getId() { return $this->id; } /** * @param string $bundle bundle * * @return Parameter */ public function setBundle($bundle) { $this->bundle = $bundle; return $this;
<|file_sep|>Entity/Parameter.php.diff original: updated: * @var string * * @ORM\Column(type="string") */ private $bundle; /** * @var string * * @ORM\Column(type="string") */ private $name; /** * @var string * * @ORM\Column(type="string") */ ...
92424167ad64ba8a066aab60652aa1a191964145
Entity/Parameter.php
Entity/Parameter.php
PHP
<|file_sep|>original/package.json { "name": "Nico Kaiser", "email": "nico.kaiser@boerse-go.de" } ], "engines": { "node": ">=10" }, "dependencies": { "mongodb": "^3.2.3", "flora-errors": "" }, "devDependencies": { "bunyan": "^1.8.12", "chai": "^4.2.0", "eslint": "^...
{ "name": "Nico Kaiser", "email": "nico.kaiser@boerse-go.de" } ], "engines": { "node": ">=10" }, "dependencies": { "mongodb": "^3.2.3", "flora-errors": "2.0.0-alpha.2" }, "devDependencies": { "bunyan": "^1.8.12", "chai": "^4.2.0", "eslint": "^5.16.0", "eslint-...
<|file_sep|>original/package.json { "name": "Nico Kaiser", "email": "nico.kaiser@boerse-go.de" } ], "engines": { "node": ">=10" }, "dependencies": { "mongodb": "^3.2.3", "flora-errors": "" }, "devDependencies": { "bunyan": "^1.8.12", "chai": "^4.2.0", "eslint": "^...
f897732ad40a773cec6c117b4afe68ecec35f91d
package.json
package.json
JSON
<|file_sep|>original/examples/input.scss @mesh-grid { column-count: 12; compile: true; container-width: 100%; display-type: float; gutter-on-outside: true; gutter: 30px; name: mesh; query-condition: min-width; responsive-gutter: false; @mesh-viewport-sm { container-width: 540px; viewport: 576px; } @me...
@mesh-grid { column-count: 12; compile: true; container-width: 100%; display-type: float; gutter-on-outside: true; gutter: 30px; name: mesh; naming_column_single: |NAME|-col; naming_column_column: |NAME|-col-|COLUMN|; naming_column_mq: |NAME|-col-|MQ|-|COLUMN|; naming_offset_single: |NAME|-off; naming_offse...
<|file_sep|>original/examples/input.scss @mesh-grid { column-count: 12; compile: true; container-width: 100%; display-type: float; gutter-on-outside: true; gutter: 30px; name: mesh; query-condition: min-width; responsive-gutter: false; @mesh-viewport-sm { container-width: 540px; viewport: 576px; } @me...
5b2f00baeccda98885d549059ba204ac17785507
examples/input.scss
examples/input.scss
SCSS
<|file_sep|>original/src/se/vidstige/jadb/managers/Bash.java package se.vidstige.jadb.managers; public class Bash { public static String quote(String s) { // TODO: Should also check other whitespace if (!s.contains(" ")) { return s; } return "'" + s.replace("'", "'\\''")...
package se.vidstige.jadb.managers; public class Bash { public static String quote(String s) { // Check that s contains no whitespace if (s.matches("\\S+")) { return s; } return "'" + s.replace("'", "'\\''") + "'"; } }
<|file_sep|>original/src/se/vidstige/jadb/managers/Bash.java package se.vidstige.jadb.managers; public class Bash { public static String quote(String s) { // TODO: Should also check other whitespace if (!s.contains(" ")) { return s; } return "'" + s.replace("'", "'\\''")...
e441c96c85bdc3e4e1179c98ff2933c65b5b975f
src/se/vidstige/jadb/managers/Bash.java
src/se/vidstige/jadb/managers/Bash.java
Java
<|file_sep|>original/README.md Spyc (pronounced "spec") is a very early prototype of an IT automation system, mixing my favorite parts of ansible, puppet, and chef. From Ansible: No master to set up, only sshd and python 2 are required on the managed machine. This makes it easy to get started, and it means you don'...
Spyc (pronounced "spec") is a very early prototype of an IT automation system, mixing my favorite parts of ansible, puppet, and chef. From Ansible: No master to set up, only sshd and python 2 are required on the managed machine. This makes it easy to get started, and it means you don't have to set up a server to se...
<|file_sep|>original/README.md Spyc (pronounced "spec") is a very early prototype of an IT automation system, mixing my favorite parts of ansible, puppet, and chef. From Ansible: No master to set up, only sshd and python 2 are required on the managed machine. This makes it easy to get started, and it means you don'...
10b32e08247e715ec170457010677e60f42b5922
README.md
README.md
Markdown
<|file_sep|>original/src/main/java/mil/dds/anet/resources/AdminResource.java @GET @GraphQLFetcher @Path("/") public List<AdminSetting> getAll() { return dao.getAllSettings(); } @POST @Path("/save") @RolesAllowed("ADMINISTRATOR") public Response save(AdminSetting setting) { dao.saveSetting(setting); r...
@GET @GraphQLFetcher @Path("/") public List<AdminSetting> getAll() { return dao.getAllSettings(); } @POST @Path("/save") @RolesAllowed("ADMINISTRATOR") public Response save(List<AdminSetting> settings) { for (AdminSetting setting : settings) { dao.saveSetting(setting); } return Response.ok().bui...
<|file_sep|>original/src/main/java/mil/dds/anet/resources/AdminResource.java @GET @GraphQLFetcher @Path("/") public List<AdminSetting> getAll() { return dao.getAllSettings(); } @POST @Path("/save") @RolesAllowed("ADMINISTRATOR") public Response save(AdminSetting setting) { dao.saveSetting(setting); r...
fe36f05b9b9a5c033a4360707c70079e0e118aa5
src/main/java/mil/dds/anet/resources/AdminResource.java
src/main/java/mil/dds/anet/resources/AdminResource.java
Java
<|file_sep|>youmap/templates/chickpea/map_detail.html.diff original: updated: <link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css"> <|file_sep|>original/youmap/templates/chickpea/map_detail.html {% extends "base.html" %} {% load chickpea_tags compress %} {% block title %}{{ ...
{% extends "base.html" %} {% load chickpea_tags compress %} {% block title %}{{ map.name }}{% endblock %} {% block extra_head %} {% compress css %} {% chickpea_css %} <link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css"> {% endcompress %} {% compress js %...
<|file_sep|>youmap/templates/chickpea/map_detail.html.diff original: updated: <link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css"> <|file_sep|>original/youmap/templates/chickpea/map_detail.html {% extends "base.html" %} {% load chickpea_tags compress %} {% block title %}{{ ...
bd005e97ed0c72b38336285270ed3973dfc22164
youmap/templates/chickpea/map_detail.html
youmap/templates/chickpea/map_detail.html
HTML
<|file_sep|>.github/workflows/ci.yml.diff original: updated: - name: Install .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: '5.0.x' <|file_sep|>original/.github/workflows/ci.yml name: CI on: [push] jobs: build: runs-on: windows-latest steps: - uses:...
on: [push] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v1 - name: Install .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: '5.0.x' - name: Build run: dotnet msbuild build\Build.proj -nologo -v:n -t:Build - na...
<|file_sep|>.github/workflows/ci.yml.diff original: updated: - name: Install .NET 5.0 uses: actions/setup-dotnet@v1 with: dotnet-version: '5.0.x' <|file_sep|>original/.github/workflows/ci.yml name: CI on: [push] jobs: build: runs-on: windows-latest steps: - uses:...
754b4359cfad36be2f1e69880d4c5c2b75d5a3de
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>src/discordcr/cache.cr.diff original: updated: @guilds = Hash(UInt64, Guild).new <|file_sep|>src/discordcr/cache.cr.diff original: updated: def resolve_guild(id : UInt64) : Guild @guilds.fetch(id) { @guilds[id] = @client.get_guild(id) } end <|file_sep|>original/src/discordcr/cache.cr ...
def resolve_channel(id : UInt64) : Channel @channels.fetch(id) { @channels[id] = @client.get_channel(id) } end def resolve_guild(id : UInt64) : Guild @guilds.fetch(id) { @guilds[id] = @client.get_guild(id) } end def cache(user : User) @users[user.id] = user end def cache...
<|file_sep|>src/discordcr/cache.cr.diff original: updated: @guilds = Hash(UInt64, Guild).new <|file_sep|>src/discordcr/cache.cr.diff original: updated: def resolve_guild(id : UInt64) : Guild @guilds.fetch(id) { @guilds[id] = @client.get_guild(id) } end <|file_sep|>original/src/discordcr/cache.cr ...
75a46918c7f8218bb6f907c4330d3abeb7092d80
src/discordcr/cache.cr
src/discordcr/cache.cr
Crystal
<|file_sep|>original/webpack/webpack-loader-notes.md ## Babel Loader Transpiles JavaScript files using Babel. ## CSS Loader Interprets and resolves `@import` and `url()` in CSS. ## File Loader Emits the module as a file to the output and returns its public URL. ## Raw Loader Allows importing of file contents ...
## Babel Loader Transpiles JavaScript files using Babel. ## CSS Loader Interprets and resolves `@import` and `url()` in CSS. ## Expose Loader Adds modules to the global object. Useful when you need `window.jQuery` available in your HTML document. ## File Loader Emits the module as a file to the output and re...
<|file_sep|>original/webpack/webpack-loader-notes.md ## Babel Loader Transpiles JavaScript files using Babel. ## CSS Loader Interprets and resolves `@import` and `url()` in CSS. ## File Loader Emits the module as a file to the output and returns its public URL. ## Raw Loader Allows importing of file contents ...
03e0c90520fe72ffc8785f183e73ecf408a106e4
webpack/webpack-loader-notes.md
webpack/webpack-loader-notes.md
Markdown
<|file_sep|>original/recipes/pysdl2/locate_sdl.patch --- sdl2/__init__.py +++ sdl2/__init__.py @@ -1,4 +1,16 @@ """SDL2 wrapper package""" +# Direct this module to Ana/Miniconda's lib folder, where the SDL2 libraries +# can be found. +import os + +if not "PYSDL2_DLL_PATH" in os.environ: + if os.name == "posix": + os....
--- sdl2/__init__.py +++ sdl2/__init__.py @@ -1,4 +1,16 @@ """SDL2 wrapper package""" +# Direct this module to Ana/Miniconda's lib folder, where the SDL2 libraries +# can be found. +import os + +if "PYSDL2_DLL_PATH" not in os.environ: + if os.name == "posix": + os.environ["PYSDL2_DLL_PATH"] = os.path.abspath(os.path....
<|file_sep|>original/recipes/pysdl2/locate_sdl.patch --- sdl2/__init__.py +++ sdl2/__init__.py @@ -1,4 +1,16 @@ """SDL2 wrapper package""" +# Direct this module to Ana/Miniconda's lib folder, where the SDL2 libraries +# can be found. +import os + +if not "PYSDL2_DLL_PATH" in os.environ: + if os.name == "posix": + os....
6976d74f7ddc7488bf1e4a63cb03ce358348c2d9
recipes/pysdl2/locate_sdl.patch
recipes/pysdl2/locate_sdl.patch
Diff
<|file_sep|>original/docs/en/api-reference/wifi/esp_wifi.rst The WiFi libraries provide support for configuring and monitoring the ESP8266 WiFi networking functionality. This includes configuration for: - Station mode (aka STA mode or WiFi client mode). ESP8266 connects to an access point. - AP mode (aka Soft-AP mode ...
The WiFi libraries provide support for configuring and monitoring the ESP8266 WiFi networking functionality. This includes configuration for: - Station mode (aka STA mode or WiFi client mode). ESP8266 connects to an access point. - AP mode (aka Soft-AP mode or Access Point mode). Stations connect to the ESP8266. - Com...
<|file_sep|>original/docs/en/api-reference/wifi/esp_wifi.rst The WiFi libraries provide support for configuring and monitoring the ESP8266 WiFi networking functionality. This includes configuration for: - Station mode (aka STA mode or WiFi client mode). ESP8266 connects to an access point. - AP mode (aka Soft-AP mode ...
85842af1354321aefc1fb9b2505e520f241d0f60
docs/en/api-reference/wifi/esp_wifi.rst
docs/en/api-reference/wifi/esp_wifi.rst
reStructuredText
<|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => 'intellij-idea-eap' do version '141.2.2' sha256 '7701e4805f9cd5e93391d148991b86c1292c6ddc919251088eb6726de70b6384' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+E...
cask :v1 => 'intellij-idea-eap' do version '141.104.1' sha256 'a59b096cbf012f42dbaf108026de12fa1a3caf16a0f87cbc5f20aa44fa2f2156' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP' license :commercial app 'IntelliJ IDE...
<|file_sep|>original/Casks/intellij-idea-eap.rb cask :v1 => 'intellij-idea-eap' do version '141.2.2' sha256 '7701e4805f9cd5e93391d148991b86c1292c6ddc919251088eb6726de70b6384' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+E...
91cec64d7150d730d2f8d3ba9ab384095a05d6f8
Casks/intellij-idea-eap.rb
Casks/intellij-idea-eap.rb
Ruby
<|file_sep|>shared/views/Story/Toolbar.jsx.diff original: this.props.dispatch( ParagraphActions.setAlignment(e.target.name) ); updated: <|file_sep|>original/shared/views/Story/Toolbar.jsx handleLoad = () => { StoryActions.populateStories()(this.props.dispatch); this.props.dispatch(this.props.s...
this.props.dispatch(this.props.setLoading(true)); } render() { const style = { display: this.props.editing ? 'block' : 'none' }; return ( <div className='toolbar' style={style}> <FontSizeSelector defaultSize={this.props.defaultFont.size} {...bindActionCreators(StoryActions, thi...
<|file_sep|>shared/views/Story/Toolbar.jsx.diff original: this.props.dispatch( ParagraphActions.setAlignment(e.target.name) ); updated: <|file_sep|>original/shared/views/Story/Toolbar.jsx handleLoad = () => { StoryActions.populateStories()(this.props.dispatch); this.props.dispatch(this.props.s...
c44ee381e3edb841c06d97a55b4aab7ee565bd6f
shared/views/Story/Toolbar.jsx
shared/views/Story/Toolbar.jsx
JSX
<|file_sep|>original/index.html --- layout: default wrap-id: index --- <div class="content-panel"> <div class="gravatar"> <a href="static/selfie.png"> <img src="{{ site.title_image }}" height="150" width="150" alt="{{ site.title }}" /> </a> </div> <h1 class="heading" itemprop="...
--- layout: default wrap-id: index --- <div class="content-panel"> <div class="gravatar"> <a href="static/selfie.jpg"> <img src="{{ site.title_image }}" height="150" width="150" alt="{{ site.title }}" /> </a> </div> <h1 class="heading" itemprop="headline">{{ site.title }}</h1> ...
<|file_sep|>original/index.html --- layout: default wrap-id: index --- <div class="content-panel"> <div class="gravatar"> <a href="static/selfie.png"> <img src="{{ site.title_image }}" height="150" width="150" alt="{{ site.title }}" /> </a> </div> <h1 class="heading" itemprop="...
304d512a865b68a8a135bed3d8087aeea3f43f70
index.html
index.html
HTML
<|file_sep|>original/robots.txt User-Agent: * Disallow: /tagged/ Disallow: /post/ Sitemap: http://search.digitalgov.gov/sitemap.xml <|file_sep|>current/robots.txt User-Agent: * Disallow: /tagged/ Disallow: /post/ Sitemap: http://search.digitalgov.gov/sitemap.xml <|file_sep|>updated/robots.txt
User-Agent: * Disallow: /tagged/ Disallow: /post/ Sitemap: https://search.digitalgov.gov/sitemap.xml
<|file_sep|>original/robots.txt User-Agent: * Disallow: /tagged/ Disallow: /post/ Sitemap: http://search.digitalgov.gov/sitemap.xml <|file_sep|>current/robots.txt User-Agent: * Disallow: /tagged/ Disallow: /post/ Sitemap: http://search.digitalgov.gov/sitemap.xml <|file_sep|>updated/robots.txt User-Agent: * Disallow: /t...
7daa2cde549d5e03ee4dde2cbfce71b22cf8bb2e
robots.txt
robots.txt
Text
<|file_sep|>original/faraday_middleware.gemspec require File.expand_path('../lib/faraday_middleware/version', __FILE__) Gem::Specification.new do |spec| spec.add_dependency 'faraday', ['>= 0.7.4', '< 0.9'] spec.add_development_dependency 'bundler', '~> 1.0' spec.authors = ["Erik Michaels-Ober", "Wynn Netherland"...
require File.expand_path('../lib/faraday_middleware/version', __FILE__) Gem::Specification.new do |spec| spec.add_dependency 'faraday', ['>= 0.7.4', '< 0.9'] spec.add_development_dependency 'bundler', '~> 1.0' spec.authors = ["Erik Michaels-Ober", "Wynn Netherland"] spec.description = %q{Various middleware for...
<|file_sep|>original/faraday_middleware.gemspec require File.expand_path('../lib/faraday_middleware/version', __FILE__) Gem::Specification.new do |spec| spec.add_dependency 'faraday', ['>= 0.7.4', '< 0.9'] spec.add_development_dependency 'bundler', '~> 1.0' spec.authors = ["Erik Michaels-Ober", "Wynn Netherland"...
7b974248ac8d8d501def1412f34e782be8f99388
faraday_middleware.gemspec
faraday_middleware.gemspec
Ruby
<|file_sep|>package.json.diff original: "version": "4.0.2", updated: "version": "4.1.0", <|file_sep|>package.json.diff original: "lodash": "4.13.1", updated: "lodash": "4.14.2", <|file_sep|>original/package.json "compiler", "node" ], "author": "Richard Feldman", "license": "BSD-3-Clause", "b...
"compiler", "node" ], "author": "Richard Feldman", "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/rtfeldman/node-elm-compiler/issues" }, "homepage": "https://github.com/rtfeldman/node-elm-compiler", "dependencies": { "cross-spawn": "4.0.0", "lodash": "4.14.2", "tem...
<|file_sep|>package.json.diff original: "version": "4.0.2", updated: "version": "4.1.0", <|file_sep|>package.json.diff original: "lodash": "4.13.1", updated: "lodash": "4.14.2", <|file_sep|>original/package.json "compiler", "node" ], "author": "Richard Feldman", "license": "BSD-3-Clause", "b...
d1364a551881ee8680b5dfadc3d032c9a5c2f02b
package.json
package.json
JSON
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md
### Steps to reproduce #### Live Demo <!-- Fork this JSBin, or provide your own URL --> https://jsbin.com/ligimo/3/edit?html,output ### Expected result ### Actual result ### Browsers affected <!-- Check all that apply --> - [ ] Chrome - [ ] Firefox - [ ] Edge - [ ] Safari 9 - [ ] Safari 8 - [ ] IE 11 ### Screensh...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md <|file_sep|>current/.github/ISSUE_TEMPLATE.md <|file_sep|>updated/.github/ISSUE_TEMPLATE.md ### Steps to reproduce #### Live Demo <!-- Fork this JSBin, or provide your own URL --> https://jsbin.com/ligimo/3/edit?html,output ### Expected result ### Actual result ### B...
0f1f8dfcbcd4f627ba21ebe5e76bf74c1858ca15
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>original/README.md setup: function() { // Run large setup logic }, teardown: function() { // Run large teardown logic } } } }); ``` ## License Copyright (c) 2014 The Financial Times Limited Licensed under the MIT license. ## Credits and collaboration - **Wils...
setup: function() { // Run large setup logic }, teardown: function() { // Run large teardown logic } } } }); ``` ## License Copyright (c) 2014 The Financial Times Limited Licensed under the MIT license. ## Credits and collaboration - **Wilson Page** - [@wilsonpage](http:...
<|file_sep|>original/README.md setup: function() { // Run large setup logic }, teardown: function() { // Run large teardown logic } } } }); ``` ## License Copyright (c) 2014 The Financial Times Limited Licensed under the MIT license. ## Credits and collaboration - **Wils...
d3b61bdd2de06e77e7804a63f66b057b43146750
README.md
README.md
Markdown
<|file_sep|>original/config/govuk_index/migrated_formats.yaml migrated: - help_page indexable: - answer - guide - licence - transaction - simple_smart_answer <|file_sep|>current/config/govuk_index/migrated_formats.yaml migrated: - help_page indexable: - answer - guide - licence - transaction - simple_smart_answer <|fil...
migrated: - help_page indexable: - answer - guide - licence - local_transaction - transaction - simple_smart_answer
<|file_sep|>original/config/govuk_index/migrated_formats.yaml migrated: - help_page indexable: - answer - guide - licence - transaction - simple_smart_answer <|file_sep|>current/config/govuk_index/migrated_formats.yaml migrated: - help_page indexable: - answer - guide - licence - transaction - simple_smart_answer <|fil...
f7531d1a3d5621a5c03fe31febc0b2fa0c11604f
config/govuk_index/migrated_formats.yaml
config/govuk_index/migrated_formats.yaml
YAML
<|file_sep|>original/tasks/coverage.js * Copyright (c) 2013 Daniel Lamb * Licensed under the MIT license. */ 'use strict'; module.exports = function (grunt) { var helper = require('./helpers').init(grunt); grunt.registerTask('coverage', 'check coverage thresholds', function () { //set default opt...
* Copyright (c) 2013 Daniel Lamb * Licensed under the MIT license. */ 'use strict'; module.exports = function (grunt) { var helper = require('./helpers').init(grunt); grunt.registerMultiTask('coverage', 'check coverage thresholds', function () { //set default options var options = this.op...
<|file_sep|>original/tasks/coverage.js * Copyright (c) 2013 Daniel Lamb * Licensed under the MIT license. */ 'use strict'; module.exports = function (grunt) { var helper = require('./helpers').init(grunt); grunt.registerTask('coverage', 'check coverage thresholds', function () { //set default opt...
d40c221293b87ab1da056f5eab6f07cc6db3b137
tasks/coverage.js
tasks/coverage.js
JavaScript
<|file_sep|>apiserver/BT/EndPoints.hs.diff original: updated: import qualified Data.ByteString as B <|file_sep|>apiserver/BT/EndPoints.hs.diff original: updated: import System.IO <|file_sep|>apiserver/BT/EndPoints.hs.diff original: randomInt :: IO Int updated: randomInt :: IO B.ByteString <|file_sep|>apiserver/BT/En...
randomInt = do fd <- openBinaryFile "/dev/urandom" ReadMode randata <- hGetContents fd return $ BC.pack $ take 256 randata data RegisterResp = RegisterResp { username :: String, secret:: String } hex = foldr showHex "" . B.unpack register :: Request -> Connection -> IO BL.ByteString register info conn = ...
<|file_sep|>apiserver/BT/EndPoints.hs.diff original: updated: import qualified Data.ByteString as B <|file_sep|>apiserver/BT/EndPoints.hs.diff original: updated: import System.IO <|file_sep|>apiserver/BT/EndPoints.hs.diff original: randomInt :: IO Int updated: randomInt :: IO B.ByteString <|file_sep|>apiserver/BT/En...
b3ba029fa3847ac76d4cb609c356084e069783c3
apiserver/BT/EndPoints.hs
apiserver/BT/EndPoints.hs
Haskell
<|file_sep|>original/README.md Based off original work by Michael Park at https://github.com/migrap/Meraki. ## Example Create a `MerakiDashboardClient` instance using `MerakiDashboardClientFactory.Create`, supplying your API key, then call methods on it, such as: ``` C# using MerakiDashboard; // ... string orga...
Based off original work by Michael Park at https://github.com/migrap/Meraki. ## Example Create a `MerakiDashboardClient` instance using `MerakiDashboardClientFactory.Create`, supplying your API key, then call methods on it, such as: ``` C# using MerakiDashboard; // ... string apiKey; // API key from the user's p...
<|file_sep|>original/README.md Based off original work by Michael Park at https://github.com/migrap/Meraki. ## Example Create a `MerakiDashboardClient` instance using `MerakiDashboardClientFactory.Create`, supplying your API key, then call methods on it, such as: ``` C# using MerakiDashboard; // ... string orga...
9eb0f58bc6989d3969ac9f08246cf12478d76e39
README.md
README.md
Markdown
<|file_sep|>original/azure-pipelines-windows.yml # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing pe...
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # #...
<|file_sep|>original/azure-pipelines-windows.yml # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing pe...
f0f01786665bb33d291ed08f6163dca7c1af0fd8
azure-pipelines-windows.yml
azure-pipelines-windows.yml
YAML
<|file_sep|>titanembeds/database/custom_redislite.py.diff original: return self.redis_instance.ttl(key) updated: return self.redis_instance.ttl(key) or 0 <|file_sep|>titanembeds/database/custom_redislite.py.diff original: self.redis_instance.set(key, 1) self.redis_instance.expire...
self.redis_instance = Redis(urlparse.urlparse(uri).netloc) def check(self): return True def get_expiry(self, key): return self.redis_instance.ttl(key) or 0 def incr(self, key, expiry, elastic_expiry=False): if not self.redis_instance.exists(key): self.redis_ins...
<|file_sep|>titanembeds/database/custom_redislite.py.diff original: return self.redis_instance.ttl(key) updated: return self.redis_instance.ttl(key) or 0 <|file_sep|>titanembeds/database/custom_redislite.py.diff original: self.redis_instance.set(key, 1) self.redis_instance.expire...
4b111c035f92f941cff4b6885d2fa01ddcb1657e
titanembeds/database/custom_redislite.py
titanembeds/database/custom_redislite.py
Python
<|file_sep|>original/_posts/2016-07-26-gruntwork-infrastructure-packages.md --- layout: post title: Why the Best Companies and Developers Give Away Almost Everything They Do tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https://blog.gruntwork.io/gruntwo...
--- layout: post title: Gruntwork Infrastructure Packages: world-class infrastructure, all of the control, none of the work tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https://blog.gruntwork.io/gruntwork-infrastructure-packages-7434dc77d0b1" --- An *...
<|file_sep|>original/_posts/2016-07-26-gruntwork-infrastructure-packages.md --- layout: post title: Why the Best Companies and Developers Give Away Almost Everything They Do tags: - External Writing - Gruntwork - DevOps thumbnail_path: blog/thumbs/gruntwork-packages.jpeg external_url: "https://blog.gruntwork.io/gruntwo...
eb2cbde73be9829cf07193393cd19e0dc874b112
_posts/2016-07-26-gruntwork-infrastructure-packages.md
_posts/2016-07-26-gruntwork-infrastructure-packages.md
Markdown
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.3 - 2.2 - 2.1 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.3 - 2.2 - 2.1 <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.6 - 2.5 - 2.4 - 2.3 - 2.2 - 2.1
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.3 - 2.2 - 2.1 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.4.1 - 2.3.3 - 2.2 - 2.1 <|file_sep|>updated/.travis.yml language: ruby rvm: - 2.6 - 2.5 - 2.4 - 2.3 - 2.2 - 2.1
9a8187a054590601a9f448e7d4dec0e6291ea210
.travis.yml
.travis.yml
YAML
<|file_sep|>original/frontend/app/routes/visualize/graph.js import Route from '@ember/routing/route'; import ResetScrollPositionMixin from 'frontend/mixins/reset-scroll-position'; export default Route.extend(ResetScrollPositionMixin, { model() { const host = this.store.adapterFor('summarized-statistic').get('hos...
import fetch from 'fetch'; import Route from '@ember/routing/route'; import ResetScrollPositionMixin from 'frontend/mixins/reset-scroll-position'; export default Route.extend(ResetScrollPositionMixin, { model() { const host = this.store.adapterFor('summarized-statistic').get('host'); return fetch(`${host}/ch...
<|file_sep|>original/frontend/app/routes/visualize/graph.js import Route from '@ember/routing/route'; import ResetScrollPositionMixin from 'frontend/mixins/reset-scroll-position'; export default Route.extend(ResetScrollPositionMixin, { model() { const host = this.store.adapterFor('summarized-statistic').get('hos...
1e109702cc638a146455eeaf05d2db035e3787d3
frontend/app/routes/visualize/graph.js
frontend/app/routes/visualize/graph.js
JavaScript
<|file_sep|>original/client/README.md <|file_sep|>current/client/README.md <|file_sep|>updated/client/README.md
# StrongLink Client API Information **GET /sln/file/[algo]/[hash]** Returns the data of a given file. Clients should be aware this is arbitrary user data and potentially malicious. Planned features: content negotiation, range requests Implementation status: working but incomplete **GET /sln/meta/[algo]/[hash]** ...
<|file_sep|>original/client/README.md <|file_sep|>current/client/README.md <|file_sep|>updated/client/README.md # StrongLink Client API Information **GET /sln/file/[algo]/[hash]** Returns the data of a given file. Clients should be aware this is arbitrary user data and potentially malicious. Planned features: con...
fc67e63456a5e91bc0bfe965b2e16d3c293ca77b
client/README.md
client/README.md
Markdown
<|file_sep|>original/doc/internal/howto-update-snap.markdown > review it for any needed updates. This document outlines how to rebuild the snap and push it out. You'll need: - a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04); - login and password for the snap's owner account. 1. Navig...
> review it for any needed updates. This document outlines how to rebuild the snap and push it out. You'll need: - a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04); - login and password for the snap's owner account. 1. Navigate to your local clone of Newsboat. 2. Check out the latest ...
<|file_sep|>original/doc/internal/howto-update-snap.markdown > review it for any needed updates. This document outlines how to rebuild the snap and push it out. You'll need: - a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04); - login and password for the snap's owner account. 1. Navig...
ca8ca498153f2868a57e71eb1b7843d1feafbdbd
doc/internal/howto-update-snap.markdown
doc/internal/howto-update-snap.markdown
Markdown
<|file_sep|>original/functions/README.md ## Installation Download from http://example.com/FIXME. ## Usage FIXME: explanation $ java -jar wort-0.1.0-standalone.jar [args] ## Options FIXME: listing of options this app accepts. ## Examples ... ### Bugs ... <|file_sep|>current/functions/README.md ## Installat...
## Installation Download from http://example.com/FIXME. ## Usage FIXME: explanation $ java -jar wort-0.1.0-standalone.jar [args] ## Starting ring-server (inside folder containing project.clj) $ lein ring server 3000 ## Building Sass $ node-sass -wr ~/wort/functions/resources/public/css/scss \ ...
<|file_sep|>original/functions/README.md ## Installation Download from http://example.com/FIXME. ## Usage FIXME: explanation $ java -jar wort-0.1.0-standalone.jar [args] ## Options FIXME: listing of options this app accepts. ## Examples ... ### Bugs ... <|file_sep|>current/functions/README.md ## Installat...
3d8e92eb4830907b7dbb73a604154370c8765537
functions/README.md
functions/README.md
Markdown
<|file_sep|>original/filter_plugins/custom_plugins.py <|file_sep|>current/filter_plugins/custom_plugins.py <|file_sep|>updated/filter_plugins/custom_plugins.py
# depem: Strip PEM headers and remove all whitespace from string # Usage: {{ foo | depem }} def depem(string): import re return re.sub(r'\s+|(-----(BEGIN|END).*-----)', '', string) class FilterModule(object): def filters(self): return { 'depem': depem, }
<|file_sep|>original/filter_plugins/custom_plugins.py <|file_sep|>current/filter_plugins/custom_plugins.py <|file_sep|>updated/filter_plugins/custom_plugins.py # depem: Strip PEM headers and remove all whitespace from string # Usage: {{ foo | depem }} def depem(string): import re return re.sub(r'\s+|(-----(BEGIN...
ea4857f1f456e5f44d2706b3756c07695b1ee66b
filter_plugins/custom_plugins.py
filter_plugins/custom_plugins.py
Python
<|file_sep|>original/.github/ISSUE_TEMPLATE.md - StackOverflow (http://stackoverflow.com/questions/tagged/polymer) - Polymer Slack Channel (https://bit.ly/polymerslack) - Mailing List (https://groups.google.com/forum/#!forum/polymer-dev) --> <!-- Instructions For Filing a Bug: https://github.com/Polymer/polymer/blob/ma...
- StackOverflow (http://stackoverflow.com/questions/tagged/polymer) - Polymer Slack Channel (https://bit.ly/polymerslack) - Mailing List (https://groups.google.com/forum/#!forum/polymer-dev) --> <!-- Instructions For Filing a Bug: https://github.com/Polymer/polymer/blob/master/CONTRIBUTING.md#filing-bugs --> ### Descri...
<|file_sep|>original/.github/ISSUE_TEMPLATE.md - StackOverflow (http://stackoverflow.com/questions/tagged/polymer) - Polymer Slack Channel (https://bit.ly/polymerslack) - Mailing List (https://groups.google.com/forum/#!forum/polymer-dev) --> <!-- Instructions For Filing a Bug: https://github.com/Polymer/polymer/blob/ma...
4a2db9ca67d3bb62c2b2f096967fc5e559e38072
.github/ISSUE_TEMPLATE.md
.github/ISSUE_TEMPLATE.md
Markdown
<|file_sep|>hello-world/start.sh.diff original: echo "Pulling the image named $REGISTRY_ADDRESS/$IMAGE_NAME from docker engine $DOCKER_ADDRESS " docker -H $DOCKER_ADDRESS pull $REGISTRY_ADDRESS/$IMAGE_NAME updated: echo "Pulling the image named $REGISTRY_ADDRESS/$IMAGE_NAME:$IMAGE_VERSION from docker engine $DOCKER_ADD...
#!/bin/bash # Copyright 2015 AT&T Intellectual Properties ############################################################################## # Script to initialize the hello-world application # Requires a local docker engine ############################################################################## # Take the co...
<|file_sep|>hello-world/start.sh.diff original: echo "Pulling the image named $REGISTRY_ADDRESS/$IMAGE_NAME from docker engine $DOCKER_ADDRESS " docker -H $DOCKER_ADDRESS pull $REGISTRY_ADDRESS/$IMAGE_NAME updated: echo "Pulling the image named $REGISTRY_ADDRESS/$IMAGE_NAME:$IMAGE_VERSION from docker engine $DOCKER_ADD...
2560badd55f175a4ebd335d668ddb0e056f9a7e9
hello-world/start.sh
hello-world/start.sh
Shell
<|file_sep|>original/install.sh set -o errexit theme_dir="" echo "Theme will be installed to \`${theme_dir}\` " echo "Download theme pack... " wget -O quantic-theme.zip https://github.com/Microcore/Quantic-Theme/archive/master.zip echo "Unpack theme files... " unzip quantic-theme.zip rm quantic-theme.zip echo "In...
set -o errexit theme_dir="" echo "Theme will be installed to \`${theme_dir}\` " echo "Download theme pack... " wget -O quantic-theme.zip https://github.com/Microcore/Quantic-Theme/archive/master.zip echo "Unpack theme files... " unzip quantic-theme.zip rm quantic-theme.zip echo "Install theme files... " cd Quanti...
<|file_sep|>original/install.sh set -o errexit theme_dir="" echo "Theme will be installed to \`${theme_dir}\` " echo "Download theme pack... " wget -O quantic-theme.zip https://github.com/Microcore/Quantic-Theme/archive/master.zip echo "Unpack theme files... " unzip quantic-theme.zip rm quantic-theme.zip echo "In...
56a5ed715cab9df6ab9b6bfc0dcf86031750280b
install.sh
install.sh
Shell
<|file_sep|>original/run.py import os from horus.apps import create_app config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)) , 'config.py') app = create_app(config_file) if __name__ == '__main__': app.run(debug=True) <|file_sep|>current/run.py import os from horus.ap...
import os from horus.apps import create_app config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)) , 'config.py') app = create_app(config_file) if __name__ == '__main__': app.run(debug=True, host='0.0.0.0')
<|file_sep|>original/run.py import os from horus.apps import create_app config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)) , 'config.py') app = create_app(config_file) if __name__ == '__main__': app.run(debug=True) <|file_sep|>current/run.py import os from horus.ap...
ec1474d9144ead23b335472d6c4623f5e712e88d
run.py
run.py
Python
<|file_sep|>original/.github/ISSUE_TEMPLATE/new_lint.md *What does this lint do?* ### Categories (optional) - Kind: *See <https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy> for list of lint kinds* *What is the advantage of the recommended code over the original code* For example: - Remove bounc...
*What does this lint do?* ### Categories (optional) - Kind: *See <https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy> for list of lint kinds* *What is the advantage of the recommended code over the original code* For example: - Remove bounds check inserted by ... - Remove the need to duplicate/s...
<|file_sep|>original/.github/ISSUE_TEMPLATE/new_lint.md *What does this lint do?* ### Categories (optional) - Kind: *See <https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy> for list of lint kinds* *What is the advantage of the recommended code over the original code* For example: - Remove bounc...
43ee3fe56ce50758c4a210f3eb72bf1f72bc190b
.github/ISSUE_TEMPLATE/new_lint.md
.github/ISSUE_TEMPLATE/new_lint.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - pip install flake8 <|file_sep|>original/.travis.yml language: python python: - "2.7" install: - pip install pycurl - pip install coveralls script: - coverage run --source pOCCI setup.py test after_success: - coveralls <|file_sep|>current/.travis.yml lan...
language: python python: - "2.7" install: - pip install flake8 - pip install pycurl - pip install coveralls before_script: - flake8 script: - coverage run --source pOCCI setup.py test after_success: - coveralls
<|file_sep|>.travis.yml.diff original: updated: - pip install flake8 <|file_sep|>original/.travis.yml language: python python: - "2.7" install: - pip install pycurl - pip install coveralls script: - coverage run --source pOCCI setup.py test after_success: - coveralls <|file_sep|>current/.travis.yml lan...
98db446501d26d7a2a1c8e7a5aaae6e3e17406aa
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.binstar.yml - python=3.4 - python=3.5 env: - MPI=mpich - MPI=openmpi #- MPI=mpich2 install: - export CFLAGS=-O0 - conda update --quiet --yes -n root conda-build - conda config --add channels mpi4py - conda build --quiet conf/ci/anaconda/mpi4py test: - conda install --quiet --yes numpy ...
- python=3.4 - python=3.5 env: - MPI=mpich - MPI=openmpi #- MPI=mpich2 install: - export CFLAGS=-O0 - conda update --quiet --yes -n root conda-build - conda config --add channels mpi4py - conda build --quiet conf/ci/anaconda/mpi4py test: - conda install --quiet --yes numpy nomkl - conda install --quiet --y...
<|file_sep|>original/.binstar.yml - python=3.4 - python=3.5 env: - MPI=mpich - MPI=openmpi #- MPI=mpich2 install: - export CFLAGS=-O0 - conda update --quiet --yes -n root conda-build - conda config --add channels mpi4py - conda build --quiet conf/ci/anaconda/mpi4py test: - conda install --quiet --yes numpy ...
9d314f2b8101f3583dda84d78ce3e795fe8b7e4b
.binstar.yml
.binstar.yml
YAML
<|file_sep|>original/src/commands/create.js var name = params.args[0]; var orga = params.options.orga; var alias = params.options.alias; var region = params.options.region; var s_type = Application.getInstanceType(api, params.options.type); var s_app = s_type .flatMapLatest(function(type) { retu...
var name = params.args[0]; var orga = params.options.orga; var alias = params.options.alias; var region = params.options.region; var s_type = Application.getInstanceType(api, params.options.type); var s_app = s_type .flatMapLatest(function(type) { return Application.create(api, name, type, regio...
<|file_sep|>original/src/commands/create.js var name = params.args[0]; var orga = params.options.orga; var alias = params.options.alias; var region = params.options.region; var s_type = Application.getInstanceType(api, params.options.type); var s_app = s_type .flatMapLatest(function(type) { retu...
e5ad170963b99a327dd3b13141fd267aa34b4bad
src/commands/create.js
src/commands/create.js
JavaScript
<|file_sep|>packages/ha/hasql-pool.yaml.diff original: hash: 7dad88d22927fb936d7062c7820de810b0ea631b86f75b4d395fcca9d50d4f0f updated: hash: d46ed9807977e98ecaf4cf504cf5d8ff3e5a976c27253fa29238912d63f92ca9 <|file_sep|>packages/ha/hasql-pool.yaml.diff original: hasql: ! '>=0.19 && <0.20 || >=1 && <2' updated: hasql:...
changelog: '' basic-deps: hasql: ! '>=1.3 && <1.4' base-prelude: ! '>=1 && <2' time: ! '>=1.5 && <2' resource-pool: ! '>=0.2 && <0.3' all-versions: - '0.1' - '0.3' - '0.4' - '0.4.1' - '0.4.2' - '0.4.2.1' - '0.4.3' - '0.4.3.1' - '0.5' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.5' description-type...
<|file_sep|>packages/ha/hasql-pool.yaml.diff original: hash: 7dad88d22927fb936d7062c7820de810b0ea631b86f75b4d395fcca9d50d4f0f updated: hash: d46ed9807977e98ecaf4cf504cf5d8ff3e5a976c27253fa29238912d63f92ca9 <|file_sep|>packages/ha/hasql-pool.yaml.diff original: hasql: ! '>=0.19 && <0.20 || >=1 && <2' updated: hasql:...
517f7cc136dc8c40e8c77efc27b6a36d8c702ba6
packages/ha/hasql-pool.yaml
packages/ha/hasql-pool.yaml
YAML
<|file_sep|>spec/features/recoveries/resetting_your_password_spec.rb.diff original: expect(page).to_not have_link('Sign in') updated: #expect(page).to_not have_link('Sign in') <|file_sep|>original/spec/features/recoveries/resetting_your_password_spec.rb fill_in 'recovery_user_attributes_password', with: 'ne...
fill_in 'recovery_user_attributes_password', with: 'newpassword' fill_in 'Password confirmation', with: 'newpassword' click_button 'Reset Password' expect(page).to have_content('Password reset') expect(page).to have_link('Sign out') end scenario "with an invalid url" do expect{visit recover...
<|file_sep|>spec/features/recoveries/resetting_your_password_spec.rb.diff original: expect(page).to_not have_link('Sign in') updated: #expect(page).to_not have_link('Sign in') <|file_sep|>original/spec/features/recoveries/resetting_your_password_spec.rb fill_in 'recovery_user_attributes_password', with: 'ne...
f45cd41c9dcc99f92504718c09211608d18c9e4c
spec/features/recoveries/resetting_your_password_spec.rb
spec/features/recoveries/resetting_your_password_spec.rb
Ruby
<|file_sep|>original/types/emoji-mart/index.d.ts // Type definitions for emoji-mart 2.8 // Project: https://github.com/missive/emoji-mart // Definitions by: Diogo Franco <https://github.com/Kovensky> // Nick Winans <https://github.com/Nicell> // Definitions: https://github.com/DefinitelyTyped/Definitely...
// Type definitions for emoji-mart 2.8 // Project: https://github.com/missive/emoji-mart // Definitions by: Diogo Franco <https://github.com/Kovensky> // Nick Winans <https://github.com/Nicell> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 export * from '...
<|file_sep|>original/types/emoji-mart/index.d.ts // Type definitions for emoji-mart 2.8 // Project: https://github.com/missive/emoji-mart // Definitions by: Diogo Franco <https://github.com/Kovensky> // Nick Winans <https://github.com/Nicell> // Definitions: https://github.com/DefinitelyTyped/Definitely...
6daee807ab903c6730dce84e172b934f3a48e4ca
types/emoji-mart/index.d.ts
types/emoji-mart/index.d.ts
TypeScript
<|file_sep|>original/pytest-{{cookiecutter.plugin_name}}/pytest_{{cookiecutter.plugin_name}}.py # -*- coding: utf-8 -*- import pytest def pytest_addoption(parser): group = parser.getgroup('{{cookiecutter.plugin_name}}') group.addoption( '--foo', action='store_const', dest='foo', ...
# -*- coding: utf-8 -*- import pytest def pytest_addoption(parser): group = parser.getgroup('{{cookiecutter.plugin_name}}') group.addoption( '--foo', action='store', dest='foo', help='alias for --foo' ) @pytest.fixture def bar(request): return request.config.option.f...
<|file_sep|>original/pytest-{{cookiecutter.plugin_name}}/pytest_{{cookiecutter.plugin_name}}.py # -*- coding: utf-8 -*- import pytest def pytest_addoption(parser): group = parser.getgroup('{{cookiecutter.plugin_name}}') group.addoption( '--foo', action='store_const', dest='foo', ...
8ee2bed47efadf8bedf086295c0f67850fad6876
pytest-{{cookiecutter.plugin_name}}/pytest_{{cookiecutter.plugin_name}}.py
pytest-{{cookiecutter.plugin_name}}/pytest_{{cookiecutter.plugin_name}}.py
Python
<|file_sep|>original/templates/diffviewer/changeindex.html <ol class="index"> {% for file in files %} <li><a href="#{{file.index}}" onclick="return !gotoAnchor('{{file.index}}');">{{file.user_filename}}</a>: {{ file.num_changes }} change{{ file.num_changes|pluralize }} [ {% spaceless %} {% for chunk in file.chun...
<ol class="index"> {% for file in files %} <li><a href="#{{file.index}}" onclick="return !gotoAnchor('{{file.index}}');">{{file.user_filename}}</a>: {{ file.num_changes }} change{{ file.num_changes|pluralize }} [ {% spaceless %} {% ifequal file.chunks.__len__ 1 %} <a href="#{{file.index}}.{{file.chunks.0.index}}...
<|file_sep|>original/templates/diffviewer/changeindex.html <ol class="index"> {% for file in files %} <li><a href="#{{file.index}}" onclick="return !gotoAnchor('{{file.index}}');">{{file.user_filename}}</a>: {{ file.num_changes }} change{{ file.num_changes|pluralize }} [ {% spaceless %} {% for chunk in file.chun...
0fcb6e1a085d1b1c554dbc99e49fac90d1f15dd7
templates/diffviewer/changeindex.html
templates/diffviewer/changeindex.html
HTML
<|file_sep|>original/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftInput.java public class MinecraftInput { private final ByteBuf buf; public byte readByte() { return buf.readByte(); } public short readUnisgnedByte() { return buf.readUnsignedByte(); } publi...
public class MinecraftInput { private final ByteBuf buf; public byte readByte() { return buf.readByte(); } public short readUnsignedByte() { return buf.readUnsignedByte(); } public int readInt() { return buf.readInt(); } public String readString()
<|file_sep|>original/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftInput.java public class MinecraftInput { private final ByteBuf buf; public byte readByte() { return buf.readByte(); } public short readUnisgnedByte() { return buf.readUnsignedByte(); } publi...
151344aaff3f39eb291b56566e4407f1b5dd1ae7
protocol/src/main/java/net/md_5/bungee/protocol/MinecraftInput.java
protocol/src/main/java/net/md_5/bungee/protocol/MinecraftInput.java
Java
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "node" after_success: - "nyc report --reporter=text-lcov | coveralls" <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "6" - "node" after_success: - "nyc report --reporter=text-lcov | coveralls" <|file_sep|>updat...
language: node_js cache: yarn: true directories: - node_modules node_js: - "4" - "6" - "node" after_success: - "nyc report --reporter=text-lcov | coveralls"
<|file_sep|>original/.travis.yml language: node_js node_js: - "4" - "6" - "node" after_success: - "nyc report --reporter=text-lcov | coveralls" <|file_sep|>current/.travis.yml language: node_js node_js: - "4" - "6" - "node" after_success: - "nyc report --reporter=text-lcov | coveralls" <|file_sep|>updat...
d5ddb1a2bd8c0017f826d8f8ca1e1d09d7281412
.travis.yml
.travis.yml
YAML
<|file_sep|>js/responsive-overlay-menu.js.diff original: $(document).ready(function () { updated: (function ($) { <|file_sep|>js/responsive-overlay-menu.js.diff original: updated: event.preventDefault(); <|file_sep|>js/responsive-overlay-menu.js.diff original: updated: event.preventDefault(); <|file_s...
(function ($) { $(".menu-btn a").click(function () { event.preventDefault(); $(".overlay").fadeToggle(200); $(this).toggleClass('btn-open').toggleClass('btn-close'); }); $('.overlay').on('click', function () { $(".overlay").fadeToggle(200); $(".menu-btn a").toggleCl...
<|file_sep|>js/responsive-overlay-menu.js.diff original: $(document).ready(function () { updated: (function ($) { <|file_sep|>js/responsive-overlay-menu.js.diff original: updated: event.preventDefault(); <|file_sep|>js/responsive-overlay-menu.js.diff original: updated: event.preventDefault(); <|file_s...
9bb7d328e9e64eead6af6bb0ff06dc147ceed2d0
js/responsive-overlay-menu.js
js/responsive-overlay-menu.js
JavaScript
<|file_sep|>README.md.diff original: A digital pairing board! Give new Dev Bootcamp students a way to connect to experienced DBC students for Saturday mentoring. updated: A digital pairing board! This idea was pitched by one of the DBC instructors as a client project. The mission is to give new Dev Bootcamp students a...
## Getting Started ### Register/Login/Account Users must have an account and be logged in to use Pair Board. Avatars are automatically pulled from Gravatar. Users can update their profile details and avatar from their account page. ### Mentors Mentors can make offerings on the Pair Board to let students know their av...
<|file_sep|>README.md.diff original: A digital pairing board! Give new Dev Bootcamp students a way to connect to experienced DBC students for Saturday mentoring. updated: A digital pairing board! This idea was pitched by one of the DBC instructors as a client project. The mission is to give new Dev Bootcamp students a...
03df374486b8666897498a60bf3712d3158e1c31
README.md
README.md
Markdown
<|file_sep|>app/views/devise/sessions/new.html.erb.diff original: <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <dl><%= f.label :email %>: <%= f.email_field :email, :autofocus => true, class: "form-control" %></dl> updated: <%= form_for(resource, ...
<%= f.label :email %> <%= f.email_field :email, autofocus: true, class: "form-control" %> </dl> <dl> <%= f.label :password %> <%= f.password_field :password, class: "form-control" %> </dl> <% if devise_mapping.rememberable? -%> <dl> <%= f.che...
<|file_sep|>app/views/devise/sessions/new.html.erb.diff original: <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <dl><%= f.label :email %>: <%= f.email_field :email, :autofocus => true, class: "form-control" %></dl> updated: <%= form_for(resource, ...
b2be2cd1e386484315c27fab25bfe1c8cd33ba3b
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
HTML+ERB
<|file_sep|>test_sempai.py.diff original: with open(os.path.join(self.direc, 'test_sempai.json'), 'w') as f: updated: with open(os.path.join(self.direc, 'sempai.json'), 'w') as f: <|file_sep|>test_sempai.py.diff original: updated: sys.path.remove(self.direc) <|file_sep|>original/test_sempai.py ...
def setup(self): self.direc = tempfile.mkdtemp(prefix='jsonsempai') sys.path.append(self.direc) with open(os.path.join(self.direc, 'sempai.json'), 'w') as f: f.write(TEST_FILE) def teardown(self): sys.path.remove(self.direc) shutil.rmtree(self.direc) de...
<|file_sep|>test_sempai.py.diff original: with open(os.path.join(self.direc, 'test_sempai.json'), 'w') as f: updated: with open(os.path.join(self.direc, 'sempai.json'), 'w') as f: <|file_sep|>test_sempai.py.diff original: updated: sys.path.remove(self.direc) <|file_sep|>original/test_sempai.py ...
ff445030337b087513114f327b05e89fdfc7d31d
test_sempai.py
test_sempai.py
Python
<|file_sep|>original/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md <|file_sep|>current/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md <|file_sep|>updated/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md
--- owner_slack: "#2ndline" title: Jenkins agent not connected to master parent: "/manual.html" layout: manual_layout section: Icinga alerts last_reviewed_on: 2018-04-27 review_in: 6 months --- If the Jenkins agent is not connect to the master you can have a look at the [Jenkins Nodes UI][jenkins-nodes] and see if it'...
<|file_sep|>original/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md <|file_sep|>current/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md <|file_sep|>updated/source/manual/alerts/jenkins-agent-not-connected-to-master.html.md --- owner_slack: "#2ndline" title: Jenkins agent not con...
9267a316878c9efe20c56fab6400dd7de4c0953c
source/manual/alerts/jenkins-agent-not-connected-to-master.html.md
source/manual/alerts/jenkins-agent-not-connected-to-master.html.md
Markdown
<|file_sep|>original/Source/Controllers/MailController.cs public EmailResult VerificationEmail( User model, EmailVerificationToken token ) { To.Add( model.Email ); From = GetFromEmail( "Verification" ); Subject = "Please verify your account"; ViewBag.Token = token.Token; return Email( "VerificationE...
public EmailResult VerificationEmail( User model, EmailVerificationToken token ) { To.Add( model.Email ); From = GetFromEmail( "Verification" ); Subject = "Please verify your account"; ViewBag.Token = token.Token; return Email( "VerificationEmail" ); } public EmailResult ExceptionEmail( HttpExc...
<|file_sep|>original/Source/Controllers/MailController.cs public EmailResult VerificationEmail( User model, EmailVerificationToken token ) { To.Add( model.Email ); From = GetFromEmail( "Verification" ); Subject = "Please verify your account"; ViewBag.Token = token.Token; return Email( "VerificationE...
356e0f42d34cd5ff11767f8f584ead235aa8bc0e
Source/Controllers/MailController.cs
Source/Controllers/MailController.cs
C#
<|file_sep|>original/.travis.yml sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 0.12 - 4 - 6 matrix: fast_finish: true allow_failures: env: global: - CXX=g++-4.8 script: "npm run travis" addons: apt: sources: <|file_sep|>current/...
sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 4 - 6 matrix: fast_finish: true allow_failures: env: global: - CXX=g++-4.8 script: "npm run travis" addons: apt: sources: - ubuntu-toolchain-r-test
<|file_sep|>original/.travis.yml sudo: false language: node_js cache: directories: - node_modules notifications: email: false node_js: - 0.12 - 4 - 6 matrix: fast_finish: true allow_failures: env: global: - CXX=g++-4.8 script: "npm run travis" addons: apt: sources: <|file_sep|>current/...
d26548fd25299ca5bd270cb337108ca14443be43
.travis.yml
.travis.yml
YAML
<|file_sep|>ember/tests/acceptance/upload-test.js.diff original: import { setupPolly } from 'skylines/tests/test-helpers/setup-polly'; updated: import { setupMirage } from 'ember-cli-mirage/test-support'; <|file_sep|>original/ember/tests/acceptance/upload-test.js import { visit, currentURL } from '@ember/test-helpers';...
import { visit, currentURL } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; import { module, test } from 'qunit'; import { setupMirage } from 'ember-cli-mirage/test-support'; module('Acceptance | flight upload', function (hooks) { setupApplicationTest(hooks); setupMirage(hooks); ...
<|file_sep|>ember/tests/acceptance/upload-test.js.diff original: import { setupPolly } from 'skylines/tests/test-helpers/setup-polly'; updated: import { setupMirage } from 'ember-cli-mirage/test-support'; <|file_sep|>original/ember/tests/acceptance/upload-test.js import { visit, currentURL } from '@ember/test-helpers';...
b9fd8a77148c13ec9edf40cdbed371bb9c054b68
ember/tests/acceptance/upload-test.js
ember/tests/acceptance/upload-test.js
JavaScript
<|file_sep|>bin/appledoc-build.sh.diff original: #! /usr/bin/env bash updated: #! /bin/bash set -eux -o pipefail <|file_sep|>original/bin/appledoc-build.sh inpath() { type $1 &> /dev/null } inpath appledoc && appledoc \ --project-name "TPDWeakProxy" \ --project-company "Tetherpad" \ --company-id "co...
set -eux -o pipefail PATH=/bin:/usr/bin:/usr/local/bin if [[ $(type -P appledoc) ]] then appledoc \ --project-name "TPDWeakProxy" \ --project-company "Tetherpad" \ --company-id "com.tetherpad" \ --output "doc" \ --logformat xcode \ --keep-undocumented-objects \ ...
<|file_sep|>bin/appledoc-build.sh.diff original: #! /usr/bin/env bash updated: #! /bin/bash set -eux -o pipefail <|file_sep|>original/bin/appledoc-build.sh inpath() { type $1 &> /dev/null } inpath appledoc && appledoc \ --project-name "TPDWeakProxy" \ --project-company "Tetherpad" \ --company-id "co...
a6c48fc90130243833c5b82728d1514327447c43
bin/appledoc-build.sh
bin/appledoc-build.sh
Shell
<|file_sep|>original/input.go // handling cases. We still would like to wait until the user // (termbox) has some event for us to process, but we don't // want to allow termbox to control/block our input loop. // // Solution: put termbox polling in a separate goroutine, // and we just watch for a channel. The loo...
// handling cases. We still would like to wait until the user // (termbox) has some event for us to process, but we don't // want to allow termbox to control/block our input loop. // // Solution: put termbox polling in a separate goroutine, // and we just watch for a channel. The loop can now // safely be implem...
<|file_sep|>original/input.go // handling cases. We still would like to wait until the user // (termbox) has some event for us to process, but we don't // want to allow termbox to control/block our input loop. // // Solution: put termbox polling in a separate goroutine, // and we just watch for a channel. The loo...
c3f3ad2686e443847296f86f521f4b6ba3b66494
input.go
input.go
Go
<|file_sep|>original/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java <|file_sep|>current/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java <|file_sep|>updated/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java
package org.numenta.nupic.util; import static org.junit.Assert.*; import org.junit.Test; public class MethodSignatureTest { @Test public void testSetParam() { MethodSignature ms = new MethodSignature(2); int param1 = 5; ms.setParam(param1, 0); assertEquals(5, ms.get...
<|file_sep|>original/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java <|file_sep|>current/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java <|file_sep|>updated/src/test/java/org/numenta/nupic/util/MethodSignatureTest.java package org.numenta.nupic.util; import static org.junit.Assert.*; imp...
7f9a6769f722d144981f4acfe2a941f71f31bad8
src/test/java/org/numenta/nupic/util/MethodSignatureTest.java
src/test/java/org/numenta/nupic/util/MethodSignatureTest.java
Java
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - master pool: vmImage: 'ubuntu-latest' steps: - script: echo Hello, world! displayName: 'Run a one-line script' - sc...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - maste...
9aa535e30de45152b19132d83d84016217d68781
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>recipes/dipy/meta.yaml.diff original: updated: features: - vc9 # [win and py27] - vc10 # [win and py34] - vc14 # [win and py35] <|file_sep|>recipes/dipy/meta.yaml.diff original: updated: - gcc # [not win] <|file_sep|>original/recipes/dipy/meta.yaml - python - nu...
- nibabel - cython - gcc # [not win] run: - python - numpy x.x - scipy - nibabel - scikit-learn - matplotlib - libgcc # [unix] test: imports: - dipy about: home: https://nipy.org/dipy license: 3-clause BSD license license_file: LICENSE summary: Diffusion MR Imag...
<|file_sep|>recipes/dipy/meta.yaml.diff original: updated: features: - vc9 # [win and py27] - vc10 # [win and py34] - vc14 # [win and py35] <|file_sep|>recipes/dipy/meta.yaml.diff original: updated: - gcc # [not win] <|file_sep|>original/recipes/dipy/meta.yaml - python - nu...
2c8dc2005ed78936efc602dfde688fa470127ef0
recipes/dipy/meta.yaml
recipes/dipy/meta.yaml
YAML
<|file_sep|>original/.circleci/config.yml # Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:10.15.1 # Specify servic...
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:12 # Specify service dependencies here if necessary # Circle...
<|file_sep|>original/.circleci/config.yml # Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:10.15.1 # Specify servic...
f674ce7114ba04cd4136556ffca34f5a82523eee
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>README.md.diff original: updated: ## Installation ### Fork and clone repo ``` $ git clone git@github.com:evanscloud/canoe-travel-planner.git ``` ### Switch to directory ``` $ cd canoe-travel-planner/ ``` ### Execute for dependencies ``` $ bundle install ``` ### Seed database ``` $ rake db:migrate ``` ...
``` ### Enter in browser to view ``` $ localhost:9393 ``` ## Bugs/Issues If you encounter any bugs or issues, feel free to open an issue and/or DM me [@evanscloud](https://twitter.com/evanscloud). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/evanscloud/canoe-travel-pla...
<|file_sep|>README.md.diff original: updated: ## Installation ### Fork and clone repo ``` $ git clone git@github.com:evanscloud/canoe-travel-planner.git ``` ### Switch to directory ``` $ cd canoe-travel-planner/ ``` ### Execute for dependencies ``` $ bundle install ``` ### Seed database ``` $ rake db:migrate ``` ...
19001f8d7c69342dbce2c17b57f9d8bb00ceb730
README.md
README.md
Markdown
<|file_sep|>original/script/build.js } export default ({configSrc = './', configInput = join(configSrc, 'index.js')}) => { return [ { ...defaults, input: configInput, output: [{file: join(configSrc, 'dist', 'stylis.cjs'), format: 'cjs', name: 'stylis', freeze: false, sourcemap: true}], plugins: [terser(...
}, treeshake: {propertyReadSideEffects: false}, context: 'this' } export default ({configSrc = './', configInput = join(configSrc, 'index.js')}) => { return [ { ...defaults, input: configInput, output: [{file: join(configSrc, 'dist', 'stylis.cjs'), format: 'umd', name: 'stylis', freeze: false, sourcemap...
<|file_sep|>original/script/build.js } export default ({configSrc = './', configInput = join(configSrc, 'index.js')}) => { return [ { ...defaults, input: configInput, output: [{file: join(configSrc, 'dist', 'stylis.cjs'), format: 'cjs', name: 'stylis', freeze: false, sourcemap: true}], plugins: [terser(...
7cd3a624fa17974959bc33436314e6d0d0b237a2
script/build.js
script/build.js
JavaScript
<|file_sep|>original/script/cruise_build.sh <|file_sep|>current/script/cruise_build.sh <|file_sep|>updated/script/cruise_build.sh
#!/usr/bin/env bash source "$HOME/.rvm/scripts/rvm" ruby_version="1.9.3" function install_ruby_if_needed() { echo "Checking for Ruby $ruby_version..." if ! rvm list strings | grep "ruby-$ruby_version" > /dev/null; then rvm install "ruby-$ruby_version" || exit 1 fi } function install_bundler_if_needed() { ...
<|file_sep|>original/script/cruise_build.sh <|file_sep|>current/script/cruise_build.sh <|file_sep|>updated/script/cruise_build.sh #!/usr/bin/env bash source "$HOME/.rvm/scripts/rvm" ruby_version="1.9.3" function install_ruby_if_needed() { echo "Checking for Ruby $ruby_version..." if ! rvm list strings | grep "r...
58ddac21e6b711d65c25078e00162ed0155f458f
script/cruise_build.sh
script/cruise_build.sh
Shell
<|file_sep|>bash/init.d/perforce.bash.diff original: #1bash updated: #!bash <|file_sep|>original/bash/init.d/perforce.bash #1bash # # Perforce setup. # The name of the p4 configuration file. export P4CONFIG=.p4conf <|file_sep|>current/bash/init.d/perforce.bash #!bash # # Perforce setup. # The name of the p4 configura...
#!bash # # Perforce setup. # The name of the p4 configuration file. export P4CONFIG=.p4config
<|file_sep|>bash/init.d/perforce.bash.diff original: #1bash updated: #!bash <|file_sep|>original/bash/init.d/perforce.bash #1bash # # Perforce setup. # The name of the p4 configuration file. export P4CONFIG=.p4conf <|file_sep|>current/bash/init.d/perforce.bash #!bash # # Perforce setup. # The name of the p4 configura...
dd6a52a6637f17b1d54805c2ddf27613b81c7e16
bash/init.d/perforce.bash
bash/init.d/perforce.bash
Shell
<|file_sep|>original/spraakbanken/s5/spr_local/make_count_files.py <|file_sep|>current/spraakbanken/s5/spr_local/make_count_files.py <|file_sep|>updated/spraakbanken/s5/spr_local/make_count_files.py
#!/usr/bin/env python3 import argparse import collections import os from fractions import Fraction def main(countfile, origcount, order, outdir): vocab = {"<s>": 0, "</s>": 1} counters = [None] for _ in range(order+1): counters.append(collections.Counter()) def map_vocab(line): fo...
<|file_sep|>original/spraakbanken/s5/spr_local/make_count_files.py <|file_sep|>current/spraakbanken/s5/spr_local/make_count_files.py <|file_sep|>updated/spraakbanken/s5/spr_local/make_count_files.py #!/usr/bin/env python3 import argparse import collections import os from fractions import Fraction def main(countfi...
215f71b95911a579df919e9b81ae75feac208259
spraakbanken/s5/spr_local/make_count_files.py
spraakbanken/s5/spr_local/make_count_files.py
Python
<|file_sep|>original/.travis.yml language: python python: - '2.6' - '2.7' - '3.2' - '3.3' - '3.4' deploy: provider: pypi user: davoclavo password: secure: ib4iaqycgcF3ijSeUAvOkPWUJe3K0Y0Iha23GaUXfCkYykIEBBTc830co418dNXHA1dDBCpopfFxnAmplZlWzCakqXFQqZttaRMSQ4jgp6tsbUdLbAd4Zgitobr04oWs3xb3fGKCkCx8c+Zrf...
language: python python: - '2.6' - '2.7' - '3.2' - '3.3' - '3.4' deploy: provider: pypi user: davoclavo password: secure: ib4iaqycgcF3ijSeUAvOkPWUJe3K0Y0Iha23GaUXfCkYykIEBBTc830co418dNXHA1dDBCpopfFxnAmplZlWzCakqXFQqZttaRMSQ4jgp6tsbUdLbAd4Zgitobr04oWs3xb3fGKCkCx8c+ZrfadSHmKLj63XKhtIeClfEt/LdsQ= insta...
<|file_sep|>original/.travis.yml language: python python: - '2.6' - '2.7' - '3.2' - '3.3' - '3.4' deploy: provider: pypi user: davoclavo password: secure: ib4iaqycgcF3ijSeUAvOkPWUJe3K0Y0Iha23GaUXfCkYykIEBBTc830co418dNXHA1dDBCpopfFxnAmplZlWzCakqXFQqZttaRMSQ4jgp6tsbUdLbAd4Zgitobr04oWs3xb3fGKCkCx8c+Zrf...
707e66a65eea697153928d5cb70824a69e5959a9
.travis.yml
.travis.yml
YAML
<|file_sep|>imports/ui/components/main/main.styl.diff original: updated: pad-inline 1em <|file_sep|>original/imports/ui/components/main/main.styl table width: 50% tr &:hover background-color: $tertiary-grey td font-size: 80% line...
width: 50% tr &:hover background-color: $tertiary-grey td font-size: 80% line-height: 1.5em pad-block 0.25em pad-inline 1em &:first-child white-space: nowrap &:not(:first-child) ...
<|file_sep|>imports/ui/components/main/main.styl.diff original: updated: pad-inline 1em <|file_sep|>original/imports/ui/components/main/main.styl table width: 50% tr &:hover background-color: $tertiary-grey td font-size: 80% line...
36638f23f6ab5f2af8932d4f004d00b74e95a0fd
imports/ui/components/main/main.styl
imports/ui/components/main/main.styl
Stylus
<|file_sep|>app/views/admin/search/_topic_search.html.erb.diff original: <div class="col-xs-12 col-sm-7 col-md-7"> updated: <div class="col-xs-8 col-sm-7 col-md-7"> <|file_sep|>original/app/views/admin/search/_topic_search.html.erb <div class="form-group"> <div class="col-xs-12 col-sm-7 col-md-7"> <...
<div class="form-group"> <div class="col-xs-8 col-sm-7 col-md-7"> <%= text_field_tag('q', nil, placeholder: t(:search, default: 'Search'), value: params[:q], class: 'form-control search-field', style: "width: 100%;" )%> </div> <div class="col-sm-2 col-md-2 hidden-xs text-center"> <div class="i...
<|file_sep|>app/views/admin/search/_topic_search.html.erb.diff original: <div class="col-xs-12 col-sm-7 col-md-7"> updated: <div class="col-xs-8 col-sm-7 col-md-7"> <|file_sep|>original/app/views/admin/search/_topic_search.html.erb <div class="form-group"> <div class="col-xs-12 col-sm-7 col-md-7"> <...
f7a2308db5971985bafc9228c02e5333f3bd5947
app/views/admin/search/_topic_search.html.erb
app/views/admin/search/_topic_search.html.erb
HTML+ERB