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|>tests/AllTests.php.diff original: $testFiles = $this->_getTestFiles(); updated: $testFiles = AllTests::_getTestFiles(); <|file_sep|>tests/AllTests.php.diff original: { updated: <|file_sep|>tests/AllTests.php.diff original: } updated: <|file_sep|>original/tests/AllTests.php * Be sure to name your ...
* Be sure to name your test cases MyClassTest.php where MyClass is the functionality being tested */ class AllTests { public static function suite() { $suite = new PHPUnit_Framework_TestSuite('ErdikoTests'); $testFiles = AllTests::_getTestFiles(); foreach ($testFiles as $file) $suite->addTestFile($file)...
<|file_sep|>tests/AllTests.php.diff original: $testFiles = $this->_getTestFiles(); updated: $testFiles = AllTests::_getTestFiles(); <|file_sep|>tests/AllTests.php.diff original: { updated: <|file_sep|>tests/AllTests.php.diff original: } updated: <|file_sep|>original/tests/AllTests.php * Be sure to name your ...
7832d85561718c1b7312a23e1ea74db63cbce4c2
tests/AllTests.php
tests/AllTests.php
PHP
<|file_sep|>original/src/components/subreddit/PostList.js componentDidMount () { this.props.actions.requestPosts( this.props.r, this.props.from ) window.addEventListener('scroll', this.onScroll) } componentWillUnmount () { window.removeEventListener('scroll', this.onScroll) } o...
componentDidMount () { this.props.actions.requestPosts( this.props.r, this.props.from ) window.addEventListener('scroll', this.onScroll) } componentWillReceiveProps (nextProps) { if (this.props.r !== nextProps.r) { this.props.actions.requestPosts( nextProps.r, ...
<|file_sep|>original/src/components/subreddit/PostList.js componentDidMount () { this.props.actions.requestPosts( this.props.r, this.props.from ) window.addEventListener('scroll', this.onScroll) } componentWillUnmount () { window.removeEventListener('scroll', this.onScroll) } o...
464b4ce4287feeb63c4d27ee204baee242c215eb
src/components/subreddit/PostList.js
src/components/subreddit/PostList.js
JavaScript
<|file_sep|>lib/loadPartials.js.diff original: updated: var ext = path.extname(partials[i]); <|file_sep|>original/lib/loadPartials.js var fs = require('fs'); var glob = require('glob'); var path = require('path'); /** * Looks for files with .html, .hbs, or .handlebars extensions within the given directory, and...
var fs = require('fs'); var glob = require('glob'); var path = require('path'); /** * Looks for files with .html, .hbs, or .handlebars extensions within the given directory, and adds them as Handlebars partials matching the name of the file. * @param {string} dir - Folder to check for partials. */ module.exports ...
<|file_sep|>lib/loadPartials.js.diff original: updated: var ext = path.extname(partials[i]); <|file_sep|>original/lib/loadPartials.js var fs = require('fs'); var glob = require('glob'); var path = require('path'); /** * Looks for files with .html, .hbs, or .handlebars extensions within the given directory, and...
cbe634d5617cb025077916691c3eae708d0456b9
lib/loadPartials.js
lib/loadPartials.js
JavaScript
<|file_sep|>original/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</mode...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>se.kt...
<|file_sep|>original/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</mode...
8657c542a9872cbad1484085dcc38c551b876714
pom.xml
pom.xml
XML
<|file_sep|>frontend/app/templates/components/release-list.hbs.diff original: updated: <th>Tags</th> <|file_sep|>original/frontend/app/templates/components/release-list.hbs <table class="table table-hover table-striped"> <thead> <tr> <th>Date Arrived</th> <th>Artist</th> <th>Title...
<th>Tags</th> </tr> </thead> <tbody> {{#each model as |release|}} <tr {{action 'releaseSelected' release}}> <td>{{pretty-date release.arrivaldate}}</td> <td>{{release.artist}}</td> <td>{{release.title}}</td> <td>{{release.cpa}}</td> <...
<|file_sep|>frontend/app/templates/components/release-list.hbs.diff original: updated: <th>Tags</th> <|file_sep|>original/frontend/app/templates/components/release-list.hbs <table class="table table-hover table-striped"> <thead> <tr> <th>Date Arrived</th> <th>Artist</th> <th>Title...
b8aadfb0f54c9b21d9921e49f95d76fccf941403
frontend/app/templates/components/release-list.hbs
frontend/app/templates/components/release-list.hbs
Handlebars
<|file_sep|>webpack.config.js.diff original: path: __dirname + '/dist', filename: '[name].js' updated: path: __dirname + '/dist', filename: '[name].js', library: '', libraryTarget: 'commonjs-module' <|file_sep|>webpack.config.js.diff original: test: /\.js$/, updated: ...
}, module: { rules: [ { test: /\.js$/, loader: 'babel-loader', query: { presets: ['babel-preset-es2015'].map(require.resolve) } } ] }, plugins: [ new webpack.optimize.UglifyJsPlugin({ include: /\.min\.js$/, minimize: true }) ] } module.expo...
<|file_sep|>webpack.config.js.diff original: path: __dirname + '/dist', filename: '[name].js' updated: path: __dirname + '/dist', filename: '[name].js', library: '', libraryTarget: 'commonjs-module' <|file_sep|>webpack.config.js.diff original: test: /\.js$/, updated: ...
0de26218df9fd2714c7d3358c4e39d1c4a761219
webpack.config.js
webpack.config.js
JavaScript
<|file_sep|>original/aiospamc/__init__.py #!/usr/bin/env python3 '''aiospamc package. An asyncio-based library to communicate with SpamAssassin's SPAMD service.''' from aiospamc.client import Client __all__ = ('Client', 'MessageClassOption', 'ActionOption') __author__ = 'Michael Caley' __copy...
#!/usr/bin/env python3 '''aiospamc package. An asyncio-based library to communicate with SpamAssassin's SPAMD service.''' from aiospamc.client import Client from aiospamc.options import ActionOption, MessageClassOption __all__ = ('Client', 'MessageClassOption', 'ActionOption') __author__ = 'M...
<|file_sep|>original/aiospamc/__init__.py #!/usr/bin/env python3 '''aiospamc package. An asyncio-based library to communicate with SpamAssassin's SPAMD service.''' from aiospamc.client import Client __all__ = ('Client', 'MessageClassOption', 'ActionOption') __author__ = 'Michael Caley' __copy...
95988fc4e5d7b5b5fa3235000ad9680c168c485c
aiospamc/__init__.py
aiospamc/__init__.py
Python
<|file_sep|>lib/networking/rest/channels/uploadFile.js.diff original: apiRequest updated: var request = apiRequest <|file_sep|>original/lib/networking/rest/channels/uploadFile.js content, mentions, tts) { return new Promise((rs, rj) => { apiRequest .post(this, { url: En...
return new Promise((rs, rj) => { var request = apiRequest .post(this, { url: Endpoints.MESSAGES(channelId), attachDelegate: req => { req .attach("file", readStream, filename) .field("content", content || "") .field("tts", JSON.stringify(!!tts)); } }); ...
<|file_sep|>lib/networking/rest/channels/uploadFile.js.diff original: apiRequest updated: var request = apiRequest <|file_sep|>original/lib/networking/rest/channels/uploadFile.js content, mentions, tts) { return new Promise((rs, rj) => { apiRequest .post(this, { url: En...
8a78becea95714cf603e7937ea03300f95acd22e
lib/networking/rest/channels/uploadFile.js
lib/networking/rest/channels/uploadFile.js
JavaScript
<|file_sep|>original/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt <|file_sep|>current/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt <|file_sep|>updated/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/Resour...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ package com.louiscad.splittiessample.preview.sound import android.net.Uri import androidx.annotation.RawRes import androidx.core.net.toUri import splitties.init.appCtx fun uriOf(@RawRes resId: Int): U...
<|file_sep|>original/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt <|file_sep|>current/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt <|file_sep|>updated/sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/Resour...
e0cc871ed650d166288d65a7325a17957f06c998
sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt
sample/src/androidMain/kotlin/com/louiscad/splittiessample/preview/sound/ResourcesUri.kt
Kotlin
<|file_sep|>original/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb <|file_sep|>current/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb <|file_sep|>updated/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb
require 'set' include Helpers::ModuleHelper MANIFEST_FILENAME = 'coverage.manifest'.freeze def init list_all_classes end def all_objects run_verifier(Registry.all) end def class_objects run_verifier(Registry.all(:class)) end def namespace_definition(object) return if object.root?
<|file_sep|>original/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb <|file_sep|>current/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb <|file_sep|>updated/lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb require 'set' include Helpers::ModuleHelper MANIFEST_FILENAME = 'cove...
e36e9bb6dce41e693da4d7e21fecda76c6b2f9e6
lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb
lib/yard-sketchup/templates/inheritance/fulldoc/text/setup.rb
Ruby
<|file_sep|>app/index.html.diff original: <title>Weather for your location</title> updated: <title>Weather for location</title> <|file_sep|>original/app/index.html <link rel="stylesheet" type="text/css" href="/assets/styles/index.css"> </head> <body> <!--[if lt IE 11]> <p class="browser-upgrade"> ...
<link rel="stylesheet" type="text/css" href="/assets/styles/index.css"> </head> <body> <!--[if lt IE 11]> <p class="browser-upgrade"> You are using an <strong>outdated</strong> web browser. Please consider <a href="http://browsehappy.com/">upgrading your browser</a> for the page to be displayed corr...
<|file_sep|>app/index.html.diff original: <title>Weather for your location</title> updated: <title>Weather for location</title> <|file_sep|>original/app/index.html <link rel="stylesheet" type="text/css" href="/assets/styles/index.css"> </head> <body> <!--[if lt IE 11]> <p class="browser-upgrade"> ...
344cc4b51e4374b890336d9d8bc52d4dc78e1a1a
app/index.html
app/index.html
HTML
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt Sphinx==1.5.5 django-extensions==1.7.4 Werkzeug==0.12.1 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==1.7 # improved REPL ipdb==0.10.1 factory-boy==2.8.1 <|file_sep|>current/requirements/local.t...
# Local development dependencies go here -r base.txt Sphinx==1.6.2 django-extensions==1.7.4 Werkzeug==0.12.1 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==1.7 # improved REPL ipdb==0.10.1 factory-boy==2.8.1
<|file_sep|>original/requirements/local.txt # Local development dependencies go here -r base.txt Sphinx==1.5.5 django-extensions==1.7.4 Werkzeug==0.12.1 # django-debug-toolbar that works with Django 1.5+ django-debug-toolbar==1.7 # improved REPL ipdb==0.10.1 factory-boy==2.8.1 <|file_sep|>current/requirements/local.t...
072561942faa92a751e1fb5af89cd577405c7f47
requirements/local.txt
requirements/local.txt
Text
<|file_sep|>original/set_attributes.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.0' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'o...
# -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.1' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'opensource@obsidianexchange.com' s.homepage...
<|file_sep|>original/set_attributes.gemspec # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'set_attributes' s.version = '0.2.0' s.summary = "Set an object's attributes from an object or hash with a similar attributes" s.description = ' ' s.authors = ['Obsidian Software, Inc'] s.email = 'o...
5919433108367eda9865a21bbf4a2c7f9b7212b8
set_attributes.gemspec
set_attributes.gemspec
Ruby
<|file_sep|>original/.travis.yml language: c compiler: gcc sudo: required dist: bionic before_install: - sudo add-apt-repository ppa:vala-team/ppa -y - sudo apt-get update -y - sudo apt-cache search libgee - sudo apt-cache search libvte - sudo apt-get install -y xvfb build-essential gnome-common valac libglib...
language: c compiler: gcc sudo: required dist: bionic before_install: - sudo add-apt-repository ppa:vala-team/ppa -y - sudo apt-get update -y - sudo apt-get install -y xvfb build-essential gnome-common valac libglib2.0-dev libgtk-3-dev libgee-dev libjson-glib-dev libsoup2.4-dev libvte-2.90-dev after_success: - ...
<|file_sep|>original/.travis.yml language: c compiler: gcc sudo: required dist: bionic before_install: - sudo add-apt-repository ppa:vala-team/ppa -y - sudo apt-get update -y - sudo apt-cache search libgee - sudo apt-cache search libvte - sudo apt-get install -y xvfb build-essential gnome-common valac libglib...
bd8c321c5df5d7a6172e88cffbe62596f879c98c
.travis.yml
.travis.yml
YAML
<|file_sep|>hydra_agent/actions/server_conf.py.diff original: updated: def _validate_conf(server_conf): from hydra_agent.main_loop import MainLoop result = MainLoop()._send_update(server_conf['url'], server_conf['token'], None, {}) if result == None: from socket import getfqdn raise Runtime...
from socket import getfqdn raise RuntimeError("Cannot contact server URL %s from %s" % (server_conf['url'], getfqdn())) def set_server_conf(args = None): import simplejson as json server_conf = json.loads(args.args) _validate_conf(server_conf) from hydra_agent.store import AgentStore ...
<|file_sep|>hydra_agent/actions/server_conf.py.diff original: updated: def _validate_conf(server_conf): from hydra_agent.main_loop import MainLoop result = MainLoop()._send_update(server_conf['url'], server_conf['token'], None, {}) if result == None: from socket import getfqdn raise Runtime...
0e6de6bc5890d6028a7115a62289bf26b0dd043b
hydra_agent/actions/server_conf.py
hydra_agent/actions/server_conf.py
Python
<|file_sep|>original/build-oracle/README.md <|file_sep|>current/build-oracle/README.md <|file_sep|>updated/build-oracle/README.md
Description =========== A custom Oracle Database 19.3.0 Standard Edition image to test XWiki on Oracle. The image is custom for the following reasons: * The [official Oracle Database image](https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/dockerfiles/19.3.0) takes about 45 minutes to s...
<|file_sep|>original/build-oracle/README.md <|file_sep|>current/build-oracle/README.md <|file_sep|>updated/build-oracle/README.md Description =========== A custom Oracle Database 19.3.0 Standard Edition image to test XWiki on Oracle. The image is custom for the following reasons: * The [official Oracle Database imag...
c219adceb23cfbb48d8ccc425b1f7944280cdd84
build-oracle/README.md
build-oracle/README.md
Markdown
<|file_sep|>original/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.png <|file_sep|>current/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.png <|file_sep|>updated/content/authors/lachaussee.yaml
name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.jpg
<|file_sep|>original/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.png <|file_sep|>current/content/authors/lachaussee.yaml name: Mathis Lauchaussee email: lachaussee@eisti.eu picture: lachaussee.png <|file_sep|>updated/content/authors/lachaussee.yaml name: Mathi...
290508666c159f8d177a8671409e2e7f499410a0
content/authors/lachaussee.yaml
content/authors/lachaussee.yaml
YAML
<|file_sep|>original/package.json { "name": "generator-hubot-script-babel", "version": "0.6.1", "description": "A generator for hubot scripts that use babel and mocha", "homepage": "", "author": { "name": "Simon Wears", "email": "munkyjunky@gmail.com" }, "files": [ "generators" ], "main": ...
{ "name": "generator-hubot-script-babel", "version": "0.7.0", "description": "A generator for hubot scripts that use babel and mocha", "homepage": "", "author": { "name": "Simon Wears", "email": "munkyjunky@gmail.com" }, "files": [ "generators" ], "main": "generators\\index.js", "keyword...
<|file_sep|>original/package.json { "name": "generator-hubot-script-babel", "version": "0.6.1", "description": "A generator for hubot scripts that use babel and mocha", "homepage": "", "author": { "name": "Simon Wears", "email": "munkyjunky@gmail.com" }, "files": [ "generators" ], "main": ...
9c9aa91e63f95a433836a9cc43b881adc857edf3
package.json
package.json
JSON
<|file_sep|>original/package.json }, "repository": "https://github.com/tidepool-org/shio.git", "author": "Eric Tschetter", "dependencies": { "amoeba": "0.2.1", "async": "0.2.10", "aws-sdk": "2.0.0-rc13", "bunyan": "1.4.0", "commander": "2.1.0", "lodash": "2.4.1", "restify": "2.7.0", ...
}, "repository": "https://github.com/tidepool-org/shio.git", "author": "Eric Tschetter", "dependencies": { "amoeba": "0.2.1", "async": "0.2.10", "aws-sdk": "2.0.0-rc13", "bunyan": "1.4.0", "commander": "2.1.0", "lodash": "2.4.1", "restify": "2.8.4", "request": "2.34.0", "shel...
<|file_sep|>original/package.json }, "repository": "https://github.com/tidepool-org/shio.git", "author": "Eric Tschetter", "dependencies": { "amoeba": "0.2.1", "async": "0.2.10", "aws-sdk": "2.0.0-rc13", "bunyan": "1.4.0", "commander": "2.1.0", "lodash": "2.4.1", "restify": "2.7.0", ...
1c7af56e203f09e3bdb0cac4dfc7f06cf2c193d0
package.json
package.json
JSON
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - node - '6' - '4' before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: npm run ci before_script: - npm install -g codeclimate-test-reporter after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_clim...
sudo: false language: node_js node_js: node script: npm run ci before_script: - npm install -g codeclimate-test-reporter after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_climate: repo_token: 8b52d247742e799ab703c2c2fcce5a8c176a6f9887df645ba17745f68af4cdc2 notifications: email: false ...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - node - '6' - '4' before_install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: npm run ci before_script: - npm install -g codeclimate-test-reporter after_script: - codeclimate-test-reporter < coverage/lcov.info addons: code_clim...
fc2097df177fcbd14a06263535928ba767c4cb7a
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: # A Swift Introduction to Core Data updated: # Core Data Playgrounds <|file_sep|>README.md.diff original: A no frills, bare-metal introduction to Core Data. updated: A set of playgrounds for exploring the Core Data framework in bitsize increments. | Playground Name | Description | ...
# Core Data Playgrounds A set of playgrounds for exploring the Core Data framework in bitsize increments. | Playground Name | Description | |---|---| | Introduction | A no frills, bare-metal introduction to Core Data. | | UITableView | Tables views on iOS with NSFetchedResultsController | | NSTableView | Tables views...
<|file_sep|>README.md.diff original: # A Swift Introduction to Core Data updated: # Core Data Playgrounds <|file_sep|>README.md.diff original: A no frills, bare-metal introduction to Core Data. updated: A set of playgrounds for exploring the Core Data framework in bitsize increments. | Playground Name | Description | ...
cdf4dcb02826af800fd253634dd34e8ea5ea05af
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml - osx julia: - 1.0 - 1.4 matrix: allow_failures: - julia: nightly env: - CSDP_USE_JULIA_LAPACK=true - CSDP_USE_JULIA_LAPACK=false addons: apt: # apt-get for linux packages: - liblapack-dev - libblas-dev notifications: email: false <|file_sep|>current/...
os: - linux - osx julia: - 1.0 - 1.4 matrix: allow_failures: - julia: nightly addons: apt: # apt-get for linux packages: - liblapack-dev - libblas-dev notifications: email: false after_success: - julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder(...
<|file_sep|>original/.travis.yml - osx julia: - 1.0 - 1.4 matrix: allow_failures: - julia: nightly env: - CSDP_USE_JULIA_LAPACK=true - CSDP_USE_JULIA_LAPACK=false addons: apt: # apt-get for linux packages: - liblapack-dev - libblas-dev notifications: email: false <|file_sep|>current/...
9236f13870546e9ebd14ee7e3c69aee97bb864e9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/setup.cfg logging-clear-handlers=true with-coverage=true cover-package=urllib3 # no rounding problems here cover-erase=true [flake8] exclude=./docs/conf.py,./urllib3/packages/* max-line-length=99 [wheel] universal = 1 [metadata] provides-extra = secure socks requires-dist = pyOpenSSL...
logging-clear-handlers=true with-coverage=true cover-package=urllib3 # no rounding problems here cover-erase=true [flake8] exclude=./docs/conf.py,./urllib3/packages/* max-line-length=99 [bdist_wheel] universal = 1 [metadata] provides-extra = secure socks requires-dist = pyOpenSSL>=0.14; python_version<="...
<|file_sep|>original/setup.cfg logging-clear-handlers=true with-coverage=true cover-package=urllib3 # no rounding problems here cover-erase=true [flake8] exclude=./docs/conf.py,./urllib3/packages/* max-line-length=99 [wheel] universal = 1 [metadata] provides-extra = secure socks requires-dist = pyOpenSSL...
185dd6e16183ce5b4f7e5530e0e1c53cb8632acd
setup.cfg
setup.cfg
INI
<|file_sep|>original/README.md # Overview This repo is a collection of tools and processes used during development of embedded software at Airware. Since Airware is no longer continuing with embedded software development and the IP in this repo is not something we seek to protect, we are opening up these embedded too...
# Overview This repo is a collection of tools and processes used during development of embedded software at Airware. Since Airware is no longer continuing with embedded software development and the IP in this repo is not something we seek to protect, we are opening up these embedded tools as open source. Notes: * U...
<|file_sep|>original/README.md # Overview This repo is a collection of tools and processes used during development of embedded software at Airware. Since Airware is no longer continuing with embedded software development and the IP in this repo is not something we seek to protect, we are opening up these embedded too...
797fe16e0dfa83bb8cbac6ecbadae503f88382c6
README.md
README.md
Markdown
<|file_sep|>original/db/migrate/20090404033151_add_single_access_token_to_invision_user.rb class AddSingleAccessTokenToInvisionUser < ActiveRecord::Migration def self.up add_column :ibf_members, :single_access_token, :string, :null => false InvisionUser.find_each do |user| user.update_attributes(:s...
class AddSingleAccessTokenToInvisionUser < ActiveRecord::Migration def self.up add_column :ibf_members, :single_access_token, :string, :null => true InvisionUser.find_each do |user| user.update_attributes(:single_access_token => nil) end end def self.down remove_column :ibf_members, :s...
<|file_sep|>original/db/migrate/20090404033151_add_single_access_token_to_invision_user.rb class AddSingleAccessTokenToInvisionUser < ActiveRecord::Migration def self.up add_column :ibf_members, :single_access_token, :string, :null => false InvisionUser.find_each do |user| user.update_attributes(:s...
38ea225d53a3906f4c28df0bfd918eb64ce8db93
db/migrate/20090404033151_add_single_access_token_to_invision_user.rb
db/migrate/20090404033151_add_single_access_token_to_invision_user.rb
Ruby
<|file_sep|>original/core/toxid_curl_oxutilsview.php * it under the terms of the MIT License. * * * @link https://github.com/vanilla-thunder/vt-smartyext * @link http://toxid.org * @package core */ class toxid_curl_oxutilsview extends toxid_curl_oxutilsview_parent { public function _fillCommo...
* it under the terms of the MIT License. * * * @link https://github.com/vanilla-thunder/vt-smartyext * @link http://toxid.org * @package core */ class toxid_curl_oxutilsview extends toxid_curl_oxutilsview_parent { protected function _fillCommonSmartyProperties($oSmarty) { parent::...
<|file_sep|>original/core/toxid_curl_oxutilsview.php * it under the terms of the MIT License. * * * @link https://github.com/vanilla-thunder/vt-smartyext * @link http://toxid.org * @package core */ class toxid_curl_oxutilsview extends toxid_curl_oxutilsview_parent { public function _fillCommo...
54bfdf693f1a3717a013f17dfd2c0bba2fcd32a6
core/toxid_curl_oxutilsview.php
core/toxid_curl_oxutilsview.php
PHP
<|file_sep|>original/packages/tasks/main.yml --- - name: Update APT cache apt: update_cache=yes cache_valid_time=3600 when: ansible_os_family == "Debian" - name: Install packages (apt) apt: pkg={{ item }} with_flattened: - all_packages - group_packages - host_packages when: ansible_os_family == ...
with_flattened: - all_packages - group_packages - host_packages when: ansible_os_family == "Debian" - name: Install packages (yum) yum: pkg={{ item }} with_flattened: - all_packages - group_packages - host_packages when: ansible_os_family == "RedHat" - name: Install packages (pkgin) ...
<|file_sep|>original/packages/tasks/main.yml --- - name: Update APT cache apt: update_cache=yes cache_valid_time=3600 when: ansible_os_family == "Debian" - name: Install packages (apt) apt: pkg={{ item }} with_flattened: - all_packages - group_packages - host_packages when: ansible_os_family == ...
2e1162286120903e057245d5cf7d6553bbe63817
packages/tasks/main.yml
packages/tasks/main.yml
YAML
<|file_sep|>original/.travis.yml language: php addons: apt: packages: - libonig-dev php: - 7.1 - 7.2 - 7.3 - 7.4snapshot env: matrix: - DRIVER="phpdbg" - DRIVER="xdebug" before_install: - composer clear-cache <|file_sep|>current/.travis.yml language: php addons: apt: packages...
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot env: matrix: - DRIVER="phpdbg" - DRIVER="xdebug" before_install: - composer clear-cache install: - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest script: - if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr ...
<|file_sep|>original/.travis.yml language: php addons: apt: packages: - libonig-dev php: - 7.1 - 7.2 - 7.3 - 7.4snapshot env: matrix: - DRIVER="phpdbg" - DRIVER="xdebug" before_install: - composer clear-cache <|file_sep|>current/.travis.yml language: php addons: apt: packages...
3d1521011cf810bf1cd7a10403f34156bb82fa7f
.travis.yml
.travis.yml
YAML
<|file_sep|>original/peak_flow.yml script: - bundle exec rake db:schema:load - CODECLIMATE_REPO_TOKEN=6ce9528867413dd59d35477770932ca5dd37de1688c07a1f46458fc645df3fac bundle exec rspec - bundle exec rubocop - gem install scss_lint - scss-lint app/assets/stylesheets spec/dummy/app/assets/stylesheets - bundle...
script: - bundle exec rails db:schema:load - CODECLIMATE_REPO_TOKEN=6ce9528867413dd59d35477770932ca5dd37de1688c07a1f46458fc645df3fac bundle exec rspec - bundle exec rubocop - gem install scss_lint - scss-lint app/assets/stylesheets spec/dummy/app/assets/stylesheets - bundle exec rails_best_practices
<|file_sep|>original/peak_flow.yml script: - bundle exec rake db:schema:load - CODECLIMATE_REPO_TOKEN=6ce9528867413dd59d35477770932ca5dd37de1688c07a1f46458fc645df3fac bundle exec rspec - bundle exec rubocop - gem install scss_lint - scss-lint app/assets/stylesheets spec/dummy/app/assets/stylesheets - bundle...
b9227ce85e908f6b91162fa8ca21fdb9103ba1c6
peak_flow.yml
peak_flow.yml
YAML
<|file_sep|>original/README.md Nameshuffler ============ A tool for randomly dividing things, people, whatever in groups. A jQuery-plugin. Requires jQuery and `jquery.nameshuffler.js`. Nothing else. Usage ----- HTML: ```html <div id="place"></div> ``` Javascript: ```javascript jQuery('#place').nameshuffler(); ``` ...
Nameshuffler ============ A tool for randomly dividing things, people, whatever in groups. [Demo page](http://pesasa.github.io/nameshuffler) A jQuery-plugin. Requires jQuery and `jquery.nameshuffler.js`. Nothing else. Usage ----- HTML: ```html <div id="place"></div> ``` Javascript: ```javascript jQuery('#place').na...
<|file_sep|>original/README.md Nameshuffler ============ A tool for randomly dividing things, people, whatever in groups. A jQuery-plugin. Requires jQuery and `jquery.nameshuffler.js`. Nothing else. Usage ----- HTML: ```html <div id="place"></div> ``` Javascript: ```javascript jQuery('#place').nameshuffler(); ``` ...
2f106d567f20a4da55c6f73324963634f96ac549
README.md
README.md
Markdown
<|file_sep|>original/app/models/user.rb class User < ApplicationRecord attr_accessor :remember_token validates :username, presence: { message: "Username field can't be left blank"}, length: { in: 4..15, message: 'Username must be between 4-15 characters in length' }, uniqueness: { message: 'Username is already tak...
class User < ApplicationRecord attr_accessor :remember_token validates :username, presence: { message: "Username field can't be left blank"}, length: { in: 4..15, message: 'Username must be between 4-15 characters in length' }, uniqueness: { message: 'Username is already taken'} # email validation still needs em...
<|file_sep|>original/app/models/user.rb class User < ApplicationRecord attr_accessor :remember_token validates :username, presence: { message: "Username field can't be left blank"}, length: { in: 4..15, message: 'Username must be between 4-15 characters in length' }, uniqueness: { message: 'Username is already tak...
d7d8ddd6efe31f864f575583b59bacd58338c4d6
app/models/user.rb
app/models/user.rb
Ruby
<|file_sep|>original/.travis.yml sudo: false language: node_js env: - NODE_VERSION=0.12 - NODE_VERSION=4 - NODE_VERSION=5 jdk: - oraclejdk8 before_install: - nvm install "$NODE_VERSION" - node --version - npm --version - java -version install: - npm install -g grunt-cli - grunt --version - npm ins...
- NODE_VERSION=4 - NODE_VERSION=5 jdk: - oraclejdk8 before_install: - nvm install "$NODE_VERSION" - node --version - npm --version - java -version install: - npm install -g grunt-cli - grunt --version - npm install script: - npm test matrix: fast_finish: true addons: apt: packages: -...
<|file_sep|>original/.travis.yml sudo: false language: node_js env: - NODE_VERSION=0.12 - NODE_VERSION=4 - NODE_VERSION=5 jdk: - oraclejdk8 before_install: - nvm install "$NODE_VERSION" - node --version - npm --version - java -version install: - npm install -g grunt-cli - grunt --version - npm ins...
297ac37cbd34b328b470fef6bdcd97c5f52a869b
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md StackStorm ============ ![StackStorm](https://github.com/stackstorm/st2/raw/master/stackstorm_logo.png) **StackStorm** is a platform for integration and automation across services and tools, taking actions in response to events. Learn more at [www.stackstorm.com](http://www.stackstorm.co...
# StackStorm [![StackStorm](https://github.com/stackstorm/st2/raw/master/stackstorm_logo.png)](http://www.stackstorm.com) **StackStorm** is a platform for integration and automation across services and tools, taking actions in response to events. Learn more at [www.stackstorm.com](http://www.stackstorm.com/product). ...
<|file_sep|>original/README.md StackStorm ============ ![StackStorm](https://github.com/stackstorm/st2/raw/master/stackstorm_logo.png) **StackStorm** is a platform for integration and automation across services and tools, taking actions in response to events. Learn more at [www.stackstorm.com](http://www.stackstorm.co...
d2f43460cb9794d7b33e54c654669ae5affa39f8
README.md
README.md
Markdown
<|file_sep|>original/demo/js/main.js require.config({ urlArgs: "bust=v"+(new Date().getTime()), // Comment out/remove to enable caching baseUrl: "js/", paths: { colt: 'libs/colt.0.2.7' } }); define(['colt'], function (Colt) { // Define all of the modules Colt.modules = [ '...
require.config({ urlArgs: "bust=v"+(new Date().getTime()), // Comment out/remove to enable caching baseUrl: "js/", paths: { colt: 'libs/colt.0.2.9' } }); define(['colt'], function (Colt) { // Define all of the modules Colt.modules = [ 'modules/static', 'modules/mod...
<|file_sep|>original/demo/js/main.js require.config({ urlArgs: "bust=v"+(new Date().getTime()), // Comment out/remove to enable caching baseUrl: "js/", paths: { colt: 'libs/colt.0.2.7' } }); define(['colt'], function (Colt) { // Define all of the modules Colt.modules = [ '...
48434888533ed33b9a1cceeef90a7c33bdbc2e4b
demo/js/main.js
demo/js/main.js
JavaScript
<|file_sep|>package.json.diff original: "ci-test": "istanbul cover _mocha -- -R tap > result.tap && istanbul report clover" updated: "ci-test": "istanbul cover _mocha -- --compilers js:babel/register -R tap > result.tap && istanbul report clover" <|file_sep|>original/package.json "cacher" ], "author": "...
], "author": "Nikita Khomyakov <dr.evil@krtn.eu>", "license": "MIT", "bugs": { "url": "https://github.com/v12/redis-cacher/issues" }, "homepage": "https://github.com/v12/redis-cacher#readme", "dependencies": { "bluebird": "^2.9.25", "debug": "^2.2.0", "lodash": "^3.8.0", "redis": "^0.1...
<|file_sep|>package.json.diff original: "ci-test": "istanbul cover _mocha -- -R tap > result.tap && istanbul report clover" updated: "ci-test": "istanbul cover _mocha -- --compilers js:babel/register -R tap > result.tap && istanbul report clover" <|file_sep|>original/package.json "cacher" ], "author": "...
0e1efe3e67d760b067457381f85297bed4a86e67
package.json
package.json
JSON
<|file_sep|>original/frontend/index.html <meta charset="utf-8"> <title>MARCEL v2</title> <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="bower_components/polymer/polymer.html"> </head> <body onload="loadComponents()"> <section id="component...
<meta charset="utf-8"> <title>MARCEL v2</title> <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="bower_components/polymer/polymer.html"> </head> <body onload="loadComponents()"> <section id="components"></section> <script src="bower_comp...
<|file_sep|>original/frontend/index.html <meta charset="utf-8"> <title>MARCEL v2</title> <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="bower_components/polymer/polymer.html"> </head> <body onload="loadComponents()"> <section id="component...
392cd1e3001991274cea161992489de788cdc369
frontend/index.html
frontend/index.html
HTML
<|file_sep|>original/ensembl/htdocs/ssi/species/Rattus_norvegicus_annotation.html </p> <p>The gene annotation process was carried out using a combination of protein-to-genome alignments, annotation mapping from a suitable reference species and RNA-seq alignments (where RNA-seq data with appropriate meta data were publi...
</p> <p>The gene annotation process was carried out using a combination of protein-to-genome alignments, annotation mapping from a suitable reference species and RNA-seq alignments (where RNA-seq data with appropriate meta data were publicly available). For each candidate gene region, a selection process was applied to...
<|file_sep|>original/ensembl/htdocs/ssi/species/Rattus_norvegicus_annotation.html </p> <p>The gene annotation process was carried out using a combination of protein-to-genome alignments, annotation mapping from a suitable reference species and RNA-seq alignments (where RNA-seq data with appropriate meta data were publi...
84a8abb1287fb8f8957927871217841a8ac5523c
ensembl/htdocs/ssi/species/Rattus_norvegicus_annotation.html
ensembl/htdocs/ssi/species/Rattus_norvegicus_annotation.html
HTML
<|file_sep|>original/rest_framework/authtoken/admin.py <|file_sep|>current/rest_framework/authtoken/admin.py <|file_sep|>updated/rest_framework/authtoken/admin.py
from django.contrib import admin from .models import Token class TokenAdmin(admin.ModelAdmin): list_display = ('key', 'user', 'created') fields = ('user',) ordering = ('-created',) admin.site.register(Token, TokenAdmin)
<|file_sep|>original/rest_framework/authtoken/admin.py <|file_sep|>current/rest_framework/authtoken/admin.py <|file_sep|>updated/rest_framework/authtoken/admin.py from django.contrib import admin from .models import Token class TokenAdmin(admin.ModelAdmin): list_display = ('key', 'user', 'created') fields =...
db863be10cca5d43e37cace88fd2a500f6ee96f8
rest_framework/authtoken/admin.py
rest_framework/authtoken/admin.py
Python
<|file_sep|>original/config/README.md <|file_sep|>current/config/README.md <|file_sep|>updated/config/README.md
# Configuration files Documentation Note that most configuration files (`config/*.*`) committed into [gitlab-ce](https://gitlab.com/gitlab-org/gitlab-ce) **would not be used** for [omnibus-gitlab](https://gitlab.com/gitlab-org/omnibus-gitlab). Configuration files committed into gitlab-ce are only used for development....
<|file_sep|>original/config/README.md <|file_sep|>current/config/README.md <|file_sep|>updated/config/README.md # Configuration files Documentation Note that most configuration files (`config/*.*`) committed into [gitlab-ce](https://gitlab.com/gitlab-org/gitlab-ce) **would not be used** for [omnibus-gitlab](https://...
f7605c08dd25ef5b8abb24b49c0c97bab5b6033c
config/README.md
config/README.md
Markdown
<|file_sep|>original/src/main/scala/org/broadinstitute/dsde/agora/server/webservice/util/GoogleApiUtils.scala import com.google.api.services.admin.directory.{DirectoryScopes, Directory} import org.broadinstitute.dsde.agora.server import org.broadinstitute.dsde.agora.server.AgoraConfig import scala.concurrent.duration....
import com.google.api.services.admin.directory.{DirectoryScopes, Directory} import org.broadinstitute.dsde.agora.server import org.broadinstitute.dsde.agora.server.AgoraConfig import scala.concurrent.duration._ object GoogleApiUtils { val emailAddress = AgoraConfig.gcsServiceAccountEmail val JSON_FACTORY = Jackso...
<|file_sep|>original/src/main/scala/org/broadinstitute/dsde/agora/server/webservice/util/GoogleApiUtils.scala import com.google.api.services.admin.directory.{DirectoryScopes, Directory} import org.broadinstitute.dsde.agora.server import org.broadinstitute.dsde.agora.server.AgoraConfig import scala.concurrent.duration....
02e0c0864e9d124210d2246a0d0f5c27f964907d
src/main/scala/org/broadinstitute/dsde/agora/server/webservice/util/GoogleApiUtils.scala
src/main/scala/org/broadinstitute/dsde/agora/server/webservice/util/GoogleApiUtils.scala
Scala
<|file_sep|>original/requirements.txt boto==2.3.0 Flask-Compress==1.0.0 Flask-Login==0.2.9 Flask-Migrate==1.2.0 Flask-Script==0.6.6 Flask-SQLAlchemy==2.0 Flask-WTF==0.10.2 Flask==0.10.1 psycopg2==2.5.4 PyReact==0.4.0 pytz==2014.7 tornado==4.0.2 urldecode==0.1 <|file_sep|>current/requirements.txt boto==2.3.0 Flask-Compr...
boto==2.3.0 Flask-Compress==1.0.0 Flask-Login==0.2.9 Flask-Migrate==1.2.0 Flask-Script==0.6.6 Flask-SQLAlchemy==2.0 Flask-WTF==0.10.2 Flask==0.10.1 psycopg2==2.5.4 PyReact==0.4.0 pytz==2014.7 tornado==4.0.2 urldecode==0.1 MySQL-python==1.2.5
<|file_sep|>original/requirements.txt boto==2.3.0 Flask-Compress==1.0.0 Flask-Login==0.2.9 Flask-Migrate==1.2.0 Flask-Script==0.6.6 Flask-SQLAlchemy==2.0 Flask-WTF==0.10.2 Flask==0.10.1 psycopg2==2.5.4 PyReact==0.4.0 pytz==2014.7 tornado==4.0.2 urldecode==0.1 <|file_sep|>current/requirements.txt boto==2.3.0 Flask-Compr...
e5d560e054d9e5ecfaa9c42d11f544a74be44b11
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements.txt numpy == 1.16.2 pandas == 0.24.1 pyproj == 1.9.6 laspy == 1.5.1 <|file_sep|>current/requirements.txt numpy == 1.16.2 pandas == 0.24.1 pyproj == 1.9.6 laspy == 1.5.1 <|file_sep|>updated/requirements.txt
numpy == 1.16.2 pandas == 0.24.1 pyproj == 2.0.1 laspy == 1.5.1
<|file_sep|>original/requirements.txt numpy == 1.16.2 pandas == 0.24.1 pyproj == 1.9.6 laspy == 1.5.1 <|file_sep|>current/requirements.txt numpy == 1.16.2 pandas == 0.24.1 pyproj == 1.9.6 laspy == 1.5.1 <|file_sep|>updated/requirements.txt numpy == 1.16.2 pandas == 0.24.1 pyproj == 2.0.1 laspy == 1.5.1
515f66ac89655a243d9894d7f4f6e9e3bf66af29
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" install: "pip install -r requirements.txt" script: "python -m unittest discover mecode/tests" <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" install: "pip install -r requirements.txt" script: ...
language: python python: - "2.7" - "3.4" - "3.5" install: "pip install -r requirements.txt" script: "python -m unittest discover mecode/tests"
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" install: "pip install -r requirements.txt" script: "python -m unittest discover mecode/tests" <|file_sep|>current/.travis.yml language: python python: - "2.7" - "3.2" - "3.3" install: "pip install -r requirements.txt" script: ...
6de3fd7fed0ce0c4c70eddfd2c2f8d3419cc0d3e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/dev-requirements.txt pytest pytest-django pytest-cov # note: pytest-sugar is optional but pretty pytest-sugar django-debug-toolbar sphinx <|file_sep|>current/dev-requirements.txt pytest pytest-django pytest-cov # note: pytest-sugar is optional but pretty pytest-sugar django-debug-toolbar sphinx <|f...
pytest pytest-django pytest-cov # note: pytest-sugar is optional but pretty pytest-sugar django-debug-toolbar sphinx ansible # Optional, only needed if deploying
<|file_sep|>original/dev-requirements.txt pytest pytest-django pytest-cov # note: pytest-sugar is optional but pretty pytest-sugar django-debug-toolbar sphinx <|file_sep|>current/dev-requirements.txt pytest pytest-django pytest-cov # note: pytest-sugar is optional but pretty pytest-sugar django-debug-toolbar sphinx <|f...
a443ec0a0b99a1f84600ee6cc98250841182d5c4
dev-requirements.txt
dev-requirements.txt
Text
<|file_sep|>original/src/Hydrator/DelegatingHydrator.php * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/...
* Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Stdli...
<|file_sep|>original/src/Hydrator/DelegatingHydrator.php * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/...
cd339886b659db957a6c9c7c58878c9551d7a53b
src/Hydrator/DelegatingHydrator.php
src/Hydrator/DelegatingHydrator.php
PHP
<|file_sep|>.travis.yml.diff original: - 2.2.6 updated: - 2.2.7 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - ruby-head before_install: - gem update --system - gem install bundler -v 1.11.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0....
language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.7 - 2.3.3 - 2.4.1 - ruby-head before_install: - gem update --system - gem install bundler -v 1.11.2
<|file_sep|>.travis.yml.diff original: - 2.2.6 updated: - 2.2.7 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.0.0 - 2.1.10 - 2.2.6 - 2.3.3 - 2.4.0 - ruby-head before_install: - gem update --system - gem install bundler -v 1.11.2 <|file_sep|>current/.travis.yml language: ruby rvm: - 2.0....
7c791d48398c9443073190171ebf87e0d3b1877e
.travis.yml
.travis.yml
YAML
<|file_sep|>original/templates/post.html.erb <title>Thoughts of an Eaten Sun</title> <link rel="stylesheet" href="/style.css"> </head> <body> <header> <h1> <a href="/">Thoughts of an Eaten Sun</a> </h1> <h2>through the mind of kyle tolle</h2> </header> <section> <article> <%= yield...
<h2>through the mind of kyle tolle</h2> </header> <section> <article> <%= yield %> </article> </section> <footer> <small>Copyright &copy; 2016 Kyle Tolle</small> </footer> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[])...
<|file_sep|>original/templates/post.html.erb <title>Thoughts of an Eaten Sun</title> <link rel="stylesheet" href="/style.css"> </head> <body> <header> <h1> <a href="/">Thoughts of an Eaten Sun</a> </h1> <h2>through the mind of kyle tolle</h2> </header> <section> <article> <%= yield...
f29cdc9fe6f0f77f9c71fefa1daa1cd6f67071fa
templates/post.html.erb
templates/post.html.erb
HTML+ERB
<|file_sep|>js/cx-src.js.diff original: var cx_content = prompt('Type or paste the correction language here. The Update date and time, "The following ... has been added:" and all other formatting will be included automatically.\n\n', ''); updated: var cx_content = prompt('Type or paste the correction language here. The...
var content = jQuery('#content'); var grafs = content.text().split('\n\n'); var cx_date = new Date(); var monthNames = ["Jan. ","Feb. ","March ","April ","May ","June ","July ","Aug. ","Sept. ","Oct. ","Nov.","Dec. "]; var cx_month = monthNames[cx_date.getMonth()]; var amPm = ( cx_date.getHours() < 12 ) ? ' a.m.' : ' ...
<|file_sep|>js/cx-src.js.diff original: var cx_content = prompt('Type or paste the correction language here. The Update date and time, "The following ... has been added:" and all other formatting will be included automatically.\n\n', ''); updated: var cx_content = prompt('Type or paste the correction language here. The...
84337aac7e53b1331a0e324ac843350e8fe59053
js/cx-src.js
js/cx-src.js
JavaScript
<|file_sep|>original/lib/ExecutionEngine/Orc/RPCUtils.cpp <|file_sep|>current/lib/ExecutionEngine/Orc/RPCUtils.cpp <|file_sep|>updated/lib/ExecutionEngine/Orc/RPCUtils.cpp
//===--------------- RPCUtils.cpp - RPCUtils implementation ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
<|file_sep|>original/lib/ExecutionEngine/Orc/RPCUtils.cpp <|file_sep|>current/lib/ExecutionEngine/Orc/RPCUtils.cpp <|file_sep|>updated/lib/ExecutionEngine/Orc/RPCUtils.cpp //===--------------- RPCUtils.cpp - RPCUtils implementation ---------------===// // // The LLVM Compiler Infrastructure // // ...
ebc666e155b6a86ec2aa78fb180d802c74c893ba
lib/ExecutionEngine/Orc/RPCUtils.cpp
lib/ExecutionEngine/Orc/RPCUtils.cpp
C++
<|file_sep|>original/lib/calculatorapp.rb logger.debug "Requested calculator `#{calculator_name}'" response = router.handle_request(calculator_name, fields) if response.is_a? ApiError response = response.to_h else response = { result: response } end response.merge! request_fields:...
logger.debug "Requested calculator `#{calculator_name}'" response = router.handle_request(calculator_name, fields) if response.is_a? ApiError response = response.to_h else response = { result: response } end response.merge! request_fields: fields if fields.include?(:jsonp_cal...
<|file_sep|>original/lib/calculatorapp.rb logger.debug "Requested calculator `#{calculator_name}'" response = router.handle_request(calculator_name, fields) if response.is_a? ApiError response = response.to_h else response = { result: response } end response.merge! request_fields:...
a86414374d2b48c152c899ccfa93c4f4fc47824b
lib/calculatorapp.rb
lib/calculatorapp.rb
Ruby
<|file_sep|>original/kernel/device/pit.c #define Timer_Magic_Number 1193180 #define Timer_Chan_0 0x40 #define Timer_Chan_1 0x41 #define Timer_Chan_2 0x42 #define Timer_Command_Reg 0x43 #define RW_Oneshot_Square 0x36 static void timer_interrupt_handler(struct interrupt_cpu_state *unused(r)) { log(Log_Error, "tick...
#define Timer_Magic_Number 1193180 #define Timer_Chan_0 0x40 #define Timer_Chan_1 0x41 #define Timer_Chan_2 0x42 #define Timer_Command_Reg 0x43 #define RW_Oneshot_Square 0x36 static void timer_interrupt_handler(struct interrupt_cpu_state *unused(r)) { scheduler_yield(); } void timer_init(void) { interrupt_r...
<|file_sep|>original/kernel/device/pit.c #define Timer_Magic_Number 1193180 #define Timer_Chan_0 0x40 #define Timer_Chan_1 0x41 #define Timer_Chan_2 0x42 #define Timer_Command_Reg 0x43 #define RW_Oneshot_Square 0x36 static void timer_interrupt_handler(struct interrupt_cpu_state *unused(r)) { log(Log_Error, "tick...
07a6d3c5a9b5006fec34bab289c421a097961be4
kernel/device/pit.c
kernel/device/pit.c
C
<|file_sep|>CMakeLists.txt.diff original: # Determine if kl is build as a subproject (using add_subdirectory) # or if it is the master project. set(master_project OFF) if(NOT DEFINED PROJECT_NAME) set(master_project ON) endif() updated: <|file_sep|>CMakeLists.txt.diff original: updated: # Determine if kl is bui...
set(kl_master_project OFF) endif() cmake_dependent_option(KL_TEST "Generate the test target." ON "${kl_master_project}" OFF) cmake_dependent_option(KL_DEV_BUILD "Enable compiler flags useful while developing kl." ON "${kl_master_project}" OFF) cmake_dependent_option(KL_USE_OPENCPPCOVERAGE "Use OpenCppCover...
<|file_sep|>CMakeLists.txt.diff original: # Determine if kl is build as a subproject (using add_subdirectory) # or if it is the master project. set(master_project OFF) if(NOT DEFINED PROJECT_NAME) set(master_project ON) endif() updated: <|file_sep|>CMakeLists.txt.diff original: updated: # Determine if kl is bui...
158a5a1be837dee0bb2f299029da564c72064208
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/.shell/common.sh ## assume colors work export TERM=xterm-256color ## less options export LESS='-g -i -M -R -S -w -z-4' ## GitHub API github_token="$HOME/.github" [[ -e $github_token ]] && source $github_token ## homebrew GitHub API homebrew_token="$HOME/.homebrew" [[ -e $homebrew_token ]] && sou...
## assume colors work export TERM=xterm-256color ## less options export LESS='-g -i -M -R -S -w -z-4' ## path source ~/.shell/path-edit.sh path_front "bin" "$HOME/bin" "/usr/local/bin" "$HOME/.rbenv/bin" path_back "/sbin" "/bin" "/usr/sbin" "/usr/bin" "$HOME/.cask/bin" ## aliases source ~/.shell/aliases.sh ## local...
<|file_sep|>original/.shell/common.sh ## assume colors work export TERM=xterm-256color ## less options export LESS='-g -i -M -R -S -w -z-4' ## GitHub API github_token="$HOME/.github" [[ -e $github_token ]] && source $github_token ## homebrew GitHub API homebrew_token="$HOME/.homebrew" [[ -e $homebrew_token ]] && sou...
88755bc70999921466dfbc698583b4d5f6c723c8
.shell/common.sh
.shell/common.sh
Shell
<|file_sep|>original/metadata/ru.gelin.android.weather.notification.skin.whitetextplus.txt Auto Name:Weather notification skin: white text plus Summary:Theme for Weather Notification Description: White Text Plus skin for [[ru.gelin.android.weather.notification]]. . Repo Type:srclib Repo:WeatherNotification Build:0.3....
Auto Name:Weather notification skin: white text plus Summary:Theme for Weather Notification Description: White Text Plus skin for [[ru.gelin.android.weather.notification]]. . Repo Type:srclib Repo:WeatherNotification Build:0.3.6,17 commit=v.0.3.6 subdir=skins/white-text-plus Build:0.3.7,50 commit=v.0.3.7...
<|file_sep|>original/metadata/ru.gelin.android.weather.notification.skin.whitetextplus.txt Auto Name:Weather notification skin: white text plus Summary:Theme for Weather Notification Description: White Text Plus skin for [[ru.gelin.android.weather.notification]]. . Repo Type:srclib Repo:WeatherNotification Build:0.3....
1693f313da4f430b68c21c08b02ef2525c3ae904
metadata/ru.gelin.android.weather.notification.skin.whitetextplus.txt
metadata/ru.gelin.android.weather.notification.skin.whitetextplus.txt
Text
<|file_sep|>original/app/views/layouts/home.html.erb <|file_sep|>current/app/views/layouts/home.html.erb <|file_sep|>updated/app/views/layouts/home.html.erb
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= render "layouts/appli...
<|file_sep|>original/app/views/layouts/home.html.erb <|file_sep|>current/app/views/layouts/home.html.erb <|file_sep|>updated/app/views/layouts/home.html.erb <!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', medi...
7cd5fe49546a82af0a1b74705b8e51833075d4ad
app/views/layouts/home.html.erb
app/views/layouts/home.html.erb
HTML+ERB
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: cpp services: - docker branches: only: - master - develop before_install: - docker build -t travis-build -f infrastructure/tools/Dockerfile . script: # Common style check - docker run --rm travis-build infrastructure/tools/chec...
dist: trusty language: cpp services: - docker branches: only: - master - develop before_install: - docker build -t travis-build -f infrastructure/tools/Dockerfile . script: # Common style check - docker run --rm travis-build infrastructure/tools/checkstyle.sh $TRAVIS_COMMIT_RANGE # Test whole pr...
<|file_sep|>original/.travis.yml sudo: required dist: trusty language: cpp services: - docker branches: only: - master - develop before_install: - docker build -t travis-build -f infrastructure/tools/Dockerfile . script: # Common style check - docker run --rm travis-build infrastructure/tools/chec...
8445a067ae4b8158c108145cc9715b4ae6e5a88c
.travis.yml
.travis.yml
YAML
<|file_sep|>docs/modules.rst.diff original: updated: docs/order/index <|file_sep|>original/docs/modules.rst ================= .. toctree:: :titlesonly: :maxdepth: 2 :caption: App Modules :hidden: docs/InvenTree/index docs/build/index docs/company/index docs/part/index docs/stock/index ...
.. toctree:: :titlesonly: :maxdepth: 2 :caption: App Modules :hidden: docs/InvenTree/index docs/build/index docs/company/index docs/part/index docs/order/index docs/stock/index The InvenTree Django ecosystem provides the following 'apps' for core functionality: * `InvenTree <docs/Inv...
<|file_sep|>docs/modules.rst.diff original: updated: docs/order/index <|file_sep|>original/docs/modules.rst ================= .. toctree:: :titlesonly: :maxdepth: 2 :caption: App Modules :hidden: docs/InvenTree/index docs/build/index docs/company/index docs/part/index docs/stock/index ...
e28a435c074b8e457056e237f505be3bfd24bf0e
docs/modules.rst
docs/modules.rst
reStructuredText
<|file_sep|>original/src/org/graphstream/gama/extension/sender/AddSenderStatement.java <|file_sep|>current/src/org/graphstream/gama/extension/sender/AddSenderStatement.java <|file_sep|>updated/src/org/graphstream/gama/extension/sender/AddSenderStatement.java
package org.graphstream.gama.extension.sender; import msi.gama.precompiler.ISymbolKind; import msi.gama.precompiler.GamlAnnotations.facet; import msi.gama.precompiler.GamlAnnotations.facets; import msi.gama.precompiler.GamlAnnotations.inside; import msi.gama.precompiler.GamlAnnotations.symbol; import msi.gama.runtime....
<|file_sep|>original/src/org/graphstream/gama/extension/sender/AddSenderStatement.java <|file_sep|>current/src/org/graphstream/gama/extension/sender/AddSenderStatement.java <|file_sep|>updated/src/org/graphstream/gama/extension/sender/AddSenderStatement.java package org.graphstream.gama.extension.sender; import msi....
852a0f860225e72810066260a86483058fb1bcf4
src/org/graphstream/gama/extension/sender/AddSenderStatement.java
src/org/graphstream/gama/extension/sender/AddSenderStatement.java
Java
<|file_sep|>original/project_1_lua/guests.lua <|file_sep|>current/project_1_lua/guests.lua <|file_sep|>updated/project_1_lua/guests.lua
-- Array of guests list and its length guests = { } guestsLen = 0 -- Create a new guest, add it to list and update the size number. -- PARAM -- name : string complete guest name -- cpf : string valid personal ID (t: cadastro de pessoa física) formatted as XXX.XXX.XXX-XX -- RETURN -- true : boolean if it worked -...
<|file_sep|>original/project_1_lua/guests.lua <|file_sep|>current/project_1_lua/guests.lua <|file_sep|>updated/project_1_lua/guests.lua -- Array of guests list and its length guests = { } guestsLen = 0 -- Create a new guest, add it to list and update the size number. -- PARAM -- name : string complete guest name -...
adadeaa50d89e0110485ae78f12caaea6f00fe4e
project_1_lua/guests.lua
project_1_lua/guests.lua
Lua
<|file_sep|>original/README.md # ng2-dinos Sample Angular 2 application. This is an Angular 2 migration of AngularJS 1.x app [ng1-dinos](https://github.com/auth0-blog/ng1-dinos). Please read [Migrating an Angular 1 App to Angular 2](https://auth0.com/blog/migrating-an-angular-1-app-to-angular-2-part-1) for the compani...
# ng2-dinos Sample Angular 2 application. This is an Angular 2 migration of AngularJS 1.x app [ng1-dinos](https://github.com/auth0-blog/ng1-dinos). For the companion tutorial, please read: 1. [Migrating an Angular 1 App to Angular 2 - Part 1](https://auth0.com/blog/migrating-an-angular-1-app-to-angular-2-part-1) 2. ...
<|file_sep|>original/README.md # ng2-dinos Sample Angular 2 application. This is an Angular 2 migration of AngularJS 1.x app [ng1-dinos](https://github.com/auth0-blog/ng1-dinos). Please read [Migrating an Angular 1 App to Angular 2](https://auth0.com/blog/migrating-an-angular-1-app-to-angular-2-part-1) for the compani...
3e10ca1d2d3d6191422369c5687096e349efa3d4
README.md
README.md
Markdown
<|file_sep|>attorch/constraints.py.diff original: updated: from torch import nn <|file_sep|>attorch/constraints.py.diff original: def positive(weight): updated: def constrain_all(self): if hasattr(self, 'constrain'): self.constrain() for c in self.children(): c.constrain_all() # extend torch...
def positive(weight, cache=None): weight.data *= weight.data.ge(0).float() return cache def negative(weight, cache=None): weight.data *= weight.data.le(0).float() return cache def positive_except_self(weight, cache=None): pos = weight.data.ge(0).float() if pos.size()[2] % 2 == 0 or pos.siz...
<|file_sep|>attorch/constraints.py.diff original: updated: from torch import nn <|file_sep|>attorch/constraints.py.diff original: def positive(weight): updated: def constrain_all(self): if hasattr(self, 'constrain'): self.constrain() for c in self.children(): c.constrain_all() # extend torch...
d816c7207d21c2c379f9409eebc42f4feb88afd9
attorch/constraints.py
attorch/constraints.py
Python
<|file_sep|>original/tests/integration/api/test_sc_test_jobs.py class TestScTestJobsApi(BaseTest): def test_status(self, client, image): jobs = client.sc_test_jobs_api.list() assert len(jobs) > 0, u'At least one job exists.' test_job = client.sc_test_jobs_api.status(jobs[0].job_id) ...
class TestScTestJobsApi(BaseTest): def test_status(self, client, image): jobs = client.sc_test_jobs_api.list() assert len(jobs) > 0, u'At least one job exists.' test_job = client.sc_test_jobs_api.status(jobs[0].job_id) assert isinstance(test_job, ScTestJob), u'The method returns ty...
<|file_sep|>original/tests/integration/api/test_sc_test_jobs.py class TestScTestJobsApi(BaseTest): def test_status(self, client, image): jobs = client.sc_test_jobs_api.list() assert len(jobs) > 0, u'At least one job exists.' test_job = client.sc_test_jobs_api.status(jobs[0].job_id) ...
19d2dff39988309123ef97b4bb38a2eac6d18de1
tests/integration/api/test_sc_test_jobs.py
tests/integration/api/test_sc_test_jobs.py
Python
<|file_sep|>original/data_bags/users/STAGINGDMZ.json { "id": "admin", "groups": [ "staging" ], "uid": 2001, "shell": "\/bin\/bash", "nagios": { "pager": "8005551212@txt.att.net", "email": "trent.white@webtrends.com" }, } <|file_sep|>current/data_bags/users/STAGINGDMZ.json { "id": "admin", "groups": [ "stagi...
{ "id": "admin", "groups": [ "staging" ], "htpasswd": "$1$wuvwulpl$e5qocnltmnyysfq.yw8y41", "nagios": { "pager": "8005551212@txt.att.net", "email": "trent.white@webtrends.com" }, }
<|file_sep|>original/data_bags/users/STAGINGDMZ.json { "id": "admin", "groups": [ "staging" ], "uid": 2001, "shell": "\/bin\/bash", "nagios": { "pager": "8005551212@txt.att.net", "email": "trent.white@webtrends.com" }, } <|file_sep|>current/data_bags/users/STAGINGDMZ.json { "id": "admin", "groups": [ "stagi...
8ca4f2a48a5587566dcf9dfce82aa29f5a0a8959
data_bags/users/STAGINGDMZ.json
data_bags/users/STAGINGDMZ.json
JSON
<|file_sep|>original/circle.yml deployment: dockerhub: branch: master commands: - $DOCKER_HUB_TRIGGER machine: node: version: 4.4.5 test: override: - npm install -g tap-xunit - mkdir $CIRCLE_TEST_REPORTS/xunit - npm test | tap-xunit > $CIRCLE_TEST_REPORTS/xunit/results.xml <|fi...
deployment: dockerhub: branch: master commands: - $DOCKER_HUB_TRIGGER machine: node: version: 8.9.4 test: override: - npm install -g tap-xunit - mkdir $CIRCLE_TEST_REPORTS/xunit - npm test | tap-xunit > $CIRCLE_TEST_REPORTS/xunit/results.xml
<|file_sep|>original/circle.yml deployment: dockerhub: branch: master commands: - $DOCKER_HUB_TRIGGER machine: node: version: 4.4.5 test: override: - npm install -g tap-xunit - mkdir $CIRCLE_TEST_REPORTS/xunit - npm test | tap-xunit > $CIRCLE_TEST_REPORTS/xunit/results.xml <|fi...
40a980c6ea7fdc7a4324f583ef5cffd62b3699fd
circle.yml
circle.yml
YAML
<|file_sep|>tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java.diff original: updated: import cgeo.geocaching.location.Geopoint; <|file_sep|>tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java.diff original: final GCLogin instance = GCLogin.getInstance(); updated: private final GCLogin...
public class GCLoginTest extends TestCase { private final GCLogin instance = GCLogin.getInstance(); @Override protected void setUp() throws Exception { super.setUp(); assertThat(instance.login()).isEqualTo(StatusCode.NO_ERROR); } private static String blockingHomeLocation() { ...
<|file_sep|>tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java.diff original: updated: import cgeo.geocaching.location.Geopoint; <|file_sep|>tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java.diff original: final GCLogin instance = GCLogin.getInstance(); updated: private final GCLogin...
a6726cc2a05cfaaf0d10415bf082fe88947438d8
tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java
tests/src-android/cgeo/geocaching/connector/gc/GCLoginTest.java
Java
<|file_sep|>original/run_build.sh #!/bin/bash set -e curl -fsSL https://raw.githubusercontent.com/neovim/neovim/master/.ci/common.sh | source /dev/stdin set_environment /opt/neovim-deps if [ ! -d $TRAVIS_BUILD_DIR/_neovim ] then git clone https://github.com/neovim/neovim.git $TRAVIS_BUILD_DIR/_neovim fi pushd $T...
#!/bin/bash set -e source <(curl -fsSL https://raw.githubusercontent.com/neovim/neovim/master/.ci/common.sh) set_environment /opt/neovim-deps if [ ! -d $TRAVIS_BUILD_DIR/_neovim ] then git clone https://github.com/neovim/neovim.git $TRAVIS_BUILD_DIR/_neovim fi pushd $TRAVIS_BUILD_DIR/_neovim git fetch origin git...
<|file_sep|>original/run_build.sh #!/bin/bash set -e curl -fsSL https://raw.githubusercontent.com/neovim/neovim/master/.ci/common.sh | source /dev/stdin set_environment /opt/neovim-deps if [ ! -d $TRAVIS_BUILD_DIR/_neovim ] then git clone https://github.com/neovim/neovim.git $TRAVIS_BUILD_DIR/_neovim fi pushd $T...
f6699c11a337cad45fbb3e474e46b474cbc8f87e
run_build.sh
run_build.sh
Shell
<|file_sep|>original/src/blockingcall_test.cpp #include <mutex> TEST_P(WithBoundScheduler, BlockingCall) { auto mutex = std::make_shared<std::mutex>(); mutex->lock(); marl::WaitGroup wg(100); for (int i = 0; i < 100; i++) { marl::schedule([=] { defer(wg.done()); marl::blocking_call([=] { ...
#include <mutex> TEST_P(WithBoundScheduler, BlockingCall) { auto mutex = std::make_shared<std::mutex>(); mutex->lock(); marl::WaitGroup wg(100); for (int i = 0; i < 100; i++) { marl::schedule([=] { defer(wg.done()); marl::blocking_call([=] { mutex->lock(); defer(mutex->unlock(...
<|file_sep|>original/src/blockingcall_test.cpp #include <mutex> TEST_P(WithBoundScheduler, BlockingCall) { auto mutex = std::make_shared<std::mutex>(); mutex->lock(); marl::WaitGroup wg(100); for (int i = 0; i < 100; i++) { marl::schedule([=] { defer(wg.done()); marl::blocking_call([=] { ...
60598ef45201bdfa76c32297197b1e55854d2a3d
src/blockingcall_test.cpp
src/blockingcall_test.cpp
C++
<|file_sep|>remote-process/Android.mk.diff original: updated: #################### # Common definitions COMMON_SRC_FILES := \ main.cpp COMMON_MODULE := remote-process COMMON_MODULE_TAGS := optional COMMON_ERROR_FLAGS := -Wno-non-virtual-dtor COMMON_C_INCLUDES := \ $(LOCAL_PATH)/../remote-processor/ C...
$(COMMON_C_INCLUDES) \ external/stlport/stlport/ \ bionic/libstdc++ \ bionic/ LOCAL_SHARED_LIBRARIES := $(COMMON_SHARED_LIBRARIES) libstlport include $(BUILD_EXECUTABLE) ############################## # Host build include $(CLEAR_VARS) LOCAL_SRC_FILES := $(COMMON_SRC_FILES) LOCAL_MODULE := $(COMM...
<|file_sep|>remote-process/Android.mk.diff original: updated: #################### # Common definitions COMMON_SRC_FILES := \ main.cpp COMMON_MODULE := remote-process COMMON_MODULE_TAGS := optional COMMON_ERROR_FLAGS := -Wno-non-virtual-dtor COMMON_C_INCLUDES := \ $(LOCAL_PATH)/../remote-processor/ C...
c6de01abbc5539b4eaa7b16f8882f2f22994aaf0
remote-process/Android.mk
remote-process/Android.mk
Makefile
<|file_sep|>original/requirements.txt astroid==1.3.6 boundary==0.1.0 coverage==3.7.1 logilab-common==0.63.2 mock==1.0.1 nose==1.3.7 pylint==1.4.3 python-dateutil==2.4.2 python-termstyle==0.1.10 rednose==0.4.1 requests==2.7.0 six==1.9.0 <|file_sep|>current/requirements.txt astroid==1.3.6 boundary==0.1.0 coverage==3.7.1 ...
astroid==1.3.6 coverage==3.7.1 logilab-common==0.63.2 mock==1.0.1 nose==1.3.7 pylint==1.4.3 python-dateutil==2.4.2 python-termstyle==0.1.10 rednose==0.4.1 requests==2.7.0 six==1.9.0
<|file_sep|>original/requirements.txt astroid==1.3.6 boundary==0.1.0 coverage==3.7.1 logilab-common==0.63.2 mock==1.0.1 nose==1.3.7 pylint==1.4.3 python-dateutil==2.4.2 python-termstyle==0.1.10 rednose==0.4.1 requests==2.7.0 six==1.9.0 <|file_sep|>current/requirements.txt astroid==1.3.6 boundary==0.1.0 coverage==3.7.1 ...
a880fc645edf56c12fa995ef0d17158c15afed7f
requirements.txt
requirements.txt
Text
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml
--- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create: all upload_dir: uploads public_path: "/uploads" front_matter_path: '' use_front_matter_path: false file_template: ":filename:"
<|file_sep|>original/.forestry/settings.yml <|file_sep|>current/.forestry/settings.yml <|file_sep|>updated/.forestry/settings.yml --- new_page_extension: md auto_deploy: false admin_path: webhook_url: sections: - type: jekyll-posts label: Posts create: all - type: jekyll-pages label: Pages create: all uploa...
e20f10e6243c88b8c3b93d1a02b234c506b6d4e6
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/frontend/spree_frontend.gemspec s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("...
s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.require_path = 'lib' s.requirements << 'no...
<|file_sep|>original/frontend/spree_frontend.gemspec s.author = 'Sean Schofield' s.email = 'sean@spreecommerce.com' s.homepage = 'https://spreecommerce.com' s.license = %q{BSD-3} s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("...
d8eed5cc407a3f0094c7a4bb8ce556a73d4d305a
frontend/spree_frontend.gemspec
frontend/spree_frontend.gemspec
Ruby
<|file_sep|>problem1-swift/problem1.swift.diff original: func findSum() { updated: func findSum()-> Int { <|file_sep|>problem1-swift/problem1.swift.diff original: print(sumOfMultiples) // Return summated result of found factor multiples. updated: return sumOfMultiples // Retu...
Iterates through the given Natural numbers collection. If an element of the Natural numbers collections is a multiple of the given factors, add it to the current sum. */ func findSum()-> Int { var sumOfMultiples:Int = 0 // Initialize and set sum to 0 for i in factors.minElement()!..<M...
<|file_sep|>problem1-swift/problem1.swift.diff original: func findSum() { updated: func findSum()-> Int { <|file_sep|>problem1-swift/problem1.swift.diff original: print(sumOfMultiples) // Return summated result of found factor multiples. updated: return sumOfMultiples // Retu...
aebcb396cefec34d5f267512bfdd7901bb25564d
problem1-swift/problem1.swift
problem1-swift/problem1.swift
Swift
<|file_sep|>original/app/views/static_pages/home.html.erb <% provide(:title, 'Home') %> <div class="center hero-unit"> <h1>Welcome to the Sample App</h1> <h2> This is the home page for the <a href="http://railstutorial.org/">Ruby on Rails Tutorial</a> sample application. </h2> <%= link_to "Sign up...
<% provide(:title, 'Home') %> <div class="center hero-unit"> <h1>Welcome to the Sample App</h1> <h2> This is the home page for the <a href="http://railstutorial.org/">Ruby on Rails Tutorial</a> sample application. </h2> <%= link_to "Sign up now!", signup_path, class: "btn btn-large btn-primary" %>...
<|file_sep|>original/app/views/static_pages/home.html.erb <% provide(:title, 'Home') %> <div class="center hero-unit"> <h1>Welcome to the Sample App</h1> <h2> This is the home page for the <a href="http://railstutorial.org/">Ruby on Rails Tutorial</a> sample application. </h2> <%= link_to "Sign up...
e59c321a0f3d696f1554a086d683baa56680f594
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
HTML+ERB
<|file_sep|>original/Cargo.toml authors = ["Gregor Reitzenstein <dean4devil@paranoidlabs.org>"] description = "Pure Rust LDAP Implementation (Not abandonware anymore!)" repository = "https://github.com/dequbed/rust-ldap" documentation = "https://docs.rs/ldap" readme = "README.md" keywords = ["ldap", "libldap"] licen...
repository = "https://github.com/dequbed/rust-ldap" documentation = "https://docs.rs/ldap" readme = "README.md" keywords = ["ldap", "libldap"] license = "MIT/Apache-2.0" [dependencies] log = "0.3.6" futures = "0.1" byteorder = "1.0.0" tokio-core = "0.1" tokio-proto = "0.1" tokio-service = "0.1" asnom = { path = ".....
<|file_sep|>original/Cargo.toml authors = ["Gregor Reitzenstein <dean4devil@paranoidlabs.org>"] description = "Pure Rust LDAP Implementation (Not abandonware anymore!)" repository = "https://github.com/dequbed/rust-ldap" documentation = "https://docs.rs/ldap" readme = "README.md" keywords = ["ldap", "libldap"] licen...
4b64e4e570ffcf3953bf6732f2f09ce1dc09c56e
Cargo.toml
Cargo.toml
TOML
<|file_sep|>dddp/apps.py.diff original: from django.db import DatabaseError from django.db.models import signals updated: <|file_sep|>original/dddp/apps.py """Django DDP app config.""" from __future__ import print_function from django.apps import AppConfig from django.conf import settings, ImproperlyConfigured from ...
"""Django DDP app config.""" from __future__ import print_function from django.apps import AppConfig from django.conf import settings, ImproperlyConfigured from dddp import autodiscover class DjangoDDPConfig(AppConfig): """Django app config for django-ddp.""" api = None name = 'dddp' verbose_name...
<|file_sep|>dddp/apps.py.diff original: from django.db import DatabaseError from django.db.models import signals updated: <|file_sep|>original/dddp/apps.py """Django DDP app config.""" from __future__ import print_function from django.apps import AppConfig from django.conf import settings, ImproperlyConfigured from ...
9b18e4833a3550d424aa18fddbf5373d142ce3f1
dddp/apps.py
dddp/apps.py
Python
<|file_sep|>comics/accounts/templates/accounts/settings.html.diff original: Account settings updated: Account <|file_sep|>comics/accounts/templates/accounts/settings.html.diff original: <h1>Account settings</h1> updated: <h1>Account <small>Manage your account</small></h1> <|file_sep|>original/comics/accounts/te...
<th>Password</th> <td><a href="{% url auth_password_change %}">Change password</a></td> </tr> <tr> <th>Secret key</th> <td> {{ user.get_profile.secret_key }} <a href="{% url new_secret_key %}">Generate new key</a></td> ...
<|file_sep|>comics/accounts/templates/accounts/settings.html.diff original: Account settings updated: Account <|file_sep|>comics/accounts/templates/accounts/settings.html.diff original: <h1>Account settings</h1> updated: <h1>Account <small>Manage your account</small></h1> <|file_sep|>original/comics/accounts/te...
75b6a270765650a5029b7d9c6d07d96593263f76
comics/accounts/templates/accounts/settings.html
comics/accounts/templates/accounts/settings.html
HTML
<|file_sep|>original/package.json { "name": "hidstream", "version": "2.0.1", "description": "Streaming HID events in Node.js", "main": "index.js", "dependencies": { "node-hid": "^0.4.0" }, "devDependencies": {}, "repository": { "type": "git", "url": "https://github.com/emilyrose/hidstream.gi...
{ "name": "hidstream", "version": "2.0.1", "description": "Streaming HID events in Node.js", "main": "index.js", "dependencies": { "node-hid": "^0.5.1" }, "devDependencies": {}, "repository": { "type": "git", "url": "https://github.com/emilyrose/hidstream.git" }, "keywords": [ "HID",...
<|file_sep|>original/package.json { "name": "hidstream", "version": "2.0.1", "description": "Streaming HID events in Node.js", "main": "index.js", "dependencies": { "node-hid": "^0.4.0" }, "devDependencies": {}, "repository": { "type": "git", "url": "https://github.com/emilyrose/hidstream.gi...
192ce5370267cbe652470a699f4e6e4b35d7a2df
package.json
package.json
JSON
<|file_sep|>original/vagrant/config.yml --- # Vagrantfile configuration box_ipaddress: "192.168.12.12" box_memory: 2048 box_cpu: 1 default_name: "vagrantlemp" # Default settings timezone: Europe/Istanbul # Use vagrant cachier plugin use_cachier: true # Ansible provision settings ansible_provision: fals...
box_cpu: 1 default_name: "vagrantlemp" # Default settings timezone: Europe/Istanbul # Use vagrant cachier plugin use_cachier: true # Ansible provision settings ansible_provision: false ansible_verbose: false # Git config user credentials git_user_name: "" git_user_email: "" # TODO: Install fresh la...
<|file_sep|>original/vagrant/config.yml --- # Vagrantfile configuration box_ipaddress: "192.168.12.12" box_memory: 2048 box_cpu: 1 default_name: "vagrantlemp" # Default settings timezone: Europe/Istanbul # Use vagrant cachier plugin use_cachier: true # Ansible provision settings ansible_provision: fals...
1427df24a51839bfea7bc02d6ebb8a83510292c7
vagrant/config.yml
vagrant/config.yml
YAML
<|file_sep|>make_mozilla/base/tests/assertions.py.diff original: def assert_routing(url, view_function, name = '', kwargs = {}): updated: def assert_routing(url, view_function_or_class, name = '', kwargs = {}): <|file_sep|>original/make_mozilla/base/tests/assertions.py from nose.tools import eq_, ok_ from django.core.u...
from nose.tools import eq_, ok_ from django.core.urlresolvers import resolve, reverse def assert_routing(url, view_function_or_class, name = '', kwargs = {}): resolved_route = resolve(url) ok_((resolved_route.func is view_function_or_class) or (type(resolved_route.func) is view_function_or_class)) if kwarg...
<|file_sep|>make_mozilla/base/tests/assertions.py.diff original: def assert_routing(url, view_function, name = '', kwargs = {}): updated: def assert_routing(url, view_function_or_class, name = '', kwargs = {}): <|file_sep|>original/make_mozilla/base/tests/assertions.py from nose.tools import eq_, ok_ from django.core.u...
6dd52ba31141f28e1f37e32f8c3de6932ed49b4f
make_mozilla/base/tests/assertions.py
make_mozilla/base/tests/assertions.py
Python
<|file_sep|>original/db/seeds.rb # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]...
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel...
<|file_sep|>original/db/seeds.rb # This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]...
1eaa92e8baaa4fa50f2b343d2207a96873ba432d
db/seeds.rb
db/seeds.rb
Ruby
<|file_sep|>original/build.sbt name := "system-testing" version := "0.3.0-SNAPSHOT" organization := "edu.nus" scalaVersion := "2.10.5" publishMavenStyle := true libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.2.4" % "test" libraryDependencies += "com.typesafe" % "co...
name := "system-testing" version := "0.3.0-SNAPSHOT" organization := "edu.nus" scalaVersion := "2.10.5" publishMavenStyle := true libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.2.4" % "test" libraryDependencies += "com.typesafe" % "config" % "1.2.1" libraryDepende...
<|file_sep|>original/build.sbt name := "system-testing" version := "0.3.0-SNAPSHOT" organization := "edu.nus" scalaVersion := "2.10.5" publishMavenStyle := true libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.2.4" % "test" libraryDependencies += "com.typesafe" % "co...
c5053ef67f129e2c49d97b6ad0ef04e7a9b81ea0
build.sbt
build.sbt
Scala
<|file_sep|>original/component.json "name": "parse-latin", "version": "0.2.0-rc.1", "description": "Latin-script (natural language) parser", "license": "MIT", "keywords": [ "latin", "script", "natural", "language", "parser" ], "dependencies": { "wooorm/nlcst-to-string": "^0.0.1" ...
"name": "parse-latin", "version": "0.2.0-rc.1", "description": "Latin-script (natural language) parser", "license": "MIT", "keywords": [ "latin", "script", "natural", "language", "parser" ], "dependencies": { "wooorm/nlcst-to-string": "^0.0.1" }, "repository": "wooorm/parse-lat...
<|file_sep|>original/component.json "name": "parse-latin", "version": "0.2.0-rc.1", "description": "Latin-script (natural language) parser", "license": "MIT", "keywords": [ "latin", "script", "natural", "language", "parser" ], "dependencies": { "wooorm/nlcst-to-string": "^0.0.1" ...
f12e7e83d79dca25f773201c747b6f8a4c70b8f3
component.json
component.json
JSON
<|file_sep|>original/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb <|file_sep|>current/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb <|file_sep|>updated/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb
class SetPostsMarkdownColToUtf8Mb4 < ActiveRecord::Migration[5.2] def change execute "ALTER TABLE `posts` MODIFY `markdown` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci" end end
<|file_sep|>original/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb <|file_sep|>current/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb <|file_sep|>updated/db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb class SetPostsMarkdownColToUtf8Mb4 < ActiveRecord::Migration[5.2]...
a13e2b322db3e1a7f8c1248cc142c8d8d661a331
db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb
db/migrate/20200706172658_set_posts_markdown_col_to_utf8_mb4.rb
Ruby
<|file_sep|>metadata/com.goltzkiste.guessaday.txt.diff original: updated: Build:1.03,7 commit=v1.03 gradle=yes <|file_sep|>original/metadata/com.goltzkiste.guessaday.txt A trainer for calculating the day of the week of any given date. This app displays a random date and asks you what day of the week that dat...
settings you can configure the range for the random date. If you want to learn how to do this calculation, check out on the developer's website! . Repo Type:git Repo:https://github.com/mo271/guessaday Build:1.02,6 commit=a2a17f7f8cfba2fa73730d664acbe7f8d070079e gradle=yes Build:1.03,7 commit=v1.03 g...
<|file_sep|>metadata/com.goltzkiste.guessaday.txt.diff original: updated: Build:1.03,7 commit=v1.03 gradle=yes <|file_sep|>original/metadata/com.goltzkiste.guessaday.txt A trainer for calculating the day of the week of any given date. This app displays a random date and asks you what day of the week that dat...
7666428a0ab74e979c11af1e40a88138eedac708
metadata/com.goltzkiste.guessaday.txt
metadata/com.goltzkiste.guessaday.txt
Text
<|file_sep|>original/views/layout.jade !!! html head meta(charset="utf-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1") title= title link(rel='stylesheet', href='/css/persona-buttons.css') link(rel='stylesheet', href='/css/style.css') link(rel="styleshe...
!!! html head meta(charset="utf-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1") meta(name="description", content="#") meta(name="author", content="#") title= 'Mozilla Tin Can' link(rel='stylesheet', href='/css/persona-buttons.css') link(rel='stylesheet', hr...
<|file_sep|>original/views/layout.jade !!! html head meta(charset="utf-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1") title= title link(rel='stylesheet', href='/css/persona-buttons.css') link(rel='stylesheet', href='/css/style.css') link(rel="styleshe...
31fbdadd15ee3c619db0ba68216e511302b9bfd4
views/layout.jade
views/layout.jade
Jade
<|file_sep|>original/tools/workspace-status.sh #!/bin/bash # This script will be run by bazel when the build process starts to # generate key-value information that represents the status of the # workspace. The output should be like # # KEY1 VALUE1 # KEY2 VALUE2 # # If the script exits with non-zero code, it's conside...
#!/bin/bash # This script will be run by bazel when the build process starts to # generate key-value information that represents the status of the # workspace. The output should be like # # KEY1 VALUE1 # KEY2 VALUE2 # # If the script exits with non-zero code, it's considered as a failure # and the output will be disca...
<|file_sep|>original/tools/workspace-status.sh #!/bin/bash # This script will be run by bazel when the build process starts to # generate key-value information that represents the status of the # workspace. The output should be like # # KEY1 VALUE1 # KEY2 VALUE2 # # If the script exits with non-zero code, it's conside...
1c7533b4a514a39afc05b72edf6faf4cd71cca0a
tools/workspace-status.sh
tools/workspace-status.sh
Shell
<|file_sep|>original/scripts/export-ova.sh #!/bin/bash #if [[ $1 =~ \.vmx$ ]]; then # ovftool --targetType=ova --acceptAllEulas $1 output/puppet-$PE_VERSION-$VM_TYPE-$PTB_VERSION.ova #fi if [[ $1 =~ \.ovf$ ]]; then sed -i '' 's/virtualbox\-2\.2/vmx-09/' $1 sed -i '' 's/MACAddress="[0-9A-F]*"/MACAddress=""/' $1 ov...
#!/bin/bash #if [[ $1 =~ \.vmx$ ]]; then # ovftool --targetType=ova --acceptAllEulas $1 output/puppet-$PE_VERSION-$VM_TYPE-$PTB_VERSION.ova #fi if [[ $1 =~ \.ovf$ ]]; then sed -i '' 's/virtualbox\-2\.2/vmx-09/' $1 sed -i '' 's/MACAddress="[0-9A-F]*"/MACAddress=""/' $1 rm -f output/puppet-$PE_VERSION-$VM_TYPE-$PTB...
<|file_sep|>original/scripts/export-ova.sh #!/bin/bash #if [[ $1 =~ \.vmx$ ]]; then # ovftool --targetType=ova --acceptAllEulas $1 output/puppet-$PE_VERSION-$VM_TYPE-$PTB_VERSION.ova #fi if [[ $1 =~ \.ovf$ ]]; then sed -i '' 's/virtualbox\-2\.2/vmx-09/' $1 sed -i '' 's/MACAddress="[0-9A-F]*"/MACAddress=""/' $1 ov...
f5bbf565026b72071002aaa7a845dcda53fc592b
scripts/export-ova.sh
scripts/export-ova.sh
Shell
<|file_sep|>original/tests/compiler/structreturn.cpp <|file_sep|>current/tests/compiler/structreturn.cpp <|file_sep|>updated/tests/compiler/structreturn.cpp
// // Copyright 2013 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
<|file_sep|>original/tests/compiler/structreturn.cpp <|file_sep|>current/tests/compiler/structreturn.cpp <|file_sep|>updated/tests/compiler/structreturn.cpp // // Copyright 2013 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
ec7e844e12de1552269dc9222b46033943f781b2
tests/compiler/structreturn.cpp
tests/compiler/structreturn.cpp
C++
<|file_sep|>src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php.diff original: updated: use Oro\Bundle\MigrationBundle\Migration\QueryBag; use Oro\Bundle\MigrationBundle\Migration\Migration; <|file_sep|>src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php.diff original: use Oro\Bundle\Mig...
} /** * @param Schema $schema */ public static function addTitleColumn(Schema $schema) { $userTable = $schema->getTable('oro_user'); $userTable->addColumn( 'title', 'string', [ 'length' => 255, 'oro_optio...
<|file_sep|>src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php.diff original: updated: use Oro\Bundle\MigrationBundle\Migration\QueryBag; use Oro\Bundle\MigrationBundle\Migration\Migration; <|file_sep|>src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php.diff original: use Oro\Bundle\Mig...
c341d49e8a5795c5c9fa21b63c4f296f294ec00d
src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php
src/Oro/Bundle/UserBundle/Migrations/Schema/v1_9/OroUserBundle.php
PHP
<|file_sep|>primality-test.cpp.diff original: #include<cmath> #include<iostream> updated: #include<math.h> #include<stdio.h> /*#include<iostream> <|file_sep|>primality-test.cpp.diff original: using namespace std; updated: using namespace std;*/ <|file_sep|>primality-test.cpp.diff original: bool isPrimeBruteForce(double...
return 0; } return 1; } int main(int argc, char* argv[]) { int result; /* int number; cout << "Enter number to test if it's prime: "; cin >> number; result = isPrimeBruteForce(number); if (result) { cout << number << " is a prime number."; } else { cout << number << " is not a prime number."; }*/ resu...
<|file_sep|>primality-test.cpp.diff original: #include<cmath> #include<iostream> updated: #include<math.h> #include<stdio.h> /*#include<iostream> <|file_sep|>primality-test.cpp.diff original: using namespace std; updated: using namespace std;*/ <|file_sep|>primality-test.cpp.diff original: bool isPrimeBruteForce(double...
b1a46af3e84c49b3f05083812a31300c4148920b
primality-test.cpp
primality-test.cpp
C++
<|file_sep|>original/tests/Commands/PermissionUpdateTest.php <|file_sep|>current/tests/Commands/PermissionUpdateTest.php <|file_sep|>updated/tests/Commands/PermissionUpdateTest.php
<?php /** * Created by PhpStorm. * User: Bruno * Date: 04/03/2018 * Time: 20:29 */ namespace AdobeConnectClient\Tests\Commands; use AdobeConnectClient\Commands\PermissionUpdate; use AdobeConnectClient\Entities\Permission; use AdobeConnectClient\Exceptions\NoAccessException; class PermissionUpdateTest extends Te...
<|file_sep|>original/tests/Commands/PermissionUpdateTest.php <|file_sep|>current/tests/Commands/PermissionUpdateTest.php <|file_sep|>updated/tests/Commands/PermissionUpdateTest.php <?php /** * Created by PhpStorm. * User: Bruno * Date: 04/03/2018 * Time: 20:29 */ namespace AdobeConnectClient\Tests\Commands; us...
d1651e34a6119e0bd874cbcfb6f7cc16233ab3be
tests/Commands/PermissionUpdateTest.php
tests/Commands/PermissionUpdateTest.php
PHP
<|file_sep|>original/requirements-dev.txt -e . black==20.8b1 bandit==1.7.0 coverage==5.4 docutils==0.16 flake8==3.8.4 mypy==0.800 pyroma==2.6 pytest-cov==2.11.1 pytest==6.2.2 pytest-asyncio==0.14.0 isort==5.7.0 tox==3.22.0 wheel==0.36.2 <|file_sep|>current/requirements-dev.txt -e . black==20.8b1 bandit==1.7.0 coverage=...
-e . black==20.8b1 bandit==1.7.0 coverage==5.4 docutils==0.16 flake8==3.8.4 mypy==0.800 pyroma==2.6.1 pytest-cov==2.11.1 pytest==6.2.2 pytest-asyncio==0.14.0 isort==5.7.0 tox==3.22.0 wheel==0.36.2
<|file_sep|>original/requirements-dev.txt -e . black==20.8b1 bandit==1.7.0 coverage==5.4 docutils==0.16 flake8==3.8.4 mypy==0.800 pyroma==2.6 pytest-cov==2.11.1 pytest==6.2.2 pytest-asyncio==0.14.0 isort==5.7.0 tox==3.22.0 wheel==0.36.2 <|file_sep|>current/requirements-dev.txt -e . black==20.8b1 bandit==1.7.0 coverage=...
754a8957b2e7b54c7cdc7b0a8af2ab436f43eaf9
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/src/lib.rs pub use context::*; pub use buffer::*; pub use shader::*; pub use program::*; pub use framebuffer::*; pub use renderbuffer::*; pub use texture::*; pub use texture_units::*; pub use image_data::*; pub use vertex_data::*; pub use vertex_buffer::*; pub use index_data::*; pub use uniform_dat...
pub use buffer::*; pub use shader::*; pub use program::*; pub use framebuffer::*; pub use renderbuffer::*; pub use texture::*; pub use texture_units::*; pub use image_data::*; pub use vertex_data::*; pub use vertex_buffer::*; pub use index_data::*; pub use uniform_data::*; pub use types::*; pub mod prelude { pub u...
<|file_sep|>original/src/lib.rs pub use context::*; pub use buffer::*; pub use shader::*; pub use program::*; pub use framebuffer::*; pub use renderbuffer::*; pub use texture::*; pub use texture_units::*; pub use image_data::*; pub use vertex_data::*; pub use vertex_buffer::*; pub use index_data::*; pub use uniform_dat...
22116f3c0821e532ce7bc81e201d75a71a43f262
src/lib.rs
src/lib.rs
Rust
<|file_sep|>README.md.diff original: updated: AWS has a Go API, but it's not necessarily production ready. Thankfully, neither is this server. ;) <|file_sep|>original/README.md # What? I want a Web service to catch and respond to a Web hook from a Docker Hub automated build (https://docs.docker.com/docker-hub/builds...
# How? I'm going to try to use Go to do this. Because the webservice itself is relatively simple, I think I can write a single method to catch the request, do some AWS API calls, and respond with status. AWS has a Go API, but it's not necessarily production ready. Thankfully, neither is this server. ;) I want to run...
<|file_sep|>README.md.diff original: updated: AWS has a Go API, but it's not necessarily production ready. Thankfully, neither is this server. ;) <|file_sep|>original/README.md # What? I want a Web service to catch and respond to a Web hook from a Docker Hub automated build (https://docs.docker.com/docker-hub/builds...
40580cbebb2a8c664c697197f3f370a0ab1aa86f
README.md
README.md
Markdown
<|file_sep|>original/shared_includes/directories.bash function cddirls() { cddir "$1" "$2"; a; } alias home="cddirls ~ " #alias to cd into directory in sites dir alias sites="cddir ~/Sites" #alias to cd into directory in programming dir alias doc="cddir ~/Documents" #alias to cd into directory in programming dir al...
function cddir() { cd "$1"; cd "./$2"; } #change directory and list contents function cddirls() { cddir "$1" "$2"; a; } alias home="cddirls ~ " #alias to cd into directory in sites dir alias sites="cddir ~/Sites" #alias to cd into directory in programming dir alias doc="cddir ~/Documents" #alias to cd into director...
<|file_sep|>original/shared_includes/directories.bash function cddirls() { cddir "$1" "$2"; a; } alias home="cddirls ~ " #alias to cd into directory in sites dir alias sites="cddir ~/Sites" #alias to cd into directory in programming dir alias doc="cddir ~/Documents" #alias to cd into directory in programming dir al...
3ca36a7e32587336c7d6fe1eb189e234860b298c
shared_includes/directories.bash
shared_includes/directories.bash
Shell
<|file_sep|>original/t/00150-exception.t <|file_sep|>current/t/00150-exception.t <|file_sep|>updated/t/00150-exception.t
#!/usr/bin/env perl6 use v6.c; use Test; use Sofa::Exception; class TestException does Sofa::Exception::Handler { # Just call the private method directly method test-exception(|c) { self!get-exception(|c); } } my @tests = ( { code => 400, type => X::InvalidName }...
<|file_sep|>original/t/00150-exception.t <|file_sep|>current/t/00150-exception.t <|file_sep|>updated/t/00150-exception.t #!/usr/bin/env perl6 use v6.c; use Test; use Sofa::Exception; class TestException does Sofa::Exception::Handler { # Just call the private method directly method test-exception(|c) { ...
667417d0bd2404d23243050ebd6252d726964a03
t/00150-exception.t
t/00150-exception.t
Perl
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download - tar xvzf ta-lib-0.4.0-src.tar.gz - pushd ta-lib; ./configure; make; sudo make install; popd - sudo ap...
language: python python: - "2.7" before_install: - wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download - tar xvzf ta-lib-0.4.0-src.tar.gz - pushd ta-lib; ./configure; make; sudo make install; popd - export LD_LIBRARY_PATH=/usr/local/lib:$L...
<|file_sep|>original/.travis.yml language: python python: - "2.7" before_install: - wget -O ta-lib-0.4.0-src.tar.gz http://sourceforge.net/projects/ta-lib/files/ta-lib/0.4.0/ta-lib-0.4.0-src.tar.gz/download - tar xvzf ta-lib-0.4.0-src.tar.gz - pushd ta-lib; ./configure; make; sudo make install; popd - sudo ap...
108ffc6608123749f494c5cd8bd00f2b4ce6c4a8
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ghost/errors/package.json "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.2.0", ...
"test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.2.0", "should": "13.2.3", "sinon": "9.2.1" ...
<|file_sep|>original/ghost/errors/package.json "test": "NODE_ENV=testing mocha './test/**/*.test.js'", "lint": "eslint . --ext .js --cache", "posttest": "yarn lint" }, "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "mocha": "8.2.0", ...
c37f2e968688b0e69d5e223573b27bb3164fdc40
ghost/errors/package.json
ghost/errors/package.json
JSON
<|file_sep|>original/src/firebaseConfig.js // Change it to your own database export default { apiKey: "AIzaSyDes5f-3Rskw0dbPBbw1IhY68GoP-8dLpY", authDomain: "quictionary-c7eff.firebaseapp.com", databaseURL: "https://quictionary-c7eff.firebaseio.com", storageBucket: "quictionary-c7eff.appspot.com" }; <|file_sep|...
// Change it to your own database export default { apiKey: "AIzaSyBP4jQh_7jL2uSVAlZOQjWDjXPBJ4jEWP4", authDomain: "dev-db-c0079.firebaseapp.com", databaseURL: "https://dev-db-c0079.firebaseio.com", storageBucket: "", };
<|file_sep|>original/src/firebaseConfig.js // Change it to your own database export default { apiKey: "AIzaSyDes5f-3Rskw0dbPBbw1IhY68GoP-8dLpY", authDomain: "quictionary-c7eff.firebaseapp.com", databaseURL: "https://quictionary-c7eff.firebaseio.com", storageBucket: "quictionary-c7eff.appspot.com" }; <|file_sep|...
5a7fbfb6f7d5654d14ef392920b4f9677b5eb796
src/firebaseConfig.js
src/firebaseConfig.js
JavaScript
<|file_sep|>original/atom-editor.sh <|file_sep|>current/atom-editor.sh <|file_sep|>updated/atom-editor.sh
#!/bin/bash # Install or update Atom Editor with favorite packages cd /tmp && wget https://atom.io/download/deb -O atom-editor.deb && sudo dpkg -i ./atom-editor.deb && apm install sublime-style-column-selection \ color-picker emmet file-icons language-vue linter linter-eslint linter-php \ minimap
<|file_sep|>original/atom-editor.sh <|file_sep|>current/atom-editor.sh <|file_sep|>updated/atom-editor.sh #!/bin/bash # Install or update Atom Editor with favorite packages cd /tmp && wget https://atom.io/download/deb -O atom-editor.deb && sudo dpkg -i ./atom-editor.deb && apm install sublime-style-column-selection \...
294a9c12cdb080a5f7d4d2ecfdccb83566e48886
atom-editor.sh
atom-editor.sh
Shell