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/crawler/lib/helpers.rb
module Helpers
def preset
OpenStruct.new(IMAGE_PRESETS[@preset_name.to_sym])
end
def send_to_feedbin(original_url:, storage_url:)
Sidekiq::Client.push(
"args" => [@public_id, {
"original_url" => original_url,
"processed_url" => storage_url... | module Helpers
AWS_S3_BUCKET_IMAGES = ENV["AWS_S3_BUCKET_IMAGES"] || ENV["AWS_S3_BUCKET"]
def preset
OpenStruct.new(IMAGE_PRESETS[@preset_name.to_sym])
end
def send_to_feedbin(original_url:, storage_url:)
Sidekiq::Client.push(
"args" => [@public_id, {
"original_url" => original_url,
... | <|file_sep|>original/crawler/lib/helpers.rb
module Helpers
def preset
OpenStruct.new(IMAGE_PRESETS[@preset_name.to_sym])
end
def send_to_feedbin(original_url:, storage_url:)
Sidekiq::Client.push(
"args" => [@public_id, {
"original_url" => original_url,
"processed_url" => storage_url... | f536c4b211eb2f05b251532eac15feb920ae7577 | crawler/lib/helpers.rb | crawler/lib/helpers.rb | Ruby |
<|file_sep|>original/.travis.yml
sudo: false
language: "node_js"
node_js:
- "0.10"
- "0.12"
- "iojs"
before_script:
- npm install standard
- standard
script:
- npm install istanbul
- istanbul cover ./node_modules/.bin/jasmine --report lcovonly
after_script:
- npm install coveralls
- cat ./coverage/lco... | sudo: false
language: "node_js"
node_js:
- "4.2"
- "5.0"
- "iojs"
before_script:
- npm install standard
- standard
script:
- npm install istanbul
- istanbul cover ./node_modules/.bin/jasmine --report lcovonly
after_script:
- npm install coveralls
- cat ./coverage/lcov.info | coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: "node_js"
node_js:
- "0.10"
- "0.12"
- "iojs"
before_script:
- npm install standard
- standard
script:
- npm install istanbul
- istanbul cover ./node_modules/.bin/jasmine --report lcovonly
after_script:
- npm install coveralls
- cat ./coverage/lco... | fe7808118012c29dbd0d354054c809e02310eaa6 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/pkgs/tools/misc/watchlog/default.nix
rustPlatform.buildRustPackage rec {
pname = "watchlog";
version = "1.152.0";
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
sha256 = "sha256-m0sqLi5qxQKfdFtHxo0DX4bV6lUNZP1JWt8NAfY+F5A=";
};
cargo... | version = "1.152.0";
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
sha256 = "sha256-m0sqLi5qxQKfdFtHxo0DX4bV6lUNZP1JWt8NAfY+F5A=";
};
cargoSha256 = "sha256-uIaGIHBB/ntGyBZL45E61E9fELR8UGRieb/fJQsB5NE=";
meta = {
description = "Easier monitoring of l... | <|file_sep|>original/pkgs/tools/misc/watchlog/default.nix
rustPlatform.buildRustPackage rec {
pname = "watchlog";
version = "1.152.0";
src = fetchFromGitLab {
owner = "kevincox";
repo = "watchlog";
rev = "v${version}";
sha256 = "sha256-m0sqLi5qxQKfdFtHxo0DX4bV6lUNZP1JWt8NAfY+F5A=";
};
cargo... | b88c8dbe07d74b928d3ca301089368cb039e11de | pkgs/tools/misc/watchlog/default.nix | pkgs/tools/misc/watchlog/default.nix | Nix |
<|file_sep|>pyheufybot/modules/say.py.diff
original:
self.trigger = "say"
updated:
self.trigger = "say|sayremote"
<|file_sep|>pyheufybot/modules/say.py.diff
original:
self.modulePriotity = ModulePriority.NORMAL
updated:
self.modulePriority = ModulePriority.NORMAL
<|file_sep|>pyheufybot/m... | def __init__(self, bot):
self.bot = bot
self.name = "Say"
self.trigger = "say|sayremote"
self.moduleType = ModuleType.COMMAND
self.modulePriority = ModulePriority.NORMAL
self.messageTypes = ["PRIVMSG"]
self.helpText = "Usage: say <message>/sayremote <target> <... | <|file_sep|>pyheufybot/modules/say.py.diff
original:
self.trigger = "say"
updated:
self.trigger = "say|sayremote"
<|file_sep|>pyheufybot/modules/say.py.diff
original:
self.modulePriotity = ModulePriority.NORMAL
updated:
self.modulePriority = ModulePriority.NORMAL
<|file_sep|>pyheufybot/m... | 191e62a2547c4d3d013cb4c68fed60f1619fe82c | pyheufybot/modules/say.py | pyheufybot/modules/say.py | Python |
<|file_sep|>.github/workflows/snyk_merge.yaml.diff
original:
updated:
- name: Connect to Twingate
uses: twingate/github-action@v1
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
<|file_sep|>.github/workflows/snyk_merge.yaml.diff
original:
uses: puppetlabs/security-snyk-clojure-... | steps:
- name: Connect to Twingate
uses: twingate/github-action@v1
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
- name: checkout the current HEAD
uses: actions/checkout@v2
with:
fetch-depth: 1
persist-credentials: false
- name: Run Clojure Sny... | <|file_sep|>.github/workflows/snyk_merge.yaml.diff
original:
updated:
- name: Connect to Twingate
uses: twingate/github-action@v1
with:
service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }}
<|file_sep|>.github/workflows/snyk_merge.yaml.diff
original:
uses: puppetlabs/security-snyk-clojure-... | 0402443f277edc3780f9b08eb6b89a00c47439cb | .github/workflows/snyk_merge.yaml | .github/workflows/snyk_merge.yaml | YAML |
<|file_sep|>README.md.diff
original:
# libpnet
updated:
# libpnet [](https://travis-ci.org/libpnet/libpnet)
<|file_sep|>original/README.md
# libpnet
`libpnet` provides a cross-platform API for low level networking using Rust.
There are three key components:
... | # libpnet [](https://travis-ci.org/libpnet/libpnet)
`libpnet` provides a cross-platform API for low level networking using Rust.
There are three key components:
* The packet module, allowing safe construction and manipulation of packets
* The transport modu... | <|file_sep|>README.md.diff
original:
# libpnet
updated:
# libpnet [](https://travis-ci.org/libpnet/libpnet)
<|file_sep|>original/README.md
# libpnet
`libpnet` provides a cross-platform API for low level networking using Rust.
There are three key components:
... | 31a87189027bab1444e9365b2cc2bfe3bf9263df | README.md | README.md | Markdown |
<|file_sep|>original/py-requirements/dev.txt
-r base.txt
# Nicer interfaces
ipython==5.3.0
ipdb==0.10.2
# Flake8
flake8==3.3.0
mccabe==0.6.1
pycodestyle==2.3.1
pyflakes==1.5.0
# Testing
Faker==0.7.10
factory-boy==2.8.1
requests-mock==1.3.0
<|file_sep|>current/py-requirements/dev.txt
-r base.txt
# Nicer interfaces
i... | -r base.txt
# Nicer interfaces
ipython==5.3.0
ipdb==0.10.2
# Flake8
flake8==3.3.0
mccabe==0.6.1
pycodestyle==2.3.1
pyflakes==1.5.0
# Testing
Faker==0.7.11
factory-boy==2.8.1
requests-mock==1.3.0 | <|file_sep|>original/py-requirements/dev.txt
-r base.txt
# Nicer interfaces
ipython==5.3.0
ipdb==0.10.2
# Flake8
flake8==3.3.0
mccabe==0.6.1
pycodestyle==2.3.1
pyflakes==1.5.0
# Testing
Faker==0.7.10
factory-boy==2.8.1
requests-mock==1.3.0
<|file_sep|>current/py-requirements/dev.txt
-r base.txt
# Nicer interfaces
i... | 9790caf9363f2b6e68a1ce40bcf3e1be7cc0fc89 | py-requirements/dev.txt | py-requirements/dev.txt | Text |
<|file_sep|>original/setup.cfg
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = executing
zip_safe = False
include_package_data = True
setup_requires = setuptools; setuptools_sc... | Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = executing
zip_safe = False
include_package_data = True
setup_requires = setuptools; setuptools_scm[toml]
install_requires =
... | <|file_sep|>original/setup.cfg
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
[options]
packages = executing
zip_safe = False
include_package_data = True
setup_requires = setuptools; setuptools_sc... | 5a6955a4709cc88391ae74fd2f66939ecaa72734 | setup.cfg | setup.cfg | INI |
<|file_sep|>src/clj/new_website/server.clj.diff
original:
[compojure.core :refer [ANY GET PUT POST DELETE defroutes]]
updated:
[compojure.core :refer [ANY GET PUT POST DELETE defroutes routes]]
<|file_sep|>src/clj/new_website/server.clj.diff
original:
updated:
[ring.middleware.param... | :headers {"Content-Type" "application/javascript"}
:body (str "var csrf = '" *anti-forgery-token* "';")})
(GET "/" _
{:status 200
:headers {"Content-Type" "text/html; charset=utf-8"}
:body (io/input-stream (io/resource "public/index.html"))})
(resources "/"))
(def http-handler
(routes
... | <|file_sep|>src/clj/new_website/server.clj.diff
original:
[compojure.core :refer [ANY GET PUT POST DELETE defroutes]]
updated:
[compojure.core :refer [ANY GET PUT POST DELETE defroutes routes]]
<|file_sep|>src/clj/new_website/server.clj.diff
original:
updated:
[ring.middleware.param... | 8ff3fe196422e3d9cb7405cb4915b034eb1ad613 | src/clj/new_website/server.clj | src/clj/new_website/server.clj | Clojure |
<|file_sep|>original/ubuntu-14.04/digits/4.0/Dockerfile
python-skimage \
python-wtforms \
torch7-nv=0.9.98-1+cuda7.5 && \
rm -rf /var/lib/apt/lists/*
ENV DIGITS_VERSION 4.0
LABEL com.nvidia.digits.version="4.0"
WORKDIR /opt/digits
ENV CLONE_TAG=v4.0.0-rc.3
RUN git clone -b ${CLONE_TAG} --... | python-skimage \
python-wtforms \
torch7-nv=0.9.98-1+cuda7.5 && \
rm -rf /var/lib/apt/lists/*
ENV DIGITS_VERSION 4.0
LABEL com.nvidia.digits.version="4.0"
WORKDIR /opt/digits
ENV CLONE_TAG=v4.0.0
RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/NVIDIA/DIGITS.git . && \
for r... | <|file_sep|>original/ubuntu-14.04/digits/4.0/Dockerfile
python-skimage \
python-wtforms \
torch7-nv=0.9.98-1+cuda7.5 && \
rm -rf /var/lib/apt/lists/*
ENV DIGITS_VERSION 4.0
LABEL com.nvidia.digits.version="4.0"
WORKDIR /opt/digits
ENV CLONE_TAG=v4.0.0-rc.3
RUN git clone -b ${CLONE_TAG} --... | 0f64dfd2eb178b43d9d14000bda9d00bcfac8b7e | ubuntu-14.04/digits/4.0/Dockerfile | ubuntu-14.04/digits/4.0/Dockerfile | unknown |
<|file_sep|>contactmps/static/javascript/embed.js.diff
original:
var agent = navigator.userAgent.toLowerCase();
if (agent.includes("mobile") && agent.includes("android")) {
// addEventListener only available in later chrome versions
window.addEventListener("load",function(){
window.addEventListener('error', fun... | if (document.location.hostname == "localhost") {
var baseurl = "";
} else {
var baseurl = "https://noconfidencevote.openup.org.za";
}
var initContactMPsPymParent = function() {
var pymParent = new pym.Parent('contactmps-embed-parent', baseurl + '/campaign/newsmedia/', {});
};
document.write('<div id="conta... | <|file_sep|>contactmps/static/javascript/embed.js.diff
original:
var agent = navigator.userAgent.toLowerCase();
if (agent.includes("mobile") && agent.includes("android")) {
// addEventListener only available in later chrome versions
window.addEventListener("load",function(){
window.addEventListener('error', fun... | 1c3a52fb9ec977f22bfd14244ae3b1a3712d96bc | contactmps/static/javascript/embed.js | contactmps/static/javascript/embed.js | JavaScript |
<|file_sep|>original/metadata/me.writeily.yml
subdir: app
gradle:
- yes
- versionName: 1.3.2
versionCode: 8
commit: v1.3.2
subdir: app
gradle:
- yes
MaintainerNotes: |-
Builds locally, but might break on BS. We need to integrate ndkbuild and gradle
task into overall build... | subdir: app
gradle:
- yes
- versionName: 1.3.2
versionCode: 8
commit: v1.3.2
subdir: app
gradle:
- yes
MaintainerNotes: |-
Builds locally, but might break on BS. We need to integrate ndkbuild and gradle
task into overall build, e.g. with preassemble=libs:anddown:packageNa... | <|file_sep|>original/metadata/me.writeily.yml
subdir: app
gradle:
- yes
- versionName: 1.3.2
versionCode: 8
commit: v1.3.2
subdir: app
gradle:
- yes
MaintainerNotes: |-
Builds locally, but might break on BS. We need to integrate ndkbuild and gradle
task into overall build... | d7405fa354a2caee6253c3e52402aa0efe197df1 | metadata/me.writeily.yml | metadata/me.writeily.yml | YAML |
<|file_sep|>original/setup.py
import os
import setuptools
setuptools.setup(
name='gymnasium',
version='0.0.2',
packages=setuptools.find_packages(),
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='yet another OpenGL-with-physics simulation framework',
long_descriptio... | import os
import setuptools
setuptools.setup(
name='lmj.sim',
version='0.0.2',
packages=setuptools.find_packages(),
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='yet another OpenGL-with-physics simulation framework',
long_description=open(os.path.join(os.path.dirn... | <|file_sep|>original/setup.py
import os
import setuptools
setuptools.setup(
name='gymnasium',
version='0.0.2',
packages=setuptools.find_packages(),
author='Leif Johnson',
author_email='leif@leifjohnson.net',
description='yet another OpenGL-with-physics simulation framework',
long_descriptio... | ea991176d3f0562b5000dbd03320a9145129e586 | setup.py | setup.py | Python |
<|file_sep|>original/Array/ArrayUtil.sh
inputArray=($@)
newArray=()
for (( i=${#inputArray}; i>0; i-- )); do
newArray+=(${inputArray[i]})
done
echo ${newArray[@]}
}
returnMaxLength(){
local array=($@)
local maxLength=0
for (( i=0; i<${#array[@]}; i++ )); do
if [[ ${#array[i]} > ${maxLength} ... | inputArray=($@)
newArray=()
for (( i=${#inputArray}; i>0; i-- )); do
newArray+=(${inputArray[i]})
done
echo ${newArray[@]}
}
hasUniqueEntry(){
local tempArray=($(flipArray $@))
entry=${tempArray[0]}
array=(${tempArray[@]/${entry}/})
if [[ "${array[@]}" == *${entry}* ]]; then
echo false
... | <|file_sep|>original/Array/ArrayUtil.sh
inputArray=($@)
newArray=()
for (( i=${#inputArray}; i>0; i-- )); do
newArray+=(${inputArray[i]})
done
echo ${newArray[@]}
}
returnMaxLength(){
local array=($@)
local maxLength=0
for (( i=0; i<${#array[@]}; i++ )); do
if [[ ${#array[i]} > ${maxLength} ... | 00a604e9b6f47c372da23fe10758dfc467a6c204 | Array/ArrayUtil.sh | Array/ArrayUtil.sh | Shell |
<|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff
original:
updated:
using System.Threading.Tasks;
<|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff
original:
updated:
private bool _isClosed;
<|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff... | }
public virtual void OnDeselected()
{
IsSelected = false;
}
public virtual void OnOpen()
{
IsClosed = false;
}
public virtual bool OnClose()
{
IsSelected = false;
IoC.Get<IShell>().RemoveDocument(this);
IsClosed = true;
return true;
}
}
} | <|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff
original:
updated:
using System.Threading.Tasks;
<|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff
original:
updated:
private bool _isClosed;
<|file_sep|>WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs.diff... | 902ed9cbeb087a4c7483517e20eb53d71685c64b | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | C# |
<|file_sep|>spec/about-spec.coffee.diff
original:
atom.commands.dispatch workspaceElement, 'application:about'
updated:
atom.workspace.open('atom://about')
<|file_sep|>original/spec/about-spec.coffee
atom.commands.dispatch workspaceElement, 'application:about'
waitsFor ->
atom.workspace... | atom.workspace.open('atom://about')
waitsFor ->
atom.workspace.getActivePaneItem()
runs ->
aboutElement = workspaceElement.querySelector('.about')
expect(aboutElement).toBeVisible()
describe "when the version number is clicked", ->
it "copies the version number to the ... | <|file_sep|>spec/about-spec.coffee.diff
original:
atom.commands.dispatch workspaceElement, 'application:about'
updated:
atom.workspace.open('atom://about')
<|file_sep|>original/spec/about-spec.coffee
atom.commands.dispatch workspaceElement, 'application:about'
waitsFor ->
atom.workspace... | 03724ce6c0f32212963c528bce553c1f6ae46d81 | spec/about-spec.coffee | spec/about-spec.coffee | CoffeeScript |
<|file_sep|>original/pyxb/__init__.py
xmlschema - Class that convert XMLSchema from a DOM model to a Python
class model based on the XMLSchema components
"""
class cscRoot (object):
"""This little bundle of joy exists because in Python 2.6 it
became an error to invoke object.__init__ with parameters (unless
... | """
class cscRoot (object):
"""This little bundle of joy exists because in Python 2.6 it
became an error to invoke object.__init__ with parameters (unless
you also override __new__, in which case it's only a warning.
Whatever.). Since I'm bloody not going to check in every class
whether super(Mycl... | <|file_sep|>original/pyxb/__init__.py
xmlschema - Class that convert XMLSchema from a DOM model to a Python
class model based on the XMLSchema components
"""
class cscRoot (object):
"""This little bundle of joy exists because in Python 2.6 it
became an error to invoke object.__init__ with parameters (unless
... | 13c3379717d1ad10a179f26838950090a2b6e4f4 | pyxb/__init__.py | pyxb/__init__.py | Python |
<|file_sep|>osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs.diff
original:
icon.FadeTo(isDefault ? 1 : 0, 200, Easing.OutQuint);
updated:
icon.Alpha = isDefault ? 1 : 0;
<|file_sep|>original/osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs
... | base.AccentColour = value;
icon.FadeColour(value, 120, Easing.OutQuint);
}
}
private readonly SpriteIcon icon;
public ProfileRulesetTabItem(RulesetInfo value)
: base(value)
{
Add(icon = new SpriteIcon
{
... | <|file_sep|>osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs.diff
original:
icon.FadeTo(isDefault ? 1 : 0, 200, Easing.OutQuint);
updated:
icon.Alpha = isDefault ? 1 : 0;
<|file_sep|>original/osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs
... | 4016fe1e19695637ea0a954b63ec633fcff2d5b4 | osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs | osu.Game/Overlays/Profile/Header/Components/ProfileRulesetTabItem.cs | C# |
<|file_sep|>original/mkdocs.yml
site_name: Spunky Bot
site_url: https://docs.spunkybot.de
site_description: Multi-platform administration and RCON tool for Urban Terror
site_author: Alexander Kress
# Copyright
copyright: 'Copyright © 2020 Alexander Kress'
# Repository
repo_url: https://github.com/SpunkyBot/spunk... | site_name: Spunky Bot
site_url: https://docs.spunkybot.de
site_description: Multi-platform administration and RCON tool for Urban Terror
site_author: Alexander Kress
# Copyright
copyright: 'Copyright © 2020 Alexander Kress'
# Repository
repo_url: https://github.com/SpunkyBot/spunkybot-docs
edit_uri: blob/main/do... | <|file_sep|>original/mkdocs.yml
site_name: Spunky Bot
site_url: https://docs.spunkybot.de
site_description: Multi-platform administration and RCON tool for Urban Terror
site_author: Alexander Kress
# Copyright
copyright: 'Copyright © 2020 Alexander Kress'
# Repository
repo_url: https://github.com/SpunkyBot/spunk... | 092da104bd86d18b0ac0e8e009eea2d762df4772 | mkdocs.yml | mkdocs.yml | YAML |
<|file_sep|>original/lib/mongo_mapper/plugins/inspect.rb
# encoding: UTF-8
module MongoMapper
module Plugins
module Inspect
extend ActiveSupport::Concern
module InstanceMethods
def inspect(include_super=false)
key_array = include_super ? key_names : attributes.keys
attribu... | # encoding: UTF-8
module MongoMapper
module Plugins
module Inspect
extend ActiveSupport::Concern
module InstanceMethods
def inspect(include_nil = false)
keys = include_nil ? key_names : attributes.keys
attributes_as_nice_string = keys.sort.collect do |name|
"#{... | <|file_sep|>original/lib/mongo_mapper/plugins/inspect.rb
# encoding: UTF-8
module MongoMapper
module Plugins
module Inspect
extend ActiveSupport::Concern
module InstanceMethods
def inspect(include_super=false)
key_array = include_super ? key_names : attributes.keys
attribu... | 7f13505f0206b4cb79a204cd8a59e030dbd4b619 | lib/mongo_mapper/plugins/inspect.rb | lib/mongo_mapper/plugins/inspect.rb | Ruby |
<|file_sep|>manage.py.diff
original:
updated:
os.environ['CORS_ORIGIN_WHITELIST'] = 'localhost:4200'
<|file_sep|>original/manage.py
#!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conductor.settings.development')
if 'test' in sys.... | #!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conductor.settings.development')
if 'test' in sys.argv:
# For now, fake setting the environment for testing.
os.environ['DJANGO_SETTINGS_MODULE'] = 'conductor.settings.test'
... | <|file_sep|>manage.py.diff
original:
updated:
os.environ['CORS_ORIGIN_WHITELIST'] = 'localhost:4200'
<|file_sep|>original/manage.py
#!/usr/bin/env python
import os
import sys
if __name__ == '__main__':
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'conductor.settings.development')
if 'test' in sys.... | 272ece1774cebaf8d6d6ae9e0dfb5fe0cce97083 | manage.py | manage.py | Python |
<|file_sep|>original/README.md
# dotfiles
Common configuration files and handy scripts to use when setting up or improving a shell environment.
## Installation
```shell
$ git clone https://github.com/daneah/dotfiles
$ cd dotfiles
$ ./install.zsh
```
## Configuration Files
### `aliases.zsh`
Command aliases that wor... | # dotfiles
Common configuration files and handy scripts to use when setting up or improving a shell environment.
## Installation
```shell
$ git clone https://github.com/daneah/dotfiles
$ cd dotfiles
$ git submodule --init --recursive
$ ./install.zsh
```
## Configuration Files
### `aliases.zsh`
Command aliases that... | <|file_sep|>original/README.md
# dotfiles
Common configuration files and handy scripts to use when setting up or improving a shell environment.
## Installation
```shell
$ git clone https://github.com/daneah/dotfiles
$ cd dotfiles
$ ./install.zsh
```
## Configuration Files
### `aliases.zsh`
Command aliases that wor... | 65a7debad77a25d0ec0b8db5ef69cc8192a717ac | README.md | README.md | Markdown |
<|file_sep|>grunt/contrib-connect.js.diff
original:
updated:
<|file_sep|>original/grunt/contrib-connect.js
// Local web server running on port 9001 with livereload functionality
module.exports = function(grunt) {
grunt.config('connect', {
livereload: {
options: {
port: 9001,
... | // Local web server running on port 9001 with livereload functionality
module.exports = function(grunt) {
grunt.config('connect', {
livereload: {
options: {
port: 9001,
middleware: function(connect, options) {
return[
re... | <|file_sep|>grunt/contrib-connect.js.diff
original:
updated:
<|file_sep|>original/grunt/contrib-connect.js
// Local web server running on port 9001 with livereload functionality
module.exports = function(grunt) {
grunt.config('connect', {
livereload: {
options: {
port: 9001,
... | 1548ab81fd04e92a7a32ddfaeb072cd72493877d | grunt/contrib-connect.js | grunt/contrib-connect.js | JavaScript |
<|file_sep|>original/package.json
{
"name": "entity_matching_tool",
"version": "0.1.0",
"private": true,
"license": "MIT License",
"devDependencies": {
"react-scripts": "0.9.0"
},
"dependencies": {
"axios": "^0.16.0",
"react": "^15.4.2",
"react-bootstrap": "^0.30.8",
"react-bs-notifier... | {
"name": "entity_matching_tool",
"version": "0.1.0",
"private": true,
"license": "MIT License",
"devDependencies": {
"react-scripts": "0.9.0"
},
"dependencies": {
"axios": "^0.19.0",
"react": "^15.4.2",
"react-bootstrap": "^0.30.8",
"react-bs-notifier": "^4.4.5",
"react-dom": "^15... | <|file_sep|>original/package.json
{
"name": "entity_matching_tool",
"version": "0.1.0",
"private": true,
"license": "MIT License",
"devDependencies": {
"react-scripts": "0.9.0"
},
"dependencies": {
"axios": "^0.16.0",
"react": "^15.4.2",
"react-bootstrap": "^0.30.8",
"react-bs-notifier... | de975876132618b35bea98fb958a188131123c25 | package.json | package.json | JSON |
<|file_sep|>original/app/models/spree/user.rb
module Spree
class User < ActiveRecord::Base
self.table_name = 'spree_people'
authenticates_with_sorcery!
validates :password, length: { minimum: 6 }, if: -> { new_record? || changes[:crypted_password] }
validates :password, confirmation: true, if: -> { ... | module Spree
class User < ActiveRecord::Base
include UserAddress
self.table_name = 'spree_people'
authenticates_with_sorcery!
validates :password, length: { minimum: 6 }, if: -> { new_record? || changes[:crypted_password] }
validates :password, confirmation: true, if: -> { new_record? || change... | <|file_sep|>original/app/models/spree/user.rb
module Spree
class User < ActiveRecord::Base
self.table_name = 'spree_people'
authenticates_with_sorcery!
validates :password, length: { minimum: 6 }, if: -> { new_record? || changes[:crypted_password] }
validates :password, confirmation: true, if: -> { ... | c5c26bbaa8cc72a6a47aa4cb4f2af4de2aeab620 | app/models/spree/user.rb | app/models/spree/user.rb | Ruby |
<|file_sep|>original/templates/chat/about.html
{% extends "base.html" %}
{% block content %}
<h1>Django Channels Example</h1>
<p class="deck">
This is a demo using <a href="http://channels.readthedocs.org/en/latest/">
Django Channels</a> to implement a simple WebSocket-based chat server.
You can see th... | {% extends "base.html" %}
{% block content %}
<h1>Django Channels Example</h1>
<p class="deck">
This is a demo using <a href="http://channels.readthedocs.org/en/latest/">
Django Channels</a> to implement a simple WebSocket-based chat server.
You can see the <a href="https://github.com/jacobian/channels... | <|file_sep|>original/templates/chat/about.html
{% extends "base.html" %}
{% block content %}
<h1>Django Channels Example</h1>
<p class="deck">
This is a demo using <a href="http://channels.readthedocs.org/en/latest/">
Django Channels</a> to implement a simple WebSocket-based chat server.
You can see th... | 26465845ae2fdf802d1cc1eadb8624f84eaa7450 | templates/chat/about.html | templates/chat/about.html | HTML |
<|file_sep|>original/app/styles/winds_stylesheet.rb
class WindsStylesheet < ApplicationStylesheet
def setup
# Add stylesheet specific setup stuff here.
# Add application specific setup stuff in application_stylesheet.rb
end
def root_view(st)
st.background_color = "#15adca".to_color
end
def winds... | class WindsStylesheet < ApplicationStylesheet
def setup
# Add stylesheet specific setup stuff here.
# Add application specific setup stuff in application_stylesheet.rb
end
def root_view(st)
end
def winds_table(st)
st.separator_style = :none
st.content_inset = UIEdgeInsetsMake(0, 0, -50, 0)
... | <|file_sep|>original/app/styles/winds_stylesheet.rb
class WindsStylesheet < ApplicationStylesheet
def setup
# Add stylesheet specific setup stuff here.
# Add application specific setup stuff in application_stylesheet.rb
end
def root_view(st)
st.background_color = "#15adca".to_color
end
def winds... | 6a2f6bd3e9bda7c53e09ba34a961f9ba4e7e334d | app/styles/winds_stylesheet.rb | app/styles/winds_stylesheet.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
# - 17.0-rc1 broken due to goldrush (lager's dep)
updated:
- 17.0-rc1
<|file_sep|>original/.travis.yml
- R16B03-1
- R16B03
- R16B02
- R16B01
# - R15B03 goldrush again :/
# - R15B02
# - R15B01
# - R14B04
# - R14B03
# - R14B02
install:
- "sudo apt-ge... | - R16B03-1
- R16B03
- R16B02
- R16B01
# - R15B03 goldrush again :/
# - R15B02
# - R15B01
# - R14B04
# - R14B03
# - R14B02
install:
- "sudo apt-get install rebar libssl-dev libxml2-dev libexpat1-dev"
- "rebar get-deps"
notifications:
email:
recipients:
- erocci-dev@ow2.org
o... | <|file_sep|>.travis.yml.diff
original:
# - 17.0-rc1 broken due to goldrush (lager's dep)
updated:
- 17.0-rc1
<|file_sep|>original/.travis.yml
- R16B03-1
- R16B03
- R16B02
- R16B01
# - R15B03 goldrush again :/
# - R15B02
# - R15B01
# - R14B04
# - R14B03
# - R14B02
install:
- "sudo apt-ge... | 5ef64a55769a82a72963abb44ed8c71012ad9467 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/update_stunnel_conf.yml
<|file_sep|>current/update_stunnel_conf.yml
<|file_sep|>updated/update_stunnel_conf.yml | # Update the connection for new DB
# call by --limit=<current version> --extra-vars="previous_version=<previous version>"
---
- hosts: localhost
vars:
pre_tasks:
- fail: msg='Need to set previous version by adding --extra-vars "previous_version=<previous-version i.e. v2.0.1>" to ansible-playbook call'
... | <|file_sep|>original/update_stunnel_conf.yml
<|file_sep|>current/update_stunnel_conf.yml
<|file_sep|>updated/update_stunnel_conf.yml
# Update the connection for new DB
# call by --limit=<current version> --extra-vars="previous_version=<previous version>"
---
- hosts: localhost
vars:
pre_tasks:
- fail:... | 2c50d9f0b21761973a364c406be2e261bdde730c | update_stunnel_conf.yml | update_stunnel_conf.yml | YAML |
<|file_sep|>original/requirements.txt
beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.11
isodate==0.6.0
jsonpath-ng==1.5.1
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.7.... | beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.8.0
isodate==0.6.0
jsonpath-ng==1.5.1
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.7.0
pyhedrals==0.2.0
python-dateutil==2.8... | <|file_sep|>original/requirements.txt
beautifulsoup4==4.8.2
bcrypt==3.1.7
croniter==0.3.31
Cython==0.29.15
feedparser==5.2.1
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
google-api-python-client==1.7.11
isodate==0.6.0
jsonpath-ng==1.5.1
lxml==4.5.0
numpy==1.18.1
Pillow==7.0.0
parsedatetime==2.5
psutil==5.7.... | 3c84341d34cc455a1ef92d14c065933c780b8c57 | requirements.txt | requirements.txt | Text |
<|file_sep|>Changelog.draft.rst.diff
original:
updated:
<|file_sep|>original/Changelog.draft.rst
* add a --info command line switch that outputs useful information about
the server and the configuration for all enabled accounts.
Changes
-------
* Indicate progress when copying many messages (slightly change log... | * add a --info command line switch that outputs useful information about
the server and the configuration for all enabled accounts.
Changes
-------
* Indicate progress when copying many messages (slightly change log format)
* Output how long an account sync took (min:sec).
* Reworked logging which was reported to... | <|file_sep|>Changelog.draft.rst.diff
original:
updated:
<|file_sep|>original/Changelog.draft.rst
* add a --info command line switch that outputs useful information about
the server and the configuration for all enabled accounts.
Changes
-------
* Indicate progress when copying many messages (slightly change log... | d981d66305d3e8342e74cf5a130339aab1eb5396 | Changelog.draft.rst | Changelog.draft.rst | reStructuredText |
<|file_sep|>original/app/facebook/facebook.html
<div class="row">
<div class="col-md-4">
<h4>Please, log in</h4>
<button type="button" class="btn btn-default" ng-click="login()">Log in</button>
<br>
<br>
<div class="well">
<h4>User info</h4>
<ul>
... | <div class="row">
<div class="col-md-4">
<h4>Please, log in {{1+1}}</h4>
<button type="button" class="btn btn-default" ng-click="login()">Log in</button>
<br>
<br>
<div class="well">
<h4>User info</h4>
<ul>
<li>ID: SomeID</li>
... | <|file_sep|>original/app/facebook/facebook.html
<div class="row">
<div class="col-md-4">
<h4>Please, log in</h4>
<button type="button" class="btn btn-default" ng-click="login()">Log in</button>
<br>
<br>
<div class="well">
<h4>User info</h4>
<ul>
... | 0ed27682f2a3a7aaab8d453a643a946dc096c718 | app/facebook/facebook.html | app/facebook/facebook.html | HTML |
<|file_sep|>metadata/fil.libre.repwifiapp.txt.diff
original:
updated:
Build:0.9.1-beta,10
commit=v0.9.1-beta
subdir=app
<|file_sep|>original/metadata/fil.libre.repwifiapp.txt
Build:0.5,3
commit=v0.5
subdir=app
Build:0.6,4
commit=v0.6
subdir=app
Build:0.6.2,5
commit=v0.6.2
subdir=app... |
Build:0.6,4
commit=v0.6
subdir=app
Build:0.6.2,5
commit=v0.6.2
subdir=app
Build:0.9-beta,9
commit=v0.9-beta
subdir=app
Build:0.9.1-beta,10
commit=v0.9.1-beta
subdir=app
Auto Update Mode:Version v%v
Update Check Mode:Tags ^v
Current Version:0.9.1-beta
Current Version Code:10 | <|file_sep|>metadata/fil.libre.repwifiapp.txt.diff
original:
updated:
Build:0.9.1-beta,10
commit=v0.9.1-beta
subdir=app
<|file_sep|>original/metadata/fil.libre.repwifiapp.txt
Build:0.5,3
commit=v0.5
subdir=app
Build:0.6,4
commit=v0.6
subdir=app
Build:0.6.2,5
commit=v0.6.2
subdir=app... | 7ba126b122ee3dd6124843d27d6abd08c2771c96 | metadata/fil.libre.repwifiapp.txt | metadata/fil.libre.repwifiapp.txt | Text |
<|file_sep|>original/packages/pa/parsers-megaparsec.yaml
<|file_sep|>current/packages/pa/parsers-megaparsec.yaml
<|file_sep|>updated/packages/pa/parsers-megaparsec.yaml | homepage: https://github.com/qfpl/parsers-megaparsec
changelog-type: markdown
hash: d29e56fd785d48cdd71b0dd66a02a46f2e510582ca7eac14aa4e1c6f4510ef91
test-bench-deps: {}
maintainer: Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>
synopsis: ! '`parsers` instances for Megaparsec'
changelog: ! '0.1.0.0
* Initial... | <|file_sep|>original/packages/pa/parsers-megaparsec.yaml
<|file_sep|>current/packages/pa/parsers-megaparsec.yaml
<|file_sep|>updated/packages/pa/parsers-megaparsec.yaml
homepage: https://github.com/qfpl/parsers-megaparsec
changelog-type: markdown
hash: d29e56fd785d48cdd71b0dd66a02a46f2e510582ca7eac14aa4e1c6f4510ef91
... | edb7a36a5d7a4dbf794fcc54e1d950d3843f2657 | packages/pa/parsers-megaparsec.yaml | packages/pa/parsers-megaparsec.yaml | YAML |
<|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=2.4.4
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
<|file_sep|>current/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_... | sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=2.4.5
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh" | <|file_sep|>original/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_OT_VERSION=2.4.4
install:
- ".travis/install.sh"
script:
- ".travis/publish.sh"
after_success:
- ".travis/deploy.sh"
<|file_sep|>current/.travis.yml
sudo: false
language: java
jdk:
- oraclejdk8
env:
global:
- DITA_... | 693bc6a2319c210d88afe537312fca85424c3ec1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
script:
- javac -sourcepath src -d bin src/linenux/Main.java
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
script:
- javac -sourcepath src -d bin src/linenux/Main.java
<|file_sep|>updated/.travis.yml | language: java
jdk:
- oraclejdk8
before_script:
- mkdir bin
script:
- javac -sourcepath src -d bin src/linenux/Main.java | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
script:
- javac -sourcepath src -d bin src/linenux/Main.java
<|file_sep|>current/.travis.yml
language: java
jdk:
- oraclejdk8
script:
- javac -sourcepath src -d bin src/linenux/Main.java
<|file_sep|>updated/.travis.yml
language: java
jdk:
- ora... | d761c01d9764204a58707b596400ab6ecaf641c3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss.diff
original:
updated:
font-family:Roboto,Helvetica,Arial,'Bitstream Vera Sans',sans-serif;
<|file_sep|>original/golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss
@import '~elements-sk/colors';
@import '../colors';
gold-scaffold-sk {
app-sk {... | @import '~elements-sk/colors';
@import '../colors';
gold-scaffold-sk {
font-family:Roboto,Helvetica,Arial,'Bitstream Vera Sans',sans-serif;
app-sk {
--header-background-color: var(--gold);
}
header {
h1 {
font-weight: bold;
font-size: 1.5em;
padding: 0 0.25em;
}
.spinner-sp... | <|file_sep|>golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss.diff
original:
updated:
font-family:Roboto,Helvetica,Arial,'Bitstream Vera Sans',sans-serif;
<|file_sep|>original/golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss
@import '~elements-sk/colors';
@import '../colors';
gold-scaffold-sk {
app-sk {... | aa0299ff1af04db085f739fe7d50111f0b6fe271 | golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss | golden/modules/gold-scaffold-sk/gold-scaffold-sk.scss | SCSS |
<|file_sep|>original/lib/ui_bibz/rails/engine.rb
initializer "ui_bibz.helpers" do
ActionView::Base.send :include, UiBibz::Helpers::UtilsHelper
end
initializer "ui_bibz.helpers.ui" do
ActionView::Base.send :include, UiBibz::Helpers::Ui::CoreHelper
ActionView::Base.send :includ... |
initializer "ui_bibz.helpers" do
ActionView::Base.send :include, UiBibz::Helpers::UtilsHelper
end
initializer "ui_bibz.helpers.ui" do
ActionView::Base.send :include, UiBibz::Helpers::Ui::CoreHelper
ActionView::Base.send :include, UiBibz::Helpers::Ui::UxHelper
end
... | <|file_sep|>original/lib/ui_bibz/rails/engine.rb
initializer "ui_bibz.helpers" do
ActionView::Base.send :include, UiBibz::Helpers::UtilsHelper
end
initializer "ui_bibz.helpers.ui" do
ActionView::Base.send :include, UiBibz::Helpers::Ui::CoreHelper
ActionView::Base.send :includ... | 0acfa3b4d74558f12ad62ad6ee833929e4e367ba | lib/ui_bibz/rails/engine.rb | lib/ui_bibz/rails/engine.rb | Ruby |
<|file_sep|>original/requirements.txt
ufoLib==2.0.0
defcon==0.3.1
fontMath==0.4.3
<|file_sep|>current/requirements.txt
ufoLib==2.0.0
defcon==0.3.1
fontMath==0.4.3
<|file_sep|>updated/requirements.txt | ufoLib==2.0.0
defcon==0.3.2
fontMath==0.4.3 | <|file_sep|>original/requirements.txt
ufoLib==2.0.0
defcon==0.3.1
fontMath==0.4.3
<|file_sep|>current/requirements.txt
ufoLib==2.0.0
defcon==0.3.1
fontMath==0.4.3
<|file_sep|>updated/requirements.txt
ufoLib==2.0.0
defcon==0.3.2
fontMath==0.4.3 | 28e53a0032e144341ea1649a508535f5ca5bc280 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/control_flow/src/main.rs
fn main() {
let x = 3;
if number < 4 {
println!("Number less than 4!");
} else {
println!("Number equal to or greater than 4!");
}
}
<|file_sep|>current/control_flow/src/main.rs
fn main() {
let x = 3;
if number < 4 {
println... | fn main() {
let x = 3;
if x < 4 {
println!("Number less than 4!");
} else {
println!("Number equal to or greater than 4!");
}
} | <|file_sep|>original/control_flow/src/main.rs
fn main() {
let x = 3;
if number < 4 {
println!("Number less than 4!");
} else {
println!("Number equal to or greater than 4!");
}
}
<|file_sep|>current/control_flow/src/main.rs
fn main() {
let x = 3;
if number < 4 {
println... | b64b1e1b308e5ae1108494fc107968d7a85e03da | control_flow/src/main.rs | control_flow/src/main.rs | Rust |
<|file_sep|>README.md.diff
original:
`GET /components/:owner/:repo`
updated:
`GET /components/:user/:project`
<|file_sep|>README.md.diff
original:
Returns the component that matches the owner/repo name
updated:
Returns the component that matches the user/project name
<|file_sep|>README.md.diff
original:
`GET /component... | `GET /components?q=query`
Returns an array of components that match query
`GET /components/:user/:project`
Returns the component that matches the user/project name
`GET /components/:user/:project/script.js`
Returns the corresponding component's script
`GET /components/:user/:project/build.js`
Returns the corresp... | <|file_sep|>README.md.diff
original:
`GET /components/:owner/:repo`
updated:
`GET /components/:user/:project`
<|file_sep|>README.md.diff
original:
Returns the component that matches the owner/repo name
updated:
Returns the component that matches the user/project name
<|file_sep|>README.md.diff
original:
`GET /component... | 2cedfc989bc2e8ace0fedfb0020dd4320159119e | README.md | README.md | Markdown |
<|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.3",
<|file_sep|>package.json.diff
original:
"main": "src/Genev.js",
updated:
"main": "src/genev.js",
<|file_sep|>original/package.json
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository"... | "test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/awadYehya/Genev.js.git"
},
"keywords": [
"genetic",
"algorithm",
"framework",
"evolution",
"genev"
],
"author": "Yehya <yehyaawad.kip@gmail.com> (http://yehy... | <|file_sep|>package.json.diff
original:
"version": "0.1.0",
updated:
"version": "0.1.3",
<|file_sep|>package.json.diff
original:
"main": "src/Genev.js",
updated:
"main": "src/genev.js",
<|file_sep|>original/package.json
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository"... | 83b90dbd23d4c09653bd656af53b1780d2aedc7d | package.json | package.json | JSON |
<|file_sep|>original/gradle.properties
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
### Project properties
version_mod=0.0.0
ve... | # Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
### Project properties
version_mod=0.0.0
version_mc=1.16.5
version_forge=36.2.20
m... | <|file_sep|>original/gradle.properties
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false
### Project properties
version_mod=0.0.0
ve... | 4c505f3891d1ec975d8b2ba1e7f8cb9b0e5be008 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/lineman/app/components/discussion_form/discussion_form.coffee
angular.module('loomioApp').factory 'DiscussionForm', ->
templateUrl: 'generated/components/discussion_form/discussion_form.html'
controller: ($scope, $controller, $location, discussion, CurrentUser, Records, AbilityService, FormServ... | angular.module('loomioApp').factory 'DiscussionForm', ->
templateUrl: 'generated/components/discussion_form/discussion_form.html'
controller: ($scope, $controller, $location, discussion, CurrentUser, Records, AbilityService, FormService, KeyEventService) ->
$scope.discussion = discussion.clone()
if $scope.... | <|file_sep|>original/lineman/app/components/discussion_form/discussion_form.coffee
angular.module('loomioApp').factory 'DiscussionForm', ->
templateUrl: 'generated/components/discussion_form/discussion_form.html'
controller: ($scope, $controller, $location, discussion, CurrentUser, Records, AbilityService, FormServ... | 512ddc133411b28b5f37f173b138ccce8c9f2015 | lineman/app/components/discussion_form/discussion_form.coffee | lineman/app/components/discussion_form/discussion_form.coffee | CoffeeScript |
<|file_sep|>original/data/3_2_make_json_for_each_pheno.py
<|file_sep|>current/data/3_2_make_json_for_each_pheno.py
<|file_sep|>updated/data/3_2_make_json_for_each_pheno.py | #!/usr/bin/env python2
from __future__ import print_function, division, absolute_import
import gzip
import glob
import heapq
import re
import os.path
import json
def parse_marker_id(marker_id):
chr1, pos1, ref, alt, chr2, pos2 = re.match(r'([^:]+):([0-9]+)_([-ATCG]+)/([-ATCG]+)_([^:]+):([0-9]+)', marker_id).grou... | <|file_sep|>original/data/3_2_make_json_for_each_pheno.py
<|file_sep|>current/data/3_2_make_json_for_each_pheno.py
<|file_sep|>updated/data/3_2_make_json_for_each_pheno.py
#!/usr/bin/env python2
from __future__ import print_function, division, absolute_import
import gzip
import glob
import heapq
import re
import os... | 33a0e85ef52bd13a407f17aaacb37d4081343c0e | data/3_2_make_json_for_each_pheno.py | data/3_2_make_json_for_each_pheno.py | Python |
<|file_sep|>original/package.json
"url": "https://github.com/MRN-Code/coins-selenium.git"
},
"keywords": [
"coins",
"selenium"
],
"author": "cdaringe",
"license": "MIT",
"bugs": {
"url": "https://github.com/MRN-Code/coins-selenium/issues"
},
"homepage": "https://github.com/MRN-Code/coins... | "url": "https://github.com/MRN-Code/coins-selenium.git"
},
"keywords": [
"coins",
"selenium"
],
"author": "cdaringe",
"license": "MIT",
"bugs": {
"url": "https://github.com/MRN-Code/coins-selenium/issues"
},
"homepage": "https://github.com/MRN-Code/coins-selenium",
"dependencies": {
... | <|file_sep|>original/package.json
"url": "https://github.com/MRN-Code/coins-selenium.git"
},
"keywords": [
"coins",
"selenium"
],
"author": "cdaringe",
"license": "MIT",
"bugs": {
"url": "https://github.com/MRN-Code/coins-selenium/issues"
},
"homepage": "https://github.com/MRN-Code/coins... | 5e913c6a877fa26603ddd381feabdab73732206a | package.json | package.json | JSON |
<|file_sep|>original/permute/tests/test_npc.py
<|file_sep|>current/permute/tests/test_npc.py
<|file_sep|>updated/permute/tests/test_npc.py | from __future__ import division, print_function, absolute_import
from nose.plugins.attrib import attr
from nose.tools import assert_raises, raises
import numpy as np
from scipy.stats import norm
from ..npc import (fisher,
liptak,
tippett)
def test_fisher():
pvalues = np.lin... | <|file_sep|>original/permute/tests/test_npc.py
<|file_sep|>current/permute/tests/test_npc.py
<|file_sep|>updated/permute/tests/test_npc.py
from __future__ import division, print_function, absolute_import
from nose.plugins.attrib import attr
from nose.tools import assert_raises, raises
import numpy as np
from scipy.... | 9d501aaa9d443e450224388854f053683ca2baae | permute/tests/test_npc.py | permute/tests/test_npc.py | Python |
<|file_sep|>bower.json.diff
original:
"version": "0.6.3",
updated:
"version": "0.6.4-pre",
<|file_sep|>bower.json.diff
original:
"basic-aspect": "basic-web-components/basic-aspect#0.6.3",
"basic-shared": "basic-web-components/basic-shared#0.6.3",
updated:
"basic-aspect": "basic-web-components/basic-aspe... | "description": "Lets a component collective takes as its content the children of the innermost aspect.",
"version": "0.6.4-pre",
"license": "MIT",
"main": "basic-children-content.html",
"dependencies": {
"basic-aspect": "basic-web-components/basic-aspect#master",
"basic-shared": "basic-web-components/... | <|file_sep|>bower.json.diff
original:
"version": "0.6.3",
updated:
"version": "0.6.4-pre",
<|file_sep|>bower.json.diff
original:
"basic-aspect": "basic-web-components/basic-aspect#0.6.3",
"basic-shared": "basic-web-components/basic-shared#0.6.3",
updated:
"basic-aspect": "basic-web-components/basic-aspe... | 97013e3f459870804644a4be4454564bbce365bd | bower.json | bower.json | JSON |
<|file_sep|>clipper.go.diff
original:
updated:
"log"
<|file_sep|>clipper.go.diff
original:
"os"
updated:
<|file_sep|>clipper.go.diff
original:
println("Starting the server")
updated:
log.Print("Starting the server")
<|file_sep|>clipper.go.diff
original:
println("error Listen: ", err.Error())
os.Exit(1)
update... | }
}
func HandleConnection(conn net.Conn) {
buf := make([]byte, RECV_BUF_LEN)
n, err := conn.Read(buf)
if err != nil {
log.Print("Read: ", err.Error())
return
}
log.Print("Received ", n, " bytes of data")
_, err = conn.Write(buf)
if err != nil {
log.Print("Write: ", err.Error())
return
} else {
log.... | <|file_sep|>clipper.go.diff
original:
updated:
"log"
<|file_sep|>clipper.go.diff
original:
"os"
updated:
<|file_sep|>clipper.go.diff
original:
println("Starting the server")
updated:
log.Print("Starting the server")
<|file_sep|>clipper.go.diff
original:
println("error Listen: ", err.Error())
os.Exit(1)
update... | ab49082107b84599b5475e311d8c72dcdadcbe80 | clipper.go | clipper.go | Go |
<|file_sep|>multivid_cl.py.diff
original:
updated:
if query.strip() == "":
raise ValueError("Non-blank query string is required!")
<|file_sep|>original/multivid_cl.py
h = search.HuluSearch()
a = search.AmazonSearch()
n = search.NetflixSearch()
# get the query from the first argumen... | h = search.HuluSearch()
a = search.AmazonSearch()
n = search.NetflixSearch()
# get the query from the first argument or from user input
if len(sys.argv) > 1:
query = sys.argv[1]
if query.strip() == "":
raise ValueError("Non-blank query string is required!")
else:
... | <|file_sep|>multivid_cl.py.diff
original:
updated:
if query.strip() == "":
raise ValueError("Non-blank query string is required!")
<|file_sep|>original/multivid_cl.py
h = search.HuluSearch()
a = search.AmazonSearch()
n = search.NetflixSearch()
# get the query from the first argumen... | a4740e9c2bf2e582ab78b8fa1aaf904c72501ee2 | multivid_cl.py | multivid_cl.py | Python |
<|file_sep|>original/tox.ini
[tox]
envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report
[testenv]
passenv = LC_ALL
deps = -rdev-requirements.txt
commands =
coverage run --parallel -m pytest {posargs}
coverage run --parallel -m doc2dash --help
[testenv:flake8]
basepython = python3.6... | [tox]
envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report
[testenv]
passenv = LC_ALL
deps = -rdev-requirements.txt
commands =
coverage run --parallel -m pytest {posargs}
coverage run --parallel -m doc2dash --version
[testenv:flake8]
basepython = python3.6
deps = flake8
skip_instal... | <|file_sep|>original/tox.ini
[tox]
envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report
[testenv]
passenv = LC_ALL
deps = -rdev-requirements.txt
commands =
coverage run --parallel -m pytest {posargs}
coverage run --parallel -m doc2dash --help
[testenv:flake8]
basepython = python3.6... | 5fe3adbd33c1d9e9e016bbb761dcc70236e06ebb | tox.ini | tox.ini | INI |
<|file_sep|>original/account_analytic_required/account_view.xml
Copyright (C) 2011 Akretion (http://www.akretion.com). All Rights Reserved
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<record id="account_analytic_required_account_type_for... |
<openerp>
<data>
<record id="account_analytic_required_account_type_form" model="ir.ui.view">
<field name="name">account_analytic_required.account_type_form</field>
<field name="model">account.account.type</field>
<field name="inherit_id" ref="account.view_account_type_form" />
<field name="arch" typ... | <|file_sep|>original/account_analytic_required/account_view.xml
Copyright (C) 2011 Akretion (http://www.akretion.com). All Rights Reserved
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
-->
<openerp>
<data>
<record id="account_analytic_required_account_type_for... | dfbfa6a5098f45e78d65e790f22b7a2111dfe1f9 | account_analytic_required/account_view.xml | account_analytic_required/account_view.xml | XML |
<|file_sep|>original/handlers/main.yml
---
# handlers file for consul
- name: restart consul
service:
name: "{{ consul_service_name }}"
state: restarted
enabled: yes
when: consul_service_manage
tags: consul
- name: reload consul
service:
name: "{{ consul_service_name }}"
state: reloaded
... | ---
# handlers file for consul
- name: restart consul
service:
name: "{{ consul_service_name }}"
state: restarted
enabled: yes
when:
- consul_service_manage
- not ansible_check_mode
tags: consul
- name: reload consul
service:
name: "{{ consul_service_name }}"
state: reloaded
tags... | <|file_sep|>original/handlers/main.yml
---
# handlers file for consul
- name: restart consul
service:
name: "{{ consul_service_name }}"
state: restarted
enabled: yes
when: consul_service_manage
tags: consul
- name: reload consul
service:
name: "{{ consul_service_name }}"
state: reloaded
... | 0615c3beb8d36669d48f39def602cbba05ee0b18 | handlers/main.yml | handlers/main.yml | YAML |
<|file_sep|>src/modules/ngSharepoint/app.js.diff
original:
updated:
$spLoader.loadScript('//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js');
<|file_sep|>original/src/modules/ngSharepoint/app.js
angular
.module('ngSharepoint', [])
.run(['$sp', '$spLoader', function($sp, $spLoader) {
if ... | angular
.module('ngSharepoint', [])
.run(['$sp', '$spLoader', function($sp, $spLoader) {
if ($sp.getAutoload()) {
if ($sp.getConnectionMode() === 'JSOM') {
$spLoader.loadScript('//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js');
$spLoader.loadScript('SP.Runti... | <|file_sep|>src/modules/ngSharepoint/app.js.diff
original:
updated:
$spLoader.loadScript('//ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js');
<|file_sep|>original/src/modules/ngSharepoint/app.js
angular
.module('ngSharepoint', [])
.run(['$sp', '$spLoader', function($sp, $spLoader) {
if ... | 3a427108bd539987dbd3847edee623cf777b40ad | src/modules/ngSharepoint/app.js | src/modules/ngSharepoint/app.js | JavaScript |
<|file_sep|>gradle.properties.diff
original:
version=3.27.0
updated:
version=3.26.0
<|file_sep|>original/gradle.properties
version=3.27.0
# Default build profile
profile=Java
# Branch codename (filled by releases)
codename=bleeding_edge
# Run findbugs
doFindbugs=false
# Run animal sniffer to verify compatibility of API... | version=3.26.0
# Default build profile
profile=Java
# Branch codename (filled by releases)
codename=yau
# Run findbugs
doFindbugs=false
# Run animal sniffer to verify compatibility of API with actual Java version
doAnimalSniffer=false
# The flag to include ORC support inside default h2o.jar.
doIncludeOrc=false
# The ... | <|file_sep|>gradle.properties.diff
original:
version=3.27.0
updated:
version=3.26.0
<|file_sep|>original/gradle.properties
version=3.27.0
# Default build profile
profile=Java
# Branch codename (filled by releases)
codename=bleeding_edge
# Run findbugs
doFindbugs=false
# Run animal sniffer to verify compatibility of API... | e11b36263a934f64c06cf0db524abcd9e0f8dac5 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.2"
- "5.5"
services:
- mongodb
git:
depth: 3
before_install:
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.2"
- "5... | language: node_js
node_js:
- "4.2"
- "5.5"
services:
- mongodb
git:
depth: 3
before_install:
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < coverage/lcov.info
- coveralls < coverage/lcov.info | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.2"
- "5.5"
services:
- mongodb
git:
depth: 3
before_install:
- npm install -g codeclimate-test-reporter
after_script:
- codeclimate-test-reporter < coverage/lcov.info
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "4.2"
- "5... | 9f953692fea071edff72acc7ca576fdcfe2f1f27 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/node/TopicStream.js.diff
original:
updated:
*
* @options
* * subscribe: whether to subscribe to the topic and start emitting
* Data
* * publish: whether to register the stream as a publisher to the topic
* * transform: a function to change the data to be published
* ... | if (hasTransform) {
chunk = options.transform(chunk);
}
if (chunk === false) {
topic.publish(chunk);
}
callback();
};
if (options.subscribe) {
this.subscribe(function(message) {
stream.push(message);
});
thi... | <|file_sep|>src/node/TopicStream.js.diff
original:
updated:
*
* @options
* * subscribe: whether to subscribe to the topic and start emitting
* Data
* * publish: whether to register the stream as a publisher to the topic
* * transform: a function to change the data to be published
* ... | 14a53099870207e785fef5088aa66da19bb64df3 | src/node/TopicStream.js | src/node/TopicStream.js | JavaScript |
<|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | # Title tag
# Navigation
navigation-title=Pontoon Intro
navigation-developers=Developers
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
headline-2=In Place.
call-to-action=Tell Me More
# What
what-desc=Pontoon allows you to localise web content in place, with context and spatial limitations rig... | <|file_sep|>static/locales/en-GB/messages.properties.diff
original:
updated:
navigation-title=Pontoon Intro
navigation-developers=Developers
<|file_sep|>original/static/locales/en-GB/messages.properties
# Title tag
# Navigation
# Header
upper-title=Pontoon by Mozilla
headline-1=LocaliSe the web.
# What
what-desc=Po... | 30b2783fda4b0f60961259b35283765a0c531977 | static/locales/en-GB/messages.properties | static/locales/en-GB/messages.properties | INI |
<|file_sep|>src/org/myrobotlab/document/transformer/SetStaticFieldValue.java.diff
original:
updated:
private List<String> values = null;
<|file_sep|>src/org/myrobotlab/document/transformer/SetStaticFieldValue.java.diff
original:
updated:
values = config.getListParam("values");
<|file_sep|>original/src/org/myr... |
if (config != null) {
fieldName = config.getStringParam("fieldName");
value = config.getStringParam("value");
values = config.getListParam("values");
}
}
@Override
public List<Document> processDocument(Document doc) {
if (values != null) {
for (String value : values) {
doc.addTo... | <|file_sep|>src/org/myrobotlab/document/transformer/SetStaticFieldValue.java.diff
original:
updated:
private List<String> values = null;
<|file_sep|>src/org/myrobotlab/document/transformer/SetStaticFieldValue.java.diff
original:
updated:
values = config.getListParam("values");
<|file_sep|>original/src/org/myr... | 92b324dd6a530bcf6ee7196d0628b5ce19bca0e7 | src/org/myrobotlab/document/transformer/SetStaticFieldValue.java | src/org/myrobotlab/document/transformer/SetStaticFieldValue.java | Java |
<|file_sep|>original/requirements/base.txt
pygithub==1.27.1
click==6.6
jinja2==2.8
tqdm==4.8.4
requests==2.11.1
markdown2==2.3.1
<|file_sep|>current/requirements/base.txt
pygithub==1.27.1
click==6.6
jinja2==2.8
tqdm==4.8.4
requests==2.11.1
markdown2==2.3.1
<|file_sep|>updated/requirements/base.txt | pygithub==1.29
click==6.6
jinja2==2.8
tqdm==4.8.4
requests==2.11.1
markdown2==2.3.1 | <|file_sep|>original/requirements/base.txt
pygithub==1.27.1
click==6.6
jinja2==2.8
tqdm==4.8.4
requests==2.11.1
markdown2==2.3.1
<|file_sep|>current/requirements/base.txt
pygithub==1.27.1
click==6.6
jinja2==2.8
tqdm==4.8.4
requests==2.11.1
markdown2==2.3.1
<|file_sep|>updated/requirements/base.txt
pygithub==1.29
click=... | f9e819eb1423caaf4ee0ca18b9dc7859d3ba1f7a | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/requirements/prod.txt
# Octave interaction
scipy==1.3.1
numpy==1.17.2
octave-kernel==0.31.0
ipython==7.8.0 # pyup: ignore
# Octave packages
sympy==1.4
# Database
SQLAlchemy==1.3.8
Flask-SQLAlchemy==2.4.0
# App management
Flask-Migrate==2.5.2
Flask-Script==2.0.6
honcho==1.0.1
-e git://github.com/... | # Octave interaction
scipy==1.3.1
numpy==1.17.2
octave-kernel==0.31.0
ipython==7.8.0 # pyup: ignore
# Octave packages
sympy==1.4
# Database
SQLAlchemy==1.3.8
Flask-SQLAlchemy==2.4.1
# App management
Flask-Migrate==2.5.2
Flask-Script==2.0.6
honcho==1.0.1
-e git://github.com/benwilber/honcho-export-systemd.git@27c5ec1... | <|file_sep|>original/requirements/prod.txt
# Octave interaction
scipy==1.3.1
numpy==1.17.2
octave-kernel==0.31.0
ipython==7.8.0 # pyup: ignore
# Octave packages
sympy==1.4
# Database
SQLAlchemy==1.3.8
Flask-SQLAlchemy==2.4.0
# App management
Flask-Migrate==2.5.2
Flask-Script==2.0.6
honcho==1.0.1
-e git://github.com/... | be4e7dba2daa372269e94c3efaac1e166bb673d3 | requirements/prod.txt | requirements/prod.txt | Text |
<|file_sep|>original/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb | class ChangeDomainOptionIdToBigint < ActiveRecord::Migration[6.0]
def up
change_column :domain_options, :id, :bigint
end
def down
change_column :domain_options, :id, :integer
end
end | <|file_sep|>original/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212153025_change_domain_option_id_to_bigint.rb
class ChangeDomainOptionIdToBigint < ActiveRecord::Migration[6.0]
... | ed6ed950c99db641b658b901778de3d70f12376b | db/migrate/20190212153025_change_domain_option_id_to_bigint.rb | db/migrate/20190212153025_change_domain_option_id_to_bigint.rb | Ruby |
<|file_sep|>original/drivers/python/wappalyzer.py
<|file_sep|>current/drivers/python/wappalyzer.py
<|file_sep|>updated/drivers/python/wappalyzer.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import PyV8
import urllib
from urlparse import urlparse
try:
import json
except ImportError:
import simplejson as json
class Wappalyzer(object):
def __init__(self, url):
self.file_dir = os.path.dirname(__file__)
f = ope... | <|file_sep|>original/drivers/python/wappalyzer.py
<|file_sep|>current/drivers/python/wappalyzer.py
<|file_sep|>updated/drivers/python/wappalyzer.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import PyV8
import urllib
from urlparse import urlparse
try:
import json
except ImportError:
... | 9e900eb16e92027cfe990a07c5703a6adbb41a09 | drivers/python/wappalyzer.py | drivers/python/wappalyzer.py | Python |
<|file_sep|>original/buildSrc/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
# this is merged with gradle's generated properties during 'gradle eclipse'
# NOTE: null pointer analysis etc is not enabled currently, it seems very unstable
# (e.g. crashing eclipse etc)
# org.... | eclipse.preferences.version=1
# this is merged with gradle's generated properties during 'gradle eclipse'
# NOTE: null pointer analysis etc is not enabled currently, it seems very unstable
# (e.g. crashing eclipse etc)
# org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled
# org.eclipse.jdt.core.co... | <|file_sep|>original/buildSrc/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs
eclipse.preferences.version=1
# this is merged with gradle's generated properties during 'gradle eclipse'
# NOTE: null pointer analysis etc is not enabled currently, it seems very unstable
# (e.g. crashing eclipse etc)
# org.... | 2da4b68b9a4e4f28539791679248470c67c3fbf2 | buildSrc/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs | buildSrc/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs | INI |
<|file_sep|>original/test/Transforms/GVN/2009-11-29-ReverseMap.ll
<|file_sep|>current/test/Transforms/GVN/2009-11-29-ReverseMap.ll
<|file_sep|>updated/test/Transforms/GVN/2009-11-29-ReverseMap.ll | ; RUN: opt -gvn -disable-output %s
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
%struct.attribute_spec = type { i8*, i32, i32, i8, i8, i8 }
@attribute_tables = external global [... | <|file_sep|>original/test/Transforms/GVN/2009-11-29-ReverseMap.ll
<|file_sep|>current/test/Transforms/GVN/2009-11-29-ReverseMap.ll
<|file_sep|>updated/test/Transforms/GVN/2009-11-29-ReverseMap.ll
; RUN: opt -gvn -disable-output %s
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:3... | 526bc31cee0019debd27f144eac863a8eb2ec09f | test/Transforms/GVN/2009-11-29-ReverseMap.ll | test/Transforms/GVN/2009-11-29-ReverseMap.ll | LLVM |
<|file_sep|>original/testapp/testapp/testmain/models.py
name = models.CharField(max_length=10)
allotted_rooms = models.ManyToManyField(ClassRoom)
allotted_labs = models.ManyToManyField(Lab)
def __unicode__(self):
return unicode(self.name)
class Employee(models.Model):
name = models.CharFie... | return unicode(self.name)
class Employee(models.Model):
name = models.CharField(max_length=30)
salary = models.FloatField()
dept = models.ForeignKey(Dept)
manager = models.ForeignKey('Employee', null=True, blank=True)
def __unicode__(self):
return unicode(self.name)
class Word(mod... | <|file_sep|>original/testapp/testapp/testmain/models.py
name = models.CharField(max_length=10)
allotted_rooms = models.ManyToManyField(ClassRoom)
allotted_labs = models.ManyToManyField(Lab)
def __unicode__(self):
return unicode(self.name)
class Employee(models.Model):
name = models.CharFie... | 8f14e64701fb26da8e4a614da6129964f29be16d | testapp/testapp/testmain/models.py | testapp/testapp/testmain/models.py | Python |
<|file_sep|>original/CalSmokeApp/config/xtc-other-gems.rb
gem 'retriable', '~> 2.0'
gem "cucumber", "~> 2.0"
gem "xamarin-test-cloud", "~> 2.0"
gem 'rake', '~> 10.3'
gem 'bundler', '~> 1.6'
gem 'xcpretty', '~> 0.1'
gem 'rspec', '~> 3.0'
gem 'pry'
gem 'pry-nav'
gem 'luffa', '~> 1.0', '>= 1.0.2'
gem 'chronic', '>= 0.10.2... | gem 'retriable', '~> 2.0'
gem "cucumber", "~> 2.0"
gem "xamarin-test-cloud", "~> 2.0"
gem 'rake', '~> 10.3'
gem 'bundler', '2.0.2'
gem 'xcpretty', '~> 0.1'
gem 'rspec', '~> 3.0'
gem 'pry'
gem 'pry-nav'
gem 'luffa', '~> 1.0', '>= 1.0.2'
gem 'chronic', '>= 0.10.2', '< 1.0' | <|file_sep|>original/CalSmokeApp/config/xtc-other-gems.rb
gem 'retriable', '~> 2.0'
gem "cucumber", "~> 2.0"
gem "xamarin-test-cloud", "~> 2.0"
gem 'rake', '~> 10.3'
gem 'bundler', '~> 1.6'
gem 'xcpretty', '~> 0.1'
gem 'rspec', '~> 3.0'
gem 'pry'
gem 'pry-nav'
gem 'luffa', '~> 1.0', '>= 1.0.2'
gem 'chronic', '>= 0.10.2... | fe51472ddb1bbb1209a659d6a7a8c1a94ed88313 | CalSmokeApp/config/xtc-other-gems.rb | CalSmokeApp/config/xtc-other-gems.rb | Ruby |
<|file_sep|>original/project.clj
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-beta3"
:description "An Onyx health and query HTTP server"
:url "https://github.com/onyx-platform/onyx-peer-http-query"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"... | (defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-SNAPSHOT"
:description "An Onyx health and query HTTP server"
:url "https://github.com/onyx-platform/onyx-peer-http-query"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojur... | <|file_sep|>original/project.clj
(defproject org.onyxplatform/onyx-peer-http-query "0.10.0.0-beta3"
:description "An Onyx health and query HTTP server"
:url "https://github.com/onyx-platform/onyx-peer-http-query"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"... | 64d726353d30bee13c5c3b3097db3fcc790b245a | project.clj | project.clj | Clojure |
<|file_sep|>HISTORY.rst.diff
original:
updated:
Unreleased (2019-07-xx)
+++++++++++++++++++++++
Added
-----
* `apt-install.sh` in utils/ that lists Ubuntu/apt package requirements.
* `load_modules.sh` in utils/ that sets up Raijin environment.
Fixed
-----
* Errors being caused by newer version of networkx. Nx 2.3 now... | -------
* Requirements now managed by 'requirements.txt' file, parsed by setup.py.
* Requirements now split across base 'requirments.txt' and files for dev
('requirements-dev.txt') and testing ('requirements-test.txt')
* Moved default config files to top level source directory.
* Pinned Python dependencies to specif... | <|file_sep|>HISTORY.rst.diff
original:
updated:
Unreleased (2019-07-xx)
+++++++++++++++++++++++
Added
-----
* `apt-install.sh` in utils/ that lists Ubuntu/apt package requirements.
* `load_modules.sh` in utils/ that sets up Raijin environment.
Fixed
-----
* Errors being caused by newer version of networkx. Nx 2.3 now... | 23148963d497aea2d1ce73030f9fa7f3cadcf4b1 | HISTORY.rst | HISTORY.rst | reStructuredText |
<|file_sep|>original/spec/spec_helper.rb
require 'chefspec'
require 'chefspec/berkshelf'
RSpec.configure do |config|
config.formatter = :documentation
config.color = true
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end
def platforms
{
'ubuntu' => ['14.04', '16.04'],
... | require 'chefspec'
require 'chefspec/berkshelf'
RSpec.configure do |config|
config.formatter = :documentation
config.color = true
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end | <|file_sep|>original/spec/spec_helper.rb
require 'chefspec'
require 'chefspec/berkshelf'
RSpec.configure do |config|
config.formatter = :documentation
config.color = true
config.filter_run focus: true
config.run_all_when_everything_filtered = true
end
def platforms
{
'ubuntu' => ['14.04', '16.04'],
... | 7ae3fa4d0e8aa621342ea6ef407683db2a49de88 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/src/detectors/threads/index.js
import inlineModule from "wat2wasm:--enable-threads:./module.wat";
import { testCompile } from "../../helpers.js";
export default async function() {
try {
// Test for availability of shared Wasm memory
new WebAssembly.Memory({ initial: 1, maximum: 1, shar... |
import inlineModule from "wat2wasm:--enable-threads:./module.wat";
import { testCompile } from "../../helpers.js";
export default async function() {
try {
// Test for availability of shared Wasm memory
new WebAssembly.Memory({ initial: 1, maximum: 1, shared: true });
// Test for transferability of SABs... | <|file_sep|>original/src/detectors/threads/index.js
import inlineModule from "wat2wasm:--enable-threads:./module.wat";
import { testCompile } from "../../helpers.js";
export default async function() {
try {
// Test for availability of shared Wasm memory
new WebAssembly.Memory({ initial: 1, maximum: 1, shar... | 5ed29e091ef3f24b2f5c9720da5b38ec67e5548c | src/detectors/threads/index.js | src/detectors/threads/index.js | JavaScript |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
- 1.9.3
addons:
code_climate:
repo_token: 77ed2a0fb6a3c8841131b45bcf6beae12ead240bb0b127d1a064d069bfbe9376
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
... | language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
addons:
code_climate:
repo_token: 77ed2a0fb6a3c8841131b45bcf6beae12ead240bb0b127d1a064d069bfbe9376 | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
- 1.9.3
addons:
code_climate:
repo_token: 77ed2a0fb6a3c8841131b45bcf6beae12ead240bb0b127d1a064d069bfbe9376
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0
... | b99d0cfe0bce47a6e421bf4e1b8d1f2a53f49391 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/pycall/pyerror.rb
def initialize(type, value, traceback)
@type = type
@value = value
@traceback = traceback
super("Error occurred in Python")
end
attr_reader :type, :value, :traceback
def to_s
"#{type}: #{value}".tap do |msg|
unless trace... | def initialize(type, value, traceback)
@type = type
@value = value
@traceback = traceback
super("Error occurred in Python")
end
attr_reader :type, :value, :traceback
def to_s
"#{type}: #{value}".tap do |msg|
unless traceback.nil? || traceback.null?
if (s... | <|file_sep|>original/lib/pycall/pyerror.rb
def initialize(type, value, traceback)
@type = type
@value = value
@traceback = traceback
super("Error occurred in Python")
end
attr_reader :type, :value, :traceback
def to_s
"#{type}: #{value}".tap do |msg|
unless trace... | 287732ead29e7674f1fcb5fc7897b1d5ae92e3ef | lib/pycall/pyerror.rb | lib/pycall/pyerror.rb | Ruby |
<|file_sep|>client/templates/bets/create.js.diff
original:
Meteor.call("createBet", username, defender, title, wager);
Meteor.call("createBetNotification", username, defender, type);
updated:
Meteor.call('createBet', username, defender, title, wager, betImage);
Meteor.call('createBetNotification', usern... |
Meteor.call('createBet', username, defender, title, wager, betImage);
Meteor.call('createBetNotification', username, defender, type);
Router.go('/bets');
},
"click .take-photo" : function(event){
event.preventDefault();
var cameraOptions = {
width: 700,
height: 500
};
Met... | <|file_sep|>client/templates/bets/create.js.diff
original:
Meteor.call("createBet", username, defender, title, wager);
Meteor.call("createBetNotification", username, defender, type);
updated:
Meteor.call('createBet', username, defender, title, wager, betImage);
Meteor.call('createBetNotification', usern... | 01dfb0a942958bed684b63cca1c62281c1a2631e | client/templates/bets/create.js | client/templates/bets/create.js | JavaScript |
<|file_sep|>tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee.diff
original:
zone = spi.wrap this
updated:
<|file_sep|>tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee.diff
original:
zone.trigger events.zone.willUpdate
updated:
this.trigger events.zone.w... | # ##core/zone
#
# Provides a default handler for the `events.zone.update` event, attached to the
# document body.
define ["core/spi", "core/events"],
(spi, events) ->
spi.domReady ->
spi.body().on events.zone.update, (event) ->
this.trigger events.zone.willUpdate
# TODO: purge existing chi... | <|file_sep|>tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee.diff
original:
zone = spi.wrap this
updated:
<|file_sep|>tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee.diff
original:
zone.trigger events.zone.willUpdate
updated:
this.trigger events.zone.w... | 85978b3b54429193c07a3506d6091d88b97cf807 | tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee | tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee | CoffeeScript |
<|file_sep|>original/.travis.yml
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
<|file_sep|>current/.travis.yml
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
<|file_sep|>updated/.travis.yml | rvm:
- 2.1
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake | <|file_sep|>original/.travis.yml
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
<|file_sep|>current/.travis.yml
rvm:
- 2.1.0
- 2.0.0
- 1.9.3
services: mongodb
script:
- bundle exec rubocop
- bundle exec rake
<|file_sep|>updated/.travis.yml
rvm:
- 2.1
... | 631739d533d34e74a52ca14977ea03a158161d03 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/seacat/spdy/vle.py
<|file_sep|>current/seacat/spdy/vle.py
<|file_sep|>updated/seacat/spdy/vle.py | import struct
def spdy_add_vle_string(frame, string):
buf = bytes(string, 'utf-8')
buf_len = len(buf)
if buf_len >= 0xFA:
struct.pack_into('!BH', frame.data, frame.position, 0xFF, buf_len)
frame.position += struct.calcsize('!BH')
else:
struct.pack_into('!B', frame.data, frame.position, buf_len)
frame.pos... | <|file_sep|>original/seacat/spdy/vle.py
<|file_sep|>current/seacat/spdy/vle.py
<|file_sep|>updated/seacat/spdy/vle.py
import struct
def spdy_add_vle_string(frame, string):
buf = bytes(string, 'utf-8')
buf_len = len(buf)
if buf_len >= 0xFA:
struct.pack_into('!BH', frame.data, frame.position, 0xFF, buf_len)
fr... | 924de7e93a8d73932253b10699ab0f481761586e | seacat/spdy/vle.py | seacat/spdy/vle.py | Python |
<|file_sep|>original/Kwc/Basic/DownloadTag/Update/20210906UpdateSeoFields.sql
ALTER TABLE `kwc_basic_downloadtag` CHANGE `open_type` `open_type` ENUM('self','blank') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'self';
ALTER TABLE `kwc_basic_downloadtag` DROP `width`;
ALTER TABLE `kwc_basic_downloadtag` ... | UPDATE `kwc_basic_downloadtag` SET `open_type` = 'blank' WHERE `open_type` = 'popup';
ALTER TABLE `kwc_basic_downloadtag` CHANGE `open_type` `open_type` ENUM('self','blank') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'self';
ALTER TABLE `kwc_basic_downloadtag` DROP `width`;
ALTER TABLE `kwc_basic_downl... | <|file_sep|>original/Kwc/Basic/DownloadTag/Update/20210906UpdateSeoFields.sql
ALTER TABLE `kwc_basic_downloadtag` CHANGE `open_type` `open_type` ENUM('self','blank') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'self';
ALTER TABLE `kwc_basic_downloadtag` DROP `width`;
ALTER TABLE `kwc_basic_downloadtag` ... | 7c03c2a41e2836a0933a84c103253624435e9dae | Kwc/Basic/DownloadTag/Update/20210906UpdateSeoFields.sql | Kwc/Basic/DownloadTag/Update/20210906UpdateSeoFields.sql | SQL |
<|file_sep|>original/spec/swagger_docs_generator/configuration/configuration_default_spec.rb
let(:variable) { SwaggerDocsGenerator.config.swagger }
it_behaves_like 'variable exist', '2.0'
end
context 'cleanning' do
let(:variable) { SwaggerDocsGenerator.config.cleanning }
it_behaves_like... | let(:variable) { SwaggerDocsGenerator.config.swagger }
it_behaves_like 'variable exist', '2.0'
end
context 'cleanning' do
let(:variable) { SwaggerDocsGenerator.config.cleanning }
it_behaves_like 'variable exist', true
end
context 'doc_class' do
let(:variable) { SwaggerDoc... | <|file_sep|>original/spec/swagger_docs_generator/configuration/configuration_default_spec.rb
let(:variable) { SwaggerDocsGenerator.config.swagger }
it_behaves_like 'variable exist', '2.0'
end
context 'cleanning' do
let(:variable) { SwaggerDocsGenerator.config.cleanning }
it_behaves_like... | 4a3f3b0fc72e1385c3340db552e33f48d42d1cbc | spec/swagger_docs_generator/configuration/configuration_default_spec.rb | spec/swagger_docs_generator/configuration/configuration_default_spec.rb | Ruby |
<|file_sep|>original/_includes/header.html
<header class="site-header">
<div class="navbar-fixed">
<nav class="{{ site.css }} darken-2 waves-effect waves-light">
<div class="nav-wrapper">
<div class="container">
<a internal href="{{ site.baseurl }}/" class="brand-l... | <header class="site-header">
<div class="navbar-fixed">
<nav class="{{ site.css }} darken-2 waves-effect waves-light">
<div class="nav-wrapper">
<div class="container">
<a internal href="{{ site.baseurl }}/" class="brand-logo"><i class="mdi-communication-chat"></i>... | <|file_sep|>original/_includes/header.html
<header class="site-header">
<div class="navbar-fixed">
<nav class="{{ site.css }} darken-2 waves-effect waves-light">
<div class="nav-wrapper">
<div class="container">
<a internal href="{{ site.baseurl }}/" class="brand-l... | 38f04927a1893f43ac59260c3b2523c6edeab320 | _includes/header.html | _includes/header.html | HTML |
<|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs.diff
original:
#nullable disable
updated:
<|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs.diff
original:
updated:
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
<|file_sep|>osu.Game.Tests/Visual/UserInterf... | [Test]
public void TestChangeModType()
{
ModIcon icon = null!;
AddStep("create mod icon", () => Child = icon = new ModIcon(new OsuModDoubleTime()));
AddStep("change mod", () => icon.Mod = new OsuModEasy());
}
[Test]
public void TestIn... | <|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs.diff
original:
#nullable disable
updated:
<|file_sep|>osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs.diff
original:
updated:
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
<|file_sep|>osu.Game.Tests/Visual/UserInterf... | 90fecbc9c7435ff5c2f3077b8fdebb96ff3d6c52 | osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs | osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs | C# |
<|file_sep|>original/core/migrations/0055_update_username_validators.py
<|file_sep|>current/core/migrations/0055_update_username_validators.py
<|file_sep|>updated/core/migrations/0055_update_username_validators.py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-22 22:03
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0054_add_provider__cloud_config_and_timezone'),
]
... | <|file_sep|>original/core/migrations/0055_update_username_validators.py
<|file_sep|>current/core/migrations/0055_update_username_validators.py
<|file_sep|>updated/core/migrations/0055_update_username_validators.py
# -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-22 22:03
from __future__ import unicode_l... | 1e7b84155623691fb9fc1cec4efa6386938f3e72 | core/migrations/0055_update_username_validators.py | core/migrations/0055_update_username_validators.py | Python |
<|file_sep|>src/isla/library.clj.diff
original:
updated:
(:require [isla.user :as user])
<|file_sep|>src/isla/library.clj.diff
original:
(defn get-initial-env []
updated:
(defn get-initial-env [& args]
(def extra-types (first args))
<|file_sep|>original/src/isla/library.clj
(ns isla.library
(:use [clojure.pprint... | (ns isla.library
(:use [clojure.pprint])
(:require [clojure.string :as str])
(:require [isla.user :as user])
(:require [isla.utils :as utils]))
(defn get-initial-env [& args]
(def extra-types (first args))
{
:ret nil
:ctx {
"write" (fn [env str]
(utils/output str) ;; print... | <|file_sep|>src/isla/library.clj.diff
original:
updated:
(:require [isla.user :as user])
<|file_sep|>src/isla/library.clj.diff
original:
(defn get-initial-env []
updated:
(defn get-initial-env [& args]
(def extra-types (first args))
<|file_sep|>original/src/isla/library.clj
(ns isla.library
(:use [clojure.pprint... | dd05180460a0c3ca5cb063bf0d39c32f01e58ccf | src/isla/library.clj | src/isla/library.clj | Clojure |
<|file_sep|>index.js.diff
original:
updated:
var connected = true
<|file_sep|>index.js.diff
original:
port.postMessage(msg)
updated:
if (connected) {
port.postMessage(msg)
}
<|file_sep|>index.js.diff
original:
function (done) {
port.disconnect()
updated:
function flush(done) {
if (conn... |
function onDisconnect() {
removeListeners()
connected = false
stream.end()
}
function addListeners() {
port.onMessage.addListener(onMessage)
port.onDisconnect.addListener(onDisconnect)
}
function removeListeners() {
port.onMessage.removeListener(onMessage)
port.onDisconnect.remo... | <|file_sep|>index.js.diff
original:
updated:
var connected = true
<|file_sep|>index.js.diff
original:
port.postMessage(msg)
updated:
if (connected) {
port.postMessage(msg)
}
<|file_sep|>index.js.diff
original:
function (done) {
port.disconnect()
updated:
function flush(done) {
if (conn... | 49c1b7114dd0e75cb4dbcfd4de9bd82ead24546e | index.js | index.js | JavaScript |
<|file_sep|>original/src/main/resources/templates/external-links.inc.ftl
<div class="col-md-12 text-center margin-bottom">
[ <a href="https://emergentmud.blogspot.com" target="_blank">Development Blog</a> ]
[ <a href="https://bitbucket.org/scionaltera/emergentmud" target="_blank">Source Repository</a> ]
[ <... | <div class="col-md-12 text-center margin-bottom">
[ <a href="https://emergentmud.blogspot.com" target="_blank">Development Blog</a> ]
[ <a href="https://github.com/scionaltera/emergentmud" target="_blank">Source Code</a> ]
[ <a href="https://tree.taiga.io/project/scionaltera-emergentmud/" target="_blank">Is... | <|file_sep|>original/src/main/resources/templates/external-links.inc.ftl
<div class="col-md-12 text-center margin-bottom">
[ <a href="https://emergentmud.blogspot.com" target="_blank">Development Blog</a> ]
[ <a href="https://bitbucket.org/scionaltera/emergentmud" target="_blank">Source Repository</a> ]
[ <... | 04dcee288decc4c4abf1dcd27380871be920c336 | src/main/resources/templates/external-links.inc.ftl | src/main/resources/templates/external-links.inc.ftl | FreeMarker |
<|file_sep|>original/.eslintrc.json
{
"extends": "standard",
"plugins": [
"standard",
"promise"
]
}
<|file_sep|>current/.eslintrc.json
{
"extends": "standard",
"plugins": [
"standard",
"promise"
]
}
<|file_sep|>updated/.eslintrc.json | {
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": 2
},
"extends": "eslint:recommended",
"plugins": [
"standard",
"promise"
]
} | <|file_sep|>original/.eslintrc.json
{
"extends": "standard",
"plugins": [
"standard",
"promise"
]
}
<|file_sep|>current/.eslintrc.json
{
"extends": "standard",
"plugins": [
"standard",
"promise"
]
}
<|file_sep|>updated/.eslintrc.json
{
"root": true,
"parse... | 9913481366c773f775090fff3a779948c29546ef | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install
script: phpunit --configuration phpunit.xml.dist
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
be... | language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
sudo: false
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install
script: phpunit --configuration phpunit.xml.dist | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
before_script:
- wget -nc http://getcomposer.org/composer.phar
- php composer.phar install
script: phpunit --configuration phpunit.xml.dist
<|file_sep|>current/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- hhvm
be... | aaf3015cd1b9d3cbcb3c14cce61d83decea7e0f3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/etc/brokerd.ini
[daemon]
# workdir= var
workdir=/home/gbour/PROJECTS/Shinken/shinken/var
# For installation configuration :
# workdir should be explicitely set to an absolute directory path.
# using default values for following config variables value :
# paths variables values, if not absolute p... | [daemon]
# workdir= var
# For installation configuration :
# workdir should be explicitely set to an absolute directory path.
# using default values for following config variables value :
# paths variables values, if not absolute paths, are relative to workdir.
# user=shinken ; by default it's the current u... | <|file_sep|>original/etc/brokerd.ini
[daemon]
# workdir= var
workdir=/home/gbour/PROJECTS/Shinken/shinken/var
# For installation configuration :
# workdir should be explicitely set to an absolute directory path.
# using default values for following config variables value :
# paths variables values, if not absolute p... | 2d8a05742bba8ae218f612af43ab3d556f777c14 | etc/brokerd.ini | etc/brokerd.ini | INI |
<|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "5.9.4",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-conc... | {
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "5.9.5",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-cont... | <|file_sep|>original/package.json
{
"name": "fh-service-google-cloud",
"version": "0.2.0",
"dependencies": {
"googleapis": "0.2.13-alpha",
"fh-mbaas-api": "5.9.4",
"request": "2.34.0",
"body-parser": "~1.0.2",
"express": "4.0.0",
"cors": "~2.2.0"
},
"devDependencies": {
"grunt-conc... | e0638eff74f42a6c73e3df0683dc80558614562f | package.json | package.json | JSON |
<|file_sep|>original/scripts/moo.coffee
# Description:
# A cow's gonna be a cow.
#
# Commands:
# hubot moo* - Reply w/ moo
module.exports = (robot) ->
robot.hear /\bmo{2,}\b/i, (msg) ->
if msg.envelope.room == "1s_and_0s"
robot.messageHipchat "MOOOOOOOOOOOOOOOOO"
else
if !msg.envelope.room
... | # Description:
# A cow's gonna be a cow.
#
# Commands:
# hubot moo* - Reply w/ moo
module.exports = (robot) ->
robot.hear /\bmo{2,}\b/i, (msg) ->
if msg.envelope.room == "1s_and_0s"
robot.messageHipchat "MOOOOOOOOOOOOOOOOO"
else
if !msg.envelope.room
msg.send "This incident will be re... | <|file_sep|>original/scripts/moo.coffee
# Description:
# A cow's gonna be a cow.
#
# Commands:
# hubot moo* - Reply w/ moo
module.exports = (robot) ->
robot.hear /\bmo{2,}\b/i, (msg) ->
if msg.envelope.room == "1s_and_0s"
robot.messageHipchat "MOOOOOOOOOOOOOOOOO"
else
if !msg.envelope.room
... | 74b1e9d7efb2ac5f808670028108b79303a9a5ae | scripts/moo.coffee | scripts/moo.coffee | CoffeeScript |
<|file_sep|>original/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md
<|file_sep|>current/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md
<|file_sep|>updated/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md | ---
layout: post
title: Authorization using ACL with spring security
---
A previous post mentioned that we could separate application code from security code by using the hasPermission security expression.
We can implement our own permissionEvaluator. But Spring-security also provides it's own implementation: AclPerm... | <|file_sep|>original/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md
<|file_sep|>current/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md
<|file_sep|>updated/_posts/2017-09-30-Authorization-using-ACL-with-spring-security.md
---
layout: post
title: Authorization using ACL with spring... | 68d25224378809ab3d84718d160a64ec1389fde6 | _posts/2017-09-30-Authorization-using-ACL-with-spring-security.md | _posts/2017-09-30-Authorization-using-ACL-with-spring-security.md | Markdown |
<|file_sep|>original/subprojects/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2IntegrationSpec.groovy
import org.gradle.integtests.fixtures.AbstractIntegrationSpec
class Spock2IntegrationSpec extends AbstractIntegrationSpec {
private static final String SPOCK_VERSION = "2.1-groovy-3.0"
def s... |
def setup() {
buildScript("""
plugins {
id("groovy")
}
${mavenCentralRepository()}
dependencies {
testImplementation("org.spockframework:spock-core:$SPOCK_VERSION")
constraints {
implementa... | <|file_sep|>original/subprojects/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2IntegrationSpec.groovy
import org.gradle.integtests.fixtures.AbstractIntegrationSpec
class Spock2IntegrationSpec extends AbstractIntegrationSpec {
private static final String SPOCK_VERSION = "2.1-groovy-3.0"
def s... | 27537a35d7f85665fffb629fd8225ee545a34a04 | subprojects/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2IntegrationSpec.groovy | subprojects/testing-jvm/src/integTest/groovy/org/gradle/testing/spock/Spock2IntegrationSpec.groovy | Groovy |
<|file_sep|>original/composer.json
"keywords": ["linio", "mail", "mailer", "mandrill", "ses"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": ">=7.0",
"psr/log": "^1.0",
"mandrill/mandrill": "1.0.*",
"doctrine/inflector": "^1.0"
},
"require-dev"... | "keywords": ["linio", "mail", "mailer", "mandrill", "ses"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": ">=7.0",
"psr/log": "^1.0",
"mandrill/mandrill": "1.0.*",
"doctrine/inflector": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.... | <|file_sep|>original/composer.json
"keywords": ["linio", "mail", "mailer", "mandrill", "ses"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": ">=7.0",
"psr/log": "^1.0",
"mandrill/mandrill": "1.0.*",
"doctrine/inflector": "^1.0"
},
"require-dev"... | 6934ad534eb8f5c9959769db48b51809a5bb5192 | composer.json | composer.json | JSON |
<|file_sep|>original/db/migrate/20150406222613_add_attachment_avatar_to_users.rb
class AddAttachmentAvatarToUsers < ActiveRecord::Migration
def self.up
change_table :users do |t|
add_column :users, :retina_dimensions, :text, after: :email
end
end
def self.down
remove_attachment :users, :avatar
... | class AddAttachmentAvatarToUsers < ActiveRecord::Migration
def self.up
change_table :users do |t|
add_attachment :users, :avatar
add_column :users, :retina_dimensions, :text, after: :email
end
end
def self.down
remove_attachment :users, :avatar
remove_column :users, :retina_dimensions... | <|file_sep|>original/db/migrate/20150406222613_add_attachment_avatar_to_users.rb
class AddAttachmentAvatarToUsers < ActiveRecord::Migration
def self.up
change_table :users do |t|
add_column :users, :retina_dimensions, :text, after: :email
end
end
def self.down
remove_attachment :users, :avatar
... | f9f780811bdf24a004c8049dc7bf246bd0cd022b | db/migrate/20150406222613_add_attachment_avatar_to_users.rb | db/migrate/20150406222613_add_attachment_avatar_to_users.rb | Ruby |
<|file_sep|>original/README.md
# spring-jms-extras
Provides extra functionality for Spring JMS support (version 3.2.x). Currently this includes a version of the DefaultMessageListeningContainers that supports back off and also a keep alive.
# Author
Author: Justin McCartney
<|file_sep|>current/README.md
# spring-jm... | # spring-jms-extras
Provides extra functionality for Spring JMS support (version 3.2.x). Currently this includes a version of the DefaultMessageListeningContainers that supports back off and also a keep alive.
# Author
Author: Justin McCartney
## License
Copyright (c) 2013 JJM, Inc. See the LICENSE file for licen... | <|file_sep|>original/README.md
# spring-jms-extras
Provides extra functionality for Spring JMS support (version 3.2.x). Currently this includes a version of the DefaultMessageListeningContainers that supports back off and also a keep alive.
# Author
Author: Justin McCartney
<|file_sep|>current/README.md
# spring-jm... | 7ffec3869fa9857081a198a7cc9b9cd0983b34dc | README.md | README.md | Markdown |
<|file_sep|>src/scripts/composition/utils.js.diff
original:
* @date 2015-12-30
* @param {Object} node Start node
* @return {Array} Array of original and cloned nodes.
updated:
* @date 2016-03-20
* @param {Object} node Start node
* @param {Boolean} onlyForOriginalNode If ... | * @param {Object} node Start node
* @param {Boolean} onlyForOriginalNode If `true` only collect clones when
* `node` is not a clone itself.
* @return {Array} Array of original and cloned nodes.
*/
export function collectInclClones (node, onlyForOriginalNode) {
l... | <|file_sep|>src/scripts/composition/utils.js.diff
original:
* @date 2015-12-30
* @param {Object} node Start node
* @return {Array} Array of original and cloned nodes.
updated:
* @date 2016-03-20
* @param {Object} node Start node
* @param {Boolean} onlyForOriginalNode If ... | d540a652471a2044ba3f204f28658204bcf118ee | src/scripts/composition/utils.js | src/scripts/composition/utils.js | JavaScript |
<|file_sep|>original/setup.py
name='rinse',
version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
pac... | version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse'],
test_suite='rinse.tests',
... | <|file_sep|>original/setup.py
name='rinse',
version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
pac... | b984060f9e3455df56953580dd3ee4e0717f916b | setup.py | setup.py | Python |
<|file_sep|>original/base/init.sls
base-packages:
pkg:
- installed
- names:
- python-software-properties
- dpkg-dev
- wget
- build-essential
- vim
- byobu
- ntp
- sudo
<|file_sep|>current/base/init.sls
base-packages:
pkg:
- installed
- names:
- ... | base-packages:
pkg.installed:
- pkgs:
- python-software-properties
- dpkg-dev
- wget
- build-essential
- vim
- byobu
- ntp
- sudo
| <|file_sep|>original/base/init.sls
base-packages:
pkg:
- installed
- names:
- python-software-properties
- dpkg-dev
- wget
- build-essential
- vim
- byobu
- ntp
- sudo
<|file_sep|>current/base/init.sls
base-packages:
pkg:
- installed
- names:
- ... | 226eda7f330d5e2bfe845f19332873178d76dbce | base/init.sls | base/init.sls | SaltStack |
<|file_sep|>original/lib/atom-dataset-provider/options.js
.readFileSync(path.join(__dirname, '..', '..', 'package.json')))
.version;
var stringToPattern = function(strPattern) {
if (strPattern.charAt(0) == '/')
strPattern = strPattern.slice(1, strPattern.length-1);
return new RegExp(strPattern);
};
... | .readFileSync(path.join(__dirname, '..', '..', 'package.json')))
.version;
var stringToPattern = function(strPattern) {
if (strPattern.charAt(0) == '/')
strPattern = strPattern.slice(1, strPattern.length-1);
return new RegExp(strPattern);
};
var Options = function() {
return (new commander.Comm... | <|file_sep|>original/lib/atom-dataset-provider/options.js
.readFileSync(path.join(__dirname, '..', '..', 'package.json')))
.version;
var stringToPattern = function(strPattern) {
if (strPattern.charAt(0) == '/')
strPattern = strPattern.slice(1, strPattern.length-1);
return new RegExp(strPattern);
};
... | 1588f4b832ba791ce295c2367c92b7607817fa48 | lib/atom-dataset-provider/options.js | lib/atom-dataset-provider/options.js | JavaScript |
<|file_sep|>original/tests/conftest.py
import StringIO
import PIL
import pytest
from django.core.files.uploadedfile import InMemoryUploadedFile
class Image:
def __init__(self):
self.dimensions = (100, 100)
self.color = 'blue'
self.name = 'image.jpg'
@property
def django_file(sel... | import StringIO
import PIL
import pytest
from django.core.files.uploadedfile import InMemoryUploadedFile
class Image:
def __init__(self):
self.dimensions = (10, 10)
self.color = 'blue'
self.name = 'image.jpg'
@property
def django_file(self):
# Create a new Django file-li... | <|file_sep|>original/tests/conftest.py
import StringIO
import PIL
import pytest
from django.core.files.uploadedfile import InMemoryUploadedFile
class Image:
def __init__(self):
self.dimensions = (100, 100)
self.color = 'blue'
self.name = 'image.jpg'
@property
def django_file(sel... | 5db17915435eb569bf7644019b9fdbf94f18114a | tests/conftest.py | tests/conftest.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.