prompt stringlengths 77 6.9k | completion stringlengths 1 3.38k | text stringlengths 163 9.03k | commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | lang stringclasses 277
values |
|---|---|---|---|---|---|---|
<|file_sep|>original/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.2
cryptography==2.5
flake8==3.7.6
mock==2.0.0
pip==19.0.2
tox==3.7.0
watchdog==0.9.0
wheel==0.33.1
<|file_sep|>current/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.2
cryptography==2.5
... | -r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.2
cryptography==2.5
flake8==3.7.6
mock==2.0.0
pip==19.0.3
tox==3.7.0
watchdog==0.9.0
wheel==0.33.1 | <|file_sep|>original/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.2
cryptography==2.5
flake8==3.7.6
mock==2.0.0
pip==19.0.2
tox==3.7.0
watchdog==0.9.0
wheel==0.33.1
<|file_sep|>current/requirements/dev.txt
-r common.txt
PyYAML==4.1
bumpversion==0.5.3
coverage==4.5.2
cryptography==2.5
... | 7e46178f403bc7996102254c30d23fdabe2df688 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-20mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-20mode
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
#- jruby-19mode
#- jruby-20mode | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-20mode
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- jruby-19mode
- jruby-20mode
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
#- ... | 5074e1502fe1a8af8ecccec70f4386ba3f8bc781 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
# junkpile
Where everything else goes
updated:
[](http://forthebadge.com)
[](http://forthebadge.com)
[](http://forthebadge.com)
[](http://forthebadge.com)
[](http://forthebadge.com)
... | <|file_sep|>README.md.diff
original:
# junkpile
Where everything else goes
updated:
[](http://forthebadge.com)
[](http://forthebadge.com)
[ as f:
emotes = json.load(f)
def main():
parser = argparse.ArgumentParser(
description=sys.mod... | import pyperclip
import json
import sys
import argparse
with open("mapping.json") as f:
emotes = json.load(f)
def main():
parser = argparse.ArgumentParser(
description=sys.modules[__name__].__doc__,
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('-p','-... | <|file_sep|>original/emote/emote.py
""" A simple CLI tool for quickly copying common emoticon/emoji to your
clipboard. """
import pyperclip
import json
import sys
import argparse
with open("mapping.json") as f:
emotes = json.load(f)
def main():
parser = argparse.ArgumentParser(
description=sys.mod... | 9ed6833c88e2718e54cb25b6c1837ff4868c81c9 | emote/emote.py | emote/emote.py | Python |
<|file_sep|>original/src/main/kotlin/com/beust/kobalt/maven/UnversionedDep.kt
import java.io.File
/**
* Represents a dependency that doesn't have a version: "org.testng:testng:". Such dependencies
* eventually resolve to the latest version of the artifact.
*/
open public class UnversionedDep(open val groupId: Strin... | import java.io.File
/**
* Represents a dependency that doesn't have a version: "org.testng:testng:". Such dependencies
* eventually resolve to the latest version of the artifact.
*/
open public class UnversionedDep(open val groupId: String, open val artifactId: String) {
open public fun toMetadataXmlPath(fileSy... | <|file_sep|>original/src/main/kotlin/com/beust/kobalt/maven/UnversionedDep.kt
import java.io.File
/**
* Represents a dependency that doesn't have a version: "org.testng:testng:". Such dependencies
* eventually resolve to the latest version of the artifact.
*/
open public class UnversionedDep(open val groupId: Strin... | f7932840c2ce31dfbf0d3d6bc759a60c1f1920fe | src/main/kotlin/com/beust/kobalt/maven/UnversionedDep.kt | src/main/kotlin/com/beust/kobalt/maven/UnversionedDep.kt | Kotlin |
<|file_sep|>ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java.diff
original:
updated:
private String addServiceUrl;
<|file_sep|>original/ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java
public void setName(String name) {
this... |
public void setType(String type) {
this.type = type;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getAddServiceUrl() {
return addServiceUrl;
}
public void setAddServiceUrl(String addServ... | <|file_sep|>ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java.diff
original:
updated:
private String addServiceUrl;
<|file_sep|>original/ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java
public void setName(String name) {
this... | f016fbb381f3aaa01b3d69d31c34513b50bc7457 | ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java | ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java | Java |
<|file_sep|>original/.drone.yml
pipeline:
test:
image: node:4
commands:
- npm install --no-progress --color --quiet --unsafe-perm
- npm test
- npm run upload-artifacts
clone:
depth: 5
cache:
mount:
- .git
- node_modules
- typings
environment:
- CLICOLOR_FORCE=1
- FORCE_CO... | pipeline:
test:
image: node:4
commands:
- npm install --no-progress --color --quiet --unsafe-perm
- npm test
- npm version
- npm run upload-artifacts
clone:
depth: 5
cache:
mount:
- .git
- node_modules
- typings
environment:
- CLICOLOR_FORCE=1
- FORCE_COLOR=1
- TE... | <|file_sep|>original/.drone.yml
pipeline:
test:
image: node:4
commands:
- npm install --no-progress --color --quiet --unsafe-perm
- npm test
- npm run upload-artifacts
clone:
depth: 5
cache:
mount:
- .git
- node_modules
- typings
environment:
- CLICOLOR_FORCE=1
- FORCE_CO... | 2fd30bb9a1b774f6adfbce99e9f6c1d58070e27b | .drone.yml | .drone.yml | YAML |
<|file_sep|>original/ci/images/get-docker-url.sh
#!/bin/bash
set -e
version="20.10.9"
echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
<|file_sep|>current/ci/images/get-docker-url.sh
#!/bin/bash
set -e
version="20.10.9"
echo "https://download.docker.com/linux/static/stable/x86_64/doc... | #!/bin/bash
set -e
version="20.10.10"
echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz"; | <|file_sep|>original/ci/images/get-docker-url.sh
#!/bin/bash
set -e
version="20.10.9"
echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
<|file_sep|>current/ci/images/get-docker-url.sh
#!/bin/bash
set -e
version="20.10.9"
echo "https://download.docker.com/linux/static/stable/x86_64/doc... | c8154442ec7d823611ba16b554ddb3b1b7f2bca1 | ci/images/get-docker-url.sh | ci/images/get-docker-url.sh | Shell |
<|file_sep|>prep_ubuntu.sh.diff
original:
apt-get update
apt-get -y upgrade
updated:
apt-get update
apt-get -y upgrade
<|file_sep|>original/prep_ubuntu.sh
rm -rf /etc/apache2/sites-enabled
rm -rf /root/.c9
rm -rf /usr/local/lib/node_modules
rm -rf /var/lib/cloud9
rm -rf /usr/lib/node_modules/
apt-get purge ... | apt-get purge -y apache2 apache2-bin apache2-data apache2-utils
}
install_repo() {
cat >/etc/apt/sources.list.d/testing.list <<EOL
#### Kamikaze ####
deb [arch=armhf] http://kamikaze.thing-printer.com/debian/ stretch main
EOL
wget -q http://kamikaze.thing-printer.com/debian/public.gpg -O- | apt-key add -
apt-get u... | <|file_sep|>prep_ubuntu.sh.diff
original:
apt-get update
apt-get -y upgrade
updated:
apt-get update
apt-get -y upgrade
<|file_sep|>original/prep_ubuntu.sh
rm -rf /etc/apache2/sites-enabled
rm -rf /root/.c9
rm -rf /usr/local/lib/node_modules
rm -rf /var/lib/cloud9
rm -rf /usr/lib/node_modules/
apt-get purge ... | acb76f0d7d4f54e7dd519e979a8a838454e65bf4 | prep_ubuntu.sh | prep_ubuntu.sh | Shell |
<|file_sep|>.travis.yml.diff
original:
- rbx-1.9
updated:
- rbx-2.0.0
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- ruby-head
- jruby-head
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode # JRuby in 1.9 mode
- rbx-1.9
- 1.8.7
- jruby-18mode # JRuby in 1.8 mode
- rbx-1.8
addons:
code_climate:
... | language: ruby
rvm:
- ruby-head
- jruby-head
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode # JRuby in 1.9 mode
- rbx-2.0.0
- 1.8.7
- jruby-18mode # JRuby in 1.8 mode
addons:
code_climate:
repo_token: 0cf1ec8cc5f26e7ba43e43f6acf51011d1f24bc7a1894e1e658a26ef35d2336 | <|file_sep|>.travis.yml.diff
original:
- rbx-1.9
updated:
- rbx-2.0.0
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- ruby-head
- jruby-head
- 2.0.0
- 1.9.3
- 1.9.2
- jruby-19mode # JRuby in 1.9 mode
- rbx-1.9
- 1.8.7
- jruby-18mode # JRuby in 1.8 mode
- rbx-1.8
addons:
code_climate:
... | 45c0a6de21a876c53d740b2877cf5491e85dfaa7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/justimmo_client/core/logging.rb
# @return [Logger]
def logger
@logger ||= rails_logger || default_logger
end
attr_writer :logger
def default_logger
logger = Logger.new($stdout)
logger.level = JustimmoClient::Config.debug ? Logger::DEBUG : ... | # @return [Logger]
def logger
@logger ||= rails_logger || default_logger
end
attr_writer :logger
def default_logger
logger = Logger.new($stdout)
logger.level = JustimmoClient::Config.debug ? Logger::DEBUG : Logger::INFO
logger.datetime_format = "%Y-%m-%d %... | <|file_sep|>original/lib/justimmo_client/core/logging.rb
# @return [Logger]
def logger
@logger ||= rails_logger || default_logger
end
attr_writer :logger
def default_logger
logger = Logger.new($stdout)
logger.level = JustimmoClient::Config.debug ? Logger::DEBUG : ... | 5b892a1e2c08d31428532b624646847d7767a2ee | lib/justimmo_client/core/logging.rb | lib/justimmo_client/core/logging.rb | Ruby |
<|file_sep|>original/settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.5.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.... | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.5.1"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | <|file_sep|>original/settings.gradle.kts
pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.36.2"
id("com.diffplug.spotless") version "6.5.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.... | 659e93c3fd7de6de30a39073479c700b4da68c51 | settings.gradle.kts | settings.gradle.kts | Kotlin |
<|file_sep|>original/setup/configure-audio.sh
<|file_sep|>current/setup/configure-audio.sh
<|file_sep|>updated/setup/configure-audio.sh | #!/bin/bash
# set alsamixer mic capture level to 10 (that seems decent in tests)
amixer -c 1 cset numid=6,iface=MIXER,name='Mic Capture Volume' 10
sudo alsactl store 1 | <|file_sep|>original/setup/configure-audio.sh
<|file_sep|>current/setup/configure-audio.sh
<|file_sep|>updated/setup/configure-audio.sh
#!/bin/bash
# set alsamixer mic capture level to 10 (that seems decent in tests)
amixer -c 1 cset numid=6,iface=MIXER,name='Mic Capture Volume' 10
sudo alsactl store 1 | fcbe87511aaac61b3959f72ac5bd146bbc1cde95 | setup/configure-audio.sh | setup/configure-audio.sh | Shell |
<|file_sep|>original/lib/veritas/support/optimizable.rb
module Veritas
# Allow operations to be optimizable
module Optimizable
include Immutable
def self.included(descendant)
descendant.extend ClassMethods
self
end
# Optimize the operation
#
# @example
# optimized = oper... | module Veritas
# Allow operations to be optimizable
module Optimizable
include Immutable
# Hook called when module is included
#
# @param [Module] descendant
# the module or class including Optimizable
#
# @return [self]
#
# @api private
def self.included(descendant)
... | <|file_sep|>original/lib/veritas/support/optimizable.rb
module Veritas
# Allow operations to be optimizable
module Optimizable
include Immutable
def self.included(descendant)
descendant.extend ClassMethods
self
end
# Optimize the operation
#
# @example
# optimized = oper... | ccc559c38fc9a950a41189db4ee7c4f0935802d3 | lib/veritas/support/optimizable.rb | lib/veritas/support/optimizable.rb | Ruby |
<|file_sep|>original/README.md
# console
Mongoose Web GUI
## build
>./gradlew clean dist
## Deployment with Docker
As the server on which webapp rises, nginx is used.
To start the server with default port:
>./gradlew runApp
To start the server with custom port:
>./gradlew -Pport=(port number) runApp
To start the ... | # console
Mongoose Web GUI
## build
>./gradlew clean dist
## Deployment with Docker
As the server on which webapp rises, nginx is used.
To start the server with default port:
>./gradlew runApp
To start the server with custom port:
>./gradlew -Pport=(port number) runApp
If you have Docker Compose installed, you co... | <|file_sep|>original/README.md
# console
Mongoose Web GUI
## build
>./gradlew clean dist
## Deployment with Docker
As the server on which webapp rises, nginx is used.
To start the server with default port:
>./gradlew runApp
To start the server with custom port:
>./gradlew -Pport=(port number) runApp
To start the ... | 0c90d3d853fd68791fc956b57ef38b8d2f5acdac | README.md | README.md | Markdown |
<|file_sep|>original/package.json
"main": "./lib/index.js",
"dependencies": {
"arraydiff": "0.1.1",
"diff": "1.1.0",
"leven": "1.0.0",
"magicpen": "3.0.0"
},
"devDependencies": {
"browserify": "5.9.1",
"bundle-collapser": "^1.1.0",
"coveralls": "^2.11.1",
"es5-shim": "4.0.3",
... | "main": "./lib/index.js",
"dependencies": {
"arraydiff": "0.1.1",
"diff": "1.1.0",
"leven": "1.0.0",
"magicpen": "3.0.0"
},
"devDependencies": {
"browserify": "5.9.1",
"bundle-collapser": "^1.1.0",
"coveralls": "^2.11.1",
"es5-shim": "4.0.3",
"istanbul": "^0.3.0",
"jshint... | <|file_sep|>original/package.json
"main": "./lib/index.js",
"dependencies": {
"arraydiff": "0.1.1",
"diff": "1.1.0",
"leven": "1.0.0",
"magicpen": "3.0.0"
},
"devDependencies": {
"browserify": "5.9.1",
"bundle-collapser": "^1.1.0",
"coveralls": "^2.11.1",
"es5-shim": "4.0.3",
... | 3f4b1d7a2fc2b2d8e4efe70326f72d79cee42155 | package.json | package.json | JSON |
<|file_sep|>original/tox.ini
[tox]
envlist = py33,py34,py35,coverage,flake8,isort
[testenv]
deps =
py33: asyncio
commands = python -m unittest
[testenv:coverage]
commands =
python -m coverage erase
python -m coverage run --branch --source=websockets -m unittest
python -m coverage report --fail-under=1... | [tox]
envlist = py33,py34,py35,py36,coverage,flake8,isort
[testenv]
deps =
py33: asyncio
commands = python -m unittest
[testenv:coverage]
commands =
python -m coverage erase
python -m coverage run --branch --source=websockets -m unittest
python -m coverage report --fail-under=100
deps = coverage
[tes... | <|file_sep|>original/tox.ini
[tox]
envlist = py33,py34,py35,coverage,flake8,isort
[testenv]
deps =
py33: asyncio
commands = python -m unittest
[testenv:coverage]
commands =
python -m coverage erase
python -m coverage run --branch --source=websockets -m unittest
python -m coverage report --fail-under=1... | fd54f619769a5a07ad85d18152d3c1bf39dd5936 | tox.ini | tox.ini | INI |
<|file_sep|>original/tests/shared/core/test_constants.py
from rasa.nlu.classifiers.fallback_classifier import FallbackClassifier
from rasa.shared.core.constants import (
CLASSIFIER_NAME_FALLBACK,
POLICY_NAME_RULE,
)
@pytest.mark.parametrize(
"name_in_constant, policy_class",
[
(POLICY_NAME_RUL... | from rasa.nlu.classifiers.fallback_classifier import FallbackClassifier
from rasa.shared.core.constants import (
CLASSIFIER_NAME_FALLBACK,
POLICY_NAME_RULE,
)
@pytest.mark.parametrize(
"name_in_constant, policy_class",
[(POLICY_NAME_RULE, RulePolicy), (CLASSIFIER_NAME_FALLBACK, FallbackClassifier),],
... | <|file_sep|>original/tests/shared/core/test_constants.py
from rasa.nlu.classifiers.fallback_classifier import FallbackClassifier
from rasa.shared.core.constants import (
CLASSIFIER_NAME_FALLBACK,
POLICY_NAME_RULE,
)
@pytest.mark.parametrize(
"name_in_constant, policy_class",
[
(POLICY_NAME_RUL... | 0ca4e0898fc6ee84109b458dfd505cdf42a5bae3 | tests/shared/core/test_constants.py | tests/shared/core/test_constants.py | Python |
<|file_sep|>original/requirements.txt
django-extensions
django-formtools
django-mptt
django-otp
django-ratelimit-backend
django-sendfile
django-session-csrf
django-sudo
django-two-factor-auth>=1.5.0
django-watson>=1.2.0
factory-boy
jsmin
lxml
markdown-newtab
premailer
progress
python-daemon<1.7
pytz
salmon-mail==2
simp... | django-extensions
django-formtools
django-mptt
django-otp
django-ratelimit-backend
django-sendfile
django-session-csrf
django-sudo
django-two-factor-auth>=1.5.0
django-watson>=1.2.0
factory-boy
jsmin
lxml
markdown-newtab
premailer
progress
python-daemon<1.7
pytz
salmon-mail==2
simplejson
wagtail>=1.9,<1.10 | <|file_sep|>original/requirements.txt
django-extensions
django-formtools
django-mptt
django-otp
django-ratelimit-backend
django-sendfile
django-session-csrf
django-sudo
django-two-factor-auth>=1.5.0
django-watson>=1.2.0
factory-boy
jsmin
lxml
markdown-newtab
premailer
progress
python-daemon<1.7
pytz
salmon-mail==2
simp... | f78066002b9a70773f1149af98b56e73c183fc2c | requirements.txt | requirements.txt | Text |
<|file_sep|>metadata/com.serwylo.babydots.yml.diff
original:
updated:
- versionName: 1.4.2
versionCode: 10402
commit: v1.4.2
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.serwylo.babydots.yml
gradle:
- yes
- versionName: 1.3.0
versionCode: 10300
commit: v1.3.... | gradle:
- yes
- versionName: 1.4.0
versionCode: 10400
commit: v1.4.0
subdir: app
gradle:
- yes
- versionName: 1.4.2
versionCode: 10402
commit: v1.4.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.4.2
CurrentVers... | <|file_sep|>metadata/com.serwylo.babydots.yml.diff
original:
updated:
- versionName: 1.4.2
versionCode: 10402
commit: v1.4.2
subdir: app
gradle:
- yes
<|file_sep|>original/metadata/com.serwylo.babydots.yml
gradle:
- yes
- versionName: 1.3.0
versionCode: 10300
commit: v1.3.... | e22d63db9a8ec622f771ff198e7e2c403ecd7864 | metadata/com.serwylo.babydots.yml | metadata/com.serwylo.babydots.yml | YAML |
<|file_sep|>original/package.json
"version": "0.0.1",
"description": "Adapt any beer recipe to your needs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sean Gillespie",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https... | "author": "Sean Gillespie",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sgillespie/beer-recipe-adapter.git"
},
"keywords": [
"homebrew",
"recipe"
],
"bugs": {
"url": "https://github.com/sgillespie/beer-recipe-adapter/issues"
},
"homepage": "https... | <|file_sep|>original/package.json
"version": "0.0.1",
"description": "Adapt any beer recipe to your needs",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sean Gillespie",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https... | bc944fd388d5c51d834600a443ff1952cbb8a7ba | package.json | package.json | JSON |
<|file_sep|>src/ui/RGBPanel.java.diff
original:
updated:
private BufferedImage originalImage;
<|file_sep|>src/ui/RGBPanel.java.diff
original:
updated:
originalImage = image;
<|file_sep|>src/ui/RGBPanel.java.diff
original:
for(int i = 0; i < image.getWidth(); i++){
for(int j = 0; j < im... | color = converter.convert(color);
newImage.setRGB(i, j, color.getRGB());
}
}
image = newImage;
invalidate();
repaint();
}
public void setImage(BufferedImage img){
this.originalImage = img;
this.image = img;
setP... | <|file_sep|>src/ui/RGBPanel.java.diff
original:
updated:
private BufferedImage originalImage;
<|file_sep|>src/ui/RGBPanel.java.diff
original:
updated:
originalImage = image;
<|file_sep|>src/ui/RGBPanel.java.diff
original:
for(int i = 0; i < image.getWidth(); i++){
for(int j = 0; j < im... | dffe2621132d8dd49c4af3215ce6530067c941a8 | src/ui/RGBPanel.java | src/ui/RGBPanel.java | Java |
<|file_sep|>original/quickstarts/karaf/camel-amq/src/main/resources/features.xml
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF AN... | http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific languag... | <|file_sep|>original/quickstarts/karaf/camel-amq/src/main/resources/features.xml
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF AN... | e301e7c3c817e885fcde93eee4fa14dd7fbe21db | quickstarts/karaf/camel-amq/src/main/resources/features.xml | quickstarts/karaf/camel-amq/src/main/resources/features.xml | XML |
<|file_sep|>doc/classes/DynamicFontData.xml.diff
original:
updated:
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting">
The font hinting mode used by FreeType.
</member>
<|file_sep|>original/doc/classes/DynamicFontData.xml
<class name="DynamicFontData" inh... | </methods>
<members>
<member name="font_path" type="String" setter="set_font_path" getter="get_font_path">
The path to the vector font file.
</member>
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting">
The font hinting mode used by FreeType.
</mem... | <|file_sep|>doc/classes/DynamicFontData.xml.diff
original:
updated:
<member name="hinting" type="int" setter="set_hinting" getter="get_hinting" enum="DynamicFontData.Hinting">
The font hinting mode used by FreeType.
</member>
<|file_sep|>original/doc/classes/DynamicFontData.xml
<class name="DynamicFontData" inh... | a0ddd6122c988880c0f4f37c4d0b22293d906861 | doc/classes/DynamicFontData.xml | doc/classes/DynamicFontData.xml | XML |
<|file_sep|>service_time.py.diff
original:
updated:
from time import sleep
<|file_sep|>original/service_time.py
""" service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
coun... | from time import sleep
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
# sleep to simulate the service response time degrading
sleep(count)
count += 1
return jsonify(count=count,
datetime=d... | <|file_sep|>service_time.py.diff
original:
updated:
from time import sleep
<|file_sep|>original/service_time.py
""" service_time.py """
from datetime import datetime
from flask import Flask, jsonify
app = Flask(__name__)
count = 0
@app.route("/time", methods=['GET'])
def get_datetime():
global count
coun... | 15b8810b3bf244295f38b628a0ebb1cb72f46bb3 | service_time.py | service_time.py | Python |
<|file_sep|>DependencyInjection/Configuration.php.diff
original:
$treeBuilder = new TreeBuilder();
updated:
$treeBuilder = new TreeBuilder('spraed_pdf_generator');
<|file_sep|>original/DependencyInjection/Configuration.php
class Configuration implements ConfigurationInterface
{
/**
* {@inheritD... | class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder('spraed_pdf_generator');
$treeBuilder->getRootNode()
->children()
->arrayNode('java')
->childr... | <|file_sep|>DependencyInjection/Configuration.php.diff
original:
$treeBuilder = new TreeBuilder();
updated:
$treeBuilder = new TreeBuilder('spraed_pdf_generator');
<|file_sep|>original/DependencyInjection/Configuration.php
class Configuration implements ConfigurationInterface
{
/**
* {@inheritD... | 76e6a3daff5170724b5ab0122ed435f6c3312b7c | DependencyInjection/Configuration.php | DependencyInjection/Configuration.php | PHP |
<|file_sep|>README.md.diff
original:
docker run -p 127.0.0.1:8000:8000 hilverd/dynamodb
updated:
docker run -p 8000:8000 hilverd/dynamodb
<|file_sep|>original/README.md
```
docker run -p 127.0.0.1:8000:8000 hilverd/dynamodb
```
To confirm things are working, open DynamoDB's [Web Shell](http://localhost:8000/shell/). T... | ```
docker run -p 8000:8000 hilverd/dynamodb
```
To confirm things are working, open DynamoDB's [Web Shell](http://localhost:8000/shell/). To learn more, you can follow [Getting Started with Amazon DynamoDB](http://docs.aws.amazon.com/amazondynamodb/latest/gettingstartedguide/Welcome.html).
### Storing databases on t... | <|file_sep|>README.md.diff
original:
docker run -p 127.0.0.1:8000:8000 hilverd/dynamodb
updated:
docker run -p 8000:8000 hilverd/dynamodb
<|file_sep|>original/README.md
```
docker run -p 127.0.0.1:8000:8000 hilverd/dynamodb
```
To confirm things are working, open DynamoDB's [Web Shell](http://localhost:8000/shell/). T... | 2843cde02da09f7789f44731be8d7a36690c978f | README.md | README.md | Markdown |
<|file_sep|>src/Moxl/Xec/Action/Disco/Items.php.diff
original:
updated:
$jid = null;
<|file_sep|>original/src/Moxl/Xec/Action/Disco/Items.php
foreach($stanza->query->item as $item) {
$n = new \Modl\Item();
$n->set($item, $this->_to);
if(substr($n->node, 0, 29) != '... |
$jid = null;
foreach($stanza->query->item as $item) {
$n = new \Modl\Item();
$n->set($item, $this->_to);
if(substr($n->node, 0, 29) != 'urn:xmpp:microblog:0:comments')
$nd->set($n, true);
if($n->jid != $jid) {
$r = new Re... | <|file_sep|>src/Moxl/Xec/Action/Disco/Items.php.diff
original:
updated:
$jid = null;
<|file_sep|>original/src/Moxl/Xec/Action/Disco/Items.php
foreach($stanza->query->item as $item) {
$n = new \Modl\Item();
$n->set($item, $this->_to);
if(substr($n->node, 0, 29) != '... | e44e2907d01fb88f3e0551b4e77c6eb1af2a0702 | src/Moxl/Xec/Action/Disco/Items.php | src/Moxl/Xec/Action/Disco/Items.php | PHP |
<|file_sep|>original/README.md
# zend-navigation
[](https://secure.travis-ci.org/zendframework/zend-navigation)
[](https://cov... | # zend-navigation
[](https://secure.travis-ci.org/zendframework/zend-navigation)
[](https://coveralls.io/r/zendframework/zend-... | <|file_sep|>original/README.md
# zend-navigation
[](https://secure.travis-ci.org/zendframework/zend-navigation)
[](https://cov... | 908886cd647db6d9e8279f7eb63fd5c2c4b17a52 | README.md | README.md | Markdown |
<|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": false,
"baseUrl": "../"
}
}
<|file_sep|>current/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"targ... | {
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": false,
"baseUrl": "../",
"typesRoot": "../"
}
} | <|file_sep|>original/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": false,
"baseUrl": "../"
}
}
<|file_sep|>current/tsconfig.json
{
"compilerOptions": {
"module": "commonjs",
"targ... | 20a85521992096720ff9647a844c1dd3a65a214f | tsconfig.json | tsconfig.json | JSON |
<|file_sep|>original/nodeconductor/logging/admin.py
from django.contrib import admin
from nodeconductor.logging import models
class AlertAdmin(admin.ModelAdmin):
list_display = ('uuid', 'alert_type', 'closed', 'scope', 'severity')
ordering = ('alert_type',)
base_model = models.Alert
admin.site.register(... | from django.contrib import admin
from nodeconductor.logging import models
class AlertAdmin(admin.ModelAdmin):
list_display = ('uuid', 'alert_type', 'created', 'closed', 'scope', 'severity')
list_filter = ('alert_type', 'created', 'closed', 'severity')
ordering = ('alert_type',)
base_model = models.Al... | <|file_sep|>original/nodeconductor/logging/admin.py
from django.contrib import admin
from nodeconductor.logging import models
class AlertAdmin(admin.ModelAdmin):
list_display = ('uuid', 'alert_type', 'closed', 'scope', 'severity')
ordering = ('alert_type',)
base_model = models.Alert
admin.site.register(... | ccafc2164b0b4a1734a1d4c47bf237eea293eae4 | nodeconductor/logging/admin.py | nodeconductor/logging/admin.py | Python |
<|file_sep|>lib/rohbau/runtime.rb.diff
original:
# noop
updated:
terminate_plugins
<|file_sep|>original/lib/rohbau/runtime.rb
# noop
end
def root
Pathname.new(Dir.pwd)
end
protected
def on_boot
# noop
end
def initialize_plugins
self.class.plugins.each ... | protected
def on_boot
# noop
end
def initialize_plugins
self.class.plugins.each do |name, plugin_class|
instance_variable_set :"@#{name}", plugin_class.new
end
end
def terminate_plugins
self.class.plugins.each do |name, _|
plugin = public_send(name)
... | <|file_sep|>lib/rohbau/runtime.rb.diff
original:
# noop
updated:
terminate_plugins
<|file_sep|>original/lib/rohbau/runtime.rb
# noop
end
def root
Pathname.new(Dir.pwd)
end
protected
def on_boot
# noop
end
def initialize_plugins
self.class.plugins.each ... | 79f7e203452cb191f5e59052ed8a6bbe9e6859ca | lib/rohbau/runtime.rb | lib/rohbau/runtime.rb | Ruby |
<|file_sep|>pod_node.h.diff
original:
updated:
// Other pod_node related functions
<|file_sep|>pod_node.h.diff
original:
extern pod_node *pod_node_remove(pod_node *node);
inline pod_node *pod_node_remove(pod_node *node)
updated:
// extern pod_node *pod_node_remove(pod_node *node);
extern inline pod_node *pod_node... | };
// Other pod_node related functions
// extern pod_node *pod_node_remove(pod_node *node);
extern inline pod_node *pod_node_remove(pod_node *node)
{
pod_node *next;
next = node->next;
node->previous->next = node->next;
node->next->previous = node->previous;
node->previous = node->next = NU... | <|file_sep|>pod_node.h.diff
original:
updated:
// Other pod_node related functions
<|file_sep|>pod_node.h.diff
original:
extern pod_node *pod_node_remove(pod_node *node);
inline pod_node *pod_node_remove(pod_node *node)
updated:
// extern pod_node *pod_node_remove(pod_node *node);
extern inline pod_node *pod_node... | 406f4f8e9f92f92803f1efba52537866c1eed873 | pod_node.h | pod_node.h | C |
<|file_sep|>original/package.json
"scripts": {
"start": "node ./bin/www",
"postinstall": "bower install && gulp default"
},
"dependencies": {
"body-parser": "~1.18.3",
"bower": "^1.3.12",
"browserify": "^16.2.3",
"cookie-parser": "~1.4.3",
"debug": "~2.6.9",
"elasticsearch": "^5.0.... | "scripts": {
"start": "node ./bin/www",
"postinstall": "bower install && gulp default"
},
"dependencies": {
"body-parser": "~1.18.3",
"bower": "^1.3.12",
"browserify": "^16.2.3",
"cookie-parser": "~1.4.3",
"debug": "~2.6.9",
"elasticsearch": "^15.2.0",
"express": "~4.16.4",
... | <|file_sep|>original/package.json
"scripts": {
"start": "node ./bin/www",
"postinstall": "bower install && gulp default"
},
"dependencies": {
"body-parser": "~1.18.3",
"bower": "^1.3.12",
"browserify": "^16.2.3",
"cookie-parser": "~1.4.3",
"debug": "~2.6.9",
"elasticsearch": "^5.0.... | 5c40a8ab43cb4fbdb706fba4887e21b260821b0a | package.json | package.json | JSON |
<|file_sep|>original/alien4cloud-core/src/main/java/alien4cloud/model/templates/TopologyTemplate.java
import org.elasticsearch.annotation.ESObject;
import org.elasticsearch.annotation.Id;
import org.elasticsearch.annotation.StringField;
import org.elasticsearch.annotation.query.TermFilter;
import org.elasticsearch.map... | import lombok.Setter;
import org.elasticsearch.annotation.ESObject;
import org.elasticsearch.annotation.Id;
import org.elasticsearch.annotation.StringField;
import org.elasticsearch.annotation.query.TermFilter;
import org.elasticsearch.mapping.IndexType;
@Getter
@ESObject
public class TopologyTemplate {
@Id
@... | <|file_sep|>original/alien4cloud-core/src/main/java/alien4cloud/model/templates/TopologyTemplate.java
import org.elasticsearch.annotation.ESObject;
import org.elasticsearch.annotation.Id;
import org.elasticsearch.annotation.StringField;
import org.elasticsearch.annotation.query.TermFilter;
import org.elasticsearch.map... | 301f0849d46cf25d12dfca3678fb4c6cf4347dc7 | alien4cloud-core/src/main/java/alien4cloud/model/templates/TopologyTemplate.java | alien4cloud-core/src/main/java/alien4cloud/model/templates/TopologyTemplate.java | Java |
<|file_sep|>original/utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy
package uk.ac.ox.ndm.grails.utils.domain.awareness
/**
* @since 09/10/2015
*/
trait CreatedAndUpdatedAware {
Date dateCreated
Date lastUpdated
Date getDateCreated() {
dateCreated ?... | package uk.ac.ox.ndm.grails.utils.domain.awareness
/**
* @since 09/10/2015
*/
trait CreatedAndUpdatedAware {
Date dateCreated
Date lastUpdated
} | <|file_sep|>original/utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy
package uk.ac.ox.ndm.grails.utils.domain.awareness
/**
* @since 09/10/2015
*/
trait CreatedAndUpdatedAware {
Date dateCreated
Date lastUpdated
Date getDateCreated() {
dateCreated ?... | 9d923123e8d2f8d83bc20508f42c54b609169f39 | utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy | utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/domain/awareness/CreatedAndUpdatedAware.groovy | Groovy |
<|file_sep|>original/actionmailer/lib/action_mailer/collector.rb
attr_reader :responses
def initialize(context, &block)
@context = context
@responses = []
@default_render = block
end
def any(*args, &block)
options = args.extract_options!
raise "You have to supply at least... | attr_reader :responses
def initialize(context, &block)
@context = context
@responses = []
@default_render = block
end
def any(*args, &block)
options = args.extract_options!
raise ArgumentError, "You have to supply at least one format" if args.empty?
args.each { |typ... | <|file_sep|>original/actionmailer/lib/action_mailer/collector.rb
attr_reader :responses
def initialize(context, &block)
@context = context
@responses = []
@default_render = block
end
def any(*args, &block)
options = args.extract_options!
raise "You have to supply at least... | 9208879d6e3824dda5cf4cdf0d616e6ed5d3240e | actionmailer/lib/action_mailer/collector.rb | actionmailer/lib/action_mailer/collector.rb | Ruby |
<|file_sep|>original/packages/hw/hw-fingertree.yaml
<|file_sep|>current/packages/hw/hw-fingertree.yaml
<|file_sep|>updated/packages/hw/hw-fingertree.yaml | homepage: ''
changelog-type: ''
hash: 2e848243206edf69e3cb5755f32757b7f6db1a4f04f9960e4031dcf87b974e1a
test-bench-deps:
test-framework-hunit: -any
test-framework: -any
base: ! '>=4.2 && <6'
test-framework-quickcheck2: -any
HUnit: -any
deepseq: -any
QuickCheck: -any
maintainer: Ross Paterson <R.Paterson@ci... | <|file_sep|>original/packages/hw/hw-fingertree.yaml
<|file_sep|>current/packages/hw/hw-fingertree.yaml
<|file_sep|>updated/packages/hw/hw-fingertree.yaml
homepage: ''
changelog-type: ''
hash: 2e848243206edf69e3cb5755f32757b7f6db1a4f04f9960e4031dcf87b974e1a
test-bench-deps:
test-framework-hunit: -any
test-framewor... | 8afceae63f1f7240f9e8aa7df326f718f9a96742 | packages/hw/hw-fingertree.yaml | packages/hw/hw-fingertree.yaml | YAML |
<|file_sep|>original/spec/support/factories.rb
sequence(:email) {|n| "person-#{n}@example.com" }
factory :user do
email
factory :user_with_mock_token do
after(:create) do |user, evaluator|
FactoryGirl.create(:mock_token, :user_id => user.id)
end
end
factory :user_wi... |
factory :notification_status, :class => Notifiable::NotificationStatus do
notification
status 0
end
sequence(:email) {|n| "person-#{n}@example.com" }
factory :user do
email
factory :user_with_mock_token do
after(:create) do |user, evaluator|
FactoryGirl.create(:moc... | <|file_sep|>original/spec/support/factories.rb
sequence(:email) {|n| "person-#{n}@example.com" }
factory :user do
email
factory :user_with_mock_token do
after(:create) do |user, evaluator|
FactoryGirl.create(:mock_token, :user_id => user.id)
end
end
factory :user_wi... | 8efd5f39729912b1a7f05743989b83ba2de885a0 | spec/support/factories.rb | spec/support/factories.rb | Ruby |
<|file_sep|>original/package.json
"composer",
"php"
],
"author": "Matt Glaman",
"license": "MIT",
"bugs": {
"url": "https://github.com/mglaman/conductor/issues"
},
"homepage": "https://github.com/mglaman/conductor",
"devDependencies": {
"electron-prebuilt": "^1.2.0",
"autoprefixer": "^... | "composer",
"php"
],
"author": "Matt Glaman",
"license": "MIT",
"bugs": {
"url": "https://github.com/mglaman/conductor/issues"
},
"homepage": "https://github.com/mglaman/conductor",
"devDependencies": {
"electron": "^1.2.0",
"autoprefixer": "^6.0.3",
"grunt": "^1.0.1",
"grunt-c... | <|file_sep|>original/package.json
"composer",
"php"
],
"author": "Matt Glaman",
"license": "MIT",
"bugs": {
"url": "https://github.com/mglaman/conductor/issues"
},
"homepage": "https://github.com/mglaman/conductor",
"devDependencies": {
"electron-prebuilt": "^1.2.0",
"autoprefixer": "^... | cfecc0bff43956f13a057e402cdac51a06e887fc | package.json | package.json | JSON |
<|file_sep|>original/package.json
{
"name": "armstrong.apps.donations",
"version": "1.1alpha.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"authorize==0.1.0",
"Django==1.3.1,==1.4",
"armstrong.utils.backends>=1.0.0,<2.0"
]
}
<|file_s... | {
"name": "armstrong.apps.donations",
"version": "1.1.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"authorize==0.1.0",
"Django==1.3.1,==1.4",
"armstrong.utils.backends>=1.0.0,<2.0"
]
} | <|file_sep|>original/package.json
{
"name": "armstrong.apps.donations",
"version": "1.1alpha.0",
"description": "Provides a framework for accepting donations",
"install_requires": [
"authorize==0.1.0",
"Django==1.3.1,==1.4",
"armstrong.utils.backends>=1.0.0,<2.0"
]
}
<|file_s... | 6e02788af08bbfb697e3f3d1e8d1c7342050bef8 | package.json | package.json | JSON |
<|file_sep|>original/README.md
Open Mafia
==========
I'm creating a simple text based mafia MMORPG to reminisce on playing these years ago.
<|file_sep|>current/README.md
Open Mafia
==========
I'm creating a simple text based mafia MMORPG to reminisce on playing these years ago.
<|file_sep|>updated/README.md | Open Mafia
==========
I'm creating a simple text based mafia MMORPG to reminisce on playing these years ago.
Creating one of these games years ago was a catapult into this industry and here I am creating one again. I remember times where internet cafes and libraries had teenagers playing these style of games against ... | <|file_sep|>original/README.md
Open Mafia
==========
I'm creating a simple text based mafia MMORPG to reminisce on playing these years ago.
<|file_sep|>current/README.md
Open Mafia
==========
I'm creating a simple text based mafia MMORPG to reminisce on playing these years ago.
<|file_sep|>updated/README.md
Open Mafi... | 41dd740d6aa4ac2912ed58005bfd638607f2bccf | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
services:
- couchdb
language: elixir
elixir:
- 1.1.1
otp_release:
- 18.2
script:
- "MIX_ENV=test mix run priv/repo/seeds.exs"
- "MIX_ENV=test mix do deps.get, deps.compile, test --trace"
<|file_sep|>current/.travis.yml
services:
- couchdb
language: elixir
elixir:
- 1.1.1
o... | services:
- couchdb
language: elixir
elixir:
- 1.2.6
- 1.3.2
otp_release:
- 18.2
script:
- "MIX_ENV=test mix run priv/repo/seeds.exs"
- "MIX_ENV=test mix do deps.get, deps.compile, test --trace" | <|file_sep|>original/.travis.yml
services:
- couchdb
language: elixir
elixir:
- 1.1.1
otp_release:
- 18.2
script:
- "MIX_ENV=test mix run priv/repo/seeds.exs"
- "MIX_ENV=test mix do deps.get, deps.compile, test --trace"
<|file_sep|>current/.travis.yml
services:
- couchdb
language: elixir
elixir:
- 1.1.1
o... | b57bc7d81018563a217ca6eeeb4439d2b483fd1c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/helm/vernemq/Chart.yaml
apiVersion: v1
appVersion: 1.9.1
description: VerneMQ is a high-performance, distributed MQTT message broker
name: vernemq
version: 1.4.1
icon: http://www.stickpng.com/assets/thumbs/58482b21cef1014c0b5e4a24.png
<|file_sep|>current/helm/vernemq/Chart.yaml
apiVersion: v1
appVe... | apiVersion: v1
appVersion: 1.9.1
description: VerneMQ is a high-performance, distributed MQTT message broker
name: vernemq
version: 1.4.2
icon: http://www.stickpng.com/assets/thumbs/58482b21cef1014c0b5e4a24.png | <|file_sep|>original/helm/vernemq/Chart.yaml
apiVersion: v1
appVersion: 1.9.1
description: VerneMQ is a high-performance, distributed MQTT message broker
name: vernemq
version: 1.4.1
icon: http://www.stickpng.com/assets/thumbs/58482b21cef1014c0b5e4a24.png
<|file_sep|>current/helm/vernemq/Chart.yaml
apiVersion: v1
appVe... | a2f5e13478683647d9288ea055b63cfeba6d7b48 | helm/vernemq/Chart.yaml | helm/vernemq/Chart.yaml | YAML |
<|file_sep|>original/extract-parts.sh
mkdir -p valid invalid malformed
rm -f valid/*.wasm
rm -f invalid/*.wasm
rm -f malformed/*.wast
for wast in *.wast; do
base="${wast##*/}"
json="invalid/${base%.wast}.json"
"$wabtbin/wast2wasm" --spec "$wast" -o "$json"
rm "$json"
done
mv invalid/*.wast malformed
... | mkdir -p valid invalid malformed
rm -f valid/*.wasm
rm -f invalid/*.wasm
rm -f malformed/*.wast
for wast in *.wast; do
base="${wast##*/}"
json="invalid/${base%.wast}.json"
"$wabtbin/wast2wasm" --spec "$wast" -o "$json"
rm "$json"
done
mv invalid/*.wast malformed
for wasm in invalid/*.wasm; do
if ... | <|file_sep|>original/extract-parts.sh
mkdir -p valid invalid malformed
rm -f valid/*.wasm
rm -f invalid/*.wasm
rm -f malformed/*.wast
for wast in *.wast; do
base="${wast##*/}"
json="invalid/${base%.wast}.json"
"$wabtbin/wast2wasm" --spec "$wast" -o "$json"
rm "$json"
done
mv invalid/*.wast malformed
... | 013cc59f770c7ff6f490dcc4f16fff4d6b089c8d | extract-parts.sh | extract-parts.sh | Shell |
<|file_sep|>original/prerequisites/build-functions/set_or_print_installation_path.sh
# If -P specifies a package, print the installation path and exit with normal status
# Otherwise, set install_path
# shellcheck disable=SC2154
set_or_print_installation_path()
{
# Verify requirements
[ ! -z "${arg_P}" ] && [ ! -z "... | # If -P specifies a package, print the installation path and exit with normal status
# Otherwise, set install_path
# shellcheck disable=SC2154
set_or_print_installation_path()
{
# Verify requirements
[ ! -z "${arg_P}" ] && [ ! -z "${arg_D:-${arg_p:-${arg_U:-${arg_V}}}}" ] &&
emergency "Please pass only one of {... | <|file_sep|>original/prerequisites/build-functions/set_or_print_installation_path.sh
# If -P specifies a package, print the installation path and exit with normal status
# Otherwise, set install_path
# shellcheck disable=SC2154
set_or_print_installation_path()
{
# Verify requirements
[ ! -z "${arg_P}" ] && [ ! -z "... | fbee6aa2bba51279c3c2dad9785b0d1b74995dd2 | prerequisites/build-functions/set_or_print_installation_path.sh | prerequisites/build-functions/set_or_print_installation_path.sh | Shell |
<|file_sep|>original/Realization/frontend/src/modules/README.md
<|file_sep|>current/Realization/frontend/src/modules/README.md
<|file_sep|>updated/Realization/frontend/src/modules/README.md | # Component descriptor
Component descriptor has same purpose as XML Bean definition in Spring.
It is place for definition relation between component key and real component's location in project (require).
Independent loading component by key, without need to define require on component is main purpose.
This i... | <|file_sep|>original/Realization/frontend/src/modules/README.md
<|file_sep|>current/Realization/frontend/src/modules/README.md
<|file_sep|>updated/Realization/frontend/src/modules/README.md
# Component descriptor
Component descriptor has same purpose as XML Bean definition in Spring.
It is place for definition r... | 7666345c20b1b9068ed0b030f05f35449c204a9b | Realization/frontend/src/modules/README.md | Realization/frontend/src/modules/README.md | Markdown |
<|file_sep|>README.markdown.diff
original:
A Ruby Gem that queries an XML or HTML document fed through the stdin using XPath (or even CSS selectors) (provided as the arguments).
updated:
Ruby gem that adds 4 new methods to String class that enables easy scraping of HTML/XML documents.
<|file_sep|>README.markdown.diff
o... |
$ gem install xp
### Usage
$ curl -s 'https://news.ycombinator.com' | xp --text '//td[class="title"]/a'
OR
$ curl -s 'https://news.ycombinator.com' | xp --text 'td.title > a'
The gem can also be used in Ruby scripts, by `requiring` the gem:
``` ruby
require 'xp'
```
For instance to get all the Dribb... | <|file_sep|>README.markdown.diff
original:
A Ruby Gem that queries an XML or HTML document fed through the stdin using XPath (or even CSS selectors) (provided as the arguments).
updated:
Ruby gem that adds 4 new methods to String class that enables easy scraping of HTML/XML documents.
<|file_sep|>README.markdown.diff
o... | 9bbd17442fc002a15ca5a6886d03f923299ce2d5 | README.markdown | README.markdown | Markdown |
<|file_sep|>original/tools/generate-coreos-temp-image.sh
<|file_sep|>current/tools/generate-coreos-temp-image.sh
<|file_sep|>updated/tools/generate-coreos-temp-image.sh | #!/usr/bin/env bash
set -eu
export LC_ALL=C
script_dir=`dirname $0`
target_dir=${1:-"${script_dir}/images"}
NODE_PUBKEY_PATH=${NODE_PUBKEY_PATH:-"~/.ssh/id_rsa.pub"}
NODE_PUBLIC_KEY=${NODE_PUBLIC_KEY:-"auto"}
if [[ ${NODE_PUBLIC_KEY} == "auto" ]]; then
export NODE_PUBLIC_KEY=`cat ${NODE_PUBKEY_PATH}`
fi
CHANNEL... | <|file_sep|>original/tools/generate-coreos-temp-image.sh
<|file_sep|>current/tools/generate-coreos-temp-image.sh
<|file_sep|>updated/tools/generate-coreos-temp-image.sh
#!/usr/bin/env bash
set -eu
export LC_ALL=C
script_dir=`dirname $0`
target_dir=${1:-"${script_dir}/images"}
NODE_PUBKEY_PATH=${NODE_PUBKEY_PATH:-"... | 3e9adb4998dd4ff7eb66e3c7dc87e5972d9bc827 | tools/generate-coreos-temp-image.sh | tools/generate-coreos-temp-image.sh | Shell |
<|file_sep|>docs/example-plugin/src/CMakeLists.txt.diff
original:
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} )
updated:
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} )
<|file_sep|>original/docs/example-plugin/src/CMakeLists.txt
LINK_DIRECTORIES( ${GLIB2_LIBRARY_DIRS} )
INCL... | LINK_DIRECTORIES( ${GLIB2_LIBRARY_DIRS} )
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} )
OPENSYNC_PLUGIN_ADD( example_plugin plugin.c )
OPENSYNC_PLUGIN_ADD( format_plugin format.c )
TARGET_LINK_LIBRARIES( example_plugin ${OPENSYNC_LIBRARIES} ${GLIB2_LIBRARIES} )
TARGET_LINK_LIBRARIES( format_pl... | <|file_sep|>docs/example-plugin/src/CMakeLists.txt.diff
original:
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS} )
updated:
INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIRS} )
<|file_sep|>original/docs/example-plugin/src/CMakeLists.txt
LINK_DIRECTORIES( ${GLIB2_LIBRARY_DIRS} )
INCL... | b12f09e7a03ec9a0e9d703aed810f1cacec90427 | docs/example-plugin/src/CMakeLists.txt | docs/example-plugin/src/CMakeLists.txt | Text |
<|file_sep|>original/routes/web.php
Route::get('/support', function (){
return view('support');
})->name('support');
Route::get('/contact', function (){
return view('contact');
})->name('contact');
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/profile', 'ProfileCont... |
Route::get('/support', function (){
return view('support');
})->name('support');
Route::get('/contact', function (){
return view('contact');
})->name('contact');
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/profile', 'ProfileController@index')->name('profile');
R... | <|file_sep|>original/routes/web.php
Route::get('/support', function (){
return view('support');
})->name('support');
Route::get('/contact', function (){
return view('contact');
})->name('contact');
Auth::routes();
Route::get('/home', 'HomeController@index')->name('home');
Route::get('/profile', 'ProfileCont... | 55226bfcad1d8ee9956df0246418a8000e1df44a | routes/web.php | routes/web.php | PHP |
<|file_sep|>original/config/initializers/rails_admin.rb
# config.authorize_with :cancan
## == PaperTrail ==
# config.audit_with :paper_trail, 'User', 'PaperTrail::Version' # PaperTrail >= 3.0.0
### More at https://github.com/sferik/rails_admin/wiki/Base-configuration
config.actions do
dashboard ... | # config.authorize_with :cancan
## == PaperTrail ==
# config.audit_with :paper_trail, 'User', 'PaperTrail::Version' # PaperTrail >= 3.0.0
### More at https://github.com/sferik/rails_admin/wiki/Base-configuration
config.actions do
dashboard # mandatory
index ... | <|file_sep|>original/config/initializers/rails_admin.rb
# config.authorize_with :cancan
## == PaperTrail ==
# config.audit_with :paper_trail, 'User', 'PaperTrail::Version' # PaperTrail >= 3.0.0
### More at https://github.com/sferik/rails_admin/wiki/Base-configuration
config.actions do
dashboard ... | 7889b7c932fb74bfb038f3288cb025a93bdfb83a | config/initializers/rails_admin.rb | config/initializers/rails_admin.rb | Ruby |
<|file_sep|>original/cmake/linker/ld/gcc/linker_flags.cmake
# The coverage linker flag is specific for gcc.
# Using a config check is ok for now, but in future it would be desired if
# linker flags themselves are not depending on actual configurations.
# All flags should be described, and the caller should know the fl... | # The coverage linker flag is specific for gcc.
# Using a config check is ok for now, but in future it would be desired if
# linker flags themselves are not depending on actual configurations.
# All flags should be described, and the caller should know the flag name to use.
if (NOT CONFIG_COVERAGE_GCOV)
set_property... | <|file_sep|>original/cmake/linker/ld/gcc/linker_flags.cmake
# The coverage linker flag is specific for gcc.
# Using a config check is ok for now, but in future it would be desired if
# linker flags themselves are not depending on actual configurations.
# All flags should be described, and the caller should know the fl... | 878edeb6ff190a713910a0e5cb9022704c5934a3 | cmake/linker/ld/gcc/linker_flags.cmake | cmake/linker/ld/gcc/linker_flags.cmake | CMake |
<|file_sep|>original/src/controls/mdfbSelectSearch.html
<md-input-container ng-class="{ 'md-input-invalid' : form[field.name].$invalid && form[field.name].$touched }" ng-show="field.show">
<label>{{field.title}}</label>
<md-select
name="{{field.name}}"
ng-model="field.value"
md-on-close="clearSearchTer... | <md-input-container ng-class="{ 'md-input-invalid' : form[field.name].$invalid && form[field.name].$touched }" ng-show="field.show">
<label>{{field.title}}</label>
<md-select
name="{{field.name}}"
ng-model="field.value"
md-on-close="clearSearchTerm()"
data-md-container-class="selectdemoSelectHeader... | <|file_sep|>original/src/controls/mdfbSelectSearch.html
<md-input-container ng-class="{ 'md-input-invalid' : form[field.name].$invalid && form[field.name].$touched }" ng-show="field.show">
<label>{{field.title}}</label>
<md-select
name="{{field.name}}"
ng-model="field.value"
md-on-close="clearSearchTer... | cb89114e7d5c301a452749cce7f7af98416d36fa | src/controls/mdfbSelectSearch.html | src/controls/mdfbSelectSearch.html | HTML |
<|file_sep|>original/activeresource.gemspec
s.name = 'activeresource'
s.version = ActiveResource::VERSION::STRING
s.summary = 'REST modeling framework (part of Rails).'
s.description = 'REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.'
s.l... | s.name = 'activeresource'
s.version = ActiveResource::VERSION::STRING
s.summary = 'REST modeling framework (part of Rails).'
s.description = 'REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.'
s.license = 'MIT'
s.author = 'David... | <|file_sep|>original/activeresource.gemspec
s.name = 'activeresource'
s.version = ActiveResource::VERSION::STRING
s.summary = 'REST modeling framework (part of Rails).'
s.description = 'REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.'
s.l... | 491fd5f186ae29bd662aa8ed6243269e86218a7d | activeresource.gemspec | activeresource.gemspec | Ruby |
<|file_sep|>original/metadata/br.com.dgimenes.nasapic.txt
Issue Tracker:https://github.com/danielgimenes/NasaPic/issues
Auto Name:NasaPic
Summary:Set astronomy wallpapers
Description:
Set NASA's Astronomy Picture of the Day as your wallpaper.
.
Repo Type:git
Repo:https://github.com/danielgimenes/NasaPic
Build:2.0,3
... | Set NASA's Astronomy Picture of the Day as your wallpaper.
.
Repo Type:git
Repo:https://github.com/danielgimenes/NasaPic
Build:2.0,3
commit=19271f841e40f6a5f99352db562a4070acc689fd
subdir=app
gradle=yes
Build:2.1,4
commit=0ffd93ee53c3f7549681637264f1c97ff2e951a3
subdir=app
gradle=yes
Auto Up... | <|file_sep|>original/metadata/br.com.dgimenes.nasapic.txt
Issue Tracker:https://github.com/danielgimenes/NasaPic/issues
Auto Name:NasaPic
Summary:Set astronomy wallpapers
Description:
Set NASA's Astronomy Picture of the Day as your wallpaper.
.
Repo Type:git
Repo:https://github.com/danielgimenes/NasaPic
Build:2.0,3
... | 36b20b3137aff66aa7f0e569d761b277048330a8 | metadata/br.com.dgimenes.nasapic.txt | metadata/br.com.dgimenes.nasapic.txt | Text |
<|file_sep|>original/db/migrations/013_change_serialize_column_to_json.rb
require 'common'
::Sequel.migration do
up do
# Change all serialized column initial Marshalled to JSON.
self[:orders].each do |row|
[:state, :parameters].each do |column|
row[column].andtap { |value| row[column] = Lims::C... | require 'common'
require 'lims-core/helpers'
::Sequel.migration do
up do
# Change all serialized column initial Marshalled to JSON.
self[:orders].each do |row|
[:state, :parameters].each do |column|
row[column].andtap { |value| row[column] = Lims::Core::Helpers::to_json(Marshal.load(value)) }
... | <|file_sep|>original/db/migrations/013_change_serialize_column_to_json.rb
require 'common'
::Sequel.migration do
up do
# Change all serialized column initial Marshalled to JSON.
self[:orders].each do |row|
[:state, :parameters].each do |column|
row[column].andtap { |value| row[column] = Lims::C... | a7f0f3861cd1b33c05e22e0b69bda55d11f147ac | db/migrations/013_change_serialize_column_to_json.rb | db/migrations/013_change_serialize_column_to_json.rb | Ruby |
<|file_sep|>original/app/models/renalware/patients/worry_query.rb
attr_reader :query_params
def initialize(query_params)
@query_params = query_params
@query_params[:s] = "date_time DESC" if @query_params[:s].blank?
end
def call
search
.result
.includ... | attr_reader :query_params
def initialize(query_params)
@query_params = query_params
@query_params[:s] = "date_time DESC" if @query_params[:s].blank?
end
def call
search
.result
.includes(:created_by, patient: { current_modality: [:description] })
... | <|file_sep|>original/app/models/renalware/patients/worry_query.rb
attr_reader :query_params
def initialize(query_params)
@query_params = query_params
@query_params[:s] = "date_time DESC" if @query_params[:s].blank?
end
def call
search
.result
.includ... | c1764d6dc258167cea8ca1dbfb460b9a25406ef6 | app/models/renalware/patients/worry_query.rb | app/models/renalware/patients/worry_query.rb | Ruby |
<|file_sep|>utils/01-bootstrap-pkg.sh.diff
original:
updated:
echo <<EOF
Now you need install tmuxinator
<|file_sep|>original/utils/01-bootstrap-pkg.sh
sudo apt-get -y install vim tmux zsh ruby1.9.3
mkdir -p ~/.tmuxinator
cp -av /clients.git/utils/tmuxinator/session.yml ~/.tmuxinator
wget --no-check-certificate https:... | sudo apt-get -y install vim tmux zsh ruby1.9.3
mkdir -p ~/.tmuxinator
cp -av /clients.git/utils/tmuxinator/session.yml ~/.tmuxinator
wget --no-check-certificate https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
sudo salt-call state.highstate
echo <<EOF
Now you need install tmuxinator
su... | <|file_sep|>utils/01-bootstrap-pkg.sh.diff
original:
updated:
echo <<EOF
Now you need install tmuxinator
<|file_sep|>original/utils/01-bootstrap-pkg.sh
sudo apt-get -y install vim tmux zsh ruby1.9.3
mkdir -p ~/.tmuxinator
cp -av /clients.git/utils/tmuxinator/session.yml ~/.tmuxinator
wget --no-check-certificate https:... | c55d64dac1f14c238c76f86a493bdd4cf65e7829 | utils/01-bootstrap-pkg.sh | utils/01-bootstrap-pkg.sh | Shell |
<|file_sep|>original/client/src/js/samples/components/Remove.js
import React from "react";
import { connect } from "react-redux";
import { push } from "connected-react-router";
import { routerLocationHasState } from "../../utils/utils";
import { removeSample } from "../actions";
import { RemoveModal } from "../../base"... | import React from "react";
import { connect } from "react-redux";
import { push } from "connected-react-router";
import { routerLocationHasState } from "../../utils/utils";
import { removeSample } from "../actions";
import { RemoveModal } from "../../base";
export const RemoveSample = ({ id, name, show, onHide, onConf... | <|file_sep|>original/client/src/js/samples/components/Remove.js
import React from "react";
import { connect } from "react-redux";
import { push } from "connected-react-router";
import { routerLocationHasState } from "../../utils/utils";
import { removeSample } from "../actions";
import { RemoveModal } from "../../base"... | 9bcbd163852070a1cdd83b402bb70835b3bb85bf | client/src/js/samples/components/Remove.js | client/src/js/samples/components/Remove.js | JavaScript |
<|file_sep|>original/.github/workflows/go.yml
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v ./...
- name: Test
run: ... | uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v ./...
- name: ... | <|file_sep|>original/.github/workflows/go.yml
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v ./...
- name: Test
run: ... | 322b4a131f6b906e9d74412b94554360f605e1b1 | .github/workflows/go.yml | .github/workflows/go.yml | YAML |
<|file_sep|>original/zsh/noglob.zsh
# Don't try to glob with zsh so you can do
# stuff like ga *foo* and correctly have
# git add the right stuff
alias git='noglob git'
<|file_sep|>current/zsh/noglob.zsh
# Don't try to glob with zsh so you can do
# stuff like ga *foo* and correctly have
# git add the right stuff
alias ... | # Don't try to glob with zsh so you can do
# stuff like ga *foo* and correctly have
# git add the right stuff
alias git='noglob /usr/local/bin/git' | <|file_sep|>original/zsh/noglob.zsh
# Don't try to glob with zsh so you can do
# stuff like ga *foo* and correctly have
# git add the right stuff
alias git='noglob git'
<|file_sep|>current/zsh/noglob.zsh
# Don't try to glob with zsh so you can do
# stuff like ga *foo* and correctly have
# git add the right stuff
alias ... | efa21e1c38a46639a480f5052c4c5714f738feb1 | zsh/noglob.zsh | zsh/noglob.zsh | Shell |
<|file_sep|>original/.travis.yml
sudo: false
#!/Users/brian/bin/perls/perl5.22.0
use v5.10;
my $data = do { local( $/ ); <DATA> };
$data =~ s/\t/ /gm;
$data =~ s/\h+-\h"5\.20"\n\h*\n/ - "5.20"\n - "5.22"\n\n/;
$data =~ s/\s+\z//gm;
my $top =<<"HERE";
sudo: false
HERE
say $top . $data;
__END__
language:... |
language: perl
perl:
- "5.8"
- "5.10"
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init --auto
install:
- cpanm --quiet --installdeps --notest .
... | <|file_sep|>original/.travis.yml
sudo: false
#!/Users/brian/bin/perls/perl5.22.0
use v5.10;
my $data = do { local( $/ ); <DATA> };
$data =~ s/\t/ /gm;
$data =~ s/\h+-\h"5\.20"\n\h*\n/ - "5.20"\n - "5.22"\n\n/;
$data =~ s/\s+\z//gm;
my $top =<<"HERE";
sudo: false
HERE
say $top . $data;
__END__
language:... | 9858a1c92959db33700dd7aaf7de47bda2bc6e94 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/user/profile.erb
<%=@page_owner.height %> </br>
<%=@page_owner.bio %> </br>
</p>
<h3>Add a comment for <%= @page_owner.username %></h3>
<div class="commentForm">
<form action="/comment/<%=@page_owner.id%>/new" method = "POST">
<input type="text" name="comment[content]">
<input ... | <form action="/comment/<%=@page_owner.id%>/new" method = "POST">
<input type="text" name="comment[content]">
<input type="submit">
</form> </br>
</div>
<h3> <%=@page_owner.username %>'s Comments </h3>
<div class="userComments">
<% Comment.all.each do |x| %>
<% if @page_owner.id == x.receiver_id %>
<%... | <|file_sep|>original/app/views/user/profile.erb
<%=@page_owner.height %> </br>
<%=@page_owner.bio %> </br>
</p>
<h3>Add a comment for <%= @page_owner.username %></h3>
<div class="commentForm">
<form action="/comment/<%=@page_owner.id%>/new" method = "POST">
<input type="text" name="comment[content]">
<input ... | 50c00ba7e1dab6355596d2f2b3bd00ff1e1c7b0f | app/views/user/profile.erb | app/views/user/profile.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
befor... | # Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-current-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
before_script:
- eval "$(/opt/chefd... | <|file_sep|>original/.travis.yml
# Use Travis's cointainer based infrastructure
sudo: false
addons:
apt:
sources:
- chef-stable-precise
packages:
- chefdk
# Don't `bundle install`
install: echo "skip bundle install"
branches:
only:
- master
# Ensure we make ChefDK's Ruby the default
befor... | 5f9bc2774f53edf44f838d021165b5fb566aa4cc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/sitemap.xml
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/sche... | ---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
{% ... | <|file_sep|>original/sitemap.xml
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/sche... | f0a23634c7dc2340a4d45256bac131aba885c461 | sitemap.xml | sitemap.xml | XML |
<|file_sep|>original/projects/glance.json
{"name": "glance", "subprojects": ["openstack/glance", "openstack/python-glanceclient", "openstack/image-api"], "core-team": ["markwash", "bcwaldon", "eglynn", "dan-prince", "flaper87", "alex-meade", "jbresnah", "iccha-sethi"]}
<|file_sep|>current/projects/glance.json
{"name": ... | {"name": "glance", "subprojects": ["openstack/glance", "openstack/python-glanceclient", "openstack/image-api"], "core-team": ["markwash", "bcwaldon", "eglynn", "dan-prince", "flaper87", "alex-meade", "jbresnah", "iccha-sethi", "flwang", "lzy-dev"]} | <|file_sep|>original/projects/glance.json
{"name": "glance", "subprojects": ["openstack/glance", "openstack/python-glanceclient", "openstack/image-api"], "core-team": ["markwash", "bcwaldon", "eglynn", "dan-prince", "flaper87", "alex-meade", "jbresnah", "iccha-sethi"]}
<|file_sep|>current/projects/glance.json
{"name": ... | b5e52047493219ad9541403798187f3fef661167 | projects/glance.json | projects/glance.json | JSON |
<|file_sep|>original/Gruntfile.js
server: {
options: {
jshintrc: true
},
src: ['src/**/*.js']
},
client: {
options: {
jshintrc: true
},
src: ['sta... |
server: {
options: {
jshintrc: true
},
src: ['src/**/*.js']
},
client: {
options: {
jshintrc: true,
ignores: ['static/js/**/*.min.js']
},
... | <|file_sep|>original/Gruntfile.js
server: {
options: {
jshintrc: true
},
src: ['src/**/*.js']
},
client: {
options: {
jshintrc: true
},
src: ['sta... | 3ab63bdd39ba71a9ad8a7cd0dbb768dc26daec64 | Gruntfile.js | Gruntfile.js | JavaScript |
<|file_sep|>README.md.diff
original:
updated:
## Develop with Vagrant
<|file_sep|>README.md.diff
original:
2. Clone this repo
3. Run `vagrant up` in a terminal from the root of the project
updated:
2. Fork and clone this repo
3. From the root of the project, run `vagrant up` in a terminal
<|file_sep|>original/README.... |
[](https://circleci.com/gh/levlaz/braindump) 
# Development
## Develop with Vagrant
1. Install [Vagrant](https://www.vagrantup.com/)
2. Fork and clone... | <|file_sep|>README.md.diff
original:
updated:
## Develop with Vagrant
<|file_sep|>README.md.diff
original:
2. Clone this repo
3. Run `vagrant up` in a terminal from the root of the project
updated:
2. Fork and clone this repo
3. From the root of the project, run `vagrant up` in a terminal
<|file_sep|>original/README.... | 9fca0c7bd35851beb5d759e7c88b1bd75a3d2807 | README.md | README.md | Markdown |
<|file_sep|>original/indexing/src/main/resources/application.properties
## PROD ENVIRONMENT PROPERTIES
spring.profiles.active=httpServer
## ================= Solr =================
solr.host=http://localhost:8082/solr/
## ================= Source Files =================
indexing.ontology.source=
indexing.ontology.chu... | spring.profiles.active=httpServer
## ================= Solr =================
solr.host=http://localhost:8082/solr/
## ================= Source Files =================
indexing.ontology.source=
indexing.ontology.chunk.size=10000
indexing.ontology.skip.limit=100
indexing.geneproduct.source=
indexing.geneproduct.chunk... | <|file_sep|>original/indexing/src/main/resources/application.properties
## PROD ENVIRONMENT PROPERTIES
spring.profiles.active=httpServer
## ================= Solr =================
solr.host=http://localhost:8082/solr/
## ================= Source Files =================
indexing.ontology.source=
indexing.ontology.chu... | e9481cb8a3b850813a2991fe5d04885f08fb1a0f | indexing/src/main/resources/application.properties | indexing/src/main/resources/application.properties | INI |
<|file_sep|>src/main/transforms/StatsTransform.js.diff
original:
const type = this._type.render(event);
const name = this._name.render(event);
let value;
updated:
try {
const value = parseInt(this._value.render(event), 10);
const type = this._type.render(event);
const name = this._name... | process(event) {
try {
const value = parseInt(this._value.render(event), 10);
const type = this._type.render(event);
const name = this._name.render(event);
switch (type) {
case 'increment':
this._stats.increment(key, value);
break;
case 'gauge':
... | <|file_sep|>src/main/transforms/StatsTransform.js.diff
original:
const type = this._type.render(event);
const name = this._name.render(event);
let value;
updated:
try {
const value = parseInt(this._value.render(event), 10);
const type = this._type.render(event);
const name = this._name... | 75c61bd0da234f9e2fcf327567032eeb03ca1a70 | src/main/transforms/StatsTransform.js | src/main/transforms/StatsTransform.js | JavaScript |
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.4
cryptography==1.4
PyYAML==3.11
pytest==2.9.2
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.1
Sphinx==1.4.4
cryptography==1.4
PyYAML==3.11
pytest==2.9.2 | <|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==2.3.1
coverage==4.1
Sphinx==1.4.4
cryptography==1.4
PyYAML==3.11
pytest==2.9.2
<|file_sep|>current/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==2.6.0
tox==... | a7ffe4d8a5c0dac74d0d2b116ab230463c4bd8b3 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/app/helpers/base_helper.rb
module BaseHelper
def current_server
core_url ||= ENV['LWS_API_URL']
core_url ||= "#{ENV['LWS_CORE_URL']}" if ENV['LWS_CORE_URL']
@current_server ||= LucidWorks::Server.new("#{core_url || 'http://127.0.0.1:8888'}")
end
end
<|file_sep|>current/app/helper... | module BaseHelper
end | <|file_sep|>original/app/helpers/base_helper.rb
module BaseHelper
def current_server
core_url ||= ENV['LWS_API_URL']
core_url ||= "#{ENV['LWS_CORE_URL']}" if ENV['LWS_CORE_URL']
@current_server ||= LucidWorks::Server.new("#{core_url || 'http://127.0.0.1:8888'}")
end
end
<|file_sep|>current/app/helper... | c870bbc9e3d87026e09294528548a18ccceb4630 | app/helpers/base_helper.rb | app/helpers/base_helper.rb | Ruby |
<|file_sep|>rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java.diff
original:
updated:
import android.support.test.annotation.UiThreadTest;
<|file_sep|>original/rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java
package com.jakewharton.rxbinding.view;
im... | package com.jakewharton.rxbinding.view;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.annotation.UiThreadTest;
import android.support.test.rule.UiThreadTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.view.View;
import android... | <|file_sep|>rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java.diff
original:
updated:
import android.support.test.annotation.UiThreadTest;
<|file_sep|>original/rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java
package com.jakewharton.rxbinding.view;
im... | fa8f81b2a392b6f87f3821bad4f5fe71e417d645 | rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java | rxbinding/src/androidTest/java/com/jakewharton/rxbinding/view/RxViewGroupTest.java | Java |
<|file_sep|>original/src/benchmark/scala/com/sageserpent/plutonium/Benchmark.scala
package com.sageserpent.plutonium
import java.time.Instant
import com.sageserpent.americium.randomEnrichment._
import org.scalameter.{Bench, Gen}
object Benchmark extends Bench.LocalTime {
type EventId = Int
class Thing(override ... | package com.sageserpent.plutonium
import java.time.Instant
import com.sageserpent.americium.randomEnrichment._
import org.scalameter.{Bench, Gen}
object Benchmark extends Bench.LocalTime {
type EventId = Int
abstract class Thing extends Identified {
override type Id = Int
var property: Int = 0
var... | <|file_sep|>original/src/benchmark/scala/com/sageserpent/plutonium/Benchmark.scala
package com.sageserpent.plutonium
import java.time.Instant
import com.sageserpent.americium.randomEnrichment._
import org.scalameter.{Bench, Gen}
object Benchmark extends Bench.LocalTime {
type EventId = Int
class Thing(override ... | 167e34b534772766693450abbf96a3665d5e7aa3 | src/benchmark/scala/com/sageserpent/plutonium/Benchmark.scala | src/benchmark/scala/com/sageserpent/plutonium/Benchmark.scala | Scala |
<|file_sep|>original/modules/server-stores/module.json5
},
"text":{
"server/app.js":[
{
"op":"insert",
"position":"before",
"newlineAfter":true,
"anchorPoint":"/* Loaded modules -- end */",
"value":"const JsonRes... | },
"text":{
"server/app.js":[
{
"op":"insert",
"position":"before",
"newlineAfter":true,
"anchorPoint":"/* Loaded modules -- end */",
"value":"const JsonRestStores = require('jsonreststores')"
},
... | <|file_sep|>original/modules/server-stores/module.json5
},
"text":{
"server/app.js":[
{
"op":"insert",
"position":"before",
"newlineAfter":true,
"anchorPoint":"/* Loaded modules -- end */",
"value":"const JsonRes... | 474fa21b7f6cee9c77d14639b90d9d15d9fef7e2 | modules/server-stores/module.json5 | modules/server-stores/module.json5 | JSON5 |
<|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md | # Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/).
## How to Report
For more information on how to re... | <|file_sep|>original/CODE_OF_CONDUCT.md
<|file_sep|>current/CODE_OF_CONDUCT.md
<|file_sep|>updated/CODE_OF_CONDUCT.md
# Community Participation Guidelines
This repository is governed by Mozilla's code of conduct and etiquette guidelines.
For more details, please read the
[Mozilla Community Participation Guidelines]... | d21010ce16da8a4f9bbfaaf5d616febfcbf1464c | CODE_OF_CONDUCT.md | CODE_OF_CONDUCT.md | Markdown |
<|file_sep|>lib/sprockets/lazy_proxy.rb.diff
original:
updated:
require 'delegate'
<|file_sep|>lib/sprockets/lazy_proxy.rb.diff
original:
class LazyProxy
updated:
# Internal: Used for lazy loading processors.
#
# LazyProxy.new { CoffeeScriptTemplate }
#
class LazyProxy < Delegator
<|file_sep|>lib/sprock... | require 'delegate'
module Sprockets
# Internal: Used for lazy loading processors.
#
# LazyProxy.new { CoffeeScriptTemplate }
#
class LazyProxy < Delegator
def initialize(&block)
@_block = block
end
def __getobj__
@_obj ||= @_block.call
end
end
end | <|file_sep|>lib/sprockets/lazy_proxy.rb.diff
original:
updated:
require 'delegate'
<|file_sep|>lib/sprockets/lazy_proxy.rb.diff
original:
class LazyProxy
updated:
# Internal: Used for lazy loading processors.
#
# LazyProxy.new { CoffeeScriptTemplate }
#
class LazyProxy < Delegator
<|file_sep|>lib/sprock... | d92e51415aa704d28add5f59a19774ecde440c19 | lib/sprockets/lazy_proxy.rb | lib/sprockets/lazy_proxy.rb | Ruby |
<|file_sep|>.travis.yml.diff
original:
updated:
- ubuntu-toolchain-r-test
<|file_sep|>.travis.yml.diff
original:
updated:
- gcc-6
- g++-6
<|file_sep|>original/.travis.yml
- ATOM_CHANNEL=beta
addons:
apt:
sources:
- r-packages-trusty
packages:
- r-recommended
- freegl... | - r-packages-trusty
packages:
- gcc-6
- g++-6
- r-recommended
- freeglut3
- ghostscript
cache:
directories:
- ${R_LIBS_USER}
before_script:
- if [[ "${TRAVIS_OS_NAME:-}" == "linux" ]]; then export CC=gcc-6 CXX=g++-6; fi
script: ./script/cibuild
notifications:
email:... | <|file_sep|>.travis.yml.diff
original:
updated:
- ubuntu-toolchain-r-test
<|file_sep|>.travis.yml.diff
original:
updated:
- gcc-6
- g++-6
<|file_sep|>original/.travis.yml
- ATOM_CHANNEL=beta
addons:
apt:
sources:
- r-packages-trusty
packages:
- r-recommended
- freegl... | fdb1f8e6b1b55c79bf429ae5d1d2093b40ab4109 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
THC
===
[](https://travis-ci.org/hltbra/thc)
THC (Testing High C) is a set of macros and small functions aimed
to help C developers write their tests.
Usage
-----
Create a C test file (let's say test.c):
#include "thc.h"
void e... | THC
===
[](https://travis-ci.org/hltbra/thc)
<img src="http://instanc.es/bin/hltbra/thc.png" width="95" height="18" />
THC (Testing High C) is a set of macros and small functions aimed
to help C developers write their tests.
Usage
-----
Create a C test file (let... | <|file_sep|>original/README.md
THC
===
[](https://travis-ci.org/hltbra/thc)
THC (Testing High C) is a set of macros and small functions aimed
to help C developers write their tests.
Usage
-----
Create a C test file (let's say test.c):
#include "thc.h"
void e... | ffee258c1b93e54ac5c3b5d0dcbf6c0afc643e07 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
GoJazz
======
updated:
# Go Jazz
<|file_sep|>README.md.diff
original:
GoJazz is a tool for working with Jazz SCM repositories on IDS. It is designed
to be a light-weight alternative to the standard Jazz SCM clients that can
work easily with a variety of desktop tools.
updated:
GoJ... | Working with Jazz SCM is accomplished via a minimal number of CLI commands and
the IDS web interface for the rest of the SCM capabilities.
## Features
+ Load the latest contents of a stream (no authentication required for public projects)
+ Load the contents of your repository workspace
+ Check-in your changes (E... | <|file_sep|>README.md.diff
original:
GoJazz
======
updated:
# Go Jazz
<|file_sep|>README.md.diff
original:
GoJazz is a tool for working with Jazz SCM repositories on IDS. It is designed
to be a light-weight alternative to the standard Jazz SCM clients that can
work easily with a variety of desktop tools.
updated:
GoJ... | 07963b7da469a1f218dbfc8317d688d3d6c04e8f | README.md | README.md | Markdown |
<|file_sep|>original/WeatherServer/weather/views.py
import IP
from flask import Blueprint, request, render_template, jsonify
weather = Blueprint('weather', __name__, url_prefix='/weather')
@weather.route('/', methods=['GET'])
def index():
ip = request.remote_addr
location = IP.find(ip)
return jsonify(loc... | import IP
from flask import Blueprint, request, render_template, jsonify
weather = Blueprint('weather', __name__, url_prefix='/weather')
@weather.route('/', methods=['GET'])
def index():
if request.headers.getlist("X-Forwarded-For"):
ip = request.headers.getlist("X-Forwarded-For")[0]
else:
ip... | <|file_sep|>original/WeatherServer/weather/views.py
import IP
from flask import Blueprint, request, render_template, jsonify
weather = Blueprint('weather', __name__, url_prefix='/weather')
@weather.route('/', methods=['GET'])
def index():
ip = request.remote_addr
location = IP.find(ip)
return jsonify(loc... | bbc65d55d247d290a427ac5ba2c43b9d0033654d | WeatherServer/weather/views.py | WeatherServer/weather/views.py | Python |
<|file_sep|>original/_posts/articles/2013-06-25-video-post.md
---
layout: post
title: "A Post with a Video"
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
categories: articles
tags: [sample-post, video]
comments: true
share: true
---
<iframe width="560" height="315" src="//www.you... | title: "A Post with a Video"
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
categories: articles
tags: [sample-post, video]
comments: true
share: true
---
<iframe width="560" height="315" src="//www.youtube.com/embed/SqYiglufb8Y" frameborder="0"> </iframe>
Video embeds are respon... | <|file_sep|>original/_posts/articles/2013-06-25-video-post.md
---
layout: post
title: "A Post with a Video"
excerpt: "Custom written post descriptions are the way to go... if you're not lazy."
categories: articles
tags: [sample-post, video]
comments: true
share: true
---
<iframe width="560" height="315" src="//www.you... | 978ad2ae3cae49c42c23bf28f8bba5889e03c958 | _posts/articles/2013-06-25-video-post.md | _posts/articles/2013-06-25-video-post.md | Markdown |
<|file_sep|>original/doc/internal/howto-update-snap.markdown
> review it for any needed updates.
This document outlines how to rebuild the snap and push it out.
You'll need:
- a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04);
- login and password for the snap's owner account.
1. Navig... | > review it for any needed updates.
This document outlines how to rebuild the snap and push it out.
You'll need:
- a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04);
- login and password for the snap's owner account.
1. Navigate to your local clone of Newsboat.
2. Check out the latest ... | <|file_sep|>original/doc/internal/howto-update-snap.markdown
> review it for any needed updates.
This document outlines how to rebuild the snap and push it out.
You'll need:
- a machine with Snap installed (I'm using a virtual machine running Ubuntu 20.04);
- login and password for the snap's owner account.
1. Navig... | 7372a6ee9a500c0de786ad5350ecce654fdb9a74 | doc/internal/howto-update-snap.markdown | doc/internal/howto-update-snap.markdown | Markdown |
<|file_sep|>tasks/service/redhat.yaml.diff
original:
src: ../files/nodepool.service
updated:
src: ../../files/nodepool.service
<|file_sep|>original/tasks/service/redhat.yaml
---
- name: Copy systemd file into place.
copy:
dest: /etc/systemd/system
src: ../files/nodepool.service
- name: Copy sysconfig... | ---
- name: Copy systemd file into place.
copy:
dest: /etc/systemd/system
src: ../../files/nodepool.service
- name: Copy sysconfig file into place.
copy:
dest: /etc/sysconfig/nodepool
src: ../../files/nodepool.sysconfig
- name: Enable nodepool service.
service:
enabled: yes
name: nodepoo... | <|file_sep|>tasks/service/redhat.yaml.diff
original:
src: ../files/nodepool.service
updated:
src: ../../files/nodepool.service
<|file_sep|>original/tasks/service/redhat.yaml
---
- name: Copy systemd file into place.
copy:
dest: /etc/systemd/system
src: ../files/nodepool.service
- name: Copy sysconfig... | ad84eccaeca85d012528f6f8e803df51669928ed | tasks/service/redhat.yaml | tasks/service/redhat.yaml | YAML |
<|file_sep|>original/challenges/c7.py
from challenge import Challenge
import flask
class c7(Challenge):
'''
Challenge 7
Satoshi Base58 Encoding
'''
def __init__(self):
super()
self._id = '3aed4348ed11e6adf1b54885b297078070ac455'
self._hints = {1: 'Base58 Encoding'}
def... | from challenge import Challenge
import flask
class c7(Challenge):
'''
Challenge 7
Satoshi Base58 Encoding
'''
def __init__(self):
super()
self._id = '3aed4348ed11e6adf1b54885b297078070ac4556'
self._hints = {1: 'Base58 Encoding'}
def get_response(self, app):
ret... | <|file_sep|>original/challenges/c7.py
from challenge import Challenge
import flask
class c7(Challenge):
'''
Challenge 7
Satoshi Base58 Encoding
'''
def __init__(self):
super()
self._id = '3aed4348ed11e6adf1b54885b297078070ac455'
self._hints = {1: 'Base58 Encoding'}
def... | 24c5cd9916b7fe81d3a57fc612132a070367756f | challenges/c7.py | challenges/c7.py | Python |
<|file_sep|>original/spec/github_cli/commands/contents_spec.rb
<|file_sep|>current/spec/github_cli/commands/contents_spec.rb
<|file_sep|>updated/spec/github_cli/commands/contents_spec.rb | # encoding: utf-8
require 'spec_helper'
describe GithubCLI::Commands::Contents do
let(:format) { 'table' }
let(:user) { 'peter-murach' }
let(:repo) { 'github_cli' }
let(:path) { 'README.md' }
let(:api_class) { GithubCLI::Content }
it "invokes content:readme" do
api_class.should_receive(:readme)... | <|file_sep|>original/spec/github_cli/commands/contents_spec.rb
<|file_sep|>current/spec/github_cli/commands/contents_spec.rb
<|file_sep|>updated/spec/github_cli/commands/contents_spec.rb
# encoding: utf-8
require 'spec_helper'
describe GithubCLI::Commands::Contents do
let(:format) { 'table' }
let(:user) { 'pe... | 6d689c8594c657239cab6b682f68bd41b2dd03bb | spec/github_cli/commands/contents_spec.rb | spec/github_cli/commands/contents_spec.rb | Ruby |
<|file_sep|>.github/workflows/wheels.yml.diff
original:
updated:
if: ${{ github.ref == 'refs/heads/master' }}
<|file_sep|>original/.github/workflows/wheels.yml
os: [ubuntu-20.04, windows-2019, macos-10.15]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- na... | os: [ubuntu-20.04, windows-2019, macos-10.15]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build wheels
uses: joerick/cibuildwheel@v1.11.0
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
... | <|file_sep|>.github/workflows/wheels.yml.diff
original:
updated:
if: ${{ github.ref == 'refs/heads/master' }}
<|file_sep|>original/.github/workflows/wheels.yml
os: [ubuntu-20.04, windows-2019, macos-10.15]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- na... | 73713e60d71909f10ef51ef096650752669aadcc | .github/workflows/wheels.yml | .github/workflows/wheels.yml | YAML |
<|file_sep|>tests/__init__.py.diff
original:
from redis import Redis
updated:
from flask_split.core import _get_redis_connection
<|file_sep|>tests/__init__.py.diff
original:
self.redis = Redis()
self.redis.flushall()
updated:
<|file_sep|>original/tests/__init__.py
class TestCase(object):
def setu... |
class TestCase(object):
def setup_method(self, method):
self.app = Flask(__name__)
self.app.debug = True
self.app.secret_key = 'very secret'
self.app.register_blueprint(split)
self._ctx = self.make_test_request_context()
self._ctx.push()
self.redis = _get_re... | <|file_sep|>tests/__init__.py.diff
original:
from redis import Redis
updated:
from flask_split.core import _get_redis_connection
<|file_sep|>tests/__init__.py.diff
original:
self.redis = Redis()
self.redis.flushall()
updated:
<|file_sep|>original/tests/__init__.py
class TestCase(object):
def setu... | e98134e112482cd6f3f01148994b331c9cb6f6ba | tests/__init__.py | tests/__init__.py | Python |
<|file_sep|>week-05.md.diff
original:
disabled: true
updated:
<|file_sep|>original/week-05.md
url: typografier-cheat-sheet
- title: "Modulifier cheat sheet"
url: modulifier-cheat-sheet
tasks:
- type: blank
- type: blank
- title: "Interactive wireframe check-in"
url: https://github.com/acgd-web... | - title: "Typografier cheat sheet"
url: typografier-cheat-sheet
- title: "Modulifier cheat sheet"
url: modulifier-cheat-sheet
tasks:
- type: blank
- type: blank
- title: "Interactive wireframe check-in"
url: https://github.com/acgd-webdev-5/interactive-wireframe-check-in
button: activity
... | <|file_sep|>week-05.md.diff
original:
disabled: true
updated:
<|file_sep|>original/week-05.md
url: typografier-cheat-sheet
- title: "Modulifier cheat sheet"
url: modulifier-cheat-sheet
tasks:
- type: blank
- type: blank
- title: "Interactive wireframe check-in"
url: https://github.com/acgd-web... | 9eefdb797685b29ddd5cc60e553378f7a12bdec0 | week-05.md | week-05.md | Markdown |
<|file_sep|>original/hack/verify-deps.sh
TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
cd "${TESTINFRA_ROOT}"
_tmpdir="$(mktemp -d -t verify-deps.XXXXXX)"
cd "${_tmpdir}"
_tmpdir="$(pwd)"
trap "rm -rf ${_tmpdir}" EXIT
cp -a "${TESTINFRA_ROOT}/" "${_tmpdir}"
./hack/update-deps.sh
diff=$(diff -Nupr \
-x ".git" \... |
TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
cd "${TESTINFRA_ROOT}"
_tmpdir="$(mktemp -d -t verify-deps.XXXXXX)"
cd "${_tmpdir}"
_tmpdir="$(pwd)"
trap "rm -rf ${_tmpdir}" EXIT
cp -a "${TESTINFRA_ROOT}/." "${_tmpdir}"
./hack/update-deps.sh
diff=$(diff -Nupr \
-x ".git" \
-x "bazel-*" \
-x "_output" \
"${... | <|file_sep|>original/hack/verify-deps.sh
TESTINFRA_ROOT=$(git rev-parse --show-toplevel)
cd "${TESTINFRA_ROOT}"
_tmpdir="$(mktemp -d -t verify-deps.XXXXXX)"
cd "${_tmpdir}"
_tmpdir="$(pwd)"
trap "rm -rf ${_tmpdir}" EXIT
cp -a "${TESTINFRA_ROOT}/" "${_tmpdir}"
./hack/update-deps.sh
diff=$(diff -Nupr \
-x ".git" \... | 96a34d718ebb7809aef0ef17540147ffb8bea6c1 | hack/verify-deps.sh | hack/verify-deps.sh | Shell |
<|file_sep|>original/run_cloudbuild.sh
<|file_sep|>current/run_cloudbuild.sh
<|file_sep|>updated/run_cloudbuild.sh | #!/bin/bash
# Run script using run_cloudbuild.sh <image-type: debug, hardened>
#
set -euxo pipefail
if [ $# -eq 0 ]; then
echo "No arguments supplied. Run with image-type."
exit 1
elif [[ "$1" != "hardened" && "$1" != "debug" ]]; then
echo "Incorrect args: image-type must be one of debug|hardened"
exit 1
fi
#... | <|file_sep|>original/run_cloudbuild.sh
<|file_sep|>current/run_cloudbuild.sh
<|file_sep|>updated/run_cloudbuild.sh
#!/bin/bash
# Run script using run_cloudbuild.sh <image-type: debug, hardened>
#
set -euxo pipefail
if [ $# -eq 0 ]; then
echo "No arguments supplied. Run with image-type."
exit 1
elif [[ "$1" != "h... | a9a638e7bea541bc99613608917b5d9349b6aea1 | run_cloudbuild.sh | run_cloudbuild.sh | Shell |
<|file_sep|>original/package.json
},
"bugs": {
"url": "http://github.com/dmcquay/node-apac/issues"
},
"os": [
"linux",
"darwin",
"freebsd",
"windows",
"solaris",
"win32"
],
"directories": {
"lib": "./lib/"
},
"main": "./lib/apac",
"dependencies": {
"xml2js": ">=0.1.... | },
"bugs": {
"url": "http://github.com/dmcquay/node-apac/issues"
},
"os": [
"linux",
"darwin",
"freebsd",
"windows",
"solaris",
"win32",
"sunos"
],
"directories": {
"lib": "./lib/"
},
"main": "./lib/apac",
"dependencies": {
"xml2js": ">=0.1.7",
"request" : "... | <|file_sep|>original/package.json
},
"bugs": {
"url": "http://github.com/dmcquay/node-apac/issues"
},
"os": [
"linux",
"darwin",
"freebsd",
"windows",
"solaris",
"win32"
],
"directories": {
"lib": "./lib/"
},
"main": "./lib/apac",
"dependencies": {
"xml2js": ">=0.1.... | abe2c4cf192ab053ec7fe755adb44ce187bb26a6 | package.json | package.json | JSON |
<|file_sep|>original/eucentral1-demo/vpc.tf
<|file_sep|>current/eucentral1-demo/vpc.tf
<|file_sep|>updated/eucentral1-demo/vpc.tf | resource "terraform_state" "vpc" {
backend = "http"
config {
address = "https://raw.githubusercontent.com/${var.github_username}/terraform-example-vpc/master/${replace(var.region, \"-\", \"\")}-${var.account}/terraform.tfstate"
}
}
output "nat_public_ip" {
value = "${terraform_state.vpc.output.... | <|file_sep|>original/eucentral1-demo/vpc.tf
<|file_sep|>current/eucentral1-demo/vpc.tf
<|file_sep|>updated/eucentral1-demo/vpc.tf
resource "terraform_state" "vpc" {
backend = "http"
config {
address = "https://raw.githubusercontent.com/${var.github_username}/terraform-example-vpc/master/${replace(var.... | 8e2d1b673807a44d7ca38f3b270ba1860252826a | eucentral1-demo/vpc.tf | eucentral1-demo/vpc.tf | HCL |
<|file_sep|>original/README.txt
The TubeTK project overview is available on the web:
http://public.kitware.com/Wiki/TubeTK
This work is distributed under the Apache 2.0 license. Non-commercial
and commercial use is encouraged. More information on the Apache 2.0
license is available on the web:
http://www.apach... |
The TubeTK project overview is available on the web:
http://public.kitware.com/Wiki/TubeTK
This work is distributed under the Apache 2.0 license. Non-commercial
and commercial use is encouraged. More information on the Apache 2.0
license is available on the web:
http://www.apache.org/licenses/LICENSE-2.0
The ... | <|file_sep|>original/README.txt
The TubeTK project overview is available on the web:
http://public.kitware.com/Wiki/TubeTK
This work is distributed under the Apache 2.0 license. Non-commercial
and commercial use is encouraged. More information on the Apache 2.0
license is available on the web:
http://www.apach... | 295993d9642d48364d61c77a2b437a0f84e6d142 | README.txt | README.txt | Text |
<|file_sep|>original/lib/scorm2004/sequencing/rollup_rule_check_subprocess.rb
module Scorm2004
module Sequencing
# Rollup Rule Check Subprocess [RB.1.4]
#
# @example Apply the Rollup Rule Check Subprocess for an +activity+ and a Rollup Action
# RollupRuleCheckSubprocess.new.call(activity, 'Satisfied... | module Scorm2004
module Sequencing
# Rollup Rule Check Subprocess [RB.1.4]
#
# @example Apply the Rollup Rule Check Subprocess for an +activity+ and a Rollup Action
# RollupRuleCheckSubprocess.new.call(activity, 'Satisfied')
class RollupRuleCheckSubprocess
def call(activity, rollup_action)... | <|file_sep|>original/lib/scorm2004/sequencing/rollup_rule_check_subprocess.rb
module Scorm2004
module Sequencing
# Rollup Rule Check Subprocess [RB.1.4]
#
# @example Apply the Rollup Rule Check Subprocess for an +activity+ and a Rollup Action
# RollupRuleCheckSubprocess.new.call(activity, 'Satisfied... | 08ae85ec98aeef5009762d3ca5d66e8470ad4f73 | lib/scorm2004/sequencing/rollup_rule_check_subprocess.rb | lib/scorm2004/sequencing/rollup_rule_check_subprocess.rb | Ruby |
<|file_sep|>original/CHANGES.md
News Feed Eradicator Changelog
==============================
v0.6
----
- Tidy up codebase - Move CSS styles into stylesheet file
- Add drop-down information panel when link is clicked rather than link to Facebook page
- Contains link to removal instructions (since many people are ... | News Feed Eradicator Changelog
==============================
v0.6.3
----
- Upgraded to latest jQuery
- Info panel no longer requires a separate request, appears much faster
- Firefox build (finally!)
v0.6
----
- Tidy up codebase - Move CSS styles into stylesheet file
- Add drop-down information panel when link ... | <|file_sep|>original/CHANGES.md
News Feed Eradicator Changelog
==============================
v0.6
----
- Tidy up codebase - Move CSS styles into stylesheet file
- Add drop-down information panel when link is clicked rather than link to Facebook page
- Contains link to removal instructions (since many people are ... | 0fb2467dd7bfb10c93dce0cc8eb16723f9efcea5 | CHANGES.md | CHANGES.md | Markdown |
<|file_sep|>original/20150325-announce.md
# One year anniversary - 25 March 2015 -
On 27 March 2014 a handful of people got together at the former Travis
Office at Moritzplatz for the very first Emacs Berlin meetup.
This means that our next meetup on **25 March 2015** will be our one year
anniversary.
Because of thi... | ---
title: (emacs-berlin)
layout: default
---
# One year anniversary - 25 March 2015 -
On 27 March 2014 a handful of people got together at the former Travis
Office at Moritzplatz for the very first Emacs Berlin meetup.
This means that our next meetup on **25 March 2015** will be our one year
anniversary.
Because o... | <|file_sep|>original/20150325-announce.md
# One year anniversary - 25 March 2015 -
On 27 March 2014 a handful of people got together at the former Travis
Office at Moritzplatz for the very first Emacs Berlin meetup.
This means that our next meetup on **25 March 2015** will be our one year
anniversary.
Because of thi... | 9fd7309e09069855e2b015fb7afc541f0ebf7fc3 | 20150325-announce.md | 20150325-announce.md | Markdown |
<|file_sep|>original/README.md
# jira-dailier
A chrome plugin to hide empty areas of JIRA's kanban board. It allows the team to focus on the kanban during the Daily Meeting
<|file_sep|>current/README.md
# jira-dailier
A chrome plugin to hide empty areas of JIRA's kanban board. It allows the team to focus on the kanban ... | # jira-dailier
A chrome plugin to hide empty areas of JIRA's kanban board. It allows the team to focus on the kanban during the Daily Meeting
## How to install
- Clone the repo:
```
git@github.com:marcelinol/jira-dailier.git
```
- In your google chrome, access:
```
chrome://extensions/
```
- Check the `Developer ... | <|file_sep|>original/README.md
# jira-dailier
A chrome plugin to hide empty areas of JIRA's kanban board. It allows the team to focus on the kanban during the Daily Meeting
<|file_sep|>current/README.md
# jira-dailier
A chrome plugin to hide empty areas of JIRA's kanban board. It allows the team to focus on the kanban ... | bca226122acf99d83e4b06011751ed50aff7acde | README.md | README.md | Markdown |
<|file_sep|>api/api_resource.py.diff
original:
updated:
encoded_raw_post_data = ""
<|file_sep|>api/api_resource.py.diff
original:
raw_correct_encoded = str(raw_post_data, 'utf-8')
updated:
encoded_raw_post_data = str(raw_post_data, 'utf-8')
<|file_sep|>api/api_resource.py.diff
original:... |
pretty = request.get_param("pretty")
if not pretty:
pretty = parse_query_string(encoded_raw_post_data).get("pretty", False)
data = request.get_param("data")
if not data:
data = parse_query_string(encoded_raw_post_data).get("data", False)
if not data:... | <|file_sep|>api/api_resource.py.diff
original:
updated:
encoded_raw_post_data = ""
<|file_sep|>api/api_resource.py.diff
original:
raw_correct_encoded = str(raw_post_data, 'utf-8')
updated:
encoded_raw_post_data = str(raw_post_data, 'utf-8')
<|file_sep|>api/api_resource.py.diff
original:... | 18796393fa18590d9de6c67ccb9ac6fd958855fc | api/api_resource.py | api/api_resource.py | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.