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/pycroscopy/io/translators/df_utils/beps_gen_utils.py import numpy as np def combine_in_out_field_loops(in_vec, out_vec): """ Parameters ---------- in_vec out_vec Returns ------- """ return np.vstack((in_vec, out_vec)) def build_loop_from_mat(loop_mat, num...
import numpy as np import os beps_image_folder = os.path.abspath(os.path.join(os.path.realpath(__file__), '../beps_data_gen_images')) def combine_in_out_field_loops(in_vec, out_vec): """ Parameters ---------- in_vec out_vec Returns ------- """ return np.vstack((in_vec, out_vec...
<|file_sep|>original/pycroscopy/io/translators/df_utils/beps_gen_utils.py import numpy as np def combine_in_out_field_loops(in_vec, out_vec): """ Parameters ---------- in_vec out_vec Returns ------- """ return np.vstack((in_vec, out_vec)) def build_loop_from_mat(loop_mat, num...
0470d1243ad2d7e7fd086c2b2f695dc431eaf2ea
pycroscopy/io/translators/df_utils/beps_gen_utils.py
pycroscopy/io/translators/df_utils/beps_gen_utils.py
Python
<|file_sep|>src/utils/register-foreign.coffee.diff original: foreigner.register program.broker, definition, (err) -> updated: messaging = msgflo_nodejs.transport.getClient program.broker messaging.connect (err) -> <|file_sep|>original/src/utils/register-foreign.coffee catch e return onError e ...
definition.role = path.basename defPath, path.extname defPath unless definition.role inPorts = definition.inports or {} definition.inports = Object.keys(inPorts).map (id) -> def = inPorts[id] def.id = id def outPorts = definition.outports or {} definition.outports = Object.keys(ou...
<|file_sep|>src/utils/register-foreign.coffee.diff original: foreigner.register program.broker, definition, (err) -> updated: messaging = msgflo_nodejs.transport.getClient program.broker messaging.connect (err) -> <|file_sep|>original/src/utils/register-foreign.coffee catch e return onError e ...
90a70bb921e16a0e787f33582446d8dd3c00d05a
src/utils/register-foreign.coffee
src/utils/register-foreign.coffee
CoffeeScript
<|file_sep|>original/db/migrate/20161102061445_create_services.rb class CreateServices < ActiveRecord::Migration[5.0] def change create_table :services do |t| t.string :user_id t.jsonb :servicedata t.timestamps end add_index :services, :user_id end end <|file_sep|>current/db/migrate/2...
class CreateServices < ActiveRecord::Migration[5.0] def change create_table :services do |t| t.integer :user_id t.jsonb :servicedata t.timestamps end add_index :services, :user_id end end
<|file_sep|>original/db/migrate/20161102061445_create_services.rb class CreateServices < ActiveRecord::Migration[5.0] def change create_table :services do |t| t.string :user_id t.jsonb :servicedata t.timestamps end add_index :services, :user_id end end <|file_sep|>current/db/migrate/2...
c1a537720a186876f4eaceb69637e1815eceafbd
db/migrate/20161102061445_create_services.rb
db/migrate/20161102061445_create_services.rb
Ruby
<|file_sep|>original/Manifold/Binding.swift self.symbol = symbol self.value = value self.type = type } public let symbol: Name public let value: Expression<Recur> public let type: Expression<Recur> } extension Binding where Recur: FixpointType { public func typecheck(context: [Name: Expression<Recur>]) -> ...
self.value = value self.type = type } public let symbol: Name public let value: Expression<Recur> public let type: Expression<Recur> } extension Binding where Recur: FixpointType { public func typecheck(context: [Name: Expression<Recur>]) -> Either<Error, Expression<Recur>> { return type.checkIsType(contex...
<|file_sep|>original/Manifold/Binding.swift self.symbol = symbol self.value = value self.type = type } public let symbol: Name public let value: Expression<Recur> public let type: Expression<Recur> } extension Binding where Recur: FixpointType { public func typecheck(context: [Name: Expression<Recur>]) -> ...
ed0b71fd9207d682b3f5894f128d83bc30ad8625
Manifold/Binding.swift
Manifold/Binding.swift
Swift
<|file_sep|>original/node/raspi/README.md <|file_sep|>current/node/raspi/README.md <|file_sep|>updated/node/raspi/README.md
Raspberry Pi setup ------------------ 0. [Install Raspbian](https://www.raspberrypi.org/downloads/raspbian/) - tested on Jessie 1. `git clone https://github.com/palfrey/pyrexia.git` 2. `cd pyrexia` 3. `sudo pip install -r requirements.txt` 4. &lt;copy config.json&gt; 5. `python generate_config.py` 6. `cd node/raspi` 7...
<|file_sep|>original/node/raspi/README.md <|file_sep|>current/node/raspi/README.md <|file_sep|>updated/node/raspi/README.md Raspberry Pi setup ------------------ 0. [Install Raspbian](https://www.raspberrypi.org/downloads/raspbian/) - tested on Jessie 1. `git clone https://github.com/palfrey/pyrexia.git` 2. `cd pyre...
635eeebd56ff978abfd730a78247dffe56f38bfa
node/raspi/README.md
node/raspi/README.md
Markdown
<|file_sep|>original/cmsplugin_iframe/models.py from cms.models import CMSPlugin from django.db import models class IframePlugin(CMSPlugin): src = models.URLField() <|file_sep|>current/cmsplugin_iframe/models.py from cms.models import CMSPlugin from django.db import models class IframePlugin(CMSPlugin): src...
from cms.models import CMSPlugin from django.db import models class IframePlugin(CMSPlugin): src = models.URLField(max_length=400)
<|file_sep|>original/cmsplugin_iframe/models.py from cms.models import CMSPlugin from django.db import models class IframePlugin(CMSPlugin): src = models.URLField() <|file_sep|>current/cmsplugin_iframe/models.py from cms.models import CMSPlugin from django.db import models class IframePlugin(CMSPlugin): src...
e94d40af916fa51e7e8737fd151d8cfc8a94891a
cmsplugin_iframe/models.py
cmsplugin_iframe/models.py
Python
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.1.3) project(xmaho VERSION 0.1.0 LANGUAGES CXX ) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS RelWithDebInfo Release Debug MinSizeRel None) if(NOT CMAKE_BUILD_TYPE) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE RelWithDebInfo) endi...
cmake_minimum_required(VERSION 3.1.3) project(xmaho VERSION 0.1.0 LANGUAGES CXX ) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS RelWithDebInfo Release Debug MinSizeRel) if(NOT CMAKE_BUILD_TYPE) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE RelWithDebInfo) endif(NOT CMAKE_BUILD_TYPE) option(ENABLE_TE...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required(VERSION 3.1.3) project(xmaho VERSION 0.1.0 LANGUAGES CXX ) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS RelWithDebInfo Release Debug MinSizeRel None) if(NOT CMAKE_BUILD_TYPE) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE RelWithDebInfo) endi...
41349ab1592cb13c8d2e6ae8901e58a157ee2104
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/Gruntfile.coffee test: ['test/support/build'] coffee: task: options: bare: true files: 'tasks/gyp.js': 'tasks/gyp.coffee' mochacli: options: bail: true compilers: ['coffee:coffee-script/register'] files: ['test/'] grunt.loadNpmTasks 'grunt-contrib-clean'...
test: ['test/support/build'] coffee: task: options: bare: true files: 'tasks/gyp.js': 'tasks/gyp.coffee' mochacli: options: bail: true compilers: ['coffee:coffee-script/register'] files: ['test/'] grunt.loadNpmTasks 'grunt-contrib-clean' grunt.loadNpmTasks 'grunt-contrib-co...
<|file_sep|>original/Gruntfile.coffee test: ['test/support/build'] coffee: task: options: bare: true files: 'tasks/gyp.js': 'tasks/gyp.coffee' mochacli: options: bail: true compilers: ['coffee:coffee-script/register'] files: ['test/'] grunt.loadNpmTasks 'grunt-contrib-clean'...
e6fc4e58a5cb5ddb39db71e052a6108ec1d31c92
Gruntfile.coffee
Gruntfile.coffee
CoffeeScript
<|file_sep|>original/playbook/roles/dbserver/defaults/main.yml --- partition_var_lib_mysql: True var_lib_mysql_disk: /var/vdc mariadb_root_password: root max_connections: 500 connection_timeout: 5 wait_timeout: 60 max_allowed_packet: 256M innodb_buffer_pool_size: 1024 innodb_buffer_pool_instances: 6 innodb_log_buffer...
--- partition_var_lib_mysql: True var_lib_mysql_disk: /var/vdc mariadb_root_password: root max_connections: 500 connection_timeout: 5 wait_timeout: 60 innodb_buffer_pool_size: 1024 innodb_buffer_pool_instances: 6 innodb_log_buffer_size: 8M innodb_log_file_size: 24M innodb_additional_mem_pool_size: 10M innodb_concurre...
<|file_sep|>original/playbook/roles/dbserver/defaults/main.yml --- partition_var_lib_mysql: True var_lib_mysql_disk: /var/vdc mariadb_root_password: root max_connections: 500 connection_timeout: 5 wait_timeout: 60 max_allowed_packet: 256M innodb_buffer_pool_size: 1024 innodb_buffer_pool_instances: 6 innodb_log_buffer...
bfdf01a34d1ffd6992a7ea3ceea066c19a273a99
playbook/roles/dbserver/defaults/main.yml
playbook/roles/dbserver/defaults/main.yml
YAML
<|file_sep|>docker-compose.yml.diff original: #- SCRIPT_ON_RUN="/scripts/example-script-on-run.sh" # optional updated: - SCRIPT_ON_RUN=/sql/populate_database.sh # optional <|file_sep|>original/docker-compose.yml version: '3' services: app: image: juusechec/centos-symfony-postgis:latest privileged:...
version: '3' services: app: image: juusechec/centos-symfony-postgis:latest privileged: true # obligatory for centos systemd! environment: - SCRIPT_ON_RUN=/sql/populate_database.sh # optional #- DATABASE_HOST="localhost" - DATABASE_PORT=15432 - DATABASE_NAME=sigma4c - DATABASE...
<|file_sep|>docker-compose.yml.diff original: #- SCRIPT_ON_RUN="/scripts/example-script-on-run.sh" # optional updated: - SCRIPT_ON_RUN=/sql/populate_database.sh # optional <|file_sep|>original/docker-compose.yml version: '3' services: app: image: juusechec/centos-symfony-postgis:latest privileged:...
f580b54b5fd5944039667163d8895cfb07b742e3
docker-compose.yml
docker-compose.yml
YAML
<|file_sep|>original/how-to-create-an-app-using-reactjs.md <|file_sep|>current/how-to-create-an-app-using-reactjs.md <|file_sep|>updated/how-to-create-an-app-using-reactjs.md
# How to create an app using ReactJS framework? <br> ### Create a [new React app](https://reactjs.org/docs/create-a-new-react-app.html). ```shell npx create-react-app my-app-name cd my-app-name npm start ``` <br> ### Install [Bootstrap](https://getbootstrap.com/) framework. ```shell # Install Bootstrap version 4....
<|file_sep|>original/how-to-create-an-app-using-reactjs.md <|file_sep|>current/how-to-create-an-app-using-reactjs.md <|file_sep|>updated/how-to-create-an-app-using-reactjs.md # How to create an app using ReactJS framework? <br> ### Create a [new React app](https://reactjs.org/docs/create-a-new-react-app.html). ```...
48ce27f509c32664bf36937ad2a3c32e3f7aa5b1
how-to-create-an-app-using-reactjs.md
how-to-create-an-app-using-reactjs.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==21.0.1 bumpversion==0.6.0 wheel==0.36.2 watchdog==2.0.2 flake8==3.9.0 tox==3.23.0 coverage==5.5 Sphinx==3.5.3 sphinx-rtd-theme==0.5.1 cryptography==3.4.6 PyYAML==5.4.1 pytest==6.2.2 pytest-cov==2.11.1 pytest-runner==5.3.0 codecov==2.1.11 matplotlib==3.3.4 <|file_sep|>curr...
pip==21.0.1 bumpversion==0.6.0 wheel==0.36.2 watchdog==2.0.2 flake8==3.9.0 tox==3.23.0 coverage==5.5 Sphinx==3.5.3 sphinx-rtd-theme==0.5.1 cryptography==3.4.7 PyYAML==5.4.1 pytest==6.2.2 pytest-cov==2.11.1 pytest-runner==5.3.0 codecov==2.1.11 matplotlib==3.3.4
<|file_sep|>original/requirements_dev.txt pip==21.0.1 bumpversion==0.6.0 wheel==0.36.2 watchdog==2.0.2 flake8==3.9.0 tox==3.23.0 coverage==5.5 Sphinx==3.5.3 sphinx-rtd-theme==0.5.1 cryptography==3.4.6 PyYAML==5.4.1 pytest==6.2.2 pytest-cov==2.11.1 pytest-runner==5.3.0 codecov==2.1.11 matplotlib==3.3.4 <|file_sep|>curr...
b3aea153894bb9d2b0caf975d8a71f989578b6b6
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/.travis.yml language: rust rust: - nightly - beta addons: rethinkdb: '2.3.5' before_script: - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 & - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 & scrip...
language: rust rust: - nightly - beta - stable - 1.15.0 addons: rethinkdb: '2.3.5' before_script: - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 & - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 & script: - cargo test...
<|file_sep|>original/.travis.yml language: rust rust: - nightly - beta addons: rethinkdb: '2.3.5' before_script: - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 & - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 & scrip...
378d35fee1df353e9f8b56b30a98002f112a40d0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "hubot-sns", "description": "Hubot script for receiving notifications from AWS Simple Notification Service", "version": "0.2.0", "homepage": "https://github.com/mdouglass/hubot-sns", "author": "Matthew Douglass <matthew+npm@douglasstribe.com>", "license": "MIT", ...
{ "name": "hubot-sns", "description": "Hubot script for receiving notifications from AWS Simple Notification Service", "version": "0.2.1", "homepage": "https://github.com/mdouglass/hubot-sns", "author": "Matthew Douglass <matthew+npm@douglasstribe.com>", "license": "MIT", "keywords": [ "hubot", "...
<|file_sep|>original/package.json { "name": "hubot-sns", "description": "Hubot script for receiving notifications from AWS Simple Notification Service", "version": "0.2.0", "homepage": "https://github.com/mdouglass/hubot-sns", "author": "Matthew Douglass <matthew+npm@douglasstribe.com>", "license": "MIT", ...
db4f276468bb89d00e0c7d3dc9487efe11928828
package.json
package.json
JSON
<|file_sep|>original/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt <|file_sep|>current/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt <|file_sep|>updated/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt
Servidor Whois de NIC-Uruguay (.UY) Este servidor contiene informacion autoritativa exclusivamente de dominios bajo EDU.UY, ORG.UY, NET.UY, GUB.UY y MIL.UY Cualquier consulta sobre este servicio, puede hacerla al correo electronico dns-adm@seciu.edu.uy Por informacion sobre dominios bajo COM.UY dirigirse a https://n...
<|file_sep|>original/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt <|file_sep|>current/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt <|file_sep|>updated/spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt Servidor Whois de NIC-Uruguay (.UY) Este servidor contiene informa...
0d6759ec02302130ee10f995995dca2f3abb97e6
spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt
spec/fixtures/responses/whois.nic.org.uy/response_is_error.txt
Text
<|file_sep|>original/.appveyor.yml environment: global: - RANDOM_SEED: 12345 matrix: - PYTHON_MAJOR: 2 PYTHON_MINOR: 7 - PYTHON_MAJOR: 3 PYTHON_MINOR: 3 - PYTHON_MAJOR: 3 PYTHON_MINOR: 4 - PYTHON_MAJOR: 3 PYTHON_MINOR: 5 cache: - env install: # Export build paths ...
environment: global: RANDOM_SEED: 12345 matrix: - PYTHON_MAJOR: 2 PYTHON_MINOR: 7 - PYTHON_MAJOR: 3 PYTHON_MINOR: 3 - PYTHON_MAJOR: 3 PYTHON_MINOR: 4 - PYTHON_MAJOR: 3 PYTHON_MINOR: 5 cache: - env install: # Export build paths - copy C:\MinGW\bin\mingw32-make.exe ...
<|file_sep|>original/.appveyor.yml environment: global: - RANDOM_SEED: 12345 matrix: - PYTHON_MAJOR: 2 PYTHON_MINOR: 7 - PYTHON_MAJOR: 3 PYTHON_MINOR: 3 - PYTHON_MAJOR: 3 PYTHON_MINOR: 4 - PYTHON_MAJOR: 3 PYTHON_MINOR: 5 cache: - env install: # Export build paths ...
82f2d5d89aa30056190677d918f7e19244bbd6ff
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/librisxl-tools/scripts/download-dev-bibs-and-revert.sh <|file_sep|>current/librisxl-tools/scripts/download-dev-bibs-and-revert.sh <|file_sep|>updated/librisxl-tools/scripts/download-dev-bibs-and-revert.sh
#!/bin/bash BIBDUMP=/tmp/lddb-dev-bib-records # Download a temporary dump of (embellished) instance records. # Take a couple of minutes. if [[ ! -d $BIBDUMP ]]; then mkdir -p $BIBDUMP pushd $BIBDUMP curl -s -HAccept:application/ld+json 'https://libris-dev.kb.se/find.jsonld?@type=Instance&_limit=1000' | pyt...
<|file_sep|>original/librisxl-tools/scripts/download-dev-bibs-and-revert.sh <|file_sep|>current/librisxl-tools/scripts/download-dev-bibs-and-revert.sh <|file_sep|>updated/librisxl-tools/scripts/download-dev-bibs-and-revert.sh #!/bin/bash BIBDUMP=/tmp/lddb-dev-bib-records # Download a temporary dump of (embellished) ...
c3defdb7cf454928e1f438596417439860a3381f
librisxl-tools/scripts/download-dev-bibs-and-revert.sh
librisxl-tools/scripts/download-dev-bibs-and-revert.sh
Shell
<|file_sep|>original/dashboard_templates/shared/jarvice.json.erb <|file_sep|>current/dashboard_templates/shared/jarvice.json.erb <|file_sep|>updated/dashboard_templates/shared/jarvice.json.erb
{ "description": "Information about Jarvice", "graphs": [ { "definition": { "events": [], "requests": [ { "q": "avg:bosh.healthmonitor.system.cpu.user{ deployment: <%= deployment %> } by {job,index}", ...
<|file_sep|>original/dashboard_templates/shared/jarvice.json.erb <|file_sep|>current/dashboard_templates/shared/jarvice.json.erb <|file_sep|>updated/dashboard_templates/shared/jarvice.json.erb { "description": "Information about Jarvice", "graphs": [ { "definition": { "even...
77eb310024539f808938fa6f6935b67304277769
dashboard_templates/shared/jarvice.json.erb
dashboard_templates/shared/jarvice.json.erb
HTML+ERB
<|file_sep|>original/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm <% local uci = require "luci.model.uci".cursor() local http_port = uci:get("radicale2", "server", "host") local usessl = uci:get("radicale2", "server", "ssl") if type(http_port) == "table" then http_port = http_port[1] end if ht...
<% local uci = require "luci.model.uci".cursor() local http_port = uci:get("radicale2", "server", "host") local usessl = uci:get_bool("radicale2", "server", "ssl") if type(http_port) == "table" then http_port = http_port[1] end if http_port then http_port = http_port:match("(%d+)$") end if not htt...
<|file_sep|>original/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm <% local uci = require "luci.model.uci".cursor() local http_port = uci:get("radicale2", "server", "host") local usessl = uci:get("radicale2", "server", "ssl") if type(http_port) == "table" then http_port = http_port[1] end if ht...
11cff5374ba8287a6671a68c8eb4f228714c9e98
applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm
applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm
HTML
<|file_sep|>test/integration/idle_loop_test.rb.diff original: updated: class Foo def initialize @handler = proc { self.idle_handler; false } end def idle_handler let_other_threads_run set_idle_proc end def let_other_threads_run Thread.pass end def set_idle_proc GLib.idle_add(GLib:...
end def set_idle_proc GLib.idle_add(GLib::PRIORITY_DEFAULT_IDLE, @handler, nil, nil) end end describe "threading" do it "works while a MainLoop is running" do main_loop = GLib::MainLoop.new nil, false foo = Foo.new foo.idle_handler a = [] GLib.timeout_add(GLib::PRIORITY_DEFAULT, 100, ...
<|file_sep|>test/integration/idle_loop_test.rb.diff original: updated: class Foo def initialize @handler = proc { self.idle_handler; false } end def idle_handler let_other_threads_run set_idle_proc end def let_other_threads_run Thread.pass end def set_idle_proc GLib.idle_add(GLib:...
47dabe2935babe1353b804dc07b33271e4ebc00f
test/integration/idle_loop_test.rb
test/integration/idle_loop_test.rb
Ruby
<|file_sep|>original/lib/container-injector.js exports.default = window.Ember; }); } exports.install = function(app) { for (var moduleName in requirejs.entries) { var m = /giftwrap\/([^\/]+)s\/(.*)/.exec(moduleName); if (m) { var type = m[1]; var name = m[2]; app.re...
exports.default = window.Ember; }); } exports.install = function(app) { for (var moduleName in requirejs.entries) { var m = /giftwrap\/([^\/]+)s\/(.*)/.exec(moduleName); if (m) { var type = m[1]; var name = m[2]; app.register(type + ":" + name, require(moduleName).d...
<|file_sep|>original/lib/container-injector.js exports.default = window.Ember; }); } exports.install = function(app) { for (var moduleName in requirejs.entries) { var m = /giftwrap\/([^\/]+)s\/(.*)/.exec(moduleName); if (m) { var type = m[1]; var name = m[2]; app.re...
10f92a1e152eaff0799ec86963ec28b204099c9f
lib/container-injector.js
lib/container-injector.js
JavaScript
<|file_sep|>www/js/keyManager.js.diff original: html += '<a target="_blank" onclick="showPubKey(keyName);">&ensp;' + keyName + '</a><br/><hr>'; updated: html += '<span target="_blank" onclick="showPubKey($(this).text());">' + keyName + '</span><br/><hr>'; <|file_sep|>original/www/js/keyManager.j...
var keyName = res.rows.item(i).name; html += '<span target="_blank" onclick="showPubKey($(this).text());">' + keyName + '</span><br/><hr>'; } // Update GUI document.getElementById("key_list").innerHTML = html; }); } function showPubKey(keyName) { // Retrieve a...
<|file_sep|>www/js/keyManager.js.diff original: html += '<a target="_blank" onclick="showPubKey(keyName);">&ensp;' + keyName + '</a><br/><hr>'; updated: html += '<span target="_blank" onclick="showPubKey($(this).text());">' + keyName + '</span><br/><hr>'; <|file_sep|>original/www/js/keyManager.j...
f389237e7b2d76395466a362ee55b08325852273
www/js/keyManager.js
www/js/keyManager.js
JavaScript
<|file_sep|>src/content/FileInfoComparator.java.diff original: * updated: * <|file_sep|>original/src/content/FileInfoComparator.java package content; import java.util.Comparator; /** * @author john * */ class FileInfoComparator implements Comparator<FileInfo> { /* (non-Javadoc) * @see java.util.Comparator#co...
package content; import java.util.Comparator; /** * @author john * */ class FileInfoComparator implements Comparator<FileInfo> { /* * (non-Javadoc) * * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object) */ @Override public int compare(FileInfo arg0, FileInfo arg1) { return arg0.na...
<|file_sep|>src/content/FileInfoComparator.java.diff original: * updated: * <|file_sep|>original/src/content/FileInfoComparator.java package content; import java.util.Comparator; /** * @author john * */ class FileInfoComparator implements Comparator<FileInfo> { /* (non-Javadoc) * @see java.util.Comparator#co...
d38ca413b5c9cb4053207138132d1dd2beb264a7
src/content/FileInfoComparator.java
src/content/FileInfoComparator.java
Java
<|file_sep|>original/.appveyor.yml environment: global: RANDOM_SEED: 0 matrix: - PYTHON_MAJOR: 3 PYTHON_MINOR: 6 cache: - .venv -> Makefile install: # Add Make and Python to the PATH - copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe - set PATH=%PATH%;C:\MinGW\bin - set PATH=C:\Pyt...
environment: global: RANDOM_SEED: 0 matrix: - PYTHON_MAJOR: 3 PYTHON_MINOR: 6 cache: - .venv -> poetry.lock install: # Add Make and Python to the PATH - copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe - set PATH=%PATH%;C:\MinGW\bin - set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;...
<|file_sep|>original/.appveyor.yml environment: global: RANDOM_SEED: 0 matrix: - PYTHON_MAJOR: 3 PYTHON_MINOR: 6 cache: - .venv -> Makefile install: # Add Make and Python to the PATH - copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe - set PATH=%PATH%;C:\MinGW\bin - set PATH=C:\Pyt...
7ae63253ed877deccc268540946400d6607a2950
.appveyor.yml
.appveyor.yml
YAML
<|file_sep|>original/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.jpg <|file_sep|>current/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.jpg <|file_sep|>updated/content/authors/lachaussee.yaml
name: Mathis Lachaussée email: lachaussee@eisti.eu picture: lachaussee.jpg
<|file_sep|>original/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.jpg <|file_sep|>current/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.jpg <|file_sep|>updated/content/authors/lachaussee.yaml name: Mathi...
98979b5c6aaa600fa57fb6b4dd7b88fca4eb3926
content/authors/lachaussee.yaml
content/authors/lachaussee.yaml
YAML
<|file_sep|>original/server/configuration/accounts_meld.coffee orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) -> if serviceName not in ['facebook', 'github', 'gitlab', 'google', 'meteor-dev...
orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) -> if serviceName not in ['facebook', 'github', 'google', 'meteor-developer', 'linkedin', 'twitter'] and serviceData._oAuthCustom isnt true ...
<|file_sep|>original/server/configuration/accounts_meld.coffee orig_updateOrCreateUserFromExternalService = Accounts.updateOrCreateUserFromExternalService Accounts.updateOrCreateUserFromExternalService = (serviceName, serviceData, options) -> if serviceName not in ['facebook', 'github', 'gitlab', 'google', 'meteor-dev...
dcd0853c4ef90d8dfec71c9a6f348ef06d60ae3f
server/configuration/accounts_meld.coffee
server/configuration/accounts_meld.coffee
CoffeeScript
<|file_sep|>original/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.1 tox==3.0.0
<|file_sep|>original/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagrant==0.5.15 testinfra==1.13.0 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.14.0 pytest==3.6.0 python-vagr...
eefafbf9490b8643fa6dcec7336f4a1a1532faff
requirements.txt
requirements.txt
Text
<|file_sep|>original/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml <|file_sep|>current/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml <|file_sep|>updated/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml
--- features: - | The inspur-fpga-driver-proposal spec provides the first proposal of an inspur fpga driver. Currently only discover operation is supported, the program function and virtualization will be supported in Wallaby.
<|file_sep|>original/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml <|file_sep|>current/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml <|file_sep|>updated/releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml --- features: - | The inspur-fpga-driver-proposal spec provides the fir...
05f762b8f9e82d08a410e08b43b466f4e35f7f1d
releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml
releasenotes/notes/inspur-fpga-driver-0257d2aeda9537fb.yaml
YAML
<|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['s...
#!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['splango','splango.templatetags'...
<|file_sep|>original/setup.py #!/usr/bin/env python from distutils.core import setup setup(name='Splango', version='0.1', description='Split (A/B) testing library for Django', author='Shimon Rura', author_email='shimon@rura.org', url='http://github.com/shimon/Splango', packages=['s...
e647731ecd2f7c3d68744137e298143529962693
setup.py
setup.py
Python
<|file_sep|>original/website/templates/emails/prereg_reminder.html.mako ## -*- coding: utf-8 -*- <%inherit file="notify_base.mako"/> <%def name="content()"> <div style="margin: 40px;"> <br> Dear ${fullname}, <br><br> You have an unsubmitted preregistration on the Open Science Framewo...
## -*- coding: utf-8 -*- <%inherit file="notify_base.mako"/> <%def name="content()"> <div style="margin: 40px;"> <br> Dear ${fullname}, <br><br> You have an unsubmitted preregistration on the Open Science Framework that could be eligible for a $1,000 prize as part of the Prereg Chall...
<|file_sep|>original/website/templates/emails/prereg_reminder.html.mako ## -*- coding: utf-8 -*- <%inherit file="notify_base.mako"/> <%def name="content()"> <div style="margin: 40px;"> <br> Dear ${fullname}, <br><br> You have an unsubmitted preregistration on the Open Science Framewo...
d83deb887dad8e41a23c74d45bcfe52d8970969d
website/templates/emails/prereg_reminder.html.mako
website/templates/emails/prereg_reminder.html.mako
Mako
<|file_sep|>original/lib/node/nodes/source.js module.exports.TYPE = TYPE; module.exports.PARAMS = PARAMS; Source.prototype.sql = function() { return this.query; }; Source.prototype.setColumnsNames = function(columns) { this.columns = columns; // Makes columns affecting Node.id(). // When a `select * f...
module.exports.TYPE = TYPE; module.exports.PARAMS = PARAMS; Source.prototype.sql = function() { return this.query; }; Source.prototype.setColumnsNames = function(columns) { this.columns = columns; // Columns have to modify Node.id(). // When a `select * from table` might end in a different set of colu...
<|file_sep|>original/lib/node/nodes/source.js module.exports.TYPE = TYPE; module.exports.PARAMS = PARAMS; Source.prototype.sql = function() { return this.query; }; Source.prototype.setColumnsNames = function(columns) { this.columns = columns; // Makes columns affecting Node.id(). // When a `select * f...
159781448d15bdd249c5d672830df7eb833e1af1
lib/node/nodes/source.js
lib/node/nodes/source.js
JavaScript
<|file_sep|>FF4P/Abilities.py.diff original: updated: import os <|file_sep|>original/FF4P/Abilities.py import csv abilityList = {} def loadAbilities(): global abilityList with open('FF4/FF4Abil.csv', 'r') as csvFile: abilityReader = csv.reader(csvFile, delimiter=',', quotechar='|') i = 0 ...
import os import csv abilityList = {} def loadAbilities(): global abilityList fileName = "FF4P/FF4P_Abil.csv" if not os.path.exists(fileName): fileName = "FF4P_Abil.csv" with open(fileName, 'r') as csvFile: abilityReader = csv.reader(csvFile, delimiter=',', quotechar='|') i...
<|file_sep|>FF4P/Abilities.py.diff original: updated: import os <|file_sep|>original/FF4P/Abilities.py import csv abilityList = {} def loadAbilities(): global abilityList with open('FF4/FF4Abil.csv', 'r') as csvFile: abilityReader = csv.reader(csvFile, delimiter=',', quotechar='|') i = 0 ...
f4851040b74a0c88980a1e82a8b518bd6147f508
FF4P/Abilities.py
FF4P/Abilities.py
Python
<|file_sep|>original/lib/cqp_query_context.rb @context_type = opts[:context_type] || :words # an array of corpus identifiers @alignment = opts[:alignment] || [] @attributes = opts[:attributes] || :word @structures = opts[:structures] || nil # registry path as a string # must be set for al...
@context_type = opts[:context_type] || :words # an array of corpus identifiers @alignment = opts[:alignment] || [] @attributes = opts[:attributes] || :word @structures = opts[:structures] || nil # registry path as a string # must be set for all CQP operations @registry = opts[:registr...
<|file_sep|>original/lib/cqp_query_context.rb @context_type = opts[:context_type] || :words # an array of corpus identifiers @alignment = opts[:alignment] || [] @attributes = opts[:attributes] || :word @structures = opts[:structures] || nil # registry path as a string # must be set for al...
069c3c58aa0ec82414286be4c7058e3491b48040
lib/cqp_query_context.rb
lib/cqp_query_context.rb
Ruby
<|file_sep|>original/packages/scoped-custom-element-registry/CHANGELOG.md # Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.h...
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). <!-- ## Unreleased --> ## [0.0.1] - 2021-02-18 - First public pre...
<|file_sep|>original/packages/scoped-custom-element-registry/CHANGELOG.md # Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.h...
846647a99cca7c21edfaac91d2b06afc3f3d48e3
packages/scoped-custom-element-registry/CHANGELOG.md
packages/scoped-custom-element-registry/CHANGELOG.md
Markdown
<|file_sep|>src/main/jsx/components/recent_projects/recent-projects.css.diff original: updated: *{ overflow: hidden; text-overflow: ellipsis; } <|file_sep|>original/src/main/jsx/components/recent_projects/recent-projects.css border-left-width: 5px; border-radius: 3px; > .project-n...
margin-bottom: 10px; margin-right: 5px; padding-left: 5px; border-left-style: solid; border-left-width: 5px; border-radius: 3px; > .project-name{ display: flex; justify-content: space-between; } } > .recent-project.FAILURE{ border-left-color...
<|file_sep|>src/main/jsx/components/recent_projects/recent-projects.css.diff original: updated: *{ overflow: hidden; text-overflow: ellipsis; } <|file_sep|>original/src/main/jsx/components/recent_projects/recent-projects.css border-left-width: 5px; border-radius: 3px; > .project-n...
9fc0841b1938c91f6e9b2ea99c1e359b0d5cfa6c
src/main/jsx/components/recent_projects/recent-projects.css
src/main/jsx/components/recent_projects/recent-projects.css
CSS
<|file_sep|>original/requirements.txt molecule==2.15.0 pytest==3.6.2 python-vagrant==0.5.15 testinfra==1.14.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.15.0 pytest==3.6.2 python-vagrant==0.5.15 testinfra==1.14.0 tox==3.0.0 <|file_sep|>updated/requirements.txt
molecule==2.15.0 pytest==3.6.2 python-vagrant==0.5.15 testinfra==1.14.0 tox==3.16.1
<|file_sep|>original/requirements.txt molecule==2.15.0 pytest==3.6.2 python-vagrant==0.5.15 testinfra==1.14.0 tox==3.0.0 <|file_sep|>current/requirements.txt molecule==2.15.0 pytest==3.6.2 python-vagrant==0.5.15 testinfra==1.14.0 tox==3.0.0 <|file_sep|>updated/requirements.txt molecule==2.15.0 pytest==3.6.2 python-vagr...
0fbe3afa8ee190578ce905ef7b8b2f86447ad0b6
requirements.txt
requirements.txt
Text
<|file_sep|>public/css/slide-preview.css.diff original: updated: .markdown-body.slides section[data-markdown] code { text-align: left; } <|file_sep|>public/css/slide-preview.css.diff original: .markdown-body.slides section[data-markdown] div:first-child { updated: .markdown-body.slides section[data-markdown] > div:...
.markdown-body.slides section[data-markdown] > div:first-child { position: absolute; top: 50%; left: 1em; right: 1em; transform: translateY(-50%); max-height: 100%; overflow: hidden; } .markdown-body.slides section[data-markdown] > ul { display: inline-block; } .markdown-body.slides > section > sectio...
<|file_sep|>public/css/slide-preview.css.diff original: updated: .markdown-body.slides section[data-markdown] code { text-align: left; } <|file_sep|>public/css/slide-preview.css.diff original: .markdown-body.slides section[data-markdown] div:first-child { updated: .markdown-body.slides section[data-markdown] > div:...
af9e2fe664e9b08508b87e3a59ef31e1da007ac4
public/css/slide-preview.css
public/css/slide-preview.css
CSS
<|file_sep|>original/package.json { "name": "i-dropped-my-phone-the-screen-cracked", "version": "0.3.6", "description":"Web audio, cracked.", "keywords":"Web audio, synthesis, sound, music", "homepage":"https://github.com/billorcutt/i_dropped_my_phone_the_screen_cracked", "bugs":"https://github.com/billorcu...
{ "name": "i-dropped-my-phone-the-screen-cracked", "version": "0.3.7", "description":"Web audio, cracked.", "keywords":"Web audio, synthesis, sound, music", "homepage":"https://github.com/billorcutt/i_dropped_my_phone_the_screen_cracked", "bugs":"https://github.com/billorcutt/i_dropped_my_phone_the_screen_c...
<|file_sep|>original/package.json { "name": "i-dropped-my-phone-the-screen-cracked", "version": "0.3.6", "description":"Web audio, cracked.", "keywords":"Web audio, synthesis, sound, music", "homepage":"https://github.com/billorcutt/i_dropped_my_phone_the_screen_cracked", "bugs":"https://github.com/billorcu...
43687c3689367747f10a2f939d97926867482c73
package.json
package.json
JSON
<|file_sep|>original/actionmailbox/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb def create inbound_email = create_inbound_email(new_mail) redirect_to main_app.rails_conductor_inbound_email_url(inbound_email) end private def new_mail Mail.new(params....
end def create inbound_email = create_inbound_email(new_mail) redirect_to main_app.rails_conductor_inbound_email_url(inbound_email) end private def new_mail Mail.new(params.require(:mail).permit(:from, :to, :cc, :bcc, :in_reply_to, :subject, :body).to_h).tap do |mail| ...
<|file_sep|>original/actionmailbox/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb def create inbound_email = create_inbound_email(new_mail) redirect_to main_app.rails_conductor_inbound_email_url(inbound_email) end private def new_mail Mail.new(params....
57cb8d7924195c770499e69ab90eb3b978035f46
actionmailbox/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb
actionmailbox/app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb
Ruby
<|file_sep|>original/app/forms/gobierto_admin/gobierto_citizens_charters/charter_form.rb attr_accessor( :service_id, :title_translations, :slug ) validates :service, presence: true validates :title_translations, translated_attribute_presence: true def available_se...
attr_accessor( :service_id, :title_translations, :slug ) validates :service, presence: true validates :title_translations, translated_attribute_presence: true def available_services services_relation.order(Arel.sql("title_translations->'#{I18n.locale}' ASC...
<|file_sep|>original/app/forms/gobierto_admin/gobierto_citizens_charters/charter_form.rb attr_accessor( :service_id, :title_translations, :slug ) validates :service, presence: true validates :title_translations, translated_attribute_presence: true def available_se...
d24a6f1ac5e75b7dcc5deace96a7019fcc31ea37
app/forms/gobierto_admin/gobierto_citizens_charters/charter_form.rb
app/forms/gobierto_admin/gobierto_citizens_charters/charter_form.rb
Ruby
<|file_sep|>original/recipes/percolator/meta.yaml build: number: 1 skip: True # [osx] requirements: build: - cmake ==2.8.10.2 - gcc - zlib - boost ==1.60 - tokyocabinet - sqlite - bzip2 - xerces-c ==3.1.2 - xsd run: - gcc - zlib - boost ==1.60 - tokyocabinet...
build: number: 1 skip: True # [osx] requirements: build: - cmake ==2.8.10.2 - gcc - zlib - boost - tokyocabinet - sqlite - bzip2 - xerces-c ==3.1.2 - xsd run: - gcc - zlib - boost ==1.60 - tokyocabinet
<|file_sep|>original/recipes/percolator/meta.yaml build: number: 1 skip: True # [osx] requirements: build: - cmake ==2.8.10.2 - gcc - zlib - boost ==1.60 - tokyocabinet - sqlite - bzip2 - xerces-c ==3.1.2 - xsd run: - gcc - zlib - boost ==1.60 - tokyocabinet...
91c31c991091f7c7a166c7ba336f983b400688b0
recipes/percolator/meta.yaml
recipes/percolator/meta.yaml
YAML
<|file_sep|>original/.rubocop.yml Metrics/LineLength: Enabled: false Style/RaiseArgs: Enabled: false AllCops: Exclude: - 'lib/hanami/assets/compressors/*' <|file_sep|>current/.rubocop.yml Metrics/LineLength: Enabled: false Style/RaiseArgs: Enabled: false AllCops: Exclude: - 'lib/hanami/assets/comp...
Metrics/LineLength: Enabled: false Style/RaiseArgs: Enabled: false AllCops: Exclude: - 'vendor/**/*' - 'lib/hanami/assets/compressors/*'
<|file_sep|>original/.rubocop.yml Metrics/LineLength: Enabled: false Style/RaiseArgs: Enabled: false AllCops: Exclude: - 'lib/hanami/assets/compressors/*' <|file_sep|>current/.rubocop.yml Metrics/LineLength: Enabled: false Style/RaiseArgs: Enabled: false AllCops: Exclude: - 'lib/hanami/assets/comp...
cd2844f2d63565bf221ce4ec3c66728caad78ce8
.rubocop.yml
.rubocop.yml
YAML
<|file_sep|>original/.travis.yml sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make check after_success: - make run - cd test && coveralls -...
sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make coverage after_success: - make run - cd test && coveralls --verbose --exclude test.c ...
<|file_sep|>original/.travis.yml sudo: required language: c before_install: - sudo apt-get update install: - sudo apt-get install gcc-avr binutils-avr avr-libc - pip install --user cpp-coveralls script: - make all - make avr - make check after_success: - make run - cd test && coveralls -...
3e55d4642f0ecceb438e099eebdbe29c0030448b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/skink.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'skink/version' Gem::Specification.new do |gem| gem.name = "skink" gem.version = Skink::VERSION gem.authors = ["Todd Thomas"] gem.email = ["todd.thomas@openlogic.com"] gem.descripti...
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'skink/version' Gem::Specification.new do |gem| gem.name = "skink" gem.version = Skink::VERSION gem.authors = ["Todd Thomas"] gem.email = ["todd.thomas@openlogic.com"] gem.description = %q{A Ruby DSL for testing RE...
<|file_sep|>original/skink.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'skink/version' Gem::Specification.new do |gem| gem.name = "skink" gem.version = Skink::VERSION gem.authors = ["Todd Thomas"] gem.email = ["todd.thomas@openlogic.com"] gem.descripti...
c9d57e15e076f6463003ef9747fb807e904f9cb9
skink.gemspec
skink.gemspec
Ruby
<|file_sep|>original/docs/getting-started-with-sylius/deployment.rst Deployment ========== Development usually takes most of the time in project implementation, but we should not forget about what's at the end of this process - application deployment into the server. We believe, that it should be as easy and understan...
Deployment ========== Development usually takes most of the time in project implementation, but we should not forget about what's at the end of this process - application deployment into the server. We believe, that it should be as easy and understandable as possible. There are many servers which you can choose for yo...
<|file_sep|>original/docs/getting-started-with-sylius/deployment.rst Deployment ========== Development usually takes most of the time in project implementation, but we should not forget about what's at the end of this process - application deployment into the server. We believe, that it should be as easy and understan...
d43cfa162de164dd76e27c935b3b07e8f0dbb24b
docs/getting-started-with-sylius/deployment.rst
docs/getting-started-with-sylius/deployment.rst
reStructuredText
<|file_sep|>original/www_src/pages/discover/discover.jsx var Discover = React.createClass({ mixins: [], getInitialState: function () { this.list = require('./mock.json'); return { list: this.list, offset: 0, limit: 10, locale: { language: 'en', country: 'us' }...
var Discover = React.createClass({ mixins: [], getInitialState: function () { this.list = require('./mock.json'); return { list: this.list }; }, render: function () { var cards = this.state.list.map( project => { return ( <Link url={"/map/" + project.id} href="/pages/map" k...
<|file_sep|>original/www_src/pages/discover/discover.jsx var Discover = React.createClass({ mixins: [], getInitialState: function () { this.list = require('./mock.json'); return { list: this.list, offset: 0, limit: 10, locale: { language: 'en', country: 'us' }...
137bbd36f29d5b2b9e30f26adc112660d99a28c0
www_src/pages/discover/discover.jsx
www_src/pages/discover/discover.jsx
JSX
<|file_sep|>app/templates/src/name.js.diff original: (function(bespoke) { updated: bespoke.plugins.<%= pluginNameCamelized %> = function(deck) { <|file_sep|>app/templates/src/name.js.diff original: bespoke.plugins.<%= pluginNameCamelized %> = function(deck) { updated: /* Interact with the deck https://githu...
deck.on('deactivate', function(e) { console.log('Slide #' + e.index + ' was deactivated!', e.slide); }); /* Deck interaction events, return false to cancel https://github.com/markdalgleish/bespoke.js#deck-interaction-events */ deck.on('next', function(e) { console.log('The next slide is #' +...
<|file_sep|>app/templates/src/name.js.diff original: (function(bespoke) { updated: bespoke.plugins.<%= pluginNameCamelized %> = function(deck) { <|file_sep|>app/templates/src/name.js.diff original: bespoke.plugins.<%= pluginNameCamelized %> = function(deck) { updated: /* Interact with the deck https://githu...
12c6e4c8957b3314438d5e8fde74674ca1031d8e
app/templates/src/name.js
app/templates/src/name.js
JavaScript
<|file_sep|>original/Readme.md <|file_sep|>current/Readme.md <|file_sep|>updated/Readme.md
Cursive ======= Cursive is a ncurses-based TUI (Text User Interface) library for rust. It is based on jeaye's [ncurses-rs](https://github.com/jeaye/ncurses-rs). It is designed to be safe, and easy to use: ```rust extern crate cursive; use cursive::{Cursive,Dialog}; fn main() { let mut siv = Cursive::new(); // C...
<|file_sep|>original/Readme.md <|file_sep|>current/Readme.md <|file_sep|>updated/Readme.md Cursive ======= Cursive is a ncurses-based TUI (Text User Interface) library for rust. It is based on jeaye's [ncurses-rs](https://github.com/jeaye/ncurses-rs). It is designed to be safe, and easy to use: ```rust extern crat...
7dbeedcb4909c7c3d6f7ecc29a7e5a5d50d13564
Readme.md
Readme.md
Markdown
<|file_sep|>test/test.js.diff original: ua = new UA("<api key>", "<api secret key>", "<api master key>"); updated: ua = new UA("<api key>", "<api secret key>", "<api master key>"); <|file_sep|>test/test.js.diff original: "alert": alert, "badge": badge updated: "alert": 'First Hello', "badge": 16 <|file_sep|>te...
}); }); }); var payload1 = { "aps": { "badge": 15, "alert": "Second Hello!" }, "exclude_tokens": [ "device token you want to skip", "another device token you want to skip" ] }; ua.pushNotification("/api/push/broadcast/", payload1, function(error) { });
<|file_sep|>test/test.js.diff original: ua = new UA("<api key>", "<api secret key>", "<api master key>"); updated: ua = new UA("<api key>", "<api secret key>", "<api master key>"); <|file_sep|>test/test.js.diff original: "alert": alert, "badge": badge updated: "alert": 'First Hello', "badge": 16 <|file_sep|>te...
c48f9548535a14fe605c4b8904227c6713704e19
test/test.js
test/test.js
JavaScript
<|file_sep|>src/templates/speakers.js.diff original: const speaker = props.data.contentfulSpeaker; updated: const speaker = props.data.datoCmsSpeaker; <|file_sep|>src/templates/speakers.js.diff original: <Markdown source={speaker.blurb.blurb}/> updated: <Markdown source={speaker.blurb} /> <|file_sep...
export default SpeakerTemplate; export const pageQuery = graphql` query SpeakerByPath($slug: String!) { datoCmsSpeaker(slug: { eq: $slug }) { name slug title blurb photo { id resolutions(width: 250) { width height src srcSet ...
<|file_sep|>src/templates/speakers.js.diff original: const speaker = props.data.contentfulSpeaker; updated: const speaker = props.data.datoCmsSpeaker; <|file_sep|>src/templates/speakers.js.diff original: <Markdown source={speaker.blurb.blurb}/> updated: <Markdown source={speaker.blurb} /> <|file_sep...
5b18332557baaccfa066e14397d2bea205518eca
src/templates/speakers.js
src/templates/speakers.js
JavaScript
<|file_sep|>original/lib/compass-magick/commands/filters.rb module Compass::Magick::Commands::Filters class Grayscale < Compass::Magick::Command def invoke(image) image.quantize(256, Magick::GRAYColorspace, Magick::NoDitherMethod) end end end <|file_sep|>current/lib/compass-magick/commands/filters.rb ...
module Compass::Magick::Commands::Filters class Grayscale < Compass::Magick::Command def invoke(image) image.modulate(1.0, 0.0, 1.0) end end end
<|file_sep|>original/lib/compass-magick/commands/filters.rb module Compass::Magick::Commands::Filters class Grayscale < Compass::Magick::Command def invoke(image) image.quantize(256, Magick::GRAYColorspace, Magick::NoDitherMethod) end end end <|file_sep|>current/lib/compass-magick/commands/filters.rb ...
99a991bc795c28dce265f4a838db4b891988627e
lib/compass-magick/commands/filters.rb
lib/compass-magick/commands/filters.rb
Ruby
<|file_sep|>original/README.md ### Apache ```conf <VirtualHost *:80> ServerName denkmal.local RedirectPermanent / http://www.denkmal.local/ </VirtualHost> <VirtualHost *:80> ServerName www.denkmal.local DocumentRoot /Users/reto/Projects/denkmal.org <Directory /Users/reto/Projects/denkmal.org/> RewriteE...
### Apache ```conf <VirtualHost *:80> ServerName denkmal.local RedirectPermanent / http://www.denkmal.local/ </VirtualHost> <VirtualHost *:80> ServerName www.denkmal.local ServerAlias admin.denkmal.local DocumentRoot /Users/reto/Projects/denkmal.org <Directory /Users/reto/Projects/denkmal.org/> Rewri...
<|file_sep|>original/README.md ### Apache ```conf <VirtualHost *:80> ServerName denkmal.local RedirectPermanent / http://www.denkmal.local/ </VirtualHost> <VirtualHost *:80> ServerName www.denkmal.local DocumentRoot /Users/reto/Projects/denkmal.org <Directory /Users/reto/Projects/denkmal.org/> RewriteE...
9a178dc258d67030396e51c7a99f656b89921abe
README.md
README.md
Markdown
<|file_sep|>original/Gruntfile.coffee src: "*.css" dest: "." options: target: "tmp/imgs/*.svg" baseDir: "tmp/" clean: ["tmp"] watch: less: files: ["*.less"], tasks: ["default"] }) grunt.loadN...
src: "*.css" dest: "." options: target: "tmp/imgs/*.svg" baseDir: "tmp/" clean: ["tmp"] watch: less: files: ["*.less", "imgs/*.svg"], tasks: ["default"] }) grunt.loadNpmTasks "grunt-contrib-c...
<|file_sep|>original/Gruntfile.coffee src: "*.css" dest: "." options: target: "tmp/imgs/*.svg" baseDir: "tmp/" clean: ["tmp"] watch: less: files: ["*.less"], tasks: ["default"] }) grunt.loadN...
9d521329b37d602387a028760813021774546326
Gruntfile.coffee
Gruntfile.coffee
CoffeeScript
<|file_sep|>original/cutplanner/planner.py import collections # simple structure to keep track of a specific piece Piece = collections.namedtuple('Piece', 'id, length') class Planner(object): def __init__(self, sizes, needed, loss=0.25): self.stock = [] self.stock_sizes = sorted(sizes) se...
import collections # simple structure to keep track of a specific piece Piece = collections.namedtuple('Piece', 'id, length') class Planner(object): def __init__(self, sizes, needed, loss=0.25): self.stock = [] self.stock_sizes = sorted(sizes) self.pieces_needed = needed self.cut_...
<|file_sep|>original/cutplanner/planner.py import collections # simple structure to keep track of a specific piece Piece = collections.namedtuple('Piece', 'id, length') class Planner(object): def __init__(self, sizes, needed, loss=0.25): self.stock = [] self.stock_sizes = sorted(sizes) se...
a81c5bf24ab0271c60ed1db97d93c7d2e5ec6234
cutplanner/planner.py
cutplanner/planner.py
Python
<|file_sep|>original/js/package.json { "name": "ilib", "version": "10.0.003", "main": "nodeglue.js", "description": "iLib is a cross-engine library of internationalization (i18n) classes written in pure JS", "keywords": [ "internationalization", "i18n", "localization", "l10n", "globalization", "g1...
{ "name": "ilib", "version": "10.0.004", "main": "nodeglue.js", "description": "iLib is a cross-engine library of internationalization (i18n) classes written in pure JS", "keywords": [ "internationalization", "i18n", "localization", "l10n", "globalization", "g11n", "date", "time", "format", ...
<|file_sep|>original/js/package.json { "name": "ilib", "version": "10.0.003", "main": "nodeglue.js", "description": "iLib is a cross-engine library of internationalization (i18n) classes written in pure JS", "keywords": [ "internationalization", "i18n", "localization", "l10n", "globalization", "g1...
19783c2ad9cc492853ac2129a243068fad1d7803
js/package.json
js/package.json
JSON
<|file_sep|>original/m4/byteorder.m4 AC_DEFUN([DETECT_BYTEORDER], [ AC_REQUIRE([AC_C_BIGENDIAN]) AC_CACHE_CHECK([for htonll], [ac_cv_have_htonll], [AC_TRY_COMPILE([ #include <sys/types.h> #include <netinet/in.h> #include <inttypes.h> ], [ return htonll(0); ...
AC_DEFUN([DETECT_BYTEORDER], [ AC_REQUIRE([AC_C_BIGENDIAN]) AC_CACHE_CHECK([for htonll], [ac_cv_have_htonll], [AC_TRY_LINK([ #include <sys/types.h> #include <netinet/in.h> #include <inttypes.h> ], [ return htonll(0); ], [ ac_cv_have...
<|file_sep|>original/m4/byteorder.m4 AC_DEFUN([DETECT_BYTEORDER], [ AC_REQUIRE([AC_C_BIGENDIAN]) AC_CACHE_CHECK([for htonll], [ac_cv_have_htonll], [AC_TRY_COMPILE([ #include <sys/types.h> #include <netinet/in.h> #include <inttypes.h> ], [ return htonll(0); ...
561348719d71484220ec26aba09cf80cb1cc5f96
m4/byteorder.m4
m4/byteorder.m4
M4
<|file_sep|>original/onkcop.gemspec Gem::Specification.new do |spec| spec.name = "onkcop" spec.version = Onkcop::VERSION spec.authors = ["Takafumi ONAKA"] spec.email = ["takafumi.onaka@gmail.com"] spec.summary = "OnkCop is a RuboCop configration gem." spec.description =...
Gem::Specification.new do |spec| spec.name = "onkcop" spec.version = Onkcop::VERSION spec.authors = ["Takafumi ONAKA"] spec.email = ["takafumi.onaka@gmail.com"] spec.summary = "OnkCop is a RuboCop configration gem." spec.description = "OnkCop is a RuboCop configration g...
<|file_sep|>original/onkcop.gemspec Gem::Specification.new do |spec| spec.name = "onkcop" spec.version = Onkcop::VERSION spec.authors = ["Takafumi ONAKA"] spec.email = ["takafumi.onaka@gmail.com"] spec.summary = "OnkCop is a RuboCop configration gem." spec.description =...
4d200a69e65b5eff937f2c97a1cbc4848c8bb911
onkcop.gemspec
onkcop.gemspec
Ruby
<|file_sep|>original/test/boolean_test.js <|file_sep|>current/test/boolean_test.js <|file_sep|>updated/test/boolean_test.js
"use strict"; var React = require("react"); var Helper = require("./helper"); var document = <h1 />; var assertEvaluatesToValue = Helper.assertEvaluatesToValue.bind(null, document); suite("XPathDOM", function () { suite("boolean", function () { test("00", function () { assertEvaluatesToValue("//h1 and ...
<|file_sep|>original/test/boolean_test.js <|file_sep|>current/test/boolean_test.js <|file_sep|>updated/test/boolean_test.js "use strict"; var React = require("react"); var Helper = require("./helper"); var document = <h1 />; var assertEvaluatesToValue = Helper.assertEvaluatesToValue.bind(null, document); suite("...
6840bfe052860b4231250ae685eb7378cd4c7f96
test/boolean_test.js
test/boolean_test.js
JavaScript
<|file_sep|>Assembly/textbox/menu_items_effect.asm.diff original: updated: ;; Item effect <|file_sep|>original/Assembly/textbox/menu_items_effect.asm ;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in the effect of items ;; Copyright 2014 Benito P...
;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance with the License. ;; You may obtain a copy of the License at ;; ;; http://www.apache.org/licenses/LICENSE-2.0 ;; ;; Unless required by applicable law or agreed to in writing, software ;; distri...
<|file_sep|>Assembly/textbox/menu_items_effect.asm.diff original: updated: ;; Item effect <|file_sep|>original/Assembly/textbox/menu_items_effect.asm ;;----------------------------------------------------------------------------;; ;; Align the position of the textbox in the effect of items ;; Copyright 2014 Benito P...
3e341dc73672f69ff2215f181d6889bb738daaec
Assembly/textbox/menu_items_effect.asm
Assembly/textbox/menu_items_effect.asm
Assembly
<|file_sep|>original/doc/_templates/layout.html {% extends "!layout.html" %} {%- block extrahead %} <link href="https://fonts.googleapis.com/css?family=Merriweather|Noto+Serif" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% endblock %} <|file_sep|>current/doc/_templa...
{% extends "!layout.html" %} {%- block extrahead %} <link href="https://fonts.googleapis.com/css?family=Merriweather|Noto+Serif|Droid+Sans+Mono" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% endblock %}
<|file_sep|>original/doc/_templates/layout.html {% extends "!layout.html" %} {%- block extrahead %} <link href="https://fonts.googleapis.com/css?family=Merriweather|Noto+Serif" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% endblock %} <|file_sep|>current/doc/_templa...
332cdf95a798d4a941bf7cee705c9863ef7bc3ca
doc/_templates/layout.html
doc/_templates/layout.html
HTML
<|file_sep|>original/README.mkd Shotgun Event Framework ======================= This software is provided under the MIT License that can be found in the LICENSE file or here: http://www.opensource.org/licenses/mit-license.php For docs please see http://pboucher.github.com/shotgunEvents/ <|file_sep|>current/README.mkd...
Shotgun Event Framework ======================= This software is provided under the MIT License that can be found in the LICENSE file or here: http://www.opensource.org/licenses/mit-license.php For docs please see http://shotgunsoftware.github.com/shotgunEvents
<|file_sep|>original/README.mkd Shotgun Event Framework ======================= This software is provided under the MIT License that can be found in the LICENSE file or here: http://www.opensource.org/licenses/mit-license.php For docs please see http://pboucher.github.com/shotgunEvents/ <|file_sep|>current/README.mkd...
189fa693938e7cca3e2a2944b6bbc611ead1fc21
README.mkd
README.mkd
Markdown
<|file_sep|>original/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb <ul class="admin-subnav" data-hook="admin_settings_sub_tabs"> <% if can?(:admin, Spree::Store) %> <%= tab :stores, label: :stores, url: spree.admin_stores_path %> <% end %> <% if can?(:display, Spree::PaymentMethod) %> ...
<ul class="admin-subnav" data-hook="admin_settings_sub_tabs"> <% if can?(:admin, Spree::Store) %> <%= tab :stores, label: :stores, url: spree.admin_stores_path %> <% end %> <% if can?(:display, Spree::PaymentMethod) %> <%= tab :payments, url: spree.admin_payment_methods_path %> <% end %> <% if can?(...
<|file_sep|>original/backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb <ul class="admin-subnav" data-hook="admin_settings_sub_tabs"> <% if can?(:admin, Spree::Store) %> <%= tab :stores, label: :stores, url: spree.admin_stores_path %> <% end %> <% if can?(:display, Spree::PaymentMethod) %> ...
d9c4da9549a704da5dc0e27a343e8c2218f556c4
backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb
backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb
HTML+ERB
<|file_sep|>file_transfer/baltrad_to_s3.py.diff original: # ------------------ # UPDATE COVERAGE # ------------------ updated: # --------------------------------------------- # UPDATE COVERAGE AND MOST RECENT FILE DATETIME # --------------------------------------------- <|file_sep|>file_transfer...
# Connect to S3 client s3client = dm.S3EnramHandler("lw-enram") # Rerun file list overview to extract the current coverage coverage_count, most_recent = s3client.count_enram_coverage(level='day') # Save the coverage information on S3 with open("coverage.csv", 'w') as outfile: dm.covera...
<|file_sep|>file_transfer/baltrad_to_s3.py.diff original: # ------------------ # UPDATE COVERAGE # ------------------ updated: # --------------------------------------------- # UPDATE COVERAGE AND MOST RECENT FILE DATETIME # --------------------------------------------- <|file_sep|>file_transfer...
255a93e2e075a8db914e4736cb79fbdb58b41a24
file_transfer/baltrad_to_s3.py
file_transfer/baltrad_to_s3.py
Python
<|file_sep|>original/orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html <wicket:panel> <img wicket:id="image" width="100%"/> </wicket:panel> <|file_sep|>current/orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html <wicket:panel> <img wicket:id="image...
<wicket:panel> <img wicket:id="image" class="mw-100"/> </wicket:panel>
<|file_sep|>original/orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html <wicket:panel> <img wicket:id="image" width="100%"/> </wicket:panel> <|file_sep|>current/orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html <wicket:panel> <img wicket:id="image...
e9f053d46d07182b97624d1d73aa672534feac8e
orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html
orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.html
HTML
<|file_sep|>.travis.yml.diff original: - "3.7-dev" # 3.7 development branch - "nightly" # currently points to 3.7-dev updated: # Not supported by Django < 2.0 # - "3.7-dev" # 3.7 development branch # - "nightly" # currently points to 3.7-dev <|file_sep|>original/.travis.yml python: - "3.4" - "3.5" - "3.5-dev...
- "3.5" - "3.5-dev" # 3.5 development branch - "3.6" - "3.6-dev" # 3.6 development branch # Not supported by Django < 2.0 # - "3.7-dev" # 3.7 development branch # - "nightly" # currently points to 3.7-dev env: - DJANGO_VERSION=1.11 # Unsupported after April 2020 # Not supported by some dependencies # - DJANG...
<|file_sep|>.travis.yml.diff original: - "3.7-dev" # 3.7 development branch - "nightly" # currently points to 3.7-dev updated: # Not supported by Django < 2.0 # - "3.7-dev" # 3.7 development branch # - "nightly" # currently points to 3.7-dev <|file_sep|>original/.travis.yml python: - "3.4" - "3.5" - "3.5-dev...
10a66861d75a99b176a68e26dcfec72a98cc0e48
.travis.yml
.travis.yml
YAML
<|file_sep|>liteidex/liteide.desktop.diff original: Encoding=UTF-8 updated: #Encoding=UTF-8 <|file_sep|>original/liteidex/liteide.desktop [Desktop Entry] Encoding=UTF-8 Type=Application Name=LiteIDE Comment=IDE for editing and building projects written in the Go programming language #Exec=/... your liteide path .../lit...
[Desktop Entry] #Encoding=UTF-8 Type=Application Name=LiteIDE Comment=IDE for editing and building projects written in the Go programming language #Exec=/... your liteide path .../liteide/bin/liteide #Icon=/... your liteide path .../liteide/share/liteide/welcome/images/liteide128.xpm Exec=liteide Icon=liteide Terminal=...
<|file_sep|>liteidex/liteide.desktop.diff original: Encoding=UTF-8 updated: #Encoding=UTF-8 <|file_sep|>original/liteidex/liteide.desktop [Desktop Entry] Encoding=UTF-8 Type=Application Name=LiteIDE Comment=IDE for editing and building projects written in the Go programming language #Exec=/... your liteide path .../lit...
d52382f7e8337c565bc7b3fde11c3142238322dd
liteidex/liteide.desktop
liteidex/liteide.desktop
desktop
<|file_sep|>Tokaido/TKDApp.h.diff original: updated: typedef enum : NSUInteger { TKDAppBundling, TKDAppBundleFailed, TKDAppStartingServer } TKDAppBootingSubstate; <|file_sep|>original/Tokaido/TKDApp.h @property (nonatomic, copy) NSString *appHostname; @property (nonatomic, copy) NSString *appIconPath; @p...
} TKDAppBootingSubstate; @interface TKDApp : MTLModel @property (nonatomic, copy) NSString *appName; @property (nonatomic, copy) NSString *appDirectoryPath; @property (nonatomic, copy) NSString *appHostname; @property (nonatomic, copy) NSString *appIconPath; @property (nonatomic, assign) TKDAppState state; @property...
<|file_sep|>Tokaido/TKDApp.h.diff original: updated: typedef enum : NSUInteger { TKDAppBundling, TKDAppBundleFailed, TKDAppStartingServer } TKDAppBootingSubstate; <|file_sep|>original/Tokaido/TKDApp.h @property (nonatomic, copy) NSString *appHostname; @property (nonatomic, copy) NSString *appIconPath; @p...
a528fce787eb40471330c0464848b8a6b9f72b44
Tokaido/TKDApp.h
Tokaido/TKDApp.h
C
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>React In Action</title> <link rel="shortcut icon" href="favicon.ico"> <link href="https://fonts.googleapis.com/css?family=Lato|Space+Mono" rel="stylesheet"> <link...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>React In Action</title> <link rel="shortcut icon" href="favicon.ico"> <link href="https://fonts.googleapis.com/css?family=Lato|Space+Mono" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.c...
<|file_sep|>original/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>React In Action</title> <link rel="shortcut icon" href="favicon.ico"> <link href="https://fonts.googleapis.com/css?family=Lato|Space+Mono" rel="stylesheet"> <link...
d76aed6c8b12714e2ecb688824847b83f76ba8d4
src/index.html
src/index.html
HTML
<|file_sep|>original/recipes/python-levenshtein/meta.yaml package: name: python-levenshtein version: 0.12.0 summary: Python extension for computing string edit distances and similarities. source: url: https://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-0.12.0.tar.gz fn: python...
package: name: python-levenshtein version: 0.12.0 about: home: https://pypi.python.org/pypi/python-Levenshtein/ license: GPL summary: Python extension for computing string edit distances and similarities. source: url: https://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-0.12.0...
<|file_sep|>original/recipes/python-levenshtein/meta.yaml package: name: python-levenshtein version: 0.12.0 summary: Python extension for computing string edit distances and similarities. source: url: https://pypi.python.org/packages/source/p/python-Levenshtein/python-Levenshtein-0.12.0.tar.gz fn: python...
182f18878b409d47f6526cf6102d53d2c16f2ab6
recipes/python-levenshtein/meta.yaml
recipes/python-levenshtein/meta.yaml
YAML
<|file_sep|>original/README.md # zend-barcode `Zend\Barcode` provides a generic way to generate barcodes. The `Zend\Barcode` component is divided into two subcomponents: barcode objects and renderers. Objects allow you to create barcodes independently of the renderer. Renderer allow you to draw barcodes based on the s...
# zend-barcode [![Build Status](https://secure.travis-ci.org/zendframework/zend-barcode.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-barcode) [![Coverage Status](https://coveralls.io/repos/zendframework/zend-barcode/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-barcode) `Z...
<|file_sep|>original/README.md # zend-barcode `Zend\Barcode` provides a generic way to generate barcodes. The `Zend\Barcode` component is divided into two subcomponents: barcode objects and renderers. Objects allow you to create barcodes independently of the renderer. Renderer allow you to draw barcodes based on the s...
e79c92176e30b22a1f68c89da060f5d17a6bb093
README.md
README.md
Markdown
<|file_sep|>ipv6map/geodata/admin.py.diff original: class BaseReadOnlyAdmin(admin.ModelAdmin): list_display_links = None def has_change_permission(self, request, obj=None): return False if obj else True updated: <|file_sep|>ipv6map/geodata/admin.py.diff original: class VersionAdmin(BaseReadOnlyAdmin...
}), ] list_display = ['publish_date', 'location_count', 'is_active'] list_filter = ['is_active'] readonly_fields = ['publish_date', 'location_count'] def location_count(self, obj): return obj.location_set.count() @admin.register(models.Location) class LocationAdmin(admin.ModelAdmi...
<|file_sep|>ipv6map/geodata/admin.py.diff original: class BaseReadOnlyAdmin(admin.ModelAdmin): list_display_links = None def has_change_permission(self, request, obj=None): return False if obj else True updated: <|file_sep|>ipv6map/geodata/admin.py.diff original: class VersionAdmin(BaseReadOnlyAdmin...
0a152c792e2ebf20056780b5a20765175d73108b
ipv6map/geodata/admin.py
ipv6map/geodata/admin.py
Python
<|file_sep|>original/README.md ## Overview Puppet module to install the Google Chrome web browser module. Currently supports installation on: * Fedora * Debian / Ubuntu / Mint * openSUSE ## Tested on: * Fedora 20, 21, 22 * CentOS 7 * Debian Wheezy / Jessie * openSUSE 13.1, 13.2 ## Usage To install the stable vers...
## Overview Puppet module to install the Google Chrome web browser module. Currently supports installation on: * Fedora * Debian / Ubuntu / Mint * openSUSE ## Tested on: * Fedora 20, 21, 22, 23 * CentOS 7 * Debian Wheezy / Jessie * openSUSE 13.1, 13.2 ## Usage To install the stable version of Google Chrome, inclu...
<|file_sep|>original/README.md ## Overview Puppet module to install the Google Chrome web browser module. Currently supports installation on: * Fedora * Debian / Ubuntu / Mint * openSUSE ## Tested on: * Fedora 20, 21, 22 * CentOS 7 * Debian Wheezy / Jessie * openSUSE 13.1, 13.2 ## Usage To install the stable vers...
33e71f60663940411bde95b7dd858e8ad26851c8
README.md
README.md
Markdown
<|file_sep|>original/README.md # java-iod-client Java Client for communicating with [IDOL OnDemand](http://www.idolondemand.com) Information can be found on the project homepage [here](http://hpautonomy.github.io/java-iod-client) ## Usage java-iod-client is available from the central Maven repository. <depende...
# java-iod-client Java Client for communicating with [IDOL OnDemand](http://www.idolondemand.com) Information can be found on the project homepage [here](http://hpautonomy.github.io/java-iod-client) [![Build Status](https://travis-ci.org/hpautonomy/java-iod-client.svg?branch=develop)](https://travis-ci.org/hpautonom...
<|file_sep|>original/README.md # java-iod-client Java Client for communicating with [IDOL OnDemand](http://www.idolondemand.com) Information can be found on the project homepage [here](http://hpautonomy.github.io/java-iod-client) ## Usage java-iod-client is available from the central Maven repository. <depende...
ca5b2071a2c433a8fc8195c1e659b0a7e01bd164
README.md
README.md
Markdown
<|file_sep|>tox.ini.diff original: updated: basepython = python3 <|file_sep|>tox.ini.diff original: basepython = python3 updated: <|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packag...
[testenv] basepython = python3 usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt [testenv:pep8] com...
<|file_sep|>tox.ini.diff original: updated: basepython = python3 <|file_sep|>tox.ini.diff original: basepython = python3 updated: <|file_sep|>original/tox.ini [testenv] usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packag...
29feb954d060346e072fd8452ea4f2abec49bd1e
tox.ini
tox.ini
INI
<|file_sep|>original/src/constants/Endpoints.js import { PROD_PROJECT_ID } from '../secrets'; export const OPTIMIZELY_BASE_URL = 'https://www.optimizelyapis.com/experiment/v1/'; export const PROJECTS_URL = `${OPTIMIZELY_BASE_URL}projects/`; export const PROD_EXPERIMENTS_URL = `${PROJECTS_URL}${PROD_PROJECT_ID}/exper...
import { PROD_PROJECT_ID } from '../secrets'; export const OPTIMIZELY_BASE_URL = 'https://www.optimizelyapis.com/experiment/v1/'; export const PROJECTS_URL = `${OPTIMIZELY_BASE_URL}projects/`; export const PROD_EXPERIMENTS_URL = `${PROJECTS_URL}${PROD_PROJECT_ID}/experiments/`; export const getResultsUrl = (experim...
<|file_sep|>original/src/constants/Endpoints.js import { PROD_PROJECT_ID } from '../secrets'; export const OPTIMIZELY_BASE_URL = 'https://www.optimizelyapis.com/experiment/v1/'; export const PROJECTS_URL = `${OPTIMIZELY_BASE_URL}projects/`; export const PROD_EXPERIMENTS_URL = `${PROJECTS_URL}${PROD_PROJECT_ID}/exper...
7bdd46cdf2128b65efb8b62e6d5cc5b9c6c3a9d5
src/constants/Endpoints.js
src/constants/Endpoints.js
JavaScript
<|file_sep|>original/package.json "axios": "^0.5.2", "contentful-resolve-response": "~0.1.0", "lodash": "~2.4.1" }, "devDependencies": { "babel": "^4.7.16", "buster": "~0.7.6", "bluebird": "^2.0.0", "browserify": "~3.20.0", "envify": "~1.0.1", "saucie": "^0.1.0", "testem": "~...
"contentful-resolve-response": "~0.1.0", "lodash": "~2.4.1" }, "devDependencies": { "babel": "^4.7.16", "buster": "~0.7.6", "bluebird": "^2.0.0", "browserify": "~3.20.0", "envify": "~1.0.1", "saucie": "^0.1.0", "testem": "~0.6.2", "uglify-js": "^2.4.19" }, "scripts": { ...
<|file_sep|>original/package.json "axios": "^0.5.2", "contentful-resolve-response": "~0.1.0", "lodash": "~2.4.1" }, "devDependencies": { "babel": "^4.7.16", "buster": "~0.7.6", "bluebird": "^2.0.0", "browserify": "~3.20.0", "envify": "~1.0.1", "saucie": "^0.1.0", "testem": "~...
93634991dbd7b42a6431b966b31e16875330ed2d
package.json
package.json
JSON
<|file_sep|>original/package.json "description": "Sentry transport for the winston logger.", "main": "sentry-transport.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/guzru/winston-sentry.git" }, "dependencies...
"description": "Sentry transport for the winston logger.", "main": "sentry-transport.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/guzru/winston-sentry.git" }, "dependencies": { "raven": "~0.5.2", "u...
<|file_sep|>original/package.json "description": "Sentry transport for the winston logger.", "main": "sentry-transport.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/guzru/winston-sentry.git" }, "dependencies...
f96e94b7d472f06fc4e2de017de6e1382266d0e1
package.json
package.json
JSON
<|file_sep|>original/requirements.txt google-api-python-client==1.6.5 gtts==1.2.2 playsound==1.2.2 PyAudio==0.2.11 PyYAML==3.12 requests==2.18.4 SpeechRecognition==3.8.1 websocket-client==0.47.0 <|file_sep|>current/requirements.txt google-api-python-client==1.6.5 gtts==1.2.2 playsound==1.2.2 PyAudio==0.2.11 PyYAML==3.1...
google-api-python-client==1.6.6 gtts==1.2.2 playsound==1.2.2 PyAudio==0.2.11 PyYAML==3.12 requests==2.18.4 SpeechRecognition==3.8.1 websocket-client==0.47.0
<|file_sep|>original/requirements.txt google-api-python-client==1.6.5 gtts==1.2.2 playsound==1.2.2 PyAudio==0.2.11 PyYAML==3.12 requests==2.18.4 SpeechRecognition==3.8.1 websocket-client==0.47.0 <|file_sep|>current/requirements.txt google-api-python-client==1.6.5 gtts==1.2.2 playsound==1.2.2 PyAudio==0.2.11 PyYAML==3.1...
1ce8596431b2787a130a168d3d517267eb3715ac
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/unit/alf-viewpoint/test_native_const.rb require 'spec_helper' module Alf describe Viewpoint, "NATIVE" do subject{ Viewpoint::NATIVE } it{ should be_a(Module) } it 'converts unknown names as named operands' do subject.parse{ suppliers }.should be_a(Algebra::...
module Alf describe Viewpoint, "NATIVE" do subject{ Viewpoint::NATIVE } it{ should be_a(Module) } it 'converts unknown names as named operands' do subject.parse{ suppliers }.should be_a(Algebra::Operand::Named) end it 'should allow being used in a Lispy' do Lang::Lisp...
<|file_sep|>original/spec/unit/alf-viewpoint/test_native_const.rb require 'spec_helper' module Alf describe Viewpoint, "NATIVE" do subject{ Viewpoint::NATIVE } it{ should be_a(Module) } it 'converts unknown names as named operands' do subject.parse{ suppliers }.should be_a(Algebra::...
fea46c27453e63b40bdea0dc46008453b763717e
spec/unit/alf-viewpoint/test_native_const.rb
spec/unit/alf-viewpoint/test_native_const.rb
Ruby
<|file_sep|>src/code/reducers/modal-dialog.js.diff original: updated: import urlParams from '../utilities/url-params'; <|file_sep|>original/src/code/reducers/modal-dialog.js show: true, message: action.message, explanation: action.explanation, rightButton: action.rightButton || defaultR...
return state.merge({ show: true, message: action.message, explanation: action.explanation, rightButton: action.rightButton || defaultRightButton, leftButton: action.leftButton, showAward: action.showAward, top: action.top }); case actionTypes.GUIDE...
<|file_sep|>src/code/reducers/modal-dialog.js.diff original: updated: import urlParams from '../utilities/url-params'; <|file_sep|>original/src/code/reducers/modal-dialog.js show: true, message: action.message, explanation: action.explanation, rightButton: action.rightButton || defaultR...
1be0e43bcb5858f8cf04c49a7700fe221b4f036e
src/code/reducers/modal-dialog.js
src/code/reducers/modal-dialog.js
JavaScript
<|file_sep|>original/sql/papers-from-single-country.sql <|file_sep|>current/sql/papers-from-single-country.sql <|file_sep|>updated/sql/papers-from-single-country.sql
with country_counted_publications as ( select p.id, count(distinct country) as countries from publication as p join affiliated_author as a on a.publication_id = p.id join institution as i on a.institution_id = i.id -- Only include papers with well defined affiliations as we base our results on those as well -- an...
<|file_sep|>original/sql/papers-from-single-country.sql <|file_sep|>current/sql/papers-from-single-country.sql <|file_sep|>updated/sql/papers-from-single-country.sql with country_counted_publications as ( select p.id, count(distinct country) as countries from publication as p join affiliated_author as a on a.publi...
e5df3cf1a608dc813011a1ee7e920637e5bd155c
sql/papers-from-single-country.sql
sql/papers-from-single-country.sql
SQL
<|file_sep|>original/requirements-win-test.txt flake8==3.4.1 pytest==3.2.5 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.3 <|file_sep|>current/requirements-win-test.txt flake8==3.4.1 pytest==3.2.5 pytest-cov==2.5.1 pytest-catchlog...
flake8==3.4.1 pytest==3.3.1 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.3
<|file_sep|>original/requirements-win-test.txt flake8==3.4.1 pytest==3.2.5 pytest-cov==2.5.1 pytest-catchlog==1.2.2 docker-py==1.10.6 lz4==0.10.1 xxhash==1.0.1 python-snappy==0.5.1 # pypiwin32==219 cython==0.27.3 <|file_sep|>current/requirements-win-test.txt flake8==3.4.1 pytest==3.2.5 pytest-cov==2.5.1 pytest-catchlog...
45b5d02287317c73142b996a011a2d9fb735665d
requirements-win-test.txt
requirements-win-test.txt
Text
<|file_sep|>original/MyCapytain/__init__.py # -*- coding: utf-8 -*- """ .. module:: MyCapytain :platform: Unix, Windows :synopsis: Canonical PrototypeText Service and Canonical URN tool suite for Python .. moduleauthor:: Thibault Clérice <leponteineptique@gmail.com> """ __version__ = "2.0.0b16" <|file_sep|>cu...
# -*- coding: utf-8 -*- """ .. module:: MyCapytain :platform: Unix, Windows :synopsis: Canonical PrototypeText Service and Canonical URN tool suite for Python .. moduleauthor:: Thibault Clérice <leponteineptique@gmail.com> """ __version__ = "2.0.0b17"
<|file_sep|>original/MyCapytain/__init__.py # -*- coding: utf-8 -*- """ .. module:: MyCapytain :platform: Unix, Windows :synopsis: Canonical PrototypeText Service and Canonical URN tool suite for Python .. moduleauthor:: Thibault Clérice <leponteineptique@gmail.com> """ __version__ = "2.0.0b16" <|file_sep|>cu...
fb865b2ca9905c70d79e15bf41c29899c533eea6
MyCapytain/__init__.py
MyCapytain/__init__.py
Python
<|file_sep|>app/controllers/sessions_controller.rb.diff original: updated: <|file_sep|>app/controllers/sessions_controller.rb.diff original: # def create # user = User.find_by_email(params[:email]) # if user.password == params[:password] # session[:user_id] = user.id # redirect_to root_path # ...
class SessionsController < ApplicationController def new end def create user = User.find_by_email(params[:email]) if user && user.authenticate(params[:password]) session[:user_id] = user.id redirect_to root_path else flash.now[:error] = "Invalid username or password." render :...
<|file_sep|>app/controllers/sessions_controller.rb.diff original: updated: <|file_sep|>app/controllers/sessions_controller.rb.diff original: # def create # user = User.find_by_email(params[:email]) # if user.password == params[:password] # session[:user_id] = user.id # redirect_to root_path # ...
be098abecd127625eec8263ba0757983dae21479
app/controllers/sessions_controller.rb
app/controllers/sessions_controller.rb
Ruby
<|file_sep|>original/rector.php return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__.'/src', __DIR__.'/tests', ]); $rectorConfig->cacheDirectory(__DIR__.'/tools/.rector-cache'); $rectorConfig->importNames(); // register a single rule // $r...
return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__.'/src', __DIR__.'/tests', ]); $rectorConfig->cacheDirectory(__DIR__.'/tools/.rector-cache'); $rectorConfig->importNames(); // register a single rule // $rectorConfig->rule(InlineConstruc...
<|file_sep|>original/rector.php return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__.'/src', __DIR__.'/tests', ]); $rectorConfig->cacheDirectory(__DIR__.'/tools/.rector-cache'); $rectorConfig->importNames(); // register a single rule // $r...
118a6cfda8524861e11a028b7ee1adb872629d1b
rector.php
rector.php
PHP
<|file_sep|>original/librisxl-tools/postgresql/drop-tables-and-indexes-sql.sh #!/bin/bash awk '/^CREATE TABLE IF NOT EXISTS/ { print "DROP TABLE " $6 ";" }' $(dirname $0)/tables.sql awk '/^CREATE INDEX/ { print "DROP INDEX " $3 ";" }' $(dirname $0)/indexes.sql <|file_sep|>current/librisxl-tools/postgresql/drop-tables-a...
#!/bin/bash awk '/^CREATE TABLE IF NOT EXISTS/ { print "DROP TABLE IF EXISTS " $6 ";" }' $(dirname $0)/tables.sql awk '/^CREATE INDEX/ { print "DROP INDEX IF EXISTS " $3 ";" }' $(dirname $0)/indexes.sql
<|file_sep|>original/librisxl-tools/postgresql/drop-tables-and-indexes-sql.sh #!/bin/bash awk '/^CREATE TABLE IF NOT EXISTS/ { print "DROP TABLE " $6 ";" }' $(dirname $0)/tables.sql awk '/^CREATE INDEX/ { print "DROP INDEX " $3 ";" }' $(dirname $0)/indexes.sql <|file_sep|>current/librisxl-tools/postgresql/drop-tables-a...
b05ab8f4f1f69e3ad40d2e5e0708a212583178de
librisxl-tools/postgresql/drop-tables-and-indexes-sql.sh
librisxl-tools/postgresql/drop-tables-and-indexes-sql.sh
Shell
<|file_sep|>tasks/main.yml.diff original: package: tor updated: package: "{{ item }}" <|file_sep|>original/tasks/main.yml --- - name: install necessary packages for the tor onion service apt: package: tor state: latest notify: restart tor - name: copy torrc template template: src: torrc.j2 ...
--- - name: install necessary packages for the tor onion service apt: package: "{{ item }}" state: latest notify: restart tor with_items: - tor - torsocks - name: copy torrc template template: src: torrc.j2 dest: "{{ torrc }}" notify: restart tor
<|file_sep|>tasks/main.yml.diff original: package: tor updated: package: "{{ item }}" <|file_sep|>original/tasks/main.yml --- - name: install necessary packages for the tor onion service apt: package: tor state: latest notify: restart tor - name: copy torrc template template: src: torrc.j2 ...
75ee9afbf44d84ace2912320306043bf14a80753
tasks/main.yml
tasks/main.yml
YAML
<|file_sep|>madam_rest/__init__.py.diff original: updated: import madam <|file_sep|>madam_rest/__init__.py.diff original: from madam import Madam updated: <|file_sep|>original/madam_rest/__init__.py from flask import Flask from madam import Madam app = Flask(__name__) app.from_object('config') asset_manager = Madam...
import madam from flask import Flask app = Flask(__name__) app.from_object('config') asset_manager = madam.Madam() asset_storage = madam.core.ShelveStorage(app.config['ASSET_STORAGE_PATH']) from madam_rest import views
<|file_sep|>madam_rest/__init__.py.diff original: updated: import madam <|file_sep|>madam_rest/__init__.py.diff original: from madam import Madam updated: <|file_sep|>original/madam_rest/__init__.py from flask import Flask from madam import Madam app = Flask(__name__) app.from_object('config') asset_manager = Madam...
7a20ee42aae2d2a6f5766ab4ec1ee4ef33fe14c8
madam_rest/__init__.py
madam_rest/__init__.py
Python
<|file_sep|>original/website/templates/emails/archive_success.html.mako <%inherit file="notify_base.mako" /> <%def name="content()"> <tr> <td style="border-collapse: collapse;"> <h3 class="text-center" style="padding: 0;margin: 30px 0 0 0;border: none;list-style: none;font-weight: 300;text-align: center;">Regist...
<%inherit file="notify_base.mako" /> <%def name="content()"> <tr> <td style="border-collapse: collapse;"> <h3 class="text-center" style="padding: 0;margin: 30px 0 0 0;border: none;list-style: none;font-weight: 300;text-align: center;">Registration of ${src.title} finished</h3> </td> </tr> <tr> <td style="bor...
<|file_sep|>original/website/templates/emails/archive_success.html.mako <%inherit file="notify_base.mako" /> <%def name="content()"> <tr> <td style="border-collapse: collapse;"> <h3 class="text-center" style="padding: 0;margin: 30px 0 0 0;border: none;list-style: none;font-weight: 300;text-align: center;">Regist...
4ce53c916972adb7959973f7160342ae50479c51
website/templates/emails/archive_success.html.mako
website/templates/emails/archive_success.html.mako
Mako
<|file_sep|>original/config/activity-type.php <?php return [ /* * 各 model 對應的顯示路由 */ 'route' => [ \App\User::class => 'user.show', \App\Club::class => 'clubs.show', \App\TeaParty::class => 'tea-party.show', ], ]; <|file_sep|>current/config/activity-type.php <?php ...
<?php return [ /* * 各 model 對應的顯示路由 */ 'route' => [ \App\User::class => 'user.show', \App\Club::class => 'clubs.show', \App\TeaParty::class => 'tea-party.show', \App\DataUpdateRequest::class => 'data-update-request.show', ], ];
<|file_sep|>original/config/activity-type.php <?php return [ /* * 各 model 對應的顯示路由 */ 'route' => [ \App\User::class => 'user.show', \App\Club::class => 'clubs.show', \App\TeaParty::class => 'tea-party.show', ], ]; <|file_sep|>current/config/activity-type.php <?php ...
9105b8ba27d8f31487300c2928647b31f1498377
config/activity-type.php
config/activity-type.php
PHP
<|file_sep|>original/src/k8s/disable-default-istio-injection.sh #!/bin/bash # In order to use the istio-injection annotation only on specific deployments within # the pitstop namespace, we need to disable automatic injection and enable it explicitly # on the namespace (see start-all script). kubectl get cm istio-si...
#!/bin/bash # In order to use the istio-injection annotation only on specific deployments within # the pitstop namespace, we need to disable automatic injection and enable it explicitly # on the namespace (see start-all script). kubectl get cm istio-sidecar-injector -o yaml -n istio-system | \ sed -e '0,/policy: en...
<|file_sep|>original/src/k8s/disable-default-istio-injection.sh #!/bin/bash # In order to use the istio-injection annotation only on specific deployments within # the pitstop namespace, we need to disable automatic injection and enable it explicitly # on the namespace (see start-all script). kubectl get cm istio-si...
ab5165e3da4ed94b19072316d4dab0cc5d8bf3e6
src/k8s/disable-default-istio-injection.sh
src/k8s/disable-default-istio-injection.sh
Shell
<|file_sep|>original/src/algotdd/test/test_list.cc virtual void SetUp() { // NOT YET IMPLEMENTED } virtual void TearDown() {} // setup fixtures list<int> list_1; list<int> list_2; list<std::string> list_str; }; TEST(listNodeTest, DefaultCtor) { int element_1 = 100; std::string element_2("Hello wo...
virtual void SetUp() { // NOT YET IMPLEMENTED } virtual void TearDown() {} // setup fixtures list<int> list_1; list<int> list_2; list<std::string> list_str; }; // test the helper class listNodeTest // this is a canonical example of writing testable code: // to test private members, just write another...
<|file_sep|>original/src/algotdd/test/test_list.cc virtual void SetUp() { // NOT YET IMPLEMENTED } virtual void TearDown() {} // setup fixtures list<int> list_1; list<int> list_2; list<std::string> list_str; }; TEST(listNodeTest, DefaultCtor) { int element_1 = 100; std::string element_2("Hello wo...
e9d666c9cf225227f986df3de9efb010c7bb5d0a
src/algotdd/test/test_list.cc
src/algotdd/test/test_list.cc
C++
<|file_sep|>original/src/Renderer/Decorator/AbstractRendererDecorator.php */ public function __construct(RendererInterface $renderer) { $this->renderer = $renderer; } /** * @inheritDoc */ public function getName(): string { return $this->renderer->getName(); }...
{ private $renderer; /** * AbstractRendererDecorator constructor. * * @param RendererInterface $renderer */ public function __construct(RendererInterface $renderer) { $this->renderer = $renderer; } /** * @inheritDoc */ public function render(Identifiab...
<|file_sep|>original/src/Renderer/Decorator/AbstractRendererDecorator.php */ public function __construct(RendererInterface $renderer) { $this->renderer = $renderer; } /** * @inheritDoc */ public function getName(): string { return $this->renderer->getName(); }...
41cc500bb5e100f785474aa6f351f21343471f04
src/Renderer/Decorator/AbstractRendererDecorator.php
src/Renderer/Decorator/AbstractRendererDecorator.php
PHP
<|file_sep|>original/app/assets/stylesheets/application.css body { background: #F7F7F7; } .header-holder { padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.2); background-color: #fff; } h1 small { color: #6D6D6D; font-weight: 200; font-size: 70%; } h1 { padding: 10px; font-size: 3rem; } <|file_sep...
} body { background: #F7F7F7; } .header-holder { padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.2); background-color: #fff; } h1 small { color: #6D6D6D; font-weight: 200; } h1 { padding: 10px; font-size: 3rem; }
<|file_sep|>original/app/assets/stylesheets/application.css body { background: #F7F7F7; } .header-holder { padding: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.2); background-color: #fff; } h1 small { color: #6D6D6D; font-weight: 200; font-size: 70%; } h1 { padding: 10px; font-size: 3rem; } <|file_sep...
2dec97b6ae696dbb80339ede1a82d636fcfc12cc
app/assets/stylesheets/application.css
app/assets/stylesheets/application.css
CSS
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.1" gemfile: - gemfiles/actionmailer_3.gemfile - gemfiles/actionmailer_4.gemfile <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.1" gemfile: - gemfiles/actionmailer_3.gemfile - gemfiles/acti...
language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.2" gemfile: - gemfiles/actionmailer_3.gemfile - gemfiles/actionmailer_4.gemfile
<|file_sep|>original/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.1" gemfile: - gemfiles/actionmailer_3.gemfile - gemfiles/actionmailer_4.gemfile <|file_sep|>current/.travis.yml language: ruby rvm: - "1.9.3" - "2.0.0" - "2.1.1" gemfile: - gemfiles/actionmailer_3.gemfile - gemfiles/acti...
c183a1c1f65e4732036cc223cd82de03d08d2bcf
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.sh echo "Link created" fi if [ ! -d "$ABS_PATH/.vim" ]; then ln -s "$ABS_PATH/.vim" ~/.vim echo "vim folder created" fi if [ ! -d "$ABS_PATH/.vim/bundle" ]; then mkdir -p "$ABS_PATH/.vim/bundle" fi if [ ! -d "$ABS_PATH/.vim/bundle/nerdtree" ]; then echo "Cloning the nerdTree plugin" ...
echo "Link created" fi if [ ! -d "$ABS_PATH/.vim" ]; then ln -s "$ABS_PATH/.vim" ~/.vim echo "vim folder created" fi if [ ! -d "$ABS_PATH/.vim/bundle" ]; then mkdir -p "$ABS_PATH/.vim/bundle" fi if [ ! -d "$ABS_PATH/.vim/bundle/nerdtree" ]; then echo "Cloning the nerdTree plugin" git clone git@github.com:scroo...
<|file_sep|>original/setup.sh echo "Link created" fi if [ ! -d "$ABS_PATH/.vim" ]; then ln -s "$ABS_PATH/.vim" ~/.vim echo "vim folder created" fi if [ ! -d "$ABS_PATH/.vim/bundle" ]; then mkdir -p "$ABS_PATH/.vim/bundle" fi if [ ! -d "$ABS_PATH/.vim/bundle/nerdtree" ]; then echo "Cloning the nerdTree plugin" ...
f3e41eaa27dd90590c00405cb55aa1b049d50cf8
setup.sh
setup.sh
Shell
<|file_sep|>original/datetime_picker_input.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "datetime_picker_input/version" Gem::Specification.new do |spec| spec.name = "datetime_picker_input" spec.version = DatetimePickerInput::VERSION spec.authors = %w(Juanito Fatas)...
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "datetime_picker_input/version" Gem::Specification.new do |spec| spec.name = "datetime_picker_input" spec.version = DatetimePickerInput::VERSION spec.authors = %w(Juanito Fatas) spec.email = %w(katehuang0320@gmail.com)...
<|file_sep|>original/datetime_picker_input.gemspec $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require "datetime_picker_input/version" Gem::Specification.new do |spec| spec.name = "datetime_picker_input" spec.version = DatetimePickerInput::VERSION spec.authors = %w(Juanito Fatas)...
a78f4e298d68ceabfb798196c86302c6cde904f5
datetime_picker_input.gemspec
datetime_picker_input.gemspec
Ruby
<|file_sep|>original/package.json "devDependencies": { "ava": "^0.12.0", "babel-cli": "6.6.4", "babel-plugin-transform-es2015-destructuring": "^6.6.5", "babel-preset-es2015": "^6.6.0", "browser-sync": "^2.12.10", "browserify": "^13.0.1" }, "scripts": { "start": "scripts/server.js", ...
"devDependencies": { "ava": "^0.12.0", "babel-cli": "6.6.4", "babel-plugin-transform-es2015-destructuring": "^6.6.5", "babel-preset-es2015": "^6.6.0", "browser-sync": "^2.12.10", "browserify": "^13.0.1" }, "scripts": { "start": "scripts/server.js", "deploy": "git subtree push --pre...
<|file_sep|>original/package.json "devDependencies": { "ava": "^0.12.0", "babel-cli": "6.6.4", "babel-plugin-transform-es2015-destructuring": "^6.6.5", "babel-preset-es2015": "^6.6.0", "browser-sync": "^2.12.10", "browserify": "^13.0.1" }, "scripts": { "start": "scripts/server.js", ...
35ff78f6464faa982d4d60cd3dfbb4a66db0ecc9
package.json
package.json
JSON
<|file_sep|>original/templates/nothingfound.html {{define "content"}} <h2>Nothing Found!</h2> <p>Please try another path.</p> <form style="padding-bottom:10px" align="<center></center>" action = "/setup" method = "post"> <input type="text" name="filepath" id="search" placeholder="/path/to/media"> <input type...
{{define "content"}} <h2>Nothing Found!</h2> <p>Please try another path.</p> <form style="padding-bottom:10px" align="<center></center>" action = "/setup" method = "post"> <input type="text" name="filepath" id="search" placeholder="/path/to/media"> <input type="submit" name="addFilePath" value="Submit" /> <p...
<|file_sep|>original/templates/nothingfound.html {{define "content"}} <h2>Nothing Found!</h2> <p>Please try another path.</p> <form style="padding-bottom:10px" align="<center></center>" action = "/setup" method = "post"> <input type="text" name="filepath" id="search" placeholder="/path/to/media"> <input type...
59fedbeb518f171276a0935bdb62e536a1ba7e5d
templates/nothingfound.html
templates/nothingfound.html
HTML
<|file_sep|>original/src/zopfli/hash.c limitations under the License. Author: lode.vandevenne@gmail.com (Lode Vandevenne) Author: jyrki.alakuijala@gmail.com (Jyrki Alakuijala) */ #include "hash.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #define HASH_SHIFT 5 #define HASH_MASK 32767 extern Zopfli...
See the License for the specific language governing permissions and limitations under the License. Author: lode.vandevenne@gmail.com (Lode Vandevenne) Author: jyrki.alakuijala@gmail.com (Jyrki Alakuijala) */ #include "hash.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #define HASH_SHIFT 5 #define HA...
<|file_sep|>original/src/zopfli/hash.c limitations under the License. Author: lode.vandevenne@gmail.com (Lode Vandevenne) Author: jyrki.alakuijala@gmail.com (Jyrki Alakuijala) */ #include "hash.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> #define HASH_SHIFT 5 #define HASH_MASK 32767 extern Zopfli...
93121c92ab02651020f862d5ccc94d63bc3dda00
src/zopfli/hash.c
src/zopfli/hash.c
C