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/sphinx/source/docs/reference/core/validation.rst .. _bokeh.core.validation.helpers: Helper Functions ~~~~~~~~~~~~~~~~ These helper functions can be used to perform integrity checks on collections of Bokeh models, or mark methods on Models as warning or error checks. .. autofunction:: bokeh.core...
.. _bokeh.core.validation.helpers: Helper Functions ~~~~~~~~~~~~~~~~ These helper functions can be used to perform integrity checks on collections of Bokeh models, or mark methods on Models as warning or error checks. .. autofunction:: bokeh.core.validation.check.check_integrity .. autofunction:: bokeh.core.validat...
<|file_sep|>original/sphinx/source/docs/reference/core/validation.rst .. _bokeh.core.validation.helpers: Helper Functions ~~~~~~~~~~~~~~~~ These helper functions can be used to perform integrity checks on collections of Bokeh models, or mark methods on Models as warning or error checks. .. autofunction:: bokeh.core...
1ddce502dce1d642dd141af72b8892a2c09b749c
sphinx/source/docs/reference/core/validation.rst
sphinx/source/docs/reference/core/validation.rst
reStructuredText
<|file_sep|>original/repairnator/scripts/build_repairnator.sh #!/bin/bash if [ -z "$HOME_REPAIR" ]; then echo "The variable HOME_REPAIR must be set." exit -1 fi cd $HOME_REPAIR/github/nopol/nopol git pull mvn clean install -DskipTests=true cd $HOME_REPAIR/github/librepair git pull cd jtravis mvn clean insta...
if [ -z "$HOME_REPAIR" ]; then echo "The variable HOME_REPAIR must be set." exit -1 fi cd $HOME_REPAIR/github/nopol/nopol git pull mvn clean install -DskipTests=true cd $HOME_REPAIR/github/astor git pull mvn clean mvn install -DskipTests=true cd $HOME_REPAIR/github/librepair git pull cd jtravis mvn clean i...
<|file_sep|>original/repairnator/scripts/build_repairnator.sh #!/bin/bash if [ -z "$HOME_REPAIR" ]; then echo "The variable HOME_REPAIR must be set." exit -1 fi cd $HOME_REPAIR/github/nopol/nopol git pull mvn clean install -DskipTests=true cd $HOME_REPAIR/github/librepair git pull cd jtravis mvn clean insta...
7549250290567a0e88042555582fbdff88e93ce6
repairnator/scripts/build_repairnator.sh
repairnator/scripts/build_repairnator.sh
Shell
<|file_sep|>original/wp-content/themes/template/src/styles/parts/navigation.less .main-nav{ margin: 1rem 1rem 0; &__items{ text-align: center; margin: 0; padding: 0; } &__item{ display: inline-block; } } <|file_sep|>current/wp-content/themes/template/src/styles/parts/navigation.less .main-nav...
.main-nav{ margin: 1rem 1rem 0; &__items{ text-align: center; margin: 0; padding: 0; .button__link { padding: 0.6em 0.8em; } } &__item{ display: inline-block; } }
<|file_sep|>original/wp-content/themes/template/src/styles/parts/navigation.less .main-nav{ margin: 1rem 1rem 0; &__items{ text-align: center; margin: 0; padding: 0; } &__item{ display: inline-block; } } <|file_sep|>current/wp-content/themes/template/src/styles/parts/navigation.less .main-nav...
752f473ecced10e66ad0e4cd30034c24e4c93fca
wp-content/themes/template/src/styles/parts/navigation.less
wp-content/themes/template/src/styles/parts/navigation.less
Less
<|file_sep|>original/demo/sass/demo.scss padding:20px; .list { margin-top:20px; } .code { display:flex; dl { flex:1; margin-right:20px; } dd { margin-left:0; } } } <|file_sep|>current/demo/sass/demo.scss padding:20px; .list { margin-top:20px; } .code { display:flex; dl ...
} .code { display:flex; dl { flex:1; margin-right:20px; } dd { margin-left:0; } } } .syntaxhighlighter table td { vertical-align:top !important; }
<|file_sep|>original/demo/sass/demo.scss padding:20px; .list { margin-top:20px; } .code { display:flex; dl { flex:1; margin-right:20px; } dd { margin-left:0; } } } <|file_sep|>current/demo/sass/demo.scss padding:20px; .list { margin-top:20px; } .code { display:flex; dl ...
326b581d12af6ae06c605ef7ff6cd4150a4913e6
demo/sass/demo.scss
demo/sass/demo.scss
SCSS
<|file_sep|>lib/gumboot/shared_examples/foreign_keys.rb.diff original: expect(fk_exists_between(from_table, to_table)).to be_truthy updated: expect(fk_exists_between(from_table, to_table, fk)).to be_truthy <|file_sep|>lib/gumboot/shared_examples/foreign_keys.rb.diff original: def fk_exists_between(from_ta...
context 'Permissions Foreign Keys', if: conn.supports_foreign_keys? do it 'should have a foreign key' do expect(table_has_fk(from_table, fk)).to be_truthy end it 'should have a foreign key that points to the correct table' do expect(fk_exists_between(from_table, to_table, fk)).to be_truthy ...
<|file_sep|>lib/gumboot/shared_examples/foreign_keys.rb.diff original: expect(fk_exists_between(from_table, to_table)).to be_truthy updated: expect(fk_exists_between(from_table, to_table, fk)).to be_truthy <|file_sep|>lib/gumboot/shared_examples/foreign_keys.rb.diff original: def fk_exists_between(from_ta...
f145ea778e4af93b412e10820f5632e276b19a21
lib/gumboot/shared_examples/foreign_keys.rb
lib/gumboot/shared_examples/foreign_keys.rb
Ruby
<|file_sep|>original/Support/lib/rspec/mate.rb # This is based on Florian Weber's TDDMate ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH']) $LOAD_PATH.unshift(File.dirname(__FILE__) + '/..') require 'rspec/mate/runner' require 'rspec/mate/switch_command' <|file_sep|>current/Support/lib/rspec/mate.rb #...
# This is based on Florian Weber's TDDMate ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH']) require_relative 'mate/runner' require_relative 'mate/switch_command'
<|file_sep|>original/Support/lib/rspec/mate.rb # This is based on Florian Weber's TDDMate ENV['TM_PROJECT_DIRECTORY'] ||= File.dirname(ENV['TM_FILEPATH']) $LOAD_PATH.unshift(File.dirname(__FILE__) + '/..') require 'rspec/mate/runner' require 'rspec/mate/switch_command' <|file_sep|>current/Support/lib/rspec/mate.rb #...
b0ca1d9092f8c7b7f25f1be321b6b3674f5dfbcf
Support/lib/rspec/mate.rb
Support/lib/rspec/mate.rb
Ruby
<|file_sep|>original/health_check/contrib/celery/backends.py class CeleryHealthCheck(BaseHealthCheckBackend): def check_status(self): timeout = getattr(settings, 'HEALTHCHECK_CELERY_TIMEOUT', 3) try: result = add.apply_async( args=[4, 4], expires=timeou...
class CeleryHealthCheck(BaseHealthCheckBackend): def check_status(self): timeout = getattr(settings, 'HEALTHCHECK_CELERY_TIMEOUT', 3) try: result = add.apply_async( args=[4, 4], expires=timeout, queue=self.queue ) ...
<|file_sep|>original/health_check/contrib/celery/backends.py class CeleryHealthCheck(BaseHealthCheckBackend): def check_status(self): timeout = getattr(settings, 'HEALTHCHECK_CELERY_TIMEOUT', 3) try: result = add.apply_async( args=[4, 4], expires=timeou...
4d4148ea831d425327a3047ebb9be8c3129eaff6
health_check/contrib/celery/backends.py
health_check/contrib/celery/backends.py
Python
<|file_sep|>original/test/requests/run-integration-tests.py <|file_sep|>current/test/requests/run-integration-tests.py <|file_sep|>updated/test/requests/run-integration-tests.py
import sys from test_login_local import TestLoginLocal from test_registration import TestRegistration from unittest import TestSuite, TextTestRunner, TestLoader test_cases = [ TestLoginLocal, TestRegistration ] def suite(gn2_url, es_url): the_suite = TestSuite() for case in test_cases: the_sui...
<|file_sep|>original/test/requests/run-integration-tests.py <|file_sep|>current/test/requests/run-integration-tests.py <|file_sep|>updated/test/requests/run-integration-tests.py import sys from test_login_local import TestLoginLocal from test_registration import TestRegistration from unittest import TestSuite, TextTe...
85015343fd99885ec00db86b4e3705bcc25e62f1
test/requests/run-integration-tests.py
test/requests/run-integration-tests.py
Python
<|file_sep|>cookbooks/lib/features/neo4j_spec.rb.diff original: sh('sudo neo4j start') updated: sh('sudo service neo4j start') <|file_sep|>cookbooks/lib/features/neo4j_spec.rb.diff original: sh("neo4j-shell -v -c 'create (n:thing {furbies: #{furbies});'") updated: sh("neo4j-shell -v -c 'create (...
describe command('which neo4j') do its(:stdout) { should match 'bin/neo4j' } end describe 'neo4j commands', sudo: true do before :all do sh('sudo service neo4j start') tcpwait('127.0.0.1', 7474) sh("neo4j-shell -v -c 'create (n:thing {furbies: #{furbies}});'") end describe serv...
<|file_sep|>cookbooks/lib/features/neo4j_spec.rb.diff original: sh('sudo neo4j start') updated: sh('sudo service neo4j start') <|file_sep|>cookbooks/lib/features/neo4j_spec.rb.diff original: sh("neo4j-shell -v -c 'create (n:thing {furbies: #{furbies});'") updated: sh("neo4j-shell -v -c 'create (...
8a6e34242fc508e532c550a6dca726c02cfff999
cookbooks/lib/features/neo4j_spec.rb
cookbooks/lib/features/neo4j_spec.rb
Ruby
<|file_sep|>original/runner.php <?php function main($argv) { if(!file_exists('./vendor/autoload.php')){ echo("\033[31mDid you forget to run 'composer install'?\n\033[0m"); } include 'modules/pulsestorm/pestle/runner/module.php'; \Pulsestorm\Pestle\Runner\main($argv); } main($argv); <|file_sep|>c...
<?php function main($argv) { include 'modules/pulsestorm/pestle/runner/module.php'; \Pulsestorm\Pestle\Runner\main($argv); } main($argv);
<|file_sep|>original/runner.php <?php function main($argv) { if(!file_exists('./vendor/autoload.php')){ echo("\033[31mDid you forget to run 'composer install'?\n\033[0m"); } include 'modules/pulsestorm/pestle/runner/module.php'; \Pulsestorm\Pestle\Runner\main($argv); } main($argv); <|file_sep|>c...
3c1de60e97325aad1db32e1a08552117da37b101
runner.php
runner.php
PHP
<|file_sep|>app/views/staff/pictures/index.html.haml.diff original: .row.top-padded updated: .row.top-padded{ data: { equalizer: "" } } <|file_sep|>original/app/views/staff/pictures/index.html.haml .row .small-12.columns %nav.top-padded{"aria-label": "You are here:", role: "navigation"} %ul.breadcrumbs ...
.row .small-12.columns %nav.top-padded{"aria-label": "You are here:", role: "navigation"} %ul.breadcrumbs %li =link_to "Components", staff_components_path %li %span.show-for-sr Current: Component Visual Dictionary .row.top-padded{ data: { equalizer: "" } } -@c...
<|file_sep|>app/views/staff/pictures/index.html.haml.diff original: .row.top-padded updated: .row.top-padded{ data: { equalizer: "" } } <|file_sep|>original/app/views/staff/pictures/index.html.haml .row .small-12.columns %nav.top-padded{"aria-label": "You are here:", role: "navigation"} %ul.breadcrumbs ...
47a37955062489fcc756c24b7ec0200783a2fd75
app/views/staff/pictures/index.html.haml
app/views/staff/pictures/index.html.haml
Haml
<|file_sep|>original/app/assets/javascripts/main.js "use strict"; $(document).on("turbolinks:load", function() { //equivalent of $(document).ready() console.log("JS loaded.") addSpace(); var $grid = initMasonry(); // layout Masonry after each image loads $grid.imagesLoaded().progress( function() { $grid...
"use strict"; $(document).on("ready turbolinks:load", function() { //equivalent of $(document).ready() console.log("JS loaded.") addSpace(); var $grid = initMasonry(); // layout Masonry after each image loads $grid.imagesLoaded().progress( function() { $grid.masonry('layout'); }); }); function initMa...
<|file_sep|>original/app/assets/javascripts/main.js "use strict"; $(document).on("turbolinks:load", function() { //equivalent of $(document).ready() console.log("JS loaded.") addSpace(); var $grid = initMasonry(); // layout Masonry after each image loads $grid.imagesLoaded().progress( function() { $grid...
28320eeeb420ce13c5e00d670a82aab889ecc5c6
app/assets/javascripts/main.js
app/assets/javascripts/main.js
JavaScript
<|file_sep|>original/client.src/core/views/menu-views/auth-menu-view/menu-view.styl .new-button margin-right 30px .profile-link a font-weight bold img border-radius 3px vertical-align middle margin-right 2px .dropdown-mask display none z-index 2000 position fix...
.new-button margin-right 30px .profile-link a font-weight bold img width 20px height 20px border-radius 3px vertical-align middle margin-right 2px .dropdown-mask display none z-index 2000 position fixed height 100%
<|file_sep|>original/client.src/core/views/menu-views/auth-menu-view/menu-view.styl .new-button margin-right 30px .profile-link a font-weight bold img border-radius 3px vertical-align middle margin-right 2px .dropdown-mask display none z-index 2000 position fix...
bdc91239b11a820d92ffea9f7d0f8158cc728449
client.src/core/views/menu-views/auth-menu-view/menu-view.styl
client.src/core/views/menu-views/auth-menu-view/menu-view.styl
Stylus
<|file_sep|>original/manifest.json { "manifest_version": 2, "name": "Alerta", "description": "Alerta extension for open alert count and quick access to web UI", "version": "0.0.6", "permissions": [ "alarms", "tabs", "webNavigation", "http://try.alerta.io/" ], "minimum_chrome_version": "23", "background": ...
{ "manifest_version": 2, "name": "Alerta", "description": "Alerta extension for open alert count and quick access to web UI", "version": "0.0.6", "permissions": [ "alarms", "tabs", "webNavigation", "http://*/", "https://*/" ], "minimum_chrome_version": "23", "background": { "page": "background.html", ...
<|file_sep|>original/manifest.json { "manifest_version": 2, "name": "Alerta", "description": "Alerta extension for open alert count and quick access to web UI", "version": "0.0.6", "permissions": [ "alarms", "tabs", "webNavigation", "http://try.alerta.io/" ], "minimum_chrome_version": "23", "background": ...
4310f9e6cb7ead64b23ca256a6272f41758116a2
manifest.json
manifest.json
JSON
<|file_sep|>original/test/helper.rb require_relative '../lib/cassandro' CASSANDRA = Cassandra.cluster(hosts: ['127.0.0.1']) SESSION = CASSANDRA.connect keyspace_definition = <<-KSDEF CREATE KEYSPACE IF NOT EXISTS cassandro_test WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': 1 } KS...
require_relative '../lib/cassandro' CASSANDRA = Cassandra.cluster(hosts: ['127.0.0.1']) SESSION = CASSANDRA.connect keyspace_definition = <<-KSDEF CREATE KEYSPACE IF NOT EXISTS cassandro_test WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': 1 } KSDEF SESSION.execute(keyspace_defini...
<|file_sep|>original/test/helper.rb require_relative '../lib/cassandro' CASSANDRA = Cassandra.cluster(hosts: ['127.0.0.1']) SESSION = CASSANDRA.connect keyspace_definition = <<-KSDEF CREATE KEYSPACE IF NOT EXISTS cassandro_test WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': 1 } KS...
7fde635de08efc3099b1155b63e1d485758d784d
test/helper.rb
test/helper.rb
Ruby
<|file_sep|>test/d8-pantheon/.yo-rc.json.diff original: "dockerCms": "Drupal8", updated: "dockerCms": "Drupal", <|file_sep|>original/test/d8-pantheon/.yo-rc.json { "generator-web-starter": { "promptValues": { "name": "d8-pantheon", "platform": "Docker", "dockerCms": "Drupal8", ...
{ "generator-web-starter": { "promptValues": { "name": "d8-pantheon", "platform": "Docker", "dockerCms": "Drupal", "dockerSearch": "None", "dockerCache": "None", "documentRoot": "web", "useGesso": true, "useCapistrano": false, "shouldInstallDrupal": true, ...
<|file_sep|>test/d8-pantheon/.yo-rc.json.diff original: "dockerCms": "Drupal8", updated: "dockerCms": "Drupal", <|file_sep|>original/test/d8-pantheon/.yo-rc.json { "generator-web-starter": { "promptValues": { "name": "d8-pantheon", "platform": "Docker", "dockerCms": "Drupal8", ...
6e7a3c4ce152ce53faf8ea2d28108546bdf47037
test/d8-pantheon/.yo-rc.json
test/d8-pantheon/.yo-rc.json
JSON
<|file_sep|>roles/common/tasks/main.yml.diff original: updated: - imagemagick <|file_sep|>original/roles/common/tasks/main.yml - less - make - nano - nfs-common - nmap - openssl - p7zip - pv - pwgen - rsync - smbclient - software-properties-common - sshfs - s...
- iotop - less - make - nano - nfs-common - nmap - openssl - p7zip - pv - pwgen - rar - rsync - smbclient - software-properties-common - sshfs - sshpass - tar - tmux - trash-cli - unzip - vim
<|file_sep|>roles/common/tasks/main.yml.diff original: updated: - imagemagick <|file_sep|>original/roles/common/tasks/main.yml - less - make - nano - nfs-common - nmap - openssl - p7zip - pv - pwgen - rsync - smbclient - software-properties-common - sshfs - s...
6cf86632bc1260f48de137854ae75008e67819d4
roles/common/tasks/main.yml
roles/common/tasks/main.yml
YAML
<|file_sep|>original/README.md hack-n-slash ============ <|file_sep|>current/README.md hack-n-slash ============ <|file_sep|>updated/README.md
Hack-n-Slash! ============= A totally fictitious "hacker-vs-hacker" game that's used to demonstrate some of the updates to the collections API in Java 8. It's not actually a functioning game... but it serves as a great conceptual starting point to explore the Java 8 updates! Most of the code of interest is in the tes...
<|file_sep|>original/README.md hack-n-slash ============ <|file_sep|>current/README.md hack-n-slash ============ <|file_sep|>updated/README.md Hack-n-Slash! ============= A totally fictitious "hacker-vs-hacker" game that's used to demonstrate some of the updates to the collections API in Java 8. It's not actually a fu...
5eb02ffb8629c6d975d1a774726a617248b121ed
README.md
README.md
Markdown
<|file_sep|>original/devtools/ci/set_doc_version.py import os import shutil import msmbuilder.version if msmbuilder.version.release: docversion = msmbuilder.version.short_version else: docversion = 'latest' os.mkdir("doc/_deploy") shutil.copytree("doc/_build", "doc/_deploy/{docversion}" .form...
import os import shutil import msmbuilder.version if msmbuilder.version.release: docversion = msmbuilder.version.short_version else: docversion = 'development' os.mkdir("doc/_deploy") shutil.copytree("doc/_build", "doc/_deploy/{docversion}" .format(docversion=docversion))
<|file_sep|>original/devtools/ci/set_doc_version.py import os import shutil import msmbuilder.version if msmbuilder.version.release: docversion = msmbuilder.version.short_version else: docversion = 'latest' os.mkdir("doc/_deploy") shutil.copytree("doc/_build", "doc/_deploy/{docversion}" .form...
9ba1a13de76881c9951e8ca330d6f99b8a279446
devtools/ci/set_doc_version.py
devtools/ci/set_doc_version.py
Python
<|file_sep|>original/README.md # Crypto portal A portal for cryptography (for now, in Slovene) for the purposes of a summer school in cryptography and beyond. Written in python-flask, allowing both local test runs and Apache integration through WSGI. To run locally, rename `auth.py.template` to `auth.py` (actual logi...
# Crypto portal A portal for cryptography (for now, in Slovene) for the purposes of a summer school in cryptography and beyond. Written in python-flask, allowing both local test runs and Apache integration through WSGI. To run locally, rename `auth.py.template` to `auth.py` (actual login data is not needed for the ma...
<|file_sep|>original/README.md # Crypto portal A portal for cryptography (for now, in Slovene) for the purposes of a summer school in cryptography and beyond. Written in python-flask, allowing both local test runs and Apache integration through WSGI. To run locally, rename `auth.py.template` to `auth.py` (actual logi...
d430d80dcb115a900ef893d62aa1dace112c39ff
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml language: python python: - "2.7" - 3.4.4 - "3.5" - "3.6" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.4 install: - pip install -q Django==$DJANGO - pip install -q -r requirements.txt - pip install -q -r requirements-testing.txt before_sc...
language: python python: - "2.7" - 3.4.4 - "3.5" - "3.6" env: - DJANGO=1.8.18 - DJANGO=1.9.13 - DJANGO=1.10.7 - DJANGO=1.11 install: - pip install -q Django==$DJANGO - pip install -q -r requirements.txt - pip install -q -r requirements-testing.txt before_script: - "pe...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - 3.4.4 - "3.5" - "3.6" env: - DJANGO=1.8.17 - DJANGO=1.9.12 - DJANGO=1.10.4 install: - pip install -q Django==$DJANGO - pip install -q -r requirements.txt - pip install -q -r requirements-testing.txt before_sc...
93934fea46ca646c3a7440bdb3e5d8c7652f7d5a
.travis.yml
.travis.yml
YAML
<|file_sep|>project.clj.diff original: [http-kit "2.1.16"] updated: [http-kit "2.1.19"] <|file_sep|>original/project.clj :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ...
:license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] [ring "1.3.2"] [compojure "1.3.1"] [http-kit "2.1.19"] [org.clojure/java.jdbc "0.3.6"] ...
<|file_sep|>project.clj.diff original: [http-kit "2.1.16"] updated: [http-kit "2.1.19"] <|file_sep|>original/project.clj :license {:name "Eclipse Public License" :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.6.0"] ...
3109228d6990ec0917d9d2758f85a69317f33029
project.clj
project.clj
Clojure
<|file_sep|>original/OrientatedItem.php <|file_sep|>current/OrientatedItem.php <|file_sep|>updated/OrientatedItem.php
<?php /** * Box packing (3D bin packing, knapsack problem) * @package BoxPacker * @author Doug Wright */ namespace DVDoug\BoxPacker; /** * An item to be packed * @author Doug Wright * @package BoxPacker */ class OrientatedItem { /** * @var Item */ protected $item;
<|file_sep|>original/OrientatedItem.php <|file_sep|>current/OrientatedItem.php <|file_sep|>updated/OrientatedItem.php <?php /** * Box packing (3D bin packing, knapsack problem) * @package BoxPacker * @author Doug Wright */ namespace DVDoug\BoxPacker; /** * An item to be packed * @author Doug Wright * @package...
39be4a43cd61c00f780fbebab3d4a0ab5762c9f3
OrientatedItem.php
OrientatedItem.php
PHP
<|file_sep|>original/app/assets/stylesheets/application.scss /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/st...
* You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any styles * defined in the other CSS/SCSS files in this directory. It is generally better to create a new * file per style scope. * *...
<|file_sep|>original/app/assets/stylesheets/application.scss /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/st...
dd926e310adcb0507e59bfab7a149177a084b1ba
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
SCSS
<|file_sep|>rman_config/config/rman_properties_volume.json.diff original: "help": "" updated: "help": "If set to 0, disables mipmapping. If greater than 0, values less than 1 bias towards finer levels of the mipmap and values larger than one bias towards coarser levels." <|file_sep|>rman_config/...
"panel": "VOLUME_PT_renderman_openvdb_attributes", "name": "openvdb_densitymult", "label": "Density Multiplier", "type": "float", "editable": true, "default": 1.0, "page": "", "help": "Scales the values in the density grid o...
<|file_sep|>rman_config/config/rman_properties_volume.json.diff original: "help": "" updated: "help": "If set to 0, disables mipmapping. If greater than 0, values less than 1 bias towards finer levels of the mipmap and values larger than one bias towards coarser levels." <|file_sep|>rman_config/...
da71269eb0b4133896e32890744550f46cac173b
rman_config/config/rman_properties_volume.json
rman_config/config/rman_properties_volume.json
JSON
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.80 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests csss...
# # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.82 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests cssselect==1.0.3 docutils==0.13.1 ...
<|file_sep|>original/requirements.txt # # This file is autogenerated by pip-compile # To update, run: # # pip-compile --output-file requirements.txt requirements.in # boto3==1.7.80 botocore==1.5.92 # via boto3, s3transfer certifi==2017.7.27.1 # via requests chardet==3.0.4 # via requests csss...
f680ef3fb6c9ac05dbac89d5daf0b9b1e9d797f3
requirements.txt
requirements.txt
Text
<|file_sep|>AntlrGrammarEditor/Grammar.cs.diff original: using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Collections.Generic; using System.IO; updated: using System.Collections.Generic; <|file_sep|>AntlrGrammarEditor/Grammar.cs.diff original: updated: public enum CaseInsensitiveType { ...
public string Name { get; set; } public string Root { get; set; } public string FileExtension { get; set; } = "txt"; public HashSet<Runtime> Runtimes = new HashSet<Runtime>(); public bool SeparatedLexerAndParser { get; set; } public CaseInsensitiveType CaseInsensitiv...
<|file_sep|>AntlrGrammarEditor/Grammar.cs.diff original: using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Collections.Generic; using System.IO; updated: using System.Collections.Generic; <|file_sep|>AntlrGrammarEditor/Grammar.cs.diff original: updated: public enum CaseInsensitiveType { ...
dee3636469cb2c74b534a855ab798f6d20b7b0c7
AntlrGrammarEditor/Grammar.cs
AntlrGrammarEditor/Grammar.cs
C#
<|file_sep|>original/neo4apis.gemspec s.authors = "Brian Underwood" s.email = 'public@brian-underwood.codes' s.homepage = "https://github.com/neo4jrb/neo4apis/" s.summary = "An API to import web API data to neo4j" s.license = 'MIT' s.description = <<-EOF A core library for importing data from APIs into ...
s.authors = "Brian Underwood" s.email = 'public@brian-underwood.codes' s.homepage = "https://github.com/neo4jrb/neo4apis/" s.summary = "An API to import web API data to neo4j" s.license = 'MIT' s.description = <<-EOF A core library for importing data from APIs into neo4j. Designed to be used with an ad...
<|file_sep|>original/neo4apis.gemspec s.authors = "Brian Underwood" s.email = 'public@brian-underwood.codes' s.homepage = "https://github.com/neo4jrb/neo4apis/" s.summary = "An API to import web API data to neo4j" s.license = 'MIT' s.description = <<-EOF A core library for importing data from APIs into ...
f52ecba5c0aa56cba2347e90827ce78812a543b0
neo4apis.gemspec
neo4apis.gemspec
Ruby
<|file_sep|>original/ReactiveQueryKit.podspec Pod::Spec.new do |spec| spec.name = 'ReactiveQueryKit' spec.version = '0.1.0' spec.summary = 'ReactiveCocoa extensions for QueryKit.' spec.homepage = 'http://querykit.org/' spec.license = { :type => 'BSD', :file => 'LICENSE' } spec.author = { 'Kyle Fuller' => 'i...
Pod::Spec.new do |spec| spec.name = 'ReactiveQueryKit' spec.version = '0.1.0' spec.summary = 'ReactiveCocoa extensions for QueryKit.' spec.homepage = 'http://querykit.org/' spec.license = { :type => 'BSD', :file => 'LICENSE' } spec.author = { 'Kyle Fuller' => 'inbox@kylefuller.co.uk' } spec.social_media_u...
<|file_sep|>original/ReactiveQueryKit.podspec Pod::Spec.new do |spec| spec.name = 'ReactiveQueryKit' spec.version = '0.1.0' spec.summary = 'ReactiveCocoa extensions for QueryKit.' spec.homepage = 'http://querykit.org/' spec.license = { :type => 'BSD', :file => 'LICENSE' } spec.author = { 'Kyle Fuller' => 'i...
f67798b5ddef127d9be89b7f3a4053d8457d80dc
ReactiveQueryKit.podspec
ReactiveQueryKit.podspec
Ruby
<|file_sep|>original/scripts/db_backup.rb klnblkblkbklblkcdStandup.script :node do def run exec "s3cmd mb #{bucket}" update_cron '@hourly', <<-CMD, :section => name #{scripts.webapp.db.dump_command scripts.webapp.db_name} | gzip > dump.gz s3cmd put dump.gz #{path_prefix}/`date -u +%Y-%m-%d/%H...
Standup.script :node do def run exec "s3cmd mb #{bucket}" update_cron '@hourly', <<-CMD, :section => name #{scripts.webapp.db.dump_command scripts.webapp.db_name} | gzip > dump.gz s3cmd put dump.gz #{path_prefix}/`date -u +%Y-%m-%d/%H-%M-%S`.gz rm dump.gz CMD end protected ...
<|file_sep|>original/scripts/db_backup.rb klnblkblkbklblkcdStandup.script :node do def run exec "s3cmd mb #{bucket}" update_cron '@hourly', <<-CMD, :section => name #{scripts.webapp.db.dump_command scripts.webapp.db_name} | gzip > dump.gz s3cmd put dump.gz #{path_prefix}/`date -u +%Y-%m-%d/%H...
c3434884c3c6752084e8b7686ccb128e2832b6fb
scripts/db_backup.rb
scripts/db_backup.rb
Ruby
<|file_sep|>original/config/packages/prod/monolog.yaml monolog: handlers: main: type: fingers_crossed action_level: error handler: grouped excluded_404s: # regex: exclude all 404 errors from the logs - ^/ grouped: ...
monolog: handlers: main: type: fingers_crossed action_level: error handler: grouped excluded_http_codes: [401, 403, 404, 405] grouped: type: group members: [nested, buffered] nested: type: stream ...
<|file_sep|>original/config/packages/prod/monolog.yaml monolog: handlers: main: type: fingers_crossed action_level: error handler: grouped excluded_404s: # regex: exclude all 404 errors from the logs - ^/ grouped: ...
ba16cc30873440c66e1f222b13a8eb4a85d2870c
config/packages/prod/monolog.yaml
config/packages/prod/monolog.yaml
YAML
<|file_sep|>original/tests/xmls/README.md <|file_sep|>current/tests/xmls/README.md <|file_sep|>updated/tests/xmls/README.md
# LoRa Test XMLs Each subdirectory is the hex encoded DevAddr of a device transmitting some messages and contains: - `key.hex` Hex encoded AppSKey - One or more `payload_<n>.xml`/`payload_<n>.txt` pairs. - Each XML file contains the contents of the POST body actility/thingpark makes to the defined HTTP POST rece...
<|file_sep|>original/tests/xmls/README.md <|file_sep|>current/tests/xmls/README.md <|file_sep|>updated/tests/xmls/README.md # LoRa Test XMLs Each subdirectory is the hex encoded DevAddr of a device transmitting some messages and contains: - `key.hex` Hex encoded AppSKey - One or more `payload_<n>.xml`/`payload_<n...
6090ed16e7ee9ac22fb40f61680993e7ea6a5e57
tests/xmls/README.md
tests/xmls/README.md
Markdown
<|file_sep|>lib/pad_utils/pad_text.rb.diff original: # For example, 'app_name' will be converted to 'AppName' updated: # For example, 'app_name' will be converted to 'AppName' <|file_sep|>lib/pad_utils/pad_text.rb.diff original: updated: <|file_sep|>lib/pad_utils/pad_text.rb.diff original: def self.replace(f...
end # Replace text within a file. # old_text can be a regex or a string def self.replace_in_file(file, old_text, new_text) text_update = File.read(file) text_update = text_update.gsub(old_text, new_text) File.open(file, "w") { |f| f.write(text_update) } rescue Exception => e PadUtils.log("Er...
<|file_sep|>lib/pad_utils/pad_text.rb.diff original: # For example, 'app_name' will be converted to 'AppName' updated: # For example, 'app_name' will be converted to 'AppName' <|file_sep|>lib/pad_utils/pad_text.rb.diff original: updated: <|file_sep|>lib/pad_utils/pad_text.rb.diff original: def self.replace(f...
0d466633c6e2251630a3275c934fd3ecfaec1891
lib/pad_utils/pad_text.rb
lib/pad_utils/pad_text.rb
Ruby
<|file_sep|>original/phpunit.xml.dist backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="false" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="Test...
backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="false" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="Tests/bootstrap.php" > <php> <...
<|file_sep|>original/phpunit.xml.dist backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="false" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" bootstrap="Test...
371b3576f30dcf08766091dbee3b1d543b3f5796
phpunit.xml.dist
phpunit.xml.dist
unknown
<|file_sep|>original/.travis.yml matrix: include: - go: 1.6.x - go: 1.7.x - go: 1.8.x - go: 1.9.x before_cache: - rm -rf $GOPATH/src/github.com/gsuitedevs/go-samples/* - rm -rf $GOPATH/pkg/**/github.com/gsuitedevs/go-samples cache: directories: - $GOPATH/src - $GOPATH/pkg install: # Install ...
include: - go: 1.6.x - go: 1.7.x - go: 1.8.x - go: 1.9.x before_cache: - rm -rf $GOPATH/src/github.com/gsuitedevs/go-samples/* - rm -rf $GOPATH/pkg/**/github.com/gsuitedevs/go-samples cache: directories: - $GOPATH/src - $GOPATH/pkg install: # Install all external dependencies, ensuring they ...
<|file_sep|>original/.travis.yml matrix: include: - go: 1.6.x - go: 1.7.x - go: 1.8.x - go: 1.9.x before_cache: - rm -rf $GOPATH/src/github.com/gsuitedevs/go-samples/* - rm -rf $GOPATH/pkg/**/github.com/gsuitedevs/go-samples cache: directories: - $GOPATH/src - $GOPATH/pkg install: # Install ...
c9e218e30d12269f825b0a1cdeda00c2c1ae272d
.travis.yml
.travis.yml
YAML
<|file_sep|>original/deploy/ansible/roles/configure/tasks/main.yml - name: add loopback references to our domain in /etc/hosts lineinfile: dest=/etc/hosts state=present line="127.0.0.1 {{hostname}} {{app_fqdn}}" - name: ensure github.com is a known host lineinfile: dest=/etc/ssh/ssh_known_hosts ...
state=present create=yes regexp="^github\\.com" line="{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" - name: ensure ssh agent socket environment variable persists when sudoing lineinfile: dest=/etc/sudoers state=present insertafter="^Defaults" line='Defaults\tenv_keep += "SSH_...
<|file_sep|>original/deploy/ansible/roles/configure/tasks/main.yml - name: add loopback references to our domain in /etc/hosts lineinfile: dest=/etc/hosts state=present line="127.0.0.1 {{hostname}} {{app_fqdn}}" - name: ensure github.com is a known host lineinfile: dest=/etc/ssh/ssh_known_hosts ...
1801842536ea9732de855cc6ca0e1af50562c69a
deploy/ansible/roles/configure/tasks/main.yml
deploy/ansible/roles/configure/tasks/main.yml
YAML
<|file_sep|>original/include/llvm/Transforms/Utils/IntegerDivision.h // This file contains an implementation of 32bit integer division for targets // that don't have native support. It's largely derived from compiler-rt's // implementation of __udivsi3, but hand-tuned for targets that prefer less // control flow. // //...
#ifndef TRANSFORMS_UTILS_INTEGERDIVISION_H #define TRANSFORMS_UTILS_INTEGERDIVISION_H namespace llvm { class BinaryOperator; } namespace llvm { /// Generate code to divide two integers, replacing Div with the generated /// code. This currently generates code similarly to compiler-rt's /// implementations, b...
<|file_sep|>original/include/llvm/Transforms/Utils/IntegerDivision.h // This file contains an implementation of 32bit integer division for targets // that don't have native support. It's largely derived from compiler-rt's // implementation of __udivsi3, but hand-tuned for targets that prefer less // control flow. // //...
16514de50a7936950845a3851cae8ce571e0c2c2
include/llvm/Transforms/Utils/IntegerDivision.h
include/llvm/Transforms/Utils/IntegerDivision.h
C
<|file_sep|>original/scripts/coverage.sh set -o pipefail echo "" > coverage.txt failed=false for d in $(go list ./pkg/... ./web/...); do go test \ -coverprofile=profile.out \ -covermode=count \ -coverpkg=./pkg/...,./web/... \ "$d" \ 2>&1 | grep -v 'warning: no packages being tested depend on github.com/coz...
set -o pipefail echo "" > coverage.txt failed=false for d in $(go list ./pkg/... ./web/...); do go test \ -coverprofile=profile.out \ -covermode=count \ -coverpkg=./pkg/...,./web/... \ -timeout 2m \ "$d" \ 2>&1 | grep -v 'warning: no packages being tested depend on github.com/cozy/cozy-stack' res=$? if...
<|file_sep|>original/scripts/coverage.sh set -o pipefail echo "" > coverage.txt failed=false for d in $(go list ./pkg/... ./web/...); do go test \ -coverprofile=profile.out \ -covermode=count \ -coverpkg=./pkg/...,./web/... \ "$d" \ 2>&1 | grep -v 'warning: no packages being tested depend on github.com/coz...
4b8d19a908e8d79031e5235c0098c8b3979c3c33
scripts/coverage.sh
scripts/coverage.sh
Shell
<|file_sep|>src/Exscript/Interpreter/stdlib/IPv4/util.py.diff original: return struct.unpack('L', socket.inet_aton(ip))[0] updated: return struct.unpack('!L', socket.inet_aton(ip))[0] <|file_sep|>original/src/Exscript/Interpreter/stdlib/IPv4/util.py number |= number >> 16 number += 1 return math.sqr...
number |= number >> 16 number += 1 return math.sqrt(number) def ip2int(ip): if ip == '255.255.255.255': return 0xFFFFFFFFl return struct.unpack('!L', socket.inet_aton(ip))[0] def int2ip(number): return socket.inet_ntoa(struct.pack('!L', number)) def pfxlen2mask(pfxlen): return 0xF...
<|file_sep|>src/Exscript/Interpreter/stdlib/IPv4/util.py.diff original: return struct.unpack('L', socket.inet_aton(ip))[0] updated: return struct.unpack('!L', socket.inet_aton(ip))[0] <|file_sep|>original/src/Exscript/Interpreter/stdlib/IPv4/util.py number |= number >> 16 number += 1 return math.sqr...
760af101c3b47fa4cf4aaeba5bc67aa94d2ba060
src/Exscript/Interpreter/stdlib/IPv4/util.py
src/Exscript/Interpreter/stdlib/IPv4/util.py
Python
<|file_sep|>original/lib/watcher.js var path = require('path'); var logger = require('./logger'); module.exports = watcher; var dirsToIgnore = /^(?:(?:node_modules|AppData)$|\.)/; function watcher(paths, extensions, callback) { paths.forEach(function(path) { walk(path, true); }); function watch(path_, is...
var path = require('path'); var logger = require('./logger'); module.exports = watcher; var dirsToIgnore = /^(?:(?:node_modules|AppData)$|\.)/; function watcher(paths, extensions, callback) { paths.forEach(function(path) { watch(path, true); }); function watch(path_, isParentDir) { fs.stat(path_, fun...
<|file_sep|>original/lib/watcher.js var path = require('path'); var logger = require('./logger'); module.exports = watcher; var dirsToIgnore = /^(?:(?:node_modules|AppData)$|\.)/; function watcher(paths, extensions, callback) { paths.forEach(function(path) { walk(path, true); }); function watch(path_, is...
f2e72f33a948b34f1036c7a13a10555b03e3c086
lib/watcher.js
lib/watcher.js
JavaScript
<|file_sep|>README.md.diff original: Cross platform desktop application for authentication devices with IIT Madras campus network. updated: Cross platform desktop application for authenticating Windows/Linux/Mac devices with IIT Madras campus network. Built with [electron](http://electron.atom.io). #### Note: app work...
# IIT Madras Network Auth Cross platform desktop application for authenticating Windows/Linux/Mac devices with IIT Madras campus network. Built with [electron](http://electron.atom.io). #### Note: app works only inside IIT Madras campus network. ![image](preview.png) ## Installation Download the latest release fo...
<|file_sep|>README.md.diff original: Cross platform desktop application for authentication devices with IIT Madras campus network. updated: Cross platform desktop application for authenticating Windows/Linux/Mac devices with IIT Madras campus network. Built with [electron](http://electron.atom.io). #### Note: app work...
90b30fb6a495132e18cea8868f039a4b377b42e7
README.md
README.md
Markdown
<|file_sep|>spec/deployment/nginx_spec.rb.diff original: updated: CONFIG_PATH = "/var/vcap/jobs/cf-redis-broker/config/nginx.conf" def service Prof::MarketplaceService.new( name: bosh_manifest.property('redis.broker.service_name'), plan: 'shared-vm' ) end <|file_sep|>spec/depl...
end end before(:all) do @service_instance = service_broker.provision_instance(service.name, service.plan) @binding = service_broker.bind_instance(@service_instance) end after(:all) do service_broker.unbind_instance(@binding) service_broker.deprovision_instance(@service_in...
<|file_sep|>spec/deployment/nginx_spec.rb.diff original: updated: CONFIG_PATH = "/var/vcap/jobs/cf-redis-broker/config/nginx.conf" def service Prof::MarketplaceService.new( name: bosh_manifest.property('redis.broker.service_name'), plan: 'shared-vm' ) end <|file_sep|>spec/depl...
5b7cde36d01a4fa4ebabf6effef881df0d65e56d
spec/deployment/nginx_spec.rb
spec/deployment/nginx_spec.rb
Ruby
<|file_sep|>original/web/src/redux/modules/clubs.js ...state, loading: false, loaded: false, data: null, error: action.error } default: return state } } export function isLoaded(globalState) { return globalState.clubs && globalState.clubs.loaded } export function load() { ...
...state, loading: false, loaded: false, data: null, error: action.error } default: return state } } export function isLoaded(globalState) { return globalState.clubs && globalState.clubs.loaded } export function load() { return { types: [LOAD, LOAD_SUCCESS, LOAD_FAIL]...
<|file_sep|>original/web/src/redux/modules/clubs.js ...state, loading: false, loaded: false, data: null, error: action.error } default: return state } } export function isLoaded(globalState) { return globalState.clubs && globalState.clubs.loaded } export function load() { ...
de8c845d3eaf3a7722278b0843cc83d470f17715
web/src/redux/modules/clubs.js
web/src/redux/modules/clubs.js
JavaScript
<|file_sep|>original/conf/buster-coverage.js module.exports.unit = { environment: 'node', rootPath: process.cwd(), sources: [ 'lib/**/*.js' ], tests: [ 'test/**/*.js' ], extensions: [ require('buster-istanbul') ], 'buster-istanbul': { outputDirectory: '.bob/report/coverage/buster-istan...
module.exports.unit = { environment: 'node', rootPath: process.cwd(), sources: [ 'lib/**/*.js' ], tests: [ 'test/**/*.js' ], extensions: [ require('buster-istanbul') ], 'buster-istanbul': { outputDirectory: '.bob/report/coverage/buster-istanbul/', formats: ['text', 'lcov'] } };
<|file_sep|>original/conf/buster-coverage.js module.exports.unit = { environment: 'node', rootPath: process.cwd(), sources: [ 'lib/**/*.js' ], tests: [ 'test/**/*.js' ], extensions: [ require('buster-istanbul') ], 'buster-istanbul': { outputDirectory: '.bob/report/coverage/buster-istan...
ecdb97ae3553772a88afd1cb8d7e9edd3f122a68
conf/buster-coverage.js
conf/buster-coverage.js
JavaScript
<|file_sep|>hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java.diff original: updated: import com.aesthetikx.hubski.adapter.BaseTreeListItem; import com.aesthetikx.hubski.adapter.TreeListItem; <|file_sep|>hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java.diff original: public cl...
return age; } public int getScore() { return score; } public List<Comment> getChildren() { return children; } public void print(int depth) { String tab = ""; for (int i = 0; i < depth; ++i) tab += "\t"; System.out.println(tab + getUsername()); ...
<|file_sep|>hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java.diff original: updated: import com.aesthetikx.hubski.adapter.BaseTreeListItem; import com.aesthetikx.hubski.adapter.TreeListItem; <|file_sep|>hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java.diff original: public cl...
c92bd58f628e8cfba1d8c58e20162b46cbcc6465
hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java
hubski-android/src/main/java/com/aesthetikx/hubski/model/Comment.java
Java
<|file_sep|>original/.travis.yml install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science - sudo apt-get install chktex latexmk script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **/*.tex 2>/dev/...
install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science texlive-bibtex-extra - sudo apt-get install chktex latexmk script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **/*.tex 2>/dev/null | tee l...
<|file_sep|>original/.travis.yml install: - sudo apt-get update - sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science - sudo apt-get install chktex latexmk script: - latexmk masterthesis - latexmk presentation #- chktex -q -n 6 *.tex **/*.tex 2>/dev/...
a906dd11fa1b037bd48af6807470d2410266c88f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/readme.md Basic account number validation based on checksum for specific countries --------- Use make file for run test. `make tests` Usage ----- Install with [composer](https://getcomposer.org/): ```bash composer require heureka/bankAccountValidator ``` ```php <?php require_once __DIR__ . '/...
[![Build Status](https://travis-ci.org/heureka/bank-account-validator.svg?branch=master)](https://travis-ci.org/heureka/bank-account-validator) Basic account number validation based on checksum for specific countries --------- Use make file for run test. `make tests` Usage ----- Install with [composer](https://getc...
<|file_sep|>original/readme.md Basic account number validation based on checksum for specific countries --------- Use make file for run test. `make tests` Usage ----- Install with [composer](https://getcomposer.org/): ```bash composer require heureka/bankAccountValidator ``` ```php <?php require_once __DIR__ . '/...
83ba12bc5df45f21d449f23bd3eee1cd71c84fa4
readme.md
readme.md
Markdown
<|file_sep|>original/ord_hackday/search/views.py def search(request): c = {} if 'query' in request.GET: query = request.GET['query'] if len(query) > 0: portals = Portal.objects.all() c['portals'] = portals c['results'] = [] for portal in portals...
c = {} if 'query' in request.GET: query = request.GET['query'] if len(query) > 0: portals = Portal.objects.all() c['portals'] = portals c['results'] = [] for portal in portals: url = portal.url + '/api/3/action/package_search?q='...
<|file_sep|>original/ord_hackday/search/views.py def search(request): c = {} if 'query' in request.GET: query = request.GET['query'] if len(query) > 0: portals = Portal.objects.all() c['portals'] = portals c['results'] = [] for portal in portals...
14a7ce543192dc5104af370a0b3d08301241ad8b
ord_hackday/search/views.py
ord_hackday/search/views.py
Python
<|file_sep|>original/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java <|file_sep|>current/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java <|file_sep|>updated/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.parallax.client.cloudsession; /** * Maintain application version number here * * @author Jim Ewald * */ public clas...
<|file_sep|>original/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java <|file_sep|>current/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java <|file_sep|>updated/src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java /* * To change this license header, choo...
75ea148f3127723a1a102216ece3e2af4b8d09fc
src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java
src/main/java/com/parallax/client/cloudsession/CloudSessionVersion.java
Java
<|file_sep|>original/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb <|file_sep|>current/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb <|file_sep|>updated/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb
SUMMARY=" OpenCL C language implementation" DESCRIPTION="\ libclc is an open implementation of the OpenCL C programming language, \ as specified by the OpenCL 1.1 Specification. \ " HOMEPAGE = "http://libclc.llvm.org" DEBIAN_GIT_BRANCH = "jessie-backports-master" inherit debian-package PV="0.2.0+git20150813" LICENS...
<|file_sep|>original/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb <|file_sep|>current/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb <|file_sep|>updated/meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb SUMMARY=" OpenCL C language implementation" DESCRIPTION="\ libclc is an op...
be1e07c17667b1ecd4011509bf048d39a0745ce4
meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb
meta-jessie-backports/recipes-debian/libclc/libclc_debian.bb
BitBake
<|file_sep|>original/test/test_device.py def test_set_device_value(): rb_pv = 'SR01A-PC-SQUAD-01:I' sp_pv = 'SR01A-PC-SQUAD-01:SETI' device1 = create_device(rb_pv, sp_pv) device1.put_value(40) device1._cs.put.assert_called_with(sp_pv, 40) device2 = create_device(rb_pv, None) with pytest.ra...
rb_pv = 'SR01A-PC-SQUAD-01:I' sp_pv = 'SR01A-PC-SQUAD-01:SETI' device1 = create_device(rb_pv, sp_pv) device1.put_value(40) device1._cs.put.assert_called_with(sp_pv, 40) device2 = create_device(rb_pv, None) with pytest.raises(PvException): device2.put_value(40) def test_get_device...
<|file_sep|>original/test/test_device.py def test_set_device_value(): rb_pv = 'SR01A-PC-SQUAD-01:I' sp_pv = 'SR01A-PC-SQUAD-01:SETI' device1 = create_device(rb_pv, sp_pv) device1.put_value(40) device1._cs.put.assert_called_with(sp_pv, 40) device2 = create_device(rb_pv, None) with pytest.ra...
724a55ded262d4d0986e5a5a3c4c04e145558bea
test/test_device.py
test/test_device.py
Python
<|file_sep|>app/views/comfy/admin/cms/pages/_form_blocks.html.haml.diff original: .tab-content updated: %div <|file_sep|>original/app/views/comfy/admin/cms/pages/_form_blocks.html.haml .no-tags = link_to cms_object.layout.label, edit_comfy_admin_cms_site_layout_path(@site, cms_object.layout) = t('.no_...
- if tags.empty? .no-tags = link_to cms_object.layout.label, edit_comfy_admin_cms_site_layout_path(@site, cms_object.layout) = t('.no_tags').html_safe - else = fields_for :blocks, nil, :builder => Cms::FormBuilder, :layout => :horizontal do |cms_blocks| - if namespace.size > 1 - namespace.ea...
<|file_sep|>app/views/comfy/admin/cms/pages/_form_blocks.html.haml.diff original: .tab-content updated: %div <|file_sep|>original/app/views/comfy/admin/cms/pages/_form_blocks.html.haml .no-tags = link_to cms_object.layout.label, edit_comfy_admin_cms_site_layout_path(@site, cms_object.layout) = t('.no_...
ee1f3da4709a6727b97aacf3ae9aa5b711ebe6a5
app/views/comfy/admin/cms/pages/_form_blocks.html.haml
app/views/comfy/admin/cms/pages/_form_blocks.html.haml
Haml
<|file_sep|>original/cmd/lib/spree_cmd/templates/extension/travis.yml env: - DB=postgres - DB=mysql gemfile: - gemfiles/spree_3_1.gemfile - gemfiles/spree_3_2.gemfile - gemfiles/spree_3_3.gemfile - gemfiles/spree_3_4.gemfile - gemfiles/spree_master.gemfile script: - bundle exec rake test_app - bundl...
- DB=postgres - DB=mysql gemfile: - gemfiles/spree_3_1.gemfile - gemfiles/spree_3_2.gemfile - gemfiles/spree_3_3.gemfile - gemfiles/spree_3_4.gemfile - gemfiles/spree_master.gemfile script: - bundle exec rake test_app - bundle exec rake spec rvm: - 2.4.2 - 2.3.1 - 2.2.7 before_install: - m...
<|file_sep|>original/cmd/lib/spree_cmd/templates/extension/travis.yml env: - DB=postgres - DB=mysql gemfile: - gemfiles/spree_3_1.gemfile - gemfiles/spree_3_2.gemfile - gemfiles/spree_3_3.gemfile - gemfiles/spree_3_4.gemfile - gemfiles/spree_master.gemfile script: - bundle exec rake test_app - bundl...
2215634f03fe12860d4028c731b8ec974d1c94f8
cmd/lib/spree_cmd/templates/extension/travis.yml
cmd/lib/spree_cmd/templates/extension/travis.yml
YAML
<|file_sep|>original/tensorflow/core/kernels/cwise_op_sinh.cc distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================...
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ ...
<|file_sep|>original/tensorflow/core/kernels/cwise_op_sinh.cc distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ====================...
468747efc2f1d6acfd26e8e8ef4d09d9f667b544
tensorflow/core/kernels/cwise_op_sinh.cc
tensorflow/core/kernels/cwise_op_sinh.cc
C++
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sh -x ./install_depends/opensips.sh script: sh -x ./test_opensips.sh env: - MM_TYPE=opensips - MM_TYPE=b2bua <|file_sep|>current/.travis.yml language: python python: - "2.7" before_install: - sh -x ./install_depends/open...
language: python python: - "2.7" before_install: - sh -x ./install_depends/opensips.sh script: sh -x ./test_opensips.sh env: - MM_TYPE=opensips RTPPC_TYPE=udp - MM_TYPE=opensips RTPPC_TYPE=unix - MM_TYPE=b2bua RTPPC_TYPE=udp - MM_TYPE=b2bua RTPPC_TYPE=unix
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - sh -x ./install_depends/opensips.sh script: sh -x ./test_opensips.sh env: - MM_TYPE=opensips - MM_TYPE=b2bua <|file_sep|>current/.travis.yml language: python python: - "2.7" before_install: - sh -x ./install_depends/open...
9df5f48e5f0a8dc7445203db0db97429e8a02635
.travis.yml
.travis.yml
YAML
<|file_sep|>original/PrettyJson.py import sublime import sublime_plugin import simplejson as json from simplejson import OrderedDict import decimal s = sublime.load_settings("Pretty JSON.sublime-settings") class PrettyjsonCommand(sublime_plugin.TextCommand): """ Pretty Print JSON """ def run(self, edit):...
import sublime import sublime_plugin import PrettyJSON.simplejson as json from PrettyJSON.simplejson import OrderedDict import decimal s = sublime.load_settings("Pretty JSON.sublime-settings") class PrettyjsonCommand(sublime_plugin.TextCommand): """ Pretty Print JSON """ def run(self, edit): for ...
<|file_sep|>original/PrettyJson.py import sublime import sublime_plugin import simplejson as json from simplejson import OrderedDict import decimal s = sublime.load_settings("Pretty JSON.sublime-settings") class PrettyjsonCommand(sublime_plugin.TextCommand): """ Pretty Print JSON """ def run(self, edit):...
17cad98d95eeb1c5ae2748fbad0621d0ca460e8b
PrettyJson.py
PrettyJson.py
Python
<|file_sep|>original/src/app/etc/modules/Chippin_ChippinPayment.xml <?xml version="1.0"?> <config> <modules> <Chippin_ChippinPayment> <active>true</active> <codePool>community</codePool> <depends> <Mage_Core /> <Mage_Payment /> </depends> <versio...
<?xml version="1.0"?> <config> <modules> <Chippin_ChippinPayment> <active>true</active> <codePool>community</codePool> <depends> <Mage_Core /> <Mage_Payment /> </depends> <version>0.1.0</version> </Chippin_Ch...
<|file_sep|>original/src/app/etc/modules/Chippin_ChippinPayment.xml <?xml version="1.0"?> <config> <modules> <Chippin_ChippinPayment> <active>true</active> <codePool>community</codePool> <depends> <Mage_Core /> <Mage_Payment /> </depends> <versio...
5647008a175b30bd093d70fb30bbff6fd0e429fa
src/app/etc/modules/Chippin_ChippinPayment.xml
src/app/etc/modules/Chippin_ChippinPayment.xml
XML
<|file_sep|>original/test/trie.js var trie; beforeEach(function() { trie = new Trie(); }); it('should be an object', function() { expect(trie).to.be.ok; }); it('should have add method', function() { expect(trie.add).to.be.an.instanceof(Function); }); it('should have search method', funct...
var trie; beforeEach(function() { trie = new Trie(); }); it('should be an object', function() { expect(trie).to.be.ok; }); it('should have a root', function() { expect(trie.root).to.be.ok; }); it('should have add method', function() { expect(trie.add).to.be.an.instanceof(Function); ...
<|file_sep|>original/test/trie.js var trie; beforeEach(function() { trie = new Trie(); }); it('should be an object', function() { expect(trie).to.be.ok; }); it('should have add method', function() { expect(trie.add).to.be.an.instanceof(Function); }); it('should have search method', funct...
1d6341af12b86001732d0cc06af7bf2880049676
test/trie.js
test/trie.js
JavaScript
<|file_sep|>original/modcluster/src/main/java/org/jboss/as/modcluster/ContextHost.java webhost = prop.getValue().toString(); } if (prop.getName().equals("waittime")) { waittime = Integer.parseInt(RemoveQuotes(prop.getValue().toString())); } } ...
webhost = prop.getValue().toString(); } if (prop.getName().equals("waittime")) { waittime = Integer.parseInt(RemoveQuotes(prop.getValue().toString())); } } if (webcontext == null || webhost == null) throw new OperationFailed...
<|file_sep|>original/modcluster/src/main/java/org/jboss/as/modcluster/ContextHost.java webhost = prop.getValue().toString(); } if (prop.getName().equals("waittime")) { waittime = Integer.parseInt(RemoveQuotes(prop.getValue().toString())); } } ...
fb1b5a1c464d751f09a1e04e6b3380e7ec8c3088
modcluster/src/main/java/org/jboss/as/modcluster/ContextHost.java
modcluster/src/main/java/org/jboss/as/modcluster/ContextHost.java
Java
<|file_sep|>original/django_fixmystreet/fixmystreet/tests/__init__.py # default_storage.location = 'media-tmp' # # @classmethod # def tearDownClass(self): # shutil.rmtree('media-tmp') def _fixture_setup(self): if os.path.exists('media/photos'): shutil.rmtree('media/phot...
# default_storage.location = 'media-tmp' # # @classmethod # def tearDownClass(self): # shutil.rmtree('media-tmp') def _fixture_setup(self): if os.path.exists('media/photos'): shutil.rmtree('media/photos') shutil.copytree('media/photos-sample', 'media/photos') ...
<|file_sep|>original/django_fixmystreet/fixmystreet/tests/__init__.py # default_storage.location = 'media-tmp' # # @classmethod # def tearDownClass(self): # shutil.rmtree('media-tmp') def _fixture_setup(self): if os.path.exists('media/photos'): shutil.rmtree('media/phot...
ee74fa5705fbf276e092b778f5bead9ffcd04b5e
django_fixmystreet/fixmystreet/tests/__init__.py
django_fixmystreet/fixmystreet/tests/__init__.py
Python
<|file_sep|>original/bin/worker/main.go import ( "github.com/hanwen/go-fuse/termite" "flag" "io/ioutil" "log" ) var _ = log.Printf func main() { cachedir := flag.String("cachedir", "/tmp/worker-cache", "content cache") secretFile := flag.String("secret", "/tmp/secret.txt", "file containing password.") port := ...
import ( "github.com/hanwen/go-fuse/termite" "flag" "io/ioutil" "log" ) var _ = log.Printf func main() { cachedir := flag.String("cachedir", "/var/cache/termite/worker-cache", "content cache") secretFile := flag.String("secret", "/tmp/secret.txt", "file containing password.") port := flag.Int("port", 1235, "Wh...
<|file_sep|>original/bin/worker/main.go import ( "github.com/hanwen/go-fuse/termite" "flag" "io/ioutil" "log" ) var _ = log.Printf func main() { cachedir := flag.String("cachedir", "/tmp/worker-cache", "content cache") secretFile := flag.String("secret", "/tmp/secret.txt", "file containing password.") port := ...
92f040c291bf5e56d9f1be3ad4943642f6afdfb8
bin/worker/main.go
bin/worker/main.go
Go
<|file_sep|>src/action-creator.coffee.diff original: _id = 0 updated: _actionID = 0 _requestID = 0 <|file_sep|>src/action-creator.coffee.diff original: @actionID = _id++ updated: @actionID = _actionID++ <|file_sep|>src/action-creator.coffee.diff original: # Method for dispatching an action through the dispatcher u...
dispatch: (action, payload) -> actionInstance = @createActionInstance action, payload dispatcher.dispatch actionInstance return actionInstance ### # Creates an action instance for dispatching # # @param {Action} action The action to dispatch # @param {mixed} payload Payload for the action ### createActio...
<|file_sep|>src/action-creator.coffee.diff original: _id = 0 updated: _actionID = 0 _requestID = 0 <|file_sep|>src/action-creator.coffee.diff original: @actionID = _id++ updated: @actionID = _actionID++ <|file_sep|>src/action-creator.coffee.diff original: # Method for dispatching an action through the dispatcher u...
c3a803c89b1f23e9203e2697c8161d5f79318f35
src/action-creator.coffee
src/action-creator.coffee
CoffeeScript
<|file_sep|>original/README.md Solidus Product Feed ================ An extension that provides an RSS feed for products. Google Shopper attributes are also implemented. An RSS link is automatically appended to the `<head>` tag in the `layouts/spree_application` file. Installation =============== 1) add the gem to ...
Solidus Product Feed ================ [![Build Status](https://travis-ci.org/solidusio-contrib/solidus_product_feed.svg?branch=master)](https://travis-ci.org/solidusio-contrib/solidus_product_feed) An extension that provides an RSS feed for products. Google Shopper attributes are also implemented. An RSS link is auto...
<|file_sep|>original/README.md Solidus Product Feed ================ An extension that provides an RSS feed for products. Google Shopper attributes are also implemented. An RSS link is automatically appended to the `<head>` tag in the `layouts/spree_application` file. Installation =============== 1) add the gem to ...
68e4de92204afe7060d7e941a4e9fe1cc872d73b
README.md
README.md
Markdown
<|file_sep|>README.md.diff original: > Shell-script for downloading content from nrk-tv updated: > Shell-script for downloading content from nrk-tv and nrk-radio <|file_sep|>original/README.md # nrk-tv-downloader > Shell-script for downloading content from nrk-tv ![Terminal with nrk-tv-downloader](screenshot.png) ## ...
# nrk-tv-downloader > Shell-script for downloading content from nrk-tv and nrk-radio ![Terminal with nrk-tv-downloader](screenshot.png) ## About This is just another simple shell-script that downloads programs from nrk-tv. It also supports nrk-radio. This script has nothing to do with NRK! ## Install $ git cl...
<|file_sep|>README.md.diff original: > Shell-script for downloading content from nrk-tv updated: > Shell-script for downloading content from nrk-tv and nrk-radio <|file_sep|>original/README.md # nrk-tv-downloader > Shell-script for downloading content from nrk-tv ![Terminal with nrk-tv-downloader](screenshot.png) ## ...
9a14b2d37b3d1ccb6169176e29820a44974a2c0e
README.md
README.md
Markdown
<|file_sep|>dimensionful/common_units.py.diff original: from sympy.core import Integer updated: <|file_sep|>original/dimensionful/common_units.py """ Define some common units, so users can import the objects directly. Copyright 2012, Casey W. Stark. See LICENSE.txt for more information. """ from sympy.core import...
""" Define some common units, so users can import the objects directly. Copyright 2012, Casey W. Stark. See LICENSE.txt for more information. """ from dimensionful.dimensions import * from dimensionful.units import Unit # cgs base units g = Unit("g") cm = Unit("cm") s = Unit("s") K = Unit("K") # other cgs dyne...
<|file_sep|>dimensionful/common_units.py.diff original: from sympy.core import Integer updated: <|file_sep|>original/dimensionful/common_units.py """ Define some common units, so users can import the objects directly. Copyright 2012, Casey W. Stark. See LICENSE.txt for more information. """ from sympy.core import...
a560868cd6658a4a5134ce8d53a03a5f86d92d6d
dimensionful/common_units.py
dimensionful/common_units.py
Python
<|file_sep|>traceview.gemspec.diff original: require "oboe/version" updated: require "traceview/version" <|file_sep|>traceview.gemspec.diff original: s.name = %q{oboe} s.version = Oboe::Version::STRING updated: s.name = %q{traceview} s.version = TraceView::Version::STRING <|file_sep|>original/traceview.gemspec ...
s.name = %q{traceview} s.version = TraceView::Version::STRING s.date = Time.now.strftime('%Y-%m-%d') s.license = "AppNeta Open License, Version 1.0" s.authors = ["Peter Giacomo Lombardo", "Spiros Eliopoulos"] s.email = %q{traceviewsupport@appneta.com} s.homepage = %q{http://www.appneta.com/products/trac...
<|file_sep|>traceview.gemspec.diff original: require "oboe/version" updated: require "traceview/version" <|file_sep|>traceview.gemspec.diff original: s.name = %q{oboe} s.version = Oboe::Version::STRING updated: s.name = %q{traceview} s.version = TraceView::Version::STRING <|file_sep|>original/traceview.gemspec ...
df2c9a9b9c2d17b84ef210ad6af74e1da59e8de9
traceview.gemspec
traceview.gemspec
Ruby
<|file_sep|>package.json.diff original: "url": "git://github.com/eunomie/hubot-payetashnek.git" updated: "url": "https://github.com/hubot-scripts/hubot-payetashnek" <|file_sep|>original/package.json "hubot", "hubot-scripts" ], "repository": { "type": "git", "url": "git://github.com/eunomie/...
"hubot", "hubot-scripts" ], "repository": { "type": "git", "url": "https://github.com/hubot-scripts/hubot-payetashnek" }, "bugs": { "url": "https://github.com/hubot-scripts/hubot-payetashnek/issues" }, "dependencies": { "coffee-script": "~1.6", "cheerio": "0.7.0", "he": "~...
<|file_sep|>package.json.diff original: "url": "git://github.com/eunomie/hubot-payetashnek.git" updated: "url": "https://github.com/hubot-scripts/hubot-payetashnek" <|file_sep|>original/package.json "hubot", "hubot-scripts" ], "repository": { "type": "git", "url": "git://github.com/eunomie/...
4ef27fce2bd9a31e9198d273eec2276594190b6c
package.json
package.json
JSON
<|file_sep|>original/src/tp_qi.in.h ctf_integer(int, usDelay, usDelay)) ) //task really start TRACEPOINT_EVENT(qi_qi, eventloop_task_start, TP_ARGS(unsigned int, taskId), TP_FIELDS(ctf_integer(int, taskId, taskId)) ) //task stop TRACEPOINT_EVENT(qi_qi, eventloop_task_stop, TP...
TP_ARGS(unsigned int, taskId), TP_FIELDS(ctf_integer(int, taskId, taskId)) ) //task stop TRACEPOINT_EVENT(qi_qi, eventloop_task_stop, TP_ARGS(unsigned int, taskId), TP_FIELDS(ctf_integer(int, taskId, taskId)) ) //task has been cancelled before running TRACEPOINT_EVENT(qi_qi, eventloop_...
<|file_sep|>original/src/tp_qi.in.h ctf_integer(int, usDelay, usDelay)) ) //task really start TRACEPOINT_EVENT(qi_qi, eventloop_task_start, TP_ARGS(unsigned int, taskId), TP_FIELDS(ctf_integer(int, taskId, taskId)) ) //task stop TRACEPOINT_EVENT(qi_qi, eventloop_task_stop, TP...
f97b814a589446e5d3481124f56ddb91708fd000
src/tp_qi.in.h
src/tp_qi.in.h
C
<|file_sep|>packages/av/avers-server.yaml.diff original: hash: 33fa91deb658871ef79a0c223a70422fa743044101830f278c2261fd9347c9c6 updated: hash: e263c64bedfc770f4b2f4a9f8cabce62c28432fd096301e5fdbd512065eb98e9 <|file_sep|>packages/av/avers-server.yaml.diff original: updated: - '0.0.5' <|file_sep|>original/packages/av/av...
rethinkdb-client-driver: -any servant-server: -any servant: -any containers: -any mtl: -any transformers: -any avers: -any http-types: -any aeson: -any cryptohash: -any all-versions: - '0.0.1' - '0.0.2' - '0.0.3' - '0.0.4' - '0.0.5' author: Tomas Carnecky latest: '0.0.5' description-type: haddock de...
<|file_sep|>packages/av/avers-server.yaml.diff original: hash: 33fa91deb658871ef79a0c223a70422fa743044101830f278c2261fd9347c9c6 updated: hash: e263c64bedfc770f4b2f4a9f8cabce62c28432fd096301e5fdbd512065eb98e9 <|file_sep|>packages/av/avers-server.yaml.diff original: updated: - '0.0.5' <|file_sep|>original/packages/av/av...
d2d0647567a857d1f11fd536156c412749de028b
packages/av/avers-server.yaml
packages/av/avers-server.yaml
YAML
<|file_sep|>original/db/seeds/development/redirect_rules.seeds.rb <|file_sep|>current/db/seeds/development/redirect_rules.seeds.rb <|file_sep|>updated/db/seeds/development/redirect_rules.seeds.rb
after "development:redirect_rules" do site = Site.find_by!(name: "site1") site.redirect_rules.create!( request_path: "/old-about", destination: "/about" ) site.redirect_rules.create!( request_path: "/company", destination: "http://bm-sms.co.jp/" ) end
<|file_sep|>original/db/seeds/development/redirect_rules.seeds.rb <|file_sep|>current/db/seeds/development/redirect_rules.seeds.rb <|file_sep|>updated/db/seeds/development/redirect_rules.seeds.rb after "development:redirect_rules" do site = Site.find_by!(name: "site1") site.redirect_rules.create!( request_pa...
96ff08e20a5866ac7f77a6f7f37f3b4af6c5ceb7
db/seeds/development/redirect_rules.seeds.rb
db/seeds/development/redirect_rules.seeds.rb
Ruby
<|file_sep|>lib/backend.js.diff original: let onExpressPreConfig = config.backend.onExpressPreConfig config.backend.onExpressPreConfig = function(app) { updated: config.backend.on('expressPreConfig', function(app) { <|file_sep|>original/lib/backend.js 'X-Token', 'X-Username', 'X-Server-Password'...
exposedHeaders: [ 'X-Token', 'X-Username', 'X-Server-Password', ], corsOptionsDelegate: function(req,cb){ cb(null,{ origin: config.cors.whitelist || true, methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', allowedHeaders: config.cors.allowedHeaders, exposedHe...
<|file_sep|>lib/backend.js.diff original: let onExpressPreConfig = config.backend.onExpressPreConfig config.backend.onExpressPreConfig = function(app) { updated: config.backend.on('expressPreConfig', function(app) { <|file_sep|>original/lib/backend.js 'X-Token', 'X-Username', 'X-Server-Password'...
f75f82f3cd7356f01802a20d3109a2c777c4ff61
lib/backend.js
lib/backend.js
JavaScript
<|file_sep|>original/opal/migrations/0029_auto_20170707_1337.py <|file_sep|>current/opal/migrations/0029_auto_20170707_1337.py <|file_sep|>updated/opal/migrations/0029_auto_20170707_1337.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('opal', '0028_auto_20170210_1146'), ] operations = [ migrations.AlterField( model_name='macro', name=...
<|file_sep|>original/opal/migrations/0029_auto_20170707_1337.py <|file_sep|>current/opal/migrations/0029_auto_20170707_1337.py <|file_sep|>updated/opal/migrations/0029_auto_20170707_1337.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migr...
5a48dc3c389ad42b761b40d6e3ba838a8c3adad0
opal/migrations/0029_auto_20170707_1337.py
opal/migrations/0029_auto_20170707_1337.py
Python
<|file_sep|>original/bin/cocoapods.sh #!/bin/sh ## https://github.com/auth0/react-native-lock/blob/master/bin/cocoapods.sh ios_dir=`pwd`/ios if [ -d ios_dir ] then exit 0 fi podfile="$ios_dir/Podfile" template=`pwd`/node_modules/react-native-oauth/ios/Podfile.template echo "Checking Podfile in iOS project ($pod...
#!/bin/sh ## https://github.com/auth0/react-native-lock/blob/master/bin/cocoapods.sh ios_dir=`pwd`/ios if [ ! -d $ios_dir ] then exit 0 fi podfile="$ios_dir/Podfile" template=`pwd`/node_modules/react-native-oauth/ios/Podfile.template echo "Checking Podfile in iOS project ($podfile)" if [ -f $podfile ] then ...
<|file_sep|>original/bin/cocoapods.sh #!/bin/sh ## https://github.com/auth0/react-native-lock/blob/master/bin/cocoapods.sh ios_dir=`pwd`/ios if [ -d ios_dir ] then exit 0 fi podfile="$ios_dir/Podfile" template=`pwd`/node_modules/react-native-oauth/ios/Podfile.template echo "Checking Podfile in iOS project ($pod...
a521863b963e39f479a00170ce7bb4e4277dc049
bin/cocoapods.sh
bin/cocoapods.sh
Shell
<|file_sep|>original/ghost/members-gateway-protocol/package.json "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint '**/*.js'", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "devDependencies": { "jsdom": "14.0.0", ...
"dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint '**/*.js'", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "devDependencies": { "jsdom": "14.1.0", "mocha": "6.1.4", "should": "13.2.3", "sinon": "7.3.2" ...
<|file_sep|>original/ghost/members-gateway-protocol/package.json "dev": "echo \"Implement me!\"", "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint '**/*.js'", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "devDependencies": { "jsdom": "14.0.0", ...
b5e9bf70473b2dcc53db8bc4915687c885deef0b
ghost/members-gateway-protocol/package.json
ghost/members-gateway-protocol/package.json
JSON
<|file_sep|>manifests/prometheus/alerts.d/dns-resolution-working.yml.diff original: - &alert alert: DNSResolutionWorking_Warning expr: (count_over_time(dns_resolution_probe_success[5m]) - sum_over_time(dns_resolution_probe_success[5m])) / count_over_time(dns_resolution_probe_success[5m]) > 0.25 fo...
# Source: blackbox-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: DNSResolutionWorking rules: - alert: DNSResolutionWorking expr: sum_over_time(dns_resolution_probe_success[15m]) / count_over_time(dns_r...
<|file_sep|>manifests/prometheus/alerts.d/dns-resolution-working.yml.diff original: - &alert alert: DNSResolutionWorking_Warning expr: (count_over_time(dns_resolution_probe_success[5m]) - sum_over_time(dns_resolution_probe_success[5m])) / count_over_time(dns_resolution_probe_success[5m]) > 0.25 fo...
34b15ee4ad386032f3c762f5245bab8d80e5bb7c
manifests/prometheus/alerts.d/dns-resolution-working.yml
manifests/prometheus/alerts.d/dns-resolution-working.yml
YAML
<|file_sep|>original/test/javascripts/map_editor_reactive_measure_test.coffee <|file_sep|>current/test/javascripts/map_editor_reactive_measure_test.coffee <|file_sep|>updated/test/javascripts/map_editor_reactive_measure_test.coffee
#= require map_editor beforeEach -> @map = new L.Map(document.createElement('div')).setView [0, 0], 15 describe 'L.Draw.Polyline.ReactiveMeasure', -> beforeEach -> @geod = GeographicLib.Geodesic.WGS84 @drawnItems = new L.FeatureGroup().addTo(@map) @edit = new L.EditToolbar.Edit @map, featureGroup...
<|file_sep|>original/test/javascripts/map_editor_reactive_measure_test.coffee <|file_sep|>current/test/javascripts/map_editor_reactive_measure_test.coffee <|file_sep|>updated/test/javascripts/map_editor_reactive_measure_test.coffee #= require map_editor beforeEach -> @map = new L.Map(document.createElement('div'))....
ceecd6ae9c833a263c07a60099a65ebecc80143a
test/javascripts/map_editor_reactive_measure_test.coffee
test/javascripts/map_editor_reactive_measure_test.coffee
CoffeeScript
<|file_sep|>src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java.diff original: updated: import com.kurento.commons.config.Parameters; <|file_sep|>src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java.diff original: * Creates a new mediaSession object updated: * Creates a new mediaS...
/** * This class is the entry point where a MediaSession can be obtained * */ public interface MediaSessionFactory { /** * Creates a new mediaSession object using the given configuration * parameters. See platform documentation for further details about the * parameters. * * @param parameters * ...
<|file_sep|>src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java.diff original: updated: import com.kurento.commons.config.Parameters; <|file_sep|>src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java.diff original: * Creates a new mediaSession object updated: * Creates a new mediaS...
7a06af0d3737d76fb5f1db431b2d74a3104f6e52
src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java
src/main/java/com/kurento/mscontrol/commons/MediaSessionFactory.java
Java
<|file_sep|>original/airstory.php * Author URI: https://www.liquidweb.com * Text Domain: airstory * * @package Airstory */ namespace Airstory; define( 'AIRSTORY_INC', __DIR__ . '/includes' ); require_once AIRSTORY_INC . '/async-tasks.php'; require_once AIRSTORY_INC . '/class-api.php'; require_once AIRSTORY_INC...
* Author URI: https://www.liquidweb.com * Text Domain: airstory * * @package Airstory */ namespace Airstory; define( 'AIRSTORY_INC', __DIR__ . '/includes' ); require_once AIRSTORY_INC . '/class-api.php'; require_once AIRSTORY_INC . '/core.php'; require_once AIRSTORY_INC . '/formatting.php'; require_once AIRSTO...
<|file_sep|>original/airstory.php * Author URI: https://www.liquidweb.com * Text Domain: airstory * * @package Airstory */ namespace Airstory; define( 'AIRSTORY_INC', __DIR__ . '/includes' ); require_once AIRSTORY_INC . '/async-tasks.php'; require_once AIRSTORY_INC . '/class-api.php'; require_once AIRSTORY_INC...
fa89b113b2ed63b3241f54573f15fc08710bc62a
airstory.php
airstory.php
PHP
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "pypy2.7-6.0" - "pypy3.5-6.0" # command to install dependencies install: - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi # command t...
language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "pypy" - "pypy3" # command to install dependencies install: - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi # command to run tests script: nosetests tests sudo: fals...
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" - "3.5" - "3.6" - "pypy2.7-6.0" - "pypy3.5-6.0" # command to install dependencies install: - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; else pip install -r requirements-py2.txt; fi # command t...
a10ea7055ef3259b63e588280863bd5a694111dd
.travis.yml
.travis.yml
YAML
<|file_sep|>original/tox.ini [tox] envlist = py36,py37,py38,py39 [testenv] setenv = BERKELEYDB_DIR = /usr commands = {envpython} setup.py clean --all {envpython} setup.py build {envpython} run_tests.py deps = -rrequirements.txt -rrequirements.dev.txt [testenv:cover] basepython = python3.7 co...
[tox] envlist = py37,py38,py39 [testenv] setenv = BERKELEYDB_DIR = /usr commands = {envpython} setup.py clean --all {envpython} setup.py build {envpython} run_tests.py deps = -rrequirements.txt -rrequirements.dev.txt [testenv:cover] basepython = python3.7 commands = {envpython} run_tests...
<|file_sep|>original/tox.ini [tox] envlist = py36,py37,py38,py39 [testenv] setenv = BERKELEYDB_DIR = /usr commands = {envpython} setup.py clean --all {envpython} setup.py build {envpython} run_tests.py deps = -rrequirements.txt -rrequirements.dev.txt [testenv:cover] basepython = python3.7 co...
d80b36b0f7f33f1801492edbe09b37f3af8e4adf
tox.ini
tox.ini
INI
<|file_sep|>packages/ca/canteven-listen-http.yaml.diff original: hash: a7d9e271c49e022d4e3324d18e24c0f1b4bd6e50ecacb8b92245c0960e84bb85 updated: hash: 4cc28a87d0c7fb8b5189facac18c2c5e8c98b81c681b11724f910dd4ed1b6534 <|file_sep|>packages/ca/canteven-listen-http.yaml.diff original: aeson: ! '>=0.11 && <0.12' updated: ...
synopsis: data types to describe HTTP services changelog: '' basic-deps: base: ! '>=4.8 && <4.10' aeson: ! '>=0.11 && <1.2' all-versions: - '0.1.0.0' - '1.0.0.1' - '1.0.0.3' author: Ethan Glasser-Camp latest: '1.0.0.3' description-type: markdown description: ! '# canteven-listen-http: help configure a web service ...
<|file_sep|>packages/ca/canteven-listen-http.yaml.diff original: hash: a7d9e271c49e022d4e3324d18e24c0f1b4bd6e50ecacb8b92245c0960e84bb85 updated: hash: 4cc28a87d0c7fb8b5189facac18c2c5e8c98b81c681b11724f910dd4ed1b6534 <|file_sep|>packages/ca/canteven-listen-http.yaml.diff original: aeson: ! '>=0.11 && <0.12' updated: ...
4ca3d8704405f80f7a33e4accb737baec4633166
packages/ca/canteven-listen-http.yaml
packages/ca/canteven-listen-http.yaml
YAML
<|file_sep|>original/spec/install/get-email-spec.js const GetEmail = require('../../lib/install/get-email'); describe('GetEmail', () => { let step; beforeEach(() => { step = new GetEmail(); }); describe('.start()', () => { describe('when the user has a .gitconfig file', () => { beforeEach(() =>...
const GetEmail = require('../../lib/install/get-email'); describe('GetEmail', () => { let step; beforeEach(() => { step = new GetEmail(); }); describe('.start()', () => { afterEach(() => { fs.readFileSync.andCallThrough(); }); describe('when the user has a .gitconfig file', () => { ...
<|file_sep|>original/spec/install/get-email-spec.js const GetEmail = require('../../lib/install/get-email'); describe('GetEmail', () => { let step; beforeEach(() => { step = new GetEmail(); }); describe('.start()', () => { describe('when the user has a .gitconfig file', () => { beforeEach(() =>...
3797f5b68e1426135dbc60729610087a3502d2ed
spec/install/get-email-spec.js
spec/install/get-email-spec.js
JavaScript
<|file_sep|>original/doc/advanced/content/minimal_example.rst <|file_sep|>current/doc/advanced/content/minimal_example.rst <|file_sep|>updated/doc/advanced/content/minimal_example.rst
.. _minimal_example: How to build a minimal example ------------------------------ First of all make a backup of your current state or start a new project for the minimal example. Than there are basically two ways: strip down your program or start from scratch. Method 1: Strip down your program =====================...
<|file_sep|>original/doc/advanced/content/minimal_example.rst <|file_sep|>current/doc/advanced/content/minimal_example.rst <|file_sep|>updated/doc/advanced/content/minimal_example.rst .. _minimal_example: How to build a minimal example ------------------------------ First of all make a backup of your current state ...
4a1a35fb5e01b4bf2d898b94acd8e78bff397f8a
doc/advanced/content/minimal_example.rst
doc/advanced/content/minimal_example.rst
reStructuredText
<|file_sep|>src/lib/entropy/rdseed/info.txt.diff original: gcc:4.8 clang:3.2 updated: gcc clang <|file_sep|>original/src/lib/entropy/rdseed/info.txt <defines> ENTROPY_SRC_RDSEED -> 20151218 </defines> need_isa rdseed <header:internal> rdseed.h </header:internal> <arch> x86_32 x86_64 </arch> <cc> gcc:4.8 clang:3.2 i...
<defines> ENTROPY_SRC_RDSEED -> 20151218 </defines> need_isa rdseed <header:internal> rdseed.h </header:internal> <arch> x86_32 x86_64 </arch> <cc> gcc clang icc msvc </cc>
<|file_sep|>src/lib/entropy/rdseed/info.txt.diff original: gcc:4.8 clang:3.2 updated: gcc clang <|file_sep|>original/src/lib/entropy/rdseed/info.txt <defines> ENTROPY_SRC_RDSEED -> 20151218 </defines> need_isa rdseed <header:internal> rdseed.h </header:internal> <arch> x86_32 x86_64 </arch> <cc> gcc:4.8 clang:3.2 i...
c89d1e9679159753eb983e67699ec3858ca758d6
src/lib/entropy/rdseed/info.txt
src/lib/entropy/rdseed/info.txt
Text
<|file_sep|>original/buildSrc/src/main/java/AndroidComponents.kt /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "93.0.20210812143121" }
<|file_sep|>original/buildSrc/src/main/java/AndroidComponents.kt /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION ...
3a949db2ea278757b27fdcc5e028d364e80db915
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
Kotlin
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - master pool: vmImage: 'Ubuntu-16.04' steps: - script: echo Hello, world! displayName: 'Run a one-line script' - script: |...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml trigger: - maste...
af12e44e9992b00e798e8c7d4a5cd2d4a6f8426e
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/modules/python/test/test_copytomask.py <|file_sep|>current/modules/python/test/test_copytomask.py <|file_sep|>updated/modules/python/test/test_copytomask.py
#!/usr/bin/env python ''' Test for copyto with mask ''' # Python 2/3 compatibility from __future__ import print_function import cv2 as cv import numpy as np import sys from tests_common import NewOpenCVTests class copytomask_test(NewOpenCVTests): def test_copytomask(self): img = self.get_sample('pytho...
<|file_sep|>original/modules/python/test/test_copytomask.py <|file_sep|>current/modules/python/test/test_copytomask.py <|file_sep|>updated/modules/python/test/test_copytomask.py #!/usr/bin/env python ''' Test for copyto with mask ''' # Python 2/3 compatibility from __future__ import print_function import cv2 as cv...
936523ae5212791337a852060052bc5f379ffaf7
modules/python/test/test_copytomask.py
modules/python/test/test_copytomask.py
Python
<|file_sep|>txlege84/static/scripts/main.js.diff original: $(function () { updated: (function() { <|file_sep|>txlege84/static/scripts/main.js.diff original: var sidebarButtonA = $('.sidebar-header-bills'); var sidebarButtonB = $('.sidebar-header-resources'); var sidebarContentA = $('.sidebar-content-bills'); va...
$sidebarContentB.toggleClass('collapse'); } $sidebarButtonA.click(function() { toggleBillSearch(); }); $sidebarButtonB.click(function() { toggleResources(); }); var $storyStream = $('.story-stream'); $storyStream.slick({ dots: true, infinite: true, speed: 500, slidesToShow:...
<|file_sep|>txlege84/static/scripts/main.js.diff original: $(function () { updated: (function() { <|file_sep|>txlege84/static/scripts/main.js.diff original: var sidebarButtonA = $('.sidebar-header-bills'); var sidebarButtonB = $('.sidebar-header-resources'); var sidebarContentA = $('.sidebar-content-bills'); va...
2b121b5147e32d254141fea4f18130364234d22d
txlege84/static/scripts/main.js
txlege84/static/scripts/main.js
JavaScript
<|file_sep|>closed_issues.rb.diff original: f.puts "NUMBER,TITLE,AUTHOR,ASSIGNEE,LABELS" updated: f.puts "NUMBER,TITLE,AUTHOR,ASSIGNEE,LABELS,CLOSED AT,CHANGELOGTEXT" <|file_sep|>original/closed_issues.rb MILESTONE = 47 # subtract 6 from actual Sprint milestone number for the ManageIQ/manageiq repo ACCESS_TOKEN...
MILESTONE = 47 # subtract 6 from actual Sprint milestone number for the ManageIQ/manageiq repo ACCESS_TOKEN = "your github access token" require_relative 'sprint_statistics' prs = SprintStatistics.new(ACCESS_TOKEN).pull_requests("ManageIQ/manageiq", :milestone => MILESTONE, :state => "closed") File.open('closed_issue...
<|file_sep|>closed_issues.rb.diff original: f.puts "NUMBER,TITLE,AUTHOR,ASSIGNEE,LABELS" updated: f.puts "NUMBER,TITLE,AUTHOR,ASSIGNEE,LABELS,CLOSED AT,CHANGELOGTEXT" <|file_sep|>original/closed_issues.rb MILESTONE = 47 # subtract 6 from actual Sprint milestone number for the ManageIQ/manageiq repo ACCESS_TOKEN...
ad955d6242674f9414dea1ccc4ab8ad4706816e6
closed_issues.rb
closed_issues.rb
Ruby
<|file_sep|>original/requirements.txt junebug==0.1.35 vxyowsup==0.1.8 yowsup2==2.5.2 vumi-msisdn-normalize-middleware==0.1.4 vxaat==0.5.5 <|file_sep|>current/requirements.txt junebug==0.1.35 vxyowsup==0.1.8 yowsup2==2.5.2 vumi-msisdn-normalize-middleware==0.1.4 vxaat==0.5.5 <|file_sep|>updated/requirements.txt
junebug==0.1.36 vxyowsup==0.1.8 yowsup2==2.5.2 vumi-msisdn-normalize-middleware==0.1.4 vxaat==0.5.5
<|file_sep|>original/requirements.txt junebug==0.1.35 vxyowsup==0.1.8 yowsup2==2.5.2 vumi-msisdn-normalize-middleware==0.1.4 vxaat==0.5.5 <|file_sep|>current/requirements.txt junebug==0.1.35 vxyowsup==0.1.8 yowsup2==2.5.2 vumi-msisdn-normalize-middleware==0.1.4 vxaat==0.5.5 <|file_sep|>updated/requirements.txt junebug=...
01b7792236b95e30185d2f3514fbf5f6b03789c6
requirements.txt
requirements.txt
Text
<|file_sep|>original/README.md # Transmogrify a µFramework The _Transmogrify_ µFramework provides typesafe value conversion with Apple’s `NSValueTransformer`. Also it allows you to use closures. ## License The project is licensed under the MIT-license. For full details see the LICENSE file in the root of the repositor...
# Transmogrify a µFramework The _Transmogrify_ µFramework provides typesafe value conversion with Apple’s `NSValueTransformer`. Also it allows you to use closures. ## License The project is licensed under the MIT-license. For full details see the [LICENSE](https://github.com/rastersize/Transmogrify/blob/master/LICENSE...
<|file_sep|>original/README.md # Transmogrify a µFramework The _Transmogrify_ µFramework provides typesafe value conversion with Apple’s `NSValueTransformer`. Also it allows you to use closures. ## License The project is licensed under the MIT-license. For full details see the LICENSE file in the root of the repositor...
3e8e3d004de9fa5ab2c7716411f636343091b940
README.md
README.md
Markdown
<|file_sep|>.travis.yml.diff original: updated: - 2.1.1 <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.3 - 2.0.0 - jruby - rbx-19mode matrix: allow_failures: - rvm: 2.0.0 - rvm: jruby - rvm: rbx-19mode before_install: - gem update --system 2.1.11 - gem --version <|file_sep|>current/....
rvm: - 1.8.7 - 1.9.3 - 2.0.0 - 2.1.1 - jruby - rbx-19mode matrix: allow_failures: - rvm: 2.1.1 - rvm: 2.0.0 - rvm: jruby - rvm: rbx-19mode before_install: - gem update --system 2.1.11 - gem --version
<|file_sep|>.travis.yml.diff original: updated: - 2.1.1 <|file_sep|>original/.travis.yml rvm: - 1.8.7 - 1.9.3 - 2.0.0 - jruby - rbx-19mode matrix: allow_failures: - rvm: 2.0.0 - rvm: jruby - rvm: rbx-19mode before_install: - gem update --system 2.1.11 - gem --version <|file_sep|>current/....
811397c0fe355c5fd33a25695914c3ef24e15904
.travis.yml
.travis.yml
YAML
<|file_sep|>original/wp-content/themes/brewtah/front-page.php <?php get_header(); ?> <header id="homepage-hero" role="banner"> <div class="row"> <div class="small-12 medium-4 columns"> <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <h4 class="sub...
<?php get_header(); ?> <header id="homepage-hero" role="banner"> <div class="row"> <div class="small-12 medium-4 columns"> <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <h4 class="subheader"><?php bloginfo('description'); ?></h4> </div> <di...
<|file_sep|>original/wp-content/themes/brewtah/front-page.php <?php get_header(); ?> <header id="homepage-hero" role="banner"> <div class="row"> <div class="small-12 medium-4 columns"> <h1><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1> <h4 class="sub...
3822cd04281d3bbb670dc4d7fab1024cc7f71bef
wp-content/themes/brewtah/front-page.php
wp-content/themes/brewtah/front-page.php
PHP
<|file_sep|>original/RKJSONKitSerialization.podspec Pod::Spec.new do |s| s.name = "RKJSONKitSerialization" s.version = "0.20.0" s.summary = "A RestKit serialization format implementation for JSON using JSONKit." s.homepage = "https://github.com/RestKit/RKJSONKitSerialization" s.license ...
Pod::Spec.new do |s| s.name = "RKJSONKitSerialization" s.version = "0.20.0" s.summary = "A RestKit serialization format implementation for JSON using JSONKit." s.homepage = "https://github.com/RestKit/RKJSONKitSerialization" s.license = { :type => 'Apache', :file => 'LICENSE'} s.a...
<|file_sep|>original/RKJSONKitSerialization.podspec Pod::Spec.new do |s| s.name = "RKJSONKitSerialization" s.version = "0.20.0" s.summary = "A RestKit serialization format implementation for JSON using JSONKit." s.homepage = "https://github.com/RestKit/RKJSONKitSerialization" s.license ...
8e03751406f1aa745504afea6b9f3199fd707617
RKJSONKitSerialization.podspec
RKJSONKitSerialization.podspec
Ruby
<|file_sep|>original/README.md vanilla-position-sticky ======================= [![Code Climate](https://codeclimate.com/github/katranci/vanilla-position-sticky.png)](https://codeclimate.com/github/katranci/vanilla-position-sticky) Usage ----- ``` -------------------------- => window | -------------------- | | ...
vanilla-position-sticky ======================= [![Code Climate](https://codeclimate.com/github/katranci/vanilla-position-sticky.png)](https://codeclimate.com/github/katranci/vanilla-position-sticky) Usage ----- ``` -------------------------- => window | -------------------- | | | --- |==|=> co...
<|file_sep|>original/README.md vanilla-position-sticky ======================= [![Code Climate](https://codeclimate.com/github/katranci/vanilla-position-sticky.png)](https://codeclimate.com/github/katranci/vanilla-position-sticky) Usage ----- ``` -------------------------- => window | -------------------- | | ...
32777d02a7ea48d33859ed474b2ab012636c6926
README.md
README.md
Markdown
<|file_sep|>original/CHANGELOG.md CHANGELOG ========= 2.0.0 (in progress) ------------------- * [feature] Add a ``nodes`` method on graph objects * [feature] Strict typing * [feature] Strict code coverage * [feature] Documentation 1.1.0 (12/07/2016) ------------------ * [feature] Add methods hasEdge/getEdge on grap...
CHANGELOG ========= 2.0.0 (23/10/2022) ------------------ * [feature] Add a ``nodes`` method on graph objects * [feature] Strict typing * [feature] Strict code coverage * [feature] Documentation 1.1.0 (12/07/2016) ------------------ * [feature] Add methods hasEdge/getEdge on graph (Alexandre Salomé) * [feature] Add...
<|file_sep|>original/CHANGELOG.md CHANGELOG ========= 2.0.0 (in progress) ------------------- * [feature] Add a ``nodes`` method on graph objects * [feature] Strict typing * [feature] Strict code coverage * [feature] Documentation 1.1.0 (12/07/2016) ------------------ * [feature] Add methods hasEdge/getEdge on grap...
fbaa90df92e7c8c7e1e6f8566c6fbce8bed537d1
CHANGELOG.md
CHANGELOG.md
Markdown
<|file_sep|>website/static/css/custom.css.diff original: updated: @import url('https://fonts.googleapis.com/css?family=Inconsolata'); <|file_sep|>original/website/static/css/custom.css background: rgb(249, 249, 249); } .docsNavContainer { background: rgb(249, 249, 249); } nav.toc .toggleNav { background: rgb(...
footer.nav-footer { background: $secondaryColor; } .mainContainer .wrapper p, .blockElement p, .mainContainer .wrapper ul li, .mainContainer .wrapper ol li { line-height: 1.5; } code, pre code { font-family: 'Inconsolata', monospace; line-height: normal; } code { background-color: inherit; box-shadow: no...
<|file_sep|>website/static/css/custom.css.diff original: updated: @import url('https://fonts.googleapis.com/css?family=Inconsolata'); <|file_sep|>original/website/static/css/custom.css background: rgb(249, 249, 249); } .docsNavContainer { background: rgb(249, 249, 249); } nav.toc .toggleNav { background: rgb(...
32a09cc32a0b4a1db826834038143f799c51add3
website/static/css/custom.css
website/static/css/custom.css
CSS
<|file_sep|>Timetable.py.diff original: updated: # -*- coding: utf-8 -*- <|file_sep|>Timetable.py.diff original: import urllib.request updated: from urllib2 import Request as request import urllib2 <|file_sep|>Timetable.py.diff original: def get_list(): url = 'http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten...
def get_list(start): # url = 'http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten.do?ort=Dresden&hst=CasparDavidFriedrichStra%C3%9Fe' url = 'http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten.do?ort=Dresden&hst=' + start req = request(url) response = urllib2.urlopen(req) data_raw = response.re...
<|file_sep|>Timetable.py.diff original: updated: # -*- coding: utf-8 -*- <|file_sep|>Timetable.py.diff original: import urllib.request updated: from urllib2 import Request as request import urllib2 <|file_sep|>Timetable.py.diff original: def get_list(): url = 'http://widgets.vvo-online.de/abfahrtsmonitor/Abfahrten...
7cf346794075bab025926549ee4ebe35bf188038
Timetable.py
Timetable.py
Python
<|file_sep|>lib/jekyll/minibundle/asset_bundle.rb.diff original: puts "Bundling #{@type} assets:" updated: $stdout.puts # place newline after "(Re)generating..." log messages log "Bundling #{@type} assets:" <|file_sep|>lib/jekyll/minibundle/asset_bundle.rb.diff original: puts " #{ass...
log asset IO.foreach(asset) { |line| wr.write line } wr.puts ';' if @type == :js end end self end private if defined? ::Jekyll.logger # introduced in Jekyll 1.0.0 def log(msg) ::Jekyll.logger.info 'Minibundle', msg end else d...
<|file_sep|>lib/jekyll/minibundle/asset_bundle.rb.diff original: puts "Bundling #{@type} assets:" updated: $stdout.puts # place newline after "(Re)generating..." log messages log "Bundling #{@type} assets:" <|file_sep|>lib/jekyll/minibundle/asset_bundle.rb.diff original: puts " #{ass...
990ca19864ff49c1909a408f964e8be284c014bf
lib/jekyll/minibundle/asset_bundle.rb
lib/jekyll/minibundle/asset_bundle.rb
Ruby
<|file_sep|>original/index.js 'use strict'; module.exports = class TCache { constructor(tag) { this.tag = tag; this._tasks = []; this._fetching = false; } _run() { this._fetching = true; let firstTask = this._tasks[0]; firstTask[0](...firstTask.slice(1,-1)...
'use strict'; module.exports = class TCache { constructor(tag) { this.tag = tag; this._tasks = []; this._fetching = false; } get size() { return this._tasks.length; } _run() { this._fetching = true; let firstTask = this._tasks[0]; firstTas...
<|file_sep|>original/index.js 'use strict'; module.exports = class TCache { constructor(tag) { this.tag = tag; this._tasks = []; this._fetching = false; } _run() { this._fetching = true; let firstTask = this._tasks[0]; firstTask[0](...firstTask.slice(1,-1)...
65f347df72317e2d14c131e3d1f655648a96390f
index.js
index.js
JavaScript