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/.eslintrc.json
},
"plugins": [
"react",
"meteor"
],
"extends": [
"airbnb",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"settings": {
"import/resolver": "meteor"
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],... | "plugins": [
"react",
"meteor"
],
"extends": [
"airbnb",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx"
]
}
}
},
"rules": {
"indent": ["err... | <|file_sep|>original/.eslintrc.json
},
"plugins": [
"react",
"meteor"
],
"extends": [
"airbnb",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"settings": {
"import/resolver": "meteor"
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],... | c696bcd88f4a39d44947631e394d4b2b1736c2b8 | .eslintrc.json | .eslintrc.json | JSON |
<|file_sep|>original/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===/... | // The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "llvm/IR/Module.h"
#include "llvm/Support/TargetRegis... | <|file_sep|>original/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===/... | 6d2231861c32f56c7d5cb6c27949eef22ee5f439 | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp | C++ |
<|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { nam... | unless Rails.env == 'production'
dummy = User.create(
username: 'dummy',
email: 'dummy@example.com',
password: 'password',
password_confirmation: 'password',
confirmed_at: Time.zone.today
)
end | <|file_sep|>original/db/seeds.rb
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: 'Star Wars' }, { nam... | 048c3e58ae00ae82507f7f43b28ddc8a20cef31d | db/seeds.rb | db/seeds.rb | Ruby |
<|file_sep|>original/sniffer/deploy_sniffer.sh
#!/bin/bash
BASEDIR=$(dirname "$0")
mkdir -p $BASEDIR/logs
log_file=$(date "+%Y_%m_%d-%H_%M_%S")
echo '[*] Sniffer has been deployed.'
$BASEDIR/env/bin/python $BASEDIR/app.py 2>&1 | tee $BASEDIR/logs/$log_file.log
<|file_sep|>current/sniffer/deploy_sniffer.sh
#!/bin/bas... | #!/bin/bash
BASEDIR=$(dirname -- "$(readlink -f -- "${BASH_SOURCE}")")
mkdir -p $BASEDIR/logs
log_file=$(date "+%Y_%m_%d-%H_%M_%S")
echo '[*] Sniffer has been deployed.'
$BASEDIR/env/bin/python $BASEDIR/app.py 2>&1 | tee $BASEDIR/logs/$log_file.log | <|file_sep|>original/sniffer/deploy_sniffer.sh
#!/bin/bash
BASEDIR=$(dirname "$0")
mkdir -p $BASEDIR/logs
log_file=$(date "+%Y_%m_%d-%H_%M_%S")
echo '[*] Sniffer has been deployed.'
$BASEDIR/env/bin/python $BASEDIR/app.py 2>&1 | tee $BASEDIR/logs/$log_file.log
<|file_sep|>current/sniffer/deploy_sniffer.sh
#!/bin/bas... | 95f96759bf226aaf504fff4d467fbae8c9ff360f | sniffer/deploy_sniffer.sh | sniffer/deploy_sniffer.sh | Shell |
<|file_sep|>original/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.35.1
twine~=3.2.0
isort==5.5.4
tox~=3.20.0
flake8==3.8.4
black~=20.8b1
<|file_sep|>current/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.35.1
twine~=3.2.0
isort==5.5.4
tox~=3.20.0
flake8==3.8... | -e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.35.1
twine~=3.2.0
isort==5.5.4
tox~=3.20.1
flake8==3.8.4
black~=20.8b1 | <|file_sep|>original/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.35.1
twine~=3.2.0
isort==5.5.4
tox~=3.20.0
flake8==3.8.4
black~=20.8b1
<|file_sep|>current/requirements/dev.txt
-e .[aiohttp,requests]
-r docs.txt
-r test.txt
wheel~=0.35.1
twine~=3.2.0
isort==5.5.4
tox~=3.20.0
flake8==3.8... | 80b2f5385449a7b749dbbb13d5cc57ceeadb86fa | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/mixlib-cli.gemspec
s.name = "mixlib-cli"
s.version = Mixlib::CLI::VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE", 'NOTICE']
s.summary = "A simple mixin for CLI interfaces, including option parsing"
s.description = s.summary
... | s.version = Mixlib::CLI::VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE", 'NOTICE']
s.summary = "A simple mixin for CLI interfaces, including option parsing"
s.description = s.summary
s.author = "Opscode, Inc."
s.email = "info@opscode.com"
s.ho... | <|file_sep|>original/mixlib-cli.gemspec
s.name = "mixlib-cli"
s.version = Mixlib::CLI::VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE", 'NOTICE']
s.summary = "A simple mixin for CLI interfaces, including option parsing"
s.description = s.summary
... | 4bd1299b98c0fedd79bc23b9286a0e3b561c866d | mixlib-cli.gemspec | mixlib-cli.gemspec | Ruby |
<|file_sep|>src/main/java/org/puller/Comic.java.diff
original:
public class Comic {
updated:
public class Comic implements Comparable<Comic> {
private static final String DOLLAR_SYMBOL = "\\$";
<|file_sep|>src/main/java/org/puller/Comic.java.diff
original:
updated:
public String getRawPrice() {
return... | private final String price;
public Comic(final String title, final String price) {
this.title = title;
this.price = price;
}
public String getRawPrice() {
return price.replaceAll(DOLLAR_SYMBOL, "");
}
@Override
public String toString() {
return String.forma... | <|file_sep|>src/main/java/org/puller/Comic.java.diff
original:
public class Comic {
updated:
public class Comic implements Comparable<Comic> {
private static final String DOLLAR_SYMBOL = "\\$";
<|file_sep|>src/main/java/org/puller/Comic.java.diff
original:
updated:
public String getRawPrice() {
return... | 996a655d51b0359d46dfa0679aad28b042a19f21 | src/main/java/org/puller/Comic.java | src/main/java/org/puller/Comic.java | Java |
<|file_sep|>original/README.md
# TiddlyChrome
A Google Chrome App that saves TW changes back to File System.
Feel free to give input or open pull requests.
##Installation
To install, go to https://github.com/Arlen22/tiddly-chrome-app/releases and download the crx file from the latest release. Then follow the instruc... | # TiddlyChrome
A Google Chrome App that saves TW changes back to File System.
It might even work in Chrome OS, although I have not tested it. Any feedback is welcome.
Feel free to give input or open pull requests.
##Installation
To install, go to https://github.com/Arlen22/tiddly-chrome-app/releases and download th... | <|file_sep|>original/README.md
# TiddlyChrome
A Google Chrome App that saves TW changes back to File System.
Feel free to give input or open pull requests.
##Installation
To install, go to https://github.com/Arlen22/tiddly-chrome-app/releases and download the crx file from the latest release. Then follow the instruc... | 538db61ec2710b6bbcd7f976a80ebc05b5d5965a | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
updated:
# Seedpod
The source code that runs the http://getseedpod.com site.
## Development
<|file_sep|>original/README.md
To run the app:
```
bundle
rake db:migrate
rake db:seed (if in development)
cp env.example .env
vi .env (and add your details)
rails server
```
To log in ... | # Seedpod
The source code that runs the http://getseedpod.com site.
## Development
To run the app:
```
bundle
rake db:migrate
rake db:seed (if in development)
cp env.example .env
vi .env (and add your details)
rails server
```
To log in as an admin, go to [/admins/sign_in](http://localhost:3000/admins/sign_in). | <|file_sep|>README.md.diff
original:
updated:
# Seedpod
The source code that runs the http://getseedpod.com site.
## Development
<|file_sep|>original/README.md
To run the app:
```
bundle
rake db:migrate
rake db:seed (if in development)
cp env.example .env
vi .env (and add your details)
rails server
```
To log in ... | de3727af3b8c365f3081512e12bd60c70c1af22d | README.md | README.md | Markdown |
<|file_sep|>app/services/g6importService.py.diff
original:
from flask import current_app
updated:
<|file_sep|>app/services/g6importService.py.diff
original:
updated:
<|file_sep|>app/services/g6importService.py.diff
original:
#current_app.logger.info('Validating JSON:' + str(submitted_json))
updated:
if v... | def validate_json(submitted_json):
if validates_against_schema(G6_SCS_SCHEMA,submitted_json):
return 'G6-SCS'
elif validates_against_schema(G6_SAAS_SCHEMA,submitted_json):
return 'G6-SaaS'
elif validates_against_schema(G6_PAAS_SCHEMA,submitted_json):
return 'G6-PaaS'
elif validat... | <|file_sep|>app/services/g6importService.py.diff
original:
from flask import current_app
updated:
<|file_sep|>app/services/g6importService.py.diff
original:
updated:
<|file_sep|>app/services/g6importService.py.diff
original:
#current_app.logger.info('Validating JSON:' + str(submitted_json))
updated:
if v... | 7e51d073952d10d3994fb93458e60c03b6746099 | app/services/g6importService.py | app/services/g6importService.py | Python |
<|file_sep|>original/README.md
# The TeamCity Ruby Gem [](http://travis-ci.org/jperry/teamcity-ruby-client) [](https://codeclimate.com/github/jperry/... | # The TeamCity Ruby Gem [](http://travis-ci.org/jperry/teamcity-ruby-client) [](https://codeclimate.com/github/jperry/teamcity-ruby-client)[](http://travis-ci.org/jperry/teamcity-ruby-client) [](https://codeclimate.com/github/jperry/... | 7b6ef39fa0ab7c85880ca7a514ed52abdfc91024 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
bandit==1.5.1
codacy-coverage==1.3.11
codecov==2.0.15
coverage==4.5.2
ddt==1.2.0
flake8==3.6.0
requests-mock==1.5.2
nose==1.3.7
pylint==2.2.0
safety==1.8.4
testfixtures==6.3.0
<|file_sep|>current/requirements_dev.txt
bandit==1.5.1
codacy-coverage==1.3.11
codecov==2.0.15
coverag... | bandit==1.5.1
codacy-coverage==1.3.11
codecov==2.0.15
coverage==4.5.2
ddt==1.2.0
flake8==3.6.0
requests-mock==1.5.2
nose==1.3.7
pylint==2.2.2
safety==1.8.4
testfixtures==6.3.0 | <|file_sep|>original/requirements_dev.txt
bandit==1.5.1
codacy-coverage==1.3.11
codecov==2.0.15
coverage==4.5.2
ddt==1.2.0
flake8==3.6.0
requests-mock==1.5.2
nose==1.3.7
pylint==2.2.0
safety==1.8.4
testfixtures==6.3.0
<|file_sep|>current/requirements_dev.txt
bandit==1.5.1
codacy-coverage==1.3.11
codecov==2.0.15
coverag... | 4f2ae4c8697af16c10bf9c3ed7d64629323a42c0 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/requirements/base.txt
# Forms
django-braces==1.11.0
django-crispy-forms==1.6.1
# Models
django-model-utils==3.0.0
# Password storage
argon2-cffi==16.3.0
# Python-PostgreSQL Database Adapter
psycopg2==2.7.3.1
# Time zones support
pytz==2017.2
# Your custom requirements go here
wagtail==1.12.1
w... | django-braces==1.11.0
django-crispy-forms==1.6.1
# Models
django-model-utils==3.0.0
# Password storage
argon2-cffi==16.3.0
# Python-PostgreSQL Database Adapter
psycopg2==2.7.3.1
# Time zones support
pytz==2017.2
# Your custom requirements go here
wagtail==1.12.1
wagtail-django-recaptcha==0.2
wagtailfontawesome==1.... | <|file_sep|>original/requirements/base.txt
# Forms
django-braces==1.11.0
django-crispy-forms==1.6.1
# Models
django-model-utils==3.0.0
# Password storage
argon2-cffi==16.3.0
# Python-PostgreSQL Database Adapter
psycopg2==2.7.3.1
# Time zones support
pytz==2017.2
# Your custom requirements go here
wagtail==1.12.1
w... | 4ffc497ea22dd6d708d4f2cf5d65abaab356f212 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/_posts/2016-04-01-kaust2016.markdown
---
layout: post
title: DAPs: Deep Action Proposals for Video Understanding
date: 2016-04-8 00:00:00 -0500
img: img/portfolio/kaust16.png
img_modal: img/portfolio/kaust16_modal.png
modalID: cvDaps2016
category: Computer Vision
---
Object proposals have co... | ---
layout: post
title: DAPs: Deep Action Proposals for Video Understanding
date: 2016-04-8 00:00:00 -0500
img: img/portfolio/kaust16.png
img_modal: img/portfolio/kaust16_modal.png
modalID: cvDaps2016
category: Computer Vision
---
Object proposals have contributed significantly to recent advances in object under... | <|file_sep|>original/_posts/2016-04-01-kaust2016.markdown
---
layout: post
title: DAPs: Deep Action Proposals for Video Understanding
date: 2016-04-8 00:00:00 -0500
img: img/portfolio/kaust16.png
img_modal: img/portfolio/kaust16_modal.png
modalID: cvDaps2016
category: Computer Vision
---
Object proposals have co... | af3c8049c2663da564a8f150ce04f216240e196e | _posts/2016-04-01-kaust2016.markdown | _posts/2016-04-01-kaust2016.markdown | Markdown |
<|file_sep|>original/site.xml
<!--This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.-->
<project name="site" default="site" basedir=".">
<import file="build.xml"/>
<target name="site">
<local name="site.out.dir"/>
<property name="site.out.dir... | <?xml version="1.0" encoding="UTF-8"?>
<!--This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.-->
<project name="site" default="site" basedir=".">
<import file="build.xml"/>
<target name="site">
<local name="site.out.dir"/>
<property name="sit... | <|file_sep|>original/site.xml
<!--This file is part of the DITA Open Toolkit project. See the accompanying LICENSE.md file for applicable licenses.-->
<project name="site" default="site" basedir=".">
<import file="build.xml"/>
<target name="site">
<local name="site.out.dir"/>
<property name="site.out.dir... | 85ad9a8299440d70aea5b2ff297aa2967bf05723 | site.xml | site.xml | XML |
<|file_sep|>original/contrib/!source-control/version-control/README.org
** Features:
- highlights uncommitted changes in the fringe or margin with [[https://github.com/dgutov/diff-hl][diff-hl]]
* Install
** Layer
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemac... | ** Features:
- highlights uncommitted changes in the fringe or margin with [[https://github.com/dgutov/diff-hl][diff-hl]]
* Install
** Layer
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-configuration-layers '(version-control))
#+END_SRC
* Key Bindings
| ... | <|file_sep|>original/contrib/!source-control/version-control/README.org
** Features:
- highlights uncommitted changes in the fringe or margin with [[https://github.com/dgutov/diff-hl][diff-hl]]
* Install
** Layer
To use this contribution add it to your =~/.spacemacs=
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemac... | 18d699ce182803c3c4dfe21b57f1ab06d224a36e | contrib/!source-control/version-control/README.org | contrib/!source-control/version-control/README.org | Org |
<|file_sep|>original/api/lib/api/auth/bearer.ex
defmodule Api.Auth.Bearer do
alias Api.Auth.Rights
alias Api.Auth.Guardian
def get_user_for_bearer(nil), do: Rights.empty()
def get_user_for_bearer(bearer) do
token = String.replace bearer, "Bearer ", ""
{:ok, user, _} = Guardian.resource_from_token(token... | defmodule Api.Auth.Bearer do
alias Api.Auth.Rights
alias Api.Auth.Guardian
def get_user_for_bearer(nil), do: Rights.empty()
def get_user_for_bearer(bearer) do
token = String.replace bearer, "Bearer ", ""
case Guardian.resource_from_token(token) do
{:ok, user, _} -> user
_ -> Rights.empty() ... | <|file_sep|>original/api/lib/api/auth/bearer.ex
defmodule Api.Auth.Bearer do
alias Api.Auth.Rights
alias Api.Auth.Guardian
def get_user_for_bearer(nil), do: Rights.empty()
def get_user_for_bearer(bearer) do
token = String.replace bearer, "Bearer ", ""
{:ok, user, _} = Guardian.resource_from_token(token... | 2a0b52c0b1036bc403243eba270600e059ec1ea2 | api/lib/api/auth/bearer.ex | api/lib/api/auth/bearer.ex | Elixir |
<|file_sep|>original/app/views/tattoos/show.html.erb
<h1>Tattoos#show</h1>
<p>Find me in app/views/tattoos/show.html.erb</p>
<|file_sep|>current/app/views/tattoos/show.html.erb
<h1>Tattoos#show</h1>
<p>Find me in app/views/tattoos/show.html.erb</p>
<|file_sep|>updated/app/views/tattoos/show.html.erb | <h1><%= @tattoo.name %></h1>
<div class="tattoo-show">
<label><%= @tattoo.artist_id %></label><br>
<label><%= @tattoo.shop_id %></label><br>
<label><%= @tattoo.when %></label><br>
<label><%= @tattoo.why %></label>
</div> | <|file_sep|>original/app/views/tattoos/show.html.erb
<h1>Tattoos#show</h1>
<p>Find me in app/views/tattoos/show.html.erb</p>
<|file_sep|>current/app/views/tattoos/show.html.erb
<h1>Tattoos#show</h1>
<p>Find me in app/views/tattoos/show.html.erb</p>
<|file_sep|>updated/app/views/tattoos/show.html.erb
<h1><%= @tattoo.nam... | faf7973730c652f4983ea091085fac8cedeeeef7 | app/views/tattoos/show.html.erb | app/views/tattoos/show.html.erb | HTML+ERB |
<|file_sep|>recipes-bsp/burn-boot/burn-boot_git.bb.diff
original:
updated:
inherit deploy native
<|file_sep|>recipes-bsp/burn-boot/burn-boot_git.bb.diff
original:
RDEPENDS_${PN} += "python3-core python3-pyserial"
inherit deploy
updated:
<|file_sep|>original/recipes-bsp/burn-boot/burn-boot_git.bb
SRCREV = "6d8429d... |
SRCREV = "6d8429dd5dfa4ec1cee4428cafe882c16624832a"
SRC_URI = "git://github.com/96boards-hikey/burn-boot.git;protocol=https \
"
S = "${WORKDIR}/git"
inherit deploy native
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/hisi-idt.py ${D}${bindir}
}
do_deploy() {
install -D -p -m 0755 ${S}/hi... | <|file_sep|>recipes-bsp/burn-boot/burn-boot_git.bb.diff
original:
updated:
inherit deploy native
<|file_sep|>recipes-bsp/burn-boot/burn-boot_git.bb.diff
original:
RDEPENDS_${PN} += "python3-core python3-pyserial"
inherit deploy
updated:
<|file_sep|>original/recipes-bsp/burn-boot/burn-boot_git.bb
SRCREV = "6d8429d... | 36e6d4181d168bb7a06395516423b274f70037f6 | recipes-bsp/burn-boot/burn-boot_git.bb | recipes-bsp/burn-boot/burn-boot_git.bb | BitBake |
<|file_sep|>original/app/views/bar/_disciplines.html.erb
<%= tabs do |tabs|
(overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
tabs.add(bar.discipline, bar_path(:discipline => Discipline[bar.discipline], :year => bar.year, :category => race.try(:category_friendly_param)))
end
end if overall_... | <%= tabs do |tabs|
(overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
tabs.add(bar.discipline, bar_path(bar.year, Discipline[bar.discipline], race.try(:category_friendly_param)))
end
end if overall_bar -%> | <|file_sep|>original/app/views/bar/_disciplines.html.erb
<%= tabs do |tabs|
(overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
tabs.add(bar.discipline, bar_path(:discipline => Discipline[bar.discipline], :year => bar.year, :category => race.try(:category_friendly_param)))
end
end if overall_... | 13664072c149024dd6097b89e378725c14608dde | app/views/bar/_disciplines.html.erb | app/views/bar/_disciplines.html.erb | HTML+ERB |
<|file_sep|>metadata/com.github.quarck.calnotify.txt.diff
original:
updated:
Build:1.0.10,11
commit=Release_1.0.10
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.github.quarck.calnotify.txt
Repo:https://github.com/quarck/CalendarNotification
Build:1.0.1,2
commit=ed8f05c87f90e982885e9198999ed... | gradle=yes
Build:1.0.3,5
commit=Release_1.0.3
subdir=app
gradle=yes
Build:1.0.9,10
commit=Release_1.0.9
subdir=app
gradle=yes
Build:1.0.10,11
commit=Release_1.0.10
subdir=app
gradle=yes
Auto Update Mode:Version Release_%v
Update Check Mode:Tags ^Release
Current Version:1.0.10... | <|file_sep|>metadata/com.github.quarck.calnotify.txt.diff
original:
updated:
Build:1.0.10,11
commit=Release_1.0.10
subdir=app
gradle=yes
<|file_sep|>original/metadata/com.github.quarck.calnotify.txt
Repo:https://github.com/quarck/CalendarNotification
Build:1.0.1,2
commit=ed8f05c87f90e982885e9198999ed... | 009013a4c68d34e7b89d377aefa0ccffb7c89c0b | metadata/com.github.quarck.calnotify.txt | metadata/com.github.quarck.calnotify.txt | Text |
<|file_sep|>original/arch.sh
set -e
# Verify we're running as root
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." >&2
exit 1
fi
# Update the pacman repositories
pacman -Sy
# Install Ruby
pacman -S --noconfirm --needed ruby
# Install Puppet and Facter
gem install puppet facter --no-ri --no-... | set -e
# Verify we're running as root
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." >&2
exit 1
fi
# Update the pacman repositories
pacman -Sy
# Install Ruby
pacman -S --noconfirm --needed ruby
# Install Puppet and Facter
gem install puppet facter --no-ri --no-rdoc --no-user-install
# Cre... | <|file_sep|>original/arch.sh
set -e
# Verify we're running as root
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." >&2
exit 1
fi
# Update the pacman repositories
pacman -Sy
# Install Ruby
pacman -S --noconfirm --needed ruby
# Install Puppet and Facter
gem install puppet facter --no-ri --no-... | 697379f98b4142e06cf020386365220b73e0c7d6 | arch.sh | arch.sh | Shell |
<|file_sep|>original/.travis.yml
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode7.3
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
before_install:
# - gem install cocoapods # Since Travis is not always on latest version
... | # references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8
language: swift
# cache: cocoapods
# podfile: Example/Podfile
before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Examp... | <|file_sep|>original/.travis.yml
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode7.3
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
before_install:
# - gem install cocoapods # Since Travis is not always on latest version
... | 2bff9d0abb4be245161267ce34610621bf13933f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/FunctionHandler.py
reload(src)
components = name.split('.')
for comp in components[:1]:
src = getattr(src, comp)
ModuleName = str(src).split("from")[0].strip("(").rstrip(" ")
if loadType != 'rel':
print ModuleName + " loaded."
func = s... |
reload(src)
components = name.split('.')
for comp in components[:1]:
src = getattr(src, comp)
ModuleName = str(src).split("from")[0].strip("(").rstrip(" ")
if loadType != 'rel':
print ModuleName + " loaded."
else:
print ModuleName + " reloaded."
... | <|file_sep|>original/FunctionHandler.py
reload(src)
components = name.split('.')
for comp in components[:1]:
src = getattr(src, comp)
ModuleName = str(src).split("from")[0].strip("(").rstrip(" ")
if loadType != 'rel':
print ModuleName + " loaded."
func = s... | 788dd6f62899fb16aa983c17bc1a5e6eea5317b0 | FunctionHandler.py | FunctionHandler.py | Python |
<|file_sep|>original/sdl.js
// listener is added.
var events;
Object.defineProperty(SDL, 'events', {
get: function () {
if (events) return events;
events = new (require('events').EventEmitter);
var now = Date.now();
setInterval(function () {
var after = Date.now();
var delta = after - now;... | var events;
Object.defineProperty(SDL, 'events', {
get: function () {
if (events) return events;
events = new (require('events').EventEmitter);
var now = Date.now();
setInterval(function () {
var after = Date.now();
var delta = after - now;
now = after;
var data;
while (d... | <|file_sep|>original/sdl.js
// listener is added.
var events;
Object.defineProperty(SDL, 'events', {
get: function () {
if (events) return events;
events = new (require('events').EventEmitter);
var now = Date.now();
setInterval(function () {
var after = Date.now();
var delta = after - now;... | 546da11bf7a5318e81bfe02895b6f972910b76b0 | sdl.js | sdl.js | JavaScript |
<|file_sep|>original/app/validators/panopticon_slug_validator.rb
class PanopticonSlugValidator < ActiveModel::EachValidator
def claim_slug(endpoint_url, attributes_to_send)
uri = URI.parse(endpoint_url)
res = Net::HTTP.post_form(uri, attributes_to_send)
case res
when Net::HTTPCreated
return tru... | require 'net/http'
class PanopticonSlugValidator < ActiveModel::EachValidator
def claim_slug(endpoint_url, attributes_to_send)
uri = URI.parse(endpoint_url)
res = Net::HTTP.post_form(uri, attributes_to_send)
case res
when Net::HTTPCreated
return true
when Net::HTTPNotAcceptable
retur... | <|file_sep|>original/app/validators/panopticon_slug_validator.rb
class PanopticonSlugValidator < ActiveModel::EachValidator
def claim_slug(endpoint_url, attributes_to_send)
uri = URI.parse(endpoint_url)
res = Net::HTTP.post_form(uri, attributes_to_send)
case res
when Net::HTTPCreated
return tru... | bea36d5249abfff4c3d24459d3305e45cf18ce77 | app/validators/panopticon_slug_validator.rb | app/validators/panopticon_slug_validator.rb | Ruby |
<|file_sep|>original/src/main/java/net/tridentsdk/effect/RemoteEffect.java
/**
* Represents effects that can be executed without an entity
*
* @author The TridentSDK Team
* @since 0.4-alpha
*/
public interface RemoteEffect<T> extends Effect<T> {
/**
* Execute the effect at the given location for specifi... |
/**
* Represents effects that can be executed without an entity
*
* @author The TridentSDK Team
* @since 0.4-alpha
*/
public interface RemoteEffect<T> extends Effect<T> {
/**
* Execute the effect at the given location
*/
void apply();
/**
* Execute the effect at the given location for... | <|file_sep|>original/src/main/java/net/tridentsdk/effect/RemoteEffect.java
/**
* Represents effects that can be executed without an entity
*
* @author The TridentSDK Team
* @since 0.4-alpha
*/
public interface RemoteEffect<T> extends Effect<T> {
/**
* Execute the effect at the given location for specifi... | a44ce60aaf47d0329d35489a95dc65b52ecba29a | src/main/java/net/tridentsdk/effect/RemoteEffect.java | src/main/java/net/tridentsdk/effect/RemoteEffect.java | Java |
<|file_sep|>original/week-4/concatenate-arrays/my_solution.rb
# Concatenate Two Arrays
# I worked on this challenge [by myself ].
# Your Solution Below
def array_concat(array_1, array_2)
a = array_1+array_2
a.flatten
#array_1.concat array_2
end
<|file_sep|>current/week-4/concatenate-arrays/my_solutio... | # Concatenate Two Arrays
# I worked on this challenge [by myself ].
# Your Solution Below
def array_concat(array_1, array_2)
array_2.each {|x| array_1<<x}
array_1.flatten
end
def array_concat(array_1, array_2)
a = array_1+array_2
a.flatten | <|file_sep|>original/week-4/concatenate-arrays/my_solution.rb
# Concatenate Two Arrays
# I worked on this challenge [by myself ].
# Your Solution Below
def array_concat(array_1, array_2)
a = array_1+array_2
a.flatten
#array_1.concat array_2
end
<|file_sep|>current/week-4/concatenate-arrays/my_solutio... | 0731e8a6f397dbab8a60546362f9198323dde61c | week-4/concatenate-arrays/my_solution.rb | week-4/concatenate-arrays/my_solution.rb | Ruby |
<|file_sep|>app/decorators/procedure_decorator.rb.diff
original:
return h.image_url(LOGO_NAME) if logo.blank?
File.join(STORAGE_URL, File.basename(logo.path))
updated:
if logo.blank?
h.image_url(LOGO_NAME)
else
if Features.remote_storage
(RemoteDownloader.new logo.filename).url
... |
def created_at_fr
created_at.localtime.strftime('%d/%m/%Y %H:%M')
end
def logo_img
if logo.blank?
h.image_url(LOGO_NAME)
else
if Features.remote_storage
(RemoteDownloader.new logo.filename).url
else
(LocalDownloader.new logo.path, 'logo').url
end
end
end... | <|file_sep|>app/decorators/procedure_decorator.rb.diff
original:
return h.image_url(LOGO_NAME) if logo.blank?
File.join(STORAGE_URL, File.basename(logo.path))
updated:
if logo.blank?
h.image_url(LOGO_NAME)
else
if Features.remote_storage
(RemoteDownloader.new logo.filename).url
... | a0d84eda5cc81d8d7e9ff6bd59bd09c050f64b86 | app/decorators/procedure_decorator.rb | app/decorators/procedure_decorator.rb | Ruby |
<|file_sep|>Wikipedia/Code/MapUtilities.swift.diff
original:
extension Array { // seems you can no longer do extension [CLLocationCoordinate2D] ?
updated:
extension Array where Element == CLLocationCoordinate2D {
<|file_sep|>Wikipedia/Code/MapUtilities.swift.diff
original:
for element in self {
guar... | guard let currentRect = rect else {
rect = coordinateRect
continue
}
rect = currentRect.union(coordinateRect)
}
guard let finalRect = rect else {
return MKCoordinateRegion()
}
var region = M... | <|file_sep|>Wikipedia/Code/MapUtilities.swift.diff
original:
extension Array { // seems you can no longer do extension [CLLocationCoordinate2D] ?
updated:
extension Array where Element == CLLocationCoordinate2D {
<|file_sep|>Wikipedia/Code/MapUtilities.swift.diff
original:
for element in self {
guar... | d898c4398bdacb3626c9e20e76c8cf20c9b6e3fe | Wikipedia/Code/MapUtilities.swift | Wikipedia/Code/MapUtilities.swift | Swift |
<|file_sep|>original/.travis.yml
group: edge
sudo: required
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
services:
- redis
addons:
postgresql: 9.6
env:
global:
- DATABASE_URL='postgres://localhost:5432/job_board_test'
- RUBYOPT=-W0
matrix:
- INTEGRATION_SPECS='1' COVERAGE='... | group: edge
sudo: required
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
services:
- redis-server
addons:
postgresql: 9.6
env:
global:
- DATABASE_URL='postgres://localhost:5432/job_board_test'
- RUBYOPT=-W0
matrix:
- INTEGRATION_SPECS='1' COVERAGE='1' | <|file_sep|>original/.travis.yml
group: edge
sudo: required
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
services:
- redis
addons:
postgresql: 9.6
env:
global:
- DATABASE_URL='postgres://localhost:5432/job_board_test'
- RUBYOPT=-W0
matrix:
- INTEGRATION_SPECS='1' COVERAGE='... | 97e0d11b16cfd55fff97653364cb263813990b8c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/platforms/esp32-idf-wasi/main/CMakeLists.txt
file(GLOB_RECURSE M3_SOURCES "m3/*.c")
set(APP_SOURCES "main.cpp" "m3_api_esp_wasi.c")
idf_component_register(SRCS ${APP_SOURCES} ${M3_SOURCES}
INCLUDE_DIRS "")
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32... | file(GLOB_RECURSE M3_SOURCES "m3/*.c")
set(APP_SOURCES "main.cpp" "m3_api_esp_wasi.c")
idf_component_register(SRCS ${APP_SOURCES} ${M3_SOURCES}
INCLUDE_DIRS "")
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32 -Dd_m3MaxFunctionStackHeight=256 -Dd_m3LogOutput=false)
# Disabl... | <|file_sep|>original/platforms/esp32-idf-wasi/main/CMakeLists.txt
file(GLOB_RECURSE M3_SOURCES "m3/*.c")
set(APP_SOURCES "main.cpp" "m3_api_esp_wasi.c")
idf_component_register(SRCS ${APP_SOURCES} ${M3_SOURCES}
INCLUDE_DIRS "")
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32... | 0edc1afe76856cb824c6385aaefe23de6a3800fd | platforms/esp32-idf-wasi/main/CMakeLists.txt | platforms/esp32-idf-wasi/main/CMakeLists.txt | Text |
<|file_sep|>original/roles/crawler/tasks/install-apt-deps.yml
- name: Install crawler apt package dependencies.
become: yes
apt:
name: "{{ item }}"
state: latest
with_items: "{{ crawler_apt_packages }}"
- name: Download universe sources for tor.
become: yes
lineinfile:
dest: /etc/apt/sources.list... | - name: Install crawler apt package dependencies.
become: yes
apt:
name: "{{ item }}"
state: latest
with_items: "{{ crawler_apt_packages }}"
- name: Download universe sources for tor.
become: yes
apt_repository:
filename: "xenial-universe-sources"
repo: "deb-src http://us.archive.ubuntu.com/u... | <|file_sep|>original/roles/crawler/tasks/install-apt-deps.yml
- name: Install crawler apt package dependencies.
become: yes
apt:
name: "{{ item }}"
state: latest
with_items: "{{ crawler_apt_packages }}"
- name: Download universe sources for tor.
become: yes
lineinfile:
dest: /etc/apt/sources.list... | 6b246520bfb9bfebf37d6f8ad4e91a760d36107b | roles/crawler/tasks/install-apt-deps.yml | roles/crawler/tasks/install-apt-deps.yml | YAML |
<|file_sep|>lib/public/backgroundjob/ijob.php.diff
original:
* Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
updated:
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
<|file_sep|>original/lib/public/backgroundjob/ijob.php
namespace OCP\BackgroundJob;
interface IJob {
/**
* @param \OCP\Backgro... | * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OCP\BackgroundJob;
interface IJob {
/**
* @param \OCP\BackgroundJob\IJobList $jobList
* @param \OC\Log $logger
*/
pu... | <|file_sep|>lib/public/backgroundjob/ijob.php.diff
original:
* Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
updated:
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
<|file_sep|>original/lib/public/backgroundjob/ijob.php
namespace OCP\BackgroundJob;
interface IJob {
/**
* @param \OCP\Backgro... | 3aafa837b884e8bd701d14665d1c93e33ecc7f7e | lib/public/backgroundjob/ijob.php | lib/public/backgroundjob/ijob.php | PHP |
<|file_sep|>original/tests/unit/utils/test_win_service.py
<|file_sep|>current/tests/unit/utils/test_win_service.py
<|file_sep|>updated/tests/unit/utils/test_win_service.py | # Import Python Libs
import os
# Import Salt Libs
import salt.utils.platform
# Import Salt Testing Libs
from tests.support.mock import patch, MagicMock
from tests.support.unit import TestCase, skipIf
try:
import salt.utils.win_service as win_service
from salt.exceptions import CommandExecutionError
except Ex... | <|file_sep|>original/tests/unit/utils/test_win_service.py
<|file_sep|>current/tests/unit/utils/test_win_service.py
<|file_sep|>updated/tests/unit/utils/test_win_service.py
# Import Python Libs
import os
# Import Salt Libs
import salt.utils.platform
# Import Salt Testing Libs
from tests.support.mock import patch, Ma... | 27f187d3cc5725b6ed912e15ecafb38a44cc4992 | tests/unit/utils/test_win_service.py | tests/unit/utils/test_win_service.py | Python |
<|file_sep|>python/kd/kd.sh.diff
original:
local destination=$(python $python_script $* 2>&1)
local first_word=$(echo "$destination" | head -n 1 | cut -d\ -f1)
if [[ "$first_word" == "Error" ]]
updated:
if ! destination=$(python $python_script $* 2>&1)
<|file_sep|>original/python/kd/kd.sh
echo "This file shou... | echo " source $0"
echo "and should not be run as"
echo " sh $0"
fi
kd ()
{
local python_script=$(dirname $BASH_SOURCE)/kd.py
if ! destination=$(python $python_script $* 2>&1)
then
echo $destination
else
if [[ $destination != $1 && $1 != "-" ]]
then
echo "cd $destination"
fi
cd "$destina... | <|file_sep|>python/kd/kd.sh.diff
original:
local destination=$(python $python_script $* 2>&1)
local first_word=$(echo "$destination" | head -n 1 | cut -d\ -f1)
if [[ "$first_word" == "Error" ]]
updated:
if ! destination=$(python $python_script $* 2>&1)
<|file_sep|>original/python/kd/kd.sh
echo "This file shou... | bcef3f7f5c75f807ce333459922075947975f807 | python/kd/kd.sh | python/kd/kd.sh | Shell |
<|file_sep|>original/src/AppBundle/API/Webservice.php
<?php
namespace AppBundle\API;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
class Webservice
{
private $DB;
public function ... | <?php
namespace AppBundle\API;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
class Webservice
{
const ERROR_NOT_LOGGED_IN = "Error. Not logged in.";
private $DB;
public funct... | <|file_sep|>original/src/AppBundle/API/Webservice.php
<?php
namespace AppBundle\API;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
class Webservice
{
private $DB;
public function ... | fd22ad08cb9620b1025c4e0b61ef1dee83646028 | src/AppBundle/API/Webservice.php | src/AppBundle/API/Webservice.php | PHP |
<|file_sep|>original/gir_ffi-gnome_keyring.gemspec
s.authors = ['Matijs van Zuijlen']
s.email = ['matijs@matijs.net']
s.homepage = 'http://www.github.com/mvz/gir_ffi-gnome_keyring'
s.rdoc_options = ['--main', 'README.md']
s.files = Dir['{lib,test,tasks,examples}/**/*',
'*.md',
... |
s.authors = ['Matijs van Zuijlen']
s.email = ['matijs@matijs.net']
s.homepage = 'http://www.github.com/mvz/gir_ffi-gnome_keyring'
s.rdoc_options = ['--main', 'README.md']
s.files = Dir['{lib,test,tasks,examples}/**/*',
'*.md',
'Rakefile',
'COPYING.lIB'] & `gi... | <|file_sep|>original/gir_ffi-gnome_keyring.gemspec
s.authors = ['Matijs van Zuijlen']
s.email = ['matijs@matijs.net']
s.homepage = 'http://www.github.com/mvz/gir_ffi-gnome_keyring'
s.rdoc_options = ['--main', 'README.md']
s.files = Dir['{lib,test,tasks,examples}/**/*',
'*.md',
... | 892361ea80f1b057e7f958278423159592b2623d | gir_ffi-gnome_keyring.gemspec | gir_ffi-gnome_keyring.gemspec | Ruby |
<|file_sep|>webclient/src/main/kotlin/client/ButtonBar.kt.diff
original:
import net.yested.core.html.*
updated:
<|file_sep|>webclient/src/main/kotlin/client/ButtonBar.kt.diff
original:
div { id = "buttonBar"
btsButton(size = ButtonSize.Default, look = ButtonLook.Default, onclick = { UI.back() }) {
... |
/**
* Support for undoing user actions.
* @author Eric Pabst (epabst@gmail.com)
* Date: 8/6/16
* Time: 12:03 AM
*/
fun HTMLElement.buttonBar(backHash: ReadOnlyProperty<String?> = null.toProperty(), showUndo: ReadOnlyProperty<Boolean> = true.toProperty()) {
row { id = "buttonBar"
col(Col.Width.Xs(1)) {... | <|file_sep|>webclient/src/main/kotlin/client/ButtonBar.kt.diff
original:
import net.yested.core.html.*
updated:
<|file_sep|>webclient/src/main/kotlin/client/ButtonBar.kt.diff
original:
div { id = "buttonBar"
btsButton(size = ButtonSize.Default, look = ButtonLook.Default, onclick = { UI.back() }) {
... | f90abc630ddc3b568f8b588b3fa9d30573a5d2f4 | webclient/src/main/kotlin/client/ButtonBar.kt | webclient/src/main/kotlin/client/ButtonBar.kt | Kotlin |
<|file_sep|>_build/Elements/Element_115.json.diff
original:
"Symbol": "Uup",
updated:
"Symbol": "Mc",
<|file_sep|>original/_build/Elements/Element_115.json
{
"Symbol": "Uup",
"Atomic Number": 115,
"Name": "Ununpentium",
"Mass": null,
"Group": 15,
"Period": 7,
"Classification": "Post Transition Metals... | {
"Symbol": "Mc",
"Atomic Number": 115,
"Name": "Moscovium",
"Mass": null,
"Group": 15,
"Period": 7,
"Classification": "Post Transition Metals",
"Location": "p-block",
"Electron shell configuration": "",
"Electron subshell configuration": "",
"Ionisation energy": "",
"State at Room Temperature"... | <|file_sep|>_build/Elements/Element_115.json.diff
original:
"Symbol": "Uup",
updated:
"Symbol": "Mc",
<|file_sep|>original/_build/Elements/Element_115.json
{
"Symbol": "Uup",
"Atomic Number": 115,
"Name": "Ununpentium",
"Mass": null,
"Group": 15,
"Period": 7,
"Classification": "Post Transition Metals... | 5be58c5630904f2a6b49b85a21a3ae61ba83b171 | _build/Elements/Element_115.json | _build/Elements/Element_115.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
script:
- make test
- make test-cov
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- make test
- make test-cov
<|file_sep|>updated/.travi... | language: node_js
node_js:
- "0.11"
- "0.10"
script:
- make test | <|file_sep|>.travis.yml.diff
original:
updated:
- "0.10"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
script:
- make test
- make test-cov
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
script:
- make test
- make test-cov
<|file_sep|>updated/.travi... | 2f87a1bfdc427a133f401bface1cf4576002bc29 | .travis.yml | .travis.yml | YAML |
<|file_sep|>icu/bower.json.diff
original:
"angular": "1.3.2",
updated:
"angular": "1.4.0-rc.0",
<|file_sep|>original/icu/bower.json
{
"name": "mean",
"dependencies": {
"jquery": "1.x",
"angular": "1.3.2",
"angular-resource": "1.3.2",
"angular-cookies": "1.3.2",
"angular-mocks": "1.3.2",
... | {
"name": "mean",
"dependencies": {
"jquery": "1.x",
"angular": "1.4.0-rc.0",
"angular-resource": "1.3.2",
"angular-cookies": "1.3.2",
"angular-mocks": "1.3.2",
"angular-route": "1.3.2",
"bootstrap": "3.1.1",
"angular-bootstrap": "0.11.0",
"angular-ui-router": "#master",
"web... | <|file_sep|>icu/bower.json.diff
original:
"angular": "1.3.2",
updated:
"angular": "1.4.0-rc.0",
<|file_sep|>original/icu/bower.json
{
"name": "mean",
"dependencies": {
"jquery": "1.x",
"angular": "1.3.2",
"angular-resource": "1.3.2",
"angular-cookies": "1.3.2",
"angular-mocks": "1.3.2",
... | ffce09d2234d280da07b63aa63eadc740ebc46c6 | icu/bower.json | icu/bower.json | JSON |
<|file_sep|>original/contrib/unbound/freebsd-configure.sh
export CFLAGS="-I$ldnssrc"
ldnsbld=$(realpath $unbound/../../lib/libldns)
[ -f $ldnsbld/Makefile ] || error "can't find LDNS build directory"
ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR))
[ -f $ldnsobj/libldns.a ] || error "can't find LDNS object directory"... | export CFLAGS="-I$ldnssrc"
ldnsbld=$(realpath $unbound/../../lib/libldns)
[ -f $ldnsbld/Makefile ] || error "can't find LDNS build directory"
ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR))
[ -f $ldnsobj/libldns.a ] || error "can't find LDNS object directory"
export LDFLAGS="-L$ldnsobj"
./configure \
--prefix= --e... | <|file_sep|>original/contrib/unbound/freebsd-configure.sh
export CFLAGS="-I$ldnssrc"
ldnsbld=$(realpath $unbound/../../lib/libldns)
[ -f $ldnsbld/Makefile ] || error "can't find LDNS build directory"
ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR))
[ -f $ldnsobj/libldns.a ] || error "can't find LDNS object directory"... | aa06964ae8bccfbae539318130069a6609b7ca5a | contrib/unbound/freebsd-configure.sh | contrib/unbound/freebsd-configure.sh | Shell |
<|file_sep|>original/app/views/root/_footer_meta.html.erb
<div class="footer-meta-inner">
<h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/support">Support</a></li>
<li><a href="/support/cookies">Cookies</a></li>
<li><a href="/feedback">Feedback</a></li>
<li><a href="/c... | <div class="footer-meta-inner">
<h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/support">Support</a></li>
<li><a href="/support/cookies">Cookies</a></li>
<li><a href="/feedback">Feedback</a></li>
<li><a href="/cymraeg">Cymraeg</a></li>
<li>Built by the <a href="h... | <|file_sep|>original/app/views/root/_footer_meta.html.erb
<div class="footer-meta-inner">
<h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/support">Support</a></li>
<li><a href="/support/cookies">Cookies</a></li>
<li><a href="/feedback">Feedback</a></li>
<li><a href="/c... | c407edafa2c257aafa8950afe972023b317c08d3 | app/views/root/_footer_meta.html.erb | app/views/root/_footer_meta.html.erb | HTML+ERB |
<|file_sep|>original/.codeclimate.yml
engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.js"
exclude_paths:
- "**/docs/"
<|file_sep|>current/.codeclimate.yml
engines:
duplication:
enabled... | engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**/src/**.js"
- "**/test/**.js"
exclude_paths:
- "**/docs/"
| <|file_sep|>original/.codeclimate.yml
engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- "**.js"
exclude_paths:
- "**/docs/"
<|file_sep|>current/.codeclimate.yml
engines:
duplication:
enabled... | f7466419ae63b14983eb7f5442b0342457dfed17 | .codeclimate.yml | .codeclimate.yml | YAML |
<|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==2.2
factory-boy==2.12.0
Faker==4.1.1
flake8-docstrings==1.5.0
flake8==3.8.3
freezegun==0.3.15
isort==4.3.21
pytest-cov==2.9.0
pytest-django==3.9.0
pytest-factoryboy==2.0.3
pytest==5.4.3
<|file_sep|>current/requirements/dev.txt
-r base.txt
djang... | -r base.txt
django-debug-toolbar==2.2
factory-boy==2.12.0
Faker==4.1.1
flake8-docstrings==1.5.0
flake8==3.8.3
freezegun==0.3.15
isort==4.3.21
pytest-cov==2.10.0
pytest-django==3.9.0
pytest-factoryboy==2.0.3
pytest==5.4.3 | <|file_sep|>original/requirements/dev.txt
-r base.txt
django-debug-toolbar==2.2
factory-boy==2.12.0
Faker==4.1.1
flake8-docstrings==1.5.0
flake8==3.8.3
freezegun==0.3.15
isort==4.3.21
pytest-cov==2.9.0
pytest-django==3.9.0
pytest-factoryboy==2.0.3
pytest==5.4.3
<|file_sep|>current/requirements/dev.txt
-r base.txt
djang... | ba4b878c699578d702af65194f4b4afd8943c1c6 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/.docker/Dockerfile
FROM php:7.4-apache
RUN apt-get update \
&& apt-get install -y libxml2-dev git zip \
&& docker-php-ext-install soap
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY . /var/www/
WORKDIR /var/www/
<|file_sep|>current/.docker/Dockerfile
FROM php:7.4-apache... | FROM php:7.4-apache
RUN apt-get update \
&& apt-get install -y libxml2-dev git zip wget \
&& docker-php-ext-install soap
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY . /var/www/
WORKDIR /var/www/ | <|file_sep|>original/.docker/Dockerfile
FROM php:7.4-apache
RUN apt-get update \
&& apt-get install -y libxml2-dev git zip \
&& docker-php-ext-install soap
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY . /var/www/
WORKDIR /var/www/
<|file_sep|>current/.docker/Dockerfile
FROM php:7.4-apache... | 31e06d3515dda8dfc3440bab92041c1da5aed0e8 | .docker/Dockerfile | .docker/Dockerfile | unknown |
<|file_sep|>original/README.md
# PostCSS Sushi Roll
[PostCSS] plugin for creating flexbox-based layouts.
[](https://github.com/feross/standard)
## Install
$ npm install sushi-roll
## Usage
Documentation is in the work... | # PostCSS Sushi Roll
[PostCSS] plugin for creating flexbox-based layouts.
[](https://github.com/feross/standard)
## Install
$ npm install sushi-roll
## Usage
[Official documentation](https://denizdogan.github.io/sushi... | <|file_sep|>original/README.md
# PostCSS Sushi Roll
[PostCSS] plugin for creating flexbox-based layouts.
[](https://github.com/feross/standard)
## Install
$ npm install sushi-roll
## Usage
Documentation is in the work... | 17d73b238b66b49580e2cbdb261fc757f6a96afc | README.md | README.md | Markdown |
<|file_sep|>original/site/pelicanconf.py
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = ()
# Social widget
SOCIAL = ()
STATIC_PATHS = ['images']
THEME = 'themes/blueidea'
THEME_STATIC_DIR = 'blueidea/static'
DEFAULT_PAGI... | FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = ()
# Social widget
SOCIAL = ()
STATIC_PATHS = ['images']
THEME = 'themes/blue_idea'
THEME_STATIC_DIR = 'blue_idea/static'
DEFAULT_PAGINATION = 100
# Uncomment following lin... | <|file_sep|>original/site/pelicanconf.py
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = ()
# Social widget
SOCIAL = ()
STATIC_PATHS = ['images']
THEME = 'themes/blueidea'
THEME_STATIC_DIR = 'blueidea/static'
DEFAULT_PAGI... | 440cd5bdd7806d7e67345153dd37a8aa4e50e283 | site/pelicanconf.py | site/pelicanconf.py | Python |
<|file_sep|>original/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
<|file_sep|>current/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-ma... | distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip
| <|file_sep|>original/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-maven-3.5.0-bin.zip
<|file_sep|>current/.mvn/wrapper/maven-wrapper.properties
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.0/apache-ma... | 33ffe193d92687d6c574f396a469c0192bf6a1f6 | .mvn/wrapper/maven-wrapper.properties | .mvn/wrapper/maven-wrapper.properties | INI |
<|file_sep|>metadata/se.tube42.p9.android.txt.diff
original:
updated:
Build:0.0.8,8
commit=v0.0.8
subdir=android
submodules=yes
gradle=yes
rm=android/libs
scanignore=android/assets/dict/en.bin,android/libs
<|file_sep|>original/metadata/se.tube42.p9.android.txt
Build:0.0.3,3
disable=The an... |
Build:0.0.7,7
commit=v0.0.7
subdir=android
submodules=yes
gradle=yes
rm=android/libs
scanignore=android/assets/dict/en.bin,android/libs
Build:0.0.8,8
commit=v0.0.8
subdir=android
submodules=yes
gradle=yes
rm=android/libs
scanignore=android/assets/dict/en.bin,android/lib... | <|file_sep|>metadata/se.tube42.p9.android.txt.diff
original:
updated:
Build:0.0.8,8
commit=v0.0.8
subdir=android
submodules=yes
gradle=yes
rm=android/libs
scanignore=android/assets/dict/en.bin,android/libs
<|file_sep|>original/metadata/se.tube42.p9.android.txt
Build:0.0.3,3
disable=The an... | 11aa6016d69b7b4b97eba6919baf346061b83134 | metadata/se.tube42.p9.android.txt | metadata/se.tube42.p9.android.txt | Text |
<|file_sep|>original/src/experimentalcode/remigius/gui/runnables/NodeAdder.java
<|file_sep|>current/src/experimentalcode/remigius/gui/runnables/NodeAdder.java
<|file_sep|>updated/src/experimentalcode/remigius/gui/runnables/NodeAdder.java | package experimentalcode.remigius.gui.runnables;
import org.w3c.dom.Element;
public class NodeAdder implements Runnable {
private Element parent;
private Element child;
public NodeAdder(Element parent, Element child){
this.parent = parent;
this.child = child;
}
@Override
public void run() {... | <|file_sep|>original/src/experimentalcode/remigius/gui/runnables/NodeAdder.java
<|file_sep|>current/src/experimentalcode/remigius/gui/runnables/NodeAdder.java
<|file_sep|>updated/src/experimentalcode/remigius/gui/runnables/NodeAdder.java
package experimentalcode.remigius.gui.runnables;
import org.w3c.dom.Element;
p... | 8be544de8880940bdf00c59fa0d1b319acd39ab0 | src/experimentalcode/remigius/gui/runnables/NodeAdder.java | src/experimentalcode/remigius/gui/runnables/NodeAdder.java | Java |
<|file_sep|>original/composer.json
"require": {
"php": ">=5.4",
"pimple/pimple": "~3.0",
"igorw/get-in": "~1.0",
"evenement/evenement": "~2.0",
"aura/html": "~2.4"
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"mockery/mockery": "0.9.3",
"brai... | "psr-4": {
"Foil\\Tests\\": "tests/src/"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=5.4",
"pimple/pimple": "~3.0",
"igorw/get-in": "~1.0",
"evenement/evenement": "~2.0",
"aura/html": "~2.4"
},
"require-dev": {
... | <|file_sep|>original/composer.json
"require": {
"php": ">=5.4",
"pimple/pimple": "~3.0",
"igorw/get-in": "~1.0",
"evenement/evenement": "~2.0",
"aura/html": "~2.4"
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"mockery/mockery": "0.9.3",
"brai... | ffb4a8a97deedb0b6d7828ebfb1d587f4253b5cb | composer.json | composer.json | JSON |
<|file_sep|>original/src/year2014/DigitalRoot.java
<|file_sep|>current/src/year2014/DigitalRoot.java
<|file_sep|>updated/src/year2014/DigitalRoot.java | package year2014;
import java.util.Scanner;
import java.util.stream.IntStream;
/**
* <h3>Digital Root</h3>
* <p>The digital root of a number is obtained by summing its individual digits,
* summing those individual digits, and continuing the process until the final sum
* is a single digit (that is, less than 10). ... | <|file_sep|>original/src/year2014/DigitalRoot.java
<|file_sep|>current/src/year2014/DigitalRoot.java
<|file_sep|>updated/src/year2014/DigitalRoot.java
package year2014;
import java.util.Scanner;
import java.util.stream.IntStream;
/**
* <h3>Digital Root</h3>
* <p>The digital root of a number is obtained by summing... | fd0e373df44417c878e7269b9dd58b4c416d3d3c | src/year2014/DigitalRoot.java | src/year2014/DigitalRoot.java | Java |
<|file_sep|>original/gpu/include/GrGLConfig_chrome.h
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2... |
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2ext.h>
#define GR_GL_FUNCTION_TYPE
#define GR_GL_PR... | <|file_sep|>original/gpu/include/GrGLConfig_chrome.h
#define GR_SUPPORT_GLES2 1
// gl2ext.h will define these extensions macros but Chrome doesn't provide
// prototypes.
#define GL_OES_mapbuffer 0
#define GR_GL_PLATFORM_HEADER <GLES2/gl2.h>
#define GR_GL_PLATFORM_HEADER_EXT <GLES2/gl2... | 8361a0fa2c24bc58f43a48c77ed6ba9ad1819b63 | gpu/include/GrGLConfig_chrome.h | gpu/include/GrGLConfig_chrome.h | C |
<|file_sep|>original/setup/default-editor-filetypes.txt
diff
h
java
js
json
jsx
less
lisp
md
patch
php
plist
py
rb
scss
sh
sql
ss
ssp
svg
tpl
<|file_sep|>current/setup/default-editor-filetypes.txt
diff
h
java
js
json
jsx
less
lisp
md
patch
php
plist
py
rb
scss
sh
sql
ss
ssp
svg
tpl
<|file_sep|>updated/setup/default-edi... | diff
h
java
js
json
jsx
less
lisp
md
patch
pegjs
php
plist
py
rb
scss
sh
sql
ss
ssp
svg | <|file_sep|>original/setup/default-editor-filetypes.txt
diff
h
java
js
json
jsx
less
lisp
md
patch
php
plist
py
rb
scss
sh
sql
ss
ssp
svg
tpl
<|file_sep|>current/setup/default-editor-filetypes.txt
diff
h
java
js
json
jsx
less
lisp
md
patch
php
plist
py
rb
scss
sh
sql
ss
ssp
svg
tpl
<|file_sep|>updated/setup/default-edi... | a09c4f78293dda3f1f3567a25c1a2f4d3bad34b6 | setup/default-editor-filetypes.txt | setup/default-editor-filetypes.txt | Text |
<|file_sep|>ngrinder-controller/src/main/resources/script_template/basic_template.ftl.diff
original:
updated:
# -*- coding:utf-8 -*-
<|file_sep|>ngrinder-controller/src/main/resources/script_template/basic_template.ftl.diff
original:
# single page via HTTP. The resulting page is written to a file.
#
# More complex HT... | from net.grinder.script import Test
from net.grinder.plugin.http import HTTPRequest
test1 = Test(1, "Test1")
request1 = test1.wrap(HTTPRequest())
class TestRunner:
def __call__(self):
result = request1.GET("${url}")
# result is a HTTPClient.HTTPResult.
# We get the message body
# using the getText() method... | <|file_sep|>ngrinder-controller/src/main/resources/script_template/basic_template.ftl.diff
original:
updated:
# -*- coding:utf-8 -*-
<|file_sep|>ngrinder-controller/src/main/resources/script_template/basic_template.ftl.diff
original:
# single page via HTTP. The resulting page is written to a file.
#
# More complex HT... | 0e400f1bb6e090f7a138ccb56c8cb99519cff38a | ngrinder-controller/src/main/resources/script_template/basic_template.ftl | ngrinder-controller/src/main/resources/script_template/basic_template.ftl | FreeMarker |
<|file_sep|>original/test/app.spec.js
import { expect } from 'chai';
describe('smoke test', () => {
it('run a test', () => {
expect(true).to.equal(true);
});
});
<|file_sep|>current/test/app.spec.js
import { expect } from 'chai';
describe('smoke test', () => {
it('run a test', () => {
expect(true).to.eq... | import { expect } from 'chai';
describe('smoke test', () => {
it('run a test', () => {
expect(true).to.equal(false);
});
}); | <|file_sep|>original/test/app.spec.js
import { expect } from 'chai';
describe('smoke test', () => {
it('run a test', () => {
expect(true).to.equal(true);
});
});
<|file_sep|>current/test/app.spec.js
import { expect } from 'chai';
describe('smoke test', () => {
it('run a test', () => {
expect(true).to.eq... | 848ee33109b35c83ac846a91d106e9268d1336d4 | test/app.spec.js | test/app.spec.js | JavaScript |
<|file_sep|>stories/iconButton.js.diff
original:
updated:
const elements = ['a', 'button', 'div', 'span'];
<|file_sep|>original/stories/iconButton.js
import { checkA11y } from 'storybook-addon-a11y';
import { withInfo } from '@storybook/addon-info';
import { withKnobs, boolean, select } from '@storybook/addon-knobs/re... | storiesOf('IconButtons', module)
.addDecorator((story, context) => withInfo({ TableComponent: PropTable })(story)(context))
.addDecorator(checkA11y)
.addDecorator(withKnobs)
.add('Basic', () => (
<IconButton
icon={select('Size', sizes, 'medium') === 'small' ? <IconAddSmallOutline /> : <IconAddMediumOu... | <|file_sep|>stories/iconButton.js.diff
original:
updated:
const elements = ['a', 'button', 'div', 'span'];
<|file_sep|>original/stories/iconButton.js
import { checkA11y } from 'storybook-addon-a11y';
import { withInfo } from '@storybook/addon-info';
import { withKnobs, boolean, select } from '@storybook/addon-knobs/re... | 757e1f513e1731e95d8d7d534ab966af9ff98f9a | stories/iconButton.js | stories/iconButton.js | JavaScript |
<|file_sep|>original/Tests/OrientDBDataTest.php
<|file_sep|>current/Tests/OrientDBDataTest.php
<|file_sep|>updated/Tests/OrientDBDataTest.php | <?php
/**
* @author Anton Terekhov <anton@netmonsters.ru>
* @copyright Copyright Anton Terekhov, NetMonsters LLC, 2011
* @license https://github.com/AntonTerekhov/OrientDB-PHP/blob/master/LICENSE
* @link https://github.com/AntonTerekhov/OrientDB-PHP
* @package OrientDB-PHP
*/
require_once 'OrientDB/OrientDB.php... | <|file_sep|>original/Tests/OrientDBDataTest.php
<|file_sep|>current/Tests/OrientDBDataTest.php
<|file_sep|>updated/Tests/OrientDBDataTest.php
<?php
/**
* @author Anton Terekhov <anton@netmonsters.ru>
* @copyright Copyright Anton Terekhov, NetMonsters LLC, 2011
* @license https://github.com/AntonTerekhov/OrientDB-... | 0b359262db29df7c4884590d24109d53f1b3ac63 | Tests/OrientDBDataTest.php | Tests/OrientDBDataTest.php | PHP |
<|file_sep|>packages/ff/fficxx.yaml.diff
original:
hash: fae26bfca1ec7df7220792957980b17ed78532f4e1cee2f739a46abf9fd888ae
updated:
hash: 93397da6368c9a7cfae3ae1e6a7dd7969472d9f1fabb82d882b773b8c896358f
<|file_sep|>packages/ff/fficxx.yaml.diff
original:
updated:
aeson-pretty: -any
<|file_sep|>packages/ff/fficxx.yaml.... | template: -any
transformers: ! '>=0.3'
errors: -any
aeson: -any
template-haskell: -any
directory: -any
all-versions:
- '0.1'
- '0.1.0'
- '0.2'
- '0.2.1'
- '0.3'
- '0.3.1'
- '0.4'
- '0.4.1'
- '0.5'
author: Ian-Woo Kim
latest: '0.5'
description-type: haddock
description: automatic C++ binding generation
licen... | <|file_sep|>packages/ff/fficxx.yaml.diff
original:
hash: fae26bfca1ec7df7220792957980b17ed78532f4e1cee2f739a46abf9fd888ae
updated:
hash: 93397da6368c9a7cfae3ae1e6a7dd7969472d9f1fabb82d882b773b8c896358f
<|file_sep|>packages/ff/fficxx.yaml.diff
original:
updated:
aeson-pretty: -any
<|file_sep|>packages/ff/fficxx.yaml.... | 1720d1be949fce4bee726bbf85945287dbdbfca7 | packages/ff/fficxx.yaml | packages/ff/fficxx.yaml | YAML |
<|file_sep|>composer.json.diff
original:
"psr-0": {
"DeepCopy": "src/",
"DeepCopyTest": "tests/"
}
updated:
"psr-4": { "DeepCopy\\": "src/DeepCopy/" }
},
"autoload-dev": {
"psr-4": { "DeepCopyTest\\": "tests/DeepCopyTest/" }
<|file_sep|>original/composer.j... | {
"name": "myclabs/deep-copy",
"type": "library",
"description": "Create deep copies (clones) of your objects",
"keywords": ["clone", "copy", "duplicate", "object", "object graph"],
"homepage": "https://github.com/myclabs/DeepCopy",
"license": "MIT",
"autoload": {
"psr-4": { "DeepCop... | <|file_sep|>composer.json.diff
original:
"psr-0": {
"DeepCopy": "src/",
"DeepCopyTest": "tests/"
}
updated:
"psr-4": { "DeepCopy\\": "src/DeepCopy/" }
},
"autoload-dev": {
"psr-4": { "DeepCopyTest\\": "tests/DeepCopyTest/" }
<|file_sep|>original/composer.j... | 584952e3195f637bbd99d877f313fc2456c1936a | composer.json | composer.json | JSON |
<|file_sep|>original/clean.sh
#!/bin/sh
# Cleans up the builds
rm -rf build/debug
rm -rf build/release
rm -f src/components/compiler/lex.yy.c
rm -f src/components/compiler/parser.tab.c
rm -f src/components/vm/_generated_vm_opcodes.c
rm -f src/components/objects/_generated_exceptions.inc
rm -f src/components/objects/_g... | #!/bin/sh
# Cleans up the builds
rm -rf build
rm -f src/components/compiler/lex.yy.c
rm -f src/components/compiler/parser.tab.c
rm -f src/components/vm/_generated_vm_opcodes.c
rm -f src/components/objects/_generated_exceptions.inc
rm -f src/components/objects/_generated_interfaces.inc
rm -f include/saffire/compiler/l... | <|file_sep|>original/clean.sh
#!/bin/sh
# Cleans up the builds
rm -rf build/debug
rm -rf build/release
rm -f src/components/compiler/lex.yy.c
rm -f src/components/compiler/parser.tab.c
rm -f src/components/vm/_generated_vm_opcodes.c
rm -f src/components/objects/_generated_exceptions.inc
rm -f src/components/objects/_g... | a8388679a88af45b23de18ad3a8ee456f0a5303a | clean.sh | clean.sh | Shell |
<|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.8.11.7"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots... | (defproject onyx-app/lein-template "0.8.11.8-SNAPSHOT"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots" {:url "https://clojars... | <|file_sep|>original/project.clj
(defproject onyx-app/lein-template "0.8.11.7"
:description "Onyx Leiningen application template"
:url "https://github.com/onyx-platform/onyx-template"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:repositories {"snapshots... | 161314d1078e8616cc4410dda482cfe018e547b0 | project.clj | project.clj | Clojure |
<|file_sep|>original/joern-cli/src/test/scala/io/shiftleft/joern/GenerationTests.scala
import io.shiftleft.semanticcpg.language._
/**
* Test code that shows how code property graphs can be
* generated using the FuzzyC language frontend
* */
class GenerationTests extends WordSpec with Matchers {
"should generat... | import io.shiftleft.semanticcpg.language._
/**
* Test code that shows how code property graphs can be
* generated using the FuzzyC language frontend
* */
class GenerationTests extends WordSpec with Matchers {
"should generate and load CPG for example code" in {
val inputFilenames = Array("joern-cli/src/tes... | <|file_sep|>original/joern-cli/src/test/scala/io/shiftleft/joern/GenerationTests.scala
import io.shiftleft.semanticcpg.language._
/**
* Test code that shows how code property graphs can be
* generated using the FuzzyC language frontend
* */
class GenerationTests extends WordSpec with Matchers {
"should generat... | 1450e943ebe575c996a2703342438641bc2edc9b | joern-cli/src/test/scala/io/shiftleft/joern/GenerationTests.scala | joern-cli/src/test/scala/io/shiftleft/joern/GenerationTests.scala | Scala |
<|file_sep|>original/PHSideScrollingImagePicker.podspec
Pod::Spec.new do |s|
s.name = "PHSideScrollingImagePicker"
s.version = "1.0.1"
s.summary = "iOS 7-style Image Picker"
s.description = <<-DESC
A horizontally scrolling image picker, similar to the one found in iOS 7's Photos.app share vie... | Pod::Spec.new do |s|
s.name = "PHSideScrollingImagePicker"
s.version = "1.0.1"
s.summary = "iOS 7-style Image Picker"
s.description = <<-DESC
A horizontally scrolling image picker, similar to the one found in iOS 7's Photos.app share view, complete with floating checkmark badge.
... | <|file_sep|>original/PHSideScrollingImagePicker.podspec
Pod::Spec.new do |s|
s.name = "PHSideScrollingImagePicker"
s.version = "1.0.1"
s.summary = "iOS 7-style Image Picker"
s.description = <<-DESC
A horizontally scrolling image picker, similar to the one found in iOS 7's Photos.app share vie... | 42116db529c24de737587073817199570e4e3fe8 | PHSideScrollingImagePicker.podspec | PHSideScrollingImagePicker.podspec | Ruby |
<|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
import { setChartAction } from '../actions/chartActions';
<|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
this.props.logout();
<|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
const mapDispatchToProps = dispatch ... | <h1>Profile Page</h1>
<button onClick={this.logoff}>Log Off</button>
</div>
);
}
}
ProfilePage.propTypes = {
logout: React.PropTypes.function
};
const mapStateToProps = () => {
return {
token: localStorage.token
};
};
const mapDispatchToProps = dispatch => {
return {
logout: ()... | <|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
import { setChartAction } from '../actions/chartActions';
<|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
this.props.logout();
<|file_sep|>src/components/ProfilePage.js.diff
original:
updated:
const mapDispatchToProps = dispatch ... | 288ce5205edcf7e6c1afda5fa62d95c479aa6c30 | src/components/ProfilePage.js | src/components/ProfilePage.js | JavaScript |
<|file_sep|>ascending_node.go.diff
original:
func (node AscendingNode) Direction() string {
updated:
func (node *AscendingNode) Direction() string {
<|file_sep|>original/ascending_node.go
package rel
import (
"reflect"
)
type AscendingNode OrderingNode
func (node AscendingNode) Eq(other AscendingNode) bool {
retur... | package rel
import (
"reflect"
)
type AscendingNode OrderingNode
func (node AscendingNode) Eq(other AscendingNode) bool {
return reflect.DeepEqual(node, other)
}
func (node *AscendingNode) Direction() string {
return "ASC"
}
func (node *AscendingNode) Reverse() *DescendingNode {
return &DescendingNode{Expr: no... | <|file_sep|>ascending_node.go.diff
original:
func (node AscendingNode) Direction() string {
updated:
func (node *AscendingNode) Direction() string {
<|file_sep|>original/ascending_node.go
package rel
import (
"reflect"
)
type AscendingNode OrderingNode
func (node AscendingNode) Eq(other AscendingNode) bool {
retur... | cc30bf92c079553cbf9fefea70820d5e4f8aa5ee | ascending_node.go | ascending_node.go | Go |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
install:
- "npm install -g coffee-script"
- "phantomjs -v"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
install:
- "npm install -g coffee-script"
- "phantomjs -v"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.10"
before_install:
- "npm install -g coffee-script"
- "phantomjs -v" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
install:
- "npm install -g coffee-script"
- "phantomjs -v"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
install:
- "npm install -g coffee-script"
- "phantomjs -v"
<|file_sep|>updated/.travis.yml
language: node_js
nod... | d339c8676fb29ff90218cda8825358eee3820b5d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# Cloud Commerce Partner Procurement API Integration Codelab
This is a step-by-step tutorial for integrating with the Cloud Commerce Partner
Procurement API to manage customer Accounts and Entitlements.
The onboarding guide is located at
https://cloud.google.com/marketplace/docs/partner... | # Cloud Commerce Partner Procurement API Integration Codelab
This is a step-by-step tutorial for integrating with the Cloud Commerce Partner
Procurement API to manage customer Accounts and Entitlements.
The instructions for this codelab are located at
https://codelabs.developers.google.com/codelabs/gcp-marketplace-in... | <|file_sep|>original/README.md
# Cloud Commerce Partner Procurement API Integration Codelab
This is a step-by-step tutorial for integrating with the Cloud Commerce Partner
Procurement API to manage customer Accounts and Entitlements.
The onboarding guide is located at
https://cloud.google.com/marketplace/docs/partner... | 4d852dbedacf9c7223d84ab33330cf0e25d15d65 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/build.js
var colors = require('colors'),
exec = require('child_process').exec,
pkg = require('../package.json'),
year = new Date().getFullYear(),
preamble = '/*!\n' +
' * ' + pkg.name + ' ' + pkg.version + '\n' +
' *\n' +
' * ' + pkg.description + '\n' +
' *\n' +
' * Sourc... |
var colors = require('colors'),
exec = require('child_process').exec,
pkg = require('../package.json'),
year = new Date().getFullYear(),
preamble = '/*!\n' +
' * ' + pkg.name + ' ' + pkg.version + '\n' +
' *\n' +
' * ' + pkg.description + '\n' +
' *\n' +
' * Source code available at: ' + pkg.homepage ... | <|file_sep|>original/scripts/build.js
var colors = require('colors'),
exec = require('child_process').exec,
pkg = require('../package.json'),
year = new Date().getFullYear(),
preamble = '/*!\n' +
' * ' + pkg.name + ' ' + pkg.version + '\n' +
' *\n' +
' * ' + pkg.description + '\n' +
' *\n' +
' * Sourc... | 73d23026ee3f4cca049cc39e79e279281541b051 | scripts/build.js | scripts/build.js | JavaScript |
<|file_sep|>original/src/listener.cpp
#include "listener.h"
#include "log.h"
#include "buffers.h"
void conditionalEnqueue(QUEUE_TYPE(uint8_t)* queue, uint8_t* message,
int messageSize) {
if(queue_available(queue) < messageSize + 1) {
debug("Dropped incoming CAN message -- send queue full for US... | #include "listener.h"
#include "log.h"
#include "buffers.h"
void conditionalEnqueue(QUEUE_TYPE(uint8_t)* queue, uint8_t* message,
int messageSize) {
if(queue_available(queue) < messageSize + 1) {
debug("Dropped incoming CAN message -- send queue full\r\n");
return;
}
for(in... | <|file_sep|>original/src/listener.cpp
#include "listener.h"
#include "log.h"
#include "buffers.h"
void conditionalEnqueue(QUEUE_TYPE(uint8_t)* queue, uint8_t* message,
int messageSize) {
if(queue_available(queue) < messageSize + 1) {
debug("Dropped incoming CAN message -- send queue full for US... | 218183fc0e4cdcd003e6d5bfc1409d1cb5a463af | src/listener.cpp | src/listener.cpp | C++ |
<|file_sep|>app/templates/_package.json.diff
original:
"grunt": "~0.4.1",
"grunt-contrib-compass": "~0.5.0",
"grunt-contrib-connect": "~0.5.0",
updated:
"grunt": "~0.4.2",
"grunt-contrib-compass": "~0.7.2",
"grunt-contrib-connect": "~0.7.1",
<|file_sep|>app/templates/_package.json.diff
original:... | {
"name": "<%= _.slugify(appname) %>",
"version": "0.0.0",
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-compass": "~0.7.2",
"grunt-contrib-connect": "~0.7.1",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-imagemin": "~0.5.0",
"grunt-contrib-copy": "~0.5.0"... | <|file_sep|>app/templates/_package.json.diff
original:
"grunt": "~0.4.1",
"grunt-contrib-compass": "~0.5.0",
"grunt-contrib-connect": "~0.5.0",
updated:
"grunt": "~0.4.2",
"grunt-contrib-compass": "~0.7.2",
"grunt-contrib-connect": "~0.7.1",
<|file_sep|>app/templates/_package.json.diff
original:... | 66fc224711d57dbb5ac72545da5b449500ac387f | app/templates/_package.json | app/templates/_package.json | JSON |
<|file_sep|>original/.travis.yml
language: android
android:
components:
- platform-tools
- build-tools-26.0.0
- android-26
- extra-android-m2repository
script:
- sh gradlew build
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: android
android:
components:
- platform-to... | language: android
android:
components:
- platform-tools
- build-tools-26.0.0
- android-26
- extra-android-m2repository
script:
- bash gradlew build
branches:
only:
- master | <|file_sep|>original/.travis.yml
language: android
android:
components:
- platform-tools
- build-tools-26.0.0
- android-26
- extra-android-m2repository
script:
- sh gradlew build
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: android
android:
components:
- platform-to... | e73e908b8c3b14a7dd1693d8189406b0f71971e9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: java
dist: trusty
os: linux
install:
- jdk_switcher use openjdk7
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true
jdk:
- openjdk7
- openjdk8
- openjdk9
script:
- jdk_switcher use $TRAVIS_JDK_VERSION
- ./mvnw test -Dmaven.javadoc.skip=true
<|file_sep|>curr... | language: java
dist: trusty
os: linux
install:
- jdk_switcher use openjdk8
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true
jdk:
- openjdk7
- openjdk8
- openjdk9
script:
- jdk_switcher use $TRAVIS_JDK_VERSION
- ./mvnw test -Dmaven.javadoc.skip=true | <|file_sep|>original/.travis.yml
language: java
dist: trusty
os: linux
install:
- jdk_switcher use openjdk7
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true
jdk:
- openjdk7
- openjdk8
- openjdk9
script:
- jdk_switcher use $TRAVIS_JDK_VERSION
- ./mvnw test -Dmaven.javadoc.skip=true
<|file_sep|>curr... | cdddc0b06dae241995b6a8274ce60e2e488816d5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>Mixpanel/ObjectIdentityProvider.swift.diff
original:
updated:
<|file_sep|>Mixpanel/ObjectIdentityProvider.swift.diff
original:
var value: Int32 = 0
updated:
private var queue = DispatchQueue(label: "com.mixpanel.sequence.generator")
private(set) var value: Int32 = 0
<|file_sep|>Mixpanel/... | return identifier as String
}
}
}
class SequenceGenerator {
private var queue = DispatchQueue(label: "com.mixpanel.sequence.generator")
private(set) var value: Int32 = 0
init() {
value = 0
}
func next() -> Int32 {
queue.sync {
value += ... | <|file_sep|>Mixpanel/ObjectIdentityProvider.swift.diff
original:
updated:
<|file_sep|>Mixpanel/ObjectIdentityProvider.swift.diff
original:
var value: Int32 = 0
updated:
private var queue = DispatchQueue(label: "com.mixpanel.sequence.generator")
private(set) var value: Int32 = 0
<|file_sep|>Mixpanel/... | 77e95633a271871010a3e3472ac552d9bd3a7ef3 | Mixpanel/ObjectIdentityProvider.swift | Mixpanel/ObjectIdentityProvider.swift | Swift |
<|file_sep|>original/modules/editor/init.sh
export EDITOR='vim'
export VISUAL='vim'
export PAGER='less'
# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X and -F (exit if the content fits on one screen) to enable it.
export LESS='-g -i -M -R -S -w -z-... | dcheck nvim && EDITOR=nvim || EDITOR=vim
export EDITOR
export VISUAL="$EDITOR"
export PAGER=less
# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X and -F (exit if the content fits on one screen) to enable it.
export LESS='-g -i -M -R -S -w -z-4'
# S... | <|file_sep|>original/modules/editor/init.sh
export EDITOR='vim'
export VISUAL='vim'
export PAGER='less'
# Set the default Less options.
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
# Remove -X and -F (exit if the content fits on one screen) to enable it.
export LESS='-g -i -M -R -S -w -z-... | 934377a1ed4d02017f1ccdaffc2ac433bdba2be4 | modules/editor/init.sh | modules/editor/init.sh | Shell |
<|file_sep|>original/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java
<|file_sep|>current/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java
<|file_sep|>updated/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java | /*
* Copyright 2016 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | <|file_sep|>original/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java
<|file_sep|>current/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java
<|file_sep|>updated/src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java
/*
* Copyright 2016 Peter Kenji Yamanaka
*... | 8249ab8e6d2edfc80d716dca1dfab2233156cbf1 | src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java | src/test/java/com/pyamsoft/padlock/dagger/lock/LockInteractorTest.java | Java |
<|file_sep|>original/hieradata_aws/class/rabbitmq.yaml
---
govuk::node::s_rabbitmq::apps_using_rabbitmq:
- rummager
- content_data_api
- cache_clearing_service
- search_api
govuk_rabbitmq::aws_clustering: true
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'rabbitmq-1 is a single p... | ---
govuk::node::s_rabbitmq::apps_using_rabbitmq:
- content_data_api
- cache_clearing_service
- search_api
govuk_rabbitmq::aws_clustering: true
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'rabbitmq-1 is a single point of failure for content-store, apps not resilient'
rabbitmq::co... | <|file_sep|>original/hieradata_aws/class/rabbitmq.yaml
---
govuk::node::s_rabbitmq::apps_using_rabbitmq:
- rummager
- content_data_api
- cache_clearing_service
- search_api
govuk_rabbitmq::aws_clustering: true
govuk_safe_to_reboot::can_reboot: 'careful'
govuk_safe_to_reboot::reason: 'rabbitmq-1 is a single p... | 7dcb051a75145f830da8d9e379e61fb866f8314d | hieradata_aws/class/rabbitmq.yaml | hieradata_aws/class/rabbitmq.yaml | YAML |
<|file_sep|>original/AZViewer/AZLabel.swift
// MARK: Internal
/*
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
super.draw(rect)
}
*/
... | // MARK: Internal
/*
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
super.draw(rect)
}
*/
override public func drawText(in rect: C... | <|file_sep|>original/AZViewer/AZLabel.swift
// MARK: Internal
/*
// Only override draw() if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
override func draw(_ rect: CGRect) {
// Drawing code
super.draw(rect)
}
*/
... | be839e95dfc0835e0b0a46eeb8a4c484641d4230 | AZViewer/AZLabel.swift | AZViewer/AZLabel.swift | Swift |
<|file_sep|>lib/rspec_api_documentation/api_formatter.rb.diff
original:
require 'rspec/core/formatters/base_formatter'
updated:
require 'rspec/core/formatters/base_text_formatter'
<|file_sep|>original/lib/rspec_api_documentation/api_formatter.rb
require 'rspec/core/formatters/base_formatter'
module RspecApiDocumentati... | require 'rspec/core/formatters/base_text_formatter'
module RspecApiDocumentation
class ApiFormatter < RSpec::Core::Formatters::BaseTextFormatter
def initialize(output)
super
output.puts "Generating API Docs"
end
def start(example_count)
super
RspecApiDocumentation.documentation... | <|file_sep|>lib/rspec_api_documentation/api_formatter.rb.diff
original:
require 'rspec/core/formatters/base_formatter'
updated:
require 'rspec/core/formatters/base_text_formatter'
<|file_sep|>original/lib/rspec_api_documentation/api_formatter.rb
require 'rspec/core/formatters/base_formatter'
module RspecApiDocumentati... | b257ddadfdad5add88de23ba206029875e8b8275 | lib/rspec_api_documentation/api_formatter.rb | lib/rspec_api_documentation/api_formatter.rb | Ruby |
<|file_sep|>original/t/04-nativecall/17-libnames.t
<|file_sep|>current/t/04-nativecall/17-libnames.t
<|file_sep|>updated/t/04-nativecall/17-libnames.t | use Test;
use NativeCall :TEST;
plan 7;
if $*KERNEL ~~ 'linux' {
ok guess_library_name("libfoo") eq "libfoo.so", "libfoo is libfoo.so and should warn";
ok guess_library_name(("libfoo", 1)) eq "libfoo.so.1", "libfoo , 1 is libfoo.so.1";
ok guess_library_name(("libfoo", v1.2.3)) eq "libfoo.so.1.2.3", "libfoo , v1.... | <|file_sep|>original/t/04-nativecall/17-libnames.t
<|file_sep|>current/t/04-nativecall/17-libnames.t
<|file_sep|>updated/t/04-nativecall/17-libnames.t
use Test;
use NativeCall :TEST;
plan 7;
if $*KERNEL ~~ 'linux' {
ok guess_library_name("libfoo") eq "libfoo.so", "libfoo is libfoo.so and should warn";
ok guess_l... | 522e03c3f5563367eb3f897f8cc7c438267c7a58 | t/04-nativecall/17-libnames.t | t/04-nativecall/17-libnames.t | Perl |
<|file_sep|>original/roles/docker_host/tasks/main.yml
fstype: btrfs
- name: create directory for ansible custom facts
file: state=directory recurse=yes path=/etc/ansible/facts.d
- name: create fact for docker fs blkid
template:
src: etc/ansible/facts.d/docker_blkid.fact
dest: /etc/ansible/facts.d/dock... | template:
src: etc/ansible/facts.d/docker_blkid.fact
dest: /etc/ansible/facts.d/docker_blkid.fact
mode: 500
- name: re-read facts after adding custom fact
setup: filter=ansible_local
- name: mount docker fs
mount:
src: UUID={{ ansible_local.docker_blkid }}
name: /var/lib/docker
fstype: b... | <|file_sep|>original/roles/docker_host/tasks/main.yml
fstype: btrfs
- name: create directory for ansible custom facts
file: state=directory recurse=yes path=/etc/ansible/facts.d
- name: create fact for docker fs blkid
template:
src: etc/ansible/facts.d/docker_blkid.fact
dest: /etc/ansible/facts.d/dock... | cc7337b61afd6b2a211a40729b8e927c27ef6eb2 | roles/docker_host/tasks/main.yml | roles/docker_host/tasks/main.yml | YAML |
<|file_sep|>assets/js/util/test/sendAnalyticsTrackingEvent.js.diff
original:
global.googlesitekit.setup.isFirstAdmin = true;
updated:
global._googlesitekitBase = {
referenceSiteURL: 'https://www.example.com/',
userIDHash: 'a1b2c3',
trackingID: 'UA-12345678-1',
isFirstAdmin: true,
};
<|file_sep|>origin... | */
import { sendAnalyticsTrackingEvent } from '../';
describe( 'sendAnalyticsTrackingEvent', () => {
it( 'sends a tracking event', () => {
// eslint-disable-next-line no-undef
global.googlesitekitTrackingEnabled = true;
// eslint-disable-next-line no-undef
global._googlesitekitBase = {
referenceSiteURL: '... | <|file_sep|>assets/js/util/test/sendAnalyticsTrackingEvent.js.diff
original:
global.googlesitekit.setup.isFirstAdmin = true;
updated:
global._googlesitekitBase = {
referenceSiteURL: 'https://www.example.com/',
userIDHash: 'a1b2c3',
trackingID: 'UA-12345678-1',
isFirstAdmin: true,
};
<|file_sep|>origin... | ba07bbe45fbcd07047b6c3b217401cfe37037d07 | assets/js/util/test/sendAnalyticsTrackingEvent.js | assets/js/util/test/sendAnalyticsTrackingEvent.js | JavaScript |
<|file_sep|>original/src/day8/re_frame/trace/preload.cljs
(ns day8.re-frame.trace.preload
(:require [day8.re-frame.trace :as trace]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:c... | (ns day8.re-frame.trace.preload
(:require [day8.re-frame.trace :as trace]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
(js... | <|file_sep|>original/src/day8/re_frame/trace/preload.cljs
(ns day8.re-frame.trace.preload
(:require [day8.re-frame.trace :as trace]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf]))
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
;; {:c... | 92227465e81f71241c86e3b0121829cf9b323c3a | src/day8/re_frame/trace/preload.cljs | src/day8/re_frame/trace/preload.cljs | Clojure |
<|file_sep|>package.json.diff
original:
"url": "git+https://github.com/upfrontIO/jquery.dragbetter.git"
updated:
"url": "git+https://github.com/livingdocsIO/jquery.dragbetter.git"
<|file_sep|>package.json.diff
original:
"url": "https://github.com/upfrontIO/jquery.dragbetter/issues"
updated:
"url": "http... | {
"name": "@livingdocs/jquery.dragbetter",
"version": "0.1.4",
"main": "jquery.dragbetter.js",
"repository": {
"type": "git",
"url": "git+https://github.com/livingdocsIO/jquery.dragbetter.git"
},
"bugs": {
"url": "https://github.com/livingdocsIO/jquery.dragbetter/issues"
},
"homepage": "http... | <|file_sep|>package.json.diff
original:
"url": "git+https://github.com/upfrontIO/jquery.dragbetter.git"
updated:
"url": "git+https://github.com/livingdocsIO/jquery.dragbetter.git"
<|file_sep|>package.json.diff
original:
"url": "https://github.com/upfrontIO/jquery.dragbetter/issues"
updated:
"url": "http... | a15d33e18ff6f1ba464e0e387743bc64edebba43 | package.json | package.json | JSON |
<|file_sep|>original/mix.exs
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:benchfella, "~> 0.3.0"},
{:rustler, "~> 0.9.0"}
... | # {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:benchfella, "~> 0.3.0"},
{:rustler, "~> 0.9.0"}
]
end
defp rustler_crat... | <|file_sep|>original/mix.exs
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:benchfella, "~> 0.3.0"},
{:rustler, "~> 0.9.0"}
... | 90f57bbd77a58f226237d8e5a6af0f14b90d59ba | mix.exs | mix.exs | Elixir |
<|file_sep|>bin/web-server-cli.js.diff
original:
updated:
.option('-h, --hidden', 'Show hidden files')
<|file_sep|>original/bin/web-server-cli.js
#!/usr/bin/env node
"use strict";
var program = require('commander'),
pkg = require('../package.json');
program
.version(pkg.version)
.option('-p, --port ... | #!/usr/bin/env node
"use strict";
var program = require('commander'),
pkg = require('../package.json');
program
.version(pkg.version)
.option('-p, --port [port]', 'Server Port (Defaults to 8000)')
.option('-r, --root [root]', 'Server Root (Defaults to current directory)')
.option('-i, --index [in... | <|file_sep|>bin/web-server-cli.js.diff
original:
updated:
.option('-h, --hidden', 'Show hidden files')
<|file_sep|>original/bin/web-server-cli.js
#!/usr/bin/env node
"use strict";
var program = require('commander'),
pkg = require('../package.json');
program
.version(pkg.version)
.option('-p, --port ... | 3f4f58ee2d7d38685eb76f9f437b1a2cca9a6a36 | bin/web-server-cli.js | bin/web-server-cli.js | JavaScript |
<|file_sep|>original/webpack-lean.config.js
var config = require('./webpack.base.config');
var merge = require('webpack-merge');
module.exports = merge(config, {
entry: {
'geo.lean': './index.js',
'geo.lean.min': './index.js'
},
externals: {
d3: 'd3',
hammerjs: {
root: 'Hammer',
commo... | var merge = require('webpack-merge');
module.exports = merge(config, {
entry: {
'geo.lean': './index.js',
'geo.lean.min': './index.js'
},
externals: {
d3: 'd3',
hammerjs: {
root: 'Hammer',
commonjs: 'hammerjs',
commonjs2: 'hammerjs',
amd: 'hammerjs',
// Since GeoJS's... | <|file_sep|>original/webpack-lean.config.js
var config = require('./webpack.base.config');
var merge = require('webpack-merge');
module.exports = merge(config, {
entry: {
'geo.lean': './index.js',
'geo.lean.min': './index.js'
},
externals: {
d3: 'd3',
hammerjs: {
root: 'Hammer',
commo... | d5bded8b974655f9a7ead3f5ca0b0f899cc72cea | webpack-lean.config.js | webpack-lean.config.js | JavaScript |
<|file_sep|>original/src/skins/base/css/organisms/MemberList.css
<|file_sep|>current/src/skins/base/css/organisms/MemberList.css
<|file_sep|>updated/src/skins/base/css/organisms/MemberList.css | /*
Copyright 2015 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
... | <|file_sep|>original/src/skins/base/css/organisms/MemberList.css
<|file_sep|>current/src/skins/base/css/organisms/MemberList.css
<|file_sep|>updated/src/skins/base/css/organisms/MemberList.css
/*
Copyright 2015 OpenMarket Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file e... | 4ff8031a9ac2ae787c483d59ad71008de6095eeb | src/skins/base/css/organisms/MemberList.css | src/skins/base/css/organisms/MemberList.css | CSS |
<|file_sep|>lib/workflows/visualizer/components/root/NewSimulation.js.diff
original:
import React from 'react';
import style from 'HPCCloudStyle/ItemEditor.mcss';
updated:
import React from 'react';
import { FileUploadEntry } from '../../../../panels/ItemEditor';
<|file_sep|>lib/workflows/visualizer/com... | import React from 'react';
import { FileUploadEntry } from '../../../../panels/ItemEditor';
export default React.createClass({
displayName: 'Simulation/New/Visualizer',
propTypes: {
owner: React.PropTypes.func,
},
render() {
return <FileUploadEntry name='dataset' labe... | <|file_sep|>lib/workflows/visualizer/components/root/NewSimulation.js.diff
original:
import React from 'react';
import style from 'HPCCloudStyle/ItemEditor.mcss';
updated:
import React from 'react';
import { FileUploadEntry } from '../../../../panels/ItemEditor';
<|file_sep|>lib/workflows/visualizer/com... | f101e836a283b77b4618d8a1eb1893e7fa299721 | lib/workflows/visualizer/components/root/NewSimulation.js | lib/workflows/visualizer/components/root/NewSimulation.js | JavaScript |
<|file_sep|>original/conf_site/templates/_messages.html
<|file_sep|>current/conf_site/templates/_messages.html
<|file_sep|>updated/conf_site/templates/_messages.html | {% load pinax_theme_bootstrap_tags %}
{% for message in messages %}
<div class="alert fade in {% get_message_tags message %}">
<button type="button" class="close" data-dismiss="alert">×</button>
{{ message|safe }}
</div>
{% endfor %}
| <|file_sep|>original/conf_site/templates/_messages.html
<|file_sep|>current/conf_site/templates/_messages.html
<|file_sep|>updated/conf_site/templates/_messages.html
{% load pinax_theme_bootstrap_tags %}
{% for message in messages %}
<div class="alert fade in {% get_message_tags message %}">
<button type=... | 7556b0310fe4bad778d19033beaf3d05053ca9da | conf_site/templates/_messages.html | conf_site/templates/_messages.html | HTML |
<|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.4
pytest==3.5.1
pytest-runner==4.2
faker==0.8.13
pandas==0.22.0
sphinxcontrib-napoleon==0.6.1
tqdm==4.23.2
pytest-benchmark==3.1.1
networkx==2.1
<|file_sep|>current... | pip==10.0.1
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.4
pytest==3.5.1
pytest-runner==4.2
faker==0.8.13
pandas==0.22.0
sphinxcontrib-napoleon==0.6.1
tqdm==4.23.3
pytest-benchmark==3.1.1
networkx==2.1 | <|file_sep|>original/requirements_dev.txt
pip==10.0.1
bumpversion==0.5.3
wheel==0.31.0
watchdog==0.8.3
flake8==3.5.0
tox==3.0.0
coverage==4.5.1
Sphinx==1.7.4
pytest==3.5.1
pytest-runner==4.2
faker==0.8.13
pandas==0.22.0
sphinxcontrib-napoleon==0.6.1
tqdm==4.23.2
pytest-benchmark==3.1.1
networkx==2.1
<|file_sep|>current... | 54c7c48c1aadea6a4f12b94debf2911de9139d90 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/webpack/styles/layouts/_contentbox.scss
.basic-c-box {
@extend .panel;
border-left: none;
border-right: none;
border-radius: 0px;
padding-bottom: 12px;
background-color: $very-light-gray;
}
.box-content {
@extend .panel-body;
border-bottom: 1px solid $light-gray;
margin-left: 8px... | .basic-c-box {
@extend .panel;
border-left: none;
border-right: none;
border-radius: 0px;
padding-bottom: 12px;
background-color: $very-light-gray;
}
.box-content {
@extend .panel-body;
border-bottom: 1px solid $light-gray;
margin-left: 8px;
margin-right: 8px;
&:last-child {border-bottom: none;pa... | <|file_sep|>original/webpack/styles/layouts/_contentbox.scss
.basic-c-box {
@extend .panel;
border-left: none;
border-right: none;
border-radius: 0px;
padding-bottom: 12px;
background-color: $very-light-gray;
}
.box-content {
@extend .panel-body;
border-bottom: 1px solid $light-gray;
margin-left: 8px... | 50dcf718d015b7ba113cef4db12d58870950118f | webpack/styles/layouts/_contentbox.scss | webpack/styles/layouts/_contentbox.scss | SCSS |
<|file_sep|>.travis.yml.diff
original:
updated:
- env: EMBER_TRY_SCENARIO=ember-beta
<|file_sep|>original/.travis.yml
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-data-release
- EMBER_TRY_SCENARIO=ember-data-beta
- EMBER_TRY_SCENARIO=ember-data-canary
matrix:
fast_finish: true
allow_fa... | - EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-data-release
- EMBER_TRY_SCENARIO=ember-data-beta
- EMBER_TRY_SCENARIO=ember-data-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-beta
- env: EMBER_TRY_SCENARIO=ember-canary
- env: EMBER_TRY_SCENARIO=e... | <|file_sep|>.travis.yml.diff
original:
updated:
- env: EMBER_TRY_SCENARIO=ember-beta
<|file_sep|>original/.travis.yml
- EMBER_TRY_SCENARIO=ember-canary
- EMBER_TRY_SCENARIO=ember-data-release
- EMBER_TRY_SCENARIO=ember-data-beta
- EMBER_TRY_SCENARIO=ember-data-canary
matrix:
fast_finish: true
allow_fa... | a838f4d55c1904ab14675dc930626a3bb203bc53 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/masterfile/formatters.py.diff
original:
updated:
Note that this is similar to converting numbers to base-26, but not quite
the same — this numbering scheme has no concept of 0. We go from
"Z" to "AA" which is like going from 9 to 11 with no intervening 10.
Only works for positive intege... | Takes a zero-based index and converts it to a column identifier string
such as used in Excel. Examples:
0 => A
25 => Z
26 => AA
703 => AAB
Note that this is similar to converting numbers to base-26, but not quite
the same — this numbering scheme has no concept of 0. We go from
"Z" to... | <|file_sep|>src/masterfile/formatters.py.diff
original:
updated:
Note that this is similar to converting numbers to base-26, but not quite
the same — this numbering scheme has no concept of 0. We go from
"Z" to "AA" which is like going from 9 to 11 with no intervening 10.
Only works for positive intege... | bbe2ef061eb52113d4579eac0415c79275b04721 | src/masterfile/formatters.py | src/masterfile/formatters.py | Python |
<|file_sep|>original/setup.py
# encoding: utf-8
from setuptools import setup, find_packages
import simpy
setup(
name='SimPy',
version=simpy.__version__,
author='Ontje Lünsdorf, Stefan Scherfke',
author_email='the_com at gmx.de; stefan at sofa-rockers.org',
description='Event discrete, process bas... | # encoding: utf-8
from setuptools import setup, find_packages
import simpy
setup(
name='simpy',
version=simpy.__version__,
author='Ontje Lünsdorf, Stefan Scherfke',
author_email='the_com at gmx.de; stefan at sofa-rockers.org',
description='Event discrete, process based simulation for Python.',
... | <|file_sep|>original/setup.py
# encoding: utf-8
from setuptools import setup, find_packages
import simpy
setup(
name='SimPy',
version=simpy.__version__,
author='Ontje Lünsdorf, Stefan Scherfke',
author_email='the_com at gmx.de; stefan at sofa-rockers.org',
description='Event discrete, process bas... | 231291ca9190f802f2132874cd55c1fc63b13b56 | setup.py | setup.py | Python |
<|file_sep|>original/package.json
{
"name": "bauhausjs",
"version": "0.0.1",
"description": "A modular CMS for Node.js",
"scripts": {
"test": "mocha server/test/ frontend/test/ backend/test/ event/test/ mongoose/test/ node/test/"
},
"repository": {
"type": "git",
"url": "https://github.com/bauha... | {
"name": "bauhausjs",
"version": "0.0.1",
"description": "A modular CMS for Node.js",
"scripts": {
"test": "mocha server/test/ frontend/test/ backend/test/ event/test/ mongoose/test/ node/test/ content/test/"
},
"repository": {
"type": "git",
"url": "https://github.com/bauhausjs/bauhausjs.git"
... | <|file_sep|>original/package.json
{
"name": "bauhausjs",
"version": "0.0.1",
"description": "A modular CMS for Node.js",
"scripts": {
"test": "mocha server/test/ frontend/test/ backend/test/ event/test/ mongoose/test/ node/test/"
},
"repository": {
"type": "git",
"url": "https://github.com/bauha... | 2c7d8f2fe0f5b12c0492507515cc1b8afcfe1b85 | package.json | package.json | JSON |
<|file_sep|>src/couch_log.erl.diff
original:
-export([log/3]).
updated:
-export([debug/2, info/2, notice/2, warning/2, error/2, critical/2, alert/2, emergency/2]).
<|file_sep|>original/src/couch_log.erl
log(debug, Msg, Args) ->
lager:debug(Msg, Args);
log(info, Msg, Args) ->
lager:info(Msg, Args);
log(notice, M... | debug(Fmt, Args) ->
lager:debug(Fmt, Args).
info(Fmt, Args) ->
lager:info(Fmt, Args).
notice(Fmt, Args) ->
lager:notice(Fmt, Args).
warning(Fmt, Args) ->
lager:warning(Fmt, Args).
error(Fmt, Args) ->
lager:error(Fmt, Args).
critical(Fmt, Args) ->
lager:critical(Fmt, Args).
alert(Fmt, Args)... | <|file_sep|>src/couch_log.erl.diff
original:
-export([log/3]).
updated:
-export([debug/2, info/2, notice/2, warning/2, error/2, critical/2, alert/2, emergency/2]).
<|file_sep|>original/src/couch_log.erl
log(debug, Msg, Args) ->
lager:debug(Msg, Args);
log(info, Msg, Args) ->
lager:info(Msg, Args);
log(notice, M... | ed3454670cf960d217e2f38443ed3870bd452c93 | src/couch_log.erl | src/couch_log.erl | Erlang |
<|file_sep|>locales/uk/share.properties.diff
original:
updated:
share_email_body_2=Я знаю, що ви любите Інтернет — я теж! Тому я й приєднався до реформування законодавства про авторське право. Детальніше за посиланням - {emailLink}, долучайтеся до нас!
share_email_body_3=Щиро дякую,
<|file_sep|>original/locales/uk/sha... | headline=Використайте одну з кнопок нижче, аби поінформувати інших.
# Alt text for button
share_email_tooltip=Надіслати Email
# Alt text for button
share_fb_tooltip=Поширити у Facebook
# Alt text for button
share_twitter_tooltip=Поширити у Twitter
# Message when sharing via email, feel free to rephrase the subject so... | <|file_sep|>locales/uk/share.properties.diff
original:
updated:
share_email_body_2=Я знаю, що ви любите Інтернет — я теж! Тому я й приєднався до реформування законодавства про авторське право. Детальніше за посиланням - {emailLink}, долучайтеся до нас!
share_email_body_3=Щиро дякую,
<|file_sep|>original/locales/uk/sha... | 9cf0ac6733d57f5971fe0d815e41a176c0024b99 | locales/uk/share.properties | locales/uk/share.properties | INI |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.