prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/be_valid_asset.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'be_valid_asset/version' Gem::Specification.new do |gem| gem.name = "be_valid_asset" gem.version = BeValidAsset::VERSION ...
# -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'be_valid_asset/version' Gem::Specification.new do |gem| gem.name = "be_valid_asset" gem.version = BeValidAsset::VERSION gem.authors = ["Alex Tomlins", "Attila...
<|file_sep|>original/be_valid_asset.gemspec # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'be_valid_asset/version' Gem::Specification.new do |gem| gem.name = "be_valid_asset" gem.version = BeValidAsset::VERSION ...
11a5f0f53fd9e618cddc578755929ec373fd04d8
be_valid_asset.gemspec
be_valid_asset.gemspec
Ruby
<|file_sep|>original/.github/workflows/pythonpackage.yml build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python...
build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Cache Python packages uses: actions/cache@v1 with: path: ~/.cache/pip key: ${{ runner.os }}-py${{ matrix...
<|file_sep|>original/.github/workflows/pythonpackage.yml build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python...
e5aff95d661e40a1c36b96531def8de7b2d466ce
.github/workflows/pythonpackage.yml
.github/workflows/pythonpackage.yml
YAML
<|file_sep|>original/deployment-resources/scripts/source_environment.sh <|file_sep|>current/deployment-resources/scripts/source_environment.sh <|file_sep|>updated/deployment-resources/scripts/source_environment.sh
# We don't use the shebang here for auto running as you should always run # this script with `source` or `.` such as `source_environment.sh` or the # environment variables won't carry over to your script DIRECTORY=$(dirname ${BASH_SOURCE[0]}) # Taken from https://stackoverflow.com/a/20909045 export $(grep -v '^#' $DIR...
<|file_sep|>original/deployment-resources/scripts/source_environment.sh <|file_sep|>current/deployment-resources/scripts/source_environment.sh <|file_sep|>updated/deployment-resources/scripts/source_environment.sh # We don't use the shebang here for auto running as you should always run # this script with `source` or...
ec637be6715902e47b94b1fb2c82f87b9dc9a789
deployment-resources/scripts/source_environment.sh
deployment-resources/scripts/source_environment.sh
Shell
<|file_sep|>original/.travis.yml directories: - vendor env: - DEPENDENCIES="" - DEPENDENCIES="--prefer-lowest --prefer-stable" php: - 7.2 - 7.3 - 7.4snapshot install: - composer update --no-interaction --prefer-dist $DEPENDENCIES script: - vendor/bin/phpunit --coverage-clover=coverage.clover -...
directories: - vendor env: - DEPENDENCIES="" - DEPENDENCIES="--prefer-lowest --prefer-stable" php: - 7.2 - 7.3 - 7.4 install: - composer update --no-interaction --prefer-dist $DEPENDENCIES script: - vendor/bin/phpunit --coverage-clover=coverage.clover - vendor/bin/phpstan analyse -l 7 -c phpst...
<|file_sep|>original/.travis.yml directories: - vendor env: - DEPENDENCIES="" - DEPENDENCIES="--prefer-lowest --prefer-stable" php: - 7.2 - 7.3 - 7.4snapshot install: - composer update --no-interaction --prefer-dist $DEPENDENCIES script: - vendor/bin/phpunit --coverage-clover=coverage.clover -...
2ce4428a0e86cbf11724e7cfc2791ac5f2b71642
.travis.yml
.travis.yml
YAML
<|file_sep|>original/.github/workflows/main-openjdk_lts-linux.yml on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 wi...
on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 with: java-version: 17 - name: Build run: mv...
<|file_sep|>original/.github/workflows/main-openjdk_lts-linux.yml on: push: branches: [ develop, feature/*, release/* ] pull_request: branches: [ develop ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: JDK uses: actions/setup-java@v1 wi...
14667b1a3af39ee7e69c57d3aba00e52c4e1d258
.github/workflows/main-openjdk_lts-linux.yml
.github/workflows/main-openjdk_lts-linux.yml
YAML
<|file_sep|>allauth/socialaccount/providers/twitch/views.py.diff original: updated: from allauth.socialaccount.providers.oauth2.client import OAuth2Error <|file_sep|>original/allauth/socialaccount/providers/twitch/views.py from .provider import TwitchProvider class TwitchOAuth2Adapter(OAuth2Adapter): provider_id...
class TwitchOAuth2Adapter(OAuth2Adapter): provider_id = TwitchProvider.id access_token_url = 'https://api.twitch.tv/kraken/oauth2/token' authorize_url = 'https://api.twitch.tv/kraken/oauth2/authorize' profile_url = 'https://api.twitch.tv/kraken/user' def complete_login(self, request, app, token, **...
<|file_sep|>allauth/socialaccount/providers/twitch/views.py.diff original: updated: from allauth.socialaccount.providers.oauth2.client import OAuth2Error <|file_sep|>original/allauth/socialaccount/providers/twitch/views.py from .provider import TwitchProvider class TwitchOAuth2Adapter(OAuth2Adapter): provider_id...
24c1309a9f221ec8be6a3b15dc843769f4157cf1
allauth/socialaccount/providers/twitch/views.py
allauth/socialaccount/providers/twitch/views.py
Python
<|file_sep|>original/index.js require( 'dotenv' ).config(); var dropboxModule = require( './modules/dropbox.js' ); var googleDocsModule = require( './modules/googleDocs.js' ); var paypalModule = require( './modules/paypal.js' ); var express = require( 'express' ); var app = express(); app.set( 'port', ( process.env.Po...
require( 'dotenv' ).config(); var dropboxModule = require( './modules/dropbox.js' ); var googleDocsModule = require( './modules/googleDocs.js' ); var paypalModule = require( './modules/paypal.js' ); var express = require( 'express' ); var app = express(); app.set( 'port', ( process.env.Port || 30000 ) ); app.use( expr...
<|file_sep|>original/index.js require( 'dotenv' ).config(); var dropboxModule = require( './modules/dropbox.js' ); var googleDocsModule = require( './modules/googleDocs.js' ); var paypalModule = require( './modules/paypal.js' ); var express = require( 'express' ); var app = express(); app.set( 'port', ( process.env.Po...
0462da11f3e75a3c49a89557d25f37a3dff8bd2d
index.js
index.js
JavaScript
<|file_sep|>playbooks/tasks/apt_upgrade.yml.diff original: --- updated: <|file_sep|>playbooks/tasks/apt_upgrade.yml.diff original: command: apt-get -c {{ apt_conf }} -f install updated: command: "apt-get -y -c {{ apt_conf }} -f install" environment: DEBIAN_FRONTEND: noninteractive <|file_sep|>original/playb...
- name: APT correct dependencies command: "apt-get -y -c {{ apt_conf }} -f install" environment: DEBIAN_FRONTEND: noninteractive - name: APT upgrade command: "apt-get -y -c {{ apt_conf }} upgrade" environment: DEBIAN_FRONTEND: noninteractive - name: Apply customizations script: files/apply_customizati...
<|file_sep|>playbooks/tasks/apt_upgrade.yml.diff original: --- updated: <|file_sep|>playbooks/tasks/apt_upgrade.yml.diff original: command: apt-get -c {{ apt_conf }} -f install updated: command: "apt-get -y -c {{ apt_conf }} -f install" environment: DEBIAN_FRONTEND: noninteractive <|file_sep|>original/playb...
0d727ddb93cbbac07790069c8e8e1c8b0f8b520a
playbooks/tasks/apt_upgrade.yml
playbooks/tasks/apt_upgrade.yml
YAML
<|file_sep|>src/main/web/florence/templates/workEditT8.handlebars.diff original: updated: <div id="correction"></div> <|file_sep|>original/src/main/web/florence/templates/workEditT8.handlebars <div class="child-page"> <p class="child-page__content">This is a sub-page of <span class="child-page__title"></spa...
<div class="child-page"> <p class="child-page__content">This is a sub-page of <span class="child-page__title"></span></p> </div> <div class="edit-accordion"> <div id="one"></div> <div id="version"></div> <div id="correction"></div> <div id="supplementary-files"></div> </div> <nav cl...
<|file_sep|>src/main/web/florence/templates/workEditT8.handlebars.diff original: updated: <div id="correction"></div> <|file_sep|>original/src/main/web/florence/templates/workEditT8.handlebars <div class="child-page"> <p class="child-page__content">This is a sub-page of <span class="child-page__title"></spa...
0c8be324c4d2fb18acd4840503b126516177de74
src/main/web/florence/templates/workEditT8.handlebars
src/main/web/florence/templates/workEditT8.handlebars
Handlebars
<|file_sep|>original/composer.json { "name": "Sam Minnee", "email": "sam@silverstripe.com" } ], "require": { "silverstripe/framework": "~4.0", "silverstripe/cms": "~4.0", "silverstripe/asset-admin": "~1.0.0" }, "require-dev": { "phpunit/PHPUnit": "~3.7@stable" }, "extra": { "branch-alia...
{ "name": "Sam Minnee", "email": "sam@silverstripe.com" } ], "require": { "silverstripe/framework": "~4.0", "silverstripe/cms": "~4.0", "silverstripe/asset-admin": "~1.0.0" }, "require-dev": { "phpunit/PHPUnit": "~4.8@stable" }, "extra": { "branch-alias": { "dev-master": "2.0.x-dev" ...
<|file_sep|>original/composer.json { "name": "Sam Minnee", "email": "sam@silverstripe.com" } ], "require": { "silverstripe/framework": "~4.0", "silverstripe/cms": "~4.0", "silverstripe/asset-admin": "~1.0.0" }, "require-dev": { "phpunit/PHPUnit": "~3.7@stable" }, "extra": { "branch-alia...
6fb0aab81179cb902233a576e1b66c57c465c62e
composer.json
composer.json
JSON
<|file_sep|>composer.json.diff original: "nesbot/carbon": "~1.20", "nordsoftware/lumen-doctrine": "~2.0@dev", "nordsoftware/lumen-rbac": "~0.3@dev", "nordsoftware/lumen-serializer": "~0.1@dev" updated: "nesbot/carbon": "~1.20" <|file_sep|>original/composer.json "name"...
} ], "minimum-stability": "dev", "require": { "nesbot/carbon": "~1.20" }, "require-dev": { "laravel/lumen-framework": "5.0.*" }, "suggest": { "nordsoftware/lumen-cors": "For CORS support.", "nordsoftware/lumen-doctrine": "For Doctrine support.", ...
<|file_sep|>composer.json.diff original: "nesbot/carbon": "~1.20", "nordsoftware/lumen-doctrine": "~2.0@dev", "nordsoftware/lumen-rbac": "~0.3@dev", "nordsoftware/lumen-serializer": "~0.1@dev" updated: "nesbot/carbon": "~1.20" <|file_sep|>original/composer.json "name"...
6339b1de0a3967563314fbac17b569f775f2e9bf
composer.json
composer.json
JSON
<|file_sep|>original/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.2 cryptography==2.3.1 PyYAML==3.13 six==1.11.0 pytest==3.10.1 <|file_sep|>current/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flak...
pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.2 cryptography==2.4.1 PyYAML==3.13 six==1.11.0 pytest==3.10.1
<|file_sep|>original/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flake8==3.6.0 tox==3.5.3 coverage==4.5.1 Sphinx==1.8.2 cryptography==2.3.1 PyYAML==3.13 six==1.11.0 pytest==3.10.1 <|file_sep|>current/requirements_dev.txt pip==18.1 bumpversion==0.5.3 wheel==0.32.2 watchdog==0.9.0 flak...
2f09e24cc43661c0294d0f661a49b3311fd38573
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>pubspec.yaml.diff original: version: 0.9.0 updated: <|file_sep|>original/pubspec.yaml name: browser version: 0.9.0 authors: ["Dart Team <misc@dartlang.org>"] homepage: http://www.dartlang.org description: > The bootstrap dart.js script for Dart apps running in the browser. environment: sdk: ">=1.0.0 <2....
name: browser authors: ["Dart Team <misc@dartlang.org>"] homepage: http://www.dartlang.org description: > The bootstrap dart.js script for Dart apps running in the browser.
<|file_sep|>pubspec.yaml.diff original: version: 0.9.0 updated: <|file_sep|>original/pubspec.yaml name: browser version: 0.9.0 authors: ["Dart Team <misc@dartlang.org>"] homepage: http://www.dartlang.org description: > The bootstrap dart.js script for Dart apps running in the browser. environment: sdk: ">=1.0.0 <2....
42d35308a3350ade80b5d828ddc647e171c23328
pubspec.yaml
pubspec.yaml
YAML
<|file_sep|>original/presenters/BasePresenter.php { protected function startup() { parent::startup(); $contentSecurityPolicy = $this->getContext()->getByType(\MichalSpacekCz\ContentSecurityPolicy::class); $header = $contentSecurityPolicy->getHeader(); if ($header !== false) { $httpResponse = $this->get...
{ protected function startup() { parent::startup(); $startup = $this->getContext()->getByType(\MichalSpacekCz\Startup::class); $startup->startup(); } protected function createTemplate($class = null) { $helpers = $this->getContext()->getByType(\MichalSpacekCz\Templating\Helpers::class); $template = ...
<|file_sep|>original/presenters/BasePresenter.php { protected function startup() { parent::startup(); $contentSecurityPolicy = $this->getContext()->getByType(\MichalSpacekCz\ContentSecurityPolicy::class); $header = $contentSecurityPolicy->getHeader(); if ($header !== false) { $httpResponse = $this->get...
ba1935743322c1c47dd350eba8071ee9445a0e96
presenters/BasePresenter.php
presenters/BasePresenter.php
PHP
<|file_sep|>site-cookbooks/dna/recipes/dotfiles.rb.diff original: git "Download wilr/dotfiles" do repository "http://github.com/wilr/dotfiles.git" updated: git "Download dnadesign/dotfiles" do repository "http://github.com/dnadesign/dotfiles.git" <|file_sep|>original/site-cookbooks/dna/recipes/dotfiles.rb include_r...
include_recipe "dna::folders" # # Download dotfiles # git "Download dnadesign/dotfiles" do repository "http://github.com/dnadesign/dotfiles.git" destination "#{node['sprout']['home']}/Scripts/dotfiles" action :sync user node['current_user'] not_if { ::File.exists?("#{node['sprout']['home']}/Scripts/dotfiles"...
<|file_sep|>site-cookbooks/dna/recipes/dotfiles.rb.diff original: git "Download wilr/dotfiles" do repository "http://github.com/wilr/dotfiles.git" updated: git "Download dnadesign/dotfiles" do repository "http://github.com/dnadesign/dotfiles.git" <|file_sep|>original/site-cookbooks/dna/recipes/dotfiles.rb include_r...
63b4a1c7b7a3ac4b68429089f1b4f36498b6d2b6
site-cookbooks/dna/recipes/dotfiles.rb
site-cookbooks/dna/recipes/dotfiles.rb
Ruby
<|file_sep|>original/packages/gh/ghc-core-smallstep.yaml <|file_sep|>current/packages/gh/ghc-core-smallstep.yaml <|file_sep|>updated/packages/gh/ghc-core-smallstep.yaml
homepage: '' changelog-type: '' hash: 26a58504bb39214c1750723a26060629a4c12a98caadc3b9b1907b8bbf7bc172 test-bench-deps: ghc: ==8.4.* base: ==4.11.* ghc-paths: ==0.1.* ghc-core-smallstep: -any maintainer: mail@joachim-breitner.de synopsis: A small-step semantics for Core changelog: '' basic-deps: ghc: ==8.4.* ...
<|file_sep|>original/packages/gh/ghc-core-smallstep.yaml <|file_sep|>current/packages/gh/ghc-core-smallstep.yaml <|file_sep|>updated/packages/gh/ghc-core-smallstep.yaml homepage: '' changelog-type: '' hash: 26a58504bb39214c1750723a26060629a4c12a98caadc3b9b1907b8bbf7bc172 test-bench-deps: ghc: ==8.4.* base: ==4.11...
8d8f80ccb8fff7dadfb3cdac9c5336d0f2eae1b5
packages/gh/ghc-core-smallstep.yaml
packages/gh/ghc-core-smallstep.yaml
YAML
<|file_sep|>original/test/components/overview/available_actions.spec.jsx <|file_sep|>current/test/components/overview/available_actions.spec.jsx <|file_sep|>updated/test/components/overview/available_actions.spec.jsx
import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import '../../testHelper'; import AvailableActions from '../../../app/assets/javascripts/components/overview/available_actions.jsx'; describe('AvailableActions', () => { it('Displays no actions for ended course', () => { const TestA...
<|file_sep|>original/test/components/overview/available_actions.spec.jsx <|file_sep|>current/test/components/overview/available_actions.spec.jsx <|file_sep|>updated/test/components/overview/available_actions.spec.jsx import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import '../../testHe...
9df65873b83c11d3aeb8e3f586b0fa1b0d76e1a0
test/components/overview/available_actions.spec.jsx
test/components/overview/available_actions.spec.jsx
JSX
<|file_sep|>original/tests/unit/cloud/clouds/openstack_test.py <|file_sep|>current/tests/unit/cloud/clouds/openstack_test.py <|file_sep|>updated/tests/unit/cloud/clouds/openstack_test.py
# -*- coding: utf-8 -*- ''' :codeauthor: :email:`Bo Maryniuk <bo@suse.de>` ''' # Import Python libs from __future__ import absolute_import # Import Salt Testing Libs from salttesting import TestCase from salt.cloud.clouds import openstack from salttesting.mock import MagicMock, patch from tests.unit.cloud.clouds ...
<|file_sep|>original/tests/unit/cloud/clouds/openstack_test.py <|file_sep|>current/tests/unit/cloud/clouds/openstack_test.py <|file_sep|>updated/tests/unit/cloud/clouds/openstack_test.py # -*- coding: utf-8 -*- ''' :codeauthor: :email:`Bo Maryniuk <bo@suse.de>` ''' # Import Python libs from __future__ import abs...
cd4380577061bd3e10c72926db80a830f3e90100
tests/unit/cloud/clouds/openstack_test.py
tests/unit/cloud/clouds/openstack_test.py
Python
<|file_sep|>tests/test_ghostscript.py.diff original: updated: universal_newlines=True, <|file_sep|>original/tests/test_ghostscript.py import subprocess import unittest class GhostscriptTest(unittest.TestCase): def test_installed(self): process = subprocess.Popen( ['gs', '--versio...
import subprocess import unittest class GhostscriptTest(unittest.TestCase): def test_installed(self): process = subprocess.Popen( ['gs', '--version'], universal_newlines=True, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, )...
<|file_sep|>tests/test_ghostscript.py.diff original: updated: universal_newlines=True, <|file_sep|>original/tests/test_ghostscript.py import subprocess import unittest class GhostscriptTest(unittest.TestCase): def test_installed(self): process = subprocess.Popen( ['gs', '--versio...
e2f9c0c0e8b96e44c5410c242d0609ef36b5ee4e
tests/test_ghostscript.py
tests/test_ghostscript.py
Python
<|file_sep|>original/driver/Main.hs main :: IO () main = getArgs >>= expandResponse >>= haddock -- | Arguments which look like '@foo' will be replaced with the -- contents of file @foo@. The contents will be passed through 'words' -- and blanks filtered out first. -- -- We quit if the file is not found or reading so...
main :: IO () main = getArgs >>= expandResponse >>= haddock -- | Arguments which look like '@foo' will be replaced with the -- contents of file @foo@. The contents will be passed through 'words' -- and blanks filtered out first. -- -- We quit if the file is not found or reading somehow fails. expandResponse :: [Stri...
<|file_sep|>original/driver/Main.hs main :: IO () main = getArgs >>= expandResponse >>= haddock -- | Arguments which look like '@foo' will be replaced with the -- contents of file @foo@. The contents will be passed through 'words' -- and blanks filtered out first. -- -- We quit if the file is not found or reading so...
9affe8f6b3a9b07367c8c14162aecea8b15856a6
driver/Main.hs
driver/Main.hs
Haskell
<|file_sep|>original/.travis.yml env: - TOX_ENV=py26-cryptography - TOX_ENV=py26-pycrypto - TOX_ENV=py27-cryptography - TOX_ENV=py27-pycrypto - TOX_ENV=py33-cryptography - TOX_ENV=py33-pycrypto - TOX_ENV=py34-cryptography - TOX_ENV=py34-pycrypto - TOX_ENV=pypy-cryptography - TOX_ENV=pypy-pycrypto ...
env: - TOX_ENV=py26-cryptography - TOX_ENV=py26-pycrypto - TOX_ENV=py27-cryptography - TOX_ENV=py27-pycrypto - TOX_ENV=py33-cryptography - TOX_ENV=py33-pycrypto - TOX_ENV=py34-cryptography - TOX_ENV=py34-pycrypto - TOX_ENV=py35-cryptography - TOX_ENV=py35-pycrypto - TOX_ENV=pypy-cryptography - ...
<|file_sep|>original/.travis.yml env: - TOX_ENV=py26-cryptography - TOX_ENV=py26-pycrypto - TOX_ENV=py27-cryptography - TOX_ENV=py27-pycrypto - TOX_ENV=py33-cryptography - TOX_ENV=py33-pycrypto - TOX_ENV=py34-cryptography - TOX_ENV=py34-pycrypto - TOX_ENV=pypy-cryptography - TOX_ENV=pypy-pycrypto ...
35ce5fa75817b239e6f9646b1c7c8e23d02635d3
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/ffi/msgpack/types.rb :success, 2, :extra_bytes, 1, :continue, 0, :parse_error, -1 ] callback :msgpack_packer_write, [:pointer, :pointer, :uint], :int enum :msgpack_object_type, [ :nil, 0x01, :boolean, 0x02, :positive_...
:success, 2, :extra_bytes, 1, :continue, 0, :parse_error, -1 ] callback :msgpack_packer_write, [:pointer, :pointer, :uint], :int enum :msgpack_object_type, [ :nil, 0x00, :boolean, 0x01, :positive_integer, 0x02, :negative_integer, 0x03, ...
<|file_sep|>original/lib/ffi/msgpack/types.rb :success, 2, :extra_bytes, 1, :continue, 0, :parse_error, -1 ] callback :msgpack_packer_write, [:pointer, :pointer, :uint], :int enum :msgpack_object_type, [ :nil, 0x01, :boolean, 0x02, :positive_...
0db87aface47b5a78579b44ec24de0ba818b1401
lib/ffi/msgpack/types.rb
lib/ffi/msgpack/types.rb
Ruby
<|file_sep|>original/osu.Game/Scoring/ScoreRank.cs // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D, ...
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"D")] D, [Description(@"C")] C, [Descripti...
<|file_sep|>original/osu.Game/Scoring/ScoreRank.cs // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D, ...
17b2a4ca0de3c486ab239da7e278fcbb9a7d8cd9
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.cs
C#
<|file_sep|>original/README.md JSNES ===== A JavaScript NES emulator. Build ----- To run locally: $ docker-compose up And it'll be available at http://localhost To build a distribution: $ docker-compose run build grunt This will create ``jsnes.js`` and ``jsnes-min.js`` in ``build/``. Benchmark <|file_s...
JSNES ===== A JavaScript NES emulator. **Note:** Current future work is happening is this branch: https://github.com/bfirsh/jsnes/tree/split-out-ui Build ----- To run locally: $ docker-compose up And it'll be available at http://localhost To build a distribution: $ docker-compose run build grunt This w...
<|file_sep|>original/README.md JSNES ===== A JavaScript NES emulator. Build ----- To run locally: $ docker-compose up And it'll be available at http://localhost To build a distribution: $ docker-compose run build grunt This will create ``jsnes.js`` and ``jsnes-min.js`` in ``build/``. Benchmark <|file_s...
d5a541f08e21808da6a018d84d2a3509d4927d40
README.md
README.md
Markdown
<|file_sep|>original/client/src/styles/Sources.css .sources-display { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue...
.sources-form { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue; text-align: left; border: 1px solid black; mar...
<|file_sep|>original/client/src/styles/Sources.css .sources-display { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue...
59fb44632a0a0fe9a4f3598c16b1723f2ea65b73
client/src/styles/Sources.css
client/src/styles/Sources.css
CSS
<|file_sep|>original/config.js "colorize": true } ], "keyGenerator": { "type": "phonetic" }, "storage": { "type": "redis", "host": "0.0.0.0", "port": 6379, "db": 2, "expire": 2592000 }, "documents": { "about": "./about.md" } } <|file_sep|>current/config.js "...
{ "level": "verbose", "type": "Console", "colorize": true } ], "keyGenerator": { "type": "phonetic" }, "storage": { "type": "file", "path": "./data" }, "documents": { "about": "./about.md" } }
<|file_sep|>original/config.js "colorize": true } ], "keyGenerator": { "type": "phonetic" }, "storage": { "type": "redis", "host": "0.0.0.0", "port": 6379, "db": 2, "expire": 2592000 }, "documents": { "about": "./about.md" } } <|file_sep|>current/config.js "...
ba663708d39b961f38a81b55aabe8014f81e3f51
config.js
config.js
JavaScript
<|file_sep|>pkgs/applications/networking/irc/xchat/default.nix.diff original: name = "xchat-2.8.4"; updated: name = "xchat-2.8.8"; <|file_sep|>original/pkgs/applications/networking/irc/xchat/default.nix {stdenv, fetchurl, pkgconfig, tcl, gtk}: stdenv.mkDerivation { name = "xchat-2.8.4"; src = fetchurl { ur...
{stdenv, fetchurl, pkgconfig, tcl, gtk}: stdenv.mkDerivation { name = "xchat-2.8.8"; src = fetchurl { url = http://www.xchat.org/files/source/2.8/xchat-2.8.8.tar.bz2; sha256 = "0d6d69437b5e1e45f3e66270fe369344943de8a1190e498fafa5296315a27db0"; }; buildInputs = [pkgconfig tcl gtk]; configureFlags = "-...
<|file_sep|>pkgs/applications/networking/irc/xchat/default.nix.diff original: name = "xchat-2.8.4"; updated: name = "xchat-2.8.8"; <|file_sep|>original/pkgs/applications/networking/irc/xchat/default.nix {stdenv, fetchurl, pkgconfig, tcl, gtk}: stdenv.mkDerivation { name = "xchat-2.8.4"; src = fetchurl { ur...
9cea0dd1c69a149f8e0353d0b90a5bfe3f95c6ba
pkgs/applications/networking/irc/xchat/default.nix
pkgs/applications/networking/irc/xchat/default.nix
Nix
<|file_sep|>original/_layouts/default.html {%- include projects.html -%} {%- endif -%} {%- if site.data.experience.size > 0 -%} {%- include experience.html -%} {%- endif -%} {%- if site.data.education.size > 0 -%} {%- include education.html -%} {%- endif -%} ...
{%- endif -%} {%- if site.data.experience.size > 0 -%} {%- include experience.html -%} {%- endif -%} {%- if site.data.education.size > 0 -%} {%- include education.html -%} {%- endif -%} {%- if site.more_content -%} {%- include more.html -%} {%- endif ...
<|file_sep|>original/_layouts/default.html {%- include projects.html -%} {%- endif -%} {%- if site.data.experience.size > 0 -%} {%- include experience.html -%} {%- endif -%} {%- if site.data.education.size > 0 -%} {%- include education.html -%} {%- endif -%} ...
632cb1c2444d5b13235ce03f3db97545513cbe0f
_layouts/default.html
_layouts/default.html
HTML
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' <|file_sep|>updated/.travis.yml
language: node_js node_js: - '0.12' branches: except: - gh-pages
<|file_sep|>.travis.yml.diff original: updated: <|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' <|file_sep|>current/.travis.yml language: node_js node_js: - '0.12' <|file_sep|>updated/.travis.yml language: node_js node_js: - '0.12' branches: except: - gh-pages
4dec496bedcb1a54d92894da3f68fe6b71d31789
.travis.yml
.travis.yml
YAML
<|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo updir updated: echo "Save current dir" currentDir=`pwd` echo "up dir" <|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo remove sdk folder updated: echo "remove sdk folder" <|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo clone...
echo "up dir" cd .. echo "remove sdk folder" rm -rf matrix-android-sdk echo "clone the matrix-android-sdk repository, and checkout develop branch" git clone -b develop https://github.com/matrix-org/matrix-android-sdk cd matrix-android-sdk echo "Build matrix sdk from source" ./gradlew clean assembleRelease cd ${cur...
<|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo updir updated: echo "Save current dir" currentDir=`pwd` echo "up dir" <|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo remove sdk folder updated: echo "remove sdk folder" <|file_sep|>build_matrix_sdk_lib_develop.sh.diff original: echo clone...
91712f57a2153046bb5f6f423fc19c15cf0c2b7a
build_matrix_sdk_lib_develop.sh
build_matrix_sdk_lib_develop.sh
Shell
<|file_sep|>original/jsonschema/__init__.py ErrorTree, FormatError, RefResolutionError, SchemaError, ValidationError ) from jsonschema._format import ( FormatChecker, draft3_format_checker, draft4_format_checker, draft6_format_checker, draft7_format_checker, ) from jsonschema._types import TypeC...
from jsonschema._format import ( FormatChecker, draft3_format_checker, draft4_format_checker, draft6_format_checker, draft7_format_checker, ) from jsonschema._types import TypeChecker from jsonschema.validators import ( Draft3Validator, Draft4Validator, Draft6Validator, Draft7Validat...
<|file_sep|>original/jsonschema/__init__.py ErrorTree, FormatError, RefResolutionError, SchemaError, ValidationError ) from jsonschema._format import ( FormatChecker, draft3_format_checker, draft4_format_checker, draft6_format_checker, draft7_format_checker, ) from jsonschema._types import TypeC...
fe772c380c48eb14fc47bbd0a0c95888b9ea700a
jsonschema/__init__.py
jsonschema/__init__.py
Python
<|file_sep|>original/trunk/research/st/huge-threads.cpp <|file_sep|>current/trunk/research/st/huge-threads.cpp <|file_sep|>updated/trunk/research/st/huge-threads.cpp
/* g++ huge-threads.cpp ../../objs/st/libst.a -g -O0 -DLINUX -o huge-threads && ./huge-threads 32756 */ #include <stdio.h> #include <stdlib.h> #include "../../objs/st/st.h" void* pfn(void* arg) { char v[32*1024]; // 32KB in stack. for (;;) { v[0] = v[sizeof(v) - 1] = 0xf; st_usleep(1000 * 1000)...
<|file_sep|>original/trunk/research/st/huge-threads.cpp <|file_sep|>current/trunk/research/st/huge-threads.cpp <|file_sep|>updated/trunk/research/st/huge-threads.cpp /* g++ huge-threads.cpp ../../objs/st/libst.a -g -O0 -DLINUX -o huge-threads && ./huge-threads 32756 */ #include <stdio.h> #include <stdlib.h> #include ...
e830ca7d0c0eef25e53517ed0f6c623a0fc63c8d
trunk/research/st/huge-threads.cpp
trunk/research/st/huge-threads.cpp
C++
<|file_sep|>source/lighting_demo/vertex_shader.hlsl.diff original: cbuffer MatrixBuffer { matrix worldMatrix; matrix viewMatrix; matrix projectionMatrix; updated: cbuffer cbPerFrame : register(b0) { float4x4 gViewProjMatrix; float4x4 gProjMatrix; <|file_sep|>source/lighting_demo/vertex_shader.hlsl.d...
cbuffer cbPerFrame : register(b0) { float4x4 gViewProjMatrix; float4x4 gProjMatrix; }; cbuffer cbPerObject : register(b1) { float4x4 gWorldViewProjMatrix; float4x4 gWorldViewMatrix; }; PixelIn VS(VertexIn input) { PixelIn output; output.positionClip = mul(float4(input.position, 1.0f), gWorldViewProj...
<|file_sep|>source/lighting_demo/vertex_shader.hlsl.diff original: cbuffer MatrixBuffer { matrix worldMatrix; matrix viewMatrix; matrix projectionMatrix; updated: cbuffer cbPerFrame : register(b0) { float4x4 gViewProjMatrix; float4x4 gProjMatrix; <|file_sep|>source/lighting_demo/vertex_shader.hlsl.d...
b3c6d13fb426590ff321275f1e019c8b47def51b
source/lighting_demo/vertex_shader.hlsl
source/lighting_demo/vertex_shader.hlsl
HLSL
<|file_sep|>original/fixtures/with_argon2/index.php hI<?php print('password hash of "hello-world": ' . password_hash('hello-world!', PASSWORD_ARGON2I)); ?> <|file_sep|>current/fixtures/with_argon2/index.php hI<?php print('password hash of "hello-world": ' . password_hash('hello-world!', PASSWORD_ARGON2I)); ?> <|f...
hI<?php $options = [ 'memory_cost' => 1024, 'time_cost' => 2 ]; print('password hash of "hello-world": ' . password_hash('hello-world!', PASSWORD_ARGON2I, $options)); ?>
<|file_sep|>original/fixtures/with_argon2/index.php hI<?php print('password hash of "hello-world": ' . password_hash('hello-world!', PASSWORD_ARGON2I)); ?> <|file_sep|>current/fixtures/with_argon2/index.php hI<?php print('password hash of "hello-world": ' . password_hash('hello-world!', PASSWORD_ARGON2I)); ?> <|f...
68dae28686b2251685f47c8749355d81d1876288
fixtures/with_argon2/index.php
fixtures/with_argon2/index.php
PHP
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.3 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.53 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.13.5 attrs==17.2.0 <|file_sep|>current/...
pydplace==0.4 Django==1.11.3 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.3 python-nexus==1.53 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.13.5 attrs==17.2.0
<|file_sep|>original/requirements.txt pydplace==0.4 Django==1.11.3 django-appconf==1.0.2 django-bootstrap3==9.0.0 django-filter==1.0.4 djangorestframework==3.6.3 ete3==3.0.0b35 psycopg2==2.7.1 python-nexus==1.53 six==1.10.0 coverage==4.4.1 flake8==3.3.0 newick==0.8.0 clldutils==1.13.5 attrs==17.2.0 <|file_sep|>current/...
b1981ac9815fe831df21b932fcc4a74b0e695d67
requirements.txt
requirements.txt
Text
<|file_sep|>CHANGELOG.txt.diff original: - resources names changes: updated: - API resources names changes: project → project/project <|file_sep|>original/CHANGELOG.txt * updated `dataserver/*settings.py*` to reflect installation needs, with some more new comments for new...
+ ucomments : REST API over django-comments (@freddylimpens) * updated apps : + scout (@glibersat) : - add a new `Place` model (from http://schema.org/Place), that contains the previously defined `PostalAddress`. + projects (@atiberghien, @glibersat) : - m...
<|file_sep|>CHANGELOG.txt.diff original: - resources names changes: updated: - API resources names changes: project → project/project <|file_sep|>original/CHANGELOG.txt * updated `dataserver/*settings.py*` to reflect installation needs, with some more new comments for new...
a957ed87e0131f144a7079e1a733e89043d7dd47
CHANGELOG.txt
CHANGELOG.txt
Text
<|file_sep|>original/app/workers/background_migration_worker.rb 'queue' => sidekiq_options['queue'], 'args' => jobs) end # Schedules multiple jobs in bulk, with a delay. # def self.perform_bulk_in(delay, jobs) now = Time.now.to_i schedule = no...
'queue' => sidekiq_options['queue'], 'args' => jobs) end # Schedules multiple jobs in bulk, with a delay. # def self.perform_bulk_in(delay, jobs) now = Time.now.to_i schedule = now + delay.to_i raise ArgumentError, 'Delay time invalid!' i...
<|file_sep|>original/app/workers/background_migration_worker.rb 'queue' => sidekiq_options['queue'], 'args' => jobs) end # Schedules multiple jobs in bulk, with a delay. # def self.perform_bulk_in(delay, jobs) now = Time.now.to_i schedule = no...
939473076a5ce357e978ffa24db9ef3981424342
app/workers/background_migration_worker.rb
app/workers/background_migration_worker.rb
Ruby
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>DATA Act Broker</title> <link rel="stylesheet" href="dev/css/main.css"> </head> <body> <div id="app"></div> <script type="text/javascript" src="dev/app.js"></script> <script type="...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta http-equiv="X-Frame-Options" content="SAMEORIGIN" /> <title>DATA Act Broker</title> <link rel="stylesheet" href="dev/css/main.css"> </head> <body> <div id="app"></div> <script type="text/javascript" src="dev/app.js"></script> <script type="te...
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>DATA Act Broker</title> <link rel="stylesheet" href="dev/css/main.css"> </head> <body> <div id="app"></div> <script type="text/javascript" src="dev/app.js"></script> <script type="...
959f6d5d37e5a640ffa5d0830a2a41d56c38c620
index.html
index.html
HTML
<|file_sep|>original/Source/UnrealEnginePython/Public/UnrealEnginePython.h void RunString(char *); void RunFile(char *); void RunFileSandboxed(char *); private: void *ue_python_gil; // used by console void *main_dict; void *local_dict; }; struct FScopePythonGIL { FScopePythonGIL() { #if defined(UEPY_THREADI...
void RunString(char *); void RunFile(char *); void RunFileSandboxed(char *); private: void *ue_python_gil; // used by console void *main_dict; void *local_dict; void *main_module; }; struct FScopePythonGIL { FScopePythonGIL() { #if defined(UEPY_THREADING) UnrealEnginePythonModule = FModuleManager::LoadMo...
<|file_sep|>original/Source/UnrealEnginePython/Public/UnrealEnginePython.h void RunString(char *); void RunFile(char *); void RunFileSandboxed(char *); private: void *ue_python_gil; // used by console void *main_dict; void *local_dict; }; struct FScopePythonGIL { FScopePythonGIL() { #if defined(UEPY_THREADI...
cc954580aab4e44ec294c878306060778fb29af1
Source/UnrealEnginePython/Public/UnrealEnginePython.h
Source/UnrealEnginePython/Public/UnrealEnginePython.h
C
<|file_sep|>original/package.json "coffee-script": "" , "underscore": "" , "underscore.string": "" , "uglify-js": "" , "async": "" , "csso": "" } , "devDependencies": { "jasmine-node": "" , "zombie": "" , "express": "" , "supervis...
"coffee-script": "" , "underscore": "" , "underscore.string": "" , "uglify-js": "" , "async": "" , "csso": "" } , "devDependencies": { "jasmine-node": "" , "zombie": "" , "express": "2.x.x" , "supervisor": "" , "jade": "" ...
<|file_sep|>original/package.json "coffee-script": "" , "underscore": "" , "underscore.string": "" , "uglify-js": "" , "async": "" , "csso": "" } , "devDependencies": { "jasmine-node": "" , "zombie": "" , "express": "" , "supervis...
bb7ff4c43a4d225e0381ce951269fac5f4e51501
package.json
package.json
JSON
<|file_sep|>original/week-2/wireframe-reflection.md <|file_sep|>current/week-2/wireframe-reflection.md <|file_sep|>updated/week-2/wireframe-reflection.md
# Wireframe Reflections #H3 What is a wireframe? A wireframe is a quick mockup of a web/mobile layout at low fidelity. It's done to get a visual sense of the what and where of content. #H3 What are the benefits of wireframing? It doesn't take a long time to do - meaning that several iterations can be done and compa...
<|file_sep|>original/week-2/wireframe-reflection.md <|file_sep|>current/week-2/wireframe-reflection.md <|file_sep|>updated/week-2/wireframe-reflection.md # Wireframe Reflections #H3 What is a wireframe? A wireframe is a quick mockup of a web/mobile layout at low fidelity. It's done to get a visual sense of the what...
569cc8d1a32e4bf123c216232427c85e98673647
week-2/wireframe-reflection.md
week-2/wireframe-reflection.md
Markdown
<|file_sep|>geocoder_test.go.diff original: "fmt" updated: <|file_sep|>geocoder_test.go.diff original: t.Error(fmt.Sprintf("Expected %f, %f ~ Received %f, %f", seattleLat, seattleLng, lat, lng)) updated: t.Errorf("Expected %f, %f ~ Received %f, %f", seattleLat, seattleLng, lat, lng) <|file_sep|>original/geocoder_...
seattleLat = 47.603561 seattleLng = -122.329437 ) func TestGeocode(t *testing.T) { query := "Seattle WA" lat, lng := Geocode(query) if lat != seattleLat || lng != seattleLng { t.Errorf("Expected %f, %f ~ Received %f, %f", seattleLat, seattleLng, lat, lng) } } func TestReverseGeoCode(t *testing.T) { address ...
<|file_sep|>geocoder_test.go.diff original: "fmt" updated: <|file_sep|>geocoder_test.go.diff original: t.Error(fmt.Sprintf("Expected %f, %f ~ Received %f, %f", seattleLat, seattleLng, lat, lng)) updated: t.Errorf("Expected %f, %f ~ Received %f, %f", seattleLat, seattleLng, lat, lng) <|file_sep|>original/geocoder_...
33687eb78acee1009f7a026a59f46781b5360e79
geocoder_test.go
geocoder_test.go
Go
<|file_sep|>original/package.json "url": "https://github.com/hendryl/Famous-Places-API/issues" }, "homepage": "https://github.com/hendryl/Famous-Places-API#readme", "dependencies": { "body-parser": "^1.14.0", "expect.js": "^0.3.1", "express": "^4.13.3", "mocha": "^2.3.3", "pg": "^4.4.3", ...
}, "homepage": "https://github.com/hendryl/Famous-Places-API#readme", "dependencies": { "body-parser": "^1.14.0", "expect.js": "^0.3.1", "express": "^4.13.3", "mocha": "^2.3.3", "pg": "^4.4.3", "socket.io": "^1.3.7" }, "devDependencies": { "gulp": "^3.9.0", "gulp-jshint": "^1.1...
<|file_sep|>original/package.json "url": "https://github.com/hendryl/Famous-Places-API/issues" }, "homepage": "https://github.com/hendryl/Famous-Places-API#readme", "dependencies": { "body-parser": "^1.14.0", "expect.js": "^0.3.1", "express": "^4.13.3", "mocha": "^2.3.3", "pg": "^4.4.3", ...
31f1260196d634dc8d7abd62fd94822270e2bd65
package.json
package.json
JSON
<|file_sep|>doc/README.txt.diff original: 1. Requirements: sudo apt-get install \ python-dev \ python-setuptools \ python-mysqldb \ python-networkx \ python-nose \ python-lxml \ sloccount \ muscle; sudo easy_install poster; # For Life Science Grid Portal sudo easy_install coverage; sudo easy_ins...
sudo apt-get install postgresql-client # plotting requirements sudo apt-get install python-gnuplot python-rpy; # Python packages sudo apt-get install python-biopython # For sequence wrangling sudo apt-get install python-lxml # For download from MRS sudo apt-get install python-mysqldb # For OrthoMCL sudo apt-get ins...
<|file_sep|>doc/README.txt.diff original: 1. Requirements: sudo apt-get install \ python-dev \ python-setuptools \ python-mysqldb \ python-networkx \ python-nose \ python-lxml \ sloccount \ muscle; sudo easy_install poster; # For Life Science Grid Portal sudo easy_install coverage; sudo easy_ins...
b1c61e1d183076928663bd49320e172bbc326ba6
doc/README.txt
doc/README.txt
Text
<|file_sep|>layouts/partials/base/imports.html.diff original: updated: {{ $baseurl := .Site.BaseURL }} <|file_sep|>original/layouts/partials/base/imports.html {{ "<!--[if lt IE 9]>" | safeHTML }} <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/r...
{{ $baseurl := .Site.BaseURL }} {{ "<!--[if lt IE 9]>" | safeHTML }} <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> {{ "<![endif]-->" | safeHTML }} <link href='https://fonts.googleapis.com/css?family=M...
<|file_sep|>layouts/partials/base/imports.html.diff original: updated: {{ $baseurl := .Site.BaseURL }} <|file_sep|>original/layouts/partials/base/imports.html {{ "<!--[if lt IE 9]>" | safeHTML }} <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/r...
a1bcbea357d366cf9129a3017464c150e9abeb26
layouts/partials/base/imports.html
layouts/partials/base/imports.html
HTML
<|file_sep|>application/layout/app-header.js.diff original: updated: var applicationStore = require('focus').application.builtInStore(); module.exports = React.createClass({ <|file_sep|>application/layout/app-header.js.diff original: module.exports = React.createClass({ updated: <|file_sep|>application/layout/app-hea...
}, _getStateFromStore: function getCartridgeStateFromStore(){ var processMode = applicationStore.getMode(); var mode = 'consult'; if(processMode && processMode.edit && processMode.edit > 0){ mode = 'edit'; } return {mode: mode}; }, render: function renderApplicationHeader() { retur...
<|file_sep|>application/layout/app-header.js.diff original: updated: var applicationStore = require('focus').application.builtInStore(); module.exports = React.createClass({ <|file_sep|>application/layout/app-header.js.diff original: module.exports = React.createClass({ updated: <|file_sep|>application/layout/app-hea...
03027aadd274791ffd6a335bfad564c77e102fb4
application/layout/app-header.js
application/layout/app-header.js
JavaScript
<|file_sep|>original/rpcd/playbooks/roles/horizon_extensions/templates/_50_rackspace.py DASHBOARD = 'rackspace' ADD_INSTALLED_APPS = [ 'rackspace', ] # If set to True, this dashboard will not be added to the settings. DISABLED = False <|file_sep|>current/rpcd/playbooks/roles/horizon_extensions/templates/_50_racks...
DASHBOARD = 'rackspace' ADD_INSTALLED_APPS = [ 'rackspace', ] ADD_ANGULAR_MODULES = ['horizon.dashboard.rackspace'] # If set to True, this dashboard will not be added to the settings. DISABLED = False
<|file_sep|>original/rpcd/playbooks/roles/horizon_extensions/templates/_50_rackspace.py DASHBOARD = 'rackspace' ADD_INSTALLED_APPS = [ 'rackspace', ] # If set to True, this dashboard will not be added to the settings. DISABLED = False <|file_sep|>current/rpcd/playbooks/roles/horizon_extensions/templates/_50_racks...
b535dcc490f56a54b92443172ad0b5828bc5a540
rpcd/playbooks/roles/horizon_extensions/templates/_50_rackspace.py
rpcd/playbooks/roles/horizon_extensions/templates/_50_rackspace.py
Python
<|file_sep|>server/database.coffee.diff original: updated: {_} = require('underscore') <|file_sep|>server/database.coffee.diff original: toJSON: -> { updated: toJSON: -> contents = @get('contents') { <|file_sep|>original/server/database.coffee Bookshelf = require('bookshelf') config = require('../knex_conf...
Bookshelf.PG = PG = Bookshelf.initialize(config) Team = PG.Model.extend tableName: 'teams' hasTimestamps: ['created_at', 'updated_at'] toJSON: -> contents = @get('contents') { id: @id name: @get('name') generation: @get('generation') # Postgres 9.2+ support the JSON datatype. Oth...
<|file_sep|>server/database.coffee.diff original: updated: {_} = require('underscore') <|file_sep|>server/database.coffee.diff original: toJSON: -> { updated: toJSON: -> contents = @get('contents') { <|file_sep|>original/server/database.coffee Bookshelf = require('bookshelf') config = require('../knex_conf...
6e64361bd90499e652f78b01e642e04fc2eaefe3
server/database.coffee
server/database.coffee
CoffeeScript
<|file_sep|>original/test/asan/TestCases/Windows/use_after_return_linkage.cc <|file_sep|>current/test/asan/TestCases/Windows/use_after_return_linkage.cc <|file_sep|>updated/test/asan/TestCases/Windows/use_after_return_linkage.cc
// Make sure LIBCMT doesn't accidentally get added to the list of DEFAULTLIB // directives. REQUIRES: asan-dynamic-runtime // RUN: %clang_cl_asan -LD %s | FileCheck %s // CHECK: Creating library // CHECK-NOT: LIBCMT void foo(int *p) { *p = 42; } __declspec(dllexport) void bar() { int x; foo(&x); }
<|file_sep|>original/test/asan/TestCases/Windows/use_after_return_linkage.cc <|file_sep|>current/test/asan/TestCases/Windows/use_after_return_linkage.cc <|file_sep|>updated/test/asan/TestCases/Windows/use_after_return_linkage.cc // Make sure LIBCMT doesn't accidentally get added to the list of DEFAULTLIB // directive...
710118bf5fcf5d6144b680a766015f7625dbb79f
test/asan/TestCases/Windows/use_after_return_linkage.cc
test/asan/TestCases/Windows/use_after_return_linkage.cc
C++
<|file_sep|>src/amqp_message.ml.diff original: ?content_type ?content_encoding ?headers ?delivery_mode ?priority ?correlation_id ?reply_to ?expiration ?message_id ?timestamp ?amqp_type ?user_id ?app_id ?reserved body : message = updated: ?(content_type:string ...
body : message = let expiration = match expiration with | None -> None | Some n -> Some (string_of_int n) in ({ Content.content_type; content_encoding; headers; delivery_mode; priority; correlation_id; reply_to; expiration; message_id; timestamp; amqp...
<|file_sep|>src/amqp_message.ml.diff original: ?content_type ?content_encoding ?headers ?delivery_mode ?priority ?correlation_id ?reply_to ?expiration ?message_id ?timestamp ?amqp_type ?user_id ?app_id ?reserved body : message = updated: ?(content_type:string ...
b197b0adc79dccc193e2f8b08964f0bbcc311942
src/amqp_message.ml
src/amqp_message.ml
OCaml
<|file_sep|>original/numpy/fft/info.py ifft fft2 ifft2 fftn ifftn Real FFTs refft irefft refft2 irefft2 refftn irefftn Hermite FFTs hfft ihfft """ <|file_sep|>current/numpy/fft/info.py ifft fft2 ifft2 fftn ifftn Real FFTs refft irefft refft2 ir...
ifft fft2 ifft2 fftn ifftn Real FFTs rfft irfft rfft2 irfft2 rfftn irfftn Hermite FFTs hfft ihfft """
<|file_sep|>original/numpy/fft/info.py ifft fft2 ifft2 fftn ifftn Real FFTs refft irefft refft2 irefft2 refftn irefftn Hermite FFTs hfft ihfft """ <|file_sep|>current/numpy/fft/info.py ifft fft2 ifft2 fftn ifftn Real FFTs refft irefft refft2 ir...
f9409c5e14dc38047365b30da7d1ee2f2084fc72
numpy/fft/info.py
numpy/fft/info.py
Python
<|file_sep|>original/test/version_testing/test-lein-versions.sh #!/bin/bash set -e LEIN_VOOM_VERSION=${LEIN_VOOM_VERSION:-0.1.0-20180617_140646-g0ba7ec8} LEIN_TEST_VERSIONS=${LEIN_TEST_VERSIONS:-2.6.1 2.7.1 2.8.1} LEIN_TESTS=${LEIN_TESTS:-$(echo scripts/*)} for ver in $LEIN_TEST_VERSIONS; do # Attempt to copy in...
#!/usr/bin/env bash set -e LEIN_VOOM_VERSION=${LEIN_VOOM_VERSION:-0.1.0-20180617_140646-g0ba7ec8} LEIN_TEST_VERSIONS=${LEIN_TEST_VERSIONS:-2.6.1 2.7.1 2.8.1} LEIN_TESTS=${LEIN_TESTS:-$(echo scripts/*)} for ver in $LEIN_TEST_VERSIONS; do # Attempt to copy in the appropriate pre-fetched or locally built lein-voom ...
<|file_sep|>original/test/version_testing/test-lein-versions.sh #!/bin/bash set -e LEIN_VOOM_VERSION=${LEIN_VOOM_VERSION:-0.1.0-20180617_140646-g0ba7ec8} LEIN_TEST_VERSIONS=${LEIN_TEST_VERSIONS:-2.6.1 2.7.1 2.8.1} LEIN_TESTS=${LEIN_TESTS:-$(echo scripts/*)} for ver in $LEIN_TEST_VERSIONS; do # Attempt to copy in...
f1e7b6314b65275bc264180a8a5c43637379a4d0
test/version_testing/test-lein-versions.sh
test/version_testing/test-lein-versions.sh
Shell
<|file_sep|>original/.wdio/ci.conf.js baseUrl: 'http://localhost:3000', framework: 'mocha', mochaOpts: { ui: 'bdd', }, reporters: [ 'spec' ], waitforTimeout: 10000, connectionRetryTimeout: 90000, connectionRetryCount: 3, services: [ 'browserstack' ], maxInstances: 1, capabilities: [ ...
baseUrl: 'http://localhost:3000', framework: 'mocha', mochaOpts: { ui: 'bdd', }, reporters: [ 'spec' ], waitforTimeout: 30000, connectionRetryTimeout: 90000, connectionRetryCount: 3, services: [ 'browserstack' ], maxInstances: 1, capabilities: [ { browserName: 'chrome',
<|file_sep|>original/.wdio/ci.conf.js baseUrl: 'http://localhost:3000', framework: 'mocha', mochaOpts: { ui: 'bdd', }, reporters: [ 'spec' ], waitforTimeout: 10000, connectionRetryTimeout: 90000, connectionRetryCount: 3, services: [ 'browserstack' ], maxInstances: 1, capabilities: [ ...
82dc2f6053b9f55e380daa43d288128f9788f739
.wdio/ci.conf.js
.wdio/ci.conf.js
JavaScript
<|file_sep|>original/locale/uk/about/releases.md --- layout: about-release-schedule.hbs title: Релізи statuses: maintenance: 'Підтримуваний LTS' active: 'Активний LTS' current: 'Поточний' pending: 'Майбутній' columns: - 'Резіз' - 'Статус' - 'Кодова назва' - 'Початковий реліз' - 'Початок активного LTS'...
--- layout: about-release-schedule.hbs title: Релізи statuses: maintenance: 'Підтримуваний LTS' active: 'Активний LTS' current: 'Поточний' pending: 'Майбутній' columns: - 'Реліз' - 'Статус' - 'Кодова назва' - 'Початковий реліз' - 'Початок активного LTS' - 'Початок підтримуваного LTS' - 'Кінець під...
<|file_sep|>original/locale/uk/about/releases.md --- layout: about-release-schedule.hbs title: Релізи statuses: maintenance: 'Підтримуваний LTS' active: 'Активний LTS' current: 'Поточний' pending: 'Майбутній' columns: - 'Резіз' - 'Статус' - 'Кодова назва' - 'Початковий реліз' - 'Початок активного LTS'...
0f1ab0ef74014de3de874bebafbca445b79847ab
locale/uk/about/releases.md
locale/uk/about/releases.md
Markdown
<|file_sep|>src/client/main.cc.diff original: updated: #include "easylogging++.h" _INITIALIZE_EASYLOGGINGPP <|file_sep|>original/src/client/main.cc #include <QPushButton> #include "src/common/Game.h" int main(int argc, char *argv[]) { std::cout << "Welcome to the client interface of Bomberman :)" << std::endl; ...
#include <QPushButton> #include "src/common/Game.h" #include "easylogging++.h" _INITIALIZE_EASYLOGGINGPP int main(int argc, char *argv[]) { std::cout << "Welcome to the client interface of Bomberman :)" << std::endl; _START_EASYLOGGINGPP(argc, argv); LOG(INFO) << "Started client"; // This part shou...
<|file_sep|>src/client/main.cc.diff original: updated: #include "easylogging++.h" _INITIALIZE_EASYLOGGINGPP <|file_sep|>original/src/client/main.cc #include <QPushButton> #include "src/common/Game.h" int main(int argc, char *argv[]) { std::cout << "Welcome to the client interface of Bomberman :)" << std::endl; ...
f82eb2fa665b7d619c3809daca40bf4b4d037c93
src/client/main.cc
src/client/main.cc
C++
<|file_sep|>DribbbleKit/Sources/Transformer.swift.diff original: guard let url = URL(string: $0) else { updated: guard let url = URL(string: $0.trimmingCharacters(in: .whitespacesAndNewlines)) else { <|file_sep|>original/DribbbleKit/Sources/Transformer.swift } }() static let url: (String...
} }() static let url: (String) throws -> URL = { guard let url = URL(string: $0.trimmingCharacters(in: .whitespacesAndNewlines)) else { throw typeMismatch(expected: URL.self, actual: $0) } return url } private static func typeMismatch(expected: Any.Type, actu...
<|file_sep|>DribbbleKit/Sources/Transformer.swift.diff original: guard let url = URL(string: $0) else { updated: guard let url = URL(string: $0.trimmingCharacters(in: .whitespacesAndNewlines)) else { <|file_sep|>original/DribbbleKit/Sources/Transformer.swift } }() static let url: (String...
aef06da234c9bf80680560d1503a5a1514038781
DribbbleKit/Sources/Transformer.swift
DribbbleKit/Sources/Transformer.swift
Swift
<|file_sep|>original/requirements.txt Django==2.1a1 Babel==2.5.3 Pillow==5.1.0 celery[redis]==4.1.0 dj-database-url==0.5.0 django-redis-sessions==0.6.1 python3-memcached==1.51 feedparser==5.2.1 gunicorn==19.8.1 html2text==2018.1.9 markdown2==2.3.5 oauth2client==4.1.2 psycopg2cffi==2.7.7 python-dateutil==2.7.2 redis==2....
Django==2.1rc1 Babel==2.5.3 Pillow==5.1.0 celery[redis]==4.1.0 dj-database-url==0.5.0 django-redis-sessions==0.6.1 python3-memcached==1.51 feedparser==5.2.1 gunicorn==19.8.1 html2text==2018.1.9 markdown2==2.3.5 oauth2client==4.1.2 psycopg2cffi==2.7.7 python-dateutil==2.7.2 redis==2.10.6 django-celery-results==1.0.1 # d...
<|file_sep|>original/requirements.txt Django==2.1a1 Babel==2.5.3 Pillow==5.1.0 celery[redis]==4.1.0 dj-database-url==0.5.0 django-redis-sessions==0.6.1 python3-memcached==1.51 feedparser==5.2.1 gunicorn==19.8.1 html2text==2018.1.9 markdown2==2.3.5 oauth2client==4.1.2 psycopg2cffi==2.7.7 python-dateutil==2.7.2 redis==2....
97b6b1e6435b5c840ea8bd6fe7a374da20f70ff3
requirements.txt
requirements.txt
Text
<|file_sep|>original/tests/entity/NetworkEntityTypeTests.java package entity; import org.bukkit.entity.EntityType; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import init.InitializePlatform; import protocolsupport.protocol.types.networkentity.NetworkEntityType; public class NetworkEnt...
package entity; import org.bukkit.entity.EntityType; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import init.InitializePlatform; import protocolsupport.protocol.types.networkentity.NetworkEntityType; public class NetworkEntityTypeTests extends InitializePlatform { // @Test // protect...
<|file_sep|>original/tests/entity/NetworkEntityTypeTests.java package entity; import org.bukkit.entity.EntityType; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import init.InitializePlatform; import protocolsupport.protocol.types.networkentity.NetworkEntityType; public class NetworkEnt...
64d1c0f7760c98617d25a18c9d7564948e6161fb
tests/entity/NetworkEntityTypeTests.java
tests/entity/NetworkEntityTypeTests.java
Java
<|file_sep|>original/share/static/opensearch.xml <?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <ShortName>cheat.sh</ShortName> <Description>The only cheat sheet you need. Unified access to the best comm...
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <ShortName>cheat.sh</ShortName> <Description>The only cheat sheet you need. Unified access to the best community driven documentation repositories of the wo...
<|file_sep|>original/share/static/opensearch.xml <?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> <ShortName>cheat.sh</ShortName> <Description>The only cheat sheet you need. Unified access to the best comm...
15e46b25c26653bb7fd2712254115b0e2ed76b63
share/static/opensearch.xml
share/static/opensearch.xml
XML
<|file_sep|>original/numba/tests/issues/test_issue_204.py from numba import autojit, jit @autojit def closure_modulo(a, b): @jit('int32()') def foo(): return a % b return foo() print closure_modulo(100, 48) <|file_sep|>current/numba/tests/issues/test_issue_204.py from numba import autojit, jit @a...
from numba import autojit, jit @autojit def closure_modulo(a, b): @jit('int32()') def foo(): return a % b return foo() def test_closure_modulo(): assert closure_modulo(100, 48) == 4 if __name__ == '__main__': test_closure_modulo()
<|file_sep|>original/numba/tests/issues/test_issue_204.py from numba import autojit, jit @autojit def closure_modulo(a, b): @jit('int32()') def foo(): return a % b return foo() print closure_modulo(100, 48) <|file_sep|>current/numba/tests/issues/test_issue_204.py from numba import autojit, jit @a...
164fe2780554ddca5f66273e11efea37cfaf1368
numba/tests/issues/test_issue_204.py
numba/tests/issues/test_issue_204.py
Python
<|file_sep|>original/app/Models/Share.php <?php class FreshRSS_Share { static public function generateUrl($options, $selected, $link, $title) { $share = $options[$selected['type']]; $matches = array( '~URL~', '~TITLE~', '~LINK~', ); $replaces = array( $selected['url'], self::transformData($tit...
<?php class FreshRSS_Share { static public function generateUrl($options, $selected, $link, $title) { if (!array_key_exists('url', $selected)) { $selected['url'] = ''; } $share = $options[$selected['type']]; $matches = array( '~URL~', '~TITLE~', '~LINK~', ); $replaces = array( $selected['u...
<|file_sep|>original/app/Models/Share.php <?php class FreshRSS_Share { static public function generateUrl($options, $selected, $link, $title) { $share = $options[$selected['type']]; $matches = array( '~URL~', '~TITLE~', '~LINK~', ); $replaces = array( $selected['url'], self::transformData($tit...
80d576dac71bcae14fa7b695f3966b6a7c384a25
app/Models/Share.php
app/Models/Share.php
PHP
<|file_sep|>original/people/2016/spring/thecodeinside.yaml name: Richard A. Selneck avatar: ras7150@rit.edu blog: http://richard.ismakinggames.com/ feed: http://richard.ismakinggames.com/category/hfoss/feed/ email: ras7150@rit.edu major: Game Design and Development 2017 irc: TheCodeInside rit_dce: ras7150 forges: - h...
name: Richard A. Selneck avatar: ras7150@rit.edu blog: http://richard.ismakinggames.com/ feed: http://richard.ismakinggames.com/category/hfoss/feed/ email: ras7150@rit.edu major: Game Design and Development 2017 irc: TheCodeInside rit_dce: ras7150 forges: - https://github.com/TheCodeInside bio: Game player. Music lis...
<|file_sep|>original/people/2016/spring/thecodeinside.yaml name: Richard A. Selneck avatar: ras7150@rit.edu blog: http://richard.ismakinggames.com/ feed: http://richard.ismakinggames.com/category/hfoss/feed/ email: ras7150@rit.edu major: Game Design and Development 2017 irc: TheCodeInside rit_dce: ras7150 forges: - h...
ac26087ff8b978405cedf8a370ee690a0a636ea0
people/2016/spring/thecodeinside.yaml
people/2016/spring/thecodeinside.yaml
YAML
<|file_sep|>Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig.diff original: updated: Ext.require([ 'Ext.direct.Manager', 'Ext.direct.RemotingProvider' ], function() { <|file_sep|>Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig.diff original: Ext.Direct.addProvider({ updated: Ext.dire...
Ext.require([ 'Ext.direct.Manager', 'Ext.direct.RemotingProvider' ], function() { {% for namespace,actions in apis %} Ext.direct.Manager.addProvider({ "url": "{{ url(route, {'bundle': namespace})|raw }}", "type": "remoting", "actions": {{ actions|json_encode|raw }}, "namespace": "{{ namespace }}...
<|file_sep|>Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig.diff original: updated: Ext.require([ 'Ext.direct.Manager', 'Ext.direct.RemotingProvider' ], function() { <|file_sep|>Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig.diff original: Ext.Direct.addProvider({ updated: Ext.dire...
a6731580ae54db3a5d07dd979301657d3b13cfae
Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig
Tpg/ExtjsBundle/Resources/views/ExtjsMarkup/remoteapi.js.twig
Twig
<|file_sep|>spec/runner.html.diff original: <div id="fixtures"> <div id="setelementtop"> </div> </div> updated: <|file_sep|>original/spec/runner.html <title>noflo-css in browser</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> <style type="text/css"> #fixture...
<title>noflo-css in browser</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> <style type="text/css"> #fixtures { display: none; } </style> </head> <body> <div id="mocha"></div> <div id="fixtures"> <div id="setelementtop"> Hello world ...
<|file_sep|>spec/runner.html.diff original: <div id="fixtures"> <div id="setelementtop"> </div> </div> updated: <|file_sep|>original/spec/runner.html <title>noflo-css in browser</title> <link rel="stylesheet" href="../node_modules/mocha/mocha.css"> <style type="text/css"> #fixture...
25f317d4e79f43bb5673b9bb29fbd9d13a935fc1
spec/runner.html
spec/runner.html
HTML
<|file_sep|>original/core/ktx/ftl-tests/run-tests.sh #!/bin/sh # Run tests on test lab gcloud firebase test android run \ --type instrumentation \ --app ftl-tests/dummy.apk \ --test build/outputs/apk/androidTest/debug/kotlin-extensions-debug-androidTest.apk \ --device model=Nexus6P,version=27,locale=en...
#!/bin/sh # Run tests on test lab gcloud firebase test android run \ --type instrumentation \ --app ftl-tests/dummy.apk \ --test build/outputs/apk/androidTest/debug/kotlin-extensions-debug-androidTest.apk \ --device model=Nexus6P,version=27,locale=en_US,orientation=portrait \ --timeout 30m \ --...
<|file_sep|>original/core/ktx/ftl-tests/run-tests.sh #!/bin/sh # Run tests on test lab gcloud firebase test android run \ --type instrumentation \ --app ftl-tests/dummy.apk \ --test build/outputs/apk/androidTest/debug/kotlin-extensions-debug-androidTest.apk \ --device model=Nexus6P,version=27,locale=en...
5dc9e220bb5dbb80b43583f5dc95fbd859cd6560
core/ktx/ftl-tests/run-tests.sh
core/ktx/ftl-tests/run-tests.sh
Shell
<|file_sep|>.travis.yml.diff original: updated: - bundle exec rake spec <|file_sep|>original/.travis.yml language: ruby cache: bundler bundler_args: --without development rvm: - 2.1.0 - 1.9.3 # - jruby-19mode # chokes on sqlite addons: code_climate: repo_token: 81415560c1749c5115942949800802e1146a4654402...
language: ruby cache: bundler bundler_args: --without development rvm: - 2.1.0 - 1.9.3 # - jruby-19mode # chokes on sqlite addons: code_climate: repo_token: 81415560c1749c5115942949800802e1146a4654402f7a9d739dac8f9d4b0b30 script: - bundle exec rake spec - bundle exec rubocop
<|file_sep|>.travis.yml.diff original: updated: - bundle exec rake spec <|file_sep|>original/.travis.yml language: ruby cache: bundler bundler_args: --without development rvm: - 2.1.0 - 1.9.3 # - jruby-19mode # chokes on sqlite addons: code_climate: repo_token: 81415560c1749c5115942949800802e1146a4654402...
de5756c846415389dd40b8f8aec8e8003b88f756
.travis.yml
.travis.yml
YAML
<|file_sep|>original/playbooks/roles/bifrost-create-dib-image/defaults/main.yml --- dib_os_element: "debian" dib_env_vars: http_proxy: "{{ lookup('env','http_proxy') }}" https_proxy: "{{ lookup('env','https_proxy') }}" DIB_INSTALL_TYPE_simple_init: repo build_ramdisk: false dib_trace: false dib_uncompressed: fals...
--- dib_os_element: "debian" dib_env_vars: http_proxy: "{{ lookup('env','http_proxy') }}" https_proxy: "{{ lookup('env','https_proxy') }}" DIB_INSTALLTYPE_simple_init: repo build_ramdisk: false dib_trace: false dib_uncompressed: false dib_clearenv: false dib_notmpfs: false dib_offline: false dib_skipbase: false d...
<|file_sep|>original/playbooks/roles/bifrost-create-dib-image/defaults/main.yml --- dib_os_element: "debian" dib_env_vars: http_proxy: "{{ lookup('env','http_proxy') }}" https_proxy: "{{ lookup('env','https_proxy') }}" DIB_INSTALL_TYPE_simple_init: repo build_ramdisk: false dib_trace: false dib_uncompressed: fals...
7ce4e9595d4cfea505c5155109f15d88acc90fd7
playbooks/roles/bifrost-create-dib-image/defaults/main.yml
playbooks/roles/bifrost-create-dib-image/defaults/main.yml
YAML
<|file_sep|>NYTimesArticleAPI/__init__.py.diff original: from nytapi import * updated: from search_api import * <|file_sep|>NYTimesArticleAPI/__init__.py.diff original: __author__ = "Matt Morrison @MattDMo mattdmo@mattdmo.com" updated: __author__ = "Matt Morrison (@MattDMo)" <|file_sep|>original/NYTimesArticleAPI/__ini...
from search_api import * __version__ = "1.0.0" __author__ = "Matt Morrison (@MattDMo)" __all__ = ["articleAPI"] if __name__ == "__main__": print("This module cannot be run on its own. Please use by running ", "\"from NYTimesArticleAPI import articleAPI\"") exit(0)
<|file_sep|>NYTimesArticleAPI/__init__.py.diff original: from nytapi import * updated: from search_api import * <|file_sep|>NYTimesArticleAPI/__init__.py.diff original: __author__ = "Matt Morrison @MattDMo mattdmo@mattdmo.com" updated: __author__ = "Matt Morrison (@MattDMo)" <|file_sep|>original/NYTimesArticleAPI/__ini...
132d160a365580d77c1f5763b1fd1ac044133bb0
NYTimesArticleAPI/__init__.py
NYTimesArticleAPI/__init__.py
Python
<|file_sep|>original/builds/terraform/scala_library/iam_policy_document.tf data "aws_iam_policy_document" "travis_permissions" { statement { actions = [ "s3:*", ] resources = [ "${var.bucket_arn}/uk/ac/wellcome/${var.name}_2.12/*", ] } statement { actions = [ "s3:ListBucket...
statement { actions = [ "s3:ListBucket", ] resources = [ "${var.bucket_arn}", ] } statement { actions = [ "s3:Get*", "s3:List*", ] resources = [ "${var.bucket_arn}/uk/ac/wellcome/*", ] }
<|file_sep|>original/builds/terraform/scala_library/iam_policy_document.tf data "aws_iam_policy_document" "travis_permissions" { statement { actions = [ "s3:*", ] resources = [ "${var.bucket_arn}/uk/ac/wellcome/${var.name}_2.12/*", ] } statement { actions = [ "s3:ListBucket...
425c923728023d90c7a94eb6ba93424e9ec1178a
builds/terraform/scala_library/iam_policy_document.tf
builds/terraform/scala_library/iam_policy_document.tf
HCL
<|file_sep|>original/metadata.rb name 'pdns' maintainer 'Aetrion, LLC DBA DNSimple' maintainer_email 'ops@dnsimple.com' license 'Apache 2.0' description 'Installs/Configures pdns' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '2.4.1' source_url...
name 'pdns' maintainer 'Aetrion, LLC DBA DNSimple' maintainer_email 'ops@dnsimple.com' license 'Apache 2.0' description 'Installs/Configures PowerDNS Recursor and Authoritative server' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '2.4.1' sourc...
<|file_sep|>original/metadata.rb name 'pdns' maintainer 'Aetrion, LLC DBA DNSimple' maintainer_email 'ops@dnsimple.com' license 'Apache 2.0' description 'Installs/Configures pdns' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '2.4.1' source_url...
ec1def7657b8dd0d4bf958e6c3fffd742d22f5d2
metadata.rb
metadata.rb
Ruby
<|file_sep|>original/.github/workflows/test-dev-stability.yml uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" ini-values: "zend.assertions=1" extensions: "pdo_sqlite" - name: "Globally install symfony/flex" run: "composer requ...
uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" ini-values: "zend.assertions=1" extensions: "pdo_sqlite" - name: "Globally install symfony/flex" run: "composer require --no-progress --no-scripts --no-plugins symfony/flex" ...
<|file_sep|>original/.github/workflows/test-dev-stability.yml uses: "shivammathur/setup-php@v2" with: php-version: "${{ matrix.php-version }}" ini-values: "zend.assertions=1" extensions: "pdo_sqlite" - name: "Globally install symfony/flex" run: "composer requ...
bba6634e4664a068d37c56e2a6229d927b1e8e12
.github/workflows/test-dev-stability.yml
.github/workflows/test-dev-stability.yml
YAML
<|file_sep|>original/app/twig_templates/admin/tags/index_sp.twig <|file_sep|>current/app/twig_templates/admin/tags/index_sp.twig <|file_sep|>updated/app/twig_templates/admin/tags/index_sp.twig
{% extends 'admin/layouts/default_sp.twig' %} {% block title %}{{ _('List of tags') }}{% endblock %} {% block content %} <header><h1 class="in_menu sh_heading_main_b"><span class="h1_title">{{ _('List of tags') }}</span><span class="accordion_btn"><i class="search_icon btn_icon"></i></span></h1></header> <div ...
<|file_sep|>original/app/twig_templates/admin/tags/index_sp.twig <|file_sep|>current/app/twig_templates/admin/tags/index_sp.twig <|file_sep|>updated/app/twig_templates/admin/tags/index_sp.twig {% extends 'admin/layouts/default_sp.twig' %} {% block title %}{{ _('List of tags') }}{% endblock %} {% block content %} ...
0cbace8c1ef6decdf16bda1ec493151c88ce5b0c
app/twig_templates/admin/tags/index_sp.twig
app/twig_templates/admin/tags/index_sp.twig
Twig
<|file_sep|>make_static.sh.diff original: wget --no-verbose --inet4-only --recursive --level=inf --no-remove-listing --adjust-extension ${LEX_PROTOCOL}${LEX_INSTANCE} updated: wget --no-verbose --inet4-only --recursive --level=inf \ --no-remove-listing --adjust-extension ${LEX_PROTOCOL}${LEX_INSTANCE} <|file_sep|>make...
LEX_INSTANCE="localhost:8000" rm -rf $MIRROR_OUTPUT_DIR mkdir -p $MIRROR_OUTPUT_DIR pushd $MIRROR_OUTPUT_DIR wget --no-verbose --inet4-only --recursive --level=inf \ --no-remove-listing --adjust-extension ${LEX_PROTOCOL}${LEX_INSTANCE} # Collapse host directory (wget --no-host-directories option doesn't seem # to ...
<|file_sep|>make_static.sh.diff original: wget --no-verbose --inet4-only --recursive --level=inf --no-remove-listing --adjust-extension ${LEX_PROTOCOL}${LEX_INSTANCE} updated: wget --no-verbose --inet4-only --recursive --level=inf \ --no-remove-listing --adjust-extension ${LEX_PROTOCOL}${LEX_INSTANCE} <|file_sep|>make...
abba278903115ac0c9e676c9539128e22f1b4a78
make_static.sh
make_static.sh
Shell
<|file_sep|>original/app/serializers/api/v1/ndc_sdg/target_serializer.rb module Api module V1 module NdcSdg class TargetSerializer < ActiveModel::Serializer attribute :id attribute :number attribute :title attribute :sectors def sectors object.sector_ids ...
module Api module V1 module NdcSdg class TargetSerializer < ActiveModel::Serializer attribute :id attribute :number attribute :title attribute :sectors def sectors object.sector_ids.uniq.sort end end end end end
<|file_sep|>original/app/serializers/api/v1/ndc_sdg/target_serializer.rb module Api module V1 module NdcSdg class TargetSerializer < ActiveModel::Serializer attribute :id attribute :number attribute :title attribute :sectors def sectors object.sector_ids ...
909479650446c68f95f48c4fe52501c13fce8f6c
app/serializers/api/v1/ndc_sdg/target_serializer.rb
app/serializers/api/v1/ndc_sdg/target_serializer.rb
Ruby
<|file_sep|>public/javascripts/setup.js.diff original: $('.loader .fa-circle-o-notch').show(); $('.loader .fa-check-circle').hide(); $('.loader .fa-times-circle').hide(); updated: var successIcon = $('.loader .fa-check-circle'); var failureIcon = $('.loader .fa-times-circle'); var loadingIcon = ...
successIcon.hide(); failureIcon.hide(); submitButton.prop("disabled",true); $.post('comcast/check', $('form#accountDetails').serialize(), function(data) { if (data == 'ok') { loadingIcon.hide(); successIcon.show(); setTimeout(setComcastAccount(), 1000); ...
<|file_sep|>public/javascripts/setup.js.diff original: $('.loader .fa-circle-o-notch').show(); $('.loader .fa-check-circle').hide(); $('.loader .fa-times-circle').hide(); updated: var successIcon = $('.loader .fa-check-circle'); var failureIcon = $('.loader .fa-times-circle'); var loadingIcon = ...
50db6be1a2b9d525ab5ff4ef1b04e0c093170e90
public/javascripts/setup.js
public/javascripts/setup.js
JavaScript
<|file_sep|>original/sample_app/static/css/custom.css .step_part { border: solid black 1px; padding: 10px; height: 100%; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-right: 5px; } .step { display: inline-block; height: 82px; padding-bottom: 10...
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-right: 5px; } .step { display: inline-block; height: 82px; padding-bottom: 10px; } .step_part img { vertical-align: middle; height: 60px; } .container { width: 90% !important; }
<|file_sep|>original/sample_app/static/css/custom.css .step_part { border: solid black 1px; padding: 10px; height: 100%; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-right: 5px; } .step { display: inline-block; height: 82px; padding-bottom: 10...
35d1db77a77bfc0d10352c931ab0fa792cfa25a5
sample_app/static/css/custom.css
sample_app/static/css/custom.css
CSS
<|file_sep|>package.json.diff original: updated: "bower": "^1.3.3", <|file_sep|>package.json.diff original: updated: "shelljs": "^0.3.0", <|file_sep|>original/package.json "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", "gulp-rename": "^1.2.0", "gulp-replace-task"...
"gulp-sass": "^1.3.3", "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", "gulp-rename": "^1.2.0", "gulp-replace-task": "^0.1.0", "gulp-util": "^2.2.14", "shelljs": "^0.3.0", "yargs": "^3.6.0" }, "devDependencies": { }, "repository": { ...
<|file_sep|>package.json.diff original: updated: "bower": "^1.3.3", <|file_sep|>package.json.diff original: updated: "shelljs": "^0.3.0", <|file_sep|>original/package.json "gulp-concat": "^2.2.0", "gulp-minify-css": "^0.3.0", "gulp-rename": "^1.2.0", "gulp-replace-task"...
0e48b1aa51aac7fd195d22567801653f84e069f0
package.json
package.json
JSON
<|file_sep|>original/external/Python_OSX_tk.diff 1143c1143 < '/System/Library/Frameworks/', --- > #'/System/Library/Frameworks/', <|file_sep|>current/external/Python_OSX_tk.diff 1143c1143 < '/System/Library/Frameworks/', --- > #'/System/Library/Frameworks/', <|file_sep|>u...
--- Python-2.5.1/setup.py 2008-07-13 16:37:28.000000000 -0500 +++ Python-2.5.1/setup.py.new 2008-07-13 16:37:18.000000000 -0500 @@ -1140,7 +1140,7 @@ # different the UNIX search logic is not sharable. from os.path import join, exists framework_dirs = [ - '/System/Library/Frameworks...
<|file_sep|>original/external/Python_OSX_tk.diff 1143c1143 < '/System/Library/Frameworks/', --- > #'/System/Library/Frameworks/', <|file_sep|>current/external/Python_OSX_tk.diff 1143c1143 < '/System/Library/Frameworks/', --- > #'/System/Library/Frameworks/', <|file_sep|>u...
8e9abfb51aaa745519f262fd033112a226976079
external/Python_OSX_tk.diff
external/Python_OSX_tk.diff
Diff
<|file_sep|>original/statistics/ott-versions-by-date.json <|file_sep|>current/statistics/ott-versions-by-date.json <|file_sep|>updated/statistics/ott-versions-by-date.json
[ {"version": "ott2.8", "date": "2014-06-11"}, {"version": "ott2.7", "date": "2014-05-08"}, {"version": "ott2.6", "date": "2014-04-11"}, {"version": "ott2.5", "date": "2014-03-28"}, {"version": "ott2.4", "date": "2014-03-17"} {"version": "ott2.3", "date": "2013-12-04"} ]
<|file_sep|>original/statistics/ott-versions-by-date.json <|file_sep|>current/statistics/ott-versions-by-date.json <|file_sep|>updated/statistics/ott-versions-by-date.json [ {"version": "ott2.8", "date": "2014-06-11"}, {"version": "ott2.7", "date": "2014-05-08"}, {"version": "ott2.6", "date": "2014-04-11"...
d3c0713f6a7e4173b288de6b5ada90360aa459cd
statistics/ott-versions-by-date.json
statistics/ott-versions-by-date.json
JSON
<|file_sep|>original/app/controllers/submission_files_controller.rb class SubmissionFilesController < ApplicationController end <|file_sep|>current/app/controllers/submission_files_controller.rb class SubmissionFilesController < ApplicationController end <|file_sep|>updated/app/controllers/submission_files_controller.r...
class SubmissionFilesController < ApplicationController def signed_url render :json => { policy: s3_policy_doc, signature: s3_signature, key: "uploads/#{SecureRandom.uuid}/#{params[:doc][:title]}", success_action_redirect: "/" } end private def s3_policy_doc Base64.encode64...
<|file_sep|>original/app/controllers/submission_files_controller.rb class SubmissionFilesController < ApplicationController end <|file_sep|>current/app/controllers/submission_files_controller.rb class SubmissionFilesController < ApplicationController end <|file_sep|>updated/app/controllers/submission_files_controller.r...
6312b272ac082769d417508bca55ad6a0708768f
app/controllers/submission_files_controller.rb
app/controllers/submission_files_controller.rb
Ruby
<|file_sep|>app/styles/app/_graduationStatus.scss.diff original: h1, h2 { updated: h1 { <|file_sep|>original/app/styles/app/_graduationStatus.scss .graduation-status .area-type-heading { font-size: 0.9em; font-weight: normal; margin-top: 0; margin-bottom: 0; font-feature-settings: 'smcp'; h1, h2 { @include ...
.graduation-status .area-type-heading { font-size: 0.9em; font-weight: normal; margin-top: 0; margin-bottom: 0; font-feature-settings: 'smcp'; h1 { @include heading-neutral; padding: 5px 0 3px; } } .add-area-of-study { @include add-button { margin-left: 0.5em; } @include block-small; width: 100%;
<|file_sep|>app/styles/app/_graduationStatus.scss.diff original: h1, h2 { updated: h1 { <|file_sep|>original/app/styles/app/_graduationStatus.scss .graduation-status .area-type-heading { font-size: 0.9em; font-weight: normal; margin-top: 0; margin-bottom: 0; font-feature-settings: 'smcp'; h1, h2 { @include ...
51a649aee59ebc2263d877cf7ee1cf97f8ac72c3
app/styles/app/_graduationStatus.scss
app/styles/app/_graduationStatus.scss
SCSS
<|file_sep|>original/locales/eo/webextension.properties <|file_sep|>current/locales/eo/webextension.properties <|file_sep|>updated/locales/eo/webextension.properties
# The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for example, Ctrl-V # on Windows systems. # Error Strings # Onboarding Strings
<|file_sep|>original/locales/eo/webextension.properties <|file_sep|>current/locales/eo/webextension.properties <|file_sep|>updated/locales/eo/webextension.properties # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the...
1bf7c05c50745d7deeee3e4dfa334c276272d6d4
locales/eo/webextension.properties
locales/eo/webextension.properties
INI
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml
# Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/python trigger: - master pool: vmImage: 'ubuntu-latest' str...
<|file_sep|>original/azure-pipelines.yml <|file_sep|>current/azure-pipelines.yml <|file_sep|>updated/azure-pipelines.yml # Python package # Create and test a Python package on multiple Python versions. # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: # ...
b6f25e05884b1bdea6706992e8f1b6d405f9d89c
azure-pipelines.yml
azure-pipelines.yml
YAML
<|file_sep|>original/pr0-fav-in-nav.user.js // ==UserScript== // @name pr0-fav-in-nav // @namespace http://pr0gramm.com/user/playmax // @version 1.0 // @description Adds a heart-shaped link to the users favorites in the navigation bar // @author playmax // @match http://pr0gramm.com/* // @...
// ==UserScript== // @name pr0-fav-in-nav // @namespace http://pr0gramm.com/user/playmax // @version 1.0 // @description Adds a heart-shaped link to the users favorites in the navigation bar // @author playmax // @match http://pr0gramm.com/* // @match https://pr0gramm.com/* // @gran...
<|file_sep|>original/pr0-fav-in-nav.user.js // ==UserScript== // @name pr0-fav-in-nav // @namespace http://pr0gramm.com/user/playmax // @version 1.0 // @description Adds a heart-shaped link to the users favorites in the navigation bar // @author playmax // @match http://pr0gramm.com/* // @...
deb74eefa0e0ce7c33d61b2058b5d2b88a8523f0
pr0-fav-in-nav.user.js
pr0-fav-in-nav.user.js
JavaScript
<|file_sep|>app/views/questions/index.html.erb.diff original: <h3>Search Questions</h3> <div> <%= form_tag(questions_path, :method => "get", id: "search-form") do %> <%= text_field_tag :search, params[:search], placeholder: "Search Questions" %> <%= submit_tag "Search", :name => nil %> <% end %> </div> ...
<ul> <% @questions.each do |question| %> <li> <%= link_to(question.title, question) %> </li> <% end %> </ul>
<|file_sep|>app/views/questions/index.html.erb.diff original: <h3>Search Questions</h3> <div> <%= form_tag(questions_path, :method => "get", id: "search-form") do %> <%= text_field_tag :search, params[:search], placeholder: "Search Questions" %> <%= submit_tag "Search", :name => nil %> <% end %> </div> ...
74b25ed9bb1db520eeac02761299039955eaaaa9
app/views/questions/index.html.erb
app/views/questions/index.html.erb
HTML+ERB
<|file_sep|>original/otterlibrarydemo/src/main/res/values/styles.xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> </style> </resources> <|file_sep|>current/otterlibrarydemo/src/main/res/values/...
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat"> <!-- Customize your theme here. --> </style> </resources>
<|file_sep|>original/otterlibrarydemo/src/main/res/values/styles.xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> </style> </resources> <|file_sep|>current/otterlibrarydemo/src/main/res/values/...
3048e4a0805a7bfc3d5ab0c0e277c3d9e1f1fbe8
otterlibrarydemo/src/main/res/values/styles.xml
otterlibrarydemo/src/main/res/values/styles.xml
XML
<|file_sep|>original/content/blog/2016/fun-links-2016-04-15.md <|file_sep|>current/content/blog/2016/fun-links-2016-04-15.md <|file_sep|>updated/content/blog/2016/fun-links-2016-04-15.md
+++ title = "Fun Links 2016-04-15" categories = ["Fun links"] date = 2016-04-15T18:13:20Z tags = ["service"] +++ BOTS! While the picture that forms in your head may vary when you hear that word, I suspect before too long it may become as common a term as social media is now. There is a proliferation of messaging bots a...
<|file_sep|>original/content/blog/2016/fun-links-2016-04-15.md <|file_sep|>current/content/blog/2016/fun-links-2016-04-15.md <|file_sep|>updated/content/blog/2016/fun-links-2016-04-15.md +++ title = "Fun Links 2016-04-15" categories = ["Fun links"] date = 2016-04-15T18:13:20Z tags = ["service"] +++ BOTS! While the pi...
fecb9489fd60cee22b600c0a2438e0398d5dfc8a
content/blog/2016/fun-links-2016-04-15.md
content/blog/2016/fun-links-2016-04-15.md
Markdown
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '4' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_inst...
sudo: false language: node_js node_js: - '4' - '6' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_install: - npm install proo...
<|file_sep|>original/.travis.yml sudo: false language: node_js node_js: - '4' branches: only: - master - travis-ci # Not using `npm install --dev` because it is recursive. It will pull in the all # development dependencies for CoffeeScript. Way too much spew in the Travis CI # build output. before_inst...
3948b5896f45f4890204d57de11b59fbf3ac8996
.travis.yml
.travis.yml
YAML
<|file_sep|>extra/peg/javascript/parser/parser-tests.factor.diff original: updated: var x=5 var y=10 "> tokenizer ast>> javascript remaining>> length zero? ] unit-test { t } [ <" <|file_sep|>original/extra/peg/javascript/parser/parser-tests.factor { t } [ <" function foldl(f, initial, seq) { for(var i=0; i< se...
{ t } [ <" function foldl(f, initial, seq) { for(var i=0; i< seq.length; ++i) initial = f(initial, seq[i]); return initial; } "> tokenizer ast>> javascript remaining>> length zero? ] unit-test { t } [ <" ParseState.prototype.from = function(index) { var r = new ParseState(this.input, this.index + inde...
<|file_sep|>extra/peg/javascript/parser/parser-tests.factor.diff original: updated: var x=5 var y=10 "> tokenizer ast>> javascript remaining>> length zero? ] unit-test { t } [ <" <|file_sep|>original/extra/peg/javascript/parser/parser-tests.factor { t } [ <" function foldl(f, initial, seq) { for(var i=0; i< se...
2b2ede0a89411421649af182bb69439bc6424b17
extra/peg/javascript/parser/parser-tests.factor
extra/peg/javascript/parser/parser-tests.factor
Factor
<|file_sep|>original/.semaphore/docusaurus-deploy.yml os_image: ubuntu1804 blocks: - name: Setup task: jobs: - name: yarn commands: - checkout - cd docs/website - 'cache restore docusaurus-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum yarn.lock),docu...
os_image: ubuntu1804 blocks: - name: Setup task: jobs: - name: yarn commands: - checkout - cd docs/website - 'cache restore docusaurus-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum yarn.lock),docusaurus-node-modules-$SEMAPHORE_GIT_BRANCH,docusaurus-n...
<|file_sep|>original/.semaphore/docusaurus-deploy.yml os_image: ubuntu1804 blocks: - name: Setup task: jobs: - name: yarn commands: - checkout - cd docs/website - 'cache restore docusaurus-node-modules-$SEMAPHORE_GIT_BRANCH-$(checksum yarn.lock),docu...
aeb1b6d9202fd42e385bef5320f2ca1fa5da2f07
.semaphore/docusaurus-deploy.yml
.semaphore/docusaurus-deploy.yml
YAML
<|file_sep|>original/app/assets/stylesheets/active_admin/mixins/_gradients.css.scss $secondary-gradient-start: #efefef; $secondary-gradient-stop: #dfe1e2; @mixin gradient($start, $end){ background: $start; background: -webkit-gradient(linear, left top, left bottom, from($start), to($end)); background: -moz-li...
$secondary-gradient-start: #efefef !default; $secondary-gradient-stop: #dfe1e2 !default; @mixin gradient($start, $end){ background: $start; background: -webkit-gradient(linear, left top, left bottom, from($start), to($end)); background: -moz-linear-gradient(-90deg, $start, $end); // IE 6 & 7 filter: "pro...
<|file_sep|>original/app/assets/stylesheets/active_admin/mixins/_gradients.css.scss $secondary-gradient-start: #efefef; $secondary-gradient-stop: #dfe1e2; @mixin gradient($start, $end){ background: $start; background: -webkit-gradient(linear, left top, left bottom, from($start), to($end)); background: -moz-li...
6652fdb9b9311014f8f87e910f2e1fb1a2501016
app/assets/stylesheets/active_admin/mixins/_gradients.css.scss
app/assets/stylesheets/active_admin/mixins/_gradients.css.scss
SCSS
<|file_sep|>original/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb <|file_sep|>current/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb <|file_sep|>updated/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb
class AddNameScopeSequenceIndexOnSlugs < ActiveRecord::Migration def self.up add_index :slugs, [:name, :scope, :sequence], :name => 'index_slugs_on_name_scope_and_sequence' end def self.down remove_index :slugs, 'name_scope_and_sequence' end end
<|file_sep|>original/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb <|file_sep|>current/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb <|file_sep|>updated/db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb class AddNameScopeSequenceIndexOnSlugs < ActiveRecord...
5cdeecae0e6cd9cb50b0c0d9b0cebdd47b66de66
db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb
db/migrate/20110724140336_add_name_scope_sequence_index_on_slugs.rb
Ruby
<|file_sep|>build/tasks/compile-packages-slug-task.coffee.diff original: keymapPath = path.relative(appDir, keymapPath) pack.keymaps[keymapPath] = CSON.readFileSync(keymapPath) updated: relativePath = path.relative(appDir, keymapPath) pack.keymaps[relativePath] = CSON.readFileSync(keymap...
continue if path.basename(moduleDirectory) is '.bin' metadata = grunt.file.readJSON(path.join(moduleDirectory, 'package.json')) continue unless metadata?.engines?.atom? pack = {metadata, keymaps: {}, menus: {}} for keymapPath in fs.listSync(path.join(moduleDirectory, 'keymaps'), ['.cson...
<|file_sep|>build/tasks/compile-packages-slug-task.coffee.diff original: keymapPath = path.relative(appDir, keymapPath) pack.keymaps[keymapPath] = CSON.readFileSync(keymapPath) updated: relativePath = path.relative(appDir, keymapPath) pack.keymaps[relativePath] = CSON.readFileSync(keymap...
dee9cccae77fb4e37ddc5c69fadea2e10f0c6234
build/tasks/compile-packages-slug-task.coffee
build/tasks/compile-packages-slug-task.coffee
CoffeeScript
<|file_sep|>original/blueprints/modular/view.yaml type: bool header.view.template: type: text label: Modular Template placeholder: eg: partials/view help: Specify a template to use display view collection ...
options: 1: Yes 0: No validate: type: bool header.view.template: type: text label: Modular Template placeholder: eg: partials/view ...
<|file_sep|>original/blueprints/modular/view.yaml type: bool header.view.template: type: text label: Modular Template placeholder: eg: partials/view help: Specify a template to use display view collection ...
096fec3ee54dc35d46945eb4d68a67edb03de940
blueprints/modular/view.yaml
blueprints/modular/view.yaml
YAML
<|file_sep|>chroot-etc/xbindkeysrc.scm.diff original: for key in Control Shift Alt Meta; do echo 'keyup '$key'_L' echo 'keyup '$key'_R' updated: for key in Control_L Control_R Shift_L Shift_R Alt_L Meta_L; do echo 'keyup '$key <|file_sep|>original/chroot-etc/xbindkeysrc.scm ;; Run xbindk...
;; Run xbindkeys -dg for some example configuration file with explanation ; Cycle chroots (xbindkey '(control shift alt F1) " for key in Control_L Control_R Shift_L Shift_R Alt_L Meta_L; do echo 'keyup '$key done | xte croutoncycle prev") (xbindkey '(control shift alt F2) " for key in Control_L...
<|file_sep|>chroot-etc/xbindkeysrc.scm.diff original: for key in Control Shift Alt Meta; do echo 'keyup '$key'_L' echo 'keyup '$key'_R' updated: for key in Control_L Control_R Shift_L Shift_R Alt_L Meta_L; do echo 'keyup '$key <|file_sep|>original/chroot-etc/xbindkeysrc.scm ;; Run xbindk...
816cc3305287782ac64cc9c7dc7fa8a6c3aa1008
chroot-etc/xbindkeysrc.scm
chroot-etc/xbindkeysrc.scm
Scheme
<|file_sep|>original/service/jackett.sh #!/bin/sh umask 022 cd /opt/jackett || exit exec mono --debug JackettConsole.exe --NoRestart -DataFolder=/var/jackett sleep 2 <|file_sep|>current/service/jackett.sh #!/bin/sh umask 022 cd /opt/jackett || exit exec mono --debug JackettConsole.exe --NoRestart -DataFolder=/var/jacke...
#!/bin/sh umask 022 cd /opt/jackett || exit export XDG_CONFIG_HOME=/var/jackett exec mono --debug JackettConsole.exe --NoRestart sleep 2
<|file_sep|>original/service/jackett.sh #!/bin/sh umask 022 cd /opt/jackett || exit exec mono --debug JackettConsole.exe --NoRestart -DataFolder=/var/jackett sleep 2 <|file_sep|>current/service/jackett.sh #!/bin/sh umask 022 cd /opt/jackett || exit exec mono --debug JackettConsole.exe --NoRestart -DataFolder=/var/jacke...
0bd6925a3b7727f69366591cc80682c5e3f5c0ba
service/jackett.sh
service/jackett.sh
Shell
<|file_sep|>index.js.diff original: updated: this.recognition = new webkitSpeechRecognition() this.recognition.continuous = true; this.recognition.interimResults = false; this.recognition.start(); this.recognition.onresult = event => { const { resultIndex, results } = event; const tra...
this.recognition.onresult = event => { const { resultIndex, results } = event; const transcript = (event.results[resultIndex][0].transcript); this.setState({color: transcript}); } } componentWillUnmount(){ this.recognition.stop(); } render () { return ( <Scene> ...
<|file_sep|>index.js.diff original: updated: this.recognition = new webkitSpeechRecognition() this.recognition.continuous = true; this.recognition.interimResults = false; this.recognition.start(); this.recognition.onresult = event => { const { resultIndex, results } = event; const tra...
715c1dd53807376e1de7cf51c3691770ef127cb3
index.js
index.js
JavaScript
<|file_sep|>core/processing.js.diff original: const service = require('./../services/services.js'); updated: const serv = require('./../services/services.js'); <|file_sep|>core/processing.js.diff original: console.log("je passe là"); service.getTimeAt(response.result.parameters.ville, function(hour) { console...
&& response.result.parameters.ville != undefined) { var fields = fd.extractFields(response.result.fulfillment.speech); console.log(fields); if(fields.indexOf("{heure}") != -1) { console.log(response.result.parameters.ville); serv.getTimeAt(response.result.parameters.ville, function(hour) { console.log...
<|file_sep|>core/processing.js.diff original: const service = require('./../services/services.js'); updated: const serv = require('./../services/services.js'); <|file_sep|>core/processing.js.diff original: console.log("je passe là"); service.getTimeAt(response.result.parameters.ville, function(hour) { console...
a7500bc515c0d5fe0b7d9c6f0286423385385f24
core/processing.js
core/processing.js
JavaScript
<|file_sep|>original/plugin/settings/functions.vim " from http://vimcasts.org/episodes/tidying-whitespace/ function! Preserve(command) " Preparation: save last search, and cursor position. let save_cursor = getpos('.') let last_search = getreg('/') " Do the business: execute a:command " Clean up: restore pr...
" from http://vimcasts.org/episodes/tidying-whitespace/ function! Preserve(command) " Preparation: save last search, and cursor position. let save_cursor = getpos('.') let last_search = getreg('/') " Do the business: execute a:command " Clean up: restore previous search history, and cursor position call s...
<|file_sep|>original/plugin/settings/functions.vim " from http://vimcasts.org/episodes/tidying-whitespace/ function! Preserve(command) " Preparation: save last search, and cursor position. let save_cursor = getpos('.') let last_search = getreg('/') " Do the business: execute a:command " Clean up: restore pr...
5d646a3abfc6daba86a31b497b3e13cf90f57e95
plugin/settings/functions.vim
plugin/settings/functions.vim
VimL
<|file_sep|>.travis.yml.diff original: updated: python: - '3.4' - '3.5' - '3.6' <|file_sep|>.travis.yml.diff original: before_script: updated: install: <|file_sep|>original/.travis.yml before_script: - pip install --upgrade setuptools - pip install tox-travis script: tox matrix: include: - python: 3...
python: - '3.4' - '3.5' - '3.6' before_install: - openssl aes-256-cbc -K $encrypted_12e75a453f27_key -iv $encrypted_12e75a453f27_iv -in gcs-service-account.json.enc -out gcs-service-account.json -d install: - pip install --upgrade setuptools - pip install tox-travis script: tox env: - TOXENV=py34 -...
<|file_sep|>.travis.yml.diff original: updated: python: - '3.4' - '3.5' - '3.6' <|file_sep|>.travis.yml.diff original: before_script: updated: install: <|file_sep|>original/.travis.yml before_script: - pip install --upgrade setuptools - pip install tox-travis script: tox matrix: include: - python: 3...
84ca7f38828e8dd6908b747913cc50c3e1e39e36
.travis.yml
.travis.yml
YAML