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|>src/cli/argv.coffee.diff original: updated: braveMousePackageJson = require '../../package.json' <|file_sep|>src/cli/argv.coffee.diff original: parser updated: opts = parser <|file_sep|>src/cli/argv.coffee.diff original: updated: .options version: abbr: 'v' flag: true help: 'Print brave-mous...
parser = require 'nomnom' braveMouse = require '../brave-mouse' braveMousePackageJson = require '../../package.json' module.exports = (argv) -> opts = parser .script 'brave-mouse' .options version: abbr: 'v' flag: true help: 'Print brave-mouse’s version' .parse argv.slice 2 if opts.version return c...
<|file_sep|>src/cli/argv.coffee.diff original: updated: braveMousePackageJson = require '../../package.json' <|file_sep|>src/cli/argv.coffee.diff original: parser updated: opts = parser <|file_sep|>src/cli/argv.coffee.diff original: updated: .options version: abbr: 'v' flag: true help: 'Print brave-mous...
2bb708153d67765f3d34b8cdbf455aa43fe2a7bf
src/cli/argv.coffee
src/cli/argv.coffee
CoffeeScript
<|file_sep|>bootstrap.php.diff original: if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists('PHPUnit\TextUI\Command', false)) { updated: if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists(\PHPUnit\TextUI\Command::class, false)) { <|file_sep|>original/bootstrap.php } // Detect if we're loaded by an actual...
} // Detect if we're loaded by an actual run of phpunit if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists(\PHPUnit\TextUI\Command::class, false)) { return; } // Enforce a consistent locale setlocale(\LC_ALL, 'C'); if (!class_exists(AnnotationRegistry::class, false) && class_exists(AnnotationRegistry::cla...
<|file_sep|>bootstrap.php.diff original: if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists('PHPUnit\TextUI\Command', false)) { updated: if (!defined('PHPUNIT_COMPOSER_INSTALL') && !class_exists(\PHPUnit\TextUI\Command::class, false)) { <|file_sep|>original/bootstrap.php } // Detect if we're loaded by an actual...
d0e3c021ff375edc21e9349f8884b9791f4a6341
bootstrap.php
bootstrap.php
PHP
<|file_sep|>original/appveyor/install.ps1 function UpdateConda ($python_home) { $conda_path = $python_home + "\Scripts\conda.exe" Write-Host "Updating conda..." $args = "update --yes conda" Write-Host $conda_path $args Start-Process -FilePath "$conda_path" -ArgumentList $args -Wait -Passthru } func...
function UpdateConda ($python_home) { $conda_path = $python_home + "\Scripts\conda.exe" Write-Host "Updating conda..." $args = "update --yes conda" Write-Host $conda_path $args Start-Process -FilePath "$conda_path" -ArgumentList $args -Wait -Passthru } function InstallCondaPackages ($python_home, $...
<|file_sep|>original/appveyor/install.ps1 function UpdateConda ($python_home) { $conda_path = $python_home + "\Scripts\conda.exe" Write-Host "Updating conda..." $args = "update --yes conda" Write-Host $conda_path $args Start-Process -FilePath "$conda_path" -ArgumentList $args -Wait -Passthru } func...
153bf84171ac91deea0a14f9be3f33638840bafb
appveyor/install.ps1
appveyor/install.ps1
PowerShell
<|file_sep|>.github/workflows/update.yml.diff original: updated: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} <|file_sep|>original/.github/workflows/update.yml on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: repo-token: ${{ secre...
on: workflow_dispatch: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: krdlab/setup-haxe@v1 with: haxe-version: 4.2.5 - run: | ./update.sh if [[ $? != 0 ]]; then ...
<|file_sep|>.github/workflows/update.yml.diff original: updated: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} <|file_sep|>original/.github/workflows/update.yml on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: repo-token: ${{ secre...
65a12ff2058de8185923e9c84eaeec73875f420f
.github/workflows/update.yml
.github/workflows/update.yml
YAML
<|file_sep|>appveyor.yml.diff original: - Visual Studio 2017 updated: - Visual Studio 2019 <|file_sep|>original/appveyor.yml - sh: ./build.sh test: off artifacts: - path: .\artifacts\**\*.nupkg name: NuGet for: - matrix: only: - image: Visual Studio 2017 deploy: - provider: NuGet server: htt...
- sh: ./build.sh test: off artifacts: - path: .\artifacts\**\*.nupkg name: NuGet for: - matrix: only: - image: Visual Studio 2019 deploy: - provider: NuGet server: https://www.myget.org/F/andrewlock-ci/api/v2/package api_key: secure: 7XbdNq38u0JLRNc9pRl35WPi5LZopfYcoCslf7Er/eTreR5mZnGb...
<|file_sep|>appveyor.yml.diff original: - Visual Studio 2017 updated: - Visual Studio 2019 <|file_sep|>original/appveyor.yml - sh: ./build.sh test: off artifacts: - path: .\artifacts\**\*.nupkg name: NuGet for: - matrix: only: - image: Visual Studio 2017 deploy: - provider: NuGet server: htt...
32422d3df76c2b7768f7d3672483b1db899ee0a4
appveyor.yml
appveyor.yml
YAML
<|file_sep|>original/pi-setup/pi-install-code.sh # This assumes the pi-setup-primary.sh or pi-setup-secondary.sh # scripts have already been run. . ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL RUNNER=/home/pi/RoboticLightB...
# This assumes the pi-setup-primary.sh or pi-setup-secondary.sh # scripts have already been run. . ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL FRESH $RCLOCAL RUNNER=/home/pi/RoboticLightBallet/pi-setup/pi-run-code.sh chmo...
<|file_sep|>original/pi-setup/pi-install-code.sh # This assumes the pi-setup-primary.sh or pi-setup-secondary.sh # scripts have already been run. . ./pi-setup-functions.sh cd ~pi git clone https://github.com/mitmuseumstudio/RoboticLightBallet.git RCLOCAL=/etc/rc.local PRESERVE $RCLOCAL RUNNER=/home/pi/RoboticLightB...
a7a98fa7feca4bd4811a85631b83eb051927b964
pi-setup/pi-install-code.sh
pi-setup/pi-install-code.sh
Shell
<|file_sep|>original/IPython/core/tests/test_debugger.py <|file_sep|>current/IPython/core/tests/test_debugger.py <|file_sep|>updated/IPython/core/tests/test_debugger.py
"""Tests for debugging machinery. """ #----------------------------------------------------------------------------- # Copyright (c) 2012, The IPython Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #-----...
<|file_sep|>original/IPython/core/tests/test_debugger.py <|file_sep|>current/IPython/core/tests/test_debugger.py <|file_sep|>updated/IPython/core/tests/test_debugger.py """Tests for debugging machinery. """ #----------------------------------------------------------------------------- # Copyright (c) 2012, The IPyth...
999481b2c49440f428205a161a2c4ccf5580167e
IPython/core/tests/test_debugger.py
IPython/core/tests/test_debugger.py
Python
<|file_sep|>original/samples/MvcSandbox/Pages/Index.cshtml <|file_sep|>current/samples/MvcSandbox/Pages/Index.cshtml <|file_sep|>updated/samples/MvcSandbox/Pages/Index.cshtml
@page Test <div class="row"> <div class="col-md-3"> <h2>RazorPages Test</h2> <ul> <li>This file should give you a quick view of a Mvc Raor Page in action.</li> </ul> </div> </div>
<|file_sep|>original/samples/MvcSandbox/Pages/Index.cshtml <|file_sep|>current/samples/MvcSandbox/Pages/Index.cshtml <|file_sep|>updated/samples/MvcSandbox/Pages/Index.cshtml @page Test <div class="row"> <div class="col-md-3"> <h2>RazorPages Test</h2> <ul> <li>This file should give y...
78046c0706454726f1f895201c5e3c0c47334a49
samples/MvcSandbox/Pages/Index.cshtml
samples/MvcSandbox/Pages/Index.cshtml
C#
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" env: - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 install: - "pip install -r requirements.txt" - "pip install Django==$DJANGO_VERSION" script: "python src/manage.py test testapp.tests" <|file_sep|>current/.travis.y...
language: python python: - "2.7" - "3.4" env: - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 install: - "pip install -r requirements.txt" - "pip install Django==$DJANGO_VERSION" script: "python src/manage.py test testapp"
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.4" env: - DJANGO_VERSION=1.5 - DJANGO_VERSION=1.7 - DJANGO_VERSION=1.8 install: - "pip install -r requirements.txt" - "pip install Django==$DJANGO_VERSION" script: "python src/manage.py test testapp.tests" <|file_sep|>current/.travis.y...
bafce4d72cf40c7e13f66a94cecefafbaf9c0c95
.travis.yml
.travis.yml
YAML
<|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'...
<?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</m...
<|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'...
770868bc9c3aad9e7180cbe325a25349efacd046
pom.xml
pom.xml
XML
<|file_sep|>original/appveyor.yml # Test against the latest version of this Node.js version environment: matrix: - nodejs_version: "8" - nodejs_version: "7" - nodejs_version: "6" - nodejs_version: "5" - nodejs_version: "4" # Install scripts. (runs after repo cloning) install...
# Test against the latest version of this Node.js version environment: matrix: - nodejs_version: "8" - nodejs_version: "7" - nodejs_version: "6" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:...
<|file_sep|>original/appveyor.yml # Test against the latest version of this Node.js version environment: matrix: - nodejs_version: "8" - nodejs_version: "7" - nodejs_version: "6" - nodejs_version: "5" - nodejs_version: "4" # Install scripts. (runs after repo cloning) install...
849a1a19ef9cb153b7883f8a1db579ef215f21f1
appveyor.yml
appveyor.yml
YAML
<|file_sep|>lib/vhdl_doctest/dut.rb.diff original: updated: # this assumes one-line one-port <|file_sep|>original/lib/vhdl_doctest/dut.rb [entity, ports, cases] end def extract_ports return @ports if @ports @ports = [] definitions = @vhdl.match(/entity.*is\s+port\s*\...
[entity, ports, cases] end # this assumes one-line one-port def extract_ports return @ports if @ports @ports = [] definitions = @vhdl.match(/entity.*is\s+port\s*\((.*?)\);\s*end/m)[1] definitions.split("\n").each do |l| names, attributes = l.strip.gs...
<|file_sep|>lib/vhdl_doctest/dut.rb.diff original: updated: # this assumes one-line one-port <|file_sep|>original/lib/vhdl_doctest/dut.rb [entity, ports, cases] end def extract_ports return @ports if @ports @ports = [] definitions = @vhdl.match(/entity.*is\s+port\s*\...
c68be8724c555dc69ae7e1ef16f3934271375237
lib/vhdl_doctest/dut.rb
lib/vhdl_doctest/dut.rb
Ruby
<|file_sep|>src/components/__tests__/Navbar.spec.tsx.diff original: import { shallow, mount } from 'enzyme' updated: import { mount, shallow } from 'enzyme' <|file_sep|>src/components/__tests__/Navbar.spec.tsx.diff original: updated: const toggleSidebar = jest.fn() <|file_sep|>src/components/__tests__/Navbar.spec.ts...
const navbar = shallow(<Navbar {...mockProps} />) expect(navbar.props().id).toBe('rs-navbar') }) it('renders the sidebar toggle button and submit button', () => { const navbar = shallow(<Navbar {...mockProps} />) expect(navbar.find('#rs-submit').length).toBe(1) expect(navbar.find('#rs-toggle-si...
<|file_sep|>src/components/__tests__/Navbar.spec.tsx.diff original: import { shallow, mount } from 'enzyme' updated: import { mount, shallow } from 'enzyme' <|file_sep|>src/components/__tests__/Navbar.spec.tsx.diff original: updated: const toggleSidebar = jest.fn() <|file_sep|>src/components/__tests__/Navbar.spec.ts...
78d6266254e25101950cadce62ad70f7285ebb3b
src/components/__tests__/Navbar.spec.tsx
src/components/__tests__/Navbar.spec.tsx
TypeScript
<|file_sep|>tests/test_browser_test_case.py.diff original: updated: class SubClassed(BrowserTestCase): def do_nothing(self): pass <|file_sep|>tests/test_browser_test_case.py.diff original: class SubClassed(BrowserTestCase): updated: <|file_sep|>tests/test_browser_test_case.py.diff original: ...
class SubClassed(BrowserTestCase): def do_nothing(self): pass class BrowserTestCaseTest(TestCase): def test_browser_returns_last_browser_started(self): btc = SubClassed('do_nothing') btc.browsers.append('b1') btc.browsers.append('b2') btc.browsers.append('b3') ...
<|file_sep|>tests/test_browser_test_case.py.diff original: updated: class SubClassed(BrowserTestCase): def do_nothing(self): pass <|file_sep|>tests/test_browser_test_case.py.diff original: class SubClassed(BrowserTestCase): updated: <|file_sep|>tests/test_browser_test_case.py.diff original: ...
7d8d5516a279cf1349af703f9051bb1acf084eaa
tests/test_browser_test_case.py
tests/test_browser_test_case.py
Python
<|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift.diff original: updated: import RxSwift <|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift.diff original: updated: case updateQuery(String?) <|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor....
enum Mutation { case setRepos([String]) } struct State { var repos: [String] = [] } let initialState = State() func mutate(action: Action) -> Observable<Mutation> { switch action { case let .updateQuery(query): if let query = query { let dummyRepos = ["\(query)1", "\(query)...
<|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift.diff original: updated: import RxSwift <|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift.diff original: updated: case updateQuery(String?) <|file_sep|>Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor....
2d30f10287d9667604471cc8affb7cd24973d472
Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift
Examples/GitHubSearch/GitHubSearch/GitHubSearchViewReactor.swift
Swift
<|file_sep|>packages/wi/witness.yaml.diff original: changelog-type: '' hash: b114c2646fecceab5ebb3c3e2e6ccb2f7cdca7a27fedac6146d8055a0ee9be60 updated: changelog-type: markdown hash: 62d4c841d71fc4856a3221a945f9053b6bfaf8d1e6414dc834afb657222ff050 <|file_sep|>packages/wi/witness.yaml.diff original: changelog: '' updated...
## [0.5] - 2020-09-22 basic-deps: base: '>=4.15 && <5' constraints: '>=0.13' countable: '>=1.2' all-versions: - '0.1' - '0.2' - '0.3' - 0.3.0.1 - '0.4' - '0.5' - '0.6' author: Ashley Yakeley latest: '0.6' description-type: haddock description: A /witness/ is a value that witnesses some sort of constraint on som...
<|file_sep|>packages/wi/witness.yaml.diff original: changelog-type: '' hash: b114c2646fecceab5ebb3c3e2e6ccb2f7cdca7a27fedac6146d8055a0ee9be60 updated: changelog-type: markdown hash: 62d4c841d71fc4856a3221a945f9053b6bfaf8d1e6414dc834afb657222ff050 <|file_sep|>packages/wi/witness.yaml.diff original: changelog: '' updated...
eadf48f49a4bea578cde65e07e00e66995230193
packages/wi/witness.yaml
packages/wi/witness.yaml
YAML
<|file_sep|>original/README.md Required Perl modules: - YAML::Any - YAML::XS - Unicode::Escape <|file_sep|>current/README.md Required Perl modules: - YAML::Any - YAML::XS - Unicode::Escape <|file_sep|>updated/README.md
[![Build Status](https://travis-ci.org/Derbeth/wikinews-rss.svg?branch=master)](https://travis-ci.org/Derbeth/wikinews-rss) Required Perl modules: - YAML::Any - YAML::XS - Unicode::Escape
<|file_sep|>original/README.md Required Perl modules: - YAML::Any - YAML::XS - Unicode::Escape <|file_sep|>current/README.md Required Perl modules: - YAML::Any - YAML::XS - Unicode::Escape <|file_sep|>updated/README.md [![Build Status](https://travis-ci.org/Derbeth/wikinews-rss.svg?branch=master)](https://travis-ci.o...
704a0ec33714f11bb3293d45e49e058cdbfa9c1a
README.md
README.md
Markdown
<|file_sep|>original/.travis.yml matrix: include: - os: linux-ppc64le jdk: openjdk8 allow_failures: - jdk: openjdk-ea jdk: - oraclejdk11 - openjdk8 - openjdk11 - openjdk12 - openjdk13 - openjdk14 - openjdk-ea script: - mvn -V --no-transfer-progress # japicmp requires a package -...
matrix: include: - os: linux-ppc64le jdk: openjdk8 allow_failures: - jdk: openjdk-ea jdk: - oraclejdk11 - openjdk8 - openjdk11 - openjdk14 - openjdk-ea script: - mvn -V --no-transfer-progress # japicmp requires a package - mvn -V jar:jar japicmp:cmp -P japicmp --no-transfer-progress...
<|file_sep|>original/.travis.yml matrix: include: - os: linux-ppc64le jdk: openjdk8 allow_failures: - jdk: openjdk-ea jdk: - oraclejdk11 - openjdk8 - openjdk11 - openjdk12 - openjdk13 - openjdk14 - openjdk-ea script: - mvn -V --no-transfer-progress # japicmp requires a package -...
dbf543b1451713a7e50c58912ec7ecfeb47cf0d3
.travis.yml
.travis.yml
YAML
<|file_sep|>.travis.yml.diff original: - 2.1.3 updated: - 2.1.3 <|file_sep|>.travis.yml.diff original: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres updated: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' ...
addons: code_climate: repo_token: c75df5383c6ed506f57bd7281c1c41200a139a6847ad4c62d0371a23d457f8c6 language: ruby rvm: - 2.1.3 before_script: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres notifications: email: false deploy: provider: heroku api_key:...
<|file_sep|>.travis.yml.diff original: - 2.1.3 updated: - 2.1.3 <|file_sep|>.travis.yml.diff original: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' -U postgres updated: - cp config/database.psql.yml config/database.yml - psql -c 'create database hpi_swt2_test;' ...
ee55e55b1d80771e9689ff8b4bc3b46ce4ebf706
.travis.yml
.travis.yml
YAML
<|file_sep|>original/ansible/roles/openshift/tasks/main.yml dest: /etc/hosts owner: root group: root mode: 0644 - name: Enable selinux selinux: policy: targeted state: enforcing - name: Epel Repo package: name: epel-release state: latest - name: Pre-requisite packages package: ...
dest: /etc/hosts owner: root group: root mode: 0644 - name: Enable selinux selinux: policy: targeted state: enforcing - name: Disable fastestmirror plugin ini_file: dest: /etc/yum/pluginconf.d/fastestmirror.conf section: main option: enabled value: 0 mode: 0644 back...
<|file_sep|>original/ansible/roles/openshift/tasks/main.yml dest: /etc/hosts owner: root group: root mode: 0644 - name: Enable selinux selinux: policy: targeted state: enforcing - name: Epel Repo package: name: epel-release state: latest - name: Pre-requisite packages package: ...
c8de26fff061f08159aeaf3d4a27a30d33778ebc
ansible/roles/openshift/tasks/main.yml
ansible/roles/openshift/tasks/main.yml
YAML
<|file_sep|>original/tests/phpunit_travis.xml <|file_sep|>current/tests/phpunit_travis.xml <|file_sep|>updated/tests/phpunit_travis.xml
<phpunit bootstrap="bootstrap.php" verbose="true" convertErrorsToExceptions="true" convertWarningsToExceptions="true" colors="true"> <testsuites> <testsuite name="SolrSearchTests"> <directory>integration</directory> <directory>unit</directory> </testsuite> </testsuites> </phpunit>
<|file_sep|>original/tests/phpunit_travis.xml <|file_sep|>current/tests/phpunit_travis.xml <|file_sep|>updated/tests/phpunit_travis.xml <phpunit bootstrap="bootstrap.php" verbose="true" convertErrorsToExceptions="true" convertWarningsToExceptions="true" colors="true"> <testsuites> <testsuite name="Solr...
0f7c1c6882ba07c5392167996ff589a8d64e05eb
tests/phpunit_travis.xml
tests/phpunit_travis.xml
XML
<|file_sep|>announcements/_posts/2021-09-03-w02-cli-and-ssh-basics.md.diff original: We will be going over command line and ssh basics. Everything you should need to use the CS servers with ease. We will be meeting in out usual spot: GOL-2620, at our usual time: 4:30. updated: We will be going over command line and SSH...
--- author: Ben Goldberg title: "Week #2: CLI & SSH Basics" layout: post-event date-start: "2021-09-03 16:30" date-end: "2021-09-03 18:00" location: "GOL-2620 (Medium DB Lab)" --- Hello RITLUGers! It's now week two and we have our first real talk of the year for you. We will be going over command line and SSH basics. ...
<|file_sep|>announcements/_posts/2021-09-03-w02-cli-and-ssh-basics.md.diff original: We will be going over command line and ssh basics. Everything you should need to use the CS servers with ease. We will be meeting in out usual spot: GOL-2620, at our usual time: 4:30. updated: We will be going over command line and SSH...
087c2bbf638b5be50085db8def676a33e67a6f8d
announcements/_posts/2021-09-03-w02-cli-and-ssh-basics.md
announcements/_posts/2021-09-03-w02-cli-and-ssh-basics.md
Markdown
<|file_sep|>frontends/etiquette_flask/etiquette_flask_launch.py.diff original: if len(sys.argv) == 2: updated: if len(sys.argv) >= 2: <|file_sep|>frontends/etiquette_flask/etiquette_flask_launch.py.diff original: if port == 443: updated: use_https = (port == 443) or ('--https' in sys.argv) if use_https: <|file_sep|>ori...
use_https = (port == 443) or ('--https' in sys.argv) if use_https: http = gevent.pywsgi.WSGIServer( listener=('0.0.0.0', port), application=etiquette_flask.site, keyfile='D:\\git\\etiquette\\frontends\\etiquette_flask\\https\\etiquette.key', certfile='D:\\git\\etiquette\\frontends\\...
<|file_sep|>frontends/etiquette_flask/etiquette_flask_launch.py.diff original: if len(sys.argv) == 2: updated: if len(sys.argv) >= 2: <|file_sep|>frontends/etiquette_flask/etiquette_flask_launch.py.diff original: if port == 443: updated: use_https = (port == 443) or ('--https' in sys.argv) if use_https: <|file_sep|>ori...
0c9582598d172585466f89434035cf3e3cafcf61
frontends/etiquette_flask/etiquette_flask_launch.py
frontends/etiquette_flask/etiquette_flask_launch.py
Python
<|file_sep|>setup.py.diff original: from os.path import isdir, isfile, join from distutils import log updated: <|file_sep|>setup.py.diff original: updated: 'aes256gcm-nacl', <|file_sep|>original/setup.py # which may not have libffi-dev installed. # # If we have neither cffi nor ffi.h we fall back to pycryptodome...
'jsonpickle', 'pyelliptic', 'ecdsa', 'zope.event', 'zope.lifecycleevent', 'aes256gcm-nacl', 'ZEO', 'six' ] setup( name="zerodb", version="0.97.2.1", description="End-to-end encrypted database", author="ZeroDB Inc.", author_email="michael@zerodb.io", license="AGPL...
<|file_sep|>setup.py.diff original: from os.path import isdir, isfile, join from distutils import log updated: <|file_sep|>setup.py.diff original: updated: 'aes256gcm-nacl', <|file_sep|>original/setup.py # which may not have libffi-dev installed. # # If we have neither cffi nor ffi.h we fall back to pycryptodome...
170317364ae1ee97bad94fb9d53187ce674b5ebb
setup.py
setup.py
Python
<|file_sep|>src/explorer.php.diff original: ini_set('include_path', 'phar://'.__FILE__.PATH_SEPARATOR.ini_get('include_path')); updated: if (basename(__FILE__) == 'explorer.php') { ini_set('include_path', __DIR__.PATH_SEPARATOR.ini_get('include_path')); $gladefile = __DIR__.'/data/explorer.glade'; } else { ...
gtk_die('PHAR Extension has no compression support.'); } if (basename(__FILE__) == 'explorer.php') { ini_set('include_path', __DIR__.PATH_SEPARATOR.ini_get('include_path')); $gladefile = __DIR__.'/data/explorer.glade'; } else { ini_set('include_path', 'phar://'.__FILE__.PATH_SEPARATOR.ini_get('include_...
<|file_sep|>src/explorer.php.diff original: ini_set('include_path', 'phar://'.__FILE__.PATH_SEPARATOR.ini_get('include_path')); updated: if (basename(__FILE__) == 'explorer.php') { ini_set('include_path', __DIR__.PATH_SEPARATOR.ini_get('include_path')); $gladefile = __DIR__.'/data/explorer.glade'; } else { ...
f9512f7db28e678343052500d60d6f8dc297c02a
src/explorer.php
src/explorer.php
PHP
<|file_sep|>original/.travis.yml language: php php: - 7.0.4 before_install: - composer self-update - echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=ldap.so" >> test.ini -...
language: php php: - 7.1 before_install: - composer self-update - echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=ldap.so" >> test.ini - echo "zend_extension=xdebug.so" >>...
<|file_sep|>original/.travis.yml language: php php: - 7.0.4 before_install: - composer self-update - echo "extension=ldap.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=zmq.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "extension=ldap.so" >> test.ini -...
8e6b713e5248aad9b53ed5fb3c98bf417fd4a129
.travis.yml
.travis.yml
YAML
<|file_sep|>original/examples/languages/README.md Press `Enter` to run the sample training operation using the default values. `r` is an R port of the sample function used in [Guild Get Started](https://guild.ai/docs/start/). Refer to the steps in that guide to apply Guild features to this example. ## Bash Examples ...
# Guild Example: `languages` Refer to [*Example: Languages*](https://my.guild.ai/examples/languages) for documentation.
<|file_sep|>original/examples/languages/README.md Press `Enter` to run the sample training operation using the default values. `r` is an R port of the sample function used in [Guild Get Started](https://guild.ai/docs/start/). Refer to the steps in that guide to apply Guild features to this example. ## Bash Examples ...
fe962394baef1ba2a72adbb57f67c69e636daa29
examples/languages/README.md
examples/languages/README.md
Markdown
<|file_sep|>original/README.md # [openrepl](https://repl.techmeowt.com) OpenRepl REPL is an online REPL where you can run code in a variety of programming languages on the web. ## How to use Towards the write is an editor. There, you can write code. Press run to run this code, and a terminal will pop up below the edit...
# [openrepl](https://repl.techmeowt.com)[![Gitter](https://badges.gitter.im/openrepl/openrepl.svg)](https://gitter.im/openrepl/openrepl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) OpenRepl REPL is an online REPL where you can run code in a variety of programming languages on the web. ## How to use Towards...
<|file_sep|>original/README.md # [openrepl](https://repl.techmeowt.com) OpenRepl REPL is an online REPL where you can run code in a variety of programming languages on the web. ## How to use Towards the write is an editor. There, you can write code. Press run to run this code, and a terminal will pop up below the edit...
166ee001c85ca56582aeebfb4e4e9ebfc73bce1d
README.md
README.md
Markdown
<|file_sep|>original/_layouts/main.html <html> <head> <title>{{ page.title }} | Student Robotics</title> <meta charset="utf-8"> <meta name="description" content="{{ page.description }}"> <link rel="stylesheet" type="text/css" href="/css/main.css"> </head> <body> <div id="pageWrapper"> <d...
<meta charset="utf-8"> <meta name="description" content="{{ page.description }}"> <link rel="stylesheet" type="text/css" href="/css/main.css"> </head> <body> <div id="pageWrapper"> <div id="header"> <a href="/"> <img src="/images/template/website_logo.png" alt="Student Roboti...
<|file_sep|>original/_layouts/main.html <html> <head> <title>{{ page.title }} | Student Robotics</title> <meta charset="utf-8"> <meta name="description" content="{{ page.description }}"> <link rel="stylesheet" type="text/css" href="/css/main.css"> </head> <body> <div id="pageWrapper"> <d...
4931f23b63f4caa46fc9330ea0e1b3f8de449338
_layouts/main.html
_layouts/main.html
HTML
<|file_sep|>original/lib/travis/api/v3/services/requests/create.rb module Travis::API::V3 class Services::Requests::Create < Service TIME_FRAME = 1.hour LIMIT = 10 private_constant :TIME_FRAME, :LIMIT result_type :request params "request", "user", :config, :message, :branch def run ...
module Travis::API::V3 class Services::Requests::Create < Service TIME_FRAME = 1.hour LIMIT = 50 private_constant :TIME_FRAME, :LIMIT result_type :request params "request", "user", :config, :message, :branch def run raise LoginRequired unless access_control.logged_in? or access_co...
<|file_sep|>original/lib/travis/api/v3/services/requests/create.rb module Travis::API::V3 class Services::Requests::Create < Service TIME_FRAME = 1.hour LIMIT = 10 private_constant :TIME_FRAME, :LIMIT result_type :request params "request", "user", :config, :message, :branch def run ...
b898d863c0fa4255b9f32402723115486852fbf8
lib/travis/api/v3/services/requests/create.rb
lib/travis/api/v3/services/requests/create.rb
Ruby
<|file_sep|>original/collector/api/test-image/test-image.sh #!/bin/bash number=$RANDOM let "number %= 2" dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) for number in 1 2 3 4 5 6 do curl http://127.0.0.1:5000/image -F my_file=@"$dir/image$number.jpg" -F "name=1423085821" -F "source=whe$number" done <|file_sep...
#!/bin/bash number=$RANDOM let "number %= 2" dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) for number in {0..5} do curl http://127.0.0.1:5000/image -F my_file=@"$dir/image$number.jpg" -F "name=1423085821" -F "source=whe$number" done
<|file_sep|>original/collector/api/test-image/test-image.sh #!/bin/bash number=$RANDOM let "number %= 2" dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) for number in 1 2 3 4 5 6 do curl http://127.0.0.1:5000/image -F my_file=@"$dir/image$number.jpg" -F "name=1423085821" -F "source=whe$number" done <|file_sep...
5312cf9e840e20952efd001e6d5854d4b980b8ee
collector/api/test-image/test-image.sh
collector/api/test-image/test-image.sh
Shell
<|file_sep|>.travis.yml.diff original: - ruby-head - jruby-head updated: <|file_sep|>original/.travis.yml rvm: - 2.1 - 2.2 - 2.3.0 - rbx - jruby-9000 - ruby-head - jruby-head env: global: - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head notif...
- bundle exec rake spec rvm: - 2.1 - 2.2 - 2.3.0 - rbx - jruby-9000 env: global: - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: allow_failures: - rvm: rbx notifications: email: false webhooks: urls: - https://webhooks.gitter.im/e/19098b4253a72c9796db on_success: change # options: [a...
<|file_sep|>.travis.yml.diff original: - ruby-head - jruby-head updated: <|file_sep|>original/.travis.yml rvm: - 2.1 - 2.2 - 2.3.0 - rbx - jruby-9000 - ruby-head - jruby-head env: global: - JRUBY_OPTS='--dev -J-Xmx1024M' matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head notif...
9eafa9841ecb50f3bb681c8397f8b458bac0bc53
.travis.yml
.travis.yml
YAML
<|file_sep|>blogsite/models.py.diff original: id : db.Column updated: id : SQLAlchemy.Column <|file_sep|>original/blogsite/models.py from . import db class Post(db.Model): """Model representing a blog post. Attributes ---------- id : db.Column Autogenerated primary key title : db....
from . import db class Post(db.Model): """Model representing a blog post. Attributes ---------- id : SQLAlchemy.Column Autogenerated primary key title : SQLAlchemy.Column body : SQLAlchemy.Column """ # Columns id = db.Column(db.Integer, primary_key=True, autoincrement=Tru...
<|file_sep|>blogsite/models.py.diff original: id : db.Column updated: id : SQLAlchemy.Column <|file_sep|>original/blogsite/models.py from . import db class Post(db.Model): """Model representing a blog post. Attributes ---------- id : db.Column Autogenerated primary key title : db....
1469da25fec3e3e966d5a0b5fab11dd279bbe05a
blogsite/models.py
blogsite/models.py
Python
<|file_sep|>original/install_relengapi.sh #!/bin/bash -exv git clone http://github.com/mozilla/build-relengapi cd build-relengapi pip install base[test] cd .. mv build-relengapi/base/pep8rc . mv build-relengapi/base/pylintrc . rm -rf build-relengapi <|file_sep|>current/install_relengapi.sh #!/bin/bash -exv git clone ...
#!/bin/bash -exv git clone http://github.com/mozilla/build-relengapi cd build-relengapi pip install -e base[test] cd .. mv build-relengapi/base/pep8rc . mv build-relengapi/base/pylintrc . rm -rf build-relengapi
<|file_sep|>original/install_relengapi.sh #!/bin/bash -exv git clone http://github.com/mozilla/build-relengapi cd build-relengapi pip install base[test] cd .. mv build-relengapi/base/pep8rc . mv build-relengapi/base/pylintrc . rm -rf build-relengapi <|file_sep|>current/install_relengapi.sh #!/bin/bash -exv git clone ...
eff56b0429c06f81e15aab1962737d0a8c811973
install_relengapi.sh
install_relengapi.sh
Shell
<|file_sep|>original/templates/includes/browser_bug.html <div id="safariAlert" style="background-color: #223136; color: #fff; padding: 10px; position: -webkit-sticky; position: sticky; top: 0; z-index: 1; font-size: .92rem" class="hidden">👋 Hi! Looks like you’re using the latest version of Safari — good on you for upd...
<div id="safariAlert" style="background-color: #223136; color: #fff; padding: 10px; position: -webkit-sticky; position: sticky; top: 0; z-index: 1; font-size: .92rem" class="hidden">👋 Hi! Looks like you’re using the latest version of Safari — good on you for updating! While we work on a fix to be compatible with this ...
<|file_sep|>original/templates/includes/browser_bug.html <div id="safariAlert" style="background-color: #223136; color: #fff; padding: 10px; position: -webkit-sticky; position: sticky; top: 0; z-index: 1; font-size: .92rem" class="hidden">👋 Hi! Looks like you’re using the latest version of Safari — good on you for upd...
5b5c4e961db4b8e3f0d1bbe206e815fbfef97055
templates/includes/browser_bug.html
templates/includes/browser_bug.html
HTML
<|file_sep|>original/.travis.yml language: ruby cache: bundler: true rvm: - 2.4.1 script: bundle exec rake test gemfile: - Gemfile <|file_sep|>current/.travis.yml language: ruby cache: bundler: true rvm: - 2.4.1 script: bundle exec rake test gemfile: - Gemfile <|file_sep|>updated/.travis.yml
language: ruby cache: bundler: true rvm: - 2.4 script: bundle exec rake test gemfile: - Gemfile
<|file_sep|>original/.travis.yml language: ruby cache: bundler: true rvm: - 2.4.1 script: bundle exec rake test gemfile: - Gemfile <|file_sep|>current/.travis.yml language: ruby cache: bundler: true rvm: - 2.4.1 script: bundle exec rake test gemfile: - Gemfile <|file_sep|>updated/.travis.yml language: r...
8d9bfded31eb3cb4453bf65d02aca51d437a0b78
.travis.yml
.travis.yml
YAML
<|file_sep|>original/README.md # Panlexicon [![Build Status](https://travis-ci.org/bensheldon/panlexicon-rails.png)](https://travis-ci.org/bensheldon/panlexicon-rails) [![Coverage Status](https://coveralls.io/repos/bensheldon/panlexicon-rails/badge.png)](https://coveralls.io/r/bensheldon/panlexicon-rails) [![Dependenc...
# Panlexicon [![Build Status](https://travis-ci.org/bensheldon/panlexicon-rails.png)](https://travis-ci.org/bensheldon/panlexicon-rails) [![Coverage Status](https://coveralls.io/repos/bensheldon/panlexicon-rails/badge.png)](https://coveralls.io/r/bensheldon/panlexicon-rails) [![Dependency Status](https://gemnasium.com...
<|file_sep|>original/README.md # Panlexicon [![Build Status](https://travis-ci.org/bensheldon/panlexicon-rails.png)](https://travis-ci.org/bensheldon/panlexicon-rails) [![Coverage Status](https://coveralls.io/repos/bensheldon/panlexicon-rails/badge.png)](https://coveralls.io/r/bensheldon/panlexicon-rails) [![Dependenc...
c1606777e28391f38ca17c088bf70b56f7a5e618
README.md
README.md
Markdown
<|file_sep|>original/cran-comments.md ## Test environments * local OS X install, R 3.4.1 * ubuntu 14.04 (on travis-ci), R 3.4.1 * OS X 10.12 (on travis-ci), R 3.4.1 * windows (on appveyor), R 3.4.1 * win-builder (devel and release) ## R CMD check results 0 errors | 0 warnings | 0 note ## Reverse dependencies There ...
## Test environments * local OS X install, R 3.4.1 * ubuntu 14.04 (on travis-ci), R 3.4.2 * OS X 10.12 (on travis-ci), R 3.4.1 * windows (on appveyor), R 3.4.1 * win-builder (devel and release) ## R CMD check results 0 errors | 0 warnings | 0 note ## Reverse dependencies There are no reverse dependencies yet.
<|file_sep|>original/cran-comments.md ## Test environments * local OS X install, R 3.4.1 * ubuntu 14.04 (on travis-ci), R 3.4.1 * OS X 10.12 (on travis-ci), R 3.4.1 * windows (on appveyor), R 3.4.1 * win-builder (devel and release) ## R CMD check results 0 errors | 0 warnings | 0 note ## Reverse dependencies There ...
3ac6b1fb47633bd1d09b7b973c1d0193b51b7b34
cran-comments.md
cran-comments.md
Markdown
<|file_sep|>original/src/cljs/gtfve/controllers/controls.cljs (ns gtfve.controllers.controls (:require-macros [cljs.core.async.macros :refer [go go-loop]] [gtfve.macros :refer [<?]]) (:require [om.core :as om] [cljs.core.async :as async :refer [put! <! close!]])) (defmulti control-ev...
(ns gtfve.controllers.controls (:require-macros [cljs.core.async.macros :refer [go go-loop]] [gtfve.macros :refer [<?]]) (:require [om.core :as om] [cljs.core.async :as async :refer [put! <! close!]])) (defmulti control-event (fn [event args state] event)) (defmethod control-event...
<|file_sep|>original/src/cljs/gtfve/controllers/controls.cljs (ns gtfve.controllers.controls (:require-macros [cljs.core.async.macros :refer [go go-loop]] [gtfve.macros :refer [<?]]) (:require [om.core :as om] [cljs.core.async :as async :refer [put! <! close!]])) (defmulti control-ev...
d5e789890eba01adc996c2898447ac660e4c60dd
src/cljs/gtfve/controllers/controls.cljs
src/cljs/gtfve/controllers/controls.cljs
Clojure
<|file_sep|>original/README.md # react-on-rails-ui A front end application for working with react on rails. <|file_sep|>current/README.md # react-on-rails-ui A front end application for working with react on rails. <|file_sep|>updated/README.md
# react-on-rails-ui A front end application for working with react on rails. ### Starting Expects service to be running locally on `localhost:3000`. This is currently [configured here](https://github.com/SonofNun15/react-on-rails-ui/blob/master/source/app/utilities/baseApi.js#L6) and could easily be changed to read f...
<|file_sep|>original/README.md # react-on-rails-ui A front end application for working with react on rails. <|file_sep|>current/README.md # react-on-rails-ui A front end application for working with react on rails. <|file_sep|>updated/README.md # react-on-rails-ui A front end application for working with react on rails...
e1d8ebbe7ddf4950dac3a6690e4d75c926e83456
README.md
README.md
Markdown
<|file_sep|>original/.styleci.yml - phpdoc_scalar - phpdoc_separation - phpdoc_to_comment - phpdoc_trim - phpdoc_type_to_var - phpdoc_types - phpdoc_var_without_name - return - short_bool_cast - single_quote - spaces_after_semicolon - spaces_cast - standardize_not_equal - ternary_spaces - ...
- phpdoc_types - phpdoc_var_without_name - return - short_bool_cast - single_quote - spaces_after_semicolon - spaces_cast - standardize_not_equal - ternary_spaces - trim_array_spaces - unalign_double_arrow - unalign_equals - unary_operators_spaces - unneeded_control_parentheses - unused_us...
<|file_sep|>original/.styleci.yml - phpdoc_scalar - phpdoc_separation - phpdoc_to_comment - phpdoc_trim - phpdoc_type_to_var - phpdoc_types - phpdoc_var_without_name - return - short_bool_cast - single_quote - spaces_after_semicolon - spaces_cast - standardize_not_equal - ternary_spaces - ...
7701bc6ab0b1e27daec6da83a8e50e2b9aaf1997
.styleci.yml
.styleci.yml
YAML
<|file_sep|>original/image-yaml/overcloud-hardened-images-python3.yaml <|file_sep|>current/image-yaml/overcloud-hardened-images-python3.yaml <|file_sep|>updated/image-yaml/overcloud-hardened-images-python3.yaml
disk_images: - imagename: overcloud-hardened-full type: qcow2 elements: - dhcp-all-interfaces - openvswitch - overcloud-agent - overcloud-base - overcloud-controller - overcloud-compute - overcloud-ceph-storage - puppet-modules - stable-interface-names...
<|file_sep|>original/image-yaml/overcloud-hardened-images-python3.yaml <|file_sep|>current/image-yaml/overcloud-hardened-images-python3.yaml <|file_sep|>updated/image-yaml/overcloud-hardened-images-python3.yaml disk_images: - imagename: overcloud-hardened-full type: qcow2 elements: - dhcp-all-inte...
af23dfd61be98107aa9a7c8c180e805bb4030849
image-yaml/overcloud-hardened-images-python3.yaml
image-yaml/overcloud-hardened-images-python3.yaml
YAML
<|file_sep|>original/_pages/about.md --- layout: single permalink: /about/ author_profile: true title: About header: image: /images/about.jpg --- ### Hi there, I'm an engineer, author, open source supporter and contributor. Have a keen interest in all things infrastructure, I'm a geek by definition and curious by n...
--- layout: single permalink: /about/ author_profile: true title: About header: image: /images/about.jpg --- ### Hi there, I'm an engineer, author, open source supporter and contributor. Have a keen interest in all things infrastructure, I'm a geek by definition and curious by nature. The thing I treasure the most ...
<|file_sep|>original/_pages/about.md --- layout: single permalink: /about/ author_profile: true title: About header: image: /images/about.jpg --- ### Hi there, I'm an engineer, author, open source supporter and contributor. Have a keen interest in all things infrastructure, I'm a geek by definition and curious by n...
400ec261a62989018fe8e961f7dd343b6e6b2665
_pages/about.md
_pages/about.md
Markdown
<|file_sep|>original/src/js/gi/components/content/AdditionalResources.jsx import React from 'react'; export const AdditionalResourcesLinks = () => ( <div> <p> <a href="/education/tools-programs/careerscope" target="_blank"> Get started with CareerScope </a> </p> <p> <a href="htt...
import React from 'react'; export const AdditionalResourcesLinks = () => ( <div> <p> <a href="https://va.careerscope.net/gibill" target="_blank"> Get started with CareerScope </a> </p> <p> <a href="http://www.benefits.va.gov/gibill/choosing_a_school.asp" target="_blank"> ...
<|file_sep|>original/src/js/gi/components/content/AdditionalResources.jsx import React from 'react'; export const AdditionalResourcesLinks = () => ( <div> <p> <a href="/education/tools-programs/careerscope" target="_blank"> Get started with CareerScope </a> </p> <p> <a href="htt...
6b816f259ce974951668c72bd81322618642e95e
src/js/gi/components/content/AdditionalResources.jsx
src/js/gi/components/content/AdditionalResources.jsx
JSX
<|file_sep|>original/.gitlab-ci.yml image: mvdan/fdroid-ci:latest test: script: - apt-get update - apt-get install -y python-dev gcc - cd tests - ./complete-ci-tests <|file_sep|>current/.gitlab-ci.yml image: mvdan/fdroid-ci:latest test: script: - apt-get update - apt-get install -y python-...
image: mvdan/fdroid-ci:latest test: script: - apt-get update - apt-get install -y python3-dev gcc - pip3 install -e . - cd tests - ./complete-ci-tests
<|file_sep|>original/.gitlab-ci.yml image: mvdan/fdroid-ci:latest test: script: - apt-get update - apt-get install -y python-dev gcc - cd tests - ./complete-ci-tests <|file_sep|>current/.gitlab-ci.yml image: mvdan/fdroid-ci:latest test: script: - apt-get update - apt-get install -y python-...
f2681dcb366c05f5beb4eb04ba08dcdca624a92f
.gitlab-ci.yml
.gitlab-ci.yml
YAML
<|file_sep|>original/CMakeLists.txt cmake_minimum_required (VERSION 2.8.3) project (rrglib) install (DIRECTORY src/ DESTINATION include/rrglib FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp") add_compile_options (-g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall...
cmake_minimum_required (VERSION 2.8.3) project (rrglib) install (DIRECTORY src/ DESTINATION include/rrglib FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp") add_compile_options (-g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_FORMAT_MACROS -Wall ) add_s...
<|file_sep|>original/CMakeLists.txt cmake_minimum_required (VERSION 2.8.3) project (rrglib) install (DIRECTORY src/ DESTINATION include/rrglib FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp") add_compile_options (-g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall...
c86dc41863d94213d6980f9ecfbd5c650ec092ad
CMakeLists.txt
CMakeLists.txt
Text
<|file_sep|>original/validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift <|file_sep|>current/validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift <|file_sep|>updated/validation-test/Sema/type_checker_perf/slow/operator_chain_with_heterge...
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1 // REQUIRES: tools-release,no_asan // TODO(performance): This should be converted in a scale test once performance issue is fixed func test(bytes: Int, length: UInt32) { // left-hand side of `>=` is `Int` and right-hand side is a chain of `UI...
<|file_sep|>original/validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift <|file_sep|>current/validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift <|file_sep|>updated/validation-test/Sema/type_checker_perf/slow/operator_chain_with_heterge...
3b381f787615a9459fcc86317a4c966f8e7c719c
validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift
validation-test/Sema/type_checker_perf/slow/operator_chain_with_hetergeneous_arguments.swift
Swift
<|file_sep|>operating-system/operating-system.md.diff original: ### ReactOS updated: <|file_sep|>original/operating-system/operating-system.md ## BSD ### FreeBSD ### OpenBSD ### NetBSD ## System V ## [Alternative OS](http://www.techradar.com/us/news/software/operating-systems/10-best-alternative-operating-systems-...
### FreeBSD ### OpenBSD ### NetBSD ## System V ## [Alternative OS](http://www.techradar.com/us/news/software/operating-systems/10-best-alternative-operating-systems-934484) ### Plan 9 from Bell Labs - [hacker news discuss](https://news.ycombinator.com/item?id=447435) - [slide](http://www.slideshare.net/jserv/plan-9...
<|file_sep|>operating-system/operating-system.md.diff original: ### ReactOS updated: <|file_sep|>original/operating-system/operating-system.md ## BSD ### FreeBSD ### OpenBSD ### NetBSD ## System V ## [Alternative OS](http://www.techradar.com/us/news/software/operating-systems/10-best-alternative-operating-systems-...
f796bd8f63164e081ad8b16212f9b8222d29c61c
operating-system/operating-system.md
operating-system/operating-system.md
Markdown
<|file_sep|>original/.travis.yml - 5.4 - 5.5 - 5.6 matrix: allow_failures: - php: 5.6 env: global: - ES_VER=1.2.1 - ES_MAPPER_ATTACHMENTS_VER=2.0.0.RC1 - ES_TRANSPORT_THRIFT_VER=2.0.0 - ES_GEOCLUSTER_FACET_VER=0.0.10 - ES_WAIT_ON_MAPPING_CHANGE=true - MEMCACHE_VER=3.0.8 matrix:...
- 5.4 - 5.5 - 5.6 matrix: allow_failures: - php: 5.6 env: global: - ES_VER=1.3.0 - ES_MAPPER_ATTACHMENTS_VER=2.0.0.RC1 - ES_TRANSPORT_THRIFT_VER=2.0.0 - ES_GEOCLUSTER_FACET_VER=0.0.10 - ES_WAIT_ON_MAPPING_CHANGE=true - MEMCACHE_VER=3.0.8 matrix: - ES_REQUIRE=dev - ES_RE...
<|file_sep|>original/.travis.yml - 5.4 - 5.5 - 5.6 matrix: allow_failures: - php: 5.6 env: global: - ES_VER=1.2.1 - ES_MAPPER_ATTACHMENTS_VER=2.0.0.RC1 - ES_TRANSPORT_THRIFT_VER=2.0.0 - ES_GEOCLUSTER_FACET_VER=0.0.10 - ES_WAIT_ON_MAPPING_CHANGE=true - MEMCACHE_VER=3.0.8 matrix:...
634ebd647ea64a511a4308f66af6c4ab28d93212
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/effects/SkColorMatrixFilter.cpp static SkScalar byte_to_scale(U8CPU byte) { if (0xFF == byte) { // want to get this exact return 1; } else { return byte * 0.00392156862745f; } } SkColorFilter* SkColorMatrixFilter::CreateLightingFilter(SkColor mul, SkColor ad...
static SkScalar byte_to_scale(U8CPU byte) { if (0xFF == byte) { // want to get this exact return 1; } else { return byte * 0.00392156862745f; } } SkColorFilter* SkColorMatrixFilter::CreateLightingFilter(SkColor mul, SkColor add) { if (0 == add) { return SkColorFilter::Cr...
<|file_sep|>original/src/effects/SkColorMatrixFilter.cpp static SkScalar byte_to_scale(U8CPU byte) { if (0xFF == byte) { // want to get this exact return 1; } else { return byte * 0.00392156862745f; } } SkColorFilter* SkColorMatrixFilter::CreateLightingFilter(SkColor mul, SkColor ad...
0698300cc567384d6c528b5b1757ed8abe930dc5
src/effects/SkColorMatrixFilter.cpp
src/effects/SkColorMatrixFilter.cpp
C++
<|file_sep|>original/src/config.rb CONFIG = { indie: { merchant_id: "1065", url: "https://209.235.214.90/setistatus/checkstatus.asp" } } <|file_sep|>current/src/config.rb CONFIG = { indie: { merchant_id: "1065", url: "https://209.235.214.90/setistatus/checkstatus.asp" } } <|file_sep|>updated/src...
CONFIG = { indie: { merchant_id: "1065", url: "https://www.stoneedge.net/setistatus/checkstatus.asp" } }
<|file_sep|>original/src/config.rb CONFIG = { indie: { merchant_id: "1065", url: "https://209.235.214.90/setistatus/checkstatus.asp" } } <|file_sep|>current/src/config.rb CONFIG = { indie: { merchant_id: "1065", url: "https://209.235.214.90/setistatus/checkstatus.asp" } } <|file_sep|>updated/src...
7aa2f4052a4688adad6d54c65ca8435cd918e04d
src/config.rb
src/config.rb
Ruby
<|file_sep|>img/gen_files.sh.diff original: echo "A$a" >"${GEN_FILE_PATH}"/"$a".aaa updated: echo "${a}.aaa " >"${GEN_FILE_PATH}"/"$a".aaa <|file_sep|>original/img/gen_files.sh BRANCH_FACTOR=5 else BRANCH_FACTOR=$1 fi if [ -z "$GEN_FILE_PATH" ]; then GEN_FILE_PATH=/mnt/FSTEST fi sudo chmod -R 777 "${GEN_FILE_PAT...
BRANCH_FACTOR=5 else BRANCH_FACTOR=$1 fi if [ -z "$GEN_FILE_PATH" ]; then GEN_FILE_PATH=/mnt/FSTEST fi sudo chmod -R 777 "${GEN_FILE_PATH}" for a in `seq ${BRANCH_FACTOR}`; do echo "${a}.aaa " >"${GEN_FILE_PATH}"/"$a".aaa done for b in `seq ${BRANCH_FACTOR}`; do mkdir -p "${GEN_FILE_PATH}"/"$b"d for a in `seq...
<|file_sep|>img/gen_files.sh.diff original: echo "A$a" >"${GEN_FILE_PATH}"/"$a".aaa updated: echo "${a}.aaa " >"${GEN_FILE_PATH}"/"$a".aaa <|file_sep|>original/img/gen_files.sh BRANCH_FACTOR=5 else BRANCH_FACTOR=$1 fi if [ -z "$GEN_FILE_PATH" ]; then GEN_FILE_PATH=/mnt/FSTEST fi sudo chmod -R 777 "${GEN_FILE_PAT...
6940b4fbbbab8960c9a70c4f07de9afd7fe9a8c8
img/gen_files.sh
img/gen_files.sh
Shell
<|file_sep|>original/securedrop/source_app/forms.py from flask_babel import gettext from flask_wtf import FlaskForm from wtforms import PasswordField from wtforms.validators import InputRequired, Regexp, Length from db import Source class LoginForm(FlaskForm): codename = PasswordField('codename', validators=[ ...
from flask_babel import gettext from flask_wtf import FlaskForm from wtforms import PasswordField from wtforms.validators import InputRequired, Regexp, Length from db import Source class LoginForm(FlaskForm): codename = PasswordField('codename', validators=[ InputRequired(message=gettext('This field is r...
<|file_sep|>original/securedrop/source_app/forms.py from flask_babel import gettext from flask_wtf import FlaskForm from wtforms import PasswordField from wtforms.validators import InputRequired, Regexp, Length from db import Source class LoginForm(FlaskForm): codename = PasswordField('codename', validators=[ ...
a97c6ebda62762501fdf5f18326c8c518d73635f
securedrop/source_app/forms.py
securedrop/source_app/forms.py
Python
<|file_sep|>packages/cr/crdt-event-fold.yaml.diff original: hash: e90ae9252a2c15a575b3c55e96e2147e0097e5fe8df07337021f2719fc969c09 updated: hash: 2039a9b386f23ff85bd74327082bf062930b5ac6bab8bab397689dac7fef1899 <|file_sep|>packages/cr/crdt-event-fold.yaml.diff original: updated: mtl: '>=2.2.2 && <2.3' transformers...
base: '>=4.13 && <4.14' data-default-class: '>=0.1.2.0 && <0.2' containers: '>=0.6.2.1 && <0.7' binary: '>=0.8.7.0 && <0.9' mtl: '>=2.2.2 && <2.3' transformers: '>=0.5.6.2 && <0.6' all-versions: - 1.0.0.1 - 1.0.0.2 - 1.1.0.0 - 1.2.0.0 - 1.2.1.1 author: Rick Owens latest: 1.2.1.1 description-type: markdown d...
<|file_sep|>packages/cr/crdt-event-fold.yaml.diff original: hash: e90ae9252a2c15a575b3c55e96e2147e0097e5fe8df07337021f2719fc969c09 updated: hash: 2039a9b386f23ff85bd74327082bf062930b5ac6bab8bab397689dac7fef1899 <|file_sep|>packages/cr/crdt-event-fold.yaml.diff original: updated: mtl: '>=2.2.2 && <2.3' transformers...
83ec1d39eedec01e64ae48836c33d819b648852c
packages/cr/crdt-event-fold.yaml
packages/cr/crdt-event-fold.yaml
YAML
<|file_sep|>original/config/initializers/session_store.rb # Be sure to restart your server when you modify this file. Cyclescape::Application.config.session_store :cookie_store, key: '_cyclekit_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly conf...
# Be sure to restart your server when you modify this file. Cyclescape::Application.config.session_store :cookie_store, key: '_cyclekit_session', domain: :all # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session t...
<|file_sep|>original/config/initializers/session_store.rb # Be sure to restart your server when you modify this file. Cyclescape::Application.config.session_store :cookie_store, key: '_cyclekit_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly conf...
0e1277defcd1c2c98e43ed17feab92757113fdf5
config/initializers/session_store.rb
config/initializers/session_store.rb
Ruby
<|file_sep|>src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java.diff original: public Livro buscar(@PathVariable Long id) { updated: public Livro buscar(@PathVariable("id") Long id) { <|file_sep|>src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java.diff original: public void ...
public void salvar(@RequestBody Livro livro) { livrosRepository.save(livro); } @RequestMapping(value = "/{id}", method = RequestMethod.GET) public Livro buscar(@PathVariable("id") Long id) { return livrosRepository.findOne(id); } @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) public void d...
<|file_sep|>src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java.diff original: public Livro buscar(@PathVariable Long id) { updated: public Livro buscar(@PathVariable("id") Long id) { <|file_sep|>src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java.diff original: public void ...
01d006eea80da9ad18fb57b9db013eb603738230
src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java
src/main/java/com/fabiohideki/socialbooks/resources/LivrosResources.java
Java
<|file_sep|>original/spec/features/registering_as_a_user_feature_spec.rb <|file_sep|>current/spec/features/registering_as_a_user_feature_spec.rb <|file_sep|>updated/spec/features/registering_as_a_user_feature_spec.rb
require 'rails_helper' describe "the sign up process", :type => :feature do scenario 'signing up with valid credentials' do visit '/users/new' within('form') do fill_in 'Name', with: "Tommy" fill_in 'Email', with: "tj@monticello.com" fill_in 'Password', with: "123abc123" fill_in 'Passwo...
<|file_sep|>original/spec/features/registering_as_a_user_feature_spec.rb <|file_sep|>current/spec/features/registering_as_a_user_feature_spec.rb <|file_sep|>updated/spec/features/registering_as_a_user_feature_spec.rb require 'rails_helper' describe "the sign up process", :type => :feature do scenario 'signing up w...
89a9fe81321925e28ca1b66c12b965c4957cbe62
spec/features/registering_as_a_user_feature_spec.rb
spec/features/registering_as_a_user_feature_spec.rb
Ruby
<|file_sep|>original/app/views/layout.erb normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/stylesheets/normalize.css"> <!-- application.c...
normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/stylesheets/normalize.css"> <!-- application.css is where you put your styles --> <l...
<|file_sep|>original/app/views/layout.erb normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/stylesheets/normalize.css"> <!-- application.c...
3e4b9256837d0bd7217d46999e1aa4f4faa30c2a
app/views/layout.erb
app/views/layout.erb
HTML+ERB
<|file_sep|>original/.forestry/settings.yml auto_deploy: false admin_path: webhook_url: '' sections: - type: directory path: content/post label: Articles create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors read_only: true upload_dir: '' public_path: '' f...
auto_deploy: false admin_path: webhook_url: '' sections: - type: directory path: content/post label: Articles create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors read_only: false upload_dir: '' public_path: '' front_matter_path: '' use_front_matter_path:...
<|file_sep|>original/.forestry/settings.yml auto_deploy: false admin_path: webhook_url: '' sections: - type: directory path: content/post label: Articles create: all match: "**/*" templates: - post - type: document path: data/authors.yml label: Authors read_only: true upload_dir: '' public_path: '' f...
1f53d6da19b05c40529043d5531f16b209c4cc79
.forestry/settings.yml
.forestry/settings.yml
YAML
<|file_sep|>original/repo-configs/0.8/preview.json [ { "dir": "components", "org": "Polymer", "branch": "0.8-preview", "repos": [ "polymer", "core-ajax", "core-collapse", "core-icon", "core-icons", "core-iconset", "core-iconset-svg", "core-media-query", ...
[ { "dir": "components", "org": "Polymer", "branch": "0.8-preview", "repos": [ "polymer", "core-ajax", "core-collapse", "core-drawer-panel", "core-icon", "core-icons", "core-iconset", "core-iconset-svg", "core-media-query", "core-meta", ...
<|file_sep|>original/repo-configs/0.8/preview.json [ { "dir": "components", "org": "Polymer", "branch": "0.8-preview", "repos": [ "polymer", "core-ajax", "core-collapse", "core-icon", "core-icons", "core-iconset", "core-iconset-svg", "core-media-query", ...
f7d2ed11ce4f5a802d533ad1878bba7672ad5bee
repo-configs/0.8/preview.json
repo-configs/0.8/preview.json
JSON
<|file_sep|>package.json.diff original: "fh-js-sdk": "^2.17.1" }, "devDependencies": { updated: "fh-js-sdk": "^2.17.1", <|file_sep|>original/package.json }, "devDependencies": { "browserify": "^13.0.1", "browserify-shim": "^3.8.12", "grunt": "^0.4.4", "grunt-browserify": "^5.0.0", "g...
"grunt": "^0.4.4", "grunt-browserify": "^5.0.0", "grunt-cli": "^1.2.0", "grunt-contrib-clean": "~0.5.0", "grunt-newer": "~0.5.4", "grunt-rev": "~0.1.0", "load-grunt-tasks": "~0.2.0", "time-grunt": "~0.2.1", "grunt-contrib-connect": "^0.7.1", "grunt-contrib-watch": "^0.6.1" }, ...
<|file_sep|>package.json.diff original: "fh-js-sdk": "^2.17.1" }, "devDependencies": { updated: "fh-js-sdk": "^2.17.1", <|file_sep|>original/package.json }, "devDependencies": { "browserify": "^13.0.1", "browserify-shim": "^3.8.12", "grunt": "^0.4.4", "grunt-browserify": "^5.0.0", "g...
9f2be6b55354a1077ee853b3350a9795c1ce430c
package.json
package.json
JSON
<|file_sep|>preconditions.py.diff original: updated: import inspect <|file_sep|>original/preconditions.py class PreconditionError (TypeError): pass def preconditions(*precs): def decorate(f): def g(*a, **kw): return f(*a, **kw) return g return decorate <|file_sep|>current/pr...
import inspect class PreconditionError (TypeError): pass def preconditions(*precs): precinfo = [] for p in precs: spec = inspect.getargspec(p) if spec.varargs or spec.keywords: raise PreconditionError( 'Precondition {!r} must not accept * nor ** args.'.format...
<|file_sep|>preconditions.py.diff original: updated: import inspect <|file_sep|>original/preconditions.py class PreconditionError (TypeError): pass def preconditions(*precs): def decorate(f): def g(*a, **kw): return f(*a, **kw) return g return decorate <|file_sep|>current/pr...
38b4af0b3c1c6105d68ff453d86107758ef9d751
preconditions.py
preconditions.py
Python
<|file_sep|>original/app/views/root/_four_hundred_error.html.erb <h2>Search GOV.UK</h2> <form class="search-box" action="/search" method="get" role="search"> <p> <label for="main_autocomplete2" class="visuallyhidden">Try searching</label> <input type="text" id="main_...
<h2>Search GOV.UK</h2> <form class="search-box" action="/search" method="get" role="search"> <p> <label for="main_autocomplete2" class="visuallyhidden">Try searching</label> <input type="text" id="main_autocomplete2" value="" placeholder="Enter search text"> ...
<|file_sep|>original/app/views/root/_four_hundred_error.html.erb <h2>Search GOV.UK</h2> <form class="search-box" action="/search" method="get" role="search"> <p> <label for="main_autocomplete2" class="visuallyhidden">Try searching</label> <input type="text" id="main_...
515065e6c087e2ec299048e266c4ac1f98b3fb3a
app/views/root/_four_hundred_error.html.erb
app/views/root/_four_hundred_error.html.erb
HTML+ERB
<|file_sep|>original/groovy/pbuilder-jobs.groovy description ''' <p>Maintenance job that updates all chroot instances for pbuilder</p> <p>The job is created by the DSL plugin from <i>pbuilder-jobs.groovy</i> script.</p> '''; label 'packager'; logRotator(365, 100, 10, 10); parameters { stringParam("Distribut...
description ''' <p>Maintenance job that updates all chroot instances for pbuilder</p> <p>The job is created by the DSL plugin from <i>pbuilder-jobs.groovy</i> script.</p> '''; label 'packager'; logRotator(365, 100, 10, 10); parameters { stringParam("Distributions", "precise saucy trusty utopic wheezy jessie...
<|file_sep|>original/groovy/pbuilder-jobs.groovy description ''' <p>Maintenance job that updates all chroot instances for pbuilder</p> <p>The job is created by the DSL plugin from <i>pbuilder-jobs.groovy</i> script.</p> '''; label 'packager'; logRotator(365, 100, 10, 10); parameters { stringParam("Distribut...
22af0e6dde0b306098bc1813611ba1c3f3c18274
groovy/pbuilder-jobs.groovy
groovy/pbuilder-jobs.groovy
Groovy
<|file_sep|>original/packages/bu/buffer-pipe.yaml <|file_sep|>current/packages/bu/buffer-pipe.yaml <|file_sep|>updated/packages/bu/buffer-pipe.yaml
homepage: '' changelog-type: '' hash: 2b682ac7b16c79b794585bbece8e57dae304c82b2c5f6f508b682c4ec404df5d test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning-thielemann.de> synopsis: Read from stdin and write to stdout in large blocks changelog: '' basic-deps: base: ! '>=4 && <5' all-versions: - '0.0' au...
<|file_sep|>original/packages/bu/buffer-pipe.yaml <|file_sep|>current/packages/bu/buffer-pipe.yaml <|file_sep|>updated/packages/bu/buffer-pipe.yaml homepage: '' changelog-type: '' hash: 2b682ac7b16c79b794585bbece8e57dae304c82b2c5f6f508b682c4ec404df5d test-bench-deps: {} maintainer: Henning Thielemann <haskell@henning...
81e3e8c044b5a7cb270c6b60a4c678b5322082a1
packages/bu/buffer-pipe.yaml
packages/bu/buffer-pipe.yaml
YAML
<|file_sep|>original/_posts/2018-10-06-2_reasons_to_use_es_aliases.md <|file_sep|>current/_posts/2018-10-06-2_reasons_to_use_es_aliases.md <|file_sep|>updated/_posts/2018-10-06-2_reasons_to_use_es_aliases.md
--- title: 2 reasons to use ElasticSearch aliases key: 20181006 tags: elasticsearch --- ElasticSearch has a very handy feature to use different names to point to indices, [aliases](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html). Why should I care? `Aliases` can simplify and f...
<|file_sep|>original/_posts/2018-10-06-2_reasons_to_use_es_aliases.md <|file_sep|>current/_posts/2018-10-06-2_reasons_to_use_es_aliases.md <|file_sep|>updated/_posts/2018-10-06-2_reasons_to_use_es_aliases.md --- title: 2 reasons to use ElasticSearch aliases key: 20181006 tags: elasticsearch --- ElasticSearch has a v...
617e19cfbcb684f0a138cad4f0dc6c61df987f1a
_posts/2018-10-06-2_reasons_to_use_es_aliases.md
_posts/2018-10-06-2_reasons_to_use_es_aliases.md
Markdown
<|file_sep|>.travis.yml.diff original: - "5.3" - "5.4" updated: <|file_sep|>original/.travis.yml language: php php: - "5.3" - "5.4" - "5.5" - "5.6" install: - composer install script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coveralls -v <|file_se...
language: php php: - "5.5" - "5.6" - "7.0" install: - composer install script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coveralls -v
<|file_sep|>.travis.yml.diff original: - "5.3" - "5.4" updated: <|file_sep|>original/.travis.yml language: php php: - "5.3" - "5.4" - "5.5" - "5.6" install: - composer install script: - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - php vendor/bin/coveralls -v <|file_se...
bd6ed60e3eb39a785835ec040781cb4d9b7e84d5
.travis.yml
.travis.yml
YAML
<|file_sep|>original/app/assets/javascripts/angular/common/models/review-model.js angular .module('secondLead') .factory('ReviewModel',['Restangular', 'store', function(Restangular, store) { var currentUser = store.get('user'); return { getAll: function(dramaID){ return Restangular.o...
.factory('ReviewModel',['Restangular', 'store', function(Restangular, store) { var currentUser = store.get('user'); return { getAll: function(dramaID){ return Restangular.one('dramas', dramaID).getList('reviews').$object }, getOne: function(dramaID, reviewID) { ...
<|file_sep|>original/app/assets/javascripts/angular/common/models/review-model.js angular .module('secondLead') .factory('ReviewModel',['Restangular', 'store', function(Restangular, store) { var currentUser = store.get('user'); return { getAll: function(dramaID){ return Restangular.o...
a169d2ecdb6e7d4457eadfc15f33129847c370ec
app/assets/javascripts/angular/common/models/review-model.js
app/assets/javascripts/angular/common/models/review-model.js
JavaScript
<|file_sep|>original/src/server/index.js import React from 'react'; import {loadViaNode} from './http-get.js'; import Page from '../components/page.js'; import GithubSearchResult from '../github-search-result.js'; import {GITHUB_URL} from '../config.js'; function _renderOnServer(err, githubJson) { if (err) { con...
import React from 'react'; import {loadViaNode} from './http-get.js'; import Page from '../components/page.js'; import GithubSearchResult from '../github-search-result.js'; import {GITHUB_URL} from '../config.js'; function _renderOnServer(err, githubJson) { if (err) { console.log(err); } else { const preRe...
<|file_sep|>original/src/server/index.js import React from 'react'; import {loadViaNode} from './http-get.js'; import Page from '../components/page.js'; import GithubSearchResult from '../github-search-result.js'; import {GITHUB_URL} from '../config.js'; function _renderOnServer(err, githubJson) { if (err) { con...
3389e4c9d9a0ca587913b5f90542a1249f00df6c
src/server/index.js
src/server/index.js
JavaScript
<|file_sep|>original/test.tf <|file_sep|>current/test.tf <|file_sep|>updated/test.tf
variable "scaleway_auth_token" {} variable "scaleway_organization" {} provider "scaleway" { token = "${var.scaleway_auth_token}" organization = "${var.scaleway_organization}" } resource "scaleway_ip" "nginx_ip" {} resource "scaleway_volume" "storage" { size = "50GB" } resource "scaleway_server" "hex" { name...
<|file_sep|>original/test.tf <|file_sep|>current/test.tf <|file_sep|>updated/test.tf variable "scaleway_auth_token" {} variable "scaleway_organization" {} provider "scaleway" { token = "${var.scaleway_auth_token}" organization = "${var.scaleway_organization}" } resource "scaleway_ip" "nginx_ip" {} resource "sc...
f95662baef13e35936167110a42c0c94b3a528ef
test.tf
test.tf
HCL
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.11" crossScalaVersions := Seq("2.11.11") version := "0.3.30" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++...
import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.11" crossScalaVersions := Seq("2.11.11") version := "0.3.31" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++= Seq( ws, filters,...
<|file_sep|>original/build.sbt import play.PlayImport.PlayKeys._ name := "lib-play" organization := "io.flow" scalaVersion in ThisBuild := "2.11.11" crossScalaVersions := Seq("2.11.11") version := "0.3.30" lazy val root = project .in(file(".")) .enablePlugins(PlayScala) .settings( libraryDependencies ++...
80190d973d770cb80e160a624cf4ab96c710b878
build.sbt
build.sbt
Scala
<|file_sep|>original/lib/css/content.css -webkit-transition-timing-function: linear, linear; transition-timing-function: linear, linear; -webkit-overflow-scrolling: touch; } .action-bar + .tab-fixed + .content { top: 96px; } .tab-fixed + .content, .action-bar ~ .content { top: 48px; } .inset { pa...
-webkit-transition-timing-function: linear, linear; transition-timing-function: linear, linear; -webkit-overflow-scrolling: touch; } .action-bar + .tab-fixed + .content { top: 96px; } .tab-fixed + .content, .action-bar ~ .content { top: 48px; } .inset { padding: 16px; } .scroll { overflow: aut...
<|file_sep|>original/lib/css/content.css -webkit-transition-timing-function: linear, linear; transition-timing-function: linear, linear; -webkit-overflow-scrolling: touch; } .action-bar + .tab-fixed + .content { top: 96px; } .tab-fixed + .content, .action-bar ~ .content { top: 48px; } .inset { pa...
84933b1abc5e6e595f797be55100a5a7c2c7f3d5
lib/css/content.css
lib/css/content.css
CSS
<|file_sep|>original/spec/unit/rom/session/state_spec.rb <|file_sep|>current/spec/unit/rom/session/state_spec.rb <|file_sep|>updated/spec/unit/rom/session/state_spec.rb
require 'spec_helper' describe Session::State do fake(:object) fake(:mapper) fake(:relation) describe '#transient?' do context 'with transient state' do subject { Session::State::Transient.new(object) } it { should be_transient } end context 'with a non-transient state' do subj...
<|file_sep|>original/spec/unit/rom/session/state_spec.rb <|file_sep|>current/spec/unit/rom/session/state_spec.rb <|file_sep|>updated/spec/unit/rom/session/state_spec.rb require 'spec_helper' describe Session::State do fake(:object) fake(:mapper) fake(:relation) describe '#transient?' do context 'with tr...
4b1d1db82f7e8165af18f6c0a1354669efca2923
spec/unit/rom/session/state_spec.rb
spec/unit/rom/session/state_spec.rb
Ruby
<|file_sep|>packages/bo/box-tuples.yaml.diff original: hash: fa9eb400503f565f957bdb44304601fd38b84e51865f4e5e02cfa125a175c515 updated: hash: 4d2038d32bc5b7614a6956001aef109d3104fd1a0531c94f625ef0e55efa5f79 <|file_sep|>packages/bo/box-tuples.yaml.diff original: updated: - 0.2.0.2 <|file_sep|>original/packages/bo/box-tu...
basic-deps: base: ==4.* ghc-prim: -any all-versions: - 0.1.0.0 - 0.1.1.0 - 0.2.0.0 - 0.2.0.1 - 0.2.0.2 author: mniip latest: 0.2.0.2 description-type: haddock description: |- As of now, the GHCi interactive runtime is incapable of working on unboxed tuples. In particular, it is unable to fully apply any functio...
<|file_sep|>packages/bo/box-tuples.yaml.diff original: hash: fa9eb400503f565f957bdb44304601fd38b84e51865f4e5e02cfa125a175c515 updated: hash: 4d2038d32bc5b7614a6956001aef109d3104fd1a0531c94f625ef0e55efa5f79 <|file_sep|>packages/bo/box-tuples.yaml.diff original: updated: - 0.2.0.2 <|file_sep|>original/packages/bo/box-tu...
46030c8c50fe53fe1f9ad2068f35b016d82537f4
packages/bo/box-tuples.yaml
packages/bo/box-tuples.yaml
YAML
<|file_sep|>.travis.yml.diff original: - DJANGO=Django==1.4.16 - DJANGO=Django==1.5.11 - DJANGO=Django==1.6.8 - DJANGO=Django==1.7.1 updated: - DJANGO=Django==1.4.21 - DJANGO=Django==1.7.9 - DJANGO=Django==1.8.3 <|file_sep|>.travis.yml.diff original: - env: DJANGO=Django==1.4.12 updated: - env: DJ...
matrix: allow_failures: # Allow failures for Python 3.3 - python: "3.3" exclude: # Django 1.4 and 1.5 do not fully support Python 3.3 - env: DJANGO=Django==1.4.21 python: "3.3" # 1.7 and 1.8 don't support Python 2.6 anymore - env: DJANGO=Django==1.7.9 python: "2.6" - env: DJ...
<|file_sep|>.travis.yml.diff original: - DJANGO=Django==1.4.16 - DJANGO=Django==1.5.11 - DJANGO=Django==1.6.8 - DJANGO=Django==1.7.1 updated: - DJANGO=Django==1.4.21 - DJANGO=Django==1.7.9 - DJANGO=Django==1.8.3 <|file_sep|>.travis.yml.diff original: - env: DJANGO=Django==1.4.12 updated: - env: DJ...
c67c2de150fb252e25fc416340b503ec9673bd2a
.travis.yml
.travis.yml
YAML
<|file_sep|>original/features/functions/create_data.rb { title_number: title_number, borrowers: [new_borrower1] } end def create_deed_hash_no_mid(title_number = generate_title_number, new_borrower1 = generate_new_borrower_no_middle) { title_number: title_number, borrow...
{ forename: 'James', surname: 'Bond' } end def generate_new_borrower_with_middle { forename: 'James', middle_name: 'Hello', surname: 'Bond' } end def create_deed_hash(title_number = generate_title_number, new_borrower1 = generate_new_borrower_no_middle) { title_n...
<|file_sep|>original/features/functions/create_data.rb { title_number: title_number, borrowers: [new_borrower1] } end def create_deed_hash_no_mid(title_number = generate_title_number, new_borrower1 = generate_new_borrower_no_middle) { title_number: title_number, borrow...
5c2d3e53c932536fd9cbfbdaa64ba9873c952f19
features/functions/create_data.rb
features/functions/create_data.rb
Ruby
<|file_sep|>original/bin/requirements.txt google-api-core==2.2.2 google-api-python-client==2.31.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.2 protobuf==3.19.1 pyasn1==0.4.8 pyas...
google-api-core==2.2.2 google-api-python-client==2.31.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.3 protobuf==3.19.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 pyparsing==2.4.7 python-...
<|file_sep|>original/bin/requirements.txt google-api-core==2.2.2 google-api-python-client==2.31.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 google-auth-oauthlib==0.4.6 googleapis-common-protos==1.53.0 httplib2==0.20.2 idna==3.3 oauth2client==4.1.3 oauthlib==3.1.1 packaging==21.2 protobuf==3.19.1 pyasn1==0.4.8 pyas...
266a6610a07392ef875f907dc3f5baca24ad48e4
bin/requirements.txt
bin/requirements.txt
Text
<|file_sep|>original/fish/functions/fish_prompt.fish set_color normal end if not git diff --quiet --cached set_color yellow echo -n "✔︎" set_color normal end begin set -l IFS "" if test -n ""(git ls-files --others --excl...
set_color normal end if not git diff --quiet --cached set_color yellow echo -n "✔︎" set_color normal end begin set -l IFS "" if test -n ""(git ls-files --others --exclude-standard)"" set_color green ...
<|file_sep|>original/fish/functions/fish_prompt.fish set_color normal end if not git diff --quiet --cached set_color yellow echo -n "✔︎" set_color normal end begin set -l IFS "" if test -n ""(git ls-files --others --excl...
524c0538f06c02f1c392501b556c4439e2d146f2
fish/functions/fish_prompt.fish
fish/functions/fish_prompt.fish
fish
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml
language: objective-c before_script: - brew update && brew upgrade xctool script: - xctool test -project Aardvark.xcodeproj -scheme Aardvark -sdk iphonesimulator
<|file_sep|>original/.travis.yml <|file_sep|>current/.travis.yml <|file_sep|>updated/.travis.yml language: objective-c before_script: - brew update && brew upgrade xctool script: - xctool test -project Aardvark.xcodeproj -scheme Aardvark -sdk iphonesimulator
07ac65560c29264d8b70a3045e2afb1d6221d115
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/components/AppTile.jsx import { translate } from 'cozy-ui/react/I18n' import AppIcon from 'cozy-ui/react/AppIcon' import AppLinker from 'cozy-ui/react/AppLinker' export class AppTile extends Component { render() { const { app, t } = this.props const { domain, secure } = this.context...
import { translate } from 'cozy-ui/react/I18n' import AppIcon from 'cozy-ui/react/AppIcon' import AppLinker from 'cozy-ui/react/AppLinker' export class AppTile extends Component { render() { const { app, t } = this.props const { domain, secure } = this.context const displayName = app.name_prefix &...
<|file_sep|>original/src/components/AppTile.jsx import { translate } from 'cozy-ui/react/I18n' import AppIcon from 'cozy-ui/react/AppIcon' import AppLinker from 'cozy-ui/react/AppLinker' export class AppTile extends Component { render() { const { app, t } = this.props const { domain, secure } = this.context...
805f8be27bc341758b523b41ab7bf5fe523a4290
src/components/AppTile.jsx
src/components/AppTile.jsx
JSX
<|file_sep|>original/app/views/manage/_spaces_list.html.haml -# locals: -# spaces (array of Space) #filter-total.resource-filter-total .resource-filter-with-text = t('.filter_count_with_text', :count => "<span class=\"resource-filter-count\">#{spaces.count}</span>".html_safe, :value => "<span class=\"resource-f...
-# locals: -# spaces (array of Space) #filter-total.resource-filter-total .resource-filter-with-text = t('.filter_count_with_text', :count => "<span class=\"resource-filter-count\">#{spaces.count}</span>".html_safe, :value => "<span class=\"resource-filter-value\"></span>".html_safe).html_safe .resource-filte...
<|file_sep|>original/app/views/manage/_spaces_list.html.haml -# locals: -# spaces (array of Space) #filter-total.resource-filter-total .resource-filter-with-text = t('.filter_count_with_text', :count => "<span class=\"resource-filter-count\">#{spaces.count}</span>".html_safe, :value => "<span class=\"resource-f...
d078c07898a3a46b9a5d427bdc9ecf1d00ab5778
app/views/manage/_spaces_list.html.haml
app/views/manage/_spaces_list.html.haml
Haml
<|file_sep|>original/tests/examples/TemplateHaskell.hs {-# ANN module $([| 1 :: Int |]) #-} foo = [t| HT.HashTable $(varT s) Int (Result $(varT str) $tt) |] objc_emit objc_import [""] $(do return $ foreignDecl cName ("build" ++ a) ([[t| Ptr Builder |]] ++ ats ++ [[t| CString |]]) [t| Ptr $(r...
(Result $(varT str) $tt) |] objc_emit objc_import [""] $(do return $ foreignDecl cName ("build" ++ a) ([[t| Ptr Builder |]] ++ ats ++ [[t| CString |]]) [t| Ptr $(rt) |] ) foo = do let elemSize = [|sizeOf (undefined :: $(elemType))|] alignment _ = alignment (undefined :: $(elemType))...
<|file_sep|>original/tests/examples/TemplateHaskell.hs {-# ANN module $([| 1 :: Int |]) #-} foo = [t| HT.HashTable $(varT s) Int (Result $(varT str) $tt) |] objc_emit objc_import [""] $(do return $ foreignDecl cName ("build" ++ a) ([[t| Ptr Builder |]] ++ ats ++ [[t| CString |]]) [t| Ptr $(r...
004210e31f069c043dd4fabd7021100ec7ea8a2c
tests/examples/TemplateHaskell.hs
tests/examples/TemplateHaskell.hs
Haskell
<|file_sep|>metadata/manifest.yml.diff original: Version: '7.4.0' updated: Version: '7.5.0' <|file_sep|>original/metadata/manifest.yml Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '7.4.0' License: Node.js License License-Url: https://raw.githubuse...
Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '7.5.0' License: Node.js License License-Url: https://raw.githubusercontent.com/nodejs/node/master/LICENSE Vendor: www.nodejs.org Website: http://www.nodejs.org/ Display-Name: Node.js Auto-Updating Cart...
<|file_sep|>metadata/manifest.yml.diff original: Version: '7.4.0' updated: Version: '7.5.0' <|file_sep|>original/metadata/manifest.yml Name: nodejs Description: Custom Node.js cartridge auto-updating to the latest stable version on each build. Version: '7.4.0' License: Node.js License License-Url: https://raw.githubuse...
cb04d739f6a7269e70918076a78354d3a54eff2c
metadata/manifest.yml
metadata/manifest.yml
YAML
<|file_sep|>original/spec/views/assets/_support_facility_fta.html.haml_spec.rb require 'rails_helper' describe "assets/_support_facility_fta.html.haml", :type => :view do it 'fta info' do test_asset = create(:administration_building, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_ty...
require 'rails_helper' describe "assets/_support_facility_fta.html.haml", :type => :view do it 'fta info' do test_asset = create(:administration_building, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_type_id => FtaFacilityType.first.id, :facility_capacity_type_id => 1, :primary_ft...
<|file_sep|>original/spec/views/assets/_support_facility_fta.html.haml_spec.rb require 'rails_helper' describe "assets/_support_facility_fta.html.haml", :type => :view do it 'fta info' do test_asset = create(:administration_building, :fta_funding_type_id => 1, :pcnt_capital_responsibility =>22, :fta_facility_ty...
ba0fb3ba23bcd067bb0a7c0bcdd085aa45f864af
spec/views/assets/_support_facility_fta.html.haml_spec.rb
spec/views/assets/_support_facility_fta.html.haml_spec.rb
Ruby
<|file_sep|>original/package.json "license": "MIT", "engines": { "atom": ">=1.0.0 <2.0.0" }, "dependencies": { "fs-plus": "2.x", "scandal": "3.1.x", "underscore-plus": "1.x" }, "devDependencies": { "standard": "^10.0.3" }, "standard": { "globals": [ "atom" ] }, "scr...
"engines": { "atom": ">=1.0.0 <2.0.0" }, "dependencies": { "fs-plus": "2.x", "scandal": "3.1.x", "underscore-plus": "1.x" }, "devDependencies": { "standard": "^10.0.3" }, "standard": { "globals": [ "atom" ] }, "scripts": { "lint": "standard --verbose", "test":...
<|file_sep|>original/package.json "license": "MIT", "engines": { "atom": ">=1.0.0 <2.0.0" }, "dependencies": { "fs-plus": "2.x", "scandal": "3.1.x", "underscore-plus": "1.x" }, "devDependencies": { "standard": "^10.0.3" }, "standard": { "globals": [ "atom" ] }, "scr...
2ebab50f069a5e0f87b0ac27e1408cef2341310b
package.json
package.json
JSON
<|file_sep|>lib/arel/session.rb.diff original: update updated: <|file_sep|>original/lib/arel/session.rb insert end def read(select) (@read ||= Hash.new do |hash, select| hash[select] = select.call end)[select] end def update(update) update.cal...
insert.call insert end def read(select) (@read ||= Hash.new do |hash, select| hash[select] = select.call end)[select] end def update(update) update.call end def delete(delete) delete.call end end include CRUD ...
<|file_sep|>lib/arel/session.rb.diff original: update updated: <|file_sep|>original/lib/arel/session.rb insert end def read(select) (@read ||= Hash.new do |hash, select| hash[select] = select.call end)[select] end def update(update) update.cal...
324f265c1de98212f59f42c287d441b85b2350b7
lib/arel/session.rb
lib/arel/session.rb
Ruby
<|file_sep|>Lib/dialogKit/__init__.py.diff original: updated: haveFL = False haveVanilla = False <|file_sep|>Lib/dialogKit/__init__.py.diff original: haveFL = False try: import vanilla haveVanilla = True except ImportError: haveVanilla = False updated: pass if not haveFL: try: import va...
try: import FL haveFL = True except ImportError: pass if not haveFL: try: import vanilla haveVanilla = True except ImportError: pass # perform the environment specific import if haveFL: from _dkFL import * elif haveVanilla: from _dkVanilla import * else: raise Imp...
<|file_sep|>Lib/dialogKit/__init__.py.diff original: updated: haveFL = False haveVanilla = False <|file_sep|>Lib/dialogKit/__init__.py.diff original: haveFL = False try: import vanilla haveVanilla = True except ImportError: haveVanilla = False updated: pass if not haveFL: try: import va...
845192bb91a2421c54a9bbb924e1e09e700aee66
Lib/dialogKit/__init__.py
Lib/dialogKit/__init__.py
Python
<|file_sep|>original/test/index.test.js const assert = require('assert'); const configMergeLoader = require('../index.js'); describe('Config Merge Loader', function() { it('should return a function', function() { assert.equal(typeof configMergeLoader, 'function'); }); }); <|file_sep|>current/test/index.test.js...
const assert = require('assert'); const configMergeLoader = require('../index.js'); describe('Config Merge Loader', function() { it('should return a function', function() { assert.equal(typeof configMergeLoader, 'function'); }); describe('when called', function() { const loaderInput = 'Loader Content'; ...
<|file_sep|>original/test/index.test.js const assert = require('assert'); const configMergeLoader = require('../index.js'); describe('Config Merge Loader', function() { it('should return a function', function() { assert.equal(typeof configMergeLoader, 'function'); }); }); <|file_sep|>current/test/index.test.js...
2d5d996f44d9ecbabecb7590de5a3de6fde7b318
test/index.test.js
test/index.test.js
JavaScript
<|file_sep|>original/alexandria/static/js/router.js <|file_sep|>current/alexandria/static/js/router.js <|file_sep|>updated/alexandria/static/js/router.js
app.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) { var rp = $routeProvider; rp.when('/', { templateUrl: '/html/home.html', controller: 'HomeCtrl', }); rp.otherwise({ redirectTo: '/' }); $locationProvider.html5Mode({ ...
<|file_sep|>original/alexandria/static/js/router.js <|file_sep|>current/alexandria/static/js/router.js <|file_sep|>updated/alexandria/static/js/router.js app.config(['$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) { var rp = $routeProvider; rp.when('/', { templateUr...
a7c96a1decdb9099d1a166d8cc61d3ab72ecb94a
alexandria/static/js/router.js
alexandria/static/js/router.js
JavaScript
<|file_sep|>original/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt <|file_sep|>current/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt <|file_sep|>updated/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/...
Dear Software Carpentry community, We recently founded a project aimed to generate teaching material about Open Science concepts (not tools!) [1]. The materials are available under a CC0 license to facilitate optimal reusability. Currently, we are participating in the Mozilla Science Lab Global Sprint and used the las...
<|file_sep|>original/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt <|file_sep|>current/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt <|file_sep|>updated/meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/...
0a04e28cbce97c9ecb5fe73860754344c7ff93c7
meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt
meetings/2016-06-02-Mozilla_Science_Lab_Global_Sprint_2016/OpenScience101MailSoftwareCarpentry.txt
Text
<|file_sep|>original/locale/flarum-likes.yml # These strings are used by the Notifications dropdown, a.k.a. "the bell". notifications: post_liked_text: "{username} liked your post" # These strings are displayed beneath individual posts. post: like_link: Like liked_by_text: "{users} l...
# These strings are used by the Notifications dropdown, a.k.a. "the bell". notifications: post_liked_text: "{username} liked your post" # These strings are displayed beneath individual posts. post: like_link: Like liked_by_text: "{users} likes this.|{users} like this." liked_by...
<|file_sep|>original/locale/flarum-likes.yml # These strings are used by the Notifications dropdown, a.k.a. "the bell". notifications: post_liked_text: "{username} liked your post" # These strings are displayed beneath individual posts. post: like_link: Like liked_by_text: "{users} l...
c26c87d1e1ec1e3ee40c9d3ac614466c981fd8d5
locale/flarum-likes.yml
locale/flarum-likes.yml
YAML
<|file_sep|>doc/MacOSX.rst.diff original: updated: This is one way to install phonopy on Mac OS X. This procedure was tested on Yosemite with MacPorts version 2.3.3. In the following case, gcc-4.9 and python-2.7 are used as the default C-compiler and python and using these numpy and scipy are made. <|file_sep|>doc/Ma...
% sudo port install python27 % sudo port select --set python python27 % sudo port install atlas +gcc49 % sudo port install py27-numpy +gcc49 +atlas % sudo port install py27-scipy +gcc49 +atlas % sudo port install py27-matplotlib py27-yaml py27-h5py 3) Install phonopy following :r...
<|file_sep|>doc/MacOSX.rst.diff original: updated: This is one way to install phonopy on Mac OS X. This procedure was tested on Yosemite with MacPorts version 2.3.3. In the following case, gcc-4.9 and python-2.7 are used as the default C-compiler and python and using these numpy and scipy are made. <|file_sep|>doc/Ma...
8b99a2e3badd62e460885bfe77df1b024ff63f7e
doc/MacOSX.rst
doc/MacOSX.rst
reStructuredText
<|file_sep|>original/tsbarapp/assets/style.css .tsbar-left { position:absolute; left:0px; top:0px; } .tsbar-middle { position:absolute; left:50%; margin-left:-100px; top:0px; } .tsbar-right { position:absolute; right:0px; top:0px; } .tsbar-user-icon { width:48px; height...
.tsbar-left { position:absolute; left:0px; top:0px; } .tsbar-middle { position:absolute; left:50%; margin-left:-100px; top:0px; } .tsbar-right { position:absolute; right:0px; top:0px; } .tsbar-user-icon, .tsbar-notification-icon { width:48px; height:48px; }
<|file_sep|>original/tsbarapp/assets/style.css .tsbar-left { position:absolute; left:0px; top:0px; } .tsbar-middle { position:absolute; left:50%; margin-left:-100px; top:0px; } .tsbar-right { position:absolute; right:0px; top:0px; } .tsbar-user-icon { width:48px; height...
a063d341ba3b8a036147d5acd28d99590fbc2315
tsbarapp/assets/style.css
tsbarapp/assets/style.css
CSS
<|file_sep|>src/GitHub.Logging/Logging/ILoggerExtensions.cs.diff original: updated: using System; using System.Globalization; using System.Threading.Tasks; <|file_sep|>original/src/GitHub.Logging/Logging/ILoggerExtensions.cs if (!condition) { messageTemplate = "Assertion Failed:...
public static void Assert(this ILogger logger, bool condition, string messageTemplate, params object[] propertyValues) { if (!condition) { messageTemplate = "Assertion Failed: " + messageTemplate; #pragma warning disable Serilog004 // propertyValues might not be s...
<|file_sep|>src/GitHub.Logging/Logging/ILoggerExtensions.cs.diff original: updated: using System; using System.Globalization; using System.Threading.Tasks; <|file_sep|>original/src/GitHub.Logging/Logging/ILoggerExtensions.cs if (!condition) { messageTemplate = "Assertion Failed:...
066ec81e2acb2f88811e87fa3122bd7d9263007f
src/GitHub.Logging/Logging/ILoggerExtensions.cs
src/GitHub.Logging/Logging/ILoggerExtensions.cs
C#
<|file_sep|>original/script/take-snapshot.js // Try to prevent animations from running, to reduce variation in // snapshots. page.evaluate(function() { // CSS Transitions var css = document.createElement('style'); css.type = 'text/css'; document.head.appendChild(css); var sh...
// Try to prevent animations from running, to reduce variation in // snapshots. page.evaluate(function() { // CSS Transitions var css = document.createElement('style'); css.type = 'text/css'; document.head.appendChild(css); var sheet = css.sheet; sheet.addRule('*', '-w...
<|file_sep|>original/script/take-snapshot.js // Try to prevent animations from running, to reduce variation in // snapshots. page.evaluate(function() { // CSS Transitions var css = document.createElement('style'); css.type = 'text/css'; document.head.appendChild(css); var sh...
32834b4a999bb7bd2f91b01413012ae520cf1402
script/take-snapshot.js
script/take-snapshot.js
JavaScript
<|file_sep|>original/app/routes/dashboard/group-manager/index.js import Ember from 'ember'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Ember.Route.extend(AuthenticatedRouteMixin, { currentUser: Ember.inject.service('current-user'), model: function() { ...
import Ember from 'ember'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Ember.Route.extend(AuthenticatedRouteMixin, { currentUser: Ember.inject.service('current-user'), model: function() { let user = this.get('currentUser.user.id'); return this.ge...
<|file_sep|>original/app/routes/dashboard/group-manager/index.js import Ember from 'ember'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Ember.Route.extend(AuthenticatedRouteMixin, { currentUser: Ember.inject.service('current-user'), model: function() { ...
99a196c32ec06098aa50feeff90da7c05cb8fa3b
app/routes/dashboard/group-manager/index.js
app/routes/dashboard/group-manager/index.js
JavaScript
<|file_sep|>original/lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb package <%= to_package(repository.keycloak.qualified_gwt_token_service_impl_name) %>; @javax.annotation.Generated( "Domgen" ) public class <%= repository.keycloak.gwt_token_service_impl_name %> implements <%= repository.keycloak.quali...
package <%= to_package(repository.keycloak.qualified_gwt_token_service_impl_name) %>; @javax.annotation.Generated( "Domgen" ) public class <%= repository.keycloak.gwt_token_service_impl_name %> implements <%= repository.keycloak.qualified_gwt_token_service_name %> { @javax.annotation.Nonnull private final org.re...
<|file_sep|>original/lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb package <%= to_package(repository.keycloak.qualified_gwt_token_service_impl_name) %>; @javax.annotation.Generated( "Domgen" ) public class <%= repository.keycloak.gwt_token_service_impl_name %> implements <%= repository.keycloak.quali...
7ef19e8459f5ebf0767dd090a6b4afb122af7ac4
lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb
lib/domgen/keycloak/templates/gwt_token_service_impl.java.erb
HTML+ERB
<|file_sep|>README.md.diff original: Displays Panels of information, each Panel can have 20 tiles all is defined in the pagedata.json file updated: Displays interactive panels of information, each Panel displays a 4x4 grid of tiles with activity and data defined in the pagedata.json file <|file_sep|>original/README.md ...
Displays interactive panels of information, each Panel displays a 4x4 grid of tiles with activity and data defined in the pagedata.json file Each Tile can be one of: ``` label - Simple Text datalabel - Text from a url source (text or JSON) button - on / off functionality image - small icon e.g. for weather ``` ## Ti...
<|file_sep|>README.md.diff original: Displays Panels of information, each Panel can have 20 tiles all is defined in the pagedata.json file updated: Displays interactive panels of information, each Panel displays a 4x4 grid of tiles with activity and data defined in the pagedata.json file <|file_sep|>original/README.md ...
12e573858f420bb25c6d2a02198e93bdd4f966eb
README.md
README.md
Markdown
<|file_sep|>src/Commands/HomesteadCreateCommand.php.diff original: class SeedMakeCommand extends GeneratorCommand updated: use Illuminate\Console\Command; class HomesteadCreateCommand extends Command <|file_sep|>original/src/Commands/HomesteadCreateCommand.php * * @var string */ protected $name = 'ho...
* * @var string */ protected $name = 'homestead:create'; /** * The console command description. * * @var string */ protected $description = 'Copy Homestead Skeleton files to the project root.'; /** * Execute the console command. * * @return mixed *...
<|file_sep|>src/Commands/HomesteadCreateCommand.php.diff original: class SeedMakeCommand extends GeneratorCommand updated: use Illuminate\Console\Command; class HomesteadCreateCommand extends Command <|file_sep|>original/src/Commands/HomesteadCreateCommand.php * * @var string */ protected $name = 'ho...
0c494cf6d29a3cf58f7242d4e3491756b1d5b41f
src/Commands/HomesteadCreateCommand.php
src/Commands/HomesteadCreateCommand.php
PHP
<|file_sep|>lib/fog/hp/requests/compute/list_key_pairs.rb.diff original: updated: puts "Key Pairs Raw: #{key_pairs.inspect} " <|file_sep|>original/lib/fog/hp/requests/compute/list_key_pairs.rb end end class Mock def list_key_pairs response = Excon::Response.new ...
end class Mock def list_key_pairs response = Excon::Response.new key_pairs = [] key_pairs = self.data[:key_pairs].values unless self.data[:key_pairs].nil? puts "Key Pairs Raw: #{key_pairs.inspect} " response.status = [200, 203][rand(1)] ...
<|file_sep|>lib/fog/hp/requests/compute/list_key_pairs.rb.diff original: updated: puts "Key Pairs Raw: #{key_pairs.inspect} " <|file_sep|>original/lib/fog/hp/requests/compute/list_key_pairs.rb end end class Mock def list_key_pairs response = Excon::Response.new ...
3121ef15ab8e30faf564ba27d7f9ea34c12714ef
lib/fog/hp/requests/compute/list_key_pairs.rb
lib/fog/hp/requests/compute/list_key_pairs.rb
Ruby