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|>ckanext/virtual_library/templates/snippets/package_item.html.diff
original:
<li><a href="{% url_for '/doc', locale='fr' %}/{{ package.name }}">{{ _('Search Information') }}</a></li>
updated:
<li><a href="{% url_for '/doc', locale='fr' %}/{{ package.name }}">{{ package.name }}</a></li>
<|file_sep|>or... | {% ckan_extends %}
{% import 'macros/vl.html' as vl %}
{% block notes %}{{ vl.ml_text(package.description_ml, client_lang) }}{% endblock %}
{% block heading_title %}
{%- if client_lang == 'fr' -%}
<li><a href="{% url_for '/doc', locale='fr' %}/{{ package.name }}">{{ package.name }}</a></li>
{%- else -%}
<... | <|file_sep|>ckanext/virtual_library/templates/snippets/package_item.html.diff
original:
<li><a href="{% url_for '/doc', locale='fr' %}/{{ package.name }}">{{ _('Search Information') }}</a></li>
updated:
<li><a href="{% url_for '/doc', locale='fr' %}/{{ package.name }}">{{ package.name }}</a></li>
<|file_sep|>or... | c43095e1aac94226183b1cdac01e277efa2f2dcb | ckanext/virtual_library/templates/snippets/package_item.html | ckanext/virtual_library/templates/snippets/package_item.html | HTML |
<|file_sep|>original/zsh/config/functions.zsh
# Create a new directory and enter it.
mkcd() {
mkdir -p "./$1" && cd "./$1"
}
# Fuzzy cd into selected directory.
fd() {
local dir
dir=$(find ${1:-.} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf --height=50% --border) &&
cd "$dir"
... | local dir
dir=$(find ${1:-.} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf --height=50% --border) &&
cd "$dir"
}
docker_clean() {
docker rm -vf $(docker ps -a -q)
docker rmi -f $(docker images -a -q)
}
# Browse Google Chrome history and open selected link in default browser.
... | <|file_sep|>original/zsh/config/functions.zsh
# Create a new directory and enter it.
mkcd() {
mkdir -p "./$1" && cd "./$1"
}
# Fuzzy cd into selected directory.
fd() {
local dir
dir=$(find ${1:-.} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf --height=50% --border) &&
cd "$dir"
... | 017f600729a75aab6d82c3acc75941b799ec2f4e | zsh/config/functions.zsh | zsh/config/functions.zsh | Shell |
<|file_sep|>.travis.yml.diff
original:
osx_image: xcode7.2
updated:
osx_image: xcode8
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.2
xcode_workspace: DRYUI.xcworkspace
xcode_scheme: DRYUI-Example
xcode_sdk: iphonesimulator9.2
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: x... | language: objective-c
osx_image: xcode8
xcode_workspace: DRYUI.xcworkspace
xcode_scheme: DRYUI-Example
xcode_sdk: iphonesimulator10.0 | <|file_sep|>.travis.yml.diff
original:
osx_image: xcode7.2
updated:
osx_image: xcode8
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.2
xcode_workspace: DRYUI.xcworkspace
xcode_scheme: DRYUI-Example
xcode_sdk: iphonesimulator9.2
<|file_sep|>current/.travis.yml
language: objective-c
osx_image: x... | 531ea4b540b8d207c9d351b0e18eea570585f0fd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
"description": "Generate PDF invoices for your customers in laravel",
"type": "library",
"keywords": [
"Laravel", "Invoices", "Generate", "Create",
"Open Source", "Customers", "PDF", "Erik Campobadal"
],
"require": {
"ext-bcmath": "*",
... | "description": "Generate PDF invoices for your customers in laravel",
"type": "library",
"keywords": [
"Laravel", "Invoices", "Generate", "Create",
"Open Source", "Customers", "PDF", "Erik Campobadal"
],
"require": {
"ext-bcmath": "*",
"illuminate/support": "5.*",
... | <|file_sep|>original/composer.json
"description": "Generate PDF invoices for your customers in laravel",
"type": "library",
"keywords": [
"Laravel", "Invoices", "Generate", "Create",
"Open Source", "Customers", "PDF", "Erik Campobadal"
],
"require": {
"ext-bcmath": "*",
... | 4a4f3767e80b1d8ca94a3d7c31605614fe522559 | composer.json | composer.json | JSON |
<|file_sep|>scripts/bootstrap.js.diff
original:
updated:
if (path === "/restart/" + settings.webserver.password) {
res.writeHead(200);
res.end();
reboot();
return;
}
res.writeHead(404);
<|file_sep|>scripts/bootstrap.js.diff
original:
if ... | }
res.writeHead(404);
res.end();
};
client = new irc.ircBot();
client.connect();
httpServer = http.createServer(restartRequestHandler);
httpServer.listen(settings.webserver.port || 8080);
};
var reboot = function() {
client.disconnect("Fetching updates from repository... | <|file_sep|>scripts/bootstrap.js.diff
original:
updated:
if (path === "/restart/" + settings.webserver.password) {
res.writeHead(200);
res.end();
reboot();
return;
}
res.writeHead(404);
<|file_sep|>scripts/bootstrap.js.diff
original:
if ... | 4a90ffa4f1a0ef938a3c5310bdf6e7b9f2afcffe | scripts/bootstrap.js | scripts/bootstrap.js | JavaScript |
<|file_sep|>original/.travis.yml
language: python
cache: pip
dist: xenial
# Supported CPython versions:
# https://en.wikipedia.org/wiki/CPython#Version_history
python:
- 3.6
- 3.7
install:
- pip install pycodestyle pyflakes
- pip install -r requirements.txt
- npm install svgexport -g
script:
# Unit tests
- py... | language: python
cache: pip
dist: xenial
# Supported CPython versions:
# https://en.wikipedia.org/wiki/CPython#Version_history
python:
- 3.6
- 3.7
- 3.8-dev
install:
- pip install pycodestyle pyflakes
- pip install -r requirements.txt
- npm install svgexport -g
script:
# Unit tests
- python test_utils.py
#... | <|file_sep|>original/.travis.yml
language: python
cache: pip
dist: xenial
# Supported CPython versions:
# https://en.wikipedia.org/wiki/CPython#Version_history
python:
- 3.6
- 3.7
install:
- pip install pycodestyle pyflakes
- pip install -r requirements.txt
- npm install svgexport -g
script:
# Unit tests
- py... | 637e53d4905f0f40124646a0c89151113c55b440 | .travis.yml | .travis.yml | YAML |
<|file_sep|>github-dark.sh.diff
original:
updated:
safe_sed() {
if sed --version > /dev/null 2>&1; then
sed -i"" "$@"
else
sed -i "" "$@"
fi
}
<|file_sep|>github-dark.sh.diff
original:
sed -i "" "s=.*nowrap=/**=" "$file"
updated:
safe_sed "s=.*nowrap=/**=" "$file"
<|file_sep|>github-dark.sh.diff
origina... | if sed --version > /dev/null 2>&1; then
sed -i"" "$@"
else
sed -i "" "$@"
fi
}
file=github.com.css
url=https://raw.githubusercontent.com/StylishThemes/GitHub-Dark/master/github-dark.css
curl "$url" -o "$file"
# This is kind of a hack, allow code blocks to scroll
safe_sed "s=.*nowrap=/**=" "$file"
# Se... | <|file_sep|>github-dark.sh.diff
original:
updated:
safe_sed() {
if sed --version > /dev/null 2>&1; then
sed -i"" "$@"
else
sed -i "" "$@"
fi
}
<|file_sep|>github-dark.sh.diff
original:
sed -i "" "s=.*nowrap=/**=" "$file"
updated:
safe_sed "s=.*nowrap=/**=" "$file"
<|file_sep|>github-dark.sh.diff
origina... | 901d533f40639fbf89c974e5bae1739b27933702 | github-dark.sh | github-dark.sh | Shell |
<|file_sep|>original/lib/ansible/runner/connection/__init__.py
import ssh
class Connection(object):
''' Handles abstract connections to remote hosts '''
def __init__(self, runner):
self.runner = runner
def connect(self, host, port=None):
conn = None
transport = self.runner.transpo... | import ssh
class Connection(object):
''' Handles abstract connections to remote hosts '''
def __init__(self, runner):
self.runner = runner
def connect(self, host, port=None):
conn = None
transport = self.runner.transport
if transport == 'local':
conn = local.Lo... | <|file_sep|>original/lib/ansible/runner/connection/__init__.py
import ssh
class Connection(object):
''' Handles abstract connections to remote hosts '''
def __init__(self, runner):
self.runner = runner
def connect(self, host, port=None):
conn = None
transport = self.runner.transpo... | b542dd8466aa4b1c1373d320d860dbb92132c962 | lib/ansible/runner/connection/__init__.py | lib/ansible/runner/connection/__init__.py | Python |
<|file_sep|>core/app/models/spree/promotion_rule.rb.diff
original:
belongs_to :promotion, class_name: 'Spree::Promotion', inverse_of: :promotion_rules
updated:
belongs_to :promotion, class_name: 'Spree::Promotion', inverse_of: :promotion_rules,
required: true
<|file_sep|>original/core/app/models/spree/pro... | # Base class for all promotion rules
module Spree
class PromotionRule < Spree::Base
belongs_to :promotion, class_name: 'Spree::Promotion', inverse_of: :promotion_rules,
required: true
scope :of_type, ->(t) { where(type: t) }
validate :unique_per_promotion, on: :create
def self.for(promotable)... | <|file_sep|>core/app/models/spree/promotion_rule.rb.diff
original:
belongs_to :promotion, class_name: 'Spree::Promotion', inverse_of: :promotion_rules
updated:
belongs_to :promotion, class_name: 'Spree::Promotion', inverse_of: :promotion_rules,
required: true
<|file_sep|>original/core/app/models/spree/pro... | 68591c7e5169908106d188a5cb9c0bf2094e7c68 | core/app/models/spree/promotion_rule.rb | core/app/models/spree/promotion_rule.rb | Ruby |
<|file_sep|>original/.travis.yml
language: java
install: mvn install -U -DskipTests=true
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroup... | language: java
install: mvn install -U -q -DskipTests=true
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroups.com
on_success: [chang... | <|file_sep|>original/.travis.yml
language: java
install: mvn install -U -DskipTests=true
script: mvn install -Pitests,checkstyle,licenseCheck
notifications:
email:
recipients:
- openengsb-notification@googlegroup... | c12c3268f4e6873c2be53b085bd1939507fdda14 | .travis.yml | .travis.yml | YAML |
<|file_sep|>scripts/travis_build.sh.diff
original:
PKGS=$(go list ./... | grep -v /vendor/ | grep -v /tools/ | grep -v /testhelpers/)
updated:
PKGS=$(go list ./... | grep -v "/vendor\|/tools\|/testhelpers\|/releases\|/cmd")
<|file_sep|>original/scripts/travis_build.sh
set -u
# Make a list of all non-vendored packages.... | #!/bin/sh
# Make sure the script fails fast.
set -e
set -u
# Make a list of all non-vendored packages.
PKGS=$(go list ./... | grep -v "/vendor\|/tools\|/testhelpers\|/releases\|/cmd")
PKGS_DELIM=$(echo $PKGS | sed -e 's/ /,/g')
echo "Check that the code meets quality standards"
go fmt $PKGS
go vet $PKGS
echo "Run t... | <|file_sep|>scripts/travis_build.sh.diff
original:
PKGS=$(go list ./... | grep -v /vendor/ | grep -v /tools/ | grep -v /testhelpers/)
updated:
PKGS=$(go list ./... | grep -v "/vendor\|/tools\|/testhelpers\|/releases\|/cmd")
<|file_sep|>original/scripts/travis_build.sh
set -u
# Make a list of all non-vendored packages.... | 1c1e73ee5a1bd5a5fbfbcff430d6702bc69bd992 | scripts/travis_build.sh | scripts/travis_build.sh | Shell |
<|file_sep|>original/requirements.txt
# Python3 enabled versions
-e git+https://github.com/julienaubert/django-uuidfield.git@python3#egg=django-uuidfield
-e git+https://github.com/EnTeQuAk/babel.git@support/py3k#egg=babel
# Django 1.7 enabled versions
-e git+https://github.com/pennersr/django-allauth@71f74bf4d7cfe38d1... | # Python3 enabled versions
-e git+https://github.com/julienaubert/django-uuidfield.git@python3#egg=django-uuidfield
-e git+https://github.com/EnTeQuAk/babel.git@support/py3k#egg=babel
# Django 1.7 enabled versions
-e git+https://github.com/EnTeQuAk/django-allauth.git@bugfix/django17#egg=django-allauth | <|file_sep|>original/requirements.txt
# Python3 enabled versions
-e git+https://github.com/julienaubert/django-uuidfield.git@python3#egg=django-uuidfield
-e git+https://github.com/EnTeQuAk/babel.git@support/py3k#egg=babel
# Django 1.7 enabled versions
-e git+https://github.com/pennersr/django-allauth@71f74bf4d7cfe38d1... | 17049c667670569922277955d7afc6642ba1c0d1 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.1
bumpversion==0.5.3
elpy==1.15.0
docker-compose==1.13.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.0.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.0
yapf==0.16.2
<|file_sep|>current/require... | -r test.txt
autopep8==1.3.1
bumpversion==0.5.3
elpy==1.15.0
docker-compose==1.14.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.0.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.0
yapf==0.16.2 | <|file_sep|>original/requirements/dev.txt
-r test.txt
autopep8==1.3.1
bumpversion==0.5.3
elpy==1.15.0
docker-compose==1.13.0
epc==0.0.5
flake8==3.3.0
grip==4.3.2
importmagic==0.1.7
ipython==6.0.0
ipdb==0.10.3
ipython-genutils==0.2.0
jedi==0.10.2
pylint==1.7.1
pre-commit==0.14.0
yapf==0.16.2
<|file_sep|>current/require... | e6dfbb0048bf0d42434da86637fb2c9e1ce1909a | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/app/helpers/admin/content_data_routes_helper.rb
module Admin::ContentDataRoutesHelper
def content_data_base_url
@content_data_base_url ||= "#{Plek.find('content-data')}/content"
end
end
<|file_sep|>current/app/helpers/admin/content_data_routes_helper.rb
module Admin::ContentDataRoutesHelper... | module Admin::ContentDataRoutesHelper
def content_data_base_url
@content_data_base_url ||= "#{Plek.current.external_url_for('content-data')}/content"
end
end | <|file_sep|>original/app/helpers/admin/content_data_routes_helper.rb
module Admin::ContentDataRoutesHelper
def content_data_base_url
@content_data_base_url ||= "#{Plek.find('content-data')}/content"
end
end
<|file_sep|>current/app/helpers/admin/content_data_routes_helper.rb
module Admin::ContentDataRoutesHelper... | 0b7515500ef0967d545778e443e6c4c13c009b61 | app/helpers/admin/content_data_routes_helper.rb | app/helpers/admin/content_data_routes_helper.rb | Ruby |
<|file_sep|>original/app/widgets/Account/_account_form.tpl
<section class="scroll">
<form name="register" data-sessionid="{$attributes->sessionid}" data-node="{$attributes->node}">
{$form}
</form>
</section>
<div>
<button onclick="Dialog_ajaxClear()" class="button flat">
{$c->__('button.clos... | <section class="scroll">
<form name="register" data-sessionid="{$attributes->sessionid}" data-node="{$attributes->node}">
{autoescape="off"}
{$form}
{/autoescape}
</form>
</section>
<div>
<button onclick="Dialog_ajaxClear()" class="button flat">
{$c->__('button.close')}
... | <|file_sep|>original/app/widgets/Account/_account_form.tpl
<section class="scroll">
<form name="register" data-sessionid="{$attributes->sessionid}" data-node="{$attributes->node}">
{$form}
</form>
</section>
<div>
<button onclick="Dialog_ajaxClear()" class="button flat">
{$c->__('button.clos... | 537f93a21c0292e511386b23a7331a528da2ea06 | app/widgets/Account/_account_form.tpl | app/widgets/Account/_account_form.tpl | Smarty |
<|file_sep|>original/.git_commit_msg.txt
<|file_sep|>current/.git_commit_msg.txt
<|file_sep|>updated/.git_commit_msg.txt | # If applied, this commit will...
# Explain why this change is being made
# Provide links to any relevant tickets, articles or other resources
#EXAMPLE OF COMMITT
#Summarize changes in around 50 characters or less
#More detailed explanatory text, if necessary. Wrap it to about 72
#characters or so. In some context... | <|file_sep|>original/.git_commit_msg.txt
<|file_sep|>current/.git_commit_msg.txt
<|file_sep|>updated/.git_commit_msg.txt
# If applied, this commit will...
# Explain why this change is being made
# Provide links to any relevant tickets, articles or other resources
#EXAMPLE OF COMMITT
#Summarize changes in around 5... | 1cd2e5a98ede8024a5cff96c0041a332e27be773 | .git_commit_msg.txt | .git_commit_msg.txt | Text |
<|file_sep|>original/scripts/serve.sh
#!/bin/zsh
WD=$(greadlink -f $(dirname "$0"))
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
function win() {
printf "\n${GREEN}$1${NC}\n"
}
function warn() {
printf "\n${YELLOW}$1${NC}\n"
}
function error() {
printf "\n${RED}$1${NC}\n"
}
<|f... | #!/bin/zsh
WD=$(readlink -f $(dirname "$0"))
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
function win() {
printf "\n${GREEN}$1${NC}\n"
}
function warn() {
printf "\n${YELLOW}$1${NC}\n"
}
function error() {
printf "\n${RED}$1${NC}\n"
}
| <|file_sep|>original/scripts/serve.sh
#!/bin/zsh
WD=$(greadlink -f $(dirname "$0"))
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
RED='\033[0;31m'
NC='\033[0m'
function win() {
printf "\n${GREEN}$1${NC}\n"
}
function warn() {
printf "\n${YELLOW}$1${NC}\n"
}
function error() {
printf "\n${RED}$1${NC}\n"
}
<|f... | d733a53aab310b638fa9446ce0a94fc038fc8e9c | scripts/serve.sh | scripts/serve.sh | Shell |
<|file_sep|>original/Library/Contributions/cmd/brew-tap-readme.rb
<|file_sep|>current/Library/Contributions/cmd/brew-tap-readme.rb
<|file_sep|>updated/Library/Contributions/cmd/brew-tap-readme.rb | name = ARGV.first
raise "A name is required" if name.nil?
template = <<-EOS
Homebrew-#{name}
=========#{'=' * name.size}
How do I install these formulae?
--------------------------------
Just `brew tap homebrew/#{name}` and then `brew install <formula>`.
If the formula conflicts with one from mxcl/master or another... | <|file_sep|>original/Library/Contributions/cmd/brew-tap-readme.rb
<|file_sep|>current/Library/Contributions/cmd/brew-tap-readme.rb
<|file_sep|>updated/Library/Contributions/cmd/brew-tap-readme.rb
name = ARGV.first
raise "A name is required" if name.nil?
template = <<-EOS
Homebrew-#{name}
=========#{'=' * name.size}... | fa05fc2451fd7598c32d76edac44c24efacd753c | Library/Contributions/cmd/brew-tap-readme.rb | Library/Contributions/cmd/brew-tap-readme.rb | Ruby |
<|file_sep|>original/README.md
## Contributing
To contribute to the server, please follow these lists of basic guidelines:
1. TBD
2. TBD
3. TBD
## Who
The server is managed by [Justin W. Flory](https://github.com/jflory7) in part with FOSS@MAGIC.
## License
Any unique content in this repository is licensed un... |
## Contributing
To contribute to the server, please follow these lists of basic guidelines:
1. TBD
2. TBD
3. TBD
## Development and Planning
All planning and development work for this server currently happens in a [Trello board](https://trello.com/b/GOAlCZ40). This may move to a more FOSS-friendly solution as tim... | <|file_sep|>original/README.md
## Contributing
To contribute to the server, please follow these lists of basic guidelines:
1. TBD
2. TBD
3. TBD
## Who
The server is managed by [Justin W. Flory](https://github.com/jflory7) in part with FOSS@MAGIC.
## License
Any unique content in this repository is licensed un... | 52ba3defa8b640dad76ffe7b70017c9fb8a692f7 | README.md | README.md | Markdown |
<|file_sep|>original/Borderlands2GoldenKeys/Borderlands2GoldenKeys/browserconfig.xml
<?xml version="1.0" encoding="utf-8"?><browserconfig><msapplication><tile><square70x70logo src="Content/images/Golden Keys/tiny.png"/><square150x150logo src="Content/images/Golden Keys/square.png"/><wide310x150logo src="Content/images/... | <?xml version="1.0" encoding="utf-8"?><browserconfig><msapplication><tile><square70x70logo src="Content/images/Golden Keys/tiny.png"/><square150x150logo src="Content/images/Golden Keys/square.png"/><wide310x150logo src="Content/images/Golden Keys/wide.png"/><square310x310logo src="Content/images/Golden Keys/large.png"/... | <|file_sep|>original/Borderlands2GoldenKeys/Borderlands2GoldenKeys/browserconfig.xml
<?xml version="1.0" encoding="utf-8"?><browserconfig><msapplication><tile><square70x70logo src="Content/images/Golden Keys/tiny.png"/><square150x150logo src="Content/images/Golden Keys/square.png"/><wide310x150logo src="Content/images/... | 0201f0c8d431fe2aae61988736180e61b291c028 | Borderlands2GoldenKeys/Borderlands2GoldenKeys/browserconfig.xml | Borderlands2GoldenKeys/Borderlands2GoldenKeys/browserconfig.xml | XML |
<|file_sep|>config/prisons/HDI-hatfield-open.yml.diff
original:
updated:
2015-12-22:
- 1400-1600
<|file_sep|>original/config/prisons/HDI-hatfield-open.yml
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
slots:
t... | 2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
2015-12-22:
- 1400-1600
slots:
thu:
- 1400-1600
sat:
- 1400-1600
sun:
- 1400-1600
- 0930-1130
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-01-01
- 2015-12-24
- 2015-12-26
- 2015-12-31 | <|file_sep|>config/prisons/HDI-hatfield-open.yml.diff
original:
updated:
2015-12-22:
- 1400-1600
<|file_sep|>original/config/prisons/HDI-hatfield-open.yml
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
slots:
t... | de554bc1f1e6ebcdb4e695e1e780b16733074a5a | config/prisons/HDI-hatfield-open.yml | config/prisons/HDI-hatfield-open.yml | YAML |
<|file_sep|>original/src/main/workflo/macros/entity/datascript.cljc
<|file_sep|>current/src/main/workflo/macros/entity/datascript.cljc
<|file_sep|>updated/src/main/workflo/macros/entity/datascript.cljc | (ns workflo.macros.entity.datascript
(:require [datascript.core :as d]
[workflo.macros.entity.schema :as es]))
(defn attr-schema
[attr-opts]
(reduce (fn [opts opt]
(cond-> opts
(= :ref opt)
(assoc :db/valueType :db.type/ref)
(= :many opt)
... | <|file_sep|>original/src/main/workflo/macros/entity/datascript.cljc
<|file_sep|>current/src/main/workflo/macros/entity/datascript.cljc
<|file_sep|>updated/src/main/workflo/macros/entity/datascript.cljc
(ns workflo.macros.entity.datascript
(:require [datascript.core :as d]
[workflo.macros.entity.schema :... | 95aedf152b5e52717585b73148c0102753aee971 | src/main/workflo/macros/entity/datascript.cljc | src/main/workflo/macros/entity/datascript.cljc | Clojure |
<|file_sep|>original/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md
<|file_sep|>current/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md
<|file_sep|>updated/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md | # MetaGMEParadigmImporter
Imports an existing paradigm file (.xmp) from GME to WebGME.
The importer has many limitations, but will give a good starting point for your language.
## Usage
Follow the steps below to import and existing meta-model (.xmp) file.
1. Create a new empty project this step is important
2. Do... | <|file_sep|>original/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md
<|file_sep|>current/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md
<|file_sep|>updated/src/plugin/coreplugins/MetaGMEParadigmImporter/README.md
# MetaGMEParadigmImporter
Imports an existing paradigm file (.xmp) from GME to WebGME... | e070aaf7162b5a832a903ffec938ff484e2131af | src/plugin/coreplugins/MetaGMEParadigmImporter/README.md | src/plugin/coreplugins/MetaGMEParadigmImporter/README.md | Markdown |
<|file_sep|>original/requirements.txt
pbr>=0.6,!=0.7,<1.0
urwid>=1.2.1,!=1.3.0
SQLAlchemy>=0.9.4
GitPython>=0.3.2.RC1
python-dateutil
requests>=2.5.3,<3.0.0
ordereddict
alembic>=0.6.4
PyYAML>=3.1.0
voluptuous>=0.7
ply>=3.4
six
<|file_sep|>current/requirements.txt
pbr>=0.6,!=0.7,<1.0
urwid>=1.2.1,!=1.3.0
SQLAlchemy>=0... | pbr>=0.6,!=0.7,<1.0
urwid>=1.2.1,!=1.3.0
SQLAlchemy>=1.0.4
GitPython>=0.3.2.RC1
python-dateutil
requests>=2.5.3,<3.0.0
ordereddict
alembic>=0.6.4
PyYAML>=3.1.0
voluptuous>=0.7
ply>=3.4
six | <|file_sep|>original/requirements.txt
pbr>=0.6,!=0.7,<1.0
urwid>=1.2.1,!=1.3.0
SQLAlchemy>=0.9.4
GitPython>=0.3.2.RC1
python-dateutil
requests>=2.5.3,<3.0.0
ordereddict
alembic>=0.6.4
PyYAML>=3.1.0
voluptuous>=0.7
ply>=3.4
six
<|file_sep|>current/requirements.txt
pbr>=0.6,!=0.7,<1.0
urwid>=1.2.1,!=1.3.0
SQLAlchemy>=0... | 4519a9ff87ae696213fe05d01e334e623da444ab | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/views/message_threads/edit.html.haml
%header
%h1= t ".title"
%p= t ".description"
%p= t ".thread_fix_warning_html"
%section
= semantic_form_for @thread, as: :thread, url: thread_path(@thread) do |f|
= f.inputs do
= f.input :title
= f.input :group
= f.input :privacy... | %header
%h1= t ".title"
%p= t ".description"
%p= t ".thread_fix_warning_html"
%section
= semantic_form_for @thread, as: :thread, url: thread_path(@thread) do |f|
= f.inputs do
= f.input :title
- unless f.object.private_message?
= f.input :group
= f.input :privacy, as: :select, co... | <|file_sep|>original/app/views/message_threads/edit.html.haml
%header
%h1= t ".title"
%p= t ".description"
%p= t ".thread_fix_warning_html"
%section
= semantic_form_for @thread, as: :thread, url: thread_path(@thread) do |f|
= f.inputs do
= f.input :title
= f.input :group
= f.input :privacy... | ef7578ae4270ce3bebe6ccdc1ebd54ddc572f746 | app/views/message_threads/edit.html.haml | app/views/message_threads/edit.html.haml | Haml |
<|file_sep|>pritunl_node/call_buffer.py.diff
original:
callback = self.call_waiters.pop(id)
updated:
callback = self.call_waiters.pop(id, None)
<|file_sep|>pritunl_node/call_buffer.py.diff
original:
def create_call(self, command, args, callback):
updated:
def create_call(self, command, args, cal... |
def return_call(self, id, response):
callback = self.call_waiters.pop(id, None)
if callback:
callback(response)
def create_call(self, command, args, callback=None):
call_id = uuid.uuid4().hex
call = {
'id': call_id,
'command': command,
... | <|file_sep|>pritunl_node/call_buffer.py.diff
original:
callback = self.call_waiters.pop(id)
updated:
callback = self.call_waiters.pop(id, None)
<|file_sep|>pritunl_node/call_buffer.py.diff
original:
def create_call(self, command, args, callback):
updated:
def create_call(self, command, args, cal... | d794fea9cce98c719caef69b1c50f2783da81b1d | pritunl_node/call_buffer.py | pritunl_node/call_buffer.py | Python |
<|file_sep|>original/README.md
# Advent Of Code Solutions
This repository contains the solutions to [Advent of Code](https://adventofcode.com) problems I have solved.
There be dragons here, especially in 2015. No guarantee anything will work for you.
I tried to do 2015 entirely in Rust. For 2016 I hope to try multip... | # Advent Of Code Solutions
This repository contains the solutions to [Advent of Code](https://adventofcode.com) problems I have solved.
There be dragons here, especially in 2015. No guarantee anything will work for you.
I tried to do 2015 entirely in Rust, though I didn't / haven't gotten far.
I haven't finished any... | <|file_sep|>original/README.md
# Advent Of Code Solutions
This repository contains the solutions to [Advent of Code](https://adventofcode.com) problems I have solved.
There be dragons here, especially in 2015. No guarantee anything will work for you.
I tried to do 2015 entirely in Rust. For 2016 I hope to try multip... | af8bbe685a235aea51c3a7197f79221f93c8641b | README.md | README.md | Markdown |
<|file_sep|>original/requirements-test.txt
nose==1.3.7
mock==1.3.0
behave==1.2.5
pyfakefs==2.5
<|file_sep|>current/requirements-test.txt
nose==1.3.7
mock==1.3.0
behave==1.2.5
pyfakefs==2.5
<|file_sep|>updated/requirements-test.txt | nose==1.3.7
mock==1.3.0
behave==1.2.5 | <|file_sep|>original/requirements-test.txt
nose==1.3.7
mock==1.3.0
behave==1.2.5
pyfakefs==2.5
<|file_sep|>current/requirements-test.txt
nose==1.3.7
mock==1.3.0
behave==1.2.5
pyfakefs==2.5
<|file_sep|>updated/requirements-test.txt
nose==1.3.7
mock==1.3.0
behave==1.2.5 | df059db911861957ac322779d6f72f3d37ed60f1 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>docs/index.rst.diff
original:
First you need to install autoapi.
updated:
First you need to install autoapi:
<|file_sep|>original/docs/index.rst
pip install sphinx-autoapi
Then add it to your Sphinx project's ``conf.py``:
.. code:: python
extensions = ['autoapi.extension']
autoapi_type = 'python'
au... | pip install sphinx-autoapi
Then add it to your Sphinx project's ``conf.py``:
.. code:: python
extensions = ['autoapi.extension']
autoapi_type = 'python'
autoapi_dir = 'path/to/my/project/files'
Then in your ``index.rst``, add autoapi to your TOC tree:
.. code:: rst
.. toctree::
autoapi/index
See all a... | <|file_sep|>docs/index.rst.diff
original:
First you need to install autoapi.
updated:
First you need to install autoapi:
<|file_sep|>original/docs/index.rst
pip install sphinx-autoapi
Then add it to your Sphinx project's ``conf.py``:
.. code:: python
extensions = ['autoapi.extension']
autoapi_type = 'python'
au... | 2f8d1de6169893a470a4fd370ef51f1b23f977c0 | docs/index.rst | docs/index.rst | reStructuredText |
<|file_sep|>original/.travis/check-links.sh
./.travis/is-master.sh \
|| exit 0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gem install awesome_bot \
&& find . -name "*.md" \
-not -path "./node_modules/*" \
-not -path "./dist/*" \
-not -path... | ./.travis/is-master.sh \
|| exit 0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gem install awesome_bot \
&& find . -name "*.md" \
-not -path "./node_modules/*" \
-not -path "./dist/*" \
-not -path "./coverage/*" \
-exec awesom... | <|file_sep|>original/.travis/check-links.sh
./.travis/is-master.sh \
|| exit 0
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
gem install awesome_bot \
&& find . -name "*.md" \
-not -path "./node_modules/*" \
-not -path "./dist/*" \
-not -path... | b64c98ac3419b207a6a2670679b5a74c56675431 | .travis/check-links.sh | .travis/check-links.sh | Shell |
<|file_sep|>original/sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/Properties/AssemblyInfo.cs
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... | using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Microsoft.WindowsAzure.Mobile.Ext.iOS")]
[assembly: AssemblyDescrip... | <|file_sep|>original/sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/Properties/AssemblyInfo.cs
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... | d3d61cc54f4f9cc2a589d3e5d8d57bda2d6a1fe6 | sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/Properties/AssemblyInfo.cs | sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/Properties/AssemblyInfo.cs | C# |
<|file_sep|>manifest.json.diff
original:
"version": "1.0",
updated:
"version": "1.0.1",
<|file_sep|>original/manifest.json
"web_accessible_resources": [
"images/jira.png"
],
"content_scripts": [
{
"matches": ["*://github.com/*"],
"js": ["vendor/jquery-2.1.4.... | "256": "images/icon256.png",
"512": "images/icon512.png"
},
"web_accessible_resources": [
"images/jira.png"
],
"content_scripts": [
{
"matches": ["*://github.com/*"],
"js": ["vendor/jquery-2.1.4.min.js", "src/content.js"],
"run_at": "... | <|file_sep|>manifest.json.diff
original:
"version": "1.0",
updated:
"version": "1.0.1",
<|file_sep|>original/manifest.json
"web_accessible_resources": [
"images/jira.png"
],
"content_scripts": [
{
"matches": ["*://github.com/*"],
"js": ["vendor/jquery-2.1.4.... | 4147d8a5d8dd210c46f949d11ce472d197625c65 | manifest.json | manifest.json | JSON |
<|file_sep|>original/Samples/TypeCompilationOrderTesting.cs
<|file_sep|>current/Samples/TypeCompilationOrderTesting.cs
<|file_sep|>updated/Samples/TypeCompilationOrderTesting.cs | using System;
using System.Collections.Generic;
using System.Text;
using VCSFramework;
namespace Samples
{
public static class Foo
{
[AlwaysInline]
public static void Run()
{
}
}
// TODO - This is not supported yet.
public static class TypeCompilationOrderTesting
{
private static byte TestByte;
| <|file_sep|>original/Samples/TypeCompilationOrderTesting.cs
<|file_sep|>current/Samples/TypeCompilationOrderTesting.cs
<|file_sep|>updated/Samples/TypeCompilationOrderTesting.cs
using System;
using System.Collections.Generic;
using System.Text;
using VCSFramework;
namespace Samples
{
public static class Foo
{
[... | 36e71860f946f417f9a46cdfc7d788a07e833e28 | Samples/TypeCompilationOrderTesting.cs | Samples/TypeCompilationOrderTesting.cs | C# |
<|file_sep|>original/plots/templates/flot-chart.html
<|file_sep|>current/plots/templates/flot-chart.html
<|file_sep|>updated/plots/templates/flot-chart.html | <!DOCTYPE html>
<html>
<head>
<title>Experimentation with Flot</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.flot.js"></script>
<script type="text/javascript" src="js/jquery.flot.axislabels.js"></script>
<script type="text/javascrip... | <|file_sep|>original/plots/templates/flot-chart.html
<|file_sep|>current/plots/templates/flot-chart.html
<|file_sep|>updated/plots/templates/flot-chart.html
<!DOCTYPE html>
<html>
<head>
<title>Experimentation with Flot</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text... | 9abe1b1c10946096a0b4038fba8f96a21402fab8 | plots/templates/flot-chart.html | plots/templates/flot-chart.html | HTML |
<|file_sep|>original/src/Models/ProjectIssues.coffee
params.page ?= 1
params.per_page ?= 100
do (->
data = []
cb = (err, retData) =>
if err
return fn data if fn
if retData.length == params.per_page
@debug "Recurse ProjectIssues::list()"
data = data.... | data = data.concat(retData)
params.page++
return @get "projects/#{Utils.parseProjectId projectId}/issues", params, cb
else
data = data.concat(retData)
return fn data if fn
@get "projects/#{Utils.parseProjectId projectId}/issues", params, cb
).bind(@)
... | <|file_sep|>original/src/Models/ProjectIssues.coffee
params.page ?= 1
params.per_page ?= 100
do (->
data = []
cb = (err, retData) =>
if err
return fn data if fn
if retData.length == params.per_page
@debug "Recurse ProjectIssues::list()"
data = data.... | 2830e8ffe02425a82cfcb3f8ca7d1b1a1f59a7c4 | src/Models/ProjectIssues.coffee | src/Models/ProjectIssues.coffee | CoffeeScript |
<|file_sep|>AUTHORS.md.diff
original:
* Michael Böttcher <michael.bottcher@riken.jp>: Managed the download and renaming of FASTQ files from DDBJ. Was in charge of renaming and submitting the Cellomics image files to Dryad (add link here later), drafting the manuscript and was involved in critical reviewing of ... |
This repository contains the contributions of the following people
(in alphabetical order).
* Michael Böttcher <michael.bottcher@riken.jp> managed the download and renaming
of FASTQ files from [DDBJ](DDBJ), the renaming and submitting the Cellomics image
files to Dryad (add link here later), drafting the manus... | <|file_sep|>AUTHORS.md.diff
original:
* Michael Böttcher <michael.bottcher@riken.jp>: Managed the download and renaming of FASTQ files from DDBJ. Was in charge of renaming and submitting the Cellomics image files to Dryad (add link here later), drafting the manuscript and was involved in critical reviewing of ... | 94406dae3961cc139e02f25f97a19a2f1cf665bc | AUTHORS.md | AUTHORS.md | Markdown |
<|file_sep|>cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb.diff
original:
directory '/usr/cumulus/bin' do
recursive true
end
directory '/etc/cumulus' do
updated:
%w( /etc/cumulus /usr/cumulus/bin /etc/network/ifupdown2/templates ).each do |cldir|
directory cldir do
recursive true
end
<|file... | # Setup the Cumulus repository and install ifupdown2
execute 'apt-update' do
command 'apt-get update'
action :nothing
end
file '/etc/apt/sources.list.d/cumulus.list' do
content 'deb [ arch=amd64 ] http://repo.cumulusnetworks.com CumulusLinux-2.5 main'
notifies :run, 'execute[apt-update]', :immediately
end
%w(... | <|file_sep|>cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb.diff
original:
directory '/usr/cumulus/bin' do
recursive true
end
directory '/etc/cumulus' do
updated:
%w( /etc/cumulus /usr/cumulus/bin /etc/network/ifupdown2/templates ).each do |cldir|
directory cldir do
recursive true
end
<|file... | 48fe1fad82fea75579ae2ddb203e754ee83ff1ff | cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb | cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb | Ruby |
<|file_sep|>original/rst2pdf/tests/input/test_issue_65.py
<|file_sep|>current/rst2pdf/tests/input/test_issue_65.py
<|file_sep|>updated/rst2pdf/tests/input/test_issue_65.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from reportlab.platypus import SimpleDocTemplate, Paragraph
from reportlab.platypus.tables import *
def go():
Story=[]
doc = SimpleDocTemplate("phello.pdf")
cell=[Paragraph('A',ParagraphStyle(name='Normal',
... | <|file_sep|>original/rst2pdf/tests/input/test_issue_65.py
<|file_sep|>current/rst2pdf/tests/input/test_issue_65.py
<|file_sep|>updated/rst2pdf/tests/input/test_issue_65.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from reportlab.platypus import SimpleDocTemplate, Paragraph
from reportlab.platypus.tables import *... | 7d2f454eb5302b62a9c22c69c319f6c9f8bab7fe | rst2pdf/tests/input/test_issue_65.py | rst2pdf/tests/input/test_issue_65.py | Python |
<|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt
# Bleeding edge Django
django==1.8.3
# Configuration
django-environ==0.3.0
django-secure==1.0.1
{% if cookiecutter.use_whitenoise == 'y' -%}
whitenoise==2.0.2
{%- endif %}
# Forms
django-braces==1.8.1
django-crispy-forms==1.4.0
django-floppyforms=... | # Bleeding edge Django
django==1.8.4
# Configuration
django-environ==0.3.0
django-secure==1.0.1
{% if cookiecutter.use_whitenoise == 'y' -%}
whitenoise==2.0.2
{%- endif %}
# Forms
django-braces==1.8.1
django-crispy-forms==1.4.0
django-floppyforms==1.5.2
# Models
django-model-utils==2.3.1
# Images
Pillow==2.9.0 | <|file_sep|>original/{{cookiecutter.repo_name}}/requirements/base.txt
# Bleeding edge Django
django==1.8.3
# Configuration
django-environ==0.3.0
django-secure==1.0.1
{% if cookiecutter.use_whitenoise == 'y' -%}
whitenoise==2.0.2
{%- endif %}
# Forms
django-braces==1.8.1
django-crispy-forms==1.4.0
django-floppyforms=... | 83dab0b380ea01390ee747c535befed9ee4e317b | {{cookiecutter.repo_name}}/requirements/base.txt | {{cookiecutter.repo_name}}/requirements/base.txt | Text |
<|file_sep|>original/public/locales/hus/send.ftl
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }h { $minutes }m
# A short representation of a countdown timer containing the number of minutes remaining as dig... | # Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteFeedback = Ka olna' max jant'oj yab u t'ojnal alwa'
importingFile = k'wajat i chiyál...
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes... | <|file_sep|>original/public/locales/hus/send.ftl
# A short representation of a countdown timer containing the number of hours and minutes remaining as digits, example "13h 47m"
expiresHoursMinutes = { $hours }h { $minutes }m
# A short representation of a countdown timer containing the number of minutes remaining as dig... | 71ceffd9b4c482006df6f193462ffea2e495ffcc | public/locales/hus/send.ftl | public/locales/hus/send.ftl | FreeMarker |
<|file_sep|>original/build.sbt
import com.github.retronym.SbtOneJar._
oneJarSettings
name := "api-build"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
version := "0.1.1"
exportJars := true
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe... | import com.github.retronym.SbtOneJar._
oneJarSettings
name := "api-build"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
version := "0.1.2"
exportJars := true
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.5.9"... | <|file_sep|>original/build.sbt
import com.github.retronym.SbtOneJar._
oneJarSettings
name := "api-build"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
version := "0.1.1"
exportJars := true
lazy val root = project
.in(file("."))
.settings(
libraryDependencies ++= Seq(
"com.typesafe... | 956b93244d3a2add0a60c23f0994acace170662f | build.sbt | build.sbt | Scala |
<|file_sep|>original/lib/ambition/adapters/ambitious_sphinx/base.rb
end
def has_operator? str
str =~ /(AND|OR|NOT)/
end
def needs_quoting? str
not (has_operator?(str) or has_field?(str))
end
def quotify str
if needs... | end
def has_operator? str
str =~ /(AND|OR|NOT)/
end
def needs_quoting? str
not (has_operator?(str) or has_field?(str))
end
def quotify str
if needs_quoting?(str)
%Q("#{str}")
else
s... | <|file_sep|>original/lib/ambition/adapters/ambitious_sphinx/base.rb
end
def has_operator? str
str =~ /(AND|OR|NOT)/
end
def needs_quoting? str
not (has_operator?(str) or has_field?(str))
end
def quotify str
if needs... | d94038ab3af70ce0ac51b39a78dab428e2daf381 | lib/ambition/adapters/ambitious_sphinx/base.rb | lib/ambition/adapters/ambitious_sphinx/base.rb | Ruby |
<|file_sep|>original/src/Handler/CanNotInvokeHandler.php
$exception = new self(
'Could not invoke handler for command ' . $type .
' for reason: ' . $reason
);
$exception->command = $command;
return $exception;
}
private function __construct(string $mess... |
$exception = new self(
'Could not invoke handler for command ' . $type .
' for reason: ' . $reason
);
$exception->command = $command;
return $exception;
}
private function __construct(string $message = '', int $code = 0, Throwable $previous = null)
... | <|file_sep|>original/src/Handler/CanNotInvokeHandler.php
$exception = new self(
'Could not invoke handler for command ' . $type .
' for reason: ' . $reason
);
$exception->command = $command;
return $exception;
}
private function __construct(string $mess... | aac90abbfa916e942f00ab3255b9ba5787258906 | src/Handler/CanNotInvokeHandler.php | src/Handler/CanNotInvokeHandler.php | PHP |
<|file_sep|>original/docs/threepids/medium/msisdn/twilio-connector.md
# SMS notifications - Twilio connector
Connector ID: `twilio`
## Configuration
```yaml
threepid:
medium:
msisdn:
connectors:
twilio:
accountSid: 'myAccountSid'
authToken: 'myAuthToken'
number: '+1234... | # SMS notifications - Twilio connector
Connector ID: `twilio`
## Configuration
```yaml
threepid:
medium:
msisdn:
connectors:
twilio:
account_sid: 'myAccountSid'
auth_token: 'myAuthToken'
number: '+123456789'
``` | <|file_sep|>original/docs/threepids/medium/msisdn/twilio-connector.md
# SMS notifications - Twilio connector
Connector ID: `twilio`
## Configuration
```yaml
threepid:
medium:
msisdn:
connectors:
twilio:
accountSid: 'myAccountSid'
authToken: 'myAuthToken'
number: '+1234... | 9d4680f55a7c0245d7f5ac7d09aa3a476f62f644 | docs/threepids/medium/msisdn/twilio-connector.md | docs/threepids/medium/msisdn/twilio-connector.md | Markdown |
<|file_sep|>original/var/templates/worlds/research.json
<|file_sep|>current/var/templates/worlds/research.json
<|file_sep|>updated/var/templates/worlds/research.json | {
"id": "research",
"title" : "RESEARCH_PROJECT",
"titlePlural": "RESEARCH_PROJECTS",
"menuLabel" : "CREATE_A_RESEARCH_PROJECT",
"order": 4
} | <|file_sep|>original/var/templates/worlds/research.json
<|file_sep|>current/var/templates/worlds/research.json
<|file_sep|>updated/var/templates/worlds/research.json
{
"id": "research",
"title" : "RESEARCH_PROJECT",
"titlePlural": "RESEARCH_PROJECTS",
"menuLabel" : "CREATE_A_RESEARCH_PROJECT",
"or... | 1c37c10122ca510db3b38c0a9494a0fe8e49c07e | var/templates/worlds/research.json | var/templates/worlds/research.json | JSON |
<|file_sep|>original/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md
<|file_sep|>current/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md
<|file_sep|>updated/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md | ---
layout: post
comments: false
description: "Winter et al. - Azimuthal Localization in 2.5D Near-Field-Compensated Higher Order Ambisonics"
author: "F Winter, N Hahn, H Wierstorf, S Spors"
title: "Azimuthal Localization in 2.5D Near-Field-Compensated Higher Order Ambisonics"
proceedings: "173rd Meeting of the Acousti... | <|file_sep|>original/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md
<|file_sep|>current/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md
<|file_sep|>updated/_posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md
---
layout: post
comments: false
description: "Winter et al. -... | 4cb572397228653f49099b8274a46192b60f7277 | _posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md | _posts/2017-06-29-localization_in_25d_higher_order_ambisonics.md | Markdown |
<|file_sep|>original/src/applications/files/storage/PhabricatorFileTransactionComment.php
public function getApplicationTransactionObject() {
return new PhabricatorFileTransaction();
}
public function shouldUseMarkupCache($field) {
// Only cache submitted comments.
return ($this->getTransactionPHID()... | <?php
final class PhabricatorFileTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new PhabricatorFileTransaction();
}
} | <|file_sep|>original/src/applications/files/storage/PhabricatorFileTransactionComment.php
public function getApplicationTransactionObject() {
return new PhabricatorFileTransaction();
}
public function shouldUseMarkupCache($field) {
// Only cache submitted comments.
return ($this->getTransactionPHID()... | 56bd762dd3ed5ced1914c6f36fd58dab589ccb31 | src/applications/files/storage/PhabricatorFileTransactionComment.php | src/applications/files/storage/PhabricatorFileTransactionComment.php | PHP |
<|file_sep|>.gitlab-ci.yml.diff
original:
- APP_VERSION=${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID} make images_push
- APP_VERSION=canary make images_push
updated:
- make images_push APP_VERSION="${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID}"
- make images_push APP_VERSION="canary"
<|file_sep|>original/.gitlab-ci.yml
mast... |
master_push:
tags:
- docker
script:
- mkdir -p ~/.docker && echo "${DOCKER_AUTH_CONFIG}" > ~/.docker/config.json && chmod 600 ~/.docker/config.json
- make verify
- make images_push APP_VERSION="${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID}"
- make images_push APP_VERSION="canary"
only:
- master
release_pus... | <|file_sep|>.gitlab-ci.yml.diff
original:
- APP_VERSION=${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID} make images_push
- APP_VERSION=canary make images_push
updated:
- make images_push APP_VERSION="${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID}"
- make images_push APP_VERSION="canary"
<|file_sep|>original/.gitlab-ci.yml
mast... | 71dd4f699621cb7898f939bf3c17025dbd620f3f | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
- ./updateVersion.sh
updated:
- ./updateVersion.sh
<|file_sep|>original/.travis.yml
language: csharp
solution: Compost.NET.sln
install:
- nuget restore Compost.NET.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
before_script:
- ./updateV... | language: csharp
solution: Compost.NET.sln
install:
- nuget restore Compost.NET.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
before_script:
- ./updateVersion.sh
script:
- xbuild /p:Configuration=Release Compost.NET.sln
- mono ./testrunner/NUnit.Runners.2.6.4/tools/nun... | <|file_sep|>.travis.yml.diff
original:
- ./updateVersion.sh
updated:
- ./updateVersion.sh
<|file_sep|>original/.travis.yml
language: csharp
solution: Compost.NET.sln
install:
- nuget restore Compost.NET.sln
- nuget install NUnit.Runners -Version 2.6.4 -OutputDirectory testrunner
before_script:
- ./updateV... | 5d64c3753f26978814f7272936eeecd573c9211f | .travis.yml | .travis.yml | YAML |
<|file_sep|>bin/cron.sh.diff
original:
updated:
<|file_sep|>original/bin/cron.sh
#!/bin/sh
/usr/local/bin/cbsd jstart letsencrypt
/usr/local/bin/cbsd jexec jname=letsencrypt /usr/local/bin/letsencrypt_update.sh
/usr/local/bin/cbsd jstop letsencrypt
/usr/local/bin/cbsd jexec jname=ldap /usr/local/bin/update_certs.sh
... | #!/bin/sh
/usr/local/bin/cbsd jstart letsencrypt
/usr/local/bin/cbsd jexec jname=letsencrypt /usr/local/bin/letsencrypt_update.sh
/usr/local/bin/cbsd jstop letsencrypt
/usr/local/bin/cbsd jexec jname=ldap /usr/local/bin/update_certs.sh
/usr/local/bin/cbsd jexec jname=jabber /usr/local/bin/update_certs.sh
/usr/local/b... | <|file_sep|>bin/cron.sh.diff
original:
updated:
<|file_sep|>original/bin/cron.sh
#!/bin/sh
/usr/local/bin/cbsd jstart letsencrypt
/usr/local/bin/cbsd jexec jname=letsencrypt /usr/local/bin/letsencrypt_update.sh
/usr/local/bin/cbsd jstop letsencrypt
/usr/local/bin/cbsd jexec jname=ldap /usr/local/bin/update_certs.sh
... | 5d1e1aea22cdef78520f26b6be1201f37e3a71fe | bin/cron.sh | bin/cron.sh | Shell |
<|file_sep|>original/pyblogit/posts.py
"""
pyblogit.posts
~~~~~~~~~~~~~~
This module contains the data model to represent blog posts and methods
to manipulate it.
"""
class post(object):
def __init__(self, post_id, title, url, author, content, images, labels,
status):
self._post_id = post_id
... | """
pyblogit.posts
~~~~~~~~~~~~~~
This module contains the data model to represent blog posts and methods
to manipulate it.
"""
class post(object):
"""The post data model"""
def __init__(self, post_id, title, url, author, content, images, labels,
status):
self._post_id = post_id
s... | <|file_sep|>original/pyblogit/posts.py
"""
pyblogit.posts
~~~~~~~~~~~~~~
This module contains the data model to represent blog posts and methods
to manipulate it.
"""
class post(object):
def __init__(self, post_id, title, url, author, content, images, labels,
status):
self._post_id = post_id
... | 352ab7fa385835bd68b42eb60a5b149bcfb28865 | pyblogit/posts.py | pyblogit/posts.py | Python |
<|file_sep|>original/benches/new_game.rs
extern crate congalife;
extern crate test;
use congalife::Game;
use test::Bencher;
#[bench]
fn bench_new_game_64(b: &mut Bencher) {
b.iter(|| Game::new(64, 0.2));
}
#[bench]
fn bench_new_game_128(b: &mut Bencher) {
b.iter(|| Game::new(128, 0.2));
}
#[bench]
fn bench... | use test::Bencher;
#[bench]
fn bench_new_game_64(b: &mut Bencher) {
b.iter(|| Game::new(64, 0.2));
}
#[bench]
fn bench_new_game_128(b: &mut Bencher) {
b.iter(|| Game::new(128, 0.2));
}
#[bench]
fn bench_new_game_512(b: &mut Bencher) {
b.iter(|| Game::new(512, 0.2));
}
#[bench]
fn bench_new_game_1024(b: ... | <|file_sep|>original/benches/new_game.rs
extern crate congalife;
extern crate test;
use congalife::Game;
use test::Bencher;
#[bench]
fn bench_new_game_64(b: &mut Bencher) {
b.iter(|| Game::new(64, 0.2));
}
#[bench]
fn bench_new_game_128(b: &mut Bencher) {
b.iter(|| Game::new(128, 0.2));
}
#[bench]
fn bench... | 4f86ac5af5ab3b6341c0de3e48155752fc95b1c7 | benches/new_game.rs | benches/new_game.rs | Rust |
<|file_sep|>original/SolutionInfo.cs
[assembly: AssemblyVersion(SolutionInfo.Version + ".0")]
[assembly: AssemblyInformationalVersion(SolutionInfo.Version)]
[assembly: AssemblyFileVersion(SolutionInfo.Version + ".0")]
[assembly: ComVisible(false)]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Git... |
[assembly: AssemblyVersion(SolutionInfo.Version + ".0")]
[assembly: AssemblyInformationalVersion(SolutionInfo.Version)]
[assembly: AssemblyFileVersion(SolutionInfo.Version + ".0")]
[assembly: ComVisible(false)]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("GitHub")]
[assembly: AssemblyProduct("Oc... | <|file_sep|>original/SolutionInfo.cs
[assembly: AssemblyVersion(SolutionInfo.Version + ".0")]
[assembly: AssemblyInformationalVersion(SolutionInfo.Version)]
[assembly: AssemblyFileVersion(SolutionInfo.Version + ".0")]
[assembly: ComVisible(false)]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Git... | 8e21f1cd345f0ffbcfcd5e7c22f30beb0f2f452a | SolutionInfo.cs | SolutionInfo.cs | C# |
<|file_sep|>original/_config.yml
data_dir: ./_locales
exclude:
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- TRANSLATING.md
- assets/images/icons
- package.json
- package-lock.json
- package-scripts.js
- Gemfile
- Gemfile.lock
- README.md
- pages/**/README.md
- LICENSE
- CNAME
- ... | data_dir: ./_locales
exclude:
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- TRANSLATING.md
- assets/images/icons
- package.json
- package-lock.json
- package-scripts.js
- prettier.config.js
- Gemfile
- Gemfile.lock
- README.md
- pages/**/README.md
- LICENSE
- CNAME
- node_modul... | <|file_sep|>original/_config.yml
data_dir: ./_locales
exclude:
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- TRANSLATING.md
- assets/images/icons
- package.json
- package-lock.json
- package-scripts.js
- Gemfile
- Gemfile.lock
- README.md
- pages/**/README.md
- LICENSE
- CNAME
- ... | a7c3eba1c323ca1abebc64bdb9cac366e34e5763 | _config.yml | _config.yml | YAML |
<|file_sep|>original/doc/index.rst
.. include:: ../README.rst
Contents
--------
.. toctree::
:maxdepth: 2
auto_examples/index
api
Fork pactools on Github <https://github.com/pactools/pactools>
<|file_sep|>current/doc/index.rst
.. include:: ../README.rst
Contents
--------
.. toctree::
:maxdepth: 2
auto_example... | .. include:: ../README.rst
Contents
--------
.. toctree::
:maxdepth: 2
auto_examples/index
api
Fork alphacsc on Github <https://github.com/alphacsc/alphacsc> | <|file_sep|>original/doc/index.rst
.. include:: ../README.rst
Contents
--------
.. toctree::
:maxdepth: 2
auto_examples/index
api
Fork pactools on Github <https://github.com/pactools/pactools>
<|file_sep|>current/doc/index.rst
.. include:: ../README.rst
Contents
--------
.. toctree::
:maxdepth: 2
auto_example... | 9b2ffbb18353b7b6ee8ec1e43167cdc2c4001003 | doc/index.rst | doc/index.rst | reStructuredText |
<|file_sep|>original/.travis.yml
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-fedora-latest
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefD... | matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-fedora-latest
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefDK's Ruby the default
before_scrip... | <|file_sep|>original/.travis.yml
matrix:
- INSTANCE=default-centos-6
- INSTANCE=default-centos-7
- INSTANCE=default-debian-8
- INSTANCE=default-fedora-latest
- INSTANCE=default-ubuntu-1404
- INSTANCE=default-ubuntu-1604
# Don't `bundle install`
install: echo "skip bundle install"
# Ensure we make ChefD... | 6e5289955329ad95125deb761d4119f9c7b1dd93 | .travis.yml | .travis.yml | YAML |
<|file_sep|>test.sh.diff
original:
rm -f profile.out
updated:
<|file_sep|>original/test.sh
set -e
echo "" > coverage.txt
rm -f profile.out
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.t... | set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
fi
done
# Test if libs that require built in Goby script would work.
# TODO: Wri... | <|file_sep|>test.sh.diff
original:
rm -f profile.out
updated:
<|file_sep|>original/test.sh
set -e
echo "" > coverage.txt
rm -f profile.out
for d in $(go list ./... | grep -v vendor); do
go test -race -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.t... | 6c0ec8bdf463ad9dd2114b8e209e23663f3dae7a | test.sh | test.sh | Shell |
<|file_sep|>original/mk/jit.mk
LIB_TARGETS += libtenyrjit$(DYLIB_SUFFIX)
# TODO keep these changes from affecting Makefiles that include this one
CXXFLAGS += -g
CXXFLAGS += -std=c++11
CXXFLAGS += -fPIC
ASMJIT_BASE = $(TOP)/3rdparty/asmjit
ASMJIT_SRC = $(ASMJIT_BASE)/src
vpath %.cpp $(ASMJIT_SRC)/asmjit/base
vpath %.c... | LIB_TARGETS += libtenyrjit$(DYLIB_SUFFIX)
# TODO keep these changes from affecting Makefiles that include this one
CXXFLAGS += -g
CXXFLAGS += -fPIC
ASMJIT_BASE = $(TOP)/3rdparty/asmjit
ASMJIT_SRC = $(ASMJIT_BASE)/src
vpath %.cpp $(ASMJIT_SRC)/asmjit/base
vpath %.cpp $(ASMJIT_SRC)/asmjit/x86
ASMJIT_OBJS = \
assem... | <|file_sep|>original/mk/jit.mk
LIB_TARGETS += libtenyrjit$(DYLIB_SUFFIX)
# TODO keep these changes from affecting Makefiles that include this one
CXXFLAGS += -g
CXXFLAGS += -std=c++11
CXXFLAGS += -fPIC
ASMJIT_BASE = $(TOP)/3rdparty/asmjit
ASMJIT_SRC = $(ASMJIT_BASE)/src
vpath %.cpp $(ASMJIT_SRC)/asmjit/base
vpath %.c... | 39c53e23d48d0d5f790fcea6cefcf0c8f3d5d97f | mk/jit.mk | mk/jit.mk | Makefile |
<|file_sep|>original/.circleci/config.yml
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.2@sha256:398089ea890e222b56bc8fcc905df6caf89cf6cf9000148ce1d755210fbb4405
working_di... | # Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.2@sha256:5b39ae733466100d9231a42f882e58df00f5bcf2caebaa45266aea01135a3963
working_directory: ~/repo
steps:
- checko... | <|file_sep|>original/.circleci/config.yml
# Python CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-python/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.2@sha256:398089ea890e222b56bc8fcc905df6caf89cf6cf9000148ce1d755210fbb4405
working_di... | 33aa4d88ae052f894a203004217da1c4ac8c280b | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/lib/squealer/time.rb
class Time
def to_s
self.strftime("%Y-%m-%d %H:%M:%S %Z")
end
end
<|file_sep|>current/lib/squealer/time.rb
class Time
def to_s
self.strftime("%Y-%m-%d %H:%M:%S %Z")
end
end
<|file_sep|>updated/lib/squealer/time.rb | class Time
def to_s
strftime("%Y-%m-%d %H:%M:%S %Z")
end
end | <|file_sep|>original/lib/squealer/time.rb
class Time
def to_s
self.strftime("%Y-%m-%d %H:%M:%S %Z")
end
end
<|file_sep|>current/lib/squealer/time.rb
class Time
def to_s
self.strftime("%Y-%m-%d %H:%M:%S %Z")
end
end
<|file_sep|>updated/lib/squealer/time.rb
class Time
def to_s
strftime("%Y-%m-%d %H:... | 2104f2d770fee36f5ebd279c2982caa3463b38fe | lib/squealer/time.rb | lib/squealer/time.rb | Ruby |
<|file_sep|>original/spec/rubocop/ast/range_node_spec.rb
context 'with an exclusive range' do
let(:source) do
'1...2'
end
it { expect(range_node.is_a?(described_class)).to be(true) }
it { expect(range_node.range_type?).to be(true) }
end
context 'with an infinite range' do
... |
context 'with an infinite range' do
let(:ruby_version) { 2.6 }
let(:source) do
'1..'
end
it { expect(range_node.is_a?(described_class)).to be(true) }
it { expect(range_node.range_type?).to be(true) }
end
context 'with a beiginless range' do
let(:ruby_version) {... | <|file_sep|>original/spec/rubocop/ast/range_node_spec.rb
context 'with an exclusive range' do
let(:source) do
'1...2'
end
it { expect(range_node.is_a?(described_class)).to be(true) }
it { expect(range_node.range_type?).to be(true) }
end
context 'with an infinite range' do
... | b6bda3fd9d7101236f1a733a04632be23fec5c37 | spec/rubocop/ast/range_node_spec.rb | spec/rubocop/ast/range_node_spec.rb | Ruby |
<|file_sep|>original/requirements-dev.txt
Werkzeug==0.15.2
ipdb==0.12
ipython==7.4.0
therapist==1.6.0
<|file_sep|>current/requirements-dev.txt
Werkzeug==0.15.2
ipdb==0.12
ipython==7.4.0
therapist==1.6.0
<|file_sep|>updated/requirements-dev.txt | Werkzeug==0.15.2
ipdb==0.12
ipython==7.5.0
therapist==1.6.0 | <|file_sep|>original/requirements-dev.txt
Werkzeug==0.15.2
ipdb==0.12
ipython==7.4.0
therapist==1.6.0
<|file_sep|>current/requirements-dev.txt
Werkzeug==0.15.2
ipdb==0.12
ipython==7.4.0
therapist==1.6.0
<|file_sep|>updated/requirements-dev.txt
Werkzeug==0.15.2
ipdb==0.12
ipython==7.5.0
therapist==1.6.0 | 65fb8ddc47e30134e93db1991fc2497fb41fd120 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs
{
var driver = new CoreNpgsqlDriver(TestContext.DriverResourcesDepsFile, TestContext.NugetPackageFolder);
var cnn = driver.CreateConnection($"Server=127.0.0.1;Port=5432;Database=my_database;Us... | {
var driver = new CoreNpgsqlDriver(TestContext.DriverResourcesDepsFile, TestContext.NugetPackageFolder);
var cnn = driver.CreateConnection($"Server=127.0.0.1;Port=5432;Database=my_database;User Id=postgres;Password={TestContext.PgPassword};");
cnn.Open();
... | <|file_sep|>original/test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs
{
var driver = new CoreNpgsqlDriver(TestContext.DriverResourcesDepsFile, TestContext.NugetPackageFolder);
var cnn = driver.CreateConnection($"Server=127.0.0.1;Port=5432;Database=my_database;Us... | a20cd1413a2ef5b8d0881b164a973401e1d35da6 | test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs | test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs | C# |
<|file_sep|>original/vertx-openshift/docker-compose.yml
version: '3'
services:
apiman_gateway:
container_name: apiman_gateway
image: jcechace/apiman-vertx-openshift
ports:
- "8082:8082"
- "8081:8081"
links:
- apiman_elastic
apiman_elastic:
... | version: '3'
services:
apiman_gateway:
container_name: apiman_gateway
image: jcechace/apiman-vertx-openshift
ports:
- "8082:8082"
- "8081:8081"
links:
- apiman_elastic
apiman_elastic:
container_name: apiman_elastic
image: docker... | <|file_sep|>original/vertx-openshift/docker-compose.yml
version: '3'
services:
apiman_gateway:
container_name: apiman_gateway
image: jcechace/apiman-vertx-openshift
ports:
- "8082:8082"
- "8081:8081"
links:
- apiman_elastic
apiman_elastic:
... | 7ce7c40b8aa076c864879665ff7392a029a9eafd | vertx-openshift/docker-compose.yml | vertx-openshift/docker-compose.yml | YAML |
<|file_sep|>original/scaladoc-js/main/src/searchbar/engine/Matchers.scala
case class ByName(query: String) extends Matchers:
val tokens = StringUtils.createCamelCaseTokens(query)
def apply(p: PageEntry): Int = {
val nameOption = Option(p.shortName.toLowerCase)
//Edge case for empty query string
if quer... |
case class ByName(query: String) extends Matchers:
val tokens = StringUtils.createCamelCaseTokens(query)
def apply(p: PageEntry): Int = {
val nameOption = Option(p.shortName.toLowerCase)
//Edge case for empty query string
if query == "" then 1
else {
val results = List(
nameOption.fil... | <|file_sep|>original/scaladoc-js/main/src/searchbar/engine/Matchers.scala
case class ByName(query: String) extends Matchers:
val tokens = StringUtils.createCamelCaseTokens(query)
def apply(p: PageEntry): Int = {
val nameOption = Option(p.shortName.toLowerCase)
//Edge case for empty query string
if quer... | c0f8a252141161315c97a721e1a737f07bea85af | scaladoc-js/main/src/searchbar/engine/Matchers.scala | scaladoc-js/main/src/searchbar/engine/Matchers.scala | Scala |
<|file_sep|>original/imagespace/web_external/js/views/body/FrontPageView.js
imagespace.views.FrontPageView = girder.views.FrontPageView.extend({
initialize: function () {
girder.cancelRestRequests('fetch');
this.render();
},
render: function () {
this.$el.html(imagespace.templates.f... | imagespace.views.FrontPageView = girder.views.FrontPageView.extend({
initialize: function () {
girder.cancelRestRequests('fetch');
this.render();
},
render: function () {
this.$el.html(imagespace.templates.frontPage());
var searchBar = new imagespace.views.SearchBarView({
... | <|file_sep|>original/imagespace/web_external/js/views/body/FrontPageView.js
imagespace.views.FrontPageView = girder.views.FrontPageView.extend({
initialize: function () {
girder.cancelRestRequests('fetch');
this.render();
},
render: function () {
this.$el.html(imagespace.templates.f... | 2245af5b8f3d1e2a4a95fde0b397a9c785e78612 | imagespace/web_external/js/views/body/FrontPageView.js | imagespace/web_external/js/views/body/FrontPageView.js | JavaScript |
<|file_sep|>original/app/views/articles/show.html.erb
<% if current_user.id == @article.writer_id %>
<%= link_to 'Destroy',
group_article_path(@group, @article),
method: :delete,
data: { confirm: 'Last chance, still want to delete?'} %>
| <%= link_to 'Edit',
edit_group_article_path(@group, ... | <% if current_user.id == @article.writer_id %>
<%= link_to 'Destroy',
group_article_path(@group, @article),
method: :delete,
data: { confirm: 'Last chance, still want to delete?'} %>
| <%= link_to 'Edit',
edit_group_article_path(@group, @article) %>
<% end %>
<% end %>
<div>
<%= link_to 'B... | <|file_sep|>original/app/views/articles/show.html.erb
<% if current_user.id == @article.writer_id %>
<%= link_to 'Destroy',
group_article_path(@group, @article),
method: :delete,
data: { confirm: 'Last chance, still want to delete?'} %>
| <%= link_to 'Edit',
edit_group_article_path(@group, ... | f81d0f93c8838b421bd87e5ff954103960a9c6a4 | app/views/articles/show.html.erb | app/views/articles/show.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
script:
- gradle build
deploy:
- provider: releases
api_key: ${GITHUB_API_KEY}
file_glob: true
file:
- ./build/libs/commons-configuration2-jackson-*.jar
skip_cleanup: true
on:
repo: Virtlink/commons-configuration2-jackson
branch: ... | language: java
jdk:
- oraclejdk8
script:
- gradle build
deploy:
- provider: releases
api_key: ${GITHUB_API_KEY}
file_glob: true
file:
- ./build/libs/commons-configuration2-jackson-*.jar
skip_cleanup: true
on:
repo: Virtlink/commons-configuration2-jackson
branch: master
tags: true
- provider:... | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk7
script:
- gradle build
deploy:
- provider: releases
api_key: ${GITHUB_API_KEY}
file_glob: true
file:
- ./build/libs/commons-configuration2-jackson-*.jar
skip_cleanup: true
on:
repo: Virtlink/commons-configuration2-jackson
branch: ... | 34ea6d6415b37f09db7ad029718fe7970ad96c3f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_assets/stylesheets/_social-buttons.sass
// Social Buttons
aside.social-buttons
visibility: hidden
height: 22px
// Like button is misaligned because it sets vertical-align: bottom
div.fb-like.fb_iframe_widget > span
vertical-align: initial !important
// Hide Google +1 button (it sho... | // Social Buttons
aside.social-buttons
visibility: hidden
height: 22px
// Fix Tweet button width bug.
iframe
width: auto !important
// Like button is misaligned because it sets vertical-align: bottom
div.fb-like.fb_iframe_widget > span
vertical-align: initial !important
// Hide Google +1 button... | <|file_sep|>original/_assets/stylesheets/_social-buttons.sass
// Social Buttons
aside.social-buttons
visibility: hidden
height: 22px
// Like button is misaligned because it sets vertical-align: bottom
div.fb-like.fb_iframe_widget > span
vertical-align: initial !important
// Hide Google +1 button (it sho... | 4fc073d1204c6b67ee7dbf4cabd1210f09564c90 | _assets/stylesheets/_social-buttons.sass | _assets/stylesheets/_social-buttons.sass | Sass |
<|file_sep|>original/setup.py
from distutils.core import setup
import bugspots
setup(
name="bugspots",
version=bugspots.__version__,
description="Identify hot spots in a codebase with the bug prediction \
algorithm used at Google",
long_description=bugspots.__doc__,
author=bugspots.__author__,
author_email="bmb... | from distutils.core import setup
import bugspots
setup(
name="bugspots",
version=bugspots.__version__,
description="""Identify hot spots in a codebase with the bug prediction
algorithm used at Google.""",
long_description=bugspots.__doc__,
author=bugspots.__author__,
author_email="bmbslice@gmail.com",
url="htt... | <|file_sep|>original/setup.py
from distutils.core import setup
import bugspots
setup(
name="bugspots",
version=bugspots.__version__,
description="Identify hot spots in a codebase with the bug prediction \
algorithm used at Google",
long_description=bugspots.__doc__,
author=bugspots.__author__,
author_email="bmb... | 76daca993e2c237e77a377aa5a264499d85057d4 | setup.py | setup.py | Python |
<|file_sep|>original/app/components/elements/Reblog.scss
path {
fill: $medium-gray;
}
}
.Reblog__button-active {
path {
fill: green !important;
}
}
.Reblog__button.loading {
padding-right: 0.5rem;
svg {
border: 1px solid #4BA2F2;
border-radius: 100%;
border-right-color: transparent;
... | fill: $medium-gray;
}
}
.Reblog__button-active {
path {
fill: green !important;
}
}
.Reblog__button.loading {
padding-right: 0.5rem;
svg {
border: 1px solid #4BA2F2;
border-radius: 100%;
border-right-color: transparent;
border-top-color: transparent;
animation: loading 500ms infi... | <|file_sep|>original/app/components/elements/Reblog.scss
path {
fill: $medium-gray;
}
}
.Reblog__button-active {
path {
fill: green !important;
}
}
.Reblog__button.loading {
padding-right: 0.5rem;
svg {
border: 1px solid #4BA2F2;
border-radius: 100%;
border-right-color: transparent;
... | 82b7b996a31a3a54603b9e05fcc0b33363936a0a | app/components/elements/Reblog.scss | app/components/elements/Reblog.scss | SCSS |
<|file_sep|>original/copyright-template.xml
~
~ 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... | ~ Copyright (c) 2010-2018. Axon Framework
~
~ 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... | <|file_sep|>original/copyright-template.xml
~
~ 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... | ba91f1ffdb137ead881734059de65fc80768f814 | copyright-template.xml | copyright-template.xml | XML |
<|file_sep|>share.sh.diff
original:
updated:
CONTAINER_ID=$(docker inspect --format {{.Id}} $1 2> /dev/null)
<|file_sep|>original/share.sh
# Script to link to a container's filesystem
# and expose out via the Samba share.
# Invoke this script via "docker exec"
# (e.g. docker exec dockershare share <container_name>)
... |
# Script to link to a container's filesystem
# and expose out via the Samba share.
# Invoke this script via "docker exec"
# (e.g. docker exec dockershare share <container_name>)
CONTAINER_ID=$(docker inspect --format {{.Id}} $1 2> /dev/null)
if [ -d /docker/aufs ]; then
echo "Storage Driver is AUFS."
MOUNT_PATH... | <|file_sep|>share.sh.diff
original:
updated:
CONTAINER_ID=$(docker inspect --format {{.Id}} $1 2> /dev/null)
<|file_sep|>original/share.sh
# Script to link to a container's filesystem
# and expose out via the Samba share.
# Invoke this script via "docker exec"
# (e.g. docker exec dockershare share <container_name>)
... | 0b26a4d41e4c729fb85f20cd335bb48cf8893ee5 | share.sh | share.sh | Shell |
<|file_sep|>stackstorm.yml.diff
original:
updated:
- postgresql
<|file_sep|>stackstorm.yml.diff
original:
- postgresql
updated:
- st2
<|file_sep|>original/stackstorm.yml
---
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- st2repos
- postgresql
- st2mistral
- st2
... | ---
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- postgresql
- st2repos
- st2
- st2mistral
- st2web
- st2smoketests | <|file_sep|>stackstorm.yml.diff
original:
updated:
- postgresql
<|file_sep|>stackstorm.yml.diff
original:
- postgresql
updated:
- st2
<|file_sep|>original/stackstorm.yml
---
- name: Install st2
hosts: all
roles:
- mongodb
- rabbitmq
- st2repos
- postgresql
- st2mistral
- st2
... | 36a8eb181a7f3fcd07b7c0ad8d5ebb4656f83897 | stackstorm.yml | stackstorm.yml | YAML |
<|file_sep|>original/dotbot.conf.yaml
---
- defaults:
link:
create: true
relink: true
- clean: ['~']
- shell:
- [sh omz.sh, Install/Update oh-my-zsh]
- link:
~/.vimrc: ../vimrc
~/.vimrc.bundles: ../vim/bundle.vim
~/.vimrc.map: ../vim/map.vim
~/.zshrc:
force: true
path: ... | ---
- defaults:
link:
create: true
relink: true
- clean: ['~']
- link:
~/.vimrc: ../vimrc
~/.vimrc.bundles: ../vim/bundle.vim
~/.vimrc.map: ../vim/map.vim
~/.zshrc:
force: true
path: ../zshrc
~/.zsh: ../zsh
~/.p10k.zsh: ../zsh/configs/p10k.zsh
~/.gitconfig: ../... | <|file_sep|>original/dotbot.conf.yaml
---
- defaults:
link:
create: true
relink: true
- clean: ['~']
- shell:
- [sh omz.sh, Install/Update oh-my-zsh]
- link:
~/.vimrc: ../vimrc
~/.vimrc.bundles: ../vim/bundle.vim
~/.vimrc.map: ../vim/map.vim
~/.zshrc:
force: true
path: ... | f692515832d2db04002b2ac663abb726834907c5 | dotbot.conf.yaml | dotbot.conf.yaml | YAML |
<|file_sep|>original/src/components/CallToAction/index.module.css
line-height: 20px;
}
.root.large {
font-size: 20px;
line-height: 28px;
}
@media (min-width: 768px) {
.root::after {
border-bottom: 3px solid currentColor;
}
.root:hover::after {
transform: translateY(2px);
transition: transform... | line-height: 20px;
}
.root.large {
font-size: 20px;
line-height: 28px;
}
@media (min-width: 768px) {
.root:hover::after {
transform: translateY(2px);
transition: transform 0.2s;
}
.root.regular {
font-size: 20px;
line-height: 28px;
}
.root.large {
font-size: 28px; | <|file_sep|>original/src/components/CallToAction/index.module.css
line-height: 20px;
}
.root.large {
font-size: 20px;
line-height: 28px;
}
@media (min-width: 768px) {
.root::after {
border-bottom: 3px solid currentColor;
}
.root:hover::after {
transform: translateY(2px);
transition: transform... | 965ab2ccb5067a3b19f29f237b80acbf1f45bafc | src/components/CallToAction/index.module.css | src/components/CallToAction/index.module.css | CSS |
<|file_sep|>test/Tests/project.json.diff
original:
"version": "1.0.0-*",
"dependencies": {
"xunit": "2.1.0-beta3-*",
"xunit.runner.dnx": "2.1.0-beta3-*",
"AspNet.Identity3.MongoDB": "1.0-beta7",
"xunit.runner.visualstudio": "2.1.0-beta3-*"
},
updated:
"version": "1.0.0-*",
... | {
"version": "1.0.0-*",
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.dnx": "2.1.0-beta5a-build188",
"AspNet.Identity3.MongoDB": "1.0-beta7",
"xunit.runner.visualstudio": "2.1.0"
},
"frameworks": {
"dnx451": { }
},
"commands": {
"test": "xunit.runner.dnx -parallel none"
}
} | <|file_sep|>test/Tests/project.json.diff
original:
"version": "1.0.0-*",
"dependencies": {
"xunit": "2.1.0-beta3-*",
"xunit.runner.dnx": "2.1.0-beta3-*",
"AspNet.Identity3.MongoDB": "1.0-beta7",
"xunit.runner.visualstudio": "2.1.0-beta3-*"
},
updated:
"version": "1.0.0-*",
... | eaf428232fd4ab6358def344238c06baaf3add1c | test/Tests/project.json | test/Tests/project.json | JSON |
<|file_sep|>original/r/api_gateway_api_key.html.markdown
}
}
resource "aws_api_gateway_deployment" "MyDemoDeployment" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
stage_name = "test"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) Name of the API Gateway
... | }
}
resource "aws_api_gateway_deployment" "MyDemoDeployment" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
stage_name = "test"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) Name of the API Gateway
* `description` - (Optional) The API Gateway description
... | <|file_sep|>original/r/api_gateway_api_key.html.markdown
}
}
resource "aws_api_gateway_deployment" "MyDemoDeployment" {
rest_api_id = "${aws_api_gateway_rest_api.MyDemoAPI.id}"
stage_name = "test"
}
```
## Argument Reference
The following arguments are supported:
* `name` - (Required) Name of the API Gateway
... | 4e2bb38f81e72643f269cd96445f645f3cdcedb8 | r/api_gateway_api_key.html.markdown | r/api_gateway_api_key.html.markdown | Markdown |
<|file_sep|>original/Casks/menubar-colors.rb
cask :v1 => 'menubar-colors' do
version '2.0.0'
sha256 'e150d4d0b2abe1183c38393ec4ea186b753925e3c1978aeebce34586e027feef'
url "https://github.com/nvzqz/menubar-colors/releases/download/v#{version}/Menubar-Colors.zip"
appcast 'https://github.com/nvzqz/menubar-colors/... | cask :v1 => 'menubar-colors' do
version '2.1.0'
sha256 '29825173a53c015c0eedfeadac77cef3a4d2a563a8a6a6ce905be78acc17a810'
url "https://github.com/nvzqz/menubar-colors/releases/download/v#{version}/Menubar-Colors.zip"
appcast 'https://github.com/nvzqz/menubar-colors/releases.atom'
name 'Menubar Colors'
home... | <|file_sep|>original/Casks/menubar-colors.rb
cask :v1 => 'menubar-colors' do
version '2.0.0'
sha256 'e150d4d0b2abe1183c38393ec4ea186b753925e3c1978aeebce34586e027feef'
url "https://github.com/nvzqz/menubar-colors/releases/download/v#{version}/Menubar-Colors.zip"
appcast 'https://github.com/nvzqz/menubar-colors/... | 65a8c7b399b5c9bb7747ec108ad8f14b3c719ca7 | Casks/menubar-colors.rb | Casks/menubar-colors.rb | Ruby |
<|file_sep|>lib/twingly/url/hasher.rb.diff
original:
require 'digest/md5'
require 'digest/sha2'
updated:
require 'digest'
<|file_sep|>lib/twingly/url/hasher.rb.diff
original:
updated:
# Instantiate digest classes in a thread-safe manner
# This is important since we don't know how people will
# use th... | MD5_DIGEST.hexdigest(url)[0..29].upcase
end
def blogstream_hash(url)
MD5_DIGEST.hexdigest(url)[0..29].upcase
end
def documentdb_hash(url)
SHA256_DIGEST.digest(url).unpack("L!")[0]
end
def autopingdb_hash(url)
SHA256_DIGEST.digest(url).unpack("q")[0]... | <|file_sep|>lib/twingly/url/hasher.rb.diff
original:
require 'digest/md5'
require 'digest/sha2'
updated:
require 'digest'
<|file_sep|>lib/twingly/url/hasher.rb.diff
original:
updated:
# Instantiate digest classes in a thread-safe manner
# This is important since we don't know how people will
# use th... | e755340b90f5f6a5f503b402137e987972859103 | lib/twingly/url/hasher.rb | lib/twingly/url/hasher.rb | Ruby |
<|file_sep|>original/doc-src/guide/Introduction.md
# AWS SDK for Node.js
The **AWS SDK for Node.js** allows JavaScript developers to build libraries or
applications that make use of AWS services using a simple and easy-to-use
API. The SDK is available as the [aws-sdk](http://npmjs.org/package/aws-sdk)
package for easy... | # AWS SDK for Node.js
## Developer Guide
The **AWS SDK for Node.js** allows JavaScript developers to build libraries or
applications that make use of AWS services using a simple and easy-to-use
API. The SDK is available as the [aws-sdk](http://npmjs.org/package/aws-sdk)
package for easy installation through [npm](htt... | <|file_sep|>original/doc-src/guide/Introduction.md
# AWS SDK for Node.js
The **AWS SDK for Node.js** allows JavaScript developers to build libraries or
applications that make use of AWS services using a simple and easy-to-use
API. The SDK is available as the [aws-sdk](http://npmjs.org/package/aws-sdk)
package for easy... | 713a49ae242b4b0f7e0f59099ea41536e4e04c50 | doc-src/guide/Introduction.md | doc-src/guide/Introduction.md | Markdown |
<|file_sep|>original/requirements/dev.txt
-r prod.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
Sphinx==1.6.6
cryptography==2.1.4
PyYAML==3.12
<|file_sep|>current/requirements/dev.txt
-r prod.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fla... | -r prod.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.5
Sphinx==1.6.6
cryptography==2.1.4
PyYAML==3.12 | <|file_sep|>original/requirements/dev.txt
-r prod.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
flake8==3.5.0
tox==2.9.1
coverage==4.4.2
Sphinx==1.6.6
cryptography==2.1.4
PyYAML==3.12
<|file_sep|>current/requirements/dev.txt
-r prod.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.30.0
watchdog==0.8.3
fla... | 19df60efa6497e45400420dcebdc1bd943177538 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/app/views/items/index.html.erb
<div class="item-container">
<span class="page-header"><h1>Items In Stock</h1></span>
<% @items.each do |item| %>
<div class="individual-item">
<p><%= link_to item.name, item_path(item) %></p>
<img src="<%= item.image %>" height="100" width="100"... | <div class="item-container">
<span class="page-header"><h1>Items In Stock</h1></span>
<% @items.each do |item| %>
<div class="individual-item">
<%= link_to item.name, item_path(item) %>
<img src="<%= item.image %>" height="100" width="100">
<!-- <%= link_to image_tag(item.image), item_path(i... | <|file_sep|>original/app/views/items/index.html.erb
<div class="item-container">
<span class="page-header"><h1>Items In Stock</h1></span>
<% @items.each do |item| %>
<div class="individual-item">
<p><%= link_to item.name, item_path(item) %></p>
<img src="<%= item.image %>" height="100" width="100"... | 9913c0310c20158319bea29cec9619bb22e3c9b0 | app/views/items/index.html.erb | app/views/items/index.html.erb | HTML+ERB |
<|file_sep|>original/package.json
"webpack": "latest",
"webpack-dev-server": "latest",
"react": "latest",
"react-dom": "latest",
"react-bootstrap": "latest",
"react-sparklines": "latest",
"react-bootstrap-treeview": "latest",
"reflux": "latest",
"babel-loader": "latest",
"json-lo... | "webpack": "latest",
"webpack-dev-server": "latest",
"react": "latest",
"react-dom": "latest",
"react-bootstrap": "latest",
"react-sparklines": "latest",
"react-bootstrap-treeview": "latest",
"reflux": "latest",
"babel-loader": "latest",
"json-loader": "latest",
"webpack-glsl... | <|file_sep|>original/package.json
"webpack": "latest",
"webpack-dev-server": "latest",
"react": "latest",
"react-dom": "latest",
"react-bootstrap": "latest",
"react-sparklines": "latest",
"react-bootstrap-treeview": "latest",
"reflux": "latest",
"babel-loader": "latest",
"json-lo... | 4b0d65155b98ba7b38fad4b0240464d5dbd66cfe | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
firefox: "58.0"
updated:
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
env:
- FIREFOX_VERSION="latest"
- FIREFOX_VERSION="60.0.1"
<|file_sep|>original/.travis.yml
language: java
addons:
firefox... | addons:
apt:
packages:
- xvfb
env:
- FIREFOX_VERSION="latest"
- FIREFOX_VERSION="60.0.1"
before_install:
# Install firefox for testing.
- echo $FIREFOX_VERSION
- export FIREFOX_SOURCE_URL='https://download.mozilla.org/?product=firefox-'$FIREFOX_VERSION'&lang=en-US&os=linux64'
- wget --no-ver... | <|file_sep|>.travis.yml.diff
original:
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
firefox: "58.0"
updated:
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
env:
- FIREFOX_VERSION="latest"
- FIREFOX_VERSION="60.0.1"
<|file_sep|>original/.travis.yml
language: java
addons:
firefox... | f160818dd03c81ab0c5ae529eae46bb2fcd77e9e | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
notifications:
email: false
env:
global:
- GAE_PYTHONPATH=${HOME}/.cache/google_appengine
- PYTHONWARNINGS=always::DeprecationWarning
matrix:
- TOXENV=flake8-py3
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=gae
# https://github.c... | env:
global:
- GAE_PYTHONPATH=${HOME}/.cache/google_appengine
- PYTHONWARNINGS=always::DeprecationWarning
matrix:
- TOXENV=flake8-py3
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=gae
# https://github.com/travis-ci/travis-ci/issues/4794
matrix:
include:
- pyt... | <|file_sep|>original/.travis.yml
notifications:
email: false
env:
global:
- GAE_PYTHONPATH=${HOME}/.cache/google_appengine
- PYTHONWARNINGS=always::DeprecationWarning
matrix:
- TOXENV=flake8-py3
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=gae
# https://github.c... | 938f1d96bf64d6ec8203e817011b3aa96ce9110f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Pinyin Converter</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<input class="noselect" type="text" i... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Pinyin Converter</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<input type="text" autocomplete="off" id="input" placeholder="wo3 de ... | <|file_sep|>original/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Pinyin Converter</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<input class="noselect" type="text" i... | 18a80e8c76cca77af6457d3f8726afa24d8d3986 | index.html | index.html | HTML |
<|file_sep|>original/circle.yml
dependencies:
cache_directories:
- ~/.asdf
- _build
- deps
pre:
- if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi
- if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.g... | cache_directories:
- ~/.asdf
- _build
- deps
pre:
- if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi
- if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git; fi
- if ! asdf plugin-list | grep elix... | <|file_sep|>original/circle.yml
dependencies:
cache_directories:
- ~/.asdf
- _build
- deps
pre:
- if ! asdf | grep version; then git clone https://github.com/HashNuke/asdf.git ~/.asdf; fi
- if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.g... | fab8ae3f23c5ce9c031afedea4ab00d01823791b | circle.yml | circle.yml | YAML |
<|file_sep|>original/resources/node_test.sh
#!/bin/bash
# Many lols. See gruntfile for full explanation.
node -e "require('ts-compiler')"
# Run all tests using jest
if [[ $TRAVIS ]]
then jest -i # Travis tests are run inline
else jest
fi
<|file_sep|>current/resources/node_test.sh
#!/bin/bash
# Many lols. See gruntfi... | #!/bin/bash
# Run all tests using jest
if [[ $TRAVIS ]]
then jest -i # Travis tests are run inline
else jest
fi | <|file_sep|>original/resources/node_test.sh
#!/bin/bash
# Many lols. See gruntfile for full explanation.
node -e "require('ts-compiler')"
# Run all tests using jest
if [[ $TRAVIS ]]
then jest -i # Travis tests are run inline
else jest
fi
<|file_sep|>current/resources/node_test.sh
#!/bin/bash
# Many lols. See gruntfi... | 67ae47dec63bd08b2936fdb3c48159a1f5fedf9a | resources/node_test.sh | resources/node_test.sh | Shell |
<|file_sep|>original/clj_record/core.clj
(merge {} (first rows)))))
(defn create [model-name attributes]
(sql/with-connection db
(let
[key-vector (keys attributes)
val-vector (map attributes key-vector)
id (sql/transaction
(sql/insert-values (table-name model-name) key-vecto... | (sql/with-connection db
(sql/with-results rows (format "select * from %s where id = %s" (table-name model-name) id)
(merge {} (first rows)))))
(defn create [model-name attributes]
(sql/with-connection db
(let
[key-vector (keys attributes)
val-vector (map attributes key-vector)
id ... | <|file_sep|>original/clj_record/core.clj
(merge {} (first rows)))))
(defn create [model-name attributes]
(sql/with-connection db
(let
[key-vector (keys attributes)
val-vector (map attributes key-vector)
id (sql/transaction
(sql/insert-values (table-name model-name) key-vecto... | dacb074419e84cb2838983e10ea283ff31d99005 | clj_record/core.clj | clj_record/core.clj | Clojure |
<|file_sep|>src/Lidsys/Football/Controller/Provider.php.diff
original:
$controllers->get('/template/{module}/{template}', function ($module, $template) use ($app) {
try {
return $app['lidsys.template']->render("{$module}/{$template}");
} catch (TemplateNotFound $ex) {
... |
$controllers->get('/{type}/schedule/{year}/{week}', function ($type, $year, $week) use ($app) {
if ('nfl' !== $type) {
return $app->json(array(
'errors' => array(
'type' => "Unrecognized type: '{$type}'",
),
... | <|file_sep|>src/Lidsys/Football/Controller/Provider.php.diff
original:
$controllers->get('/template/{module}/{template}', function ($module, $template) use ($app) {
try {
return $app['lidsys.template']->render("{$module}/{$template}");
} catch (TemplateNotFound $ex) {
... | 707ac41a82ed8bfa0141a71f348e5f141d169dc7 | src/Lidsys/Football/Controller/Provider.php | src/Lidsys/Football/Controller/Provider.php | PHP |
<|file_sep|>original/README.md
ProgrammingInSimpleEnglish
==========================
How to write programs in English - no algebra required.
The Hum programming language and framework is designed as a kind of DSL
that enables one to write business programs using English language syntax.
Note: The files with an ".st... | ProgrammingInSimpleEnglish
==========================
How to write programs in English - no algebra required.
The Hum programming language and framework is designed as a kind of DSL
that enables one to write business programs using English language syntax.
Note: The files with an ".st" extension were created by a S... | <|file_sep|>original/README.md
ProgrammingInSimpleEnglish
==========================
How to write programs in English - no algebra required.
The Hum programming language and framework is designed as a kind of DSL
that enables one to write business programs using English language syntax.
Note: The files with an ".st... | 08f6641d6ccda58c0f8b9e870fcf3f7dc841da67 | README.md | README.md | Markdown |
<|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java
<|file_sep|>current/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java
<|file_sep|>updated/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextList... | package net.kencochrane.raven.sentrystub;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import java.io.ByteArrayInputStream;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketException;
import java... | <|file_sep|>original/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java
<|file_sep|>current/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java
<|file_sep|>updated/sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextList... | 7e95781b10d4b072fd4c6ef5b1569fced7cedc62 | sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java | sentry-stub/src/main/java/net/kencochrane/raven/sentrystub/SentryUdpContextListener.java | Java |
<|file_sep|>original/README.md
WebSockets
================
Contains a managed implementation of the WebSocket protocol, along with client and server integration components.
This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the [Home](https://githu... | WebSockets
================
AppVeyor: [](https://ci.appveyor.com/project/aspnetci/WebSockets/branch/dev)
Travis: [](https://travis-ci.org/aspnet/WebSockets)
... | <|file_sep|>original/README.md
WebSockets
================
Contains a managed implementation of the WebSocket protocol, along with client and server integration components.
This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the [Home](https://githu... | ba952b83727c9c72b11bd5318bc0fd14db8aa7a2 | README.md | README.md | Markdown |
<|file_sep|>original/about.md
title: About
permalink: /about/
---
My name is **Tony Duckles**. I'm a software engineer living in Madison, WI.
I enjoy photography, traveling, cooking, and tinkering with new gadgets.
## About this Site
This site is written in [HTML5](http://html5.org/), proudly powered by
[Jekyll](htt... | permalink: /about/
---
My name is **Tony Duckles**. I'm a software engineer living in Madison, WI.
I enjoy photography, traveling, cooking, and tinkering with new gadgets.
## About this Site
This site is written in [HTML5](http://html5.org/), proudly powered by
[Jekyll](https://jekyllrb.com/) and [Octopress 3](https... | <|file_sep|>original/about.md
title: About
permalink: /about/
---
My name is **Tony Duckles**. I'm a software engineer living in Madison, WI.
I enjoy photography, traveling, cooking, and tinkering with new gadgets.
## About this Site
This site is written in [HTML5](http://html5.org/), proudly powered by
[Jekyll](htt... | 060ff6af3528960d7e3754c537337675748e81b0 | about.md | about.md | Markdown |
<|file_sep|>original/Patriot/ConfigViewController.swift
//
// ConfigViewController.swift
// Patriot
//
// Created by Ron Lisle on 5/29/17.
// Copyright © 2017 Ron Lisle. All rights reserved.
//
import UIKit
class ConfigViewController: UITableViewController {
override func viewDidLoad() {
super.viewDi... |
import UIKit
class ConfigViewController: UITableViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func closeMenu(sender: AnyObject) {
dismiss(animated: true, completion: nil)
}
override func viewDidLayoutSubviews() {
if let rect = self.n... | <|file_sep|>original/Patriot/ConfigViewController.swift
//
// ConfigViewController.swift
// Patriot
//
// Created by Ron Lisle on 5/29/17.
// Copyright © 2017 Ron Lisle. All rights reserved.
//
import UIKit
class ConfigViewController: UITableViewController {
override func viewDidLoad() {
super.viewDi... | dc89d8ede10541da44ff8667dae74fd06afae0cd | Patriot/ConfigViewController.swift | Patriot/ConfigViewController.swift | Swift |
<|file_sep|>original/spec/dummy/app/models/user.rb
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
# ... | class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your... | <|file_sep|>original/spec/dummy/app/models/user.rb
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
# ... | f707111411287995559bf3574f8b5a8eb57ecf56 | spec/dummy/app/models/user.rb | spec/dummy/app/models/user.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
- bundle install --path vendor/bundle
updated:
- gem install sass --version "=3.4.19"
- gem install compass --version "=1.0.3"
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1
before_install:
- bundle install --path vendor/bundle
- nvm install 4.4.3... | sudo: false
language: ruby
rvm:
- 2.1
before_install:
- gem install sass --version "=3.4.19"
- gem install compass --version "=1.0.3"
- nvm install 4.4.3
- nvm use 4.4.3
install:
- bundle install --path vendor/bundle
- npm install
before_script:
- chmod +x ./script/cibuild
script: script/cibuild
env:
gl... | <|file_sep|>.travis.yml.diff
original:
- bundle install --path vendor/bundle
updated:
- gem install sass --version "=3.4.19"
- gem install compass --version "=1.0.3"
<|file_sep|>original/.travis.yml
sudo: false
language: ruby
rvm:
- 2.1
before_install:
- bundle install --path vendor/bundle
- nvm install 4.4.3... | cf2ca43579f13f8f1bb9f699e3aeb3e564ed588a | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"bluebird": "^2.9.30",
updated:
"bluebird": "^3.0.1",
<|file_sep|>original/package.json
"scripts": {
"test": "./node_modules/.bin/mocha test/",
"test-browser": "./node_modules/.bin/mocha test/browser/"
},
"engines": {
"node": "*"
},
"devDependencies"... | "scripts": {
"test": "./node_modules/.bin/mocha test/",
"test-browser": "./node_modules/.bin/mocha test/browser/"
},
"engines": {
"node": "*"
},
"devDependencies": {
"bluebird": "^3.0.1",
"commander": "^2.3.0",
"del": "^2.0.2",
"gear": "^0.9.4",
"gear-lib": "^0.9.2",
"glob"... | <|file_sep|>package.json.diff
original:
"bluebird": "^2.9.30",
updated:
"bluebird": "^3.0.1",
<|file_sep|>original/package.json
"scripts": {
"test": "./node_modules/.bin/mocha test/",
"test-browser": "./node_modules/.bin/mocha test/browser/"
},
"engines": {
"node": "*"
},
"devDependencies"... | 6ffe602f725ce138a3fc0db98d7761b28bcc7ba8 | package.json | package.json | JSON |
<|file_sep|>original/lib/travis/logs/handler/log.rb
module Travis
class Logs
class Handler
class Log < Handler
def handle
info "handling log update for job #{data['id']}"
breakz!
::Job::Test.append_log!(data['id'], data['log'])
end
instrument :handle
... | module Travis
class Logs
class Handler
class Log < Handler
def handle
info "handling log update for job #{data['id']}"
::Job::Test.append_log!(data['id'], data['log'])
end
instrument :handle
new_relic :handle
def data
payload['data']
... | <|file_sep|>original/lib/travis/logs/handler/log.rb
module Travis
class Logs
class Handler
class Log < Handler
def handle
info "handling log update for job #{data['id']}"
breakz!
::Job::Test.append_log!(data['id'], data['log'])
end
instrument :handle
... | 27ec548f34801d636fa936499f1e8345c5e45353 | lib/travis/logs/handler/log.rb | lib/travis/logs/handler/log.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.