prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/molecule.yml
---
ansible:
config_file: ansible.cfg
sudo: True
vagrant:
platforms:
- name: trusty64
box: ubuntu/trusty64
- name: xenial64
box: ubuntu/xenial64
providers:
- name: virtualbox
type: virtualbox
instances:
- name: ansible-java
<|file_sep|>cu... | ---
ansible:
config_file: ansible.cfg
become: True
vagrant:
platforms:
- name: trusty64
box: ubuntu/trusty64
- name: xenial64
box: ubuntu/xenial64
providers:
- name: virtualbox
type: virtualbox
instances:
- name: ansible-java | <|file_sep|>original/molecule.yml
---
ansible:
config_file: ansible.cfg
sudo: True
vagrant:
platforms:
- name: trusty64
box: ubuntu/trusty64
- name: xenial64
box: ubuntu/xenial64
providers:
- name: virtualbox
type: virtualbox
instances:
- name: ansible-java
<|file_sep|>cu... | b422bebdffbb9d11a583696735e4561667cff01c | molecule.yml | molecule.yml | YAML |
<|file_sep|>mos/light_data.py.diff
original:
node = blender_lamp.node_tree.nodes.get("Emission")
color_input = node.inputs.get("Color")
color = color_input.default_value[:3]
updated:
if blender_lamp.use_nodes:
node = blender_lamp.node_tree.nodes.get("Emission")
co... |
def write(report, directory):
blender_lamps = bpy.data.lights
for blender_lamp in blender_lamps:
if blender_lamp.use_nodes:
node = blender_lamp.node_tree.nodes.get("Emission")
color_input = node.inputs.get("Color")
color = color_input.default_value[:3]
... | <|file_sep|>mos/light_data.py.diff
original:
node = blender_lamp.node_tree.nodes.get("Emission")
color_input = node.inputs.get("Color")
color = color_input.default_value[:3]
updated:
if blender_lamp.use_nodes:
node = blender_lamp.node_tree.nodes.get("Emission")
co... | 9931e71dc3af859388c9c19ed29a1705f7af0b4a | mos/light_data.py | mos/light_data.py | Python |
<|file_sep|>original/README.md
# pact-testing-example
<|file_sep|>current/README.md
# pact-testing-example
<|file_sep|>updated/README.md | # pact-testing-example
## Credits
* This code was an original fork of `[react-imdb][1]`; a simple app that wraps the
[The Open Movie Database][2] (OMDb API) and demonstrates searching of the api.
[1]: https://github.com/alepoletto/react-imdb
[2]: http://www.omdbapi.com/ | <|file_sep|>original/README.md
# pact-testing-example
<|file_sep|>current/README.md
# pact-testing-example
<|file_sep|>updated/README.md
# pact-testing-example
## Credits
* This code was an original fork of `[react-imdb][1]`; a simple app that wraps the
[The Open Movie Database][2] (OMDb API) and demonstrates searc... | db407297cb9871832c364be687c4c7f2ca3de37b | README.md | README.md | Markdown |
<|file_sep|>original/.github/workflows/ci-macos-brew.yml
name: MacOS Homebrew Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install
run: brew update; brew tap cyclone-scheme/cyclone ; brew -v install cyclone-scheme/cyclone/cyclone-bootstrap
... | name: MacOS Homebrew Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install
run: brew update; brew tap cyclone-scheme/cyclone ; brew -v install cyclone-scheme/cyclone/cyclone-bootstrap
- name: test
run: cd tests; cyclone unit-tests.s... | <|file_sep|>original/.github/workflows/ci-macos-brew.yml
name: MacOS Homebrew Build
on: [push]
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: Install
run: brew update; brew tap cyclone-scheme/cyclone ; brew -v install cyclone-scheme/cyclone/cyclone-bootstrap
... | 81e37eb883529d8de97819ec38af1075eb0f7680 | .github/workflows/ci-macos-brew.yml | .github/workflows/ci-macos-brew.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
before_install:
- sudo apt-get install pypy
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>current/.travis.yml
language: python... | language: python
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
before_install:
- sudo apt-get install pypy
install:
- pip install tox
script:
- tox -e $TOX_ENV | <|file_sep|>original/.travis.yml
language: python
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
- TOX_ENV=py32
- TOX_ENV=py33
- TOX_ENV=py34
- TOX_ENV=pypy
before_install:
- sudo apt-get install pypy
install:
- pip install tox
script:
- tox -e $TOX_ENV
<|file_sep|>current/.travis.yml
language: python... | 6da974876e9e7327852ae852cb31fc9b847882ee | .travis.yml | .travis.yml | YAML |
<|file_sep|>client/src/boot/registerQueries.js.diff
original:
updated:
const forceAllFoldersToBob = (manager) => {
manager.transformApolloConfig('props', ({ mutate }) => (prevProps) => {
const createFolder = (parentId) => mutate({
variables: {
folder: {
parentId,
// this transf... | },
},
};
});
};
const registerQueries = () => {
Injector.query.registerFragment('FileInterfaceFields', fileInterface);
Injector.query.registerFragment('FileFields', file);
Injector.query.registerFragment('FolderFields', folder);
// @todo delete these examples/POCs, CreateFolder is not used... | <|file_sep|>client/src/boot/registerQueries.js.diff
original:
updated:
const forceAllFoldersToBob = (manager) => {
manager.transformApolloConfig('props', ({ mutate }) => (prevProps) => {
const createFolder = (parentId) => mutate({
variables: {
folder: {
parentId,
// this transf... | 7ad38f38d39331e8be54e30c716d360b08b50480 | client/src/boot/registerQueries.js | client/src/boot/registerQueries.js | JavaScript |
<|file_sep|>original/.bmi/info.yaml
url: https://csdms.colorado.edu/wiki/Model:BRaKE
author: Charles M. Shobe
email: charles.shobe@colorado.edu
version: 1.0
<|file_sep|>current/.bmi/info.yaml
url: https://csdms.colorado.edu/wiki/Model:BRaKE
author: Charles M. Shobe
email: charles.shobe@colorado.edu
version: 1.0
<|file_... | url: https://csdms.colorado.edu/wiki/Model:BRaKE
author: Charles M. Shobe
email: charles.shobe@colorado.edu
version: 1.0
summary:
"BRaKE is a 1-D bedrock channel profile evolution model. It
calculates bedrock erosion in addition to treating the delivery,
transport, degradation, and erosion-inhibiting effects of l... | <|file_sep|>original/.bmi/info.yaml
url: https://csdms.colorado.edu/wiki/Model:BRaKE
author: Charles M. Shobe
email: charles.shobe@colorado.edu
version: 1.0
<|file_sep|>current/.bmi/info.yaml
url: https://csdms.colorado.edu/wiki/Model:BRaKE
author: Charles M. Shobe
email: charles.shobe@colorado.edu
version: 1.0
<|file_... | 3dfa35ab8f6ee7b3b1e9f5b2269901163f5ac537 | .bmi/info.yaml | .bmi/info.yaml | YAML |
<|file_sep|>test/rb/core/test_backwards_compatability.rb.diff
original:
assert_equal msg, TException.new(msg).message
updated:
assert_equal msg, Thrift::Exception.new(msg).message
<|file_sep|>original/test/rb/core/test_backwards_compatability.rb
end
class TestConstRemapping < Test::Unit::TestCase
def test_re... | require File.join(File.dirname(__FILE__), '../test_helper')
require 'thrift/thrift'
class TestTException < Test::Unit::TestCase
def test_has_accessible_message
msg = "hi there thrift"
assert_equal msg, Thrift::Exception.new(msg).message
end
end
| <|file_sep|>test/rb/core/test_backwards_compatability.rb.diff
original:
assert_equal msg, TException.new(msg).message
updated:
assert_equal msg, Thrift::Exception.new(msg).message
<|file_sep|>original/test/rb/core/test_backwards_compatability.rb
end
class TestConstRemapping < Test::Unit::TestCase
def test_re... | dd8ef9ef53c3cf4da28e641d05a16b65af0c4bcc | test/rb/core/test_backwards_compatability.rb | test/rb/core/test_backwards_compatability.rb | Ruby |
<|file_sep|>original/ci/scripts/generate-release-notes.sh
#!/bin/bash
set -e
source $(dirname $0)/common.sh
version=$( cat version/version )
milestone=$( echo $version )
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
milestone=${version%.RELEASE}
fi
java -jar /github-release-notes-generator.jar \
--releasenotes.github... | #!/bin/bash
set -e
source $(dirname $0)/common.sh
version=$( cat version/version )
milestone=${version}
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
milestone=${version%.RELEASE}
fi
java -jar /github-release-notes-generator.jar \
--releasenotes.github.username=${GITHUB_USERNAME} \
--releasenotes.github.password=${... | <|file_sep|>original/ci/scripts/generate-release-notes.sh
#!/bin/bash
set -e
source $(dirname $0)/common.sh
version=$( cat version/version )
milestone=$( echo $version )
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
milestone=${version%.RELEASE}
fi
java -jar /github-release-notes-generator.jar \
--releasenotes.github... | 7eb93a012632489412514328794529cb1a24b43f | ci/scripts/generate-release-notes.sh | ci/scripts/generate-release-notes.sh | Shell |
<|file_sep|>original/_events/2018-02-28-exploring-chicago-s-open-data.md
<|file_sep|>current/_events/2018-02-28-exploring-chicago-s-open-data.md
<|file_sep|>updated/_events/2018-02-28-exploring-chicago-s-open-data.md | ---
layout: post
date: "2018-02-28"
time: "12:45:00 PM"
excerpt: >
As a part of Endangered Data Week (February 26-March 2), students can drop in to explore Chicago government data, specifically the Civilian ...
location_city: "Illinois Institute of Technology"
location_physical: "Chicago, IL"
title: "Exploring Chicag... | <|file_sep|>original/_events/2018-02-28-exploring-chicago-s-open-data.md
<|file_sep|>current/_events/2018-02-28-exploring-chicago-s-open-data.md
<|file_sep|>updated/_events/2018-02-28-exploring-chicago-s-open-data.md
---
layout: post
date: "2018-02-28"
time: "12:45:00 PM"
excerpt: >
As a part of Endangered Data Wee... | 7e716d61e384526ed3e7564afe5ebe6472370d90 | _events/2018-02-28-exploring-chicago-s-open-data.md | _events/2018-02-28-exploring-chicago-s-open-data.md | Markdown |
<|file_sep|>original/test/app/controllers/admin/resources/autocomplete_test.rb
get :autocomplete, :search => "Entry"
assert_response :success
assert_equal 20, assigns(:items).size
end
test "autocomplete with a search result" do
FactoryGirl.create(:entry, :title => "fesplugas", :id => 10000)
get... | get :autocomplete, :search => "Entry"
assert_response :success
assert_equal 20, assigns(:items).size
end
test "autocomplete with a search result" do
FactoryGirl.create(:entry, :title => "fesplugas", :id => 10000)
get :autocomplete, :search => "fesp"
assert_response :success
assert assig... | <|file_sep|>original/test/app/controllers/admin/resources/autocomplete_test.rb
get :autocomplete, :search => "Entry"
assert_response :success
assert_equal 20, assigns(:items).size
end
test "autocomplete with a search result" do
FactoryGirl.create(:entry, :title => "fesplugas", :id => 10000)
get... | 694272434d995a0f32f9f4b24ba9329aba921fe8 | test/app/controllers/admin/resources/autocomplete_test.rb | test/app/controllers/admin/resources/autocomplete_test.rb | Ruby |
<|file_sep|>app/views/layouts/application.html.erb.diff
original:
<!-- <main class="body-container <%= controller_name %>-parent">
<header class="js-expandable-section">
<%#= render 'layouts/partials/navbar' %>
<%#= yield :header %>
</header> -->
updated:
<|file_sep|>original... | <!DOCTYPE html>
<html>
<head>
<%= render "layouts/partials/head" %>
</head>
<body>
<div id="v-app">
<%= render "layouts/partials/topbar" %>
<%= yield %>
<%= render "layouts/partials/footer" %>
</div>
<%= render 'partials/download_modal' %>
</body>
</html> | <|file_sep|>app/views/layouts/application.html.erb.diff
original:
<!-- <main class="body-container <%= controller_name %>-parent">
<header class="js-expandable-section">
<%#= render 'layouts/partials/navbar' %>
<%#= yield :header %>
</header> -->
updated:
<|file_sep|>original... | 7b48a2c7109a9cf984c8d82a360d688d4e8c6ab6 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/app/views/welcome/index.html.erb
<h1>Hello, World!</h1>
<|file_sep|>current/app/views/welcome/index.html.erb
<h1>Hello, World!</h1>
<|file_sep|>updated/app/views/welcome/index.html.erb | <div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
</div>
</div>
<footer class="mt-4">
<p class="text-center text-mu... | <|file_sep|>original/app/views/welcome/index.html.erb
<h1>Hello, World!</h1>
<|file_sep|>current/app/views/welcome/index.html.erb
<h1>Hello, World!</h1>
<|file_sep|>updated/app/views/welcome/index.html.erb
<div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
... | f9de176fc5138d88f07cedf21aaaad4512160171 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | HTML+ERB |
<|file_sep|>original/warehouse/defaults.py
# sub-domains.
SERVER_NAME = "warehouse.local"
# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"
# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"
# The amount of time (in seconds) that synchronizing each pr... | from __future__ import division
from __future__ import unicode_literals
# The base domain name for this installation. Used to control linking to
# sub-domains.
SERVER_NAME = "warehouse.local"
# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"
# The URI for our Redis databas... | <|file_sep|>original/warehouse/defaults.py
# sub-domains.
SERVER_NAME = "warehouse.local"
# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"
# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"
# The amount of time (in seconds) that synchronizing each pr... | 2b3406a46625fd5350200dcb6d2dc32224d3c609 | warehouse/defaults.py | warehouse/defaults.py | Python |
<|file_sep|>original/content/bootloader.js
// Render the environment & partner menus
renderEnvironmentMenuItems();
renderPartnerMenuItems();
renderGaugeRowItems();
// Events binding
window.onhashchange = _handlerRefreshMenuAndPage;
// Update the menu and render the content
_handlerRefreshMenuAndPage();
<|file_sep|>c... |
// Render the environment & partner menus
renderEnvironmentMenuItems();
renderPartnerMenuItems();
renderGaugeRowItems();
// Events binding
window.onhashchange = _handlerRefreshMenuAndPage;
// Update the menu and render the content
_handlerRefreshMenuAndPage();
(function myLoop (i) {
setTimeout(function ... | <|file_sep|>original/content/bootloader.js
// Render the environment & partner menus
renderEnvironmentMenuItems();
renderPartnerMenuItems();
renderGaugeRowItems();
// Events binding
window.onhashchange = _handlerRefreshMenuAndPage;
// Update the menu and render the content
_handlerRefreshMenuAndPage();
<|file_sep|>c... | 59fd6e6d26ddb98957dcdcdb415efddad1080be3 | content/bootloader.js | content/bootloader.js | JavaScript |
<|file_sep|>original/metadata/com.google.marvin.shell.txt
.
Repo Type:srclib
Repo:EyesFree
Build:3.0.4,33
commit=787
subdir=apps/shell
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1../../libraries/utils@' project.properties && \
echo "android.library.reference.2=../../libraries/compatuti... | .
Repo Type:srclib
Repo:EyesFree
Build:3.0.4,33
commit=787
subdir=apps/shell
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1../../libraries/utils@' project.properties && \
echo "android.library.reference.2=../../libraries/compatutils" >> project.properties && \
cd ../../ && \
... | <|file_sep|>original/metadata/com.google.marvin.shell.txt
.
Repo Type:srclib
Repo:EyesFree
Build:3.0.4,33
commit=787
subdir=apps/shell
prebuild=sed -i 's@\(android.library.reference.1=\).*@\1../../libraries/utils@' project.properties && \
echo "android.library.reference.2=../../libraries/compatuti... | 7b83fee830ba647dd08ee0cb659f8438b81bb6cd | metadata/com.google.marvin.shell.txt | metadata/com.google.marvin.shell.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "12"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "12"
<|file_sep|>updated/.travis.yml | language: node_js
dist: bionic
before_install:
- "apt -y install build-essential"
node_js:
- "12" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "12"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "12"
<|file_sep|>updated/.travis.yml
language: node_js
dist: bionic
before_install:
- "apt -y install build-essential"
node_js:
- "12" | 2dffb5cbd5230169751d9bbd35b7dcd93deec0b1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>gradle.properties.diff
original:
#
# Copyright 2017 Sascha Peilicke
#
# 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 r... | # Project-wide Gradle settings.
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true
# AndroidX
android.useAndroidX=true
android.enableJetifier=true
# Robolectric:
android.enableUnitTe... | <|file_sep|>gradle.properties.diff
original:
#
# Copyright 2017 Sascha Peilicke
#
# 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 r... | 09ef7b8e338b411e97b1388a0067db82929b2658 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/requirements.txt
Flask==1.1.2
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.1
SQLAlchemy==1.3.8
WTForms==2.2.1
coverage==4.5.4
pytest==5.2.0
Flask-Cors==3.0.9
pytest-cov==2.7.1
pytest-flask==0.15.0
six==1.12.0
wcwidth==0.1.7
Werkzeug==1.0.1
WTForms==2.2.1
zipp==0.5.1
<|file_sep|>current/requirements.txt... | Flask==1.1.2
Flask-Admin==1.5.6
Flask-SQLAlchemy==2.4.1
SQLAlchemy==1.3.8
WTForms==2.2.1
coverage==4.5.4
pytest==5.2.0
Flask-Cors==3.0.9
pytest-cov==2.7.1
pytest-flask==0.15.0
six==1.12.0
wcwidth==0.1.7
Werkzeug==1.0.1
WTForms==2.2.1
zipp==0.5.1 | <|file_sep|>original/requirements.txt
Flask==1.1.2
Flask-Admin==1.5.3
Flask-SQLAlchemy==2.4.1
SQLAlchemy==1.3.8
WTForms==2.2.1
coverage==4.5.4
pytest==5.2.0
Flask-Cors==3.0.9
pytest-cov==2.7.1
pytest-flask==0.15.0
six==1.12.0
wcwidth==0.1.7
Werkzeug==1.0.1
WTForms==2.2.1
zipp==0.5.1
<|file_sep|>current/requirements.txt... | 382331e9bebf4e58abda04f03cadd98b1f9c7996 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
# See http://docs.travis-ci.com/user/languages/csharp/ for details
language: csharp
install:
- nuget restore src/NodaTime-All.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
# TODO: Run the other unit tests too
# The framework profile and version is ... | # See http://docs.travis-ci.com/user/languages/csharp/ for details
language: csharp
install:
- nuget restore src/NodaTime-All.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
# TODO: Run the other unit tests too
# The framework profile and version is required as currently we target .... | <|file_sep|>original/.travis.yml
# See http://docs.travis-ci.com/user/languages/csharp/ for details
language: csharp
install:
- nuget restore src/NodaTime-All.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
# TODO: Run the other unit tests too
# The framework profile and version is ... | a2a37f2f42231bf09efdfa67e35175b23aaa6860 | .travis.yml | .travis.yml | YAML |
<|file_sep|>fireplace/cards/wog/priest.py.diff
original:
updated:
class OG_234:
"Darkshire Alchemist"
play = Heal(TARGET, 5)
<|file_sep|>original/fireplace/cards/wog/priest.py
from ..utils import *
##
# Minions
<|file_sep|>current/fireplace/cards/wog/priest.py
from ..utils import *
##
# Minions
class OG_234:
... | from ..utils import *
##
# Minions
class OG_234:
"Darkshire Alchemist"
play = Heal(TARGET, 5)
class OG_335:
"Shifting Shade"
deathrattle = Give(CONTROLLER, Copy(RANDOM(ENEMY_DECK)))
##
# Spells
class OG_094:
"Power Word: Tentacles" | <|file_sep|>fireplace/cards/wog/priest.py.diff
original:
updated:
class OG_234:
"Darkshire Alchemist"
play = Heal(TARGET, 5)
<|file_sep|>original/fireplace/cards/wog/priest.py
from ..utils import *
##
# Minions
<|file_sep|>current/fireplace/cards/wog/priest.py
from ..utils import *
##
# Minions
class OG_234:
... | a1d9e1ed4ac8b7542b6430f84b2ed9197d45d577 | fireplace/cards/wog/priest.py | fireplace/cards/wog/priest.py | Python |
<|file_sep|>original/swap-bytes.asd
(defsystem :swap-bytes
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
(:file "portable")))
<|file_sep|>current/swap-bytes.asd
(defsystem :swap-bytes
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
... | (defsystem :swap-bytes
:depends-on (:trivial-features)
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
(:file "portable"))) | <|file_sep|>original/swap-bytes.asd
(defsystem :swap-bytes
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
(:file "portable")))
<|file_sep|>current/swap-bytes.asd
(defsystem :swap-bytes
:serial t
:components ((:file "package")
#+sbcl (:file "sbcl")
... | ee6713e60f65507578a2ff670b148265935e5766 | swap-bytes.asd | swap-bytes.asd | Common Lisp |
<|file_sep|>app/__init__.py.diff
original:
updated:
import os
<|file_sep|>original/app/__init__.py
from app.main import bundle_app # noqa
# NOTE: uncomment out while genrating migration
# app = bundle_app({'MIGRATION': True})
<|file_sep|>current/app/__init__.py
import os
from app.main import bundle_app # noqa
# NOTE... | import os
from app.main import bundle_app # noqa
# NOTE: uncomment out while genrating migration
# app = bundle_app({'MIGRATION': True})
application = bundle_app({
'CLI_OR_DEPLOY': True,
'GUNICORN': 'gunicorn' in os.environ.get('SERVER_SOFTWARE', '')}) # noqa | <|file_sep|>app/__init__.py.diff
original:
updated:
import os
<|file_sep|>original/app/__init__.py
from app.main import bundle_app # noqa
# NOTE: uncomment out while genrating migration
# app = bundle_app({'MIGRATION': True})
<|file_sep|>current/app/__init__.py
import os
from app.main import bundle_app # noqa
# NOTE... | de9e8ab1a91e2a0e69971f9c23377f97e717b048 | app/__init__.py | app/__init__.py | Python |
<|file_sep|>Gruntfile.js.diff
original:
require('grunt-dojo2').initConfig(grunt, {
updated:
const gruntConfig = {
<|file_sep|>Gruntfile.js.diff
original:
updated:
},
watch: {
dev: {
files: '**/*.ts',
tasks: ['dev'],
options: {
spawn: false
}
}
<|file_sep|>original/Gruntfile.js
module.e... | const gruntConfig = {
dtsGenerator: {
options: {
main: 'dojo-store-prototype/main'
}
},
watch: {
dev: {
files: '**/*.ts',
tasks: ['dev'],
options: {
spawn: false
}
}
}
};
grunt.initConfig(gruntConfig);
require('grunt-dojo2').initConfig(grunt, gruntConfig);
grunt.loadNp... | <|file_sep|>Gruntfile.js.diff
original:
require('grunt-dojo2').initConfig(grunt, {
updated:
const gruntConfig = {
<|file_sep|>Gruntfile.js.diff
original:
updated:
},
watch: {
dev: {
files: '**/*.ts',
tasks: ['dev'],
options: {
spawn: false
}
}
<|file_sep|>original/Gruntfile.js
module.e... | 8bca0ca701253e78d22dfe58558b3bebf799f5f4 | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>index.html.diff
original:
updated:
<head>
<title>About Me</title>
</head>
<|file_sep|>original/index.html
<html>
<body>
<a href="">
<img src:"imgs/photo.png">
</a>
<table>
<table border="1">
<tr>
<td>
<a href="/blog/blog_index.html">Blog
<... | <body>
<a href="">
<img src:"imgs/photo.png">
</a>
<table>
<table border="1">
<tr>
<td>
<a href="/blog/blog_index.html">Blog
</a>
</td>
<td><a href="/contact_me/contact_me.html">Contact Me</a></td>
<td><a href="/experience/experience.ht... | <|file_sep|>index.html.diff
original:
updated:
<head>
<title>About Me</title>
</head>
<|file_sep|>original/index.html
<html>
<body>
<a href="">
<img src:"imgs/photo.png">
</a>
<table>
<table border="1">
<tr>
<td>
<a href="/blog/blog_index.html">Blog
<... | 1ed3c39c0f300c98c45021d2ff172bac8cd3e8ed | index.html | index.html | HTML |
<|file_sep|>original/app/assets/frontend/sagas/dashboardSaga.js
import * as types from '../constants/actionTypes';
import * as dashboardActions from '../actions/dashboardActions';
import { takeEvery, takeLatest } from 'redux-saga';
import { take, put, call, fork, select } from 'redux-saga/effects';
import { push } from... | import * as types from '../constants/actionTypes';
import * as dashboardActions from '../actions/dashboardActions';
import { takeEvery, takeLatest } from 'redux-saga';
import { take, put, call, fork, select } from 'redux-saga/effects';
import { push } from 'react-router-redux';
import * as sidebarIndexTypes from '../co... | <|file_sep|>original/app/assets/frontend/sagas/dashboardSaga.js
import * as types from '../constants/actionTypes';
import * as dashboardActions from '../actions/dashboardActions';
import { takeEvery, takeLatest } from 'redux-saga';
import { take, put, call, fork, select } from 'redux-saga/effects';
import { push } from... | fd6de7f3e24e3723838908abdf86acf325987074 | app/assets/frontend/sagas/dashboardSaga.js | app/assets/frontend/sagas/dashboardSaga.js | JavaScript |
<|file_sep|>src/main/java/com/uwetrottmann/trakt5/enums/Extended.java.diff
original:
FULLIMAGES("full,images");
updated:
FULLIMAGES("full,images"),
/** Only works with sync watchedShows. */
NOSEASONS("noseasons"),
/** Only works with sync watchedShows. */
NOSEASONSIMAGES("noseasons,images");
<|f... | IMAGES("images"),
/** Complete info for an item. */
FULL("full"),
/** Complete info and all images. */
FULLIMAGES("full,images"),
/** Only works with sync watchedShows. */
NOSEASONS("noseasons"),
/** Only works with sync watchedShows. */
NOSEASONSIMAGES("noseasons,images");
priv... | <|file_sep|>src/main/java/com/uwetrottmann/trakt5/enums/Extended.java.diff
original:
FULLIMAGES("full,images");
updated:
FULLIMAGES("full,images"),
/** Only works with sync watchedShows. */
NOSEASONS("noseasons"),
/** Only works with sync watchedShows. */
NOSEASONSIMAGES("noseasons,images");
<|f... | 33e049e2f7badae21276f4e78d3d26e93c573122 | src/main/java/com/uwetrottmann/trakt5/enums/Extended.java | src/main/java/com/uwetrottmann/trakt5/enums/Extended.java | Java |
<|file_sep|>manual/src/main/resources/troubleshooting/troubleshooting.txt.diff
original:
| See deadlock section under Transaction section.
updated:
| See <<transactions-deadlocks>>.
<|file_sep|>original/manual/src/main/resources/troubleshooting/troubleshooting.txt
[[troubleshooting-guide]]
Troubleshooting guide
=======... | [[troubleshooting-guide]]
Troubleshooting guide
=====================
[options="header", cols="40,30,30"]
|=============================
| Problem | Cause | Resolution
| OutOfMemoryError
| Too large top level transactions or leaking transactions not finished properly.
| Split updates into smaller transactions. Always... | <|file_sep|>manual/src/main/resources/troubleshooting/troubleshooting.txt.diff
original:
| See deadlock section under Transaction section.
updated:
| See <<transactions-deadlocks>>.
<|file_sep|>original/manual/src/main/resources/troubleshooting/troubleshooting.txt
[[troubleshooting-guide]]
Troubleshooting guide
=======... | c605c79e0b5a0002a5d3edb5a8195bb322bca3fd | manual/src/main/resources/troubleshooting/troubleshooting.txt | manual/src/main/resources/troubleshooting/troubleshooting.txt | Text |
<|file_sep|>original/app/config/config_build.yml
imports:
- { resource: config.yml }
doctrine:
orm:
# This disables Doctrine proxy cache warming, which requires the database. When the cache is warmed on
# production, the classes will be generated.
auto_generate_proxy_classes: true
<|fil... | imports:
- { resource: config_prod.yml }
doctrine:
orm:
# This disables Doctrine proxy cache warming, which requires the database. When the cache is warmed on
# production, the classes will be generated.
auto_generate_proxy_classes: true | <|file_sep|>original/app/config/config_build.yml
imports:
- { resource: config.yml }
doctrine:
orm:
# This disables Doctrine proxy cache warming, which requires the database. When the cache is warmed on
# production, the classes will be generated.
auto_generate_proxy_classes: true
<|fil... | dd263d34b9e3b9913385ceefd65915ff30ffaa8a | app/config/config_build.yml | app/config/config_build.yml | YAML |
<|file_sep|>original/mongoid_search.gemspec
s.authors = ["Mauricio Zaffari"]
s.email =["mauricio@papodenerd.net"]
s.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
s.summary = "Search implementation for Mongoid ORM"
s.description = "Simple full text search imple... | s.authors = ["Mauricio Zaffari"]
s.email =["mauricio@papodenerd.net"]
s.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
s.summary = "Search implementation for Mongoid ORM"
s.description = "Simple full text search implementation."
s.license = 'MIT'
s.require... | <|file_sep|>original/mongoid_search.gemspec
s.authors = ["Mauricio Zaffari"]
s.email =["mauricio@papodenerd.net"]
s.homepage = "http://www.papodenerd.net/mongoid-search-full-text-search-for-your-mongoid-models/"
s.summary = "Search implementation for Mongoid ORM"
s.description = "Simple full text search imple... | 3c2b526a4b0e06aaee5661f40361a76b40f70591 | mongoid_search.gemspec | mongoid_search.gemspec | Ruby |
<|file_sep|>original/handlebars/places/results.handlebars
{{#results}}
<li data-lon={{ lon }} data-lat={{ lat }}>
<h5>{{ name }}{{openingHours opening_hours }}</h5>
<p class="metadata">{{ address }}</p>
<p class="metadata">{{ phone }}</p>
<p class="metadata">{{ website }}</p>
<p class="metadata">{{humaniseDistance dist... | {{#results}}
<li data-lon={{ attributes.lon }} data-lat={{ attributes.lat }}>
<h5>{{ attributes.name }}{{openingHours attributes.opening_hours }}</h5>
<p class="metadata">{{ attributes.address }}</p>
<p class="metadata">{{ attributes.phone }}</p>
<p class="metadata">{{ attributes.website }}</p>
<p class="metadata">{{hu... | <|file_sep|>original/handlebars/places/results.handlebars
{{#results}}
<li data-lon={{ lon }} data-lat={{ lat }}>
<h5>{{ name }}{{openingHours opening_hours }}</h5>
<p class="metadata">{{ address }}</p>
<p class="metadata">{{ phone }}</p>
<p class="metadata">{{ website }}</p>
<p class="metadata">{{humaniseDistance dist... | 49bdc1bbc8c569d7a5d8c02d8feea88432ed1f2b | handlebars/places/results.handlebars | handlebars/places/results.handlebars | Handlebars |
<|file_sep|>original/README.md
### Themes
You can select a theme by running `snake -t [ theme_name ]`
The default theme is `classic`. Other available themes are the following:
#### `minimal`

#### `jungle`

#### `jungle`

#### `jungle`

updated:
participants_in_target
<|file_sep|>original/app/services/projects/participants_service.rb
end
end
def target_owner
[{
name: @target.author.name,
... | end
end
def target_owner
[{
name: @target.author.name,
username: @target.author.username
}]
end
def participants_in_target
return [] unless @target
users = @target.participants(current_user)
sorted(users)
end
def sorted(users)
users.u... | <|file_sep|>app/services/projects/participants_service.rb.diff
original:
participants_in(note_type, note_id)
updated:
participants_in_target
<|file_sep|>original/app/services/projects/participants_service.rb
end
end
def target_owner
[{
name: @target.author.name,
... | ad48ecacaef508139117ceaea1a9eeaeb7046b48 | app/services/projects/participants_service.rb | app/services/projects/participants_service.rb | Ruby |
<|file_sep|>original/viewer/src/main/webapp/viewer-html/package.json
{
"name": "flamingo-mc",
"version": "1.0.0",
"repository": "https://github.com/flamingo-geocms/flamingo",
"license": " AGPL-3.0-only",
"scripts": {
"test": "jasmine"
},
"devDependencies": {
"grunt": "1.0.0",... | {
"name": "flamingo-mc",
"version": "1.0.0",
"repository": "https://github.com/flamingo-geocms/flamingo",
"license": " AGPL-3.0-only",
"scripts": {
"test": "jasmine"
},
"devDependencies": {
"grunt": "1.0.0",
"grunt-svgstore": "1.0.0",
"http-server": "^0.12.1",... | <|file_sep|>original/viewer/src/main/webapp/viewer-html/package.json
{
"name": "flamingo-mc",
"version": "1.0.0",
"repository": "https://github.com/flamingo-geocms/flamingo",
"license": " AGPL-3.0-only",
"scripts": {
"test": "jasmine"
},
"devDependencies": {
"grunt": "1.0.0",... | f4b48620f00c618b860ce68850ef611832bc92b2 | viewer/src/main/webapp/viewer-html/package.json | viewer/src/main/webapp/viewer-html/package.json | JSON |
<|file_sep|>original/webpack.config.js
require('es6-promise').polyfill();
module.exports = {
entry: [
'webpack-hot-middleware/client', // WebpackDevServer host and port
'babel-polyfill',
'./ui/js/willow-main'
],
output: {
publicPath: '/',
path: path.join(__dirname, '... | require('es6-promise').polyfill();
module.exports = {
entry: [
'webpack-hot-middleware/client', // WebpackDevServer host and port
'babel-polyfill',
'./ui/js/willow-main'
],
output: {
publicPath: '/',
path: path.join(__dirname, '/dist/js'),
filename: 'willow-m... | <|file_sep|>original/webpack.config.js
require('es6-promise').polyfill();
module.exports = {
entry: [
'webpack-hot-middleware/client', // WebpackDevServer host and port
'babel-polyfill',
'./ui/js/willow-main'
],
output: {
publicPath: '/',
path: path.join(__dirname, '... | 609162d08ae5110d2a6cfcf35b75f2d93b7de49a | webpack.config.js | webpack.config.js | JavaScript |
<|file_sep|>original/config.json
{
"version": "1.12.0",
"name": "Namesilo.name",
"description": "Namesilo.description",
"authors": [
{
"name": "Phillips Data Inc.",
"url": "https://www.blesta.com"
},
{
"name": "KnownHost LLC",
"url": "https://www.knownhost.com"
},
{
"name": "NETLINK I... | {
"version": "1.12.0",
"type": "registrar",
"name": "Namesilo.name",
"description": "Namesilo.description",
"authors": [
{
"name": "Phillips Data Inc.",
"url": "https://www.blesta.com"
},
{
"name": "KnownHost LLC",
"url": "https://www.knownhost.com"
},
{
"name": "NETLINK IT SERVIC... | <|file_sep|>original/config.json
{
"version": "1.12.0",
"name": "Namesilo.name",
"description": "Namesilo.description",
"authors": [
{
"name": "Phillips Data Inc.",
"url": "https://www.blesta.com"
},
{
"name": "KnownHost LLC",
"url": "https://www.knownhost.com"
},
{
"name": "NETLINK I... | c44bcf52a3b0c37ee02fe7127df29cf1b63bf8b9 | config.json | config.json | JSON |
<|file_sep|>original/composer.json
{
"name": "gzero/doctrine2-tree",
"license": "MIT",
"authors": [
{
"name": "Adrian Skierniewski",
"email": "adrian.skierniewski@gmail.com"
}
],
"require": {
"doctrine/orm": "2.4.*"
},
"require-dev": {
... | {
"name": "gzero/doctrine2-extensions",
"license": "MIT",
"authors": [
{
"name": "Adrian Skierniewski",
"email": "adrian.skierniewski@gmail.com"
}
],
"require": {
"doctrine/orm": "2.4.*"
},
"require-dev": {
"mockery/mockery": "dev-maste... | <|file_sep|>original/composer.json
{
"name": "gzero/doctrine2-tree",
"license": "MIT",
"authors": [
{
"name": "Adrian Skierniewski",
"email": "adrian.skierniewski@gmail.com"
}
],
"require": {
"doctrine/orm": "2.4.*"
},
"require-dev": {
... | 491be099cad1b4cf692b2a7d4b53e158030d0291 | composer.json | composer.json | JSON |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.5
dist: trusty
before_script:
- composer install
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
<|file_sep|>current/.travis.yml
language: php
php:
-... | language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.5
dist: trusty
before_script:
- composer install
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
after_success: | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
include:
- php: 5.5
dist: trusty
before_script:
- composer install
script:
- mkdir -p build/logs
- php vendor/bin/phpunit -c phpunit.xml.dist
<|file_sep|>current/.travis.yml
language: php
php:
-... | 83d25d84b7d9b7850ed51c10841ca79367d2f582 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/active_resource/disable_prefix_check.rb
def check_prefix_options(options)
end
# `flexible = true` is hack to allow multiple things through the same AR class
def conditional_prefix(resource, flexible = false)
resource_id = "#{resource}_id".to_sym
resource_type = flex... | def check_prefix_options(options)
end
# `flexible = true` is hack to allow multiple things through the same AR class
def conditional_prefix(resource, flexible = false)
resource_id = "#{resource}_id".to_sym
resource_type = flexible ? ":#{resource}" : resource.to_s.pluralize
init_prefi... | <|file_sep|>original/lib/active_resource/disable_prefix_check.rb
def check_prefix_options(options)
end
# `flexible = true` is hack to allow multiple things through the same AR class
def conditional_prefix(resource, flexible = false)
resource_id = "#{resource}_id".to_sym
resource_type = flex... | bf30a216d0e95455dc62ca6f6ee5b909d8665110 | lib/active_resource/disable_prefix_check.rb | lib/active_resource/disable_prefix_check.rb | Ruby |
<|file_sep|>original/scripts/docs.js
// Create output directory
if (!fs.existsSync(outPath)) {
fs.mkdirSync(outPath);
}
_.each(sourceFiles, function(sourceFile) {
var markdown = docdown({
title: '',
toc: 'categories',
path: path.join(srcPath, sourceFile),
url: 'https://github.co... | // Create output directory
if (!fs.existsSync(outPath)) {
fs.mkdirSync(outPath);
}
_.each(sourceFiles, function(sourceFile) {
var markdown = docdown({
title: '',
toc: 'categories',
path: path.join(srcPath, sourceFile),
style: 'github',
url: 'https://github.com/helion3/in... | <|file_sep|>original/scripts/docs.js
// Create output directory
if (!fs.existsSync(outPath)) {
fs.mkdirSync(outPath);
}
_.each(sourceFiles, function(sourceFile) {
var markdown = docdown({
title: '',
toc: 'categories',
path: path.join(srcPath, sourceFile),
url: 'https://github.co... | 482508f2927d05f2be0c58b20d7f9acd35606bc4 | scripts/docs.js | scripts/docs.js | JavaScript |
<|file_sep|>original/.travis.yml
- gem install minitest -v '~> 5.0' --no-rdoc --no-ri
- ruby -Ilib bin/rake travis:before -t
language: ruby
sudo: false
notifications:
email:
- drbrain@segment7.net
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- ruby-head
- jruby
- rbx-2
script: ruby -Ilib bin/rake
ma... | - gem install minitest -v '~> 5.0' --no-rdoc --no-ri
- ruby -Ilib bin/rake travis:before -t
language: ruby
sudo: false
notifications:
email:
- drbrain@segment7.net
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.1
- ruby-head
- jruby
- rbx-2
script: ruby -Ilib bin/rake
matrix:
allow_failures:
- rvm... | <|file_sep|>original/.travis.yml
- gem install minitest -v '~> 5.0' --no-rdoc --no-ri
- ruby -Ilib bin/rake travis:before -t
language: ruby
sudo: false
notifications:
email:
- drbrain@segment7.net
rvm:
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- ruby-head
- jruby
- rbx-2
script: ruby -Ilib bin/rake
ma... | 8f14b2507e68d5112b0cc9eea0fe835c32152760 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.3
fonttools[ufo,lxml]==4.22.1
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary requir... | # 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.3
fonttools[lxml,ufo]==4.24.3 | <|file_sep|>original/requirements.txt
# 'lxml' is not a primary requirement of psautohint but it's listed here because we
# want to have control over the version and guarantee that the XML output remains stable
lxml==4.6.3
fonttools[ufo,lxml]==4.22.1
<|file_sep|>current/requirements.txt
# 'lxml' is not a primary requir... | ecce8d36b66cde0690890fc038ee126618e591de | requirements.txt | requirements.txt | Text |
<|file_sep|>original/etc/scripts/openengsbplugin-common.sh
# Licensed to the Austrian Association for Software Tool Integration (AASTI)
# under one or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. The AASTI licenses this... | #!/bin/bash
#
# Licensed to the Austrian Association for Software Tool Integration (AASTI)
# under one or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. The AASTI licenses this file to you under the Apache License,
# Vers... | <|file_sep|>original/etc/scripts/openengsbplugin-common.sh
# Licensed to the Austrian Association for Software Tool Integration (AASTI)
# under one or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information regarding copyright
# ownership. The AASTI licenses this... | c856ec9ca60eeadecb530635c7e0d88b33dccadf | etc/scripts/openengsbplugin-common.sh | etc/scripts/openengsbplugin-common.sh | Shell |
<|file_sep|>original/wte4j-showcase/src/main/resources/log4j.properties
#
# 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 specifi... | # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#... | <|file_sep|>original/wte4j-showcase/src/main/resources/log4j.properties
#
# 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 specifi... | f54d4a99167f8a0a09e83ea268700598dfa6edee | wte4j-showcase/src/main/resources/log4j.properties | wte4j-showcase/src/main/resources/log4j.properties | INI |
<|file_sep|>README.md.diff
original:
1. Clone the repo
updated:
1. `git clone git@github.com:BarCampGreenBay/barcampgb.com.git` to pull down the Rails app
<|file_sep|>original/README.md
## Installation
1. Clone the repo
2. `bundle install` to install the dependencies
3. `shotgun barcamp.rb` to start your server
## De... | ## Installation
1. `git clone git@github.com:BarCampGreenBay/barcampgb.com.git` to pull down the Rails app
2. `bundle install` to install the dependencies
3. `rails s` to start your server
4. visit `localhost:3000` to view the site
## Deployment
The application is running on Heroku. If you'd like to be a collaborato... | <|file_sep|>README.md.diff
original:
1. Clone the repo
updated:
1. `git clone git@github.com:BarCampGreenBay/barcampgb.com.git` to pull down the Rails app
<|file_sep|>original/README.md
## Installation
1. Clone the repo
2. `bundle install` to install the dependencies
3. `shotgun barcamp.rb` to start your server
## De... | b004b45a82613cc82158656161661c9b36e0ca3d | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.0.0"
- rvm: 2.1.10
... | language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.6
- 2.3.3
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.0.0"
- rvm: 2.1.10
env: RAILS_VERSION="~> 5.0.0" | <|file_sep|>original/.travis.yml
language: ruby
sudo: false
cache:
- bundler
rvm:
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
script: bundle exec rspec
env:
matrix:
- RAILS_VERSION="~> 4.2.0"
- RAILS_VERSION="~> 5.0.0"
matrix:
exclude:
- rvm: 2.0.0
env: RAILS_VERSION="~> 5.0.0"
- rvm: 2.1.10
... | 601cf5147f4c8f5d8ebb04c148e2e2273bbea06b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/charting/EChart.js
options: PropTypes.object.isRequired,
style: PropTypes.object,
};
componentDidMount() {
const node = ReactDOM.findDOMNode(this);
this.echart = echarts.init(node);
const { options } = this.props;
this.echart.setOption(options);
... | options: PropTypes.object.isRequired,
style: PropTypes.object,
};
componentDidMount() {
const node = ReactDOM.findDOMNode(this);
this.echart = echarts.init(node);
const { options } = this.props;
this.echart.setOption(options);
}
componentDidUpdate(nextProps) {
... | <|file_sep|>original/src/charting/EChart.js
options: PropTypes.object.isRequired,
style: PropTypes.object,
};
componentDidMount() {
const node = ReactDOM.findDOMNode(this);
this.echart = echarts.init(node);
const { options } = this.props;
this.echart.setOption(options);
... | 8f4e3b91e6f5912f12f4b0d6b8ccdd6dd6b52464 | src/charting/EChart.js | src/charting/EChart.js | JavaScript |
<|file_sep|>original/vim/vim.symlink/ftplugin/python.vim
let g:pylint_onwrite = 0
let g:pylint_show_rate = 0
let g:pylint_cwindow = 1
compiler pylint
map <F7> Ofrom ipdb import set_trace; set_trace(); # TODO<esc>
map <F8> Oimport traceback, sys; traceback.print_exception(*sys.exc_info()); # TODO<esc>
<|file_sep|>curre... | map <F7> Ofrom ipdb import set_trace; set_trace(); # TODO<esc>
map <F8> Oimport traceback, sys; traceback.print_exception(*sys.exc_info()); # TODO<esc> | <|file_sep|>original/vim/vim.symlink/ftplugin/python.vim
let g:pylint_onwrite = 0
let g:pylint_show_rate = 0
let g:pylint_cwindow = 1
compiler pylint
map <F7> Ofrom ipdb import set_trace; set_trace(); # TODO<esc>
map <F8> Oimport traceback, sys; traceback.print_exception(*sys.exc_info()); # TODO<esc>
<|file_sep|>curre... | 2ba926c1721761bcdc275d5309adc2ac6c80239e | vim/vim.symlink/ftplugin/python.vim | vim/vim.symlink/ftplugin/python.vim | VimL |
<|file_sep|>rails/spec/requests/home_controller_spec.rb.diff
original:
updated:
# Goes direct to MP page (only one MP covered by this postcode)
compare("/search.php?query=2088&button=Search")
# Two electorates cover this postcode
<|file_sep|>original/rails/spec/requests/home_controller_spec.rb
it "#faq"... | compare("/faq.php")
end
it "#search" do
compare("/search.php")
# Goes direct to MP page (only one MP covered by this postcode)
compare("/search.php?query=2088&button=Search")
# Two electorates cover this postcode
compare("/search.php?query=2042&button=Search")
# Bad postcode
# comp... | <|file_sep|>rails/spec/requests/home_controller_spec.rb.diff
original:
updated:
# Goes direct to MP page (only one MP covered by this postcode)
compare("/search.php?query=2088&button=Search")
# Two electorates cover this postcode
<|file_sep|>original/rails/spec/requests/home_controller_spec.rb
it "#faq"... | b3f435081566de5f00afeeca357dbe9937f1a9d9 | rails/spec/requests/home_controller_spec.rb | rails/spec/requests/home_controller_spec.rb | Ruby |
<|file_sep|>src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs.diff
original:
dependencyVersion = package.Value["version"].Value<string>();
updated:
dependencyVersion = package.Value["version"]?.Value<string>();
<|file_sep|>original/src/Microsoft.DotNet.Build.Tasks/Update... | dependencyVersion = package.Value.ToObject<string>();
}
else
{
throw new ArgumentException(string.Format(
"Unrecognized dependency element for {0} in {1}",
package.Name,
projectJsonPath));
... | <|file_sep|>src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs.diff
original:
dependencyVersion = package.Value["version"].Value<string>();
updated:
dependencyVersion = package.Value["version"]?.Value<string>();
<|file_sep|>original/src/Microsoft.DotNet.Build.Tasks/Update... | bb6918cafc7f2645b7e8ea77cfc6f5cdbacc4478 | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | C# |
<|file_sep|>stylesheets/modular-scale/_tests.scss.diff
original:
@if pow(4, .5) == 2 {
updated:
@if pow(4, 2) == 16 {
<|file_sep|>original/stylesheets/modular-scale/_tests.scss
// Feature testing
// This not only tests for the pow() function
// as that can be done with function-exists()
// but this tests that the... | // is capable of non-interger exponents.
@function ms-pow-exists() {
@if pow(4, 2) == 16 {
@return true;
}
@return false;
}
$ms-pow-exists: ms-pow-exists();
// Test if map capability exists
// maps are used to cache calculations
@function ms-cache-exists() {
@if function-exists(map-get) == true {
@... | <|file_sep|>stylesheets/modular-scale/_tests.scss.diff
original:
@if pow(4, .5) == 2 {
updated:
@if pow(4, 2) == 16 {
<|file_sep|>original/stylesheets/modular-scale/_tests.scss
// Feature testing
// This not only tests for the pow() function
// as that can be done with function-exists()
// but this tests that the... | ccd3063eb93298e05036eacd71adcab172e3ae36 | stylesheets/modular-scale/_tests.scss | stylesheets/modular-scale/_tests.scss | SCSS |
<|file_sep|>package.json.diff
original:
"bin": "cli.js",
updated:
"bin": {
"wallet": "cli.js"
},
<|file_sep|>package.json.diff
original:
"test": "semistandard && mocha"
updated:
"test": "semistandard && mocha",
"postinstall": "node ./setup-files.js"
<|file_sep|>original/package.json
},
"script... | "files": [
"index.js",
"cli.js"
],
"keywords": [
"cli-app",
"cli",
""
],
"dependencies": {
"cli-color": "^1.0.0",
"fast-csv": "^0.6.0",
"file-exists": "^0.1.1",
"log-symbols": "^1.0.2",
"meow": "^3.3.0",
"mkdirp": "^0.5.1",
"touch": "0.0.3",
"xdg-basedir": "... | <|file_sep|>package.json.diff
original:
"bin": "cli.js",
updated:
"bin": {
"wallet": "cli.js"
},
<|file_sep|>package.json.diff
original:
"test": "semistandard && mocha"
updated:
"test": "semistandard && mocha",
"postinstall": "node ./setup-files.js"
<|file_sep|>original/package.json
},
"script... | 172fe106596ba4bcd654b60db47eb5c3b79c83d3 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier"
<|file_sep|>updated/.travis.yml | language: ruby
before_install:
- gem install bundler # need more up-to-date bundler to match Gemfile's
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier" | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier"
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.10
- 2.2.6
- 2.3.3
- 2.4.0
notifications:
irc: "irc.freenode.org#juwelier"
<|file_sep|>updated/.travis.yml
l... | 77029ec2f2ffe61b569322f808a3b3d0c234f66e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/macruby_stuff.rb
framework 'Foundation'
class URL
def initialize(url_string)
@url = NSURL.URLWithString url_string
end
def to_s
@url.absoluteString
end
end
module JIRA
#overrides for MacRuby
end
<|file_sep|>current/lib/macruby_stuff.rb
framework 'Foundation'
class URL
def ... | framework 'Foundation'
class URL
def initialize(url_string)
@url = NSURL.URLWithString url_string
end
def to_s
@url.absoluteString
end
end
module JIRA
#overrides for MacRuby
end | <|file_sep|>original/lib/macruby_stuff.rb
framework 'Foundation'
class URL
def initialize(url_string)
@url = NSURL.URLWithString url_string
end
def to_s
@url.absoluteString
end
end
module JIRA
#overrides for MacRuby
end
<|file_sep|>current/lib/macruby_stuff.rb
framework 'Foundation'
class URL
def ... | a5b91cbad679cbfa0ab86adcbeb5551036de31d5 | lib/macruby_stuff.rb | lib/macruby_stuff.rb | Ruby |
<|file_sep|>original/tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py
from time import sleep
sleep(1)
<|file_sep|>current/tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py
from time import sleep
sleep(1)
<|file_sep|>updated/tests/acceptance/assignments/one_second_timeo... | from time import sleep
# Due to the overhead of Python, sleeping for 1 second will cause testing to
# time out if the timeout is 1 second
sleep(1) | <|file_sep|>original/tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py
from time import sleep
sleep(1)
<|file_sep|>current/tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py
from time import sleep
sleep(1)
<|file_sep|>updated/tests/acceptance/assignments/one_second_timeo... | 618a1f520f2584ec3cf56b29cf71c9ad6b4240fd | tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py | tests/acceptance/assignments/one_second_timeout/correct_solution/sleep.py | Python |
<|file_sep|>original/linux/spectrwm.desktop
[Desktop Entry]
Name=spectrwm
Comment=The spectrwm window manager
Type=Application
Exec=spectrwm
TryExec=spectrwm
<|file_sep|>current/linux/spectrwm.desktop
[Desktop Entry]
Name=spectrwm
Comment=The spectrwm window manager
Type=Application
Exec=spectrwm
TryExec=spectrwm
<|fil... | [Desktop Entry]
Name=spectrwm
Comment=The spectrwm window manager
Type=Application
Exec=spectrwm
TryExec=spectrwm
Keywords=tiling;window;manager;wm; | <|file_sep|>original/linux/spectrwm.desktop
[Desktop Entry]
Name=spectrwm
Comment=The spectrwm window manager
Type=Application
Exec=spectrwm
TryExec=spectrwm
<|file_sep|>current/linux/spectrwm.desktop
[Desktop Entry]
Name=spectrwm
Comment=The spectrwm window manager
Type=Application
Exec=spectrwm
TryExec=spectrwm
<|fil... | 9caab3f155d820eeee2243f6336eea5220c0ef3f | linux/spectrwm.desktop | linux/spectrwm.desktop | desktop |
<|file_sep|>original/library/src/main/res/values-iw/strings.xml
<resources>
<string name="rate_dialog_title">דרגי את האפלקציה</string>
<string name="rate_dialog_message">אם את נהנית מהשימוש באפליקציה, מה דעתך לדרג אותה? זה לא ייקח יותר מדקה. תודה על התמיכה!</string>
<string name="rate_dialog_ok">דרגי כעת</s... | <resources>
<string name="rate_dialog_title">דרגו את האפלקציה</string>
<string name="rate_dialog_message">אם אתם נהנים מהשימוש באפליקציה, מה דעתכם לדרג אותה? זה לא ייקח יותר מדקה. תודה על התמיכה!</string>
<string name="rate_dialog_ok">דרגו כעת</string>
<string name="rate_dialog_cancel">אחר כך</string>
... | <|file_sep|>original/library/src/main/res/values-iw/strings.xml
<resources>
<string name="rate_dialog_title">דרגי את האפלקציה</string>
<string name="rate_dialog_message">אם את נהנית מהשימוש באפליקציה, מה דעתך לדרג אותה? זה לא ייקח יותר מדקה. תודה על התמיכה!</string>
<string name="rate_dialog_ok">דרגי כעת</s... | d1d532f1b48ca555c2346707325c7510d3e12df5 | library/src/main/res/values-iw/strings.xml | library/src/main/res/values-iw/strings.xml | XML |
<|file_sep|>original/db/migrate/20170106043605_add_read_reciepts.rb
<|file_sep|>current/db/migrate/20170106043605_add_read_reciepts.rb
<|file_sep|>updated/db/migrate/20170106043605_add_read_reciepts.rb | class AddReadReciepts < ActiveRecord::Migration
def change
remove_column :task_comments, :is_new
create_table :task_comments_read, options: 'id: false' do |t|
t.references :comments, index: true, foreign_key: true, null: false
t.references :users, index: true, foreign_key: true, null: false
... | <|file_sep|>original/db/migrate/20170106043605_add_read_reciepts.rb
<|file_sep|>current/db/migrate/20170106043605_add_read_reciepts.rb
<|file_sep|>updated/db/migrate/20170106043605_add_read_reciepts.rb
class AddReadReciepts < ActiveRecord::Migration
def change
remove_column :task_comments, :is_new
create_t... | c38d22988ec67af053e092a6f5de03d77c4cbd37 | db/migrate/20170106043605_add_read_reciepts.rb | db/migrate/20170106043605_add_read_reciepts.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '6'
before_install:
- cp config/example.config.js config/config.js
- mkdir semantic
- mkdir semantic/dist
- mkdir semantic/src
- mkdir semantic/src/definitions
- touch semantic/gulpfile.js
- touch semantic/theme.config
<|file_sep|>current/.tr... | language: node_js
node_js:
- '6'
before_install:
- cp config/example.config.js config/config.js
| <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '6'
before_install:
- cp config/example.config.js config/config.js
- mkdir semantic
- mkdir semantic/dist
- mkdir semantic/src
- mkdir semantic/src/definitions
- touch semantic/gulpfile.js
- touch semantic/theme.config
<|file_sep|>current/.tr... | 290f0f033e7fb9c65a31ef74e9e515da25f94006 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Library/Homebrew/build_environment.rb.diff
original:
updated:
def marshal_dump
@settings
end
def marshal_load(data)
@settings = data
end
<|file_sep|>original/Library/Homebrew/build_environment.rb
def _dump(*)
Marshal.dump(@settings)
end
def self._load(s)
new(Marshal.load(s... |
def marshal_dump
@settings
end
def marshal_load(data)
@settings = data
end
def _dump(*)
Marshal.dump(marshal_dump)
end
def self._load(s)
new(Marshal.load(s))
end
end
module BuildEnvironmentDSL
def env(*settings, &block)
@env ||= BuildEnvironment.new | <|file_sep|>Library/Homebrew/build_environment.rb.diff
original:
updated:
def marshal_dump
@settings
end
def marshal_load(data)
@settings = data
end
<|file_sep|>original/Library/Homebrew/build_environment.rb
def _dump(*)
Marshal.dump(@settings)
end
def self._load(s)
new(Marshal.load(s... | 5ba06ff614a58a728b466e97245550e7c7b95b5c | Library/Homebrew/build_environment.rb | Library/Homebrew/build_environment.rb | Ruby |
<|file_sep|>original/emission/analysis/point_features.py
<|file_sep|>current/emission/analysis/point_features.py
<|file_sep|>updated/emission/analysis/point_features.py | # Standard imports
import math
import logging
import numpy as np
import emission.core.common as ec
def calSpeed(point1, point2):
distanceDelta = ec.calDistance([point1.mLongitude, point1.mLatitude], [point2.mLongitude, point2.mLatitude])
timeDelta = point2.mTime - point1.mTime
# print "Distance delta = %s ... | <|file_sep|>original/emission/analysis/point_features.py
<|file_sep|>current/emission/analysis/point_features.py
<|file_sep|>updated/emission/analysis/point_features.py
# Standard imports
import math
import logging
import numpy as np
import emission.core.common as ec
def calSpeed(point1, point2):
distanceDelta =... | 6988dab0256ce6b6e0d5cbb4b3ac06727956ee37 | emission/analysis/point_features.py | emission/analysis/point_features.py | Python |
<|file_sep|>original/setup.py
license='MIT',
url='http://github.com/lmjohns3/theanets',
keywords=('machine-learning '
'neural-network '
'deep-neural-network '
'recurrent-neural-network '
'autoencoder '
'sparse-autoencoder '
... | url='http://github.com/lmjohns3/theanets',
keywords=('machine-learning '
'neural-network '
'deep-neural-network '
'recurrent-neural-network '
'autoencoder '
'sparse-autoencoder '
'classifier '
'theano '
... | <|file_sep|>original/setup.py
license='MIT',
url='http://github.com/lmjohns3/theanets',
keywords=('machine-learning '
'neural-network '
'deep-neural-network '
'recurrent-neural-network '
'autoencoder '
'sparse-autoencoder '
... | eb4ed4f0b1086a1f5322078d91d2132582a487e7 | setup.py | setup.py | Python |
<|file_sep|>rdio_dl/cli.py.diff
original:
updated:
# -*- coding: utf-8 -*-
<|file_sep|>rdio_dl/cli.py.diff
original:
updated:
def add_info_extractor_above_generic(ydl, ie):
generic = ydl._ies.pop()
ydl.add_info_extractor(ie)
ydl.add_info_extractor(generic)
<|file_sep|>original/rdio_dl/cli.py
import cli... | import youtube_dl
from .config import storage_load
from .extractor import RdioIE
def add_info_extractor_above_generic(ydl, ie):
generic = ydl._ies.pop()
ydl.add_info_extractor(ie)
ydl.add_info_extractor(generic)
@click.command()
@click.option(u'-u', u'--user', help=u'A Rdio user')
@click.option(u'-p', ... | <|file_sep|>rdio_dl/cli.py.diff
original:
updated:
# -*- coding: utf-8 -*-
<|file_sep|>rdio_dl/cli.py.diff
original:
updated:
def add_info_extractor_above_generic(ydl, ie):
generic = ydl._ies.pop()
ydl.add_info_extractor(ie)
ydl.add_info_extractor(generic)
<|file_sep|>original/rdio_dl/cli.py
import cli... | 023e814e6661c11bfe58a4e3e4ce4167ae63cd7f | rdio_dl/cli.py | rdio_dl/cli.py | Python |
<|file_sep|>original/test/T-underfull-hbox.tex
<|file_sep|>current/test/T-underfull-hbox.tex
<|file_sep|>updated/test/T-underfull-hbox.tex | % Test suppression of underfull hbox messages
\documentclass{article}
\begin{document}
a\\
\end{document}
%% output:
%% T-underfull-hbox.tex: 1 underfull warning not shown (use -Wall to show them) | <|file_sep|>original/test/T-underfull-hbox.tex
<|file_sep|>current/test/T-underfull-hbox.tex
<|file_sep|>updated/test/T-underfull-hbox.tex
% Test suppression of underfull hbox messages
\documentclass{article}
\begin{document}
a\\
\end{document}
%% output:
%% T-underfull-hbox.tex: 1 underfull warning not shown (u... | 1a0c9dc9bd8ac01b7abf96b5b3f65bb502ab1804 | test/T-underfull-hbox.tex | test/T-underfull-hbox.tex | TeX |
<|file_sep|>README.md.diff
original:
You will need Ruby and Rubygems installed.
updated:
You will need Ruby, Rubygems, and npm installed.
<|file_sep|>README.md.diff
original:
updated:
npm install
<|file_sep|>README.md.diff
original:
updated:
To add a new JavaScript package: `npm install WHATEVER_PACKAGE --save`
<|fi... |
Visit [localhost:3000](http://localhost:3000).
To add a new JavaScript package: `npm install WHATEVER_PACKAGE --save`
## How to Test
```bash
bundle install
RAILS_ENV=test bin/rake db:migrate
rake test
```
## How to Deploy to Heroku
WIP
```bash
heroku buildpacks:add https://github.com/heroku/heroku-buildpack-node... | <|file_sep|>README.md.diff
original:
You will need Ruby and Rubygems installed.
updated:
You will need Ruby, Rubygems, and npm installed.
<|file_sep|>README.md.diff
original:
updated:
npm install
<|file_sep|>README.md.diff
original:
updated:
To add a new JavaScript package: `npm install WHATEVER_PACKAGE --save`
<|fi... | be9054194d9d4a611cc720cd1abdfc316302553a | README.md | README.md | Markdown |
<|file_sep|>original/tests/run_all_tests.sh
#!/bin/bash
#
# Run all the regression tests
cd $(dirname "$0")
# Halt on error
set -e
# Verify that validation checks in source match documentation
./vkvalidatelayerdoc.sh
# vk_layer_validation_tests check to see that validation layers will
# catch the errors that they ar... | #!/bin/bash
#
# Run all the regression tests
cd $(dirname "$0")
# Halt on error
set -e
#Verify that the loader is working
./vk_loader_validation_tests
# Verify that validation checks in source match documentation
./vkvalidatelayerdoc.sh
# vk_layer_validation_tests check to see that validation layers will
# catch th... | <|file_sep|>original/tests/run_all_tests.sh
#!/bin/bash
#
# Run all the regression tests
cd $(dirname "$0")
# Halt on error
set -e
# Verify that validation checks in source match documentation
./vkvalidatelayerdoc.sh
# vk_layer_validation_tests check to see that validation layers will
# catch the errors that they ar... | c8c23302f28cc3b24d722172c97132a63b0b6727 | tests/run_all_tests.sh | tests/run_all_tests.sh | Shell |
<|file_sep|>original/setup.py
from distutils.core import setup
setup(
name='pystash',
version='0.0.14',
author='Alexander Davydov',
author_email='nyddle@gmail.com',
packages=[ 'pystash' ],
scripts=[ 'bin/stash' ],
url='http://pypi.python.org/pypi/pystash/',
license='LICENSE.txt',
de... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='pystash',
version='0.0.14',
author='Alexander Davydov',
author_email='nyddle@gmail.com',
packages=[ 'pystash' ],
scripts=[ 'bin/stash' ],
url='http://pypi.python.org/pypi/pystash/',
... | <|file_sep|>original/setup.py
from distutils.core import setup
setup(
name='pystash',
version='0.0.14',
author='Alexander Davydov',
author_email='nyddle@gmail.com',
packages=[ 'pystash' ],
scripts=[ 'bin/stash' ],
url='http://pypi.python.org/pypi/pystash/',
license='LICENSE.txt',
de... | f51589192d428b82acbebece6be73799e04a3f44 | setup.py | setup.py | Python |
<|file_sep|>original/programs/rodeos/tests/CMakeLists.txt
add_executable(test_rodeos_cli test_rodeos_cli.cpp)
target_link_libraries(test_rodeos_cli
PRIVATE rodeos_lib fc amqpcpp ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS}
PRIVATE Boost::unit_test_framework
)
add_test(NAME test_rodeos_cli
COMMAND libraries/r... | add_executable(test_rodeos_cli test_rodeos_cli.cpp)
target_link_libraries(test_rodeos_cli
PRIVATE rodeos_lib fc amqpcpp ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS}
PRIVATE Boost::unit_test_framework
)
add_test(NAME test_rodeos_cli
COMMAND programs/rodeos/tests/test_rodeos_cli
WORKING_DIRECTORY ${CMAKE_B... | <|file_sep|>original/programs/rodeos/tests/CMakeLists.txt
add_executable(test_rodeos_cli test_rodeos_cli.cpp)
target_link_libraries(test_rodeos_cli
PRIVATE rodeos_lib fc amqpcpp ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS}
PRIVATE Boost::unit_test_framework
)
add_test(NAME test_rodeos_cli
COMMAND libraries/r... | b1dfa9c67cfbd32b87f2a4009f430ba688383e61 | programs/rodeos/tests/CMakeLists.txt | programs/rodeos/tests/CMakeLists.txt | Text |
<|file_sep|>original/releasenotes/notes/13.0.0-start-of-newton-support-3ebb274f300f28eb.yaml
---
prelude: >
This release is marking the start of Newton release support in Tempest
other:
- OpenStack releases supported at this time are **Liberty**, **Mitaka**,
and **Newton**
The release under current devel... | ---
prelude: >
This release is marking the start of Newton release support in Tempest
other:
- |
OpenStack releases supported at this time are **Liberty**, **Mitaka**,
and **Newton**.
The release under current development as of this tag is Ocata,
meaning that every Tempest commit is also tested a... | <|file_sep|>original/releasenotes/notes/13.0.0-start-of-newton-support-3ebb274f300f28eb.yaml
---
prelude: >
This release is marking the start of Newton release support in Tempest
other:
- OpenStack releases supported at this time are **Liberty**, **Mitaka**,
and **Newton**
The release under current devel... | 64d0989fc8074284a056a099eff6b0e85654b036 | releasenotes/notes/13.0.0-start-of-newton-support-3ebb274f300f28eb.yaml | releasenotes/notes/13.0.0-start-of-newton-support-3ebb274f300f28eb.yaml | YAML |
<|file_sep|>original/package.json
"main": "index.js",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"dependencies": {
"eslint": "^4.4.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-lodash": "^2.4.0",
"eslint-plugin-node": "^5.1.1",
... | "main": "index.js",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"dependencies": {
"eslint": "^4.4.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-lodash": "^2.4.0",
"eslint-plugin-node": "^5.1.0",
"eslint-plugin-promise": "^3.5.0"... | <|file_sep|>original/package.json
"main": "index.js",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"dependencies": {
"eslint": "^4.4.0",
"eslint-config-standard": "^10.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-lodash": "^2.4.0",
"eslint-plugin-node": "^5.1.1",
... | 064d4e88a677c3e92e593c4392222c3520a9a5be | package.json | package.json | JSON |
<|file_sep|>craiggy.gemspec.diff
original:
s.version = "3.1.0"
s.date = "2016-01-15"
updated:
s.version = "0.0.1"
s.licenses = ["MIT"]
s.date = "2017-01-15"
<|file_sep|>craiggy.gemspec.diff
original:
s.files = Dir["lib/*.rb"] + Dir["lib/craiggy/*.rb"]
updated:
s.files ... | Gem::Specification.new do |s|
s.name = "craiggy"
s.version = "0.0.1"
s.licenses = ["MIT"]
s.date = "2017-01-15"
s.summary = "Scrape posts from Craigslist with an easy API"
s.description = "All you need is an item title and Craiggy will scrape Craigslist and return an array of Posts ... | <|file_sep|>craiggy.gemspec.diff
original:
s.version = "3.1.0"
s.date = "2016-01-15"
updated:
s.version = "0.0.1"
s.licenses = ["MIT"]
s.date = "2017-01-15"
<|file_sep|>craiggy.gemspec.diff
original:
s.files = Dir["lib/*.rb"] + Dir["lib/craiggy/*.rb"]
updated:
s.files ... | c61c5a6eefeda05b8a93a1a02c7483bdc0b942a3 | craiggy.gemspec | craiggy.gemspec | Ruby |
<|file_sep|>app/serializers/project_serializer.rb.diff
original:
mkdir -p config
echo '#{database_yml}' > config/database.yml
updated:
<|file_sep|>original/app/serializers/project_serializer.rb
end
def build_commands
<<-TEXT
bundle install
mkdir -p config
echo '#{database_yml}' ... | attributes :repository_name, :repository_owner, :github_access_token,
:build_commands
has_many :files
def github_access_token
object.user.github_access_token
end
def files
object.project_files
end
def build_commands
<<-TEXT
bundle install
RAILS_ENV=test rake db:create
... | <|file_sep|>app/serializers/project_serializer.rb.diff
original:
mkdir -p config
echo '#{database_yml}' > config/database.yml
updated:
<|file_sep|>original/app/serializers/project_serializer.rb
end
def build_commands
<<-TEXT
bundle install
mkdir -p config
echo '#{database_yml}' ... | 2a7fcad2062e369bd42a91c55a06d66da364c02f | app/serializers/project_serializer.rb | app/serializers/project_serializer.rb | Ruby |
<|file_sep|>Casks/command-line-tools-lion.rb.diff
original:
updated:
version 'lion_april_2013'
sha256 '20a3e1965c685c6c079ffe89b168c3975c9a106c4b33b89aeac93c8ffa4e0523'
<|file_sep|>original/Casks/command-line-tools-lion.rb
class CommandLineToolsLion < Cask
url 'http://devimages.apple.com/downloads/xcode/command... | class CommandLineToolsLion < Cask
version 'lion_april_2013'
sha256 '20a3e1965c685c6c079ffe89b168c3975c9a106c4b33b89aeac93c8ffa4e0523'
url 'http://devimages.apple.com/downloads/xcode/command_line_tools_for_xcode_os_x_lion_april_2013.dmg'
homepage 'https://developer.apple.com/xcode/downloads/'
link 'Command L... | <|file_sep|>Casks/command-line-tools-lion.rb.diff
original:
updated:
version 'lion_april_2013'
sha256 '20a3e1965c685c6c079ffe89b168c3975c9a106c4b33b89aeac93c8ffa4e0523'
<|file_sep|>original/Casks/command-line-tools-lion.rb
class CommandLineToolsLion < Cask
url 'http://devimages.apple.com/downloads/xcode/command... | b459779651ce3d51c58f447ccec8c98fe0d894c8 | Casks/command-line-tools-lion.rb | Casks/command-line-tools-lion.rb | Ruby |
<|file_sep|>src/lib/llist.h.diff
original:
if ((item)->next != NULL) \
updated:
if ((item)->next != NULL) { \
<|file_sep|>original/src/lib/llist.h
#ifndef LLIST_H
#define LLIST_H
/* Doubly linked list */
#define DLLIST_PREPEND(list, item) STMT_START { \
(item)->prev = NULL; \
(item)->next = *(list); \
if (*(list)... | /* Doubly linked list */
#define DLLIST_PREPEND(list, item) STMT_START { \
(item)->prev = NULL; \
(item)->next = *(list); \
if (*(list) != NULL) (*(list))->prev = (item); \
*(list) = (item); \
} STMT_END
#define DLLIST_REMOVE(list, item) STMT_START { \
if ((item)->prev == NULL) \
*(list) = (item)->next; \
els... | <|file_sep|>src/lib/llist.h.diff
original:
if ((item)->next != NULL) \
updated:
if ((item)->next != NULL) { \
<|file_sep|>original/src/lib/llist.h
#ifndef LLIST_H
#define LLIST_H
/* Doubly linked list */
#define DLLIST_PREPEND(list, item) STMT_START { \
(item)->prev = NULL; \
(item)->next = *(list); \
if (*(list)... | 021acd29cee735d3c314445bfac588d3eec2e4f1 | src/lib/llist.h | src/lib/llist.h | C |
<|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==3.1.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==2.2.9
django-autofixture==0.12.1
graphviz==0.14
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus... | # Local development dependencies go here
-r base.txt
Sphinx==3.1.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==2.2.9
django-autofixture==0.12.1
graphviz==0.14
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus==1.4.0
vcrpy==4.0.2
ipdb==0.13.3 | <|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==3.1.2
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==2.2.9
django-autofixture==0.12.1
graphviz==0.14
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus... | 15ac1f1ebb7dc692efa0555f5b8fb5218c35060e | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/core/lib/generators/spree/custom_user/custom_user_generator.rb
desc "Set up a Spree installation with a custom User class"
def self.source_paths
paths = self.superclass.source_paths
paths << File.expand_path('../templates', __FILE__)
paths.flatten
end
def genera... |
desc "Set up a Spree installation with a custom User class"
def self.source_paths
paths = self.superclass.source_paths
paths << File.expand_path('../templates', __FILE__)
paths.flatten
end
def generate
template 'migration.rb.tt', "db/migrate/#{Time.now.strftime("%Y%m%d%H%m%S")... | <|file_sep|>original/core/lib/generators/spree/custom_user/custom_user_generator.rb
desc "Set up a Spree installation with a custom User class"
def self.source_paths
paths = self.superclass.source_paths
paths << File.expand_path('../templates', __FILE__)
paths.flatten
end
def genera... | 0b0c2414c0dd02eaca1fd8dc3ce3a45f7a81bb50 | core/lib/generators/spree/custom_user/custom_user_generator.rb | core/lib/generators/spree/custom_user/custom_user_generator.rb | Ruby |
<|file_sep|>original/app/assets/javascripts/call_for_papers/create.js
$(function(){
$( "input[type='submit']" ).click(function() {
$("form[data-remote]").on("ajax:success", function(e, data, status, xhr) {
$('.flash-notice').show(300);
$(":input:not(input[type=submit])").val("");
$( ":input:enab... | $(function(){
$('#submit-button').click(function() {
$("form[data-remote]").on("ajax:success", function(e, data, status, xhr) {
$('.flash-notice').show(300);
$(":input:not(input[type=submit])").val("");
$( ":input:enabled" ).focus(function() {
$(".flash-notice").hide(1000);
});
... | <|file_sep|>original/app/assets/javascripts/call_for_papers/create.js
$(function(){
$( "input[type='submit']" ).click(function() {
$("form[data-remote]").on("ajax:success", function(e, data, status, xhr) {
$('.flash-notice').show(300);
$(":input:not(input[type=submit])").val("");
$( ":input:enab... | 65d30b94fe610fdd2a9500ab36f19fccaef744a7 | app/assets/javascripts/call_for_papers/create.js | app/assets/javascripts/call_for_papers/create.js | JavaScript |
<|file_sep|>original/README.md
- http://skyglobal.github.io/web-toolkit/stylesheets/styles.css
[You can contribute to the wiki!!!](https://github.com/bskyb-commerce/bskyb-commerce.github.io/wiki)
## Ruby Gem
You can include the Ruby gem in your project.
Just include this line in your gemfile:
gem 'sky_web_toolk... |
if you are using rails then you will need to include:
gem 'compass-rails'
if your bundler is not set to auto require, then you will need to
require 'sky_web_toolkit'
Then you just need to include this in your scss somewhere:
@import "sky_web_toolkit";
### If you are using Sinatra...
Inc... | <|file_sep|>original/README.md
- http://skyglobal.github.io/web-toolkit/stylesheets/styles.css
[You can contribute to the wiki!!!](https://github.com/bskyb-commerce/bskyb-commerce.github.io/wiki)
## Ruby Gem
You can include the Ruby gem in your project.
Just include this line in your gemfile:
gem 'sky_web_toolk... | 1f7f60c482e8b98f3664914e9dfe4fd1ca37e110 | README.md | README.md | Markdown |
<|file_sep|>original/renovate.json
{
"extends": [
"config:base",
":preserveSemverRanges"
],
"assignees": [
"nai888"
],
"labels": [
"code improvement"
],
"prCreation": [
"not-pending"
],
"reviewers": [
"nai888"
]
}
<|file_sep|>current/renovate.json
{
"extends": [
"config... | {
"extends": [
"config:base"
],
"assignees": [
"nai888"
],
"labels": [
"code improvement"
],
"prCreation": [
"not-pending"
],
"reviewers": [
"nai888"
]
} | <|file_sep|>original/renovate.json
{
"extends": [
"config:base",
":preserveSemverRanges"
],
"assignees": [
"nai888"
],
"labels": [
"code improvement"
],
"prCreation": [
"not-pending"
],
"reviewers": [
"nai888"
]
}
<|file_sep|>current/renovate.json
{
"extends": [
"config... | 149b44a4172f706a2061fd49bd9e4bb6c6854c07 | renovate.json | renovate.json | JSON |
<|file_sep|>original/circle.yml
dependencies:
override:
- docker run -d -p 4334-4336:4334-4336 --name datomic-free akiel/datomic-free
test:
override:
- lein with-profile dev,circle-ci midje:
timeout: 240
machine:
java:
version: oraclejdk8
notify:
webhooks:
# A list of hook hashes, co... | dependencies:
override:
- docker run -d -p 4334-4336:4334-4336 --name datomic-free akiel/datomic-free
test:
override:
- lein with-profile dev,circle-ci midje:
timeout: 240
machine:
java:
version: oraclejdk8
services:
- docker
notify:
webhooks:
# A list of hook hashes, containin... | <|file_sep|>original/circle.yml
dependencies:
override:
- docker run -d -p 4334-4336:4334-4336 --name datomic-free akiel/datomic-free
test:
override:
- lein with-profile dev,circle-ci midje:
timeout: 240
machine:
java:
version: oraclejdk8
notify:
webhooks:
# A list of hook hashes, co... | 0a012a39be7e0d28ae54746645f4d6f96960a14e | circle.yml | circle.yml | YAML |
<|file_sep|>original/requirements.txt
coreapi==2.0.8
dj-database-url==0.4.1
Django==1.10.2
django-cors-middleware==1.3.1
django-rest-swagger==2.0.7
djangorestframework==3.4.7
itypes==1.1.0
Markdown==2.6.7
openapi-codec==1.1.5
psycopg2==2.6.2
requests==2.11.1
simplejson==3.8.2
uritemplate==3.0.0
<|file_sep|>current/requ... | coreapi==2.0.8
dj-database-url==0.4.1
Django==1.10.2
django-cors-middleware==1.3.1
django-rest-swagger==2.0.7
djangorestframework==3.5.1
itypes==1.1.0
Markdown==2.6.7
openapi-codec==1.1.5
psycopg2==2.6.2
requests==2.11.1
simplejson==3.8.2
uritemplate==3.0.0 | <|file_sep|>original/requirements.txt
coreapi==2.0.8
dj-database-url==0.4.1
Django==1.10.2
django-cors-middleware==1.3.1
django-rest-swagger==2.0.7
djangorestframework==3.4.7
itypes==1.1.0
Markdown==2.6.7
openapi-codec==1.1.5
psycopg2==2.6.2
requests==2.11.1
simplejson==3.8.2
uritemplate==3.0.0
<|file_sep|>current/requ... | 7715f5a0c1f4250021b7a49adeb30b5a541acdc0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/client/Social/Activity/views/likeview.coffee
class ActivityLikeView extends JView
constructor: (options = {}, data) ->
options.tagName or= 'span'
options.cssClass or= 'like-view'
options.tooltipPosition or= 'se'
options.useTitle ?= yes
sup... |
constructor: (options = {}, data) ->
options.tagName or= 'span'
options.cssClass or= 'like-view'
options.tooltipPosition or= 'se'
options.useTitle ?= yes
super options, data
@link = new ActivityLikeLink {}, data
@count = new ActivityLikeCount
c... | <|file_sep|>original/client/Social/Activity/views/likeview.coffee
class ActivityLikeView extends JView
constructor: (options = {}, data) ->
options.tagName or= 'span'
options.cssClass or= 'like-view'
options.tooltipPosition or= 'se'
options.useTitle ?= yes
sup... | d41b3259f9014f8efeeddf317bdc30cedffcf235 | client/Social/Activity/views/likeview.coffee | client/Social/Activity/views/likeview.coffee | CoffeeScript |
<|file_sep|>original/setup.py
keywords='Bioinformatics',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'N... | keywords='Bioinformatics',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Natural Language :: English',
... | <|file_sep|>original/setup.py
keywords='Bioinformatics',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'Operating System :: POSIX',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'N... | ac0a337f5d3b65af2b96e772a00d06c73626454c | setup.py | setup.py | Python |
<|file_sep|>lib/docs/scrapers/node.rb.diff
original:
self.release = '6.6.0'
self.base_url = 'https://nodejs.org/api/'
updated:
self.release = '6.7.0'
self.base_url = 'https://nodejs.org/dist/latest-v6.x/docs/api/'
<|file_sep|>original/lib/docs/scrapers/node.rb
options[:container] = '#apicont... | options[:container] = '#apicontent'
options[:skip] = %w(index.html all.html documentation.html synopsis.html)
options[:attribution] = <<-HTML
© Joyent, Inc. and other Node contributors<br>
Licensed under the MIT License.<br>
Node.js is a trademark of Joyent, Inc. and is used with its... | <|file_sep|>lib/docs/scrapers/node.rb.diff
original:
self.release = '6.6.0'
self.base_url = 'https://nodejs.org/api/'
updated:
self.release = '6.7.0'
self.base_url = 'https://nodejs.org/dist/latest-v6.x/docs/api/'
<|file_sep|>original/lib/docs/scrapers/node.rb
options[:container] = '#apicont... | b0db8c1e8af40fdcb3ee8c0376a57632839e7b8f | lib/docs/scrapers/node.rb | lib/docs/scrapers/node.rb | Ruby |
<|file_sep|>src/index.html.jade.diff
original:
updated:
title Drink Machine | Try your luck for a morning beverage!
<|file_sep|>original/src/index.html.jade
doctype html
html(lang='en-us')
head
meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
meta(http-equiv='X-UA-Compatible', content=... | doctype html
html(lang='en-us')
head
meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
title Drink Machine | Try your luck for a morning beverage!
... | <|file_sep|>src/index.html.jade.diff
original:
updated:
title Drink Machine | Try your luck for a morning beverage!
<|file_sep|>original/src/index.html.jade
doctype html
html(lang='en-us')
head
meta(http-equiv='Content-Type', content='text/html; charset=utf-8')
meta(http-equiv='X-UA-Compatible', content=... | 6c6f85435772ae80e0c8e906ae7f68804159bf8d | src/index.html.jade | src/index.html.jade | Jade |
<|file_sep|>original/app/templates/github/PullRequestReviewCommentEvent-template.handlebars
{{#view ActorView}}
reviewed on commit
<a href="https://github.com/{{unbound event.repo.name}}/commit/{{unbound event.payload.comment.commit_id}}#commitcomment-{{unbound event.payload.comment.id}}">
{{trim event.payload.... | {{#view ActorView}}
reviewed on commit
<a {{bindAttr href="event.payload.comment._links.html.href"}}>
{{trim event.payload.comment.commit_id length=7}}
</a>
{{/view}}
<div class="additional-info" >
{{event.payload.comment.body}}
</div> | <|file_sep|>original/app/templates/github/PullRequestReviewCommentEvent-template.handlebars
{{#view ActorView}}
reviewed on commit
<a href="https://github.com/{{unbound event.repo.name}}/commit/{{unbound event.payload.comment.commit_id}}#commitcomment-{{unbound event.payload.comment.id}}">
{{trim event.payload.... | b0ffebcbada0c50bb004d508a90e6ed466f979d9 | app/templates/github/PullRequestReviewCommentEvent-template.handlebars | app/templates/github/PullRequestReviewCommentEvent-template.handlebars | Handlebars |
<|file_sep|>original/layouts/partials/header.html
<!DOCTYPE html>
<html{{ with .Site.LanguageCode }} lang="{{ . }}"{{ end }}>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}{{ if eq .IsHome false }} | {{ .Site.Title }}{{ end }}</title>
<link rel="styleshee... | <!DOCTYPE html>
<html{{ with .Site.LanguageCode }} lang="{{ . }}"{{ end }}>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}{{ if eq .IsHome false }} | {{ .Site.Title }}{{ end }}</title>
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css">
<link... | <|file_sep|>original/layouts/partials/header.html
<!DOCTYPE html>
<html{{ with .Site.LanguageCode }} lang="{{ . }}"{{ end }}>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ .Title }}{{ if eq .IsHome false }} | {{ .Site.Title }}{{ end }}</title>
<link rel="styleshee... | 60a1daaaaddfc990b88235b046bcaf8f4d6a5e3d | layouts/partials/header.html | layouts/partials/header.html | HTML |
<|file_sep|>recipes/nodejs_from_chocolatey.rb.diff
original:
action :install
updated:
action :upgrade
<|file_sep|>original/recipes/nodejs_from_chocolatey.rb
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, sof... | # You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the Li... | <|file_sep|>recipes/nodejs_from_chocolatey.rb.diff
original:
action :install
updated:
action :upgrade
<|file_sep|>original/recipes/nodejs_from_chocolatey.rb
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, sof... | 70c7bd52a0520594c2eeb383008d700cca10dac7 | recipes/nodejs_from_chocolatey.rb | recipes/nodejs_from_chocolatey.rb | Ruby |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "iojs"
- "0.12"
- "0.11"
- "0.10" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "iojs"
- "0.12"
- "0.11"
- "0.10" | a66f56fe0d7877a5f42686f7e52585282eb66a29 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/Google_web_search_tweak.user.css
/* Google web search tweak */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("https://www.google.com/search") {
.mw #center_col { width: 46em !important; }
.mw #rhs { margin-left: 62em !important; }
.mw #nyc { margin-left: 55em !important; }... | /* Google web search tweak */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("https://www.google.com/search") {
.mw #center_col { width: 46em !important; }
.mw .s { max-width: 45em !important; line-height: 1.5 !important; }
.mw #rhs { margin-left: 62em !important; }
.mw #nyc { margin-... | <|file_sep|>original/Google_web_search_tweak.user.css
/* Google web search tweak */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix("https://www.google.com/search") {
.mw #center_col { width: 46em !important; }
.mw #rhs { margin-left: 62em !important; }
.mw #nyc { margin-left: 55em !important; }... | 0c5b2220d3b9ddae7a8c1441309e8d272fbeb03f | Google_web_search_tweak.user.css | Google_web_search_tweak.user.css | CSS |
<|file_sep|>src/ngin.py.diff
original:
from string import Template
"""
Subclassing template class
"""
class NginTemplate(Template):
delimiter = '#'
"""
Reverse Proxy Template
"""
reverse_proxy_template = """
server {
listen 80;
server_name #{server_name};
access_log /var/log/nginx/#{server_name}.ac... | parser.add_argument("-n", "--name", help="server name or domain name", action="store")
parser.add_argument("-p", "--proxypass", help="proxy pass server", action="store")
"""
Parsing arguments
"""
args = parser.parse_args()
"""
Reverse proxy config generator
Usage Example: ngin.py -r -n example.com -p http://localhost... | <|file_sep|>src/ngin.py.diff
original:
from string import Template
"""
Subclassing template class
"""
class NginTemplate(Template):
delimiter = '#'
"""
Reverse Proxy Template
"""
reverse_proxy_template = """
server {
listen 80;
server_name #{server_name};
access_log /var/log/nginx/#{server_name}.ac... | 79d8916aecc95919fa77ddd845fdd3e0a7e0c4d9 | src/ngin.py | src/ngin.py | Python |
<|file_sep|>src/dom-utils/instanceOf.js.diff
original:
return node instanceof OwnElement;
updated:
return node instanceof OwnElement || node instanceof Element;
<|file_sep|>original/src/dom-utils/instanceOf.js
// @flow
import getWindow from './getWindow';
/*:: declare function isElement(node: mixed): boolean %chec... | // @flow
import getWindow from './getWindow';
/*:: declare function isElement(node: mixed): boolean %checks(node instanceof
Element); */
function isElement(node) {
const OwnElement = getWindow(node).Element;
return node instanceof OwnElement || node instanceof Element;
}
/*:: declare function isHTMLElement(nod... | <|file_sep|>src/dom-utils/instanceOf.js.diff
original:
return node instanceof OwnElement;
updated:
return node instanceof OwnElement || node instanceof Element;
<|file_sep|>original/src/dom-utils/instanceOf.js
// @flow
import getWindow from './getWindow';
/*:: declare function isElement(node: mixed): boolean %chec... | 712e512cfb33c897a9a7dd8cea0e1001f39b1bea | src/dom-utils/instanceOf.js | src/dom-utils/instanceOf.js | JavaScript |
<|file_sep|>original/fixify.sh
<|file_sep|>current/fixify.sh
<|file_sep|>updated/fixify.sh | #!/bin/bash
# This script is used to make dylibs installed for /usr/local be portable.
# Change this to be the path to the dylibs.
LIBRARY_DIR=mac
pushd $LIBRARY_DIR
for i in *; do
install_name_tool -id "$i" "$i"
for j in *; do
test "$i" == "$j" && continue
install_name_tool -change "/usr/local/lib/$j" "@loade... | <|file_sep|>original/fixify.sh
<|file_sep|>current/fixify.sh
<|file_sep|>updated/fixify.sh
#!/bin/bash
# This script is used to make dylibs installed for /usr/local be portable.
# Change this to be the path to the dylibs.
LIBRARY_DIR=mac
pushd $LIBRARY_DIR
for i in *; do
install_name_tool -id "$i" "$i"
for j in ... | 4da43d4bd9f97001c6d89b353075b28612fe64a6 | fixify.sh | fixify.sh | Shell |
<|file_sep|>original/app/views/shared/_user_header.html.haml
- if current_user
.transparent_backdrop{style: 'display:none;'}
.user_menu
= link_to raw("#{t('nav.user.label', username: h(current_user.username))} ▼"), '#', onclick: "return handleUserMenuClick();"
%div{ style: 'position:relative;top:3px;... | - if current_user
.transparent_backdrop{style: 'display:none;'}
.user_menu
= link_to raw("#{t('nav.user.label', username: h(current_user.username))} ▼"), '#', onclick: "return handleUserMenuClick();"
%div{ style: 'position:relative;top:3px;'}
.user_options{style: 'display: none;'}
- if ... | <|file_sep|>original/app/views/shared/_user_header.html.haml
- if current_user
.transparent_backdrop{style: 'display:none;'}
.user_menu
= link_to raw("#{t('nav.user.label', username: h(current_user.username))} ▼"), '#', onclick: "return handleUserMenuClick();"
%div{ style: 'position:relative;top:3px;... | 5040ac41890cce29524d04fca94b1ab10ee86bdb | app/views/shared/_user_header.html.haml | app/views/shared/_user_header.html.haml | Haml |
<|file_sep|>ci_environment/docker/recipes/default.rb.diff
original:
uri 'https://get.docker.io/ubuntu'
distribution 'docker'
updated:
uri 'https://apt.dockerproject.org/repo'
distribution 'ubuntu-trusty'
<|file_sep|>ci_environment/docker/recipes/default.rb.diff
original:
key 'https://get.docker.io/gpg'
update... | include_recipe 'travis_build_environment'
apt_repository 'docker' do
uri 'https://apt.dockerproject.org/repo'
distribution 'ubuntu-trusty'
components ['main']
key 'https://apt.dockerproject.org/gpg'
action :add
end
docker_pkg = 'docker-engine'
# TODO docker_pkg += "-#{node['docker']['version']}" if node['do... | <|file_sep|>ci_environment/docker/recipes/default.rb.diff
original:
uri 'https://get.docker.io/ubuntu'
distribution 'docker'
updated:
uri 'https://apt.dockerproject.org/repo'
distribution 'ubuntu-trusty'
<|file_sep|>ci_environment/docker/recipes/default.rb.diff
original:
key 'https://get.docker.io/gpg'
update... | 9f2c4149021788395998df11d7ffd7630a4563c4 | ci_environment/docker/recipes/default.rb | ci_environment/docker/recipes/default.rb | Ruby |
<|file_sep|>original/source/XeroApi/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The followi... |
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed... | <|file_sep|>original/source/XeroApi/Properties/AssemblyInfo.cs
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The followi... | 934d3acf850e1b9e64fb6e3969632605c19122d8 | source/XeroApi/Properties/AssemblyInfo.cs | source/XeroApi/Properties/AssemblyInfo.cs | C# |
<|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. Avoid dependencies in
# production that aren't in development.
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.1
gunicorn==19.6.0
# Email backends for Mailgun, Postmark, SendGrid and m... | # Pro-tip: Try not to put anything here. Avoid dependencies in
# production that aren't in development.
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.1
gunicorn==19.7.1
# Email backends for Mailgun, Postmark, SendGrid and more
# -------------------------------------------... | <|file_sep|>original/requirements/production.txt
# Pro-tip: Try not to put anything here. Avoid dependencies in
# production that aren't in development.
-r base.txt
# WSGI Handler
# ------------------------------------------------
gevent==1.2.1
gunicorn==19.6.0
# Email backends for Mailgun, Postmark, SendGrid and m... | 71e64b7a42ff2f3b98c08c168b0d4e6d04692f0c | requirements/production.txt | requirements/production.txt | Text |
<|file_sep|>roles/web/vars/main.yml.diff
original:
DJANGO_ERROR_FILE: "{{ django_error_file|default(omit) }}"
updated:
DJANGO_ERROR_FILE: "{{ django_error_file }}"
<|file_sep|>original/roles/web/vars/main.yml
# Nginx settings.
nginx_access_log_file: "{{ application_log_dir }}/nginx_access.log"
nginx_error_log_file... |
# Nginx settings.
nginx_access_log_file: "{{ application_log_dir }}/nginx_access.log"
nginx_error_log_file: "{{ application_log_dir }}/nginx_error.log"
nginx_static_dir: "{{ virtualenv_path }}/static/"
nginx_media_dir: "{{ virtualenv_path }}/media/"
# Django environment variables.
django_environment:
DJANGO_SETTIN... | <|file_sep|>roles/web/vars/main.yml.diff
original:
DJANGO_ERROR_FILE: "{{ django_error_file|default(omit) }}"
updated:
DJANGO_ERROR_FILE: "{{ django_error_file }}"
<|file_sep|>original/roles/web/vars/main.yml
# Nginx settings.
nginx_access_log_file: "{{ application_log_dir }}/nginx_access.log"
nginx_error_log_file... | f057cf9cfa34f3bd70ea75aa25f41c1be2994068 | roles/web/vars/main.yml | roles/web/vars/main.yml | YAML |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
#### PR checklist
- [ ] Addresses an existing issue: #0000
- [ ] New feature, bugfix, or enhancement
- [ ] Includes tests
- [ ] Documentation update
- [ ] Enable CircleCI for your fork (https://circleci.com/add-projects)
#### What changes did you make?
(give an... | #### PR checklist
- [ ] Addresses an existing issue: #0000
- [ ] New feature, bugfix, or enhancement
- [ ] Includes tests
- [ ] Documentation update
#### What changes did you make?
(give an overview)
#### Is there anything you'd like reviewers to focus on?
(optional) | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
#### PR checklist
- [ ] Addresses an existing issue: #0000
- [ ] New feature, bugfix, or enhancement
- [ ] Includes tests
- [ ] Documentation update
- [ ] Enable CircleCI for your fork (https://circleci.com/add-projects)
#### What changes did you make?
(give an... | 8207effccbdd2ceeb5914a4d7463942425f0f6f5 | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/requirements_dev.txt
# Database
psycopg2-binary==2.8.2
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
cryptography==2.7
tox==3.12.1
coverage==4.5.3
Sphinx==2.1.0
pytest-runner==5.1
pytest==4.6.2
pytest-cov==2.7.1
# miscellaneous
sphinx_rtd_theme==0.4.3
pre-commit==1.1... |
# Database
psycopg2-binary==2.8.3
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
cryptography==2.7
tox==3.12.1
coverage==4.5.3
Sphinx==2.1.0
pytest-runner==5.1
pytest==4.6.2
pytest-cov==2.7.1
# miscellaneous
sphinx_rtd_theme==0.4.3
pre-commit==1.17.0
| <|file_sep|>original/requirements_dev.txt
# Database
psycopg2-binary==2.8.2
pip==19.1.1
bumpversion==0.5.3
wheel==0.33.4
watchdog==0.9.0
flake8==3.7.7
cryptography==2.7
tox==3.12.1
coverage==4.5.3
Sphinx==2.1.0
pytest-runner==5.1
pytest==4.6.2
pytest-cov==2.7.1
# miscellaneous
sphinx_rtd_theme==0.4.3
pre-commit==1.1... | b1f050238984525a7ef20a8cb0b26b47bcdc5290 | requirements_dev.txt | requirements_dev.txt | Text |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.