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|>package.json.diff
original:
updated:
"karma-cli": "0.0.4",
<|file_sep|>original/package.json
{
"name": "ng-simplePagination",
"version": "0.0.9",
"private": true,
"author": "Svilen Gospodinov <svilen.gospodinov@gmail.com>",
"license": "MIT",
"devDependencies": {
"karma": "^0.12.19",
... | {
"name": "ng-simplePagination",
"version": "0.0.9",
"private": true,
"author": "Svilen Gospodinov <svilen.gospodinov@gmail.com>",
"license": "MIT",
"devDependencies": {
"karma": "^0.12.19",
"karma-cli": "0.0.4",
"karma-jasmine": "^0.1.5",
"karma-phantomjs-launcher": "^0.1.4"
},
"scripts... | <|file_sep|>package.json.diff
original:
updated:
"karma-cli": "0.0.4",
<|file_sep|>original/package.json
{
"name": "ng-simplePagination",
"version": "0.0.9",
"private": true,
"author": "Svilen Gospodinov <svilen.gospodinov@gmail.com>",
"license": "MIT",
"devDependencies": {
"karma": "^0.12.19",
... | 89210657ca9f876acee97d8a6732c500c8e69704 | package.json | package.json | JSON |
<|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp.diff
original:
updated:
#include <bitset>
<|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp.diff
original:
#define DATA_SIZE (1<<8)
updated:
<|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/ful... |
// Infinit Loop
while(true){
// Each command is 32 bits,
cmd = rand();
// 19...0 bits for dir
dir = ((cmd)&(0xFFFFF));
// 27...20 bits for data
dat = (((cmd)&(0xF00000))>>20);
// 28 bit indicates operation type 0:read 1:write
op = ((cmd>>28)&(1));
//Perform operation according
if(op == read) ... | <|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp.diff
original:
updated:
#include <bitset>
<|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp.diff
original:
#define DATA_SIZE (1<<8)
updated:
<|file_sep|>subjects/Microcomputer-Architecture/cache-simulation/ful... | 09c4779cb1473cc885b4175548ad6df32207dead | subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp | subjects/Microcomputer-Architecture/cache-simulation/full-back.cpp | C++ |
<|file_sep|>actionmailer/lib/action_mailer/log_subscriber.rb.diff
original:
"\nSent mail to #{recipients} (#{event.duration.round(1)}ms)"
updated:
"Sent mail to #{recipients} (#{event.duration.round(1)}ms)"
<|file_sep|>actionmailer/lib/action_mailer/log_subscriber.rb.diff
original:
info { "\nRecei... | def receive(event)
info { "Received mail (#{event.duration.round(1)}ms)" }
debug { event.payload[:mail] }
end
# An email was generated.
def process(event)
debug do
mailer = event.payload[:mailer]
action = event.payload[:action]
"#{mailer}##{action}: processed o... | <|file_sep|>actionmailer/lib/action_mailer/log_subscriber.rb.diff
original:
"\nSent mail to #{recipients} (#{event.duration.round(1)}ms)"
updated:
"Sent mail to #{recipients} (#{event.duration.round(1)}ms)"
<|file_sep|>actionmailer/lib/action_mailer/log_subscriber.rb.diff
original:
info { "\nRecei... | 5e4f82a5f39054b27232fbf0840496ab5ddb06a7 | actionmailer/lib/action_mailer/log_subscriber.rb | actionmailer/lib/action_mailer/log_subscriber.rb | Ruby |
<|file_sep|>src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php.diff
original:
updated:
protected function getPhabricatorTestCaseConfiguration() {
return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
<|file_sep|>original/src/applications/files/t... | return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
public function testGetAllTransforms() {
PhabricatorFileTransform::getAllTransforms();
$this->assertTrue(true);
}
public function testThumbTransformDefaults() {
$xforms = PhabricatorFileTransform::getAllT... | <|file_sep|>src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php.diff
original:
updated:
protected function getPhabricatorTestCaseConfiguration() {
return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
<|file_sep|>original/src/applications/files/t... | bb2b91d28e7e9c81722949cbed6624f46f694d1c | src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php | src/applications/files/transform/__tests__/PhabricatorFileTransformTestCase.php | PHP |
<|file_sep|>original/manifests/cf-manifest/operations.d/530-ipsec.yml
<|file_sep|>current/manifests/cf-manifest/operations.d/530-ipsec.yml
<|file_sep|>updated/manifests/cf-manifest/operations.d/530-ipsec.yml | ---
- type: replace
path: /releases/-
value:
name: ipsec
sha1: 6a9e252162519e50f6c511c489ba304a286d496a
url: https://s3-eu-west-1.amazonaws.com/gds-paas-build-releases/ipsec-0.1.3.tgz
version: 0.1.3
- type: replace
path: /instance_groups/name=router/jobs/-
value:
name: racoon
release: ... | <|file_sep|>original/manifests/cf-manifest/operations.d/530-ipsec.yml
<|file_sep|>current/manifests/cf-manifest/operations.d/530-ipsec.yml
<|file_sep|>updated/manifests/cf-manifest/operations.d/530-ipsec.yml
---
- type: replace
path: /releases/-
value:
name: ipsec
sha1: 6a9e252162519e50f6c511c489ba304a28... | b3876aeb793c476c146dd9fbc30781886b1024b7 | manifests/cf-manifest/operations.d/530-ipsec.yml | manifests/cf-manifest/operations.d/530-ipsec.yml | YAML |
<|file_sep|>original/rci.bat
:: Revision: 01/29/2011 10:20:16 AM
@echo off
setlocal
:: echo initial:
:: echo %%0 = %0
:: echo %%* = %*
:: fix ruby.exe invocation when explicitly disabling RubyGems
if "x%1" == "x--disable-gems" (
set NOGEM=%1
for /F "tokens=1*" %%i in ("%*") do set RB_ARGS=%%j
) else (
set NO... | :: Revision: 01/29/2011 10:20:16 AM
@echo off
setlocal
:: echo initial:
:: echo %%0 = %0
:: echo %%* = %*
:: fix ruby.exe invocation when explicitly disabling RubyGems
if "x%1" == "x--disable-gems" (
set NOGEM=%1
for /F "tokens=1*" %%i in ("%*") do (
set RB_ARGS=%%j
)
) else (
set NOGEM=
set RB_ARGS=... | <|file_sep|>original/rci.bat
:: Revision: 01/29/2011 10:20:16 AM
@echo off
setlocal
:: echo initial:
:: echo %%0 = %0
:: echo %%* = %*
:: fix ruby.exe invocation when explicitly disabling RubyGems
if "x%1" == "x--disable-gems" (
set NOGEM=%1
for /F "tokens=1*" %%i in ("%*") do set RB_ARGS=%%j
) else (
set NO... | 1adef8ad02df39ff478ab7af21d42925ed011e3c | rci.bat | rci.bat | Batchfile |
<|file_sep|>original/MKLog.podspec
# Be sure to run `pod lib lint MKLog.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod:... | # Be sure to run `pod lib lint MKLog.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name ... | <|file_sep|>original/MKLog.podspec
# Be sure to run `pod lib lint MKLog.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod:... | 525e6fd1e426efea83527d116a42cc5efab632f0 | MKLog.podspec | MKLog.podspec | Ruby |
<|file_sep|>original/examples/SetPictures.cs
if(args.Length < 2) {
Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]");
return;
}
TagLib.File file = TagLib.File.Create(args[0]);
Console.WriteLine("Current picture co... | if(args.Length < 2) {
Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]");
return;
}
TagLib.File file = TagLib.File.Create(args[0]);
Console.WriteLine("Current picture count: " + file.Tag.Pictures.Length);
... | <|file_sep|>original/examples/SetPictures.cs
if(args.Length < 2) {
Console.Error.WriteLine("USAGE: mono SetPictures.exe AUDIO_PATH IMAGE_PATH_1[...IMAGE_PATH_N]");
return;
}
TagLib.File file = TagLib.File.Create(args[0]);
Console.WriteLine("Current picture co... | 9288a468d586e88533ebd380ba0eabe71e90a254 | examples/SetPictures.cs | examples/SetPictures.cs | C# |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
addons:
code_climate:
repo_token: 26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61
install:
- rm composer.lock
- composer install
- php artisan env
- mv -v .env.testing .env
script:
- phpunit
after_script:
- php v... | language: php
php:
- 5.5
- 5.6
addons:
code_climate:
repo_token: 26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61
install:
- rm composer.lock
- composer install
- php artisan env
- mv -v .env.testing .env
script:
- phpunit --debug
after_script:
- php vendor/bin/coveralls | <|file_sep|>original/.travis.yml
language: php
php:
- 5.5
- 5.6
addons:
code_climate:
repo_token: 26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61
install:
- rm composer.lock
- composer install
- php artisan env
- mv -v .env.testing .env
script:
- phpunit
after_script:
- php v... | 20c2ff344344be18168ef66398eb6c894cb4a69f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/mbed_lib.json
{
"name": "core",
"config": {
"stdio-convert-newlines": {
"help": "Enable conversion to standard newlines on stdin/stdout",
"value": false
},
"stdio-baud-rate": {
"help": "Baud rate for stdio",
"value": 9... | {
"name": "core",
"config": {
"stdio-convert-newlines": {
"help": "Enable conversion to standard newlines on stdin/stdout",
"value": false
},
"stdio-baud-rate": {
"help": "Baud rate for stdio",
"value": 9600
}
},
"target_ov... | <|file_sep|>original/mbed_lib.json
{
"name": "core",
"config": {
"stdio-convert-newlines": {
"help": "Enable conversion to standard newlines on stdin/stdout",
"value": false
},
"stdio-baud-rate": {
"help": "Baud rate for stdio",
"value": 9... | 3206d96487ea6f2419b0bbd250f655d6c508f7a3 | mbed_lib.json | mbed_lib.json | JSON |
<|file_sep|>original/setup.py
long_description=long_description,
long_description_content_type='text/markdown',
author='Valentin Berlier',
author_email='berlier.v@gmail.com',
url='https://github.com/vberlier/nbtlib',
platforms=['any'],
python_requires='>=3.6',
classifiers=[
'De... | long_description=long_description,
long_description_content_type='text/markdown',
author='Valentin Berlier',
author_email='berlier.v@gmail.com',
url='https://github.com/vberlier/nbtlib',
platforms=['any'],
python_requires='>=3.6',
classifiers=[
'Development Status :: 5 - Produc... | <|file_sep|>original/setup.py
long_description=long_description,
long_description_content_type='text/markdown',
author='Valentin Berlier',
author_email='berlier.v@gmail.com',
url='https://github.com/vberlier/nbtlib',
platforms=['any'],
python_requires='>=3.6',
classifiers=[
'De... | c2297672afff206bdae91aa479cb946b932a35e9 | setup.py | setup.py | Python |
<|file_sep|>original/WindowsStore/Service/CameraService.cs
using MyDocs.Common.Model;
using MyDocs.WindowsStore.Storage;
using System;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace MyDocs.WindowsStore.Service
{
public class CameraService : ICameraService
{
public async Task<Photo... | using MyDocs.Common.Model;
using MyDocs.WindowsStore.Storage;
using System;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace MyDocs.WindowsStore.Service
{
public class CameraService : ICameraService
{
public async Task<Photo> CapturePhotoAsync()
{
var camera = ne... | <|file_sep|>original/WindowsStore/Service/CameraService.cs
using MyDocs.Common.Model;
using MyDocs.WindowsStore.Storage;
using System;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace MyDocs.WindowsStore.Service
{
public class CameraService : ICameraService
{
public async Task<Photo... | 36bb2086420e20a1eae477b958d9e58915ec8047 | WindowsStore/Service/CameraService.cs | WindowsStore/Service/CameraService.cs | C# |
<|file_sep|>original/README.md
# zend-modulemanager
[](https://secure.travis-ci.org/zendframework/zend-modulemanager)
[]... | # zend-modulemanager
[](https://secure.travis-ci.org/zendframework/zend-modulemanager)
[](https://coveralls.io/r/zendfra... | <|file_sep|>original/README.md
# zend-modulemanager
[](https://secure.travis-ci.org/zendframework/zend-modulemanager)
[]... | be4fef94edd4d89eb0f468e0fbcaf2dd46176ecf | README.md | README.md | Markdown |
<|file_sep|>original/db/migrate/20190212152221_change_dataset_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212152221_change_dataset_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212152221_change_dataset_id_to_bigint.rb | class ChangeDatasetIdToBigint < ActiveRecord::Migration[6.0]
def up
change_column :datasets, :id, :bigint
change_column :agreement_event_datasets, :dataset_id, :bigint
change_column :dataset_file_audits, :dataset_id, :bigint
change_column :dataset_files, :dataset_id, :bigint
change_column :datase... | <|file_sep|>original/db/migrate/20190212152221_change_dataset_id_to_bigint.rb
<|file_sep|>current/db/migrate/20190212152221_change_dataset_id_to_bigint.rb
<|file_sep|>updated/db/migrate/20190212152221_change_dataset_id_to_bigint.rb
class ChangeDatasetIdToBigint < ActiveRecord::Migration[6.0]
def up
change_colum... | 39b5d899e5646b936e3d479c43fbee321f6c9b1a | db/migrate/20190212152221_change_dataset_id_to_bigint.rb | db/migrate/20190212152221_change_dataset_id_to_bigint.rb | Ruby |
<|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.diff
original:
import scrapy
updated:
from scrapy import Spider
<|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.diff
original:
updated:
from scrapy.utils.defer import deferred_from_coro
<|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.... | await asyncio.sleep(0.1)
def open_spider(self, spider):
loop = asyncio.get_event_loop()
return deferred_from_coro(self._open_spider(spider))
def process_item(self, item, spider):
return {"url": item["url"].upper()}
class UrlSpider(Spider):
name = "url_spider"
start_ur... | <|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.diff
original:
import scrapy
updated:
from scrapy import Spider
<|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.diff
original:
updated:
from scrapy.utils.defer import deferred_from_coro
<|file_sep|>tests/CrawlerProcess/asyncio_deferred_signal.py.... | 7e98a76ac455a8c69950104766719cde313bbb74 | tests/CrawlerProcess/asyncio_deferred_signal.py | tests/CrawlerProcess/asyncio_deferred_signal.py | Python |
<|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
script:
- composer install --no-dev
- npm install
- bower install
# - php -S localhost:7000
<|file_sep|>current/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
script:
- composer install --no-de... | language: php
php:
- '5.6'
- '7.0'
# - hhvm
# - nightly
script:
- composer install --no-dev
- npm install
- bower install
# - php -S localhost:7000 | <|file_sep|>original/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
script:
- composer install --no-dev
- npm install
- bower install
# - php -S localhost:7000
<|file_sep|>current/.travis.yml
language: php
php:
- '5.6'
- '7.0'
- hhvm
- nightly
script:
- composer install --no-de... | b8310eea4052d4bc04e08b30a73a4ab58bf75565 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/tasks/deployment/20191004110122_update_the_brain.rake
<|file_sep|>current/lib/tasks/deployment/20191004110122_update_the_brain.rake
<|file_sep|>updated/lib/tasks/deployment/20191004110122_update_the_brain.rake | namespace :after_party do
desc 'Deployment task: update_the_brain'
task update_the_brain: :environment do
puts "Running deploy task 'update_the_brain'"
# Put your task implementation HERE.
InterventionTypeGroup.find_by(icon: 'head-side-brain').update(icon: 'users')
# Update task as completed. If y... | <|file_sep|>original/lib/tasks/deployment/20191004110122_update_the_brain.rake
<|file_sep|>current/lib/tasks/deployment/20191004110122_update_the_brain.rake
<|file_sep|>updated/lib/tasks/deployment/20191004110122_update_the_brain.rake
namespace :after_party do
desc 'Deployment task: update_the_brain'
task update_... | f3bca6910732c92fa080e6dae7b1fa471d3a213d | lib/tasks/deployment/20191004110122_update_the_brain.rake | lib/tasks/deployment/20191004110122_update_the_brain.rake | Ruby |
<|file_sep|>test/web_test.rb.diff
original:
def test_ifttt_unauthorized
updated:
def test_when_ifttt_unauthorized_returns_401
<|file_sep|>test/web_test.rb.diff
original:
updated:
Http::Actions::PostIfttt.any_instance.stubs(:call).raises(UnathorizedRequest)
<|file_sep|>test/web_test.rb.diff
original:
skip ... | def test_when_ifttt_unauthorized_returns_401
response = post(url: "/ifttt",
headers: { "Content-Type" => "application/json" },
payload: "{}")
Http::Actions::PostIfttt.any_instance.stubs(:call).raises(UnathorizedRequest)
assert_equal 401, response.status
end
d... | <|file_sep|>test/web_test.rb.diff
original:
def test_ifttt_unauthorized
updated:
def test_when_ifttt_unauthorized_returns_401
<|file_sep|>test/web_test.rb.diff
original:
updated:
Http::Actions::PostIfttt.any_instance.stubs(:call).raises(UnathorizedRequest)
<|file_sep|>test/web_test.rb.diff
original:
skip ... | b53f9fc45dd3bd81a1bd313ed59db92a23218cc0 | test/web_test.rb | test/web_test.rb | Ruby |
<|file_sep|>original/requirements.txt
alembic==0.6.4
argparse==1.2.1
coverage==3.7.1
cx_Freeze==4.3.2
esky==0.9.8
faulthandler==2.3
mako==0.9.1
nose==1.3.1
poster==0.8.1
psutil==2.0.0
pycrypto==2.6.1
SQLAlchemy==0.9.4
<|file_sep|>current/requirements.txt
alembic==0.6.4
argparse==1.2.1
coverage==3.7.1
cx_Freeze==4.3.2
e... | alembic==0.6.4
argparse==1.2.1
coverage==3.7.1
cx_Freeze==4.3.2
esky==0.9.8
faulthandler==2.3
mako==0.9.1
nose==1.3.1
poster==0.8.1
psutil==2.1.1
pycrypto==2.6.1
SQLAlchemy==0.9.4 | <|file_sep|>original/requirements.txt
alembic==0.6.4
argparse==1.2.1
coverage==3.7.1
cx_Freeze==4.3.2
esky==0.9.8
faulthandler==2.3
mako==0.9.1
nose==1.3.1
poster==0.8.1
psutil==2.0.0
pycrypto==2.6.1
SQLAlchemy==0.9.4
<|file_sep|>current/requirements.txt
alembic==0.6.4
argparse==1.2.1
coverage==3.7.1
cx_Freeze==4.3.2
e... | 4e43e1228b41d42e40e654e2f22266ab412b95c7 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/scripts/airdate.sh
if [ -z "$2" ]; then
cat <<USAGE
$caller: usage: ~script $SCRIPTNAME "<SHOW NAME>"
e.g. '~script $SCRIPTNAME "rick and morty"'
Uses 'http://epguides.com' to locate the next air date for
a given show.
USAGE
exit 0
fi
url="http://epguides.com/$show/"
episodesList=$... | Uses 'http://epguides.com' to locate the next air date for
a given show.
USAGE
exit 0
fi
url="http://epguides.com/$show/"
episodesList=$(curl "$url" 2> /dev/null | grep -E "$EPISODE_REGEX +$DATE_REGEX.*")
if [ -z "$episodesList" ]; then
echo "$caller: Could not find episode guide for '$2'"
exit 0
fi
... | <|file_sep|>original/scripts/airdate.sh
if [ -z "$2" ]; then
cat <<USAGE
$caller: usage: ~script $SCRIPTNAME "<SHOW NAME>"
e.g. '~script $SCRIPTNAME "rick and morty"'
Uses 'http://epguides.com' to locate the next air date for
a given show.
USAGE
exit 0
fi
url="http://epguides.com/$show/"
episodesList=$... | acac9b10662399646883ecc7a3758e0de18e0632 | scripts/airdate.sh | scripts/airdate.sh | Shell |
<|file_sep|>Code/CLOS/class-initialization-defmethods.lisp.diff
original:
(defmethod initialize-instance :after
((class regular-class) &rest initargs &key &allow-other-keys)
(apply #'initialize-instance-after-regular-class-default
class initargs))
updated:
<|file_sep|>original/Code/CLOS/class-initialization-d... | (cl:in-package #:sicl-clos)
(defmethod shared-initialize :around
((class real-class)
slot-names
&rest initargs
&key
&allow-other-keys)
(apply #'shared-initialize-around-real-class-default
#'call-next-method
class
slot-names
initargs)) | <|file_sep|>Code/CLOS/class-initialization-defmethods.lisp.diff
original:
(defmethod initialize-instance :after
((class regular-class) &rest initargs &key &allow-other-keys)
(apply #'initialize-instance-after-regular-class-default
class initargs))
updated:
<|file_sep|>original/Code/CLOS/class-initialization-d... | 21835b0a11fb8bac53f5113408ea455ea66657f6 | Code/CLOS/class-initialization-defmethods.lisp | Code/CLOS/class-initialization-defmethods.lisp | Common Lisp |
<|file_sep|>original/kresources/birthdays/CMakeLists.txt
include_directories( ${CMAKE_SOURCE_DIR}/kaddressbook/common ${CMAKE_SOURCE_DIR}/kaddressbook/ ${CMAKE_BINARY_DIR}/libkdepim ${CMAKE_SOURCE_DIR}/libkdepim ${CMAKE_BINARY_DIR}/kaddressbook/common )
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
########... |
include_directories( ${CMAKE_SOURCE_DIR}/kaddressbook/common ${CMAKE_SOURCE_DIR}/kaddressbook/ ${CMAKE_BINARY_DIR}/libkdepim ${CMAKE_SOURCE_DIR}/libkdepim ${CMAKE_BINARY_DIR}/kaddressbook/common )
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
########### next target ###############
set(kcal_kabc_PART_SRCS ... | <|file_sep|>original/kresources/birthdays/CMakeLists.txt
include_directories( ${CMAKE_SOURCE_DIR}/kaddressbook/common ${CMAKE_SOURCE_DIR}/kaddressbook/ ${CMAKE_BINARY_DIR}/libkdepim ${CMAKE_SOURCE_DIR}/libkdepim ${CMAKE_BINARY_DIR}/kaddressbook/common )
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
########... | 9e720af5ff5325f8ac3af86052d796f0bf09838b | kresources/birthdays/CMakeLists.txt | kresources/birthdays/CMakeLists.txt | Text |
<|file_sep|>original/recipes/pytrends/meta.yaml
- pandas >=0.25
- python >=3.3
- requests
test:
imports:
- pytrends
commands:
- pip check
requires:
- pip
about:
home: https://github.com/dreyco676/pytrends
summary: Pseudo API for Google Trends
license: Apache-2.0
license_file: LIC... | - python >=3.3
- requests
test:
imports:
- pytrends
commands:
- pip check
requires:
- pip
about:
home: https://github.com/dreyco676/pytrends
summary: Pseudo API for Google Trends
license: Apache-2.0
# license file manually packaged. See https://github.com/GeneralMills/pytrends/pull/4... | <|file_sep|>original/recipes/pytrends/meta.yaml
- pandas >=0.25
- python >=3.3
- requests
test:
imports:
- pytrends
commands:
- pip check
requires:
- pip
about:
home: https://github.com/dreyco676/pytrends
summary: Pseudo API for Google Trends
license: Apache-2.0
license_file: LIC... | ea3859d06a3771d1b0f710ef39c6e32c7612b88d | recipes/pytrends/meta.yaml | recipes/pytrends/meta.yaml | YAML |
<|file_sep|>README.md.diff
original:
updated:
Building the soundboard requires having [Node.js](https://nodejs.org/), [PHP](https://secure.php.net/) and [Composer](https://getcomposer.org/) installed on your system.
<|file_sep|>original/README.md
# Soundboard
> More like knäckebröd, har jag rätt?
## How to _deal wit... | > More like knäckebröd, har jag rätt?
## How to _deal with it?_
1. Add some sound samples to `public/samples/`.
2. Run `npm install` to install dependencies _and_ build the assets.
3. __Optional:__ Run `gulp php-server` to start a PHP server.
4. __Optional:__ Run `gulp watch` to start watchers that will rebuild as... | <|file_sep|>README.md.diff
original:
updated:
Building the soundboard requires having [Node.js](https://nodejs.org/), [PHP](https://secure.php.net/) and [Composer](https://getcomposer.org/) installed on your system.
<|file_sep|>original/README.md
# Soundboard
> More like knäckebröd, har jag rätt?
## How to _deal wit... | 4f63e8039ae419000123b2642214c67c789ca8bd | README.md | README.md | Markdown |
<|file_sep|>original/src/webservice/WebService.php
<|file_sep|>current/src/webservice/WebService.php
<|file_sep|>updated/src/webservice/WebService.php | <?php
require_once 'webservice/db.php';
/**
* Abstract Base class for all web services.
*/
abstract class WebService {
/**
* Executes the web service.
* @param Array $data User-specified parameters. Usually, url parameters are included as $data[query1], $data[query2],... and $_GET and _POST are merge... | <|file_sep|>original/src/webservice/WebService.php
<|file_sep|>current/src/webservice/WebService.php
<|file_sep|>updated/src/webservice/WebService.php
<?php
require_once 'webservice/db.php';
/**
* Abstract Base class for all web services.
*/
abstract class WebService {
/**
* Executes the web service.
... | 025078711677667c976d99ae08a523e2584f907b | src/webservice/WebService.php | src/webservice/WebService.php | PHP |
<|file_sep|>original/spec/01-algorithms/find.spec.js
import { find } from '../../src/c/find'
describe('chapter1.find', function() {
it('should return -1 if no such element', function() {
expect(find([2, 1, 4, 2, 3], 5)).toBe(-1);
});
it('should return first index at which element is found', function() {
... | import { find } from '../../src/01-algorithms/find'
describe('chapter1.find', function() {
it('should return -1 if no such element', function() {
expect(find([2, 1, 4, 2, 3], 5)).toBe(-1);
});
it('should return first index at which element is found', function() {
expect(find([5, 1, 2, 4, 2, 3, 8, 9], 2... | <|file_sep|>original/spec/01-algorithms/find.spec.js
import { find } from '../../src/c/find'
describe('chapter1.find', function() {
it('should return -1 if no such element', function() {
expect(find([2, 1, 4, 2, 3], 5)).toBe(-1);
});
it('should return first index at which element is found', function() {
... | c3ae1bbc51bb480ab1b5393df52b16f57e047445 | spec/01-algorithms/find.spec.js | spec/01-algorithms/find.spec.js | JavaScript |
<|file_sep|>original/environment-3.6.yml
name: cmac_env
channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- arm_pyart
- cartopy
- coincbc
- cython=0.27
- distributed
- scikit-fuzzy
- pip:
- git+https://github.com/CSU-Radarmet/CSU_RadarTools.git
- git+https://github.com/EVS-ATMOS/... | name: cmac_env
channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- arm_pyart
- cartopy
- coincbc
- cython=0.27
- distributed
- scikit-fuzzy
- pip
- pip:
- git+https://github.com/CSU-Radarmet/CSU_RadarTools.git
- git+https://github.com/EVS-ATMOS/cmac2.0.git | <|file_sep|>original/environment-3.6.yml
name: cmac_env
channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- arm_pyart
- cartopy
- coincbc
- cython=0.27
- distributed
- scikit-fuzzy
- pip:
- git+https://github.com/CSU-Radarmet/CSU_RadarTools.git
- git+https://github.com/EVS-ATMOS/... | c1daac20b765792af6e3010d542212c98974bf1f | environment-3.6.yml | environment-3.6.yml | YAML |
<|file_sep|>original/source/keepassx20.sh
<|file_sep|>current/source/keepassx20.sh
<|file_sep|>updated/source/keepassx20.sh | #!/bin/bash
wget https://www.keepassx.org/dev/attachments/download/115/keepassx-2.0-beta2.tar.gz
tar xvzf keepassx-2.0-beta2.tar.gz
cd keepassx-2.0-beta2
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/dotfiles/local -DCMAKE_VERBOSE_MAKEFILE=ON ..
make
make install
cd ../..
rm -rf keepassx-2.0-beta2
rm -f tar ... | <|file_sep|>original/source/keepassx20.sh
<|file_sep|>current/source/keepassx20.sh
<|file_sep|>updated/source/keepassx20.sh
#!/bin/bash
wget https://www.keepassx.org/dev/attachments/download/115/keepassx-2.0-beta2.tar.gz
tar xvzf keepassx-2.0-beta2.tar.gz
cd keepassx-2.0-beta2
mkdir build
cd build
cmake -DCMAKE_INST... | 6aef450585bff853bfa73062fb08cd2e4fe0d55e | source/keepassx20.sh | source/keepassx20.sh | Shell |
<|file_sep|>original/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java
<|file_sep|>current/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java
<|file_sep|>updated/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedEx... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | <|file_sep|>original/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java
<|file_sep|>current/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java
<|file_sep|>updated/guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedEx... | 32610e9af225a9e7eeb63707048434c42ad5c702 | guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java | guacamole-common/src/main/java/org/apache/guacamole/GuacamoleResourceClosedException.java | Java |
<|file_sep|>original/projects/view/client/viewProjects/viewProjects.html
<template name="viewProjects">
<div class="page-header">
<a class="btn btn-primary pull-right" href="/projects/add" role="button">Add Project</a>
<h1>View all projects</h1>
</div>
<div class="row">
{{> categoryDropdown }}
{{>... | <template name="viewProjects">
<div class="page-header">
<a class="btn btn-primary pull-right" href="/projects/add" role="button">Add Project</a>
<h1>View all projects</h1>
</div>
<div class="row">
{{> filterProjects }}
</div>
<div class="row">
{{> searchResults }}
</div>
</template> | <|file_sep|>original/projects/view/client/viewProjects/viewProjects.html
<template name="viewProjects">
<div class="page-header">
<a class="btn btn-primary pull-right" href="/projects/add" role="button">Add Project</a>
<h1>View all projects</h1>
</div>
<div class="row">
{{> categoryDropdown }}
{{>... | 69c25d7d04968c4815eb6c9acf27b2c5b8417a96 | projects/view/client/viewProjects/viewProjects.html | projects/view/client/viewProjects/viewProjects.html | HTML |
<|file_sep|>original/api/build.sbt
name := "detective-api"
organization := "me.frmr.kafka"
scalaVersion := "2.12.4"
version := Version.version
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test... | name := "detective-api"
organization := "me.frmr.kafka"
scalaVersion := "2.12.4"
version := Version.version
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"
pomExtra :=
<url>https://github.... | <|file_sep|>original/api/build.sbt
name := "detective-api"
organization := "me.frmr.kafka"
scalaVersion := "2.12.4"
version := Version.version
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test... | 1570c4e69988f366841a9be3ae777239aa312de0 | api/build.sbt | api/build.sbt | Scala |
<|file_sep|>original/configs/mac.conf.yaml
- defaults:
link:
relink: true
shell:
stdout: true
stderr: true
- clean: ['~']
- link:
~/.Brewfile: mac/Brewfile
~/.chunkwmrc: mac/chunkwmrc
~/.skhdrc: mac/skhdrc
- shell:
- [brew services start crisidev/chunkwm/chunkwm, Launchd start... | - defaults:
link:
relink: true
shell:
stdout: true
stderr: true
- clean: ['~']
- link:
~/.Brewfile: mac/Brewfile
~/.chunkwmrc: mac/chunkwmrc
~/.skhdrc: mac/skhdrc
- shell:
- [brew bundle cleanup --file=$HOME/.Brewfile --force, Uninstall all deps not in Brewfile]
- [brew bund... | <|file_sep|>original/configs/mac.conf.yaml
- defaults:
link:
relink: true
shell:
stdout: true
stderr: true
- clean: ['~']
- link:
~/.Brewfile: mac/Brewfile
~/.chunkwmrc: mac/chunkwmrc
~/.skhdrc: mac/skhdrc
- shell:
- [brew services start crisidev/chunkwm/chunkwm, Launchd start... | c1d0fb9f0f314e558226f068793207e5866afd06 | configs/mac.conf.yaml | configs/mac.conf.yaml | YAML |
<|file_sep|>spec/controllers/users_controller_spec.rb.diff
original:
end
end
end
describe "GET #new" do
it "devrait réussir" do
get :new
expect(response).to have_http_status(:success)
updated:
end
<|file_sep|>spec/controllers/users_controller_spec.rb.diff
original:
it "devrait avoir le... | response.should have_selector("h1", :content => @user.nom)
end
it "devrait avoir une image de profil" do
get :show, :id => @user
response.should have_selector("h1>img", :class => "gravatar")
end
end
describe "GET #new" do
it "devrait réussir" do
get :new
expect(res... | <|file_sep|>spec/controllers/users_controller_spec.rb.diff
original:
end
end
end
describe "GET #new" do
it "devrait réussir" do
get :new
expect(response).to have_http_status(:success)
updated:
end
<|file_sep|>spec/controllers/users_controller_spec.rb.diff
original:
it "devrait avoir le... | ddae5b4015e0b827a1d770189fe28075367e6a81 | spec/controllers/users_controller_spec.rb | spec/controllers/users_controller_spec.rb | Ruby |
<|file_sep|>original/package.json
"url": "git://github.com/veged/coa.git"
},
"directories": {
"lib": "./lib"
},
"dependencies": {
"q": "~0.8.8"
},
"devDependencies": {
"coffee-script": "~1.4.0",
"vows": "~0.6.4"
},
"engines": {
"node": ">= 0.6.0"
},
"licenses": [
{
... | "url": "git://github.com/veged/coa.git"
},
"directories": {
"lib": "./lib"
},
"dependencies": {
"q": "~0.8.8"
},
"devDependencies": {
"coffee-script": "~1.4.0",
"istanbul": "~0.1.11",
"vows": "~0.6.4"
},
"engines": {
"node": ">= 0.6.0"
},
"licenses": [
{
"type":... | <|file_sep|>original/package.json
"url": "git://github.com/veged/coa.git"
},
"directories": {
"lib": "./lib"
},
"dependencies": {
"q": "~0.8.8"
},
"devDependencies": {
"coffee-script": "~1.4.0",
"vows": "~0.6.4"
},
"engines": {
"node": ">= 0.6.0"
},
"licenses": [
{
... | 2a0c0f67bcb1b4079b22ccf6ddf7a7d79f640bf4 | package.json | package.json | JSON |
<|file_sep|>src/Data.js.diff
original:
updated:
const db = new minimongo();
db.debug = false;
<|file_sep|>original/src/Data.js
process.nextTick = setImmediate;
export default {
_endpoint: null,
_options: null,
ddp: null,
subscriptions: {},
db: new minimongo(),
calls: [],
hasBeenConnected: false,
get... | process.nextTick = setImmediate;
const db = new minimongo();
db.debug = false;
export default {
_endpoint: null,
_options: null,
ddp: null,
subscriptions: {},
db: db,
calls: [],
hasBeenConnected: false,
getUrl() {
return this._endpoint.substring(0, this._endpoint.indexOf('/websocket'));
},
w... | <|file_sep|>src/Data.js.diff
original:
updated:
const db = new minimongo();
db.debug = false;
<|file_sep|>original/src/Data.js
process.nextTick = setImmediate;
export default {
_endpoint: null,
_options: null,
ddp: null,
subscriptions: {},
db: new minimongo(),
calls: [],
hasBeenConnected: false,
get... | 369dde81fc50f11c0fba432305b5188e0a245d26 | src/Data.js | src/Data.js | JavaScript |
<|file_sep|>original/bounce.py
<|file_sep|>current/bounce.py
<|file_sep|>updated/bounce.py | import curses
import random
def bounce(stdscr):
curses.curs_set(0)
height, width = stdscr.getmaxyx()
ypos, xpos = random.randrange(0, height - 1), random.randrange(0, width - 1)
ydir, xdir = 1, 1
stdscr.addstr(height//2, width//2, "Type a character")
stdscr.nodelay(1)
c = None
while Tru... | <|file_sep|>original/bounce.py
<|file_sep|>current/bounce.py
<|file_sep|>updated/bounce.py
import curses
import random
def bounce(stdscr):
curses.curs_set(0)
height, width = stdscr.getmaxyx()
ypos, xpos = random.randrange(0, height - 1), random.randrange(0, width - 1)
ydir, xdir = 1, 1
stdscr.add... | 836b483e06f1221f35d543e534ddfab6020b06ed | bounce.py | bounce.py | Python |
<|file_sep|>original/pkg_server_ports.sh
<|file_sep|>current/pkg_server_ports.sh
<|file_sep|>updated/pkg_server_ports.sh | #!/usr/bin/env bash
PKGSERVER_SERVICES=$(svcs -H pkg/server | grep -v disabled | awk '{print $3}')
for service in ${PKGSERVER_SERVICES}; do
instance=$(echo $service | awk -F ':' '{print $3}')
echo -n "Repository service instance '$instance' is on port "
svccfg -s $instance listprop | grep port | awk '{print $3}'
d... | <|file_sep|>original/pkg_server_ports.sh
<|file_sep|>current/pkg_server_ports.sh
<|file_sep|>updated/pkg_server_ports.sh
#!/usr/bin/env bash
PKGSERVER_SERVICES=$(svcs -H pkg/server | grep -v disabled | awk '{print $3}')
for service in ${PKGSERVER_SERVICES}; do
instance=$(echo $service | awk -F ':' '{print $3}')
e... | b61d7738b5b586b96eb4711ccce4a0bcd18ce310 | pkg_server_ports.sh | pkg_server_ports.sh | Shell |
<|file_sep|>original/time_tracker_backend/lib/time_tracker_backend/endpoint.ex
plug Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Poison
plug Plug.MethodOverride
plug Plug.Head
# The session will be stored in the cookie and signed,
# this means its conten... |
plug Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Poison
plug Plug.MethodOverride
plug Plug.Head
# The session will be stored in the cookie and signed,
# this means its contents can be read but not tampered with.
# Set :encryption_salt if you would als... | <|file_sep|>original/time_tracker_backend/lib/time_tracker_backend/endpoint.ex
plug Plug.Parsers,
parsers: [:urlencoded, :multipart, :json],
pass: ["*/*"],
json_decoder: Poison
plug Plug.MethodOverride
plug Plug.Head
# The session will be stored in the cookie and signed,
# this means its conten... | ebab7baff9882537254e7c73bf4ccb3c8be761fb | time_tracker_backend/lib/time_tracker_backend/endpoint.ex | time_tracker_backend/lib/time_tracker_backend/endpoint.ex | Elixir |
<|file_sep|>opps/contrib/logging/models.py.diff
original:
updated:
verbose_name=_(u'User')
<|file_sep|>original/opps/contrib/logging/models.py
settings.AUTH_USER_MODEL,
null=True, blank=True,
)
application = models.CharField(
_(u"Application"),
max_length=75,
nul... | _(u"Application"),
max_length=75,
null=True, blank=True,
db_index=True)
action = models.CharField(
_(u"Action"),
max_length=50,
null=True, blank=True,
db_index=True)
text = models.TextField(
_(u"Text"),
null=True, blank=True,
... | <|file_sep|>opps/contrib/logging/models.py.diff
original:
updated:
verbose_name=_(u'User')
<|file_sep|>original/opps/contrib/logging/models.py
settings.AUTH_USER_MODEL,
null=True, blank=True,
)
application = models.CharField(
_(u"Application"),
max_length=75,
nul... | 528edba420089249bd58c0621e06225db84e223f | opps/contrib/logging/models.py | opps/contrib/logging/models.py | Python |
<|file_sep|>.storybook/webpack.config.babel.js.diff
original:
export default merge(
initConf({
context: path.resolve(__dirname, '..'),
mode: 'development',
injectStyles: true,
}),
{
plugins: [
// Set up mock for WebExt APIs. Idea from:
// https://git... | {
plugins: [
// Set up mock for WebExt APIs. Idea from:
// https://github.com/aeksco/react-typescript-web-extension-starter/blob/f62486ec8518eb5cf78687a2e658505fd528dc8a/.storybook/webpack.config.js
new NormalModuleReplacementPlugin(
... | <|file_sep|>.storybook/webpack.config.babel.js.diff
original:
export default merge(
initConf({
context: path.resolve(__dirname, '..'),
mode: 'development',
injectStyles: true,
}),
{
plugins: [
// Set up mock for WebExt APIs. Idea from:
// https://git... | 2a9e9e8640780e5faa0d47f5d2da1028f8104f69 | .storybook/webpack.config.babel.js | .storybook/webpack.config.babel.js | JavaScript |
<|file_sep|>original/layouts/partials/showcase/display-horizontal.html
<div class="px-6 py-4 w-full md:w-1/3 z-0 md:order-1">
<div class="md:bg-white md:border py-2 pl-6 pr-2 -ml-8 rounded-r-lg ">
<p>Showcase</p>
<div class="font-bold text-base mb-2">
<a href="{{ .Permalink }}" class="dim text... | <div class="px-6 py-4 w-full md:w-1/3 z-0 md:order-1">
<div class="md:bg-white md:border py-2 pl-6 pr-2 -ml-8 rounded-r-lg ">
<p>Showcase</p>
<div class="font-bold text-base mb-2">
<a href="{{ .Permalink }}" class="dim text-xl text-black no-underline title">
{{ .Title }}
</a>... | <|file_sep|>original/layouts/partials/showcase/display-horizontal.html
<div class="px-6 py-4 w-full md:w-1/3 z-0 md:order-1">
<div class="md:bg-white md:border py-2 pl-6 pr-2 -ml-8 rounded-r-lg ">
<p>Showcase</p>
<div class="font-bold text-base mb-2">
<a href="{{ .Permalink }}" class="dim text... | a441154ec5a2fea3674afc5f4c9e114393d2aaed | layouts/partials/showcase/display-horizontal.html | layouts/partials/showcase/display-horizontal.html | HTML |
<|file_sep|>original/tests/stop_job.yml
<|file_sep|>current/tests/stop_job.yml
<|file_sep|>updated/tests/stop_job.yml | ---
- hosts: all
tasks:
- name: Check whether example job is submitted.
command: 'nomad status'
register: job_status_nomad
changed_when: no
- name: Stop example job
command: 'nomad stop example'
when: "'example' in job_status_nomad.stdout" | <|file_sep|>original/tests/stop_job.yml
<|file_sep|>current/tests/stop_job.yml
<|file_sep|>updated/tests/stop_job.yml
---
- hosts: all
tasks:
- name: Check whether example job is submitted.
command: 'nomad status'
register: job_status_nomad
changed_when: no
- name: Stop example job
c... | bb6c0618070f88da1e8868cb217819e7d6e61bfa | tests/stop_job.yml | tests/stop_job.yml | YAML |
<|file_sep|>original/.github/workflows/gradle-java14.yml
<|file_sep|>current/.github/workflows/gradle-java14.yml
<|file_sep|>updated/.github/workflows/gradle-java14.yml | # This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java 14
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/check... | <|file_sep|>original/.github/workflows/gradle-java14.yml
<|file_sep|>current/.github/workflows/gradle-java14.yml
<|file_sep|>updated/.github/workflows/gradle-java14.yml
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/build... | 4e56506951f44884c56bd0aac3a9e9411baf11f3 | .github/workflows/gradle-java14.yml | .github/workflows/gradle-java14.yml | YAML |
<|file_sep|>package.json.diff
original:
"version": "1.0.1",
updated:
"version": "1.0.2",
<|file_sep|>package.json.diff
original:
"test": "echo \"Error: no test specified\" && exit 1",
updated:
"test": "standard index.jsx",
<|file_sep|>original/package.json
},
"keywords": [
"react",
"react-compon... | "react",
"react-component",
"keyboard",
"shortcuts"
],
"author": "Florian Hartmann",
"license": "MIT",
"bugs": {
"url": "https://github.com/florian/react-shortcut-chooser/issues"
},
"homepage": "https://github.com/florian/react-shortcut-chooser#readme",
"dependencies": {
"key-event... | <|file_sep|>package.json.diff
original:
"version": "1.0.1",
updated:
"version": "1.0.2",
<|file_sep|>package.json.diff
original:
"test": "echo \"Error: no test specified\" && exit 1",
updated:
"test": "standard index.jsx",
<|file_sep|>original/package.json
},
"keywords": [
"react",
"react-compon... | 9e46355a2e98333239dbd8cf874a7347873903f7 | package.json | package.json | JSON |
<|file_sep|>original/lib/rrj/janus/response_error.rb
<|file_sep|>current/lib/rrj/janus/response_error.rb
<|file_sep|>updated/lib/rrj/janus/response_error.rb | # frozen_string_literal: true
require 'bunny'
module RubyRabbitmqJanus
# @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
# Class for test if response return an janus error
class ResponseError
# Return an Hash to request
def initialize(request)
@request = Has.new(request)
end
# Test if ... | <|file_sep|>original/lib/rrj/janus/response_error.rb
<|file_sep|>current/lib/rrj/janus/response_error.rb
<|file_sep|>updated/lib/rrj/janus/response_error.rb
# frozen_string_literal: true
require 'bunny'
module RubyRabbitmqJanus
# @author VAILLANT Jeremy <jeremy.vaillant@dazzl.tv>
# Class for test if response re... | a45c28134a4d0ed74dfb2504896980e10eea2f96 | lib/rrj/janus/response_error.rb | lib/rrj/janus/response_error.rb | Ruby |
<|file_sep|>README.rdoc.diff
original:
updated:
In some applications it's also necessary to add routes in #{Rails.roo}/config/routes.rb for the ActionCost dashboard pages:
namespace :action_cost do
get '/' => 'dashboards#index'
match '/ca/:ca' => 'dashboards#ca', :as => 'ca', :constraints => { :ca => /.*/ }
... | == Setup
Simply include action_cost into your Rails 3 application Gemfile.
gem 'action_cost', '0.0.1'
In some applications it's also necessary to add routes in #{Rails.roo}/config/routes.rb for the ActionCost dashboard pages:
namespace :action_cost do
get '/' => 'dashboards#index'
match '/ca/:ca' => 'dashb... | <|file_sep|>README.rdoc.diff
original:
updated:
In some applications it's also necessary to add routes in #{Rails.roo}/config/routes.rb for the ActionCost dashboard pages:
namespace :action_cost do
get '/' => 'dashboards#index'
match '/ca/:ca' => 'dashboards#ca', :as => 'ca', :constraints => { :ca => /.*/ }
... | dc5b06df6c93c6235941621191de18b0576dd3c9 | README.rdoc | README.rdoc | RDoc |
<|file_sep|>original/pubspec.yaml
name: win32
description: A Dart library for accessing common Win32 APIs using FFI. No C required!
version: 2.3.6
homepage: https://win32.pub
repository: https://github.com/timsneath/win32
issue_tracker: https://github.com/timsneath/win32/issues
environment:
sdk: '>=2.14.0 <3.0.0'
d... | name: win32
description: A Dart library for accessing common Win32 APIs using FFI. No C required!
version: 2.3.6
homepage: https://win32.pub
repository: https://github.com/timsneath/win32
issue_tracker: https://github.com/timsneath/win32/issues
environment:
sdk: '>=2.14.0 <3.0.0'
# Declare that this package only wo... | <|file_sep|>original/pubspec.yaml
name: win32
description: A Dart library for accessing common Win32 APIs using FFI. No C required!
version: 2.3.6
homepage: https://win32.pub
repository: https://github.com/timsneath/win32
issue_tracker: https://github.com/timsneath/win32/issues
environment:
sdk: '>=2.14.0 <3.0.0'
d... | 8bae327c74033d1afe16fe6fc804f1cc474c5452 | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>src/tools/StackScrollMouseWheelTool.js.diff
original:
updated:
invert: false,
<|file_sep|>src/tools/StackScrollMouseWheelTool.js.diff
original:
const { loop, allowSkipping } = this.configuration;
updated:
const { loop, allowSkipping, invert } = this.configuration;
const direction = inve... | configuration: {
loop: false,
allowSkipping: true,
invert: false,
},
};
const initialConfiguration = Object.assign(defaultConfig, configuration);
super(initialConfiguration);
this.initialConfiguration = initialConfiguration;
}
mouseWheelCallback(evt) {
cons... | <|file_sep|>src/tools/StackScrollMouseWheelTool.js.diff
original:
updated:
invert: false,
<|file_sep|>src/tools/StackScrollMouseWheelTool.js.diff
original:
const { loop, allowSkipping } = this.configuration;
updated:
const { loop, allowSkipping, invert } = this.configuration;
const direction = inve... | 6b4d4f20be70cfb905d84d5af846714461f34736 | src/tools/StackScrollMouseWheelTool.js | src/tools/StackScrollMouseWheelTool.js | JavaScript |
<|file_sep|>original/test/test_helper.rb
$:.unshift lib_dir unless $:.include?(lib_dir)
require 'haml'
require 'sass'
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)
class Test::Unit::TestCase
def munge_filename(opts)
return if opts[:filename]
test_name = Haml::Util.caller_info(caller[1])[2]
... | $:.unshift lib_dir unless $:.include?(lib_dir)
require 'haml'
require 'sass'
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)
class Test::Unit::TestCase
def munge_filename(opts)
return if opts[:filename]
test_name = Haml::Util.caller_info(caller[1])[2]
test_name.sub!(/^block in /, '')
o... | <|file_sep|>original/test/test_helper.rb
$:.unshift lib_dir unless $:.include?(lib_dir)
require 'haml'
require 'sass'
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)
class Test::Unit::TestCase
def munge_filename(opts)
return if opts[:filename]
test_name = Haml::Util.caller_info(caller[1])[2]
... | 2ebda4eba8927239823b9b1b1b01cca71912dacb | test/test_helper.rb | test/test_helper.rb | Ruby |
<|file_sep|>original/deploy_website.sh
# Copy website files from real repo
cp -R ../website/* .
# Download the latest javadoc
curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip
mkdir javadoc
unzip javadoc.zip -d ja... |
# Copy website files from real repo
cp -R ../website/* .
# Download the latest javadoc
curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip
mkdir javadoc
unzip javadoc.zip -d javadoc
rm javadoc.zip
# Stage all files... | <|file_sep|>original/deploy_website.sh
# Copy website files from real repo
cp -R ../website/* .
# Download the latest javadoc
curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip
mkdir javadoc
unzip javadoc.zip -d ja... | ece261be29a18d979ccc3cafb4703e4505f8e66a | deploy_website.sh | deploy_website.sh | Shell |
<|file_sep|>original/package.json
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-sound": "^1.1.0"
},
"devDependencies": {
"enzyme": "^2.7.1",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.4.2",
"react-scripts": "0.9.5",
"react-test-utils": "0.0.1"
}... | "dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-sound": "^1.1.0"
},
"devDependencies": {
"enzyme": "^2.7.1",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.4.2",
"react-scripts": "0.9.5",
"react-test-utils": "0.0.1"
},
"scripts": {
"start": "rea... | <|file_sep|>original/package.json
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-sound": "^1.1.0"
},
"devDependencies": {
"enzyme": "^2.7.1",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.4.2",
"react-scripts": "0.9.5",
"react-test-utils": "0.0.1"
}... | 1deb098a931bc5faa3d9ea9cac1adf8fff121903 | package.json | package.json | JSON |
<|file_sep|>original/README.md
## Mermaid plugin for GitBook
[](https://travis-ci.org/JozoVilcek/gitbook-mermaid-plugin)
[](http://badge.fury.io/js/gitbook-mermaid)
Plu... | ## Mermaid plugin for GitBook
[](https://travis-ci.org/JozoVilcek/gitbook-plugin-mermaid)
[](http://badge.fury.io/js/gitbook-plugin-mermaid)
Plugin for [GitBook]... | <|file_sep|>original/README.md
## Mermaid plugin for GitBook
[](https://travis-ci.org/JozoVilcek/gitbook-mermaid-plugin)
[](http://badge.fury.io/js/gitbook-mermaid)
Plu... | 8224190364d1c82382239c0d243a2c0902ad1cf8 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: haskell
before_install:
- sudo add-apt-repository -y ppa:h-rayflood/llvm
- sudo apt-get update -qq
- sudo apt-get -f install llvm-3.3 llvm-3.3-dev libclang-common-dev libclang-dev
notifications:
email: false
<|file_sep|>current/.travis.yml
language: haskell
before_ins... | language: haskell
before_install:
- wget -q -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-add-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main'
- sudo apt-get update -qq
- sudo apt-get -f install llvm-3.3 llvm-3.3-dev libclang-common-dev libclang-dev
... | <|file_sep|>original/.travis.yml
language: haskell
before_install:
- sudo add-apt-repository -y ppa:h-rayflood/llvm
- sudo apt-get update -qq
- sudo apt-get -f install llvm-3.3 llvm-3.3-dev libclang-common-dev libclang-dev
notifications:
email: false
<|file_sep|>current/.travis.yml
language: haskell
before_ins... | 6b5b16fffa04a62593b6cc508598bec8e185f63c | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"homepage": "https://github.com/shama/isndarray",
updated:
"homepage": "https://github.com/scijs/isndarray",
<|file_sep|>package.json.diff
original:
"url": "git://github.com/shama/isndarray.git"
updated:
"url": "git://github.com/scijs/isndarray.git"
<|file_sep|>packag... | },
"repository": {
"type": "git",
"url": "git://github.com/scijs/isndarray.git"
},
"bugs": {
"url": "https://github.com/scijs/isndarray/issues"
},
"license": "MIT",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "node test.js"
},
"dependencies": {},
"devDependencies"... | <|file_sep|>package.json.diff
original:
"homepage": "https://github.com/shama/isndarray",
updated:
"homepage": "https://github.com/scijs/isndarray",
<|file_sep|>package.json.diff
original:
"url": "git://github.com/shama/isndarray.git"
updated:
"url": "git://github.com/scijs/isndarray.git"
<|file_sep|>packag... | 9792af5924be2b371d5225dd5c82852d6db3d39e | package.json | package.json | JSON |
<|file_sep|>original/recipes/default.rb
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'build-essential'
case node['platform_family']
when 'debian'
package 'zlib1g-dev'... | # See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'build-essential'
case node['platform_family']
when 'debian'
package 'zlib1g-dev' do
action :install
end.run_action(:install)
end
chef_gem 'fog' do
version node['dnsimple']['fog_version'... | <|file_sep|>original/recipes/default.rb
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
include_recipe 'build-essential'
case node['platform_family']
when 'debian'
package 'zlib1g-dev'... | 06c69c37e470158236ff23bc6f9a420ef6cd0654 | recipes/default.rb | recipes/default.rb | Ruby |
<|file_sep|>original/static/domotica.js
function lightswitch()
{
id = this.id.replace("light_", "");
$.post("/lightswitch", { id: id });
};
$(document).ready(function () {
$(".toggle").each(function(index) {
obj = $(".toggle")[index];
document.querySelector('#' + obj.id).addEventListener('t... | function lightswitch()
{
id = this.id.replace("light_", "");
$.post("/lightswitch", { id: id })
.fail(location.reload());
};
$(document).ready(function () {
$(".toggle").each(function(index) {
obj = $(".toggle")[index];
document.querySelector('#' + obj.id).addEventListener('toggle',... | <|file_sep|>original/static/domotica.js
function lightswitch()
{
id = this.id.replace("light_", "");
$.post("/lightswitch", { id: id });
};
$(document).ready(function () {
$(".toggle").each(function(index) {
obj = $(".toggle")[index];
document.querySelector('#' + obj.id).addEventListener('t... | 1bce8ff8d0914c861e7b0e3d2db1b94a38b6ee06 | static/domotica.js | static/domotica.js | JavaScript |
<|file_sep|>original/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh
<|file_sep|>current/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh
<|file_sep|>updated/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh | #!/usr/bin/env bash
#
# Checks that the first X bytes of /dev/mtdN have an md5sum that matches md5sum /etc/firmware-versions/mtdN-X.md5
#
# Excludes mtd6, mtd7 and mtd9 since these partitions are known to be different from the checksum.
#
# Used during factory flashing process to detect bad blocks outside of the UBI m... | <|file_sep|>original/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh
<|file_sep|>current/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh
<|file_sep|>updated/ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh
#!/usr/bin/env bash
#
# Checks that the first X bytes of /dev/mtdN ... | 5ab688e26821277d9f46b4955bf5b535359713d6 | ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh | ninjapack/root/opt/ninjablocks/factory-reset/bin/check-nand.sh | Shell |
<|file_sep|>original/README.md
# negroni-cache
[](https://travis-ci.org/trumanw/negroni-cache)
A standard compatible([RFC 7234](http://www.rfc-base.org/rfc-7234.html)) HTTP Cache middleware for negroni.
# Usage
Take a peek at the basic ex... | # negroni-cache
[](https://travis-ci.org/trumanw/negroni-cache)
A standard compatible([RFC 7234](http://www.rfc-base.org/rfc-7234.html)) HTTP Cache middleware for negroni.
# Usage
Take a peek at the basic example or the custom example, the... | <|file_sep|>original/README.md
# negroni-cache
[](https://travis-ci.org/trumanw/negroni-cache)
A standard compatible([RFC 7234](http://www.rfc-base.org/rfc-7234.html)) HTTP Cache middleware for negroni.
# Usage
Take a peek at the basic ex... | 8299e33fa274fa91e22112a00a69d7222d14b9c2 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- blead-thr
<|file_sep|>.travis.yml.diff
original:
- '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
- '5.8'
updated:
- dev-thr
- 5.22.0
- 5.22.0-thr
- 5.20.2
- 5.20.2-thr
- 5.18.3
- 5.18.3-thr
- 5.16.3
- 5.16.3-thr
- 5.... | - 5.14.4
- 5.14.4-thr
- 5.12.5
- 5.12.5-thr
- 5.10.1
- 5.10.1-thr
- 5.8.8
- 5.8.8-thr
matrix:
allow_failures:
- perl: blead
- perl: blead-thr
include:
- env: COVERAGE=1
perl: '5.22'
env:
global:
- RELEASE_TESTING=1
- AUTHOR_TESTING=1
before_install:
- eval $(curl https:... | <|file_sep|>.travis.yml.diff
original:
updated:
- blead-thr
<|file_sep|>.travis.yml.diff
original:
- '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
- '5.8'
updated:
- dev-thr
- 5.22.0
- 5.22.0-thr
- 5.20.2
- 5.20.2-thr
- 5.18.3
- 5.18.3-thr
- 5.16.3
- 5.16.3-thr
- 5.... | 1439df0e0ad416ab5368ba5b7f77b7405645b74f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/docs/deploy.md
# Building and Deploying the cAdvisor Docker Container
## Building
Building the cAdvisor Docker container is simple, just run:
```
$ ./deploy/build.sh
```
Which will statically build the cAdvisor binary and then build the Docker image. The resulting Docker image will be called `g... | # Building and Deploying the cAdvisor Docker Container
## Building
Building the cAdvisor Docker container is simple, just run:
```
$ ./deploy/build.sh
```
Which will statically build the cAdvisor binary and then build the Docker image. The resulting Docker image will be called `google/cadvisor:beta`. This image is ... | <|file_sep|>original/docs/deploy.md
# Building and Deploying the cAdvisor Docker Container
## Building
Building the cAdvisor Docker container is simple, just run:
```
$ ./deploy/build.sh
```
Which will statically build the cAdvisor binary and then build the Docker image. The resulting Docker image will be called `g... | f05750a6e386203726be3bfffd895bea703a6acf | docs/deploy.md | docs/deploy.md | Markdown |
<|file_sep|>original/docs/using.rst
For their main and mobile website:
* http://www.croisedanslemetro.com
* http://m.croisedanslemetro.com
The Molly Project
-----------------
Molly is a framework for the rapid development of information and service
portals targeted at mobile internet devices: http://mollyproject.or... |
For their main and mobile website:
* http://www.croisedanslemetro.com
* http://m.croisedanslemetro.com
The Molly Project
-----------------
Molly is a framework for the rapid development of information and service
portals targeted at mobile internet devices: https://github.com/mollyproject/mollyproject
It powers th... | <|file_sep|>original/docs/using.rst
For their main and mobile website:
* http://www.croisedanslemetro.com
* http://m.croisedanslemetro.com
The Molly Project
-----------------
Molly is a framework for the rapid development of information and service
portals targeted at mobile internet devices: http://mollyproject.or... | f9852471e64c5c99f7e6ab225183ac59216b25b3 | docs/using.rst | docs/using.rst | reStructuredText |
<|file_sep|>original/test/Transforms/InstCombine/cast.ll
; Tests to make sure elimination of casts is working correctly
; RUN: if as < %s | opt -instcombine | grep '%c' | grep cast
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
implementation
int %test1(int %A) {
%c1 = cast int %A to uint
%c2 = cast uint %c1 to i... | ; Tests to make sure elimination of casts is working correctly
; RUN: if as < %s | opt -instcombine -die | dis | grep '%c' | grep cast
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
implementation
int %test1(int %A) {
%c1 = cast int %A to uint
%c2 = cast uint %c1 to int
ret int %c2
}
ulong %test2(ubyte %A) {
%... | <|file_sep|>original/test/Transforms/InstCombine/cast.ll
; Tests to make sure elimination of casts is working correctly
; RUN: if as < %s | opt -instcombine | grep '%c' | grep cast
; RUN: then exit 1
; RUN: else exit 0
; RUN: fi
implementation
int %test1(int %A) {
%c1 = cast int %A to uint
%c2 = cast uint %c1 to i... | 8360d0922ab683a3b57ecefe1890e75150b95294 | test/Transforms/InstCombine/cast.ll | test/Transforms/InstCombine/cast.ll | LLVM |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
os: osx
script:
- yarn run publish
cache:
yarn: true
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
os: osx
script:
- yarn run publish
cache:
yarn: true
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "10"
os: osx
script:
- yarn run publish
cache:
yarn: true | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "7"
os: osx
script:
- yarn run publish
cache:
yarn: true
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "7"
os: osx
script:
- yarn run publish
cache:
yarn: true
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "10"
os:... | 2dfd51c442f842171ff198a3293e7bf44087d0a2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/templates/components/show-more.html
{% macro show_more(url=None, label=None, with_border=True) %}
{% if url and label %}
<a
href="{{ url }}"
class="show-more{% if not with_border %}-no-border{% endif %}"
><span>{{ label }}</span></a>
{% else %}
<span class="show-more... | {% macro show_more(url, label, with_border=True) %}
<a
href="{{ url }}"
class="show-more{% if not with_border %}-no-border{% endif %}"
><span>{{ label }}</span></a>
{% endmacro %} | <|file_sep|>original/app/templates/components/show-more.html
{% macro show_more(url=None, label=None, with_border=True) %}
{% if url and label %}
<a
href="{{ url }}"
class="show-more{% if not with_border %}-no-border{% endif %}"
><span>{{ label }}</span></a>
{% else %}
<span class="show-more... | 3eb550d297e694dbfe9a202b043845c924ccdf3b | app/templates/components/show-more.html | app/templates/components/show-more.html | HTML |
<|file_sep|>original/src/bookshelf_fs.erl
<|file_sep|>current/src/bookshelf_fs.erl
<|file_sep|>updated/src/bookshelf_fs.erl | %% @copyright 2012 Opscode, Inc. All Rights Reserved
%% @author Tim Dysinger <timd@opscode.com>
%%
%% Licensed to the Apache Software Foundation (ASF) under one or more
%% contributor license agreements. See the NOTICE file distributed
%% with this work for additional information regarding copyright
%% ownership. The... | <|file_sep|>original/src/bookshelf_fs.erl
<|file_sep|>current/src/bookshelf_fs.erl
<|file_sep|>updated/src/bookshelf_fs.erl
%% @copyright 2012 Opscode, Inc. All Rights Reserved
%% @author Tim Dysinger <timd@opscode.com>
%%
%% Licensed to the Apache Software Foundation (ASF) under one or more
%% contributor license ag... | 12325306679c695ddcecd3ce2e5843fd0958ad8e | src/bookshelf_fs.erl | src/bookshelf_fs.erl | Erlang |
<|file_sep|>circle.yml.diff
original:
updated:
PROJECT: "${HOME}/.go_project/src/github.com/jamesnetherton/homehub-cli"
<|file_sep|>circle.yml.diff
original:
- cd ${GOPATH} && make build
updated:
- cd ${PROJECT} && make build
<|file_sep|>original/circle.yml
PATH: "/usr/local/go/bin:/usr/local/go_worksp... | GOPATH: "${HOME}/.go_workspace:/usr/local/go_workspace:${HOME}/.go_project"
PROJECT: "${HOME}/.go_project/src/github.com/jamesnetherton/homehub-cli"
post:
- mkdir -p download
- mkdir -p ${HOME}/.go_project/src/github.com/jamesnetherton/
- cd ${HOME}/.go_project/src/github.com/jamesnetherton/ && ln... | <|file_sep|>circle.yml.diff
original:
updated:
PROJECT: "${HOME}/.go_project/src/github.com/jamesnetherton/homehub-cli"
<|file_sep|>circle.yml.diff
original:
- cd ${GOPATH} && make build
updated:
- cd ${PROJECT} && make build
<|file_sep|>original/circle.yml
PATH: "/usr/local/go/bin:/usr/local/go_worksp... | 2198fbdc97c17bdf4e08112ab33a08276bf874d1 | circle.yml | circle.yml | YAML |
<|file_sep|>original/src/elliptical_slice.jl
<|file_sep|>current/src/elliptical_slice.jl
<|file_sep|>updated/src/elliptical_slice.jl |
# http://homepages.inf.ed.ac.uk/imurray2/pub/10ess/elliptical_slice.m
# https://github.com/jobovy/bovy_mcmc/blob/master/bovy_mcmc/elliptical_slice.py
function elliptical_slice(xx, prior::Array{Float64,}, log_like_fn, cur_log_like)
D = length(xx);
cur_log_like = log_like_fn(xx);
angle_range = 0;
hh = ... | <|file_sep|>original/src/elliptical_slice.jl
<|file_sep|>current/src/elliptical_slice.jl
<|file_sep|>updated/src/elliptical_slice.jl
# http://homepages.inf.ed.ac.uk/imurray2/pub/10ess/elliptical_slice.m
# https://github.com/jobovy/bovy_mcmc/blob/master/bovy_mcmc/elliptical_slice.py
function elliptical_slice(xx, pr... | f2e28a96b1b208faa612b11247293957bbb93af3 | src/elliptical_slice.jl | src/elliptical_slice.jl | Julia |
<|file_sep|>original/_posts/2018-01-03-season-1-episode-1.markdown
---
layout: post
title: "001: Introduction to the FLOSS for Science podcast"
date: 2018-01-03 13:59:59
author: Admin
categories: podcast
#- blog
img: post01.jpg
thumb: thumb01.jpg
podcast_link: https://archive.org/download/FlossforscienceEp001-Introdu... | layout: post
title: "001: Introduction to the FLOSS for Science podcast"
date: 2018-01-03 13:59:59
author: Admin
categories: podcast
#- blog
img: post01.jpg
thumb: thumb01.jpg
podcast_link: https://archive.org/download/FlossforscienceEp001-Introduction/FlossforscienceEp001-Introduction.mp3
podcast_file_size: 5.0 MB
p... | <|file_sep|>original/_posts/2018-01-03-season-1-episode-1.markdown
---
layout: post
title: "001: Introduction to the FLOSS for Science podcast"
date: 2018-01-03 13:59:59
author: Admin
categories: podcast
#- blog
img: post01.jpg
thumb: thumb01.jpg
podcast_link: https://archive.org/download/FlossforscienceEp001-Introdu... | 7fdd24a9745917da6b39c81ebd19450d6c789f5c | _posts/2018-01-03-season-1-episode-1.markdown | _posts/2018-01-03-season-1-episode-1.markdown | Markdown |
<|file_sep|>original/README.md
n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTex (you can edit the `.tex` and th... | n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTex (you can edit the `.tex` and then `pdflatex` the output):
... | <|file_sep|>original/README.md
n3554
=====
A proposal for a standard parallel algorithms library for ISO C++.
Building the PDF:
$ pandoc --number-sections -H n3554_header.tex n3554_a_parallel_algorithms_library.*.md -o n3554_a_parallel_algorithms_library.pdf
Just generating LaTex (you can edit the `.tex` and th... | 83e5a7cebb6082bc46773f483c68176564cccc19 | README.md | README.md | Markdown |
<|file_sep|>original/static/js/sh_init.js
if (elPre.tagName != "PRE") continue;
// Prepare for highlighting
// elPre.className = elPre.className.replace("sourceCode ","");
if (elPre.className.match("sourceCode"))
switch (elPre.className.replace("sourceCode ","")) {
case 'css':
case 'haskell':
cas... | if (elPre.tagName != "PRE") continue;
// Prepare for highlighting
// elPre.className = elPre.className.replace("sourceCode ","");
if (elPre.className.match("sourceCode"))
switch (elPre.className.replace("sourceCode ","")) {
case 'css':
case 'haskell':
case 'html':
case 'php':
case 'java':... | <|file_sep|>original/static/js/sh_init.js
if (elPre.tagName != "PRE") continue;
// Prepare for highlighting
// elPre.className = elPre.className.replace("sourceCode ","");
if (elPre.className.match("sourceCode"))
switch (elPre.className.replace("sourceCode ","")) {
case 'css':
case 'haskell':
cas... | a439b552acbd586615b15b86d79ed003979aeaed | static/js/sh_init.js | static/js/sh_init.js | JavaScript |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: rust
rust:
- 1.0.0-beta
- nightly
<|file_sep|>current/.travis.yml
language: rust
rust:
- 1.0.0-beta
- nightly
<|file_sep|>updated/.travis.yml | language: rust
rust:
- 1.0.0-beta
- nightly
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-impo... | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>original/.travis.yml
language: rust
rust:
- 1.0.0-beta
- nightly
<|file_sep|>current/.travis.yml
language: rust
rust:
- 1.0.0-beta
- nightly
<|file_sep|>updated/.travis.yml
language: rust
rust:
- 1.0.0-beta
- nightly
after_success: |
[ $TR... | 45110420e832d5392f3c86e861ca3ba268fb6be4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>html.js.diff
original:
const head = Helmet.rewind()
updated:
const {title} = Helmet.rewind()
<|file_sep|>original/html.js
css = <style dangerouslySetInnerHTML={ { __html: require('!raw!./public/styles.css')} } />
}
return (
<html lang="en">
... | css = <style dangerouslySetInnerHTML={ { __html: require('!raw!./public/styles.css')} } />
}
return (
<html lang="en">
<head>
<meta charSet="utf-8" />
<meta httpEquiv="X-UA-Compatible" content="IE=edge" />
<meta name="view... | <|file_sep|>html.js.diff
original:
const head = Helmet.rewind()
updated:
const {title} = Helmet.rewind()
<|file_sep|>original/html.js
css = <style dangerouslySetInnerHTML={ { __html: require('!raw!./public/styles.css')} } />
}
return (
<html lang="en">
... | 67696ac08bf39662aa796ce44e556b73e96594a5 | html.js | html.js | JavaScript |
<|file_sep|>original/qlf/dashboard/templates/dashboard/embed_bokeh.html
{% block content %}
<div class="container">
<div class="page-header">
<!-- TODO: improve this -->
{% if "exposures" in bokeh_app %}
<h1>Exposures</h1>
{% else %}
<a class="btn btn-default"
... |
{% block content %}
<div class="container">
<div class="page-header">
<!-- TODO: improve this -->
{% if "exposures" in bokeh_app %}
<h1>Exposures</h1>
{% elif "monitor" in bokeh_app %}
<h1>Monitor</h1>
{% else %}
<a class="btn btn-default"
... | <|file_sep|>original/qlf/dashboard/templates/dashboard/embed_bokeh.html
{% block content %}
<div class="container">
<div class="page-header">
<!-- TODO: improve this -->
{% if "exposures" in bokeh_app %}
<h1>Exposures</h1>
{% else %}
<a class="btn btn-default"
... | 642fa098eedc2ef20ec9720ae0cc851acda68479 | qlf/dashboard/templates/dashboard/embed_bokeh.html | qlf/dashboard/templates/dashboard/embed_bokeh.html | HTML |
<|file_sep|>appveyor.yml.diff
original:
updated:
# Output useful info for debugging
- node --version
- npm --version
<|file_sep|>original/appveyor.yml
- nodejs_version: "4" # LTS - Recommended for most users
- nodejs_version: "6" # Current - Latest features
platform:
- x86
- x64
install:
- ps... | matrix:
- nodejs_version: "4" # LTS - Recommended for most users
- nodejs_version: "6" # Current - Latest features
platform:
- x86
- x64
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- cd ./src
- npm install
# Output useful info for debugging
- node --version
- np... | <|file_sep|>appveyor.yml.diff
original:
updated:
# Output useful info for debugging
- node --version
- npm --version
<|file_sep|>original/appveyor.yml
- nodejs_version: "4" # LTS - Recommended for most users
- nodejs_version: "6" # Current - Latest features
platform:
- x86
- x64
install:
- ps... | 69a9e6070d2d3ae38c68a98e49824594fa5d908c | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>spec/features/work_generator_spec.rb.diff
original:
Rails::Generators.invoke('hyrax:work', ['Catapult'], destination_root: Rails.root)
updated:
Rails::Generators.invoke('hyrax:work', ['Catapult', '--quiet'], destination_root: Rails.root)
<|file_sep|>original/spec/features/work_generator_spec.rb
... | Rails::Generators.invoke('hyrax:work', ['Catapult', '--quiet'], destination_root: Rails.root)
load "#{EngineCart.destination}/app/models/catapult.rb"
load "#{EngineCart.destination}/app/controllers/hyrax/catapults_controller.rb"
load "#{EngineCart.destination}/app/actors/hyrax/actors/catapult_actor.rb"
... | <|file_sep|>spec/features/work_generator_spec.rb.diff
original:
Rails::Generators.invoke('hyrax:work', ['Catapult'], destination_root: Rails.root)
updated:
Rails::Generators.invoke('hyrax:work', ['Catapult', '--quiet'], destination_root: Rails.root)
<|file_sep|>original/spec/features/work_generator_spec.rb
... | bd0ef6a613cf5f82b394553e5cb30c6dfe575558 | spec/features/work_generator_spec.rb | spec/features/work_generator_spec.rb | Ruby |
<|file_sep|>original/ext/gtest/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.8)
project(gtest_builder C CXX)
include(ExternalProject)
#set(GTEST_FORCE_SHARED_CRT ON)
#set(GTEST_DISABLE_PTHREADS OFF)
ExternalProject_Add(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
CMAKE_ARGS
# ... | cmake_minimum_required(VERSION 2.8.8)
project(gtest_builder C CXX)
include(ExternalProject)
#set(GTEST_FORCE_SHARED_CRT ON)
#set(GTEST_DISABLE_PTHREADS OFF)
ExternalProject_Add(googletest
DEPENDS iproute2 # TODO - not really the right place for this.
GIT_REPOSITORY https://github.com/google/googletest.git
CM... | <|file_sep|>original/ext/gtest/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.8)
project(gtest_builder C CXX)
include(ExternalProject)
#set(GTEST_FORCE_SHARED_CRT ON)
#set(GTEST_DISABLE_PTHREADS OFF)
ExternalProject_Add(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
CMAKE_ARGS
# ... | be0df090828820a3a17eed92f57baf2881576ada | ext/gtest/CMakeLists.txt | ext/gtest/CMakeLists.txt | Text |
<|file_sep|>code/get_parser_outputs.sh.diff
original:
echo "$0: ERROR: can not traverse input article_filename" >&2
updated:
echo "$0: ERROR: can not traverse input directory" >&2
<|file_sep|>original/code/get_parser_outputs.sh
if [ $# -ne 2 ]; then
echo "$0: ERROR: wrong number of arguments" >&2
echo "$0: USAGE: $... | echo "$0: ERROR: wrong number of arguments" >&2
echo "$0: USAGE: $0 INPUT_DIR OUTPUT_DIR" >&2
exit 1
fi
if [ \( ! -r $1 \) -o \( ! -x $1 \) ]; then
echo "$0: ERROR: can not traverse input directory" >&2
exit 1
fi
mkdir -p $2
for article_filename in `find $1 -maxdepth 1 -type d`; do
if [ -r ${article_filename}/... | <|file_sep|>code/get_parser_outputs.sh.diff
original:
echo "$0: ERROR: can not traverse input article_filename" >&2
updated:
echo "$0: ERROR: can not traverse input directory" >&2
<|file_sep|>original/code/get_parser_outputs.sh
if [ $# -ne 2 ]; then
echo "$0: ERROR: wrong number of arguments" >&2
echo "$0: USAGE: $... | d084dd1e67dc4e41f283de6e0bc1122b1f96bf4d | code/get_parser_outputs.sh | code/get_parser_outputs.sh | Shell |
<|file_sep|>original/app/assets/javascripts/components/overview/my_exercises/components/Header.jsx
export const Header = ({ completed = false, course, remaining = [], text }) => (
<header className="header">
<h3 className={completed ? 'completed' : ''}>
{ text }
{
remaining.length
? <s... | export const Header = ({ completed = false, course, remaining = [], text }) => (
<header className="header">
<h3 className={completed ? 'completed' : ''}>
{ text }
{
remaining.length
? <small>{remaining.length} additional exercises remaining.</small>
: null
}
</h3>
... | <|file_sep|>original/app/assets/javascripts/components/overview/my_exercises/components/Header.jsx
export const Header = ({ completed = false, course, remaining = [], text }) => (
<header className="header">
<h3 className={completed ? 'completed' : ''}>
{ text }
{
remaining.length
? <s... | 219e06070c1c85cc893e1fbfb889d7e6abaaeee6 | app/assets/javascripts/components/overview/my_exercises/components/Header.jsx | app/assets/javascripts/components/overview/my_exercises/components/Header.jsx | JSX |
<|file_sep|>chapters/pereira.json.diff
original:
"cronopio",
updated:
"alsuga",
"aerendon",
"caal-15",
"h3ct0rjs",
"jdmorales92",
<|file_sep|>original/chapters/pereira.json
{
"name": "NodeSchool Pereira",
"location": "Pereira",
"country": "CO",
"region": "Latin America",
"organizers": ... | {
"name": "NodeSchool Pereira",
"location": "Pereira",
"country": "CO",
"region": "Latin America",
"organizers": [
"alsuga",
"aerendon",
"caal-15",
"h3ct0rjs",
"jdmorales92",
"pin3da",
"xergioalex"
],
"repo": "http://github.com/nodeschool/pereira",
"website": "http://nodescho... | <|file_sep|>chapters/pereira.json.diff
original:
"cronopio",
updated:
"alsuga",
"aerendon",
"caal-15",
"h3ct0rjs",
"jdmorales92",
<|file_sep|>original/chapters/pereira.json
{
"name": "NodeSchool Pereira",
"location": "Pereira",
"country": "CO",
"region": "Latin America",
"organizers": ... | 25e9ac106be35ec9d916b29a240689d5508bbcc4 | chapters/pereira.json | chapters/pereira.json | JSON |
<|file_sep|>original/app/assets/stylesheets/votes.css
width: 100px;
height: 100px;
}
#winner-photo {
border: solid #9FE695 5px;
}
#loser-photo {
border: solid #E69595 5px;
}
.last-photo {
margin-top: 5px;
width: 90px;
height: 90px;
}
.prev-winner, .prev-loser {
text-align: center;
}
<|file_sep|>curr... | width: 100px;
height: 100px;
}
#winner-photo {
border: solid #9FE695 5px;
}
#loser-photo {
border: solid #E69595 5px;
opacity: 0.5;
}
.last-photo {
margin-top: 5px;
width: 90px;
height: 90px;
}
.prev-winner, .prev-loser {
text-align: center; | <|file_sep|>original/app/assets/stylesheets/votes.css
width: 100px;
height: 100px;
}
#winner-photo {
border: solid #9FE695 5px;
}
#loser-photo {
border: solid #E69595 5px;
}
.last-photo {
margin-top: 5px;
width: 90px;
height: 90px;
}
.prev-winner, .prev-loser {
text-align: center;
}
<|file_sep|>curr... | aba065171eda23b4125caf3676eb0f6c165c7906 | app/assets/stylesheets/votes.css | app/assets/stylesheets/votes.css | CSS |
<|file_sep|>original/maven-plugins/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.ya... | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.yahoo.vespa</groupId>
<artifactId>par... | <|file_sep|>original/maven-plugins/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.ya... | 6eb73a86086dcc40f76d0dc64b899af4a1fe5a58 | maven-plugins/pom.xml | maven-plugins/pom.xml | XML |
<|file_sep|>original/.circleci/config.yml
filters:
branches:
only:
- master
- maint
- ci/all
- ci/circle
matrix:
parameters:
os:
- linux
py:
... | - test:
filters:
branches:
only:
- master
- maint
- ci/all
- ci/circle
matrix:
parameters:
os:
- linux
py:
- "3.5"
-... | <|file_sep|>original/.circleci/config.yml
filters:
branches:
only:
- master
- maint
- ci/all
- ci/circle
matrix:
parameters:
os:
- linux
py:
... | 0b04e77d77381192a8fd560f14e1020034a57b86 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/.travis.yml
language: objective-c
xcode_project: JenkinsiOS.xcodeproj
xcode_scheme: JenkinsiOSTests
osx_image: xcode8.3
xcode_sdk: iphonesimulator10.0
script:
- xcodebuild clean build test -project JenkinsiOS.xcodeproj -scheme JenkinsiOSTests -destination "platform=iOS Simulator,id=34FA4749-C467-... | language: objective-c
xcode_project: JenkinsiOS.xcodeproj
xcode_scheme: JenkinsiOSTests
osx_image: xcode8.3
xcode_sdk: iphonesimulator10.0
script:
- xcodebuild clean build test -project JenkinsiOS.xcodeproj -scheme JenkinsiOSTests -destination "platform=iOS Simulator,id=85AF1F51-F2EB-4A4D-930B-0E5761511A45" -json | <|file_sep|>original/.travis.yml
language: objective-c
xcode_project: JenkinsiOS.xcodeproj
xcode_scheme: JenkinsiOSTests
osx_image: xcode8.3
xcode_sdk: iphonesimulator10.0
script:
- xcodebuild clean build test -project JenkinsiOS.xcodeproj -scheme JenkinsiOSTests -destination "platform=iOS Simulator,id=34FA4749-C467-... | 0099d7d3f8999c1a4ca1e7803a9df607db5ad1ca | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/net.chilon.matt.teacup.txt
Build:1.0,1
commit=a544fdbe5c043f37952cc5624d937cd6212cc1ef
Build:1.1,2
commit=a288fbc41c
Build:1.2,3
commit=v1.2
Build:1.3,4
commit=v1.3
Build:1.5,6
commit=v1.5
Auto Update Mode:None
Update Check Mode:Tags
Current Version:1.6
Current Ve... |
Build:1.1,2
commit=a288fbc41c
Build:1.2,3
commit=v1.2
Build:1.3,4
commit=v1.3
Build:1.5,6
commit=v1.5
Build:1.6,7
commit=v1.6
Auto Update Mode:None
Update Check Mode:Tags
Current Version:1.6
Current Version Code:7
| <|file_sep|>original/metadata/net.chilon.matt.teacup.txt
Build:1.0,1
commit=a544fdbe5c043f37952cc5624d937cd6212cc1ef
Build:1.1,2
commit=a288fbc41c
Build:1.2,3
commit=v1.2
Build:1.3,4
commit=v1.3
Build:1.5,6
commit=v1.5
Auto Update Mode:None
Update Check Mode:Tags
Current Version:1.6
Current Ve... | 468f922d9cc4184213faa205c11062863518b8f3 | metadata/net.chilon.matt.teacup.txt | metadata/net.chilon.matt.teacup.txt | Text |
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
# https://docs.python.org/devguide/#status-of-python-branches
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
before_install: pip install codecov
install: pip install --upgrade -r dev_requirements.txt
script: PYTHONHASHSEED... | sudo: false
language: python
python:
# https://docs.python.org/devguide/#status-of-python-branches
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
before_install: pip install codecov
install: pip install --upgrade -r dev_requirements.txt
script: PYTHONHASHSEED=random pytest
after_success: codecov | <|file_sep|>original/.travis.yml
sudo: false
language: python
python:
# https://docs.python.org/devguide/#status-of-python-branches
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
before_install: pip install codecov
install: pip install --upgrade -r dev_requirements.txt
script: PYTHONHASHSEED... | 2e3da5971845ab1999491d397f2b5eef8b5d3bc5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# moe-sounds
Moe sounds, moe problems. Check out the live [site.](http://www.moesounds.com)
## Documentation
For information on how to setup your own moe sounds, read the uncompleted [wiki.](https://github.com/NYPD/moe-sounds/wiki)
<|file_sep|>current/README.md
# moe-sounds
Moe sounds, m... | <br>
<sup>(Logo by [Louis Wabnitz @ studio peep](http://studiopeep.com/))</sup>
# moe-sounds
Moe sounds, moe problems. Check out the live [site.](http://www.moesounds.com)
## Documentation
For information on h... | <|file_sep|>original/README.md
# moe-sounds
Moe sounds, moe problems. Check out the live [site.](http://www.moesounds.com)
## Documentation
For information on how to setup your own moe sounds, read the uncompleted [wiki.](https://github.com/NYPD/moe-sounds/wiki)
<|file_sep|>current/README.md
# moe-sounds
Moe sounds, m... | a1f87221db127550a7165d4dbc2edcb6b5a16716 | README.md | README.md | Markdown |
<|file_sep|>src/modules/client/client.native.js.diff
original:
updated:
import 'core-js/es6/object';
<|file_sep|>original/src/modules/client/client.native.js
/* @flow */
/* eslint-disable import/no-commonjs */
import 'core-js/es6/symbol';
import 'core-js/es6/array';
global.navigator.userAgent = 'react-native';
requ... | /* @flow */
/* eslint-disable import/no-commonjs */
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/array';
import 'core-js/es6/function';
global.navigator.userAgent = 'react-native';
require('./client-base'); | <|file_sep|>src/modules/client/client.native.js.diff
original:
updated:
import 'core-js/es6/object';
<|file_sep|>original/src/modules/client/client.native.js
/* @flow */
/* eslint-disable import/no-commonjs */
import 'core-js/es6/symbol';
import 'core-js/es6/array';
global.navigator.userAgent = 'react-native';
requ... | 2fa8ee8bbc29caf13e454868a620f2c2dc35f0f6 | src/modules/client/client.native.js | src/modules/client/client.native.js | JavaScript |
<|file_sep|>original/spec/javascripts/fixtures/emojis.rb
require 'spec_helper'
describe 'Emojis (JavaScript fixtures)' do
include JavaScriptFixturesHelpers
before(:all) do
clean_frontend_fixtures('emojis/')
end
it 'emojis/emojis.json' do |example|
# Copying the emojis.json from the public folder
... | require 'spec_helper'
describe 'Emojis (JavaScript fixtures)' do
include JavaScriptFixturesHelpers
before(:all) do
clean_frontend_fixtures('emojis/')
end
it 'emojis/emojis.json' do |example|
JavaScriptFixturesHelpers::FIXTURE_PATHS.each do |fixture_path|
# Copying the emojis.json from the publi... | <|file_sep|>original/spec/javascripts/fixtures/emojis.rb
require 'spec_helper'
describe 'Emojis (JavaScript fixtures)' do
include JavaScriptFixturesHelpers
before(:all) do
clean_frontend_fixtures('emojis/')
end
it 'emojis/emojis.json' do |example|
# Copying the emojis.json from the public folder
... | 42df6c854dbf14eb0eb3fad839b93d3b3d9649f7 | spec/javascripts/fixtures/emojis.rb | spec/javascripts/fixtures/emojis.rb | Ruby |
<|file_sep|>original/requirements-dev.txt
coverage==4.2
docker-py==1.10.6
flake8==3.0.4
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.4
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.6.5
<|file_sep|>current/requirements-dev.txt
coverage==4.2
docker-py==1.10.6
flake8=... | coverage==4.2
docker-py==1.10.6
flake8==3.1.0
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.4
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.6.5 | <|file_sep|>original/requirements-dev.txt
coverage==4.2
docker-py==1.10.6
flake8==3.0.4
ipdb==0.10.1
ipython==5.1.0
pyodbc==3.0.10
pytest==3.0.4
pytest-cov==2.4.0
pytest-sugar==0.7.1
sphinx==1.4.8
sphinxcontrib-asyncio==0.2.0
uvloop==0.6.5
<|file_sep|>current/requirements-dev.txt
coverage==4.2
docker-py==1.10.6
flake8=... | 98c16bcea58853ecf83bb9247fc4ac93ca9ec0b4 | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>original/_includes/blog-masthead.html
<div class="blog-masthead">
<div class="container">
<nav class="blog-nav">
<a class="blog-nav-item {{ active.home }}" href="/">Home</a>
<a class="blog-nav-item" href="http://wiki.hacksburg.org">Wiki</a>
<a class="blog-nav-item {{ active.about }}"... | <div class="blog-masthead">
<div class="container">
<nav class="blog-nav">
<a class="blog-nav-item {{ active.home }}" href="/">Home</a>
<a class="blog-nav-item" href="http://wiki.hacksburg.org">Wiki</a>
<a class="blog-nav-item {{ active.about }}" href="/about.html">About</a>
<a class="blog... | <|file_sep|>original/_includes/blog-masthead.html
<div class="blog-masthead">
<div class="container">
<nav class="blog-nav">
<a class="blog-nav-item {{ active.home }}" href="/">Home</a>
<a class="blog-nav-item" href="http://wiki.hacksburg.org">Wiki</a>
<a class="blog-nav-item {{ active.about }}"... | 8a7f24cc0c5dcd5f3dc2d526f40ab3550715007c | _includes/blog-masthead.html | _includes/blog-masthead.html | HTML |
<|file_sep|>app/views/root/_transaction_cross_domain_analytics.html.erb.diff
original:
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.s... | <script id="transaction_cross_domain_analytics">
(function(i,s,o,g,r,a,m){
i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<%= ga_account_code %... | <|file_sep|>app/views/root/_transaction_cross_domain_analytics.html.erb.diff
original:
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.s... | 37ae3261062bccf164fed1b88f2bdff9edecc1fb | app/views/root/_transaction_cross_domain_analytics.html.erb | app/views/root/_transaction_cross_domain_analytics.html.erb | HTML+ERB |
<|file_sep|>original/requirements.txt
PyYAML
websockets
arrow
# Stability of this package is backed by piqueserver
git+git://github.com/godwhoa/pytimeparse
<|file_sep|>current/requirements.txt
PyYAML
websockets
arrow
# Stability of this package is backed by piqueserver
git+git://github.com/godwhoa/pytimeparse
<|file_... | PyYAML
websockets
arrow
pytimeparse-plus | <|file_sep|>original/requirements.txt
PyYAML
websockets
arrow
# Stability of this package is backed by piqueserver
git+git://github.com/godwhoa/pytimeparse
<|file_sep|>current/requirements.txt
PyYAML
websockets
arrow
# Stability of this package is backed by piqueserver
git+git://github.com/godwhoa/pytimeparse
<|file_... | 9796f0b9a8eb422dbf16394023b580b6d960f8bd | requirements.txt | requirements.txt | Text |
<|file_sep|>original/infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf
display_name = "k8s-infra-alerts@kubernetes.io"
project = google_project.project.project_id
type = "email"
labels = {
email_address = "k8s-infra-alerts@kubernetes.io"
}
}
module "alerts" {
project_id = ... | display_name = "k8s-infra-alerts@kubernetes.io"
project = google_project.project.project_id
type = "email"
labels = {
email_address = "k8s-infra-alerts@kubernetes.io"
}
}
module "alerts" {
project_id = google_project.project.project_id
source = "../modules/monitoring/... | <|file_sep|>original/infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf
display_name = "k8s-infra-alerts@kubernetes.io"
project = google_project.project.project_id
type = "email"
labels = {
email_address = "k8s-infra-alerts@kubernetes.io"
}
}
module "alerts" {
project_id = ... | 126414daeb1422987c56b5cf2ef1154baed5f4bb | infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf | infra/gcp/terraform/k8s-infra-oci-proxy-prod/monitoring.tf | HCL |
<|file_sep|>original/app/css/_select.scss
.select-prefix {
display: inline-block;
width: 2em;
&.selected:before {
margin-left: 0.75em;
content: "\2713 ";
}
}
.selectable button {
text-align: left;
display: block;
width: 100%;
padding: 0.5em;
padding-left: 0;
font-size: 16px;
border: 0;... | .select-prefix {
display: inline-block;
width: 2em;
&.selected:before {
margin-left: 0.75em;
content: "\2713 ";
}
}
.selectable button {
text-align: left;
display: block;
width: 100%;
padding: 0.5em;
padding-left: 0;
padding-right: 1.25em;
font-size: 16px;
border: 0;
background: $se... | <|file_sep|>original/app/css/_select.scss
.select-prefix {
display: inline-block;
width: 2em;
&.selected:before {
margin-left: 0.75em;
content: "\2713 ";
}
}
.selectable button {
text-align: left;
display: block;
width: 100%;
padding: 0.5em;
padding-left: 0;
font-size: 16px;
border: 0;... | 696c8f91973bfded8787680c12808a07d1827f07 | app/css/_select.scss | app/css/_select.scss | SCSS |
<|file_sep|>original/src/util/libbb/CMakeLists.txt
SET(_SRC
bb_utils bb_alias
bb_core bb_simple
bb_sha1 bb_tools)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/util/libbb)
ADD_LIBRARY(bb ${_SRC})
TARGET_LINK_LIBRARIES(bb pthread)
ADD_SUBDIRECTORY(bbtools)
IF(BUILD_SCRIPT_BINDING)
ADD_SUBDIRECTORY(scripting)
ENDIF(BU... | SET(_SRC
bb_utils bb_alias
bb_core bb_simple
bb_sha1 bb_tools bb_core_sysv.c)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/util/libbb)
ADD_LIBRARY(bb ${_SRC})
TARGET_LINK_LIBRARIES(bb pthread)
ADD_SUBDIRECTORY(bbtools)
IF(BUILD_SCRIPT_BINDING)
ADD_SUBDIRECTORY(scripting)
ENDIF(BUILD_SCRIPT_BINDING)
| <|file_sep|>original/src/util/libbb/CMakeLists.txt
SET(_SRC
bb_utils bb_alias
bb_core bb_simple
bb_sha1 bb_tools)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/util/libbb)
ADD_LIBRARY(bb ${_SRC})
TARGET_LINK_LIBRARIES(bb pthread)
ADD_SUBDIRECTORY(bbtools)
IF(BUILD_SCRIPT_BINDING)
ADD_SUBDIRECTORY(scripting)
ENDIF(BU... | 60adeb7a0d19eb4730abdd344d7e48c89155a20e | src/util/libbb/CMakeLists.txt | src/util/libbb/CMakeLists.txt | Text |
<|file_sep|>original/mungegithub/submit-queue/deployment/community/configmap.yaml
# basic config options.
http-cache-dir: /cache/httpcache
organization: kubernetes
project: community
# Make sure approval-handler and blunderbuss run before submit-queue.
# Otherwise it's going to take an extra-cycle to detect the label c... | # basic config options.
http-cache-dir: /cache/httpcache
organization: kubernetes
project: community
# Make sure approval-handler and blunderbuss run before submit-queue.
# Otherwise it's going to take an extra-cycle to detect the label change.
# Run blunderbuss before approval-handler, so that we can suggest approvers... | <|file_sep|>original/mungegithub/submit-queue/deployment/community/configmap.yaml
# basic config options.
http-cache-dir: /cache/httpcache
organization: kubernetes
project: community
# Make sure approval-handler and blunderbuss run before submit-queue.
# Otherwise it's going to take an extra-cycle to detect the label c... | 6ca06d79156264123dc0dc962924326df32e7152 | mungegithub/submit-queue/deployment/community/configmap.yaml | mungegithub/submit-queue/deployment/community/configmap.yaml | YAML |
<|file_sep|>src/config_app.erl.diff
original:
updated:
DefaultExists = lists:filter(fun filelib:is_file/1, Default),
<|file_sep|>src/config_app.erl.diff
original:
Default;
updated:
DefaultExists;
<|file_sep|>original/src/config_app.erl
%% ============================================================... | %% Application callbacks
%% ===================================================================
start(_StartType, _StartArgs) ->
config_sup:start_link(get_ini_files()).
stop(_State) ->
ok.
get_ini_files() ->
Etc = filename:join(code:root_dir(), "etc"),
Default = [filename:join(Etc,"default.ini"), fil... | <|file_sep|>src/config_app.erl.diff
original:
updated:
DefaultExists = lists:filter(fun filelib:is_file/1, Default),
<|file_sep|>src/config_app.erl.diff
original:
Default;
updated:
DefaultExists;
<|file_sep|>original/src/config_app.erl
%% ============================================================... | 21dd1938ea3365dbce81f363678e27fa2ae35828 | src/config_app.erl | src/config_app.erl | Erlang |
<|file_sep|>static/atom.css.diff
original:
.row > .pane + .pane {
updated:
.row > * + * {
<|file_sep|>original/static/atom.css
position: absolute;
width: 100%;
height: 100%;
overflow-x: hidden;
}
#root-view #panes .pane {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
-webkit-... | position: absolute;
width: 100%;
height: 100%;
overflow-x: hidden;
}
#root-view #panes .pane {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
-webkit-box-shadow: inset 0px 0px 2px 2px rgba(0, 0, 0, .1);
}
.row > * + * {
border-left: 5px solid #515151;
}
.column > * + * {
... | <|file_sep|>static/atom.css.diff
original:
.row > .pane + .pane {
updated:
.row > * + * {
<|file_sep|>original/static/atom.css
position: absolute;
width: 100%;
height: 100%;
overflow-x: hidden;
}
#root-view #panes .pane {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
-webkit-... | 08b661e3bf7ac1af744a8b24ae3e95edc1bb1cfc | static/atom.css | static/atom.css | CSS |
<|file_sep|>metadata/com.craigd.lmsmaterial.app.yml.diff
original:
updated:
- versionName: 0.1.3
versionCode: 103
commit: 0.1.3
subdir: lms-material
gradle:
- yes
<|file_sep|>original/metadata/com.craigd.lmsmaterial.app.yml
Repo: https://github.com/CDrummond/lms-material-app
Builds:
- versi... | gradle:
- yes
- versionName: 0.1.2
versionCode: 102
commit: 0.1.2
subdir: lms-material
gradle:
- yes
- versionName: 0.1.3
versionCode: 103
commit: 0.1.3
subdir: lms-material
gradle:
- yes
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 0.1.3
... | <|file_sep|>metadata/com.craigd.lmsmaterial.app.yml.diff
original:
updated:
- versionName: 0.1.3
versionCode: 103
commit: 0.1.3
subdir: lms-material
gradle:
- yes
<|file_sep|>original/metadata/com.craigd.lmsmaterial.app.yml
Repo: https://github.com/CDrummond/lms-material-app
Builds:
- versi... | 40cee4f2d16643d9baa96e93b55ce2b07b109b52 | metadata/com.craigd.lmsmaterial.app.yml | metadata/com.craigd.lmsmaterial.app.yml | YAML |
<|file_sep|>README.md.diff
original:
# First, create a chest - a container for your drops
updated:
First, create a chest - a container for your drops
<|file_sep|>original/README.md
# Archloot
Quick and simple loot table creation.
## Examples:
# First, create a chest - a container for your drops
chest = ... |
Quick and simple loot table creation.
## Examples:
First, create a chest - a container for your drops
chest = Chest.new
Initlialize your item
It can be anything - Archloot class will accept any object
your_item = YourItemClass.new({name: "Random Ring of Spec"})
your_item2 = YourItemClass.new({name: "T... | <|file_sep|>README.md.diff
original:
# First, create a chest - a container for your drops
updated:
First, create a chest - a container for your drops
<|file_sep|>original/README.md
# Archloot
Quick and simple loot table creation.
## Examples:
# First, create a chest - a container for your drops
chest = ... | 2462c1aefa1ebc7c54114252a0ce2c72a22d7d6e | README.md | README.md | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.