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|>spec/generators/last_day_of_month_generator_spec.rb.diff
original:
When(:valid) { subject.valid?(date) }
updated:
When(:valid) { subject.valid?(Date.parse(date)) }
<|file_sep|>spec/generators/last_day_of_month_generator_spec.rb.diff
original:
Given(:date) { Date.parse('2014-06-01') }
updated:
Gi... |
context 'start of the month is invalid' do
Given(:date) { '2014-06-01' }
Then { !valid }
end
context 'middle of the month is invalid' do
Given(:date) { '2014-06-15' }
Then { !valid }
end
context 'last day of the month is valid' do
Given(:date) { '2014-05-31' }
Then { valid }
end
... | <|file_sep|>spec/generators/last_day_of_month_generator_spec.rb.diff
original:
When(:valid) { subject.valid?(date) }
updated:
When(:valid) { subject.valid?(Date.parse(date)) }
<|file_sep|>spec/generators/last_day_of_month_generator_spec.rb.diff
original:
Given(:date) { Date.parse('2014-06-01') }
updated:
Gi... | 615a76f45b82f1a01b5267a7aaad8b04e024f08e | spec/generators/last_day_of_month_generator_spec.rb | spec/generators/last_day_of_month_generator_spec.rb | Ruby |
<|file_sep|>original/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs
<|file_sep|>current/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs
<|file_sep|>updated/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs | /*
* Copyright (c) Contributors, http://aurora-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must reta... | <|file_sep|>original/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs
<|file_sep|>current/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs
<|file_sep|>updated/Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs
/*
* Copyright (c) Contributors, http://aurora... | 2d4787f07aca3d0c7c2dd32571701d5edb403029 | Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs | Aurora/DataManager/Migration/Migrators/Generics/GenericsMigrator_4.cs | C# |
<|file_sep|>docs/whatsnew/2.9.rst.diff
original:
updated:
New features
------------
* A convenient high-level API for creating virtual datasets, HDF5 objects which
act as a view over one or more real datasets (:issue:`1060`, :issue:`1126`).
See :ref:`vds` for details.
* :class:`h5py.File` can now be constructed ... | recorded, or name order if not (:issue:`1098`).
Support for old Python
----------------------
Support for Python 3.3 has been dropped.
Support for Python 2.6 has been dropped.
TODO
----
- improved support for unicode attributes #1032
- add support for open_file_image #1075
- add create_dataset_like #1085
- Add H... | <|file_sep|>docs/whatsnew/2.9.rst.diff
original:
updated:
New features
------------
* A convenient high-level API for creating virtual datasets, HDF5 objects which
act as a view over one or more real datasets (:issue:`1060`, :issue:`1126`).
See :ref:`vds` for details.
* :class:`h5py.File` can now be constructed ... | 2effbfc31eb798353509fccf75e62daf10b498fd | docs/whatsnew/2.9.rst | docs/whatsnew/2.9.rst | reStructuredText |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | # Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations right in front of you.
context-desc=By localising web page on the page itself, you no longer need to worry if the wo... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
navigation-title=Pontoon Intro
navigation-developers=Developers
updated:
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pont... | 0ce4a9d68d190bc3081a26cc869b31d1b4f2098b | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>original/web/locales/fr/messages.ftl
<|file_sep|>current/web/locales/fr/messages.ftl
<|file_sep|>updated/web/locales/fr/messages.ftl | ## Layout
speak = Parler
datasets = Jeux de données
profile = Profil
help = Aide
contact = Contact
privacy = Vie privée
terms = Conditions
cookies = Cookies
faq = Questions fréquentes
content-license-text = Contenu disponible sous licence <licenseLink>Creative Commons</licenseLink>
## Home Page
show-wall-of-text = E... | <|file_sep|>original/web/locales/fr/messages.ftl
<|file_sep|>current/web/locales/fr/messages.ftl
<|file_sep|>updated/web/locales/fr/messages.ftl
## Layout
speak = Parler
datasets = Jeux de données
profile = Profil
help = Aide
contact = Contact
privacy = Vie privée
terms = Conditions
cookies = Cookies
faq = Questions... | be38c6cf70c5e11f635cca2c93dcde7ad838b2ca | web/locales/fr/messages.ftl | web/locales/fr/messages.ftl | FreeMarker |
<|file_sep|>original/recipes/ipython-sql/meta.yaml
- python
- prettytable
- ipython >=1.0 # [not win]
- ipython >=1.0 # [win and not py35]
- ipython >=1.0,<5 # [win and py35]
- sqlalchemy >=0.6.7
- sqlparse
- six
test:
imports:
- sql
about:
home: pypi.python.org/pypi/ipython... | - python
- prettytable
- ipython >=1.0 # [not win]
- ipython >=1.0 # [win and not py35]
- ipython >=1.0,<5 # [win and py35]
- sqlalchemy >=0.6.7
- sqlparse
- six
test:
imports:
- sql
about:
home: https://pypi.python.org/pypi/ipython-sql
license: MIT
summary: 'RDBMS acces... | <|file_sep|>original/recipes/ipython-sql/meta.yaml
- python
- prettytable
- ipython >=1.0 # [not win]
- ipython >=1.0 # [win and not py35]
- ipython >=1.0,<5 # [win and py35]
- sqlalchemy >=0.6.7
- sqlparse
- six
test:
imports:
- sql
about:
home: pypi.python.org/pypi/ipython... | f940f5d03e96164e13efc3dbf8e3f7732823a1fe | recipes/ipython-sql/meta.yaml | recipes/ipython-sql/meta.yaml | YAML |
<|file_sep|>appveyor.yml.diff
original:
updated:
# Download .NET Core preview SDK and add to PATH to work around
# https://github.com/NuGet/Home/issues/4337 until AppVeyor gets
# VS 15.6.
- ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.zip"
- ps: $env:... | install:
- ps: choco install gitversion.portable -pre -y -r --no-progress
# Download .NET Core preview SDK and add to PATH to work around
# https://github.com/NuGet/Home/issues/4337 until AppVeyor gets
# VS 15.6.
- ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-... | <|file_sep|>appveyor.yml.diff
original:
updated:
# Download .NET Core preview SDK and add to PATH to work around
# https://github.com/NuGet/Home/issues/4337 until AppVeyor gets
# VS 15.6.
- ps: $urlCurrent = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.zip"
- ps: $env:... | 78c938b4d17fd57b1c815f6f67263868067465c1 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/metadata/net.ddns.mlsoftlaberge.trycorder.txt
Auto Name:Trycorder
Summary:Upgrade your mobile device to a full-fledged tricorder
Description:
A Trycorder with sci-fi like looking and sensors, communication, remote-control
between all trycorders on the planet through the use of a tryserver.
.
Repo... | .
Repo Type:git
Repo:https://github.com/mlsoft/Trycorder5
Build:5.0.2,5
commit=790bfdf4df26e1bca6e132ac12372db39ebf43ff
subdir=app
gradle=yes
scandelete=tryserver,tryclient
Build:5.0.5,505
commit=5fa3b64d68d4d50aa71aed7411a35c30687efecb
subdir=app
gradle=yes
scandelete=tryserver,trycl... | <|file_sep|>original/metadata/net.ddns.mlsoftlaberge.trycorder.txt
Auto Name:Trycorder
Summary:Upgrade your mobile device to a full-fledged tricorder
Description:
A Trycorder with sci-fi like looking and sensors, communication, remote-control
between all trycorders on the planet through the use of a tryserver.
.
Repo... | 018bfd4da84dbf7d5abc826615f49b516b03d635 | metadata/net.ddns.mlsoftlaberge.trycorder.txt | metadata/net.ddns.mlsoftlaberge.trycorder.txt | Text |
<|file_sep|>original/.idea/runConfigurations/All_IDEA_Plugin_Tests.xml
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All IDEA Plugin Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
... | <component name="ProjectRunConfigurationManager">
<configuration default="false" name="All IDEA Plugin Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<module name="idea-plugin" />
<option name="ALTERNATIVE_JRE_PATH_... | <|file_sep|>original/.idea/runConfigurations/All_IDEA_Plugin_Tests.xml
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All IDEA Plugin Tests" type="JUnit" factoryName="JUnit">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
... | ced5ade4408255039be9829b56da850a4316c24d | .idea/runConfigurations/All_IDEA_Plugin_Tests.xml | .idea/runConfigurations/All_IDEA_Plugin_Tests.xml | XML |
<|file_sep|>original/README.md
x266 is an open source highly optimal software/hardware co-design architecture implementation of the next generation H.266 video codec.
It is demonstration research of industrialized implement video coding H.266. as soon as H.266 specification release, I will publishing my industrialize ... | x266 is an open source highly optimal software/hardware co-design architecture implementation of the next generation H.266 video codec.
It is demonstration research of industrialized implement video coding H.266. as soon as H.266 specification release, I will publishing my industrialize H.266 codec.
x266 based on Sof... | <|file_sep|>original/README.md
x266 is an open source highly optimal software/hardware co-design architecture implementation of the next generation H.266 video codec.
It is demonstration research of industrialized implement video coding H.266. as soon as H.266 specification release, I will publishing my industrialize ... | 608ef5cab9e2951da79c6eee27a3b5b44658cb79 | README.md | README.md | Markdown |
<|file_sep|>src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs.diff
original:
/// The largest cacheable size for the response body in bytes. The default is set to 1 MB.
updated:
/// The largest cacheable size for the response body in bytes. The default is set to 64 MB.
<|file_sep|>original... | using System.ComponentModel;
using Microsoft.AspNetCore.ResponseCaching.Internal;
namespace Microsoft.AspNetCore.Builder
{
public class ResponseCacheOptions
{
/// <summary>
/// The largest cacheable size for the response body in bytes. The default is set to 64 MB.
/// </summary>
... | <|file_sep|>src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs.diff
original:
/// The largest cacheable size for the response body in bytes. The default is set to 1 MB.
updated:
/// The largest cacheable size for the response body in bytes. The default is set to 64 MB.
<|file_sep|>original... | 4e10d191756c505d48a56bcaa499954c17f7f0f1 | src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs | src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs | C# |
<|file_sep|>dev.html.diff
original:
<title>Captiva License Viewer</title>
updated:
<title>CAPTIVA License Decoder</title>
<|file_sep|>original/dev.html
<!doctype html>
<html>
<head>
<title>Captiva License Viewer</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500' rel='style... | <!doctype html>
<html>
<head>
<title>CAPTIVA License Decoder</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500' rel='stylesheet' type='text/css'>
<style>
html, body { margin: 0; }
body { font-family: "Roboto", sans-serif; }
::-webkit-file-upload-button { curs... | <|file_sep|>dev.html.diff
original:
<title>Captiva License Viewer</title>
updated:
<title>CAPTIVA License Decoder</title>
<|file_sep|>original/dev.html
<!doctype html>
<html>
<head>
<title>Captiva License Viewer</title>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500' rel='style... | 8f970653f2436f43466d462998de09837805a09c | dev.html | dev.html | HTML |
<|file_sep|>integration_test/test_run_scenario.sh.diff
original:
local json_body='{ "users": '"$3"' , "settings" : { "test" : "<<\"test_value\">>" } }'
updated:
local json_body='{ "scenario": "'"$2"'", "users": '"$3"' , "settings" : { "test" : "<<\"test_value\">>" } }'
<|file_sep|>integration_test/test_run_scen... | enable_strict_mode
#############################
## amoc REST API functions ##
#############################
run_scenario() {
local port="$(amoc_container_port "$1")"
local json_body='{ "scenario": "'"$2"'", "users": '"$3"' , "settings" : { "test" : "<<\"test_value\">>" } }'
curl -X PATCH --header 'Content... | <|file_sep|>integration_test/test_run_scenario.sh.diff
original:
local json_body='{ "users": '"$3"' , "settings" : { "test" : "<<\"test_value\">>" } }'
updated:
local json_body='{ "scenario": "'"$2"'", "users": '"$3"' , "settings" : { "test" : "<<\"test_value\">>" } }'
<|file_sep|>integration_test/test_run_scen... | 1ca570c109ed036275ff19219f0f07b3a7563cbe | integration_test/test_run_scenario.sh | integration_test/test_run_scenario.sh | Shell |
<|file_sep|>lib/urban_dictionary.rb.diff
original:
rsp = Net::HTTP.start(url.host, url.port) {|http|
updated:
rsp = Net::HTTP.start(url.host, url.port) do |http|
<|file_sep|>original/lib/urban_dictionary.rb
require 'urban_dictionary/word'
require 'urban_dictionary/entry'
module UrbanDictionary
DEFINE_URL = '... | require 'urban_dictionary/word'
require 'urban_dictionary/entry'
module UrbanDictionary
DEFINE_URL = 'http://www.urbandictionary.com/define.php'
RANDOM_URL = 'http://www.urbandictionary.com/random.php'
def self.define(str)
Word.from_url("#{DEFINE_URL}?term=#{URI.encode(str)}")
end
def self.random_word
... | <|file_sep|>lib/urban_dictionary.rb.diff
original:
rsp = Net::HTTP.start(url.host, url.port) {|http|
updated:
rsp = Net::HTTP.start(url.host, url.port) do |http|
<|file_sep|>original/lib/urban_dictionary.rb
require 'urban_dictionary/word'
require 'urban_dictionary/entry'
module UrbanDictionary
DEFINE_URL = '... | 06a25b15e134b2c2b7a59c05d6c315521fbfe0ff | lib/urban_dictionary.rb | lib/urban_dictionary.rb | Ruby |
<|file_sep|>.github/workflows/docker-build.yml.diff
original:
fetch-depth: '0'
updated:
fetch-depth: 0
<|file_sep|>.github/workflows/docker-build.yml.diff
original:
if: github.ref == 'refs/heads/master'
updated:
<|file_sep|>.github/workflows/docker-build.yml.diff
original:
updated:
conte... | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Login to DockerHub
if: github.ref == 'refs/heads/master'
uses: docker/login-action@v1
with:
... | <|file_sep|>.github/workflows/docker-build.yml.diff
original:
fetch-depth: '0'
updated:
fetch-depth: 0
<|file_sep|>.github/workflows/docker-build.yml.diff
original:
if: github.ref == 'refs/heads/master'
updated:
<|file_sep|>.github/workflows/docker-build.yml.diff
original:
updated:
conte... | 9fcd439ffc9f56eb4abc0582bacba2d02d08874b | .github/workflows/docker-build.yml | .github/workflows/docker-build.yml | YAML |
<|file_sep|>original/tests/test_unlocking.py
<|file_sep|>current/tests/test_unlocking.py
<|file_sep|>updated/tests/test_unlocking.py | # Tests for SecretStorage
# Author: Dmitry Shachnev, 2018
# License: BSD
import unittest
from secretstorage import dbus_init, get_any_collection
from secretstorage.util import BUS_NAME
from secretstorage.exceptions import LockedException
@unittest.skipIf(BUS_NAME == "org.freedesktop.secrets",
"This... | <|file_sep|>original/tests/test_unlocking.py
<|file_sep|>current/tests/test_unlocking.py
<|file_sep|>updated/tests/test_unlocking.py
# Tests for SecretStorage
# Author: Dmitry Shachnev, 2018
# License: BSD
import unittest
from secretstorage import dbus_init, get_any_collection
from secretstorage.util import BUS_NAM... | f5b185fa2bba29efe3c1db2cd6c6a50188be24e3 | tests/test_unlocking.py | tests/test_unlocking.py | Python |
<|file_sep|>original/README.md
# Ancheera
A Granblue Fantasy companion Chrome extension.
## Installation
To install the extension, go to the Chrome App Store and add the extension to Chrome.
## Usage
To use AnCheera, Open the Developer Tools and select the "Ancheera" tab.
## Background Information
Please see the HI... | # Ancheera
A Granblue Fantasy companion Chrome extension.
## Installation
To install the extension, go to the Chrome App Store and add the extension to Chrome.
## Usage
To use AnCheera, Open the Developer Tools and select the "Ancheera" tab.
## Background Information
Please see the [History](HISTORY.md) and [Develo... | <|file_sep|>original/README.md
# Ancheera
A Granblue Fantasy companion Chrome extension.
## Installation
To install the extension, go to the Chrome App Store and add the extension to Chrome.
## Usage
To use AnCheera, Open the Developer Tools and select the "Ancheera" tab.
## Background Information
Please see the HI... | 2e17389dee5f60e64cf09b5281ce3884c3362654 | README.md | README.md | Markdown |
<|file_sep|>mudlib/mud/home/Kotaka/sys/testd.c.diff
original:
updated:
#include <kotaka/assert.h>
<|file_sep|>mudlib/mud/home/Kotaka/sys/testd.c.diff
original:
updated:
private void test_qsort()
{
int *arr, i;
arr = allocate(1000);
for (i = 0; i < 1000; i++) {
arr[i] = random(1000000);
}
SUBD->qsort(arr, 0,... | {
int *arr, i;
arr = allocate(1000);
for (i = 0; i < 1000; i++) {
arr[i] = random(1000000);
}
SUBD->qsort(arr, 0, 1000);
for (i = 0; i < 999; i++) {
ASSERT(arr[i] <= arr[i + 1]);
}
}
void test()
{
LOGD->post_message("test", LOG_DEBUG, "Testing qsort...");
test_qsort();
} | <|file_sep|>mudlib/mud/home/Kotaka/sys/testd.c.diff
original:
updated:
#include <kotaka/assert.h>
<|file_sep|>mudlib/mud/home/Kotaka/sys/testd.c.diff
original:
updated:
private void test_qsort()
{
int *arr, i;
arr = allocate(1000);
for (i = 0; i < 1000; i++) {
arr[i] = random(1000000);
}
SUBD->qsort(arr, 0,... | c970d8d8c6101a7e00fe91aef9a751d41c433569 | mudlib/mud/home/Kotaka/sys/testd.c | mudlib/mud/home/Kotaka/sys/testd.c | C |
<|file_sep|>original/README.md
# GeodesyML
<|file_sep|>current/README.md
# GeodesyML
<|file_sep|>updated/README.md | # GeodesyML
The [GitHub Pages](http://geoscienceaustralia.github.io/GeodesyML) contain the
automatically generated HTML documentation for GeodesyML and all supporting schemas. | <|file_sep|>original/README.md
# GeodesyML
<|file_sep|>current/README.md
# GeodesyML
<|file_sep|>updated/README.md
# GeodesyML
The [GitHub Pages](http://geoscienceaustralia.github.io/GeodesyML) contain the
automatically generated HTML documentation for GeodesyML and all supporting schemas. | 271b5fd1662b22fa9f2cbc89b258ee86c7536b6d | README.md | README.md | Markdown |
<|file_sep|>original/system/_path.zsh
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$HOME/.bin:/usr/local/texlive/2016/bin/x86_64-darwin:$PATH"
export SOCKET_DIR="/usr/local/var/www"
export LOG_DIR="/usr/local/var/log/nginx"
... | export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$HOME/.bin:/usr/local/texlive/2016/bin/x86_64-darwin:$PATH"
export SOCKET_DIR="/usr/local/var/www"
export LOG_DIR="/usr/local/var/log/nginx"
if [ "$(uname -s)" == "Linux" ]; then... | <|file_sep|>original/system/_path.zsh
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"
export PATH="./bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$HOME/.bin:/usr/local/texlive/2016/bin/x86_64-darwin:$PATH"
export SOCKET_DIR="/usr/local/var/www"
export LOG_DIR="/usr/local/var/log/nginx"
... | 0dd6466c2eb84e6b31ff1bbdbe2074d7f2354e15 | system/_path.zsh | system/_path.zsh | Shell |
<|file_sep|>original/lib/remindice.rb
require "remindice/version"
require "thor"
module Remindice
class Commands < Thor
end
end
<|file_sep|>current/lib/remindice.rb
require "remindice/version"
require "thor"
module Remindice
class Commands < Thor
end
end
<|file_sep|>updated/lib/remindice.rb | require "remindice/version"
require "thor"
module Remindice
TASK_FILENAME = "~/.reamindice_tasks"
@@tasks = if File.exists?(TASK_FILENAME); File.readlines(TASK_FILENAME) else [] end
class Commands < Thor
end
end | <|file_sep|>original/lib/remindice.rb
require "remindice/version"
require "thor"
module Remindice
class Commands < Thor
end
end
<|file_sep|>current/lib/remindice.rb
require "remindice/version"
require "thor"
module Remindice
class Commands < Thor
end
end
<|file_sep|>updated/lib/remindice.rb
require "remindice... | 82254f02f7e4137c83abb4927f3a4a3177199c58 | lib/remindice.rb | lib/remindice.rb | Ruby |
<|file_sep|>original/DeclarativeLayout.podspec
Pod::Spec.new do |s|
s.name = 'DeclarativeLayout'
s.version = '0.2.0'
s.summary = 'A declarative, expressive and efficient way to lay out your views.'
s.description = <<-DESC
* Declarative - Tell the framework what the layout of ... | Pod::Spec.new do |s|
s.name = 'DeclarativeLayout'
s.version = '0.3.0'
s.summary = 'A declarative, expressive and efficient way to lay out your views.'
s.description = <<-DESC
* Declarative - Tell the framework what the layout of your views should be and let the framework inte... | <|file_sep|>original/DeclarativeLayout.podspec
Pod::Spec.new do |s|
s.name = 'DeclarativeLayout'
s.version = '0.2.0'
s.summary = 'A declarative, expressive and efficient way to lay out your views.'
s.description = <<-DESC
* Declarative - Tell the framework what the layout of ... | c0545f4fe09e74803eee670be26bf03e86153f77 | DeclarativeLayout.podspec | DeclarativeLayout.podspec | Ruby |
<|file_sep|>original/tests/integration/test_for_404s.pl
<|file_sep|>current/tests/integration/test_for_404s.pl
<|file_sep|>updated/tests/integration/test_for_404s.pl | use strict;
use warnings;
use Test::More;
use Text::CSV;
use LWP::UserAgent;
my $csv = Text::CSV->new( { binary => 1 } )
or die "Cannot use CSV: ".Text::CSV->error_diag();
my $ua = LWP::UserAgent->new( max_redirect => 0 );
open( my $fh, "<", "dist/directgov_all_mappings.csv" )
or die "dist/directgov_all_ma... | <|file_sep|>original/tests/integration/test_for_404s.pl
<|file_sep|>current/tests/integration/test_for_404s.pl
<|file_sep|>updated/tests/integration/test_for_404s.pl
use strict;
use warnings;
use Test::More;
use Text::CSV;
use LWP::UserAgent;
my $csv = Text::CSV->new( { binary => 1 } )
or die "Cannot use CSV: ... | 796f8ce93860011326557377bc2265a286aebadf | tests/integration/test_for_404s.pl | tests/integration/test_for_404s.pl | Perl |
<|file_sep|>Resources/config/routing/posts.yaml.diff
original:
orbitale_cms_post:
updated:
orbitale_cms_posts:
<|file_sep|>original/Resources/config/routing/posts.yaml
orbitale_cms_post:
path: /{date}/{slugs}
requirements:
slugs: "([a-zA-Z0-9_-]+\/?)*"
defaults:
_controller: Orbitale\Bundle\CmsBundle\Cont... | orbitale_cms_posts:
path: /{date}/{slugs}
requirements:
slugs: "([a-zA-Z0-9_-]+\/?)*"
defaults:
_controller: Orbitale\Bundle\CmsBundle\Controller\PostsController::indexAction
_date_format: "Y-m-d" | <|file_sep|>Resources/config/routing/posts.yaml.diff
original:
orbitale_cms_post:
updated:
orbitale_cms_posts:
<|file_sep|>original/Resources/config/routing/posts.yaml
orbitale_cms_post:
path: /{date}/{slugs}
requirements:
slugs: "([a-zA-Z0-9_-]+\/?)*"
defaults:
_controller: Orbitale\Bundle\CmsBundle\Cont... | a25b35e23a96d64fac9c4c622dc837253bb52fe3 | Resources/config/routing/posts.yaml | Resources/config/routing/posts.yaml | YAML |
<|file_sep|>original/aliases/misc.zsh
# Exports
export DATE_FORMAT=$(date +%Y-%m-%d-%H-%M-%S)
# Personal preferences
rc() {
nano ${ZSH_CUSTOM}/$1.zsh
}
alias rezsh='for f in ${ZSH_CUSTOM}/*.zsh; do echo "Loading ${f}"; source ${f}; done'
lzsh() {
less ${ZSH_CUSTOM}/$1.zsh
}
# Memory jogs
alias lines='echo "cat -n... | # Exports
export DATE_FORMAT=$(date +%Y-%m-%d-%H-%M-%S)
# Personal preferences
rc() {
${EDITOR:-vim} ${ZSH_CUSTOM}/$1.zsh
}
alias rezsh='for f in ${ZSH_CUSTOM}/*.zsh; do echo "Loading ${f}"; source ${f}; done'
lzsh() {
less ${ZSH_CUSTOM}/$1.zsh
}
# Memory jogs
alias lines='echo "cat -n FILE"'
alias fixmonitor='ec... | <|file_sep|>original/aliases/misc.zsh
# Exports
export DATE_FORMAT=$(date +%Y-%m-%d-%H-%M-%S)
# Personal preferences
rc() {
nano ${ZSH_CUSTOM}/$1.zsh
}
alias rezsh='for f in ${ZSH_CUSTOM}/*.zsh; do echo "Loading ${f}"; source ${f}; done'
lzsh() {
less ${ZSH_CUSTOM}/$1.zsh
}
# Memory jogs
alias lines='echo "cat -n... | be3ec18e32c89190680ff36b2eef9e1ca2ef5465 | aliases/misc.zsh | aliases/misc.zsh | Shell |
<|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
Sphinx==1.7.5
coverage==4.5.1
cryptography==2.2.2
PyYAML==3.13
pytest==3.6.0
pytest-runner==4.2
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox=... | bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.1.2
Sphinx==1.7.5
coverage==4.5.1
cryptography==2.2.2
PyYAML==3.13
pytest==3.6.0
pytest-runner==4.2 | <|file_sep|>original/requirements_dev.txt
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
Sphinx==1.7.5
coverage==4.5.1
cryptography==2.2.2
PyYAML==3.13
pytest==3.6.0
pytest-runner==4.2
<|file_sep|>current/requirements_dev.txt
bumpversion==0.5.3
wheel==0.31.1
watchdog==0.8.3
flake8==3.5.0
tox=... | e79d5286c2b6f21be668e3a757a57e585a1dfa9f | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/requirements.txt
# pip
# wheel
cython==0.27.1
# key components for improving Python project
# we will install them on "Testing" section
# but let's lock version here and use bot to trigger each version update
pydocstyle==2.1.1
pylint==1.7.4
# flake8==3.4.1
mypy-lang==0.5.0
coverage==4.4.1
# Test... | # pip
# wheel
cython==0.27.2
# key components for improving Python project
# we will install them on "Testing" section
# but let's lock version here and use bot to trigger each version update
pydocstyle==2.1.1
pylint==1.7.4
# flake8==3.4.1
mypy-lang==0.5.0
coverage==4.4.1
# Testing
pytest==3.2.3
# pytest-flake8==0.8... | <|file_sep|>original/requirements.txt
# pip
# wheel
cython==0.27.1
# key components for improving Python project
# we will install them on "Testing" section
# but let's lock version here and use bot to trigger each version update
pydocstyle==2.1.1
pylint==1.7.4
# flake8==3.4.1
mypy-lang==0.5.0
coverage==4.4.1
# Test... | cf6144f7e7a283be9545b05f1c88af220e0b9d7b | requirements.txt | requirements.txt | Text |
<|file_sep|>spec/spec_helper.rb.diff
original:
updated:
class Spec::Example::Configuration
def add_guard(klass, name)
guarded = nil
self.prepend_before(:all) do
klass.instance_eval do
guarded = instance_method(name)
define_method name do |*args|
raise "Testing guards violated... | self.prepend_after(:all) do
klass.instance_eval do
define_method name, guarded
end
end
end
end
# prevent the use of `` in tests
Spec::Runner.configure do |configuration|
# load this here so it's covered by the `` guard
configuration.prepend_before(:all) do
module GitHub
load... | <|file_sep|>spec/spec_helper.rb.diff
original:
updated:
class Spec::Example::Configuration
def add_guard(klass, name)
guarded = nil
self.prepend_before(:all) do
klass.instance_eval do
guarded = instance_method(name)
define_method name do |*args|
raise "Testing guards violated... | 11646207f70190072204b82c861e5250a7ad3c26 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/src/stylus/main.styl
body
height 100%
font-size 18px
font-family Lato, sans-serif
font-weight 300
margin 0
a
color link-color
h1, h2, h3, h4, h5
font-weight 400
@import layout
@import helpers
@import buttons
@import alerts
@import builds
@import projects
@import workers
<|file_sep... | font-size 18px
font-family Lato, sans-serif
font-weight 300
margin 0
a
color link-color
h1, h2, h3, h4, h5
font-weight 400
img
max-width 100%
@import layout
@import helpers
@import buttons
@import alerts
@import builds
@import projects
@import workers | <|file_sep|>original/src/stylus/main.styl
body
height 100%
font-size 18px
font-family Lato, sans-serif
font-weight 300
margin 0
a
color link-color
h1, h2, h3, h4, h5
font-weight 400
@import layout
@import helpers
@import buttons
@import alerts
@import builds
@import projects
@import workers
<|file_sep... | 23c4ed70f01c9243e2704fbceff08d98169569f7 | src/stylus/main.styl | src/stylus/main.styl | Stylus |
<|file_sep|>original/edit-cosine-cluster.py
<|file_sep|>current/edit-cosine-cluster.py
<|file_sep|>updated/edit-cosine-cluster.py | #!/usr/bin/env python2.7
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "... | <|file_sep|>original/edit-cosine-cluster.py
<|file_sep|>current/edit-cosine-cluster.py
<|file_sep|>updated/edit-cosine-cluster.py
#!/usr/bin/env python2.7
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for addi... | 642b777f5eabc02abd54208e3895c0b1898401db | edit-cosine-cluster.py | edit-cosine-cluster.py | Python |
<|file_sep|>original/requirements/dev.txt
-r test.txt
autoenv==1.0.0
autopep8==1.3.1
bumpversion==0.5.3
django-debug-toolbar==1.7
django-extensions==1.7.7
docker==2.1.0
docker-compose==1.11.1
elpy
epc
flake8
grip==4.3.2
importmagic
ipdb==0.10.1
ipython==5.1.0
ipython-genutils==0.1.0
jedi
pre-commit==0.9.3
pylint==1.6.4... | -r test.txt
autoenv==1.0.0
autopep8==1.3.1
bumpversion==0.5.3
django-debug-toolbar==1.7
django-extensions==1.7.7
docker==2.1.0
docker-compose==1.11.2
elpy
epc
flake8
grip==4.3.2
importmagic
ipdb==0.10.1
ipython==5.1.0
ipython-genutils==0.1.0
jedi
pre-commit==0.9.3
pylint==1.6.4
yapf | <|file_sep|>original/requirements/dev.txt
-r test.txt
autoenv==1.0.0
autopep8==1.3.1
bumpversion==0.5.3
django-debug-toolbar==1.7
django-extensions==1.7.7
docker==2.1.0
docker-compose==1.11.1
elpy
epc
flake8
grip==4.3.2
importmagic
ipdb==0.10.1
ipython==5.1.0
ipython-genutils==0.1.0
jedi
pre-commit==0.9.3
pylint==1.6.4... | a703a380f0a7fa0513134fcd2d2195665634126a | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>main.py.diff
original:
import ConfigParser
updated:
import configparser
<|file_sep|>main.py.diff
original:
cp = ConfigParser.ConfigParser()
updated:
cp = configparser.ConfigParser()
<|file_sep|>original/main.py
from curses import wrapper
from ui import ChatUI
from client import Client
import ConfigP... | from curses import wrapper
from ui import ChatUI
from client import Client
import configparser
def main(stdscr):
cp = configparser.ConfigParser()
cp.read('config.cfg')
username = cp.get('credentials', 'username')
password = cp.get('credentials', 'password').encode('utf-8')
stdscr.clear()
ui = ... | <|file_sep|>main.py.diff
original:
import ConfigParser
updated:
import configparser
<|file_sep|>main.py.diff
original:
cp = ConfigParser.ConfigParser()
updated:
cp = configparser.ConfigParser()
<|file_sep|>original/main.py
from curses import wrapper
from ui import ChatUI
from client import Client
import ConfigP... | dc87229eeeef35325d72a1b97e0790204673a5aa | main.py | main.py | Python |
<|file_sep|>original/.github/pull_request_template.md
<|file_sep|>current/.github/pull_request_template.md
<|file_sep|>updated/.github/pull_request_template.md | ### Description of proposed changes
<!-- What is the goal of this pull request? What does this pull request change? -->
### Related issue(s)
<!--
Link any related issues here. Use GitHub's special keywords if appropriate¹.
Type `#` followed the name of an issue and GitHub will auto-suggest the issue number for you.
... | <|file_sep|>original/.github/pull_request_template.md
<|file_sep|>current/.github/pull_request_template.md
<|file_sep|>updated/.github/pull_request_template.md
### Description of proposed changes
<!-- What is the goal of this pull request? What does this pull request change? -->
### Related issue(s)
<!--
Link any ... | 06bfcf3b00a5f7b5fac5459ed5ba6e11e2d5fcfa | .github/pull_request_template.md | .github/pull_request_template.md | Markdown |
<|file_sep|>original/.teamcity/_Self/buildTypes/ReleaseDev.kt
<|file_sep|>current/.teamcity/_Self/buildTypes/ReleaseDev.kt
<|file_sep|>updated/.teamcity/_Self/buildTypes/ReleaseDev.kt | package _Self.buildTypes
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType
import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode
import jetbrains.buildServer.configs.kotlin.v2019_2.DslContext
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.vcsLabeling
import jetbrains.buildServ... | <|file_sep|>original/.teamcity/_Self/buildTypes/ReleaseDev.kt
<|file_sep|>current/.teamcity/_Self/buildTypes/ReleaseDev.kt
<|file_sep|>updated/.teamcity/_Self/buildTypes/ReleaseDev.kt
package _Self.buildTypes
import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType
import jetbrains.buildServer.configs.kotlin.v2... | 3ffe250f78cc70a895a2ea8fac8b0630daee070e | .teamcity/_Self/buildTypes/ReleaseDev.kt | .teamcity/_Self/buildTypes/ReleaseDev.kt | Kotlin |
<|file_sep|>original/critmem.h
#ifndef CRITMEM_H
#define CRITMEM_H
#include <sys/types.h>
void *mycritmalloc(const char *f, long, size_t size, const char *message);
void *mycritcalloc(const char *f, long, size_t size, const char *message);
void *mycritrealloc(const char *f, long, void *a, size_t size,
const cha... | #ifndef CRITMEM_H
#define CRITMEM_H
#include <sys/types.h>
/*@only@*//*@out@ */ void *mycritmalloc(const char *f, long, size_t size,
const char *message);
/*@only@*/ void *mycritcalloc(const char *f, long, size_t size,
const char *message);
/*@only@*//*@out@ *//*@notnull@ */ void *mycritrealloc(const ch... | <|file_sep|>original/critmem.h
#ifndef CRITMEM_H
#define CRITMEM_H
#include <sys/types.h>
void *mycritmalloc(const char *f, long, size_t size, const char *message);
void *mycritcalloc(const char *f, long, size_t size, const char *message);
void *mycritrealloc(const char *f, long, void *a, size_t size,
const cha... | 12941ad2f700f9a2ca22057a099b1152fc86be74 | critmem.h | critmem.h | C |
<|file_sep|>src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java.diff
original:
public static final long PUBLISH_WAIT_TIME = 200l;
updated:
public static final long PUBLISH_WAIT_TIME = 400l;
<|file_sep|>src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java.diff
original:
public stat... | package org.ingrahamrobotics.robottables;
public class TimeConstants {
/**
* Time to wait from when publishing a table to sending updates for it.
*/
public static final long PUBLISH_WAIT_TIME = 400l;
/**
* Time between full updates sent.
*/
public static final long UPDATE_INTERVAL... | <|file_sep|>src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java.diff
original:
public static final long PUBLISH_WAIT_TIME = 200l;
updated:
public static final long PUBLISH_WAIT_TIME = 400l;
<|file_sep|>src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java.diff
original:
public stat... | 613ba2d57e469cb6084eaf90516cccbf4bcaea6c | src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java | src/main/java/org/ingrahamrobotics/robottables/TimeConstants.java | Java |
<|file_sep|>.prettierrc.yml.diff
original:
trailingComma: 'all'
updated:
trailingComma: "all"
<|file_sep|>.prettierrc.yml.diff
original:
- files: '*.md'
updated:
- files: "*.md"
<|file_sep|>.prettierrc.yml.diff
original:
- files: 'Makefile'
updated:
- files: "Makefile"
<|file_sep|>original/.prettierrc.yml
semi:... | semi: true
trailingComma: "all"
singleQuote: true
printWidth: 80
useTabs: false
tabWidth: 2
endOfLine: lf
overrides:
- files: "*.md"
options:
tabWidth: 4
- files: "Makefile"
options:
tabWidth: 4
useTabs: true
- files: "*.yml"
options:
singleQuote: false | <|file_sep|>.prettierrc.yml.diff
original:
trailingComma: 'all'
updated:
trailingComma: "all"
<|file_sep|>.prettierrc.yml.diff
original:
- files: '*.md'
updated:
- files: "*.md"
<|file_sep|>.prettierrc.yml.diff
original:
- files: 'Makefile'
updated:
- files: "Makefile"
<|file_sep|>original/.prettierrc.yml
semi:... | eeeb52036a182af96f5351bccdef9eaa5736aa11 | .prettierrc.yml | .prettierrc.yml | YAML |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: python
python: 3.5
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pypy3
- TOXENV=pep8
install:
- pip install tox
script:
- tox -e $TOXENV | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: python
python: 3.5
env:
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pypy3
- TOXENV=pep8
install:
- pip install tox
script:
- tox -e $TOXENV | 624f4629467ae4a3bf468ad31efba122a1d003ca | .travis.yml | .travis.yml | YAML |
<|file_sep|>packages/cp/cps-except.yaml.diff
original:
hash: 0df5e1d201735b4f02ff997b02c769dc6f123d09f9bd50f758d72a3d40287928
updated:
hash: 74953adf0a50ef0f7fc6484bd773ebd25c660466ea1265152689e35c833cf767
<|file_sep|>packages/cp/cps-except.yaml.diff
original:
updated:
- 0.0.1.2
<|file_sep|>original/packages/cp/cps-ex... | homepage: ''
changelog-type: ''
hash: 74953adf0a50ef0f7fc6484bd773ebd25c660466ea1265152689e35c833cf767
test-bench-deps: {}
maintainer: kristof@resonata.be
synopsis: ExceptT replacement in CPS style
changelog: ''
basic-deps:
mtl-compat: '>=0.2.1'
base: '>=3 && <5'
mtl: '>=2.1.3'
all-versions:
- 0.0.1.0
- 0.0.1.1
-... | <|file_sep|>packages/cp/cps-except.yaml.diff
original:
hash: 0df5e1d201735b4f02ff997b02c769dc6f123d09f9bd50f758d72a3d40287928
updated:
hash: 74953adf0a50ef0f7fc6484bd773ebd25c660466ea1265152689e35c833cf767
<|file_sep|>packages/cp/cps-except.yaml.diff
original:
updated:
- 0.0.1.2
<|file_sep|>original/packages/cp/cps-ex... | 25233cc20b5a722f0af48112698e3465c7403dc1 | packages/cp/cps-except.yaml | packages/cp/cps-except.yaml | YAML |
<|file_sep|>original/package.json
"name": "jasmine-xpath-react",
"version": "0.0.1",
"description": "XPath matchers for React elements.",
"main": "lib/jasmine_xpath_react.js",
"author": "Jonas Amundsen <jonasba@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/badeball/jasmine-xpa... | "name": "jasmine-xpath-react",
"version": "0.0.1",
"description": "XPath matchers for React elements.",
"main": "lib/jasmine_xpath_react.js",
"author": "Jonas Amundsen <jonasba@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/badeball/jasmine-xpath-react.git"
},
"dependencies... | <|file_sep|>original/package.json
"name": "jasmine-xpath-react",
"version": "0.0.1",
"description": "XPath matchers for React elements.",
"main": "lib/jasmine_xpath_react.js",
"author": "Jonas Amundsen <jonasba@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/badeball/jasmine-xpa... | 9184ade2b9400fb703ecf1746ac70486e5a5e291 | package.json | package.json | JSON |
<|file_sep|>original/build.sbt
crossScalaVersions := Seq("2.12.2", "2.11.11", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (is... |
crossScalaVersions := Seq("2.12.2", "2.11.11", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (isSnapshot.value) {
Some("Art... | <|file_sep|>original/build.sbt
crossScalaVersions := Seq("2.12.2", "2.11.11", "2.10.6")
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.3" % Test
)
)
publishTo := {
val host = "https://flow.artifactoryonline.com/flow"
if (is... | 5f109e0c1c7ad857f8f8c9ef3d6b564cffff044f | build.sbt | build.sbt | Scala |
<|file_sep|>original/README.rst
===============
recaptcha_vault
===============
Introduction
------------
A public document vault for django featuring protection againt enumeration
via recaptcha.
recaptcha_vault is a django application. Read more about Django:
https://www.djangoproject.com/
License
-------
This softw... | ===============
recaptcha_vault
===============
.. image:: https://landscape.io/github/cskarby/recaptcha_vault/master/landscape.svg?style=flat
:target: https://landscape.io/github/cskarby/recaptcha_vault/master
:alt: Code Health
Introduction
------------
A public document vault for django featuring protection a... | <|file_sep|>original/README.rst
===============
recaptcha_vault
===============
Introduction
------------
A public document vault for django featuring protection againt enumeration
via recaptcha.
recaptcha_vault is a django application. Read more about Django:
https://www.djangoproject.com/
License
-------
This softw... | 6a58ecdd81d289522fb705cd47888f7c60de253c | README.rst | README.rst | reStructuredText |
<|file_sep|>original/build/release.sh
# npm run lint
# npm run flow
# npm run test:cover
# npm run test:e2e
# npm run test:ssr
# npm run test:sauce
# build
VERSION=$VERSION npm run build
# commit
git add -A
git commit -m "[build] $VERSION"
# npm version $VERSION --mess... | # npm run lint
# npm run flow
# npm run test:cover
# npm run test:e2e
# npm run test:ssr
# npm run test:sauce
# build
VERSION=$VERSION npm run build
# commit
git add -A
git commit -m "[build] $VERSION"
# npm version $VERSION --message "[release] $VERSION"
# publish... | <|file_sep|>original/build/release.sh
# npm run lint
# npm run flow
# npm run test:cover
# npm run test:e2e
# npm run test:ssr
# npm run test:sauce
# build
VERSION=$VERSION npm run build
# commit
git add -A
git commit -m "[build] $VERSION"
# npm version $VERSION --mess... | cc486440025d0ef5f1a6af8b718f3ca1b1ba8553 | build/release.sh | build/release.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
updated:
cache: bundler
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.5.0
before_install: gem install bundler -v 1.6.1
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 2.3.0
- 2.5.0
before_install: gem install... | sudo: false
language: ruby
cache: bundler
rvm:
- 2.3.0
- 2.5.0
before_install: gem install bundler | <|file_sep|>.travis.yml.diff
original:
updated:
cache: bundler
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.3.0
- 2.5.0
before_install: gem install bundler -v 1.6.1
<|file_sep|>current/.travis.yml
sudo: false
language: ruby
cache: bundler
rvm:
- 2.3.0
- 2.5.0
before_install: gem install... | 72724e58e5feb6cad754c310f14467baec042f6e | .travis.yml | .travis.yml | YAML |
<|file_sep|>plugins/n98-magerun/n98-magerun.plugin.zsh.diff
original:
n98-magerun.phar --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
updated:
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
<|file_sep|>plugins/n98-magerun/n98-magerun.plug... | # VERSION: 1.0.0
# ------------------------------------------------------------------------------
# n98-magerun basic command completion
_n98_magerun_get_command_list () {
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
}
_n98_magerun () {
_arguments '1: :->command' ... | <|file_sep|>plugins/n98-magerun/n98-magerun.plugin.zsh.diff
original:
n98-magerun.phar --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
updated:
$_comp_command1 --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z\-:]+/ { print $1 }'
<|file_sep|>plugins/n98-magerun/n98-magerun.plug... | 3eb7ce1e38252250e9d732f56f17b6fea2d167b5 | plugins/n98-magerun/n98-magerun.plugin.zsh | plugins/n98-magerun/n98-magerun.plugin.zsh | Shell |
<|file_sep|>src/routes/discover/index.js.diff
original:
updated:
const exploreRoot = store => ({
path: '/explore',
getComponents,
onEnter: (nextState, replace) => {
const { params: { type } } = nextState
const { authentication } = store.getState()
const rootPath = authentication.isLoggedIn ? '/disco... | },
})
const discover = {
path: 'discover(/:type)',
getComponents,
onEnter: bindOnEnter('/discover'),
}
export {
indexRoute,
getComponents,
discover,
explore,
exploreRoot,
}
export default [
discover,
explore,
] | <|file_sep|>src/routes/discover/index.js.diff
original:
updated:
const exploreRoot = store => ({
path: '/explore',
getComponents,
onEnter: (nextState, replace) => {
const { params: { type } } = nextState
const { authentication } = store.getState()
const rootPath = authentication.isLoggedIn ? '/disco... | 5e2ef58ca8b13f51c721ccb281f98a020e805e56 | src/routes/discover/index.js | src/routes/discover/index.js | JavaScript |
<|file_sep|>jsonpull.h.diff
original:
updated:
// These types can be returned by json_parse()
<|file_sep|>original/jsonpull.h
typedef enum json_type {
JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,
JSON_COMMA, JSON_COLON, JSON_ITEM, JSON_KEY, JSON_VALUE,
} json_type;
typedef str... | typedef enum json_type {
// These types can be returned by json_parse()
JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,
// These and JSON_HASH and JSON_ARRAY can be called back by json_parse_with_separators()
JSON_COMMA, JSON_COLON,
// These are only used internally as expectat... | <|file_sep|>jsonpull.h.diff
original:
updated:
// These types can be returned by json_parse()
<|file_sep|>original/jsonpull.h
typedef enum json_type {
JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,
JSON_COMMA, JSON_COLON, JSON_ITEM, JSON_KEY, JSON_VALUE,
} json_type;
typedef str... | 4a14e0945732e5c67aca01d6bd070d00d1697d9a | jsonpull.h | jsonpull.h | C |
<|file_sep|>original/asm/por_fix_infinite_quest_rewards.asm
<|file_sep|>current/asm/por_fix_infinite_quest_rewards.asm
<|file_sep|>updated/asm/por_fix_infinite_quest_rewards.asm | .nds
.relativeinclude on
.erroronwarning on
.open "ftc/arm9.bin", 02000000h
; Disables the start button exiting the quests menu.
; The B button can be used to exit the quest menu instead.
; This prevents taking quest rewards over and over by exiting before the quest is marked as complete.
; Changes how the quest men... | <|file_sep|>original/asm/por_fix_infinite_quest_rewards.asm
<|file_sep|>current/asm/por_fix_infinite_quest_rewards.asm
<|file_sep|>updated/asm/por_fix_infinite_quest_rewards.asm
.nds
.relativeinclude on
.erroronwarning on
.open "ftc/arm9.bin", 02000000h
; Disables the start button exiting the quests menu.
; The B b... | fb43463750411823d9b42afb011b90e9ed4e7211 | asm/por_fix_infinite_quest_rewards.asm | asm/por_fix_infinite_quest_rewards.asm | Assembly |
<|file_sep|>original/ci/docker/ubuntu-16.04/Dockerfile
FROM ubuntu:16.04
MAINTAINER "Jose Fonseca" <jfonseca@vmware.com>
ENV container docker
RUN apt-get update && apt-get install -y \
build-essential \
zlib1g-dev \
libdwarf-dev \
libx11-dev \
libgl-dev \
libwaffle-dev \
python2.7 \
python3 \
ninja-build \
c... | FROM ubuntu:16.04
MAINTAINER "Jose Fonseca" <jfonseca@vmware.com>
ENV container docker
# https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
RUN \
echo deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main > /etc/apt/sources.list.d/ubuntu-toolchain-r.list && \
apt-key adv --keyserver key... | <|file_sep|>original/ci/docker/ubuntu-16.04/Dockerfile
FROM ubuntu:16.04
MAINTAINER "Jose Fonseca" <jfonseca@vmware.com>
ENV container docker
RUN apt-get update && apt-get install -y \
build-essential \
zlib1g-dev \
libdwarf-dev \
libx11-dev \
libgl-dev \
libwaffle-dev \
python2.7 \
python3 \
ninja-build \
c... | 6df2d0c9408673f1a2dfd2fcef5ee1cf2d94e97e | ci/docker/ubuntu-16.04/Dockerfile | ci/docker/ubuntu-16.04/Dockerfile | unknown |
<|file_sep|>original/views.py
from django.conf import settings
from django.http import HttpResponse
from django.utils.importlib import import_module
def warmup(request):
"""
Provides default procedure for handling warmup requests on App Engine.
Just add this view to your main urls.py.
"""
for app i... | from django.conf import settings
from django.http import HttpResponse
from django.utils.importlib import import_module
def warmup(request):
"""
Provides default procedure for handling warmup requests on App Engine.
Just add this view to your main urls.py.
"""
for app in settings.INSTALLED_APPS:
... | <|file_sep|>original/views.py
from django.conf import settings
from django.http import HttpResponse
from django.utils.importlib import import_module
def warmup(request):
"""
Provides default procedure for handling warmup requests on App Engine.
Just add this view to your main urls.py.
"""
for app i... | eec004dd34ffc977e29481c94345e20cae867238 | views.py | views.py | Python |
<|file_sep|>helm_deploy/cla-backend-migration/templates/deployment.yaml.diff
original:
name: database
updated:
name: database-10
<|file_sep|>helm_deploy/cla-backend-migration/templates/deployment.yaml.diff
original:
name: database
updated:
name: da... | key: password
- name: SOURCE_DB_HOST
valueFrom:
secretKeyRef:
name: database
key: host
- name: SOURCE_DB_NAME
valueFrom:
secretKeyRef:
name: database
... | <|file_sep|>helm_deploy/cla-backend-migration/templates/deployment.yaml.diff
original:
name: database
updated:
name: database-10
<|file_sep|>helm_deploy/cla-backend-migration/templates/deployment.yaml.diff
original:
name: database
updated:
name: da... | afce116217cdf53bedc86ae9403124d6f5a2038e | helm_deploy/cla-backend-migration/templates/deployment.yaml | helm_deploy/cla-backend-migration/templates/deployment.yaml | YAML |
<|file_sep|>original/rails/attributes/rails.rb
default[:rails][:version] = false
default[:rails][:environment] = "production"
default[:rails][:max_pool_size] = 4
# log rotation via logrotate
default[:rails][:logrotate][:interval] = 'daily'
default[:rails][:logrotate][:keep_for] = 365
<|file_sep|>current/rails/... | default[:rails][:version] = false
default[:rails][:environment] = "production"
default[:rails][:max_pool_size] = 4
# log rotation via logrotate
default[:rails][:logrotate][:interval] = 'daily'
default[:rails][:logrotate][:keep_for] = 7 | <|file_sep|>original/rails/attributes/rails.rb
default[:rails][:version] = false
default[:rails][:environment] = "production"
default[:rails][:max_pool_size] = 4
# log rotation via logrotate
default[:rails][:logrotate][:interval] = 'daily'
default[:rails][:logrotate][:keep_for] = 365
<|file_sep|>current/rails/... | 36d3e0713d945d3e6b0c27d8e47c1cabc13b13c9 | rails/attributes/rails.rb | rails/attributes/rails.rb | Ruby |
<|file_sep|>original/settings.py
import dj_database_url
DEBUG = True
TEMPLATE_DEBUG = True
SECRET_KEY = 'this is my secret key' # NOQA
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
DATABASES = {
'default': dj_database_url.config(default='postgres:///psqlextra')
}
DATABASES['default']['ENGINE'] = 'psqlextr... | import dj_database_url
DEBUG = True
TEMPLATE_DEBUG = True
SECRET_KEY = 'this is my secret key' # NOQA
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
DATABASES = {
'default': dj_database_url.config(default='postgres://localhost:5434/psqlextra')
}
DATABASES['default']['ENGINE'] = 'psqlextra.backend'
LAN... | <|file_sep|>original/settings.py
import dj_database_url
DEBUG = True
TEMPLATE_DEBUG = True
SECRET_KEY = 'this is my secret key' # NOQA
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
DATABASES = {
'default': dj_database_url.config(default='postgres:///psqlextra')
}
DATABASES['default']['ENGINE'] = 'psqlextr... | 0c60995d56f57a379438036c2775460268caa03b | settings.py | settings.py | Python |
<|file_sep|>dart-stream/pubspec.yaml.diff
original:
args: 0.6.21+3
crypto: 0.6.21+3
mongo_dart: 0.1.27
updated:
args: 0.8.1
crypto: 0.8.1
mongo_dart: 0.1.30
<|file_sep|>original/dart-stream/pubspec.yaml
name: DartStreamBenchmark
description: A benchmark for Stream, a lightweight Dart web server
dependencies... | name: DartStreamBenchmark
description: A benchmark for Stream, a lightweight Dart web server
dependencies:
args: 0.8.1
crypto: 0.8.1
mongo_dart: 0.1.30
postgresql: 0.2.8
stream: 0.8.4
yaml: 0.8.1 | <|file_sep|>dart-stream/pubspec.yaml.diff
original:
args: 0.6.21+3
crypto: 0.6.21+3
mongo_dart: 0.1.27
updated:
args: 0.8.1
crypto: 0.8.1
mongo_dart: 0.1.30
<|file_sep|>original/dart-stream/pubspec.yaml
name: DartStreamBenchmark
description: A benchmark for Stream, a lightweight Dart web server
dependencies... | c47c6b20775da449885dcb50994dc8782dcb6f8c | dart-stream/pubspec.yaml | dart-stream/pubspec.yaml | YAML |
<|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/LewisWatson/carshare-back)
[](https://github.com/emersion/stability-badges#ex... | [](https://travis-ci.org/LewisWatson/carshare-back)
[](https://github.com/emersion/stability-badges#experimental)
# Car Share Backend
RESTful API for... | <|file_sep|>README.md.diff
original:
updated:
[](https://travis-ci.org/LewisWatson/carshare-back)
[](https://github.com/emersion/stability-badges#ex... | d111185ba1433fab47c36a599bf8c90cef01a34b | README.md | README.md | Markdown |
<|file_sep|>original/cmake/mac.cmake
SET(SDK_MIN "10.7")
SET(SDK "10.7")
SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk")
SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk")
IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}")
IF (NOT EXISTS "... | SET(SDK_MIN "10.7")
SET(SDK "10.7")
SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk")
SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk")
IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}")
IF (NOT EXISTS "${DEV_SDK2}" AND NOT IS_DIRECTORY "${... | <|file_sep|>original/cmake/mac.cmake
SET(SDK_MIN "10.7")
SET(SDK "10.7")
SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk")
SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk")
IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}")
IF (NOT EXISTS "... | b52759d87499d53cbf59f1da92276cd6005736a3 | cmake/mac.cmake | cmake/mac.cmake | CMake |
<|file_sep|>original/src/web_app_skeleton/src/pages/main_layout.cr
def render
html_doctype
html lang: "en" do
head do
utf8_charset
title page_title
css_link asset("css/app.css")
js_link asset("js/app.js")
end
body do
render_flash
inner
... |
def render
html_doctype
html lang: "en" do
head do
utf8_charset
title page_title
css_link asset("css/app.css")
js_link asset("js/app.js")
csrf_meta_tags
end
body do
render_flash
inner
end
end
end
def page_title | <|file_sep|>original/src/web_app_skeleton/src/pages/main_layout.cr
def render
html_doctype
html lang: "en" do
head do
utf8_charset
title page_title
css_link asset("css/app.css")
js_link asset("js/app.js")
end
body do
render_flash
inner
... | 1304557e3cd4f2d22a5d8881ca2039623dd71a27 | src/web_app_skeleton/src/pages/main_layout.cr | src/web_app_skeleton/src/pages/main_layout.cr | Crystal |
<|file_sep|>original/.github/workflows/assign-reviewers.yml
with:
ref: main
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Load pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
... | with:
ref: main
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Load pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.github/assign-re... | <|file_sep|>original/.github/workflows/assign-reviewers.yml
with:
ref: main
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Load pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
... | dba8563425f76d72f2a8069990c9b88158c71efb | .github/workflows/assign-reviewers.yml | .github/workflows/assign-reviewers.yml | YAML |
<|file_sep|>original/setup.sh
# Airline
git clone https://github.com/bling/vim-airline
# Bbye
git clone https://github.com/moll/vim-bbye.git
# Better Whitespace
git clone https://github.com/ntpeters/vim-better-whitespace
# CtrlP
git clone https://github.com/kien/ctrlp.vim
# Solarized
git clone git://github.com/alt... |
# Better Whitespace
git clone https://github.com/ntpeters/vim-better-whitespace
# CtrlP
git clone https://github.com/kien/ctrlp.vim
# Solarized
git clone git://github.com/altercation/vim-colors-solarized.git
# Supertab
git clone https://github.com/ervandew/supertab
# Surround
git clone git://github.com/tpope/vim-s... | <|file_sep|>original/setup.sh
# Airline
git clone https://github.com/bling/vim-airline
# Bbye
git clone https://github.com/moll/vim-bbye.git
# Better Whitespace
git clone https://github.com/ntpeters/vim-better-whitespace
# CtrlP
git clone https://github.com/kien/ctrlp.vim
# Solarized
git clone git://github.com/alt... | 3ad9dfaf916724090458ed65448c89527bbb29ba | setup.sh | setup.sh | Shell |
<|file_sep|>original/views/index.haml
!!!
%html
%head
%title Ledger Web
%meta{'name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'}
%meta{'name' => 'apple-mobile-web-app-capable', 'content' => 'yes'}
%link{ rel: "stylesheet", type: "text/css",... | !!!
%html
%head
%title Ledger Web
%meta{'name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'}
%meta{'name' => 'apple-mobile-web-app-capable', 'content' => 'yes'}
%link{ rel: "stylesheet", type: "text/css", href: stylesheet_path('application') ... | <|file_sep|>original/views/index.haml
!!!
%html
%head
%title Ledger Web
%meta{'name' => 'viewport', 'content' => 'width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'}
%meta{'name' => 'apple-mobile-web-app-capable', 'content' => 'yes'}
%link{ rel: "stylesheet", type: "text/css",... | 1a55cc07078e5561a386c407d2142fbf77ff7b89 | views/index.haml | views/index.haml | Haml |
<|file_sep|>original/base/db/migrate/20120403175913_create_activity_object_audiences.rb
end
add_foreign_key :activity_object_audiences, :activity_objects, :name => 'activity_object_audiences_on_activity_object_id'
add_foreign_key :activity_object_audiences, :relations, :name => 'activity_object_audiences_o... |
add_foreign_key :activity_object_audiences, :activity_objects, :name => 'activity_object_audiences_on_activity_object_id'
add_foreign_key :activity_object_audiences, :relations, :name => 'activity_object_audiences_on_relation_id'
ActivityObjectAudience.record_timestamps = false
ActivityObject.all.eac... | <|file_sep|>original/base/db/migrate/20120403175913_create_activity_object_audiences.rb
end
add_foreign_key :activity_object_audiences, :activity_objects, :name => 'activity_object_audiences_on_activity_object_id'
add_foreign_key :activity_object_audiences, :relations, :name => 'activity_object_audiences_o... | 6055cf84764aeae118cc90b0a911939cee0ac5e0 | base/db/migrate/20120403175913_create_activity_object_audiences.rb | base/db/migrate/20120403175913_create_activity_object_audiences.rb | Ruby |
<|file_sep|>original/module_files/resources/web/labkey_mobile/images/loader.json
<|file_sep|>current/module_files/resources/web/labkey_mobile/images/loader.json
<|file_sep|>updated/module_files/resources/web/labkey_mobile/images/loader.json | {
"type": "cc",
"original_filename": "InternetSlowdown_Day.gif",
"created": "September 6, 2014",
"uploaded_by": "Darmokand",
"license": "CC BY-SA 4.0",
"url": "https://en.wikipedia.org/wiki/File:InternetSlowdown_Day.gif",
"licenseURL": "https://creativecommons.org/licenses/by-sa/4.0/deed.en",
"modified"... | <|file_sep|>original/module_files/resources/web/labkey_mobile/images/loader.json
<|file_sep|>current/module_files/resources/web/labkey_mobile/images/loader.json
<|file_sep|>updated/module_files/resources/web/labkey_mobile/images/loader.json
{
"type": "cc",
"original_filename": "InternetSlowdown_Day.gif",
"creat... | a357d7fd485a83decdcb4df19a31977d78342ad5 | module_files/resources/web/labkey_mobile/images/loader.json | module_files/resources/web/labkey_mobile/images/loader.json | JSON |
<|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
* TODO get this working again; it's not currently working ~~Start the dev environment, which will compile your code on the fly and open and refresh the test home page:~~
updated:
To build a browser-ready bundle:
```
browserify ./index... | cd wikipathways-api-client-js
```
* Install the dependencies
```bash
npm install
```
To build a browser-ready bundle:
```
browserify ./index.js -o ./dist/wikipathways-api-client-js.dev.js
```
TODO get the item below working again; it's not currently working:
* ~~Start the dev environment, which will compile your code... | <|file_sep|>README.md.diff
original:
updated:
<|file_sep|>README.md.diff
original:
* TODO get this working again; it's not currently working ~~Start the dev environment, which will compile your code on the fly and open and refresh the test home page:~~
updated:
To build a browser-ready bundle:
```
browserify ./index... | d6d087c9c9bdc670b150dfc1db61d3bc687de801 | README.md | README.md | Markdown |
<|file_sep|>app/gem/actions.coffee.diff
original:
toggleGem = Reflux.createAction()
updated:
actions = Reflux.createActions [
'toggleGem'
]
<|file_sep|>original/app/gem/actions.coffee
'use strict'
toggleGem = Reflux.createAction()
module.exports =
toggleGem: toggleGem
<|file_sep|>current/app/gem/actions.coffee
'u... | 'use strict'
actions = Reflux.createActions [
'toggleGem'
]
module.exports = actions | <|file_sep|>app/gem/actions.coffee.diff
original:
toggleGem = Reflux.createAction()
updated:
actions = Reflux.createActions [
'toggleGem'
]
<|file_sep|>original/app/gem/actions.coffee
'use strict'
toggleGem = Reflux.createAction()
module.exports =
toggleGem: toggleGem
<|file_sep|>current/app/gem/actions.coffee
'u... | c3a05c1ac23a7120500ff9fb3f0e1d573c7c91d4 | app/gem/actions.coffee | app/gem/actions.coffee | CoffeeScript |
<|file_sep|>original/cross/libcaca/patches/without-x-no-examples.patch
<|file_sep|>current/cross/libcaca/patches/without-x-no-examples.patch
<|file_sep|>updated/cross/libcaca/patches/without-x-no-examples.patch | --- Makefile.am.orig 2016-01-18 22:57:14.568966617 +0100
+++ Makefile.am 2016-01-18 22:57:25.012966536 +0100
@@ -1,5 +1,5 @@
-SUBDIRS = kernel caca src examples tools \
+SUBDIRS = kernel caca src tools \
cxx caca-sharp python ruby java \
doc test
DIST_SUBDIRS = $(SUBDIRS) win32 | <|file_sep|>original/cross/libcaca/patches/without-x-no-examples.patch
<|file_sep|>current/cross/libcaca/patches/without-x-no-examples.patch
<|file_sep|>updated/cross/libcaca/patches/without-x-no-examples.patch
--- Makefile.am.orig 2016-01-18 22:57:14.568966617 +0100
+++ Makefile.am 2016-01-18 22:57:25.012966536 +010... | 5c60e85a0025ae8e9739460586dfdae781cc66a3 | cross/libcaca/patches/without-x-no-examples.patch | cross/libcaca/patches/without-x-no-examples.patch | Diff |
<|file_sep|>original/pages/account/page-account.htm
---
url: /account
name: Account
description: Allows a logged in user to edit their account.
action: shop:login
template: default
published: true
---
<h1>Account</h1>
{% if customer %}
{{ partial('account-settings') }}
{% else %}
{{ partial('register') }}
{{ part... | name: Account
description: Allows a logged in user to edit their account.
action: shop:login
template: default
published: true
---
<h1>Account</h1>
{% if customer %}
{{ partial('account-settings') }}
{% else %}
<ul class="accordion" data-accordion>
<li class="accordion-item is-active" data-accordion-item>
... | <|file_sep|>original/pages/account/page-account.htm
---
url: /account
name: Account
description: Allows a logged in user to edit their account.
action: shop:login
template: default
published: true
---
<h1>Account</h1>
{% if customer %}
{{ partial('account-settings') }}
{% else %}
{{ partial('register') }}
{{ part... | fdbe24f8300af0bc41422e63ad83975fbcdafa06 | pages/account/page-account.htm | pages/account/page-account.htm | HTML |
<|file_sep|>original/History.md
0.4.0 / 2014-12-05
==================
* Add in the ability to use change history fields for searchings
* allow searching to handle time frames
* Change UserAgent for bugsy to that Bugzilla knows that it is us calling. Fixes #4
* Add version added to comments documentation
* Add do... |
n.n.n / 2015-06-01
==================
* add test coverage link in README.md
* Add unit test coverage report on coveralls
* create documented properties for available comment data
* run flake8 on travis and ask contributors to do so
* flake8 fixes in bugsy package
0.4.1 / 2014-05-26
==================
* remove... | <|file_sep|>original/History.md
0.4.0 / 2014-12-05
==================
* Add in the ability to use change history fields for searchings
* allow searching to handle time frames
* Change UserAgent for bugsy to that Bugzilla knows that it is us calling. Fixes #4
* Add version added to comments documentation
* Add do... | d86e46ba66751476e9e0c9f0f6e99006b4c4a7a6 | History.md | History.md | Markdown |
<|file_sep|>original/experimental/meson/README.md
<|file_sep|>current/experimental/meson/README.md
<|file_sep|>updated/experimental/meson/README.md | Experimental build files for meson, not supported but captured here in case a change in build systems is made in
the future.
To use these files, copy them to the root of the terminix folder keeping the structure intact. | <|file_sep|>original/experimental/meson/README.md
<|file_sep|>current/experimental/meson/README.md
<|file_sep|>updated/experimental/meson/README.md
Experimental build files for meson, not supported but captured here in case a change in build systems is made in
the future.
To use these files, copy them to the root o... | c40c25a3229863a659215ffcd87fe3753eeb129d | experimental/meson/README.md | experimental/meson/README.md | Markdown |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=dummy
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=dummy
<|file_sep|>current/.travis.yml
language: jav... | language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -PsonatypeUsername=argius -PsonatypePassword=
script: ./gradlew test -PsonatypeUsername=argius -PsonatypePassword= | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
branches:
only:
- master
- develop
install: ./gradlew assemble -P -PsonatypeUsername=argius -PsonatypePassword=dummy
script: ./gradlew test -P -PsonatypeUsername=argius -PsonatypePassword=dummy
<|file_sep|>current/.travis.yml
language: jav... | 65d788567ebb61a597ea377c08ac17bbfc17b8b3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==1.8.2
sphinx_rtd_theme==0.4.2
<|file_sep|>current/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
s... | # ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==1.8.3
sphinx_rtd_theme==0.4.2 | <|file_sep|>original/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
sphinx==1.8.2
sphinx_rtd_theme==0.4.2
<|file_sep|>current/requirements/docs.txt
# ulid/requirements/docs.txt
#
# Requirements for generating package documentation.
-r base.txt
s... | 4bd715cd6e19b547be7a88db2f4852fafbcae29f | requirements/docs.txt | requirements/docs.txt | Text |
<|file_sep|>app/views/setup/_cluster_size_panel.html.slim.diff
original:
label for="cloud_cluster_instance_count" Number of instances
updated:
label for="cloud_cluster_instance_count"
| Number of instances
- if @cloud_cluster.current_cluster_size > 0
| to add (current size: #{ plural... | .panel.panel-default
.panel-heading
h3.panel-title Cluster size
.panel-body.cluster-size-selector
.col-md-8
label for="cloud_cluster_instance_count"
| Number of instances
- if @cloud_cluster.current_cluster_size > 0
| to add (current size: #{ pluralize(@cloud_cluster.current_cl... | <|file_sep|>app/views/setup/_cluster_size_panel.html.slim.diff
original:
label for="cloud_cluster_instance_count" Number of instances
updated:
label for="cloud_cluster_instance_count"
| Number of instances
- if @cloud_cluster.current_cluster_size > 0
| to add (current size: #{ plural... | 1116260c4ccefaa945b2c3d5179dafe8378f45e5 | app/views/setup/_cluster_size_panel.html.slim | app/views/setup/_cluster_size_panel.html.slim | Slim |
<|file_sep|>constants.js.diff
original:
const TELEGRAM_MESSAGE_PHOTO_ENDPOINT = '/sendPhoto';
const DEFAULT_PHOTO_URL = 'http://media.salemwebnetwork.com/cms/CROSSCARDS/17343-im-sorry-pug.jpg';
updated:
const TELEGRAM_MESSAGE_GIF_ENDPOINT = '/sendVideo';
const DEFAULT_GIF_URL = 'http://gph.is/1KuNTVa';
<|file_sep|>orig... | // URLs grom telegram
const TELEGRAM_BASE_URL = 'https://api.telegram.org';
const TELEGRAM_MESSAGE_GIF_ENDPOINT = '/sendVideo';
const DEFAULT_GIF_URL = 'http://gph.is/1KuNTVa';
// URLs from giphy
const {GIPHY_PUBLIC_API_KEY} = require('./variables');
const GIPHY_BASE_URL = 'http://api.giphy.com';
const GIPHY_API_KEY_... | <|file_sep|>constants.js.diff
original:
const TELEGRAM_MESSAGE_PHOTO_ENDPOINT = '/sendPhoto';
const DEFAULT_PHOTO_URL = 'http://media.salemwebnetwork.com/cms/CROSSCARDS/17343-im-sorry-pug.jpg';
updated:
const TELEGRAM_MESSAGE_GIF_ENDPOINT = '/sendVideo';
const DEFAULT_GIF_URL = 'http://gph.is/1KuNTVa';
<|file_sep|>orig... | 896a87b740c5e228a81f23a11a26845aa849e346 | constants.js | constants.js | JavaScript |
<|file_sep|>original/_data/navigation.yml
# Main site top navigation menu
-
# If a first level menu item isn't a dropdown menu, you can give it just an
# id to link it straight to a page or an id, title and path to link to a relative url
title: Installation
id: install
path: "https://www.github.com/spinnaker... | # Main site top navigation menu
-
# If a first level menu item isn't a dropdown menu, you can give it just an
# id to link it straight to a page or an id, title and path to link to a relative url
title: Overview
id: overview
-
title: Guides
children:
- getting_started
- developer_guide
-
title: C... | <|file_sep|>original/_data/navigation.yml
# Main site top navigation menu
-
# If a first level menu item isn't a dropdown menu, you can give it just an
# id to link it straight to a page or an id, title and path to link to a relative url
title: Installation
id: install
path: "https://www.github.com/spinnaker... | 44b5037e1eec0dbaf352ec97f85ed532e1e2adc8 | _data/navigation.yml | _data/navigation.yml | YAML |
<|file_sep|>original/.travis.yml
branches:
only:
- master
language: python
python:
- "2.7"
- "3.4"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libudev-dev
install:
- pip install .
- pip install -r requirements.txt
script: py.test --junitxml=tests.xml --enable-privile... | branches:
only:
- master
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libudev-dev
install:
- pip install .
- pip install -r requirements.txt
script: py.test --junitxml=tests.xml --enable-privileged -rfEsxX -... | <|file_sep|>original/.travis.yml
branches:
only:
- master
language: python
python:
- "2.7"
- "3.4"
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libudev-dev
install:
- pip install .
- pip install -r requirements.txt
script: py.test --junitxml=tests.xml --enable-privile... | db2013aef1825da4a3520cdb7a8d0195222c44fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/python/util_test.py
<|file_sep|>current/python/util_test.py
<|file_sep|>updated/python/util_test.py | #
# (C) Copyright IBM Corp. 2017
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | <|file_sep|>original/python/util_test.py
<|file_sep|>current/python/util_test.py
<|file_sep|>updated/python/util_test.py
#
# (C) Copyright IBM Corp. 2017
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of th... | c757c6ad714afb393c65c1b82bca31de357332fc | python/util_test.py | python/util_test.py | Python |
<|file_sep|>original/core/process/times_spec.rb
platform_is_not :windows do
it "uses getrusage when available to improve precision beyond milliseconds" do
max = 10_000
has_getrusage = max.times.find do
time = Process.clock_gettime(:GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID)
... | platform_is_not :windows do
it "uses getrusage when available to improve precision beyond milliseconds" do
max = 10_000
has_getrusage = max.times.find do
time = Process.clock_gettime(:GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID)
('%.6f' % time).end_with?('000')
end
... | <|file_sep|>original/core/process/times_spec.rb
platform_is_not :windows do
it "uses getrusage when available to improve precision beyond milliseconds" do
max = 10_000
has_getrusage = max.times.find do
time = Process.clock_gettime(:GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID)
... | 8bb1921e894bc9bd84ca4e527ef59cfe40085c58 | core/process/times_spec.rb | core/process/times_spec.rb | Ruby |
<|file_sep|>original/app/views/v1/editions/base.rabl
attributes :year,
:name,
:camp_start_date,
:camp_end_date,
:motto,
:current
<|file_sep|>current/app/views/v1/editions/base.rabl
attributes :year,
:name,
:camp_start_date,
:camp_en... | attributes :id,
:year,
:name,
:camp_start_date,
:camp_end_date,
:motto,
:current | <|file_sep|>original/app/views/v1/editions/base.rabl
attributes :year,
:name,
:camp_start_date,
:camp_end_date,
:motto,
:current
<|file_sep|>current/app/views/v1/editions/base.rabl
attributes :year,
:name,
:camp_start_date,
:camp_en... | a0519752c29ce83ca7d2cfed8bea9591299c1444 | app/views/v1/editions/base.rabl | app/views/v1/editions/base.rabl | Ruby |
<|file_sep|>ContosoUniversity.Web/Program.cs.diff
original:
BuildWebHost(args).Run();
updated:
CreateWebHostBuilder(args).Build().Run();
<|file_sep|>ContosoUniversity.Web/Program.cs.diff
original:
public static IWebHost BuildWebHost(string[] args) =>
updated:
// netcoreapp2.1 co... | // https://wildermuth.com/2017/07/06/Program-cs-in-ASP-NET-Core-2-0
public static void ConfigConfiguration(WebHostBuilderContext context, IConfigurationBuilder config)
{
config.SetBasePath(Directory.GetCurrentDirectory());
if (context.HostingEnvironment.IsDevelopment())
... | <|file_sep|>ContosoUniversity.Web/Program.cs.diff
original:
BuildWebHost(args).Run();
updated:
CreateWebHostBuilder(args).Build().Run();
<|file_sep|>ContosoUniversity.Web/Program.cs.diff
original:
public static IWebHost BuildWebHost(string[] args) =>
updated:
// netcoreapp2.1 co... | 04f0ebd47431d8debdfa66a5e1acca4285c8dc95 | ContosoUniversity.Web/Program.cs | ContosoUniversity.Web/Program.cs | C# |
<|file_sep|>.cirrus.yml.diff
original:
test_task:
container:
matrix:
image: ruby:2.5
image: ruby:2.4
updated:
bundle_cache: &bundle_cache
<|file_sep|>.cirrus.yml.diff
original:
updated:
test_task:
container:
matrix:
image: ruby:2.5
image: ruby:2.4
<<: *bundle_cache
<|file_sep|>o... | - ruby -v
- cat Gemfile
- cat *.gemspec
populate_script: bundle update
test_task:
container:
matrix:
image: ruby:2.5
image: ruby:2.4
<<: *bundle_cache
environment:
CODECOV_TOKEN: ENCRYPTED[fc3cdd6692dedbd2133ce8100d2cf236617d6acddc313b5f90f1994d3f62400fcc17fa2af079e8568... | <|file_sep|>.cirrus.yml.diff
original:
test_task:
container:
matrix:
image: ruby:2.5
image: ruby:2.4
updated:
bundle_cache: &bundle_cache
<|file_sep|>.cirrus.yml.diff
original:
updated:
test_task:
container:
matrix:
image: ruby:2.5
image: ruby:2.4
<<: *bundle_cache
<|file_sep|>o... | 59c0312a38ce4074e8a9b7c1532ed18470543124 | .cirrus.yml | .cirrus.yml | YAML |
<|file_sep|>_includes/_feature-image.html.diff
original:
<div class="image-wrap">
updated:
{% assign image = page.image.feature %}
{% assign credit = page.image.credit %}
{% assign creditlink = page.image.creditlink %}
{% else %}
{% assign image = "anarchist-lexicon.png" %}
{% assign credit = site.owner.nam... | {% assign image = page.image.feature %}
{% assign credit = page.image.credit %}
{% assign creditlink = page.image.creditlink %}
{% else %}
{% assign image = "anarchist-lexicon.png" %}
{% assign credit = site.owner.name %}
{% assign creditlink = site.url %}
{% endif %}
<div class="image-wrap">
<img src=
... | <|file_sep|>_includes/_feature-image.html.diff
original:
<div class="image-wrap">
updated:
{% assign image = page.image.feature %}
{% assign credit = page.image.credit %}
{% assign creditlink = page.image.creditlink %}
{% else %}
{% assign image = "anarchist-lexicon.png" %}
{% assign credit = site.owner.nam... | e3b2cf28e7c1f0dd7fe35cc3c054617068335726 | _includes/_feature-image.html | _includes/_feature-image.html | HTML |
<|file_sep|>events/guildCreate.js.diff
original:
updated:
let channelsArr = [];
<|file_sep|>events/guildCreate.js.diff
original:
updated:
let p = guild.channels.filter(o => o.type === 'text').map(o => o)
<|file_sep|>original/events/guildCreate.js
const config = require('../config/config.json').PREFIX
exports.run = ... | const config = require('../config/config.json').PREFIX
let channelsArr = [];
exports.run = async (client, guild) => {
let Id = guild.channels.get(guild.channels.filter(i=> i.type === "text").map(i => i)[0].id);
let p = guild.channels.filter(o => o.type === 'text').map(o => o)
Id.send(`Hey :wave:, Thank you very ... | <|file_sep|>events/guildCreate.js.diff
original:
updated:
let channelsArr = [];
<|file_sep|>events/guildCreate.js.diff
original:
updated:
let p = guild.channels.filter(o => o.type === 'text').map(o => o)
<|file_sep|>original/events/guildCreate.js
const config = require('../config/config.json').PREFIX
exports.run = ... | c36ac4410001ba62f306f5f9266cb69b9cab492f | events/guildCreate.js | events/guildCreate.js | JavaScript |
<|file_sep|>original/game-api/src/main/java/org/runestar/client/game/api/WidgetId.kt
companion object {
fun getGroup(packed: Int): Int = packed shr 16
fun getIndex(packed: Int): Int = packed and 0xFFFF
val CASTLE_WARS_SARADOMIN_TIME_LEFT = WidgetId(WidgetGroupId.CASTLE_WARS_SARADOMIN, ... |
companion object {
fun getGroup(packed: Int): Int = packed shr 16
fun getIndex(packed: Int): Int = packed and 0xFFFF
val CASTLE_WARS_SARADOMIN_TIME_LEFT = WidgetId(WidgetGroupId.CASTLE_WARS_SARADOMIN, 25)
val CASTLE_WARS_ZAMORAK_TIME_LEFT = WidgetId(WidgetGroupId.CASTLE_WARS_Z... | <|file_sep|>original/game-api/src/main/java/org/runestar/client/game/api/WidgetId.kt
companion object {
fun getGroup(packed: Int): Int = packed shr 16
fun getIndex(packed: Int): Int = packed and 0xFFFF
val CASTLE_WARS_SARADOMIN_TIME_LEFT = WidgetId(WidgetGroupId.CASTLE_WARS_SARADOMIN, ... | 8887e96c89ec76d5f5e2370f5500c8c2cd09a67e | game-api/src/main/java/org/runestar/client/game/api/WidgetId.kt | game-api/src/main/java/org/runestar/client/game/api/WidgetId.kt | Kotlin |
<|file_sep|>original/roles/fidimag/vars/main.yml
---
FIDIMAG_REPO_URL: https://github.com/computationalmodelling/fidimag.git
FIDIMAG_INSTALL_PATH: /opt/fidimag
FIDIMAG_VERSION: v0.0.1
XPRA_DISPLAYS:
- 25
- 30
- 36
- 49
- 50
- 64
- 75
- 81
- 90
- 99
<|file_sep|>current/roles/fidimag/vars/main.yml
--... | ---
FIDIMAG_REPO_URL: https://github.com/computationalmodelling/fidimag.git
FIDIMAG_INSTALL_PATH: /opt/fidimag
FIDIMAG_VERSION: v0.0.2
XPRA_DISPLAYS:
- 25
- 30
- 36
- 49
- 50
- 64
- 75
- 81
- 90
- 99 | <|file_sep|>original/roles/fidimag/vars/main.yml
---
FIDIMAG_REPO_URL: https://github.com/computationalmodelling/fidimag.git
FIDIMAG_INSTALL_PATH: /opt/fidimag
FIDIMAG_VERSION: v0.0.1
XPRA_DISPLAYS:
- 25
- 30
- 36
- 49
- 50
- 64
- 75
- 81
- 90
- 99
<|file_sep|>current/roles/fidimag/vars/main.yml
--... | 334627535ea1d9987bfa6aca762230af66cd8618 | roles/fidimag/vars/main.yml | roles/fidimag/vars/main.yml | YAML |
<|file_sep|>original/app/models/company.rb
# == Schema Information
#
# Table name: companies
#
# id :integer not null, primary key
# name :string
# slogan :string
# mission_statement :string
# street :string
# zip_code :string
# city ... | # == Schema Information
#
# Table name: companies
#
# id :integer not null, primary key
# name :string
# slogan :string
# mission_statement :string
# street :string
# zip_code :string
# city :string
# country :string
# r... | <|file_sep|>original/app/models/company.rb
# == Schema Information
#
# Table name: companies
#
# id :integer not null, primary key
# name :string
# slogan :string
# mission_statement :string
# street :string
# zip_code :string
# city ... | 07575ede4e9cee6546f36eb3bb5de54d93d813f9 | app/models/company.rb | app/models/company.rb | Ruby |
<|file_sep|>original/.travis.yml
language: rust
rust:
- stable
env:
global:
- LIBSODIUM_VERSION="1.0.16"
- SODIUM_LIB_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/lib"
- SODIUM_INC_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/include"
install:
- ./.travis/install-libsodium.sh
cache:
cargo: true
apt: true
... | language: rust
rust:
- stable
env:
global:
- LIBSODIUM_VERSION="1.0.16"
- SODIUM_LIB_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/lib"
- SODIUM_INC_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/include"
- LD_LIBRARY_PATH="$SODIUM_LIB_DIR:$LD_LIBRARY_PATH"
install:
- ./.travis/install-libsodium.sh
cache:
ca... | <|file_sep|>original/.travis.yml
language: rust
rust:
- stable
env:
global:
- LIBSODIUM_VERSION="1.0.16"
- SODIUM_LIB_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/lib"
- SODIUM_INC_DIR="$HOME/libsodium-$LIBSODIUM_VERSION/include"
install:
- ./.travis/install-libsodium.sh
cache:
cargo: true
apt: true
... | b64f5ca34f961472bf8994e25a6a1785ad4e1a95 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docker-compose.yml
version: '2'
services:
gem:
build:
context: .
dockerfile: Dockerfile
links:
- rabbit
- gem
rabbit:
image: rabbitmq
ports:
- 5672:5672
janus:
build:
context: ./.travis
dockerfile: Dockerfile.janus
links:
<|... | version: '2'
services:
gem:
build:
context: .
dockerfile: Dockerfile
links:
- rabbit
- mongo
rabbit:
image: rabbitmq
ports:
- 5672:5672
janus:
build:
context: ./.travis
dockerfile: Dockerfile.janus
links: | <|file_sep|>original/docker-compose.yml
version: '2'
services:
gem:
build:
context: .
dockerfile: Dockerfile
links:
- rabbit
- gem
rabbit:
image: rabbitmq
ports:
- 5672:5672
janus:
build:
context: ./.travis
dockerfile: Dockerfile.janus
links:
<|... | 295057eaff15d425f81b4e1fbe6f338d1cb81e35 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/recipes-debian/bmake/bmake-native_debian.bb
<|file_sep|>current/recipes-debian/bmake/bmake-native_debian.bb
<|file_sep|>updated/recipes-debian/bmake/bmake-native_debian.bb | SUMMARY = "NetBSD make"
DESCRIPTION = "bmake is a program designed to simplify the maintenance of other \
programs. Its input is a list of specifications as to the files upon \
which programs and other files depend. mkdep, a program to construct \
Makefile dependency lists, is also included."
HOMEPAGE = "http://www.cr... | <|file_sep|>original/recipes-debian/bmake/bmake-native_debian.bb
<|file_sep|>current/recipes-debian/bmake/bmake-native_debian.bb
<|file_sep|>updated/recipes-debian/bmake/bmake-native_debian.bb
SUMMARY = "NetBSD make"
DESCRIPTION = "bmake is a program designed to simplify the maintenance of other \
programs. Its input... | 52fbc41f3d6184e1f8002a0e769a54a35c20e201 | recipes-debian/bmake/bmake-native_debian.bb | recipes-debian/bmake/bmake-native_debian.bb | BitBake |
<|file_sep|>examples/redis/NOTES.txt.diff
original:
the unit tests, please see the `SCRIPT.txt` file.
updated:
the unit tests, please see the `SCRIPT.txt` file. The tests assume a
local Redis server running on the default port. If the server is not
detected, the tests are skipped.
<|file_sep|>original/examples/redis/NO... | Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
______________... | <|file_sep|>examples/redis/NOTES.txt.diff
original:
the unit tests, please see the `SCRIPT.txt` file.
updated:
the unit tests, please see the `SCRIPT.txt` file. The tests assume a
local Redis server running on the default port. If the server is not
detected, the tests are skipped.
<|file_sep|>original/examples/redis/NO... | fac0bf8ffd5ac0f9d83a0e562caef3e56784ad44 | examples/redis/NOTES.txt | examples/redis/NOTES.txt | Text |
<|file_sep|>src/main.rs.diff
original:
static NTHREADS: i32 = 64;
updated:
#[derive(Debug)]
struct Actor {
inbox: Receiver<i32>
}
#[derive(Debug)]
struct ActorRef {
outbox: Sender<i32>
}
impl Actor {
fn new() -> (ActorRef, Actor) {
let (tx, rx): (Sender<i32>, Receiver<i32>) = mpsc::channel();
... | #[derive(Debug)]
struct Actor {
inbox: Receiver<i32>
}
#[derive(Debug)]
struct ActorRef {
outbox: Sender<i32>
}
impl Actor {
fn new() -> (ActorRef, Actor) {
let (tx, rx): (Sender<i32>, Receiver<i32>) = mpsc::channel();
return (ActorRef{outbox: tx}, Actor{inbox: rx})
}
}
fn main() {
... | <|file_sep|>src/main.rs.diff
original:
static NTHREADS: i32 = 64;
updated:
#[derive(Debug)]
struct Actor {
inbox: Receiver<i32>
}
#[derive(Debug)]
struct ActorRef {
outbox: Sender<i32>
}
impl Actor {
fn new() -> (ActorRef, Actor) {
let (tx, rx): (Sender<i32>, Receiver<i32>) = mpsc::channel();
... | eee492805644405375994967c8304fd4a7e665b2 | src/main.rs | src/main.rs | Rust |
<|file_sep|>original/index.js
console.log('Request: ' + file);
// TODO allow proxying calls to real API (for calls that are already implemented)
var data = readFileJson(file);
res.send(data)
}
function readFileJson(file) {
var data = fs.readFileSync(file, 'utf8');
data = data.replace(TEMPLATE_PATTERN, fu... | console.log('Request: ' + file);
// TODO allow proxying calls to real API (for calls that are already implemented)
var data = readFileJson(file);
res.send(data)
}
function readFileJson(file) {
var data = fs.readFileSync(file, 'utf8');
data = data.replace(TEMPLATE_PATTERN, function(match) {
// TODO: a... | <|file_sep|>original/index.js
console.log('Request: ' + file);
// TODO allow proxying calls to real API (for calls that are already implemented)
var data = readFileJson(file);
res.send(data)
}
function readFileJson(file) {
var data = fs.readFileSync(file, 'utf8');
data = data.replace(TEMPLATE_PATTERN, fu... | 31c5d47b832b66a195fdfd314ba0f8044059f5a2 | index.js | index.js | JavaScript |
<|file_sep|>original/src/Port.php
* @package League.url
* @since 1.0.0
*/
class Port extends AbstractComponent implements Component
{
/**
* {@inheritdoc}
*/
protected function validate($data)
{
$data = filter_var($data, FILTER_VALIDATE_INT, ['options' => ['min_range' => 1]]);
if (!... | * @package League.url
* @since 1.0.0
*/
class Port extends AbstractComponent implements Component
{
/**
* {@inheritdoc}
*/
protected function validate($data)
{
if (! ctype_digit($data) || $data < 1) {
throw new InvalidArgumentException('The submitted port is invalid');
... | <|file_sep|>original/src/Port.php
* @package League.url
* @since 1.0.0
*/
class Port extends AbstractComponent implements Component
{
/**
* {@inheritdoc}
*/
protected function validate($data)
{
$data = filter_var($data, FILTER_VALIDATE_INT, ['options' => ['min_range' => 1]]);
if (!... | fd6694614614976e1be32ce7eb9fd7453490b747 | src/Port.php | src/Port.php | PHP |
<|file_sep|>original/upload-vsix-myget.ps1
<|file_sep|>current/upload-vsix-myget.ps1
<|file_sep|>updated/upload-vsix-myget.ps1 | $artifactsSearchPattern = "./*.vsix"
$artifactsCollection = (Get-ChildItem $artifactsSearchPattern -Recurse)
$vsixMyGetUploadEndpoint = "https://www.myget.org/F/nanoframework-dev/vsix/upload"
# for the environment variable MyGetToken to work here it has to be set in AppVeyor UI
foreach($file in $artifactsCollection)... | <|file_sep|>original/upload-vsix-myget.ps1
<|file_sep|>current/upload-vsix-myget.ps1
<|file_sep|>updated/upload-vsix-myget.ps1
$artifactsSearchPattern = "./*.vsix"
$artifactsCollection = (Get-ChildItem $artifactsSearchPattern -Recurse)
$vsixMyGetUploadEndpoint = "https://www.myget.org/F/nanoframework-dev/vsix/upload... | 1c6a6875b4b9adea26e89f8a5d287a4c2ae8b859 | upload-vsix-myget.ps1 | upload-vsix-myget.ps1 | PowerShell |
<|file_sep|>package.json.diff
original:
updated:
"license": "MIT",
<|file_sep|>original/package.json
"main": "dist/time-elements-legacy.js",
"jsnext:main": "dist/time-elements.js",
"scripts": {
"clean": "rm -rf ./dist ./node_modules",
"lint": "eslint src/ test/",
"build": "rollup -c && rollup -c ro... | "main": "dist/time-elements-legacy.js",
"jsnext:main": "dist/time-elements.js",
"license": "MIT",
"scripts": {
"clean": "rm -rf ./dist ./node_modules",
"lint": "eslint src/ test/",
"build": "rollup -c && rollup -c rollup.legacy-config.js",
"pretest": "npm run lint && npm run build",
"test": ... | <|file_sep|>package.json.diff
original:
updated:
"license": "MIT",
<|file_sep|>original/package.json
"main": "dist/time-elements-legacy.js",
"jsnext:main": "dist/time-elements.js",
"scripts": {
"clean": "rm -rf ./dist ./node_modules",
"lint": "eslint src/ test/",
"build": "rollup -c && rollup -c ro... | bfa796bb505a48b24a22c33cd6ef3a0b83cc5993 | package.json | package.json | JSON |
<|file_sep|>original/osx/aliases.zsh
<|file_sep|>current/osx/aliases.zsh
<|file_sep|>updated/osx/aliases.zsh | # show/hide 'hidden' files in Finder
# a bit risky because it'll kill Finder, even if a move/copy is in progress.
alias finder-hide-hidden="defaults write com.apple.Finder AppleShowAllFiles NO && restart_finder"
alias finder-show-hidden="defaults write com.apple.Finder AppleShowAllFiles YES && restart_finder"
restar... | <|file_sep|>original/osx/aliases.zsh
<|file_sep|>current/osx/aliases.zsh
<|file_sep|>updated/osx/aliases.zsh
# show/hide 'hidden' files in Finder
# a bit risky because it'll kill Finder, even if a move/copy is in progress.
alias finder-hide-hidden="defaults write com.apple.Finder AppleShowAllFiles NO && restart_fin... | d341e104ddb6c6bc73e16a72fe2657568d842b16 | osx/aliases.zsh | osx/aliases.zsh | Shell |
<|file_sep|>original/features/support/env.rb
Bundler.setup
require 'aruba/cucumber'
Before do
this_dir = File.dirname(__FILE__)
in_current_dir do
FileUtils.ln_s File.join(this_dir, 'vcr_cucumber_helpers.rb'), 'vcr_cucumber_helpers.rb'
end
end
if RUBY_VERSION > '1.9.1'
Before do
set_env('RUBYOPT', '-I... | Before do
this_dir = File.dirname(__FILE__)
in_current_dir do
FileUtils.ln_s File.join(this_dir, 'vcr_cucumber_helpers.rb'), 'vcr_cucumber_helpers.rb'
end
end
if RUBY_VERSION > '1.9.1'
Before do
set_env('RUBYOPT', '-I.:../../lib')
end
elsif RUBY_PLATFORM == 'java'
Before do
set_env('RUBYOPT', '... | <|file_sep|>original/features/support/env.rb
Bundler.setup
require 'aruba/cucumber'
Before do
this_dir = File.dirname(__FILE__)
in_current_dir do
FileUtils.ln_s File.join(this_dir, 'vcr_cucumber_helpers.rb'), 'vcr_cucumber_helpers.rb'
end
end
if RUBY_VERSION > '1.9.1'
Before do
set_env('RUBYOPT', '-I... | cfc1481037c0163a8e444da84179a0c4871e6417 | features/support/env.rb | features/support/env.rb | Ruby |
<|file_sep|>textField.enchant.js.diff
original:
updated:
var that = this;
<|file_sep|>original/textField.enchant.js
this._setPreventDefaultKeyCodes();
// input element
this.input = document.createElement('input');
this.input.type = 'text';
this.input.style.boxSizing = 'border-box';... | // from 'enchant.ENV.PREVENT_DEFAULT_KEY_CODES'
this._setPreventDefaultKeyCodes();
// input element
this.input = document.createElement('input');
this.input.type = 'text';
this.input.style.boxSizing = 'border-box';
this.input.style.width = '100%';
this.input.style.height... | <|file_sep|>textField.enchant.js.diff
original:
updated:
var that = this;
<|file_sep|>original/textField.enchant.js
this._setPreventDefaultKeyCodes();
// input element
this.input = document.createElement('input');
this.input.type = 'text';
this.input.style.boxSizing = 'border-box';... | e457a492513d51eb6a0331af60267409ba4d5131 | textField.enchant.js | textField.enchant.js | JavaScript |
<|file_sep|>original/requirements/base.txt
# Search
django-haystack==2.8.0
Whoosh==2.7.4
django-widget-tweaks==1.4.1
# YAML Loading
PyYAML==3.12
# System tools
tqdm==4.19.7
# XML Parsing
lxml==4.2.0
cssselect==1.0.3
# I18n
django-modeltranslation==0.12.2
uniseg==0.7.1
python-bidi==0.4.0
django-bidi-utils==1.0
<|fi... |
# Search
django-haystack==2.8.0
Whoosh==2.7.4
django-widget-tweaks==1.4.1
# YAML Loading
PyYAML==3.12
# System tools
tqdm==4.19.7
# XML Parsing
lxml==4.2.3
cssselect==1.0.3
# I18n
django-modeltranslation==0.12.2
uniseg==0.7.1
python-bidi==0.4.0
django-bidi-utils==1.0 | <|file_sep|>original/requirements/base.txt
# Search
django-haystack==2.8.0
Whoosh==2.7.4
django-widget-tweaks==1.4.1
# YAML Loading
PyYAML==3.12
# System tools
tqdm==4.19.7
# XML Parsing
lxml==4.2.0
cssselect==1.0.3
# I18n
django-modeltranslation==0.12.2
uniseg==0.7.1
python-bidi==0.4.0
django-bidi-utils==1.0
<|fi... | e524b52c26096f83a888225b299d206b2c103cdd | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/package.json
"name" : "node-activities-boilerplate",
"description" : "A boilerplate Activity Stream Client for any Cloud Foundry instance. Based on the work from Mathias Pettersson <mape@mape.me> on node-express-boilerplate",
"version" : "0.0.2",
"author" : "Monica Wilkinson <ciberch@gmail.... | "description" : "A boilerplate Activity Stream Client for any Cloud Foundry instance. Based on the work from Mathias Pettersson <mape@mape.me> on node-express-boilerplate",
"version" : "0.0.2",
"author" : "Monica Wilkinson <ciberch@gmail.com>",
"engines" : ["node"],
"repository" : { "type":"git", "url":"http:... | <|file_sep|>original/package.json
"name" : "node-activities-boilerplate",
"description" : "A boilerplate Activity Stream Client for any Cloud Foundry instance. Based on the work from Mathias Pettersson <mape@mape.me> on node-express-boilerplate",
"version" : "0.0.2",
"author" : "Monica Wilkinson <ciberch@gmail.... | a244aa44ed00cc84bc9e209857f794eac3e3e93d | package.json | package.json | JSON |
<|file_sep|>original/readAptinaRAW.py
<|file_sep|>current/readAptinaRAW.py
<|file_sep|>updated/readAptinaRAW.py | import os
import numpy
import matplotlib.pyplot as plt
Directory = '/scratch/tmp/DevWareX/MT9M001/DSL949A-NIR/'
Folder = '1394629994_MT9M001_DSL949A-NIR_0.0_0.0f_040ms_090mm_to150mm'
File = 'MT9M001_1280x1024_DSL949A-NIR_0.0_0.0f_040ms_090mm_to150mm_090mm.raw'
Size = [int(File.split('_')[1].split('x')[1]),
int... | <|file_sep|>original/readAptinaRAW.py
<|file_sep|>current/readAptinaRAW.py
<|file_sep|>updated/readAptinaRAW.py
import os
import numpy
import matplotlib.pyplot as plt
Directory = '/scratch/tmp/DevWareX/MT9M001/DSL949A-NIR/'
Folder = '1394629994_MT9M001_DSL949A-NIR_0.0_0.0f_040ms_090mm_to150mm'
File = 'MT9M001_1280x1... | 833d114bd1bc396dc7c6b0434782f9e326319e88 | readAptinaRAW.py | readAptinaRAW.py | Python |
<|file_sep|>original/example/run_example_cad.py
<|file_sep|>current/example/run_example_cad.py
<|file_sep|>updated/example/run_example_cad.py | #!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Runs hello_world.py, through hello_world.isolate, locally in a temporary
directory with the files fetched from the remote Conten... | <|file_sep|>original/example/run_example_cad.py
<|file_sep|>current/example/run_example_cad.py
<|file_sep|>updated/example/run_example_cad.py
#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LI... | dbafa0d69c5c13282ed5f4c41ccb7550f1575c74 | example/run_example_cad.py | example/run_example_cad.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.