prompt
stringlengths
77
6.9k
completion
stringlengths
1
3.38k
text
stringlengths
163
9.03k
commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
lang
stringclasses
277 values
<|file_sep|>original/bayespy/inference/vmp/nodes/tests/test_gaussian.py <|file_sep|>current/bayespy/inference/vmp/nodes/tests/test_gaussian.py <|file_sep|>updated/bayespy/inference/vmp/nodes/tests/test_gaussian.py
###################################################################### # Copyright (C) 2013 Jaakko Luttinen # # This file is licensed under Version 3.0 of the GNU General Public # License. See LICENSE for a text of the license. ###################################################################### ####################...
<|file_sep|>original/bayespy/inference/vmp/nodes/tests/test_gaussian.py <|file_sep|>current/bayespy/inference/vmp/nodes/tests/test_gaussian.py <|file_sep|>updated/bayespy/inference/vmp/nodes/tests/test_gaussian.py ###################################################################### # Copyright (C) 2013 Jaakko Lutti...
df5ba98be707df7c3ec48fae986cf702b9d5a66e
bayespy/inference/vmp/nodes/tests/test_gaussian.py
bayespy/inference/vmp/nodes/tests/test_gaussian.py
Python
<|file_sep|>original/app/assets/javascripts/angular/main/register-controller.js 'store', 'Restangular', '$state', 'UserModel', function (store, Restangular, $state, UserModel) { var register = this; register.newUser = {}; register.signUp = function () { UserModel.register( ...
'store', 'Restangular', '$state', 'UserModel', function (store, Restangular, $state, UserModel) { var register = this; register.newUser = {}; register.signUp = function () { UserModel .register(register.newUser) .then(function(data){ store.set('jwt',data....
<|file_sep|>original/app/assets/javascripts/angular/main/register-controller.js 'store', 'Restangular', '$state', 'UserModel', function (store, Restangular, $state, UserModel) { var register = this; register.newUser = {}; register.signUp = function () { UserModel.register( ...
26a154cd5fef3eeb04d0660129e0c610134f60f8
app/assets/javascripts/angular/main/register-controller.js
app/assets/javascripts/angular/main/register-controller.js
JavaScript
<|file_sep|>README.md.diff original: updated: ``` <|file_sep|>original/README.md parallelization and efficient sampling. ## Documentation Coming soon... ## Attribution @article{kombine, author = {{Farr}, B. and {Farr}, W.~M.}, title = {kombine: a kernel-density-based, embarrassingly parallel ensemble sampl...
## Documentation Coming soon... ## Attribution ``` @article{kombine, author = {{Farr}, B. and {Farr}, W.~M.}, title = {kombine: a kernel-density-based, embarrassingly parallel ensemble sampler}, year = 2015, note = "in prep" } ``` ## License Copyright 2014 Ben Farr and contributors. kombine is f...
<|file_sep|>README.md.diff original: updated: ``` <|file_sep|>original/README.md parallelization and efficient sampling. ## Documentation Coming soon... ## Attribution @article{kombine, author = {{Farr}, B. and {Farr}, W.~M.}, title = {kombine: a kernel-density-based, embarrassingly parallel ensemble sampl...
0e4a9fb4e37e11b9f68db08f0d9ee8d4c634c034
README.md
README.md
Markdown
<|file_sep|>file4.c.diff original: file4.c - r1 updated: <|file_sep|>file4.c.diff original: updated: Test checkin in master1-updated - updated2 <|file_sep|>original/file4.c file4.c - r1 Test checkin in master1-updated - updated_by_master Test checkin in master2 Test checkin in master3 Test checkin in master4 <|file...
Test checkin in master1-updated - updated_by_master Test checkin in master1-updated - updated2 Test checkin in master2 Test checkin in master3 Test checkin in master4
<|file_sep|>file4.c.diff original: file4.c - r1 updated: <|file_sep|>file4.c.diff original: updated: Test checkin in master1-updated - updated2 <|file_sep|>original/file4.c file4.c - r1 Test checkin in master1-updated - updated_by_master Test checkin in master2 Test checkin in master3 Test checkin in master4 <|file...
48600172e57f4f4e9dd06f6a4704032e3d6bc53e
file4.c
file4.c
C
<|file_sep|>original/src/core/Associative.pm my role Associative[::T = Mu] { method of() { T } } # vim: ft=perl6 expandtab sw=4 <|file_sep|>current/src/core/Associative.pm my role Associative[::T = Mu] { method of() { T } } # vim: ft=perl6 expandtab sw=4 <|file_sep|>updated/src/core/Associative.pm
my role Associative[::TValue = Mu, ::TKey = Str(Any)] { method of() { TValue } method keyof() { TKey } } # vim: ft=perl6 expandtab sw=4
<|file_sep|>original/src/core/Associative.pm my role Associative[::T = Mu] { method of() { T } } # vim: ft=perl6 expandtab sw=4 <|file_sep|>current/src/core/Associative.pm my role Associative[::T = Mu] { method of() { T } } # vim: ft=perl6 expandtab sw=4 <|file_sep|>updated/src/core/Associative.pm my role Ass...
a6ba994d3988114ab8ae7519d75f1e9a58dc366f
src/core/Associative.pm
src/core/Associative.pm
Perl
<|file_sep|>original/README.md # get Safely, succinctly, access hash data <|file_sep|>current/README.md # get Safely, succinctly, access hash data <|file_sep|>updated/README.md
# get Safely, succinctly, access hash data ## Installation npm install jasonkuhrt-get ## API #### get(path, object) `path` - May be a `String` or `[String]`. `object` - Any object. `return` - If `path` lookup fails, the last found value. - If `path` lookup totally fails (not a single found key from `path` i...
<|file_sep|>original/README.md # get Safely, succinctly, access hash data <|file_sep|>current/README.md # get Safely, succinctly, access hash data <|file_sep|>updated/README.md # get Safely, succinctly, access hash data ## Installation npm install jasonkuhrt-get ## API #### get(path, object) `path` - May be...
10c8feb0820da7eb224eaea4681d2c6f5fa5448b
README.md
README.md
Markdown
<|file_sep|>original/lib/InputStringStream.js var Readable = require('readable-stream').Readable; var inherits = require('inherits'); function InputStringStream(str) { Readable.call(this); this._data = new Buffer(str); this._offset = 0; } inherits(InputStringStream, Readable); InputStringStream.prototype._read = ...
var Readable = require('readable-stream').Readable; var inherits = require('inherits'); function InputStringStream(str) { Readable.call(this); this.setEncoding('utf-8'); this._data = new Buffer(str); this._offset = 0; } inherits(InputStringStream, Readable); InputStringStream.prototype._read = function(size) { ...
<|file_sep|>original/lib/InputStringStream.js var Readable = require('readable-stream').Readable; var inherits = require('inherits'); function InputStringStream(str) { Readable.call(this); this._data = new Buffer(str); this._offset = 0; } inherits(InputStringStream, Readable); InputStringStream.prototype._read = ...
fe999d9507fde1f1672ba5314189a461ce777adf
lib/InputStringStream.js
lib/InputStringStream.js
JavaScript
<|file_sep|>original/.travis.yml language: cpp compiler: - clang - gcc before_script: - pip install --user cpp-coveralls script: - mkdir build && cd build && cmake .. && make - ctest -V after_success: - coveralls --exclude src/utils --exclude tests --exclude scripts --gcov-options '\-lp' os...
language: cpp compiler: - clang - gcc before_script: - pip install --user cpp-coveralls script: - mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=coverage && make - ctest -V after_success: - coveralls --exclude src/utils --exclude tests --exclude scripts --gcov-options '\-lp' os: ...
<|file_sep|>original/.travis.yml language: cpp compiler: - clang - gcc before_script: - pip install --user cpp-coveralls script: - mkdir build && cd build && cmake .. && make - ctest -V after_success: - coveralls --exclude src/utils --exclude tests --exclude scripts --gcov-options '\-lp' os...
5506504251c986c67ec6432f9e4bfebf85595184
.travis.yml
.travis.yml
YAML
<|file_sep|>src/main.rs.diff original: updated: use std::env; const HELP_MESSAGE: &str = r#" Usage: table -h | --help Options: -h --help Print help message "#; <|file_sep|>original/src/main.rs fn main() { println!("Hello, world!"); } <|file_sep|>current/src/main.rs use std::env; const HELP_MESSAGE: &str =...
use std::env; const HELP_MESSAGE: &str = r#" Usage: table -h | --help Options: -h --help Print help message "#; fn main() { for arg in env::args() { match &*arg { "-h" | "--help" => println!("{}", HELP_MESSAGE.trim()), _ => println!("TODO: implement other flags"), } ...
<|file_sep|>src/main.rs.diff original: updated: use std::env; const HELP_MESSAGE: &str = r#" Usage: table -h | --help Options: -h --help Print help message "#; <|file_sep|>original/src/main.rs fn main() { println!("Hello, world!"); } <|file_sep|>current/src/main.rs use std::env; const HELP_MESSAGE: &str =...
85d526886d93194f05c75dfb673dece681551e9b
src/main.rs
src/main.rs
Rust
<|file_sep|>asyncio_irc/message.py.diff original: class Message: updated: class Message(bytes): <|file_sep|>asyncio_irc/message.py.diff original: def __init__(self, raw_message): self.raw = raw_message updated: def __init__(self, raw_message_bytes_ignored): super().__init__() <|file_sep|>origina...
def __init__(self, raw_message_bytes_ignored): super().__init__() self.prefix, self.command, self.params, self.suffix = self._elements() def _elements(self): """ Split the raw message into it's component parts. Adapted from http://stackoverflow.com/a/930706/400691 ...
<|file_sep|>asyncio_irc/message.py.diff original: class Message: updated: class Message(bytes): <|file_sep|>asyncio_irc/message.py.diff original: def __init__(self, raw_message): self.raw = raw_message updated: def __init__(self, raw_message_bytes_ignored): super().__init__() <|file_sep|>origina...
04608636f6e4fc004458560499338af4b871cddb
asyncio_irc/message.py
asyncio_irc/message.py
Python
<|file_sep|>library/res/values/actionbarsherlock_colors.xml.diff original: <!-- Copyright (C) 2010 Johan Nilsson <http://markupartist.com> updated: <|file_sep|>library/res/values/actionbarsherlock_colors.xml.diff original: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this f...
<?xml version="1.0" encoding="utf-8"?> <resources> <color name="actionbarwatson_item_focused">#FF6899FF</color> </resources>
<|file_sep|>library/res/values/actionbarsherlock_colors.xml.diff original: <!-- Copyright (C) 2010 Johan Nilsson <http://markupartist.com> updated: <|file_sep|>library/res/values/actionbarsherlock_colors.xml.diff original: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this f...
e0606a3ed6c993915aaae820e748119a81c1e1b0
library/res/values/actionbarsherlock_colors.xml
library/res/values/actionbarsherlock_colors.xml
XML
<|file_sep|>original/libindy/src/lib.rs // TODO: FIXME: It must be removed after code layout stabilization! #![allow(dead_code)] #![allow(unused_variables)] #[macro_use] extern crate log; #[macro_use] extern crate serde_derive; #[macro_use] extern crate lazy_static; // Note that to use macroses from util inside of ...
// TODO: FIXME: It must be removed after code layout stabilization! #![allow(dead_code)] #![allow(unused_variables)] #[macro_use] extern crate log; #[macro_use] extern crate serde_derive; #[macro_use] extern crate serde_json; #[macro_use] extern crate lazy_static; // Note that to use macroses from util inside of ot...
<|file_sep|>original/libindy/src/lib.rs // TODO: FIXME: It must be removed after code layout stabilization! #![allow(dead_code)] #![allow(unused_variables)] #[macro_use] extern crate log; #[macro_use] extern crate serde_derive; #[macro_use] extern crate lazy_static; // Note that to use macroses from util inside of ...
c2a653873e3e3966ef7fd8baf7ecac7310ef556c
libindy/src/lib.rs
libindy/src/lib.rs
Rust
<|file_sep|>lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt.diff original: Compute the hyperbolic tangent of a number. updated: Computes the hyperbolic tangent of a number. <|file_sep|>lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt.diff original: Hyperbolic tangent (in radia...
Returns ------- y: number Hyperbolic tangent (in radians). Examples -------- > var y = {{alias}}( 0.0 ) 0.0 > var y = {{alias}}( -0.0 ) -0.0 > y = {{alias}}( 2.0 ) ~0.964 > y = {{alias}}( -2.0 ) ~-0.964 > y = {{alias}}( NaN ) NaN See Also ---...
<|file_sep|>lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt.diff original: Compute the hyperbolic tangent of a number. updated: Computes the hyperbolic tangent of a number. <|file_sep|>lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt.diff original: Hyperbolic tangent (in radia...
aed97e99b388854c4be859fb8466da20ea5334d2
lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt
lib/node_modules/@stdlib/math/base/special/tanh/docs/repl.txt
Text
<|file_sep|>original/src/tests/test-folderview.cpp <|file_sep|>current/src/tests/test-folderview.cpp <|file_sep|>updated/src/tests/test-folderview.cpp
#include <QApplication> #include <QMainWindow> #include <QToolBar> #include <QDir> #include <QDebug> #include "../core/folder.h" #include "../foldermodel.h" #include "../folderview.h" #include "../cachedfoldermodel.h" #include "../proxyfoldermodel.h" #include "../pathedit.h" int main(int argc, char** argv) { QAppl...
<|file_sep|>original/src/tests/test-folderview.cpp <|file_sep|>current/src/tests/test-folderview.cpp <|file_sep|>updated/src/tests/test-folderview.cpp #include <QApplication> #include <QMainWindow> #include <QToolBar> #include <QDir> #include <QDebug> #include "../core/folder.h" #include "../foldermodel.h" #include "...
dd621796bd14e92bfe632db8c110543cd4cc7c5b
src/tests/test-folderview.cpp
src/tests/test-folderview.cpp
C++
<|file_sep|>package.json.diff original: updated: "prebuild": "mkdir -p dist", <|file_sep|>original/package.json "name": "jupyter-display-area", "version": "0.0.0", "description": "Prototype Display area for Jupyter kernel rich output", "main": "dist/jupyter-display-area.html", "readme": "README.md", "s...
"name": "jupyter-display-area", "version": "0.0.0", "description": "Prototype Display area for Jupyter kernel rich output", "main": "dist/jupyter-display-area.html", "readme": "README.md", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prebuild": "mkdir -p dist", "build": "...
<|file_sep|>package.json.diff original: updated: "prebuild": "mkdir -p dist", <|file_sep|>original/package.json "name": "jupyter-display-area", "version": "0.0.0", "description": "Prototype Display area for Jupyter kernel rich output", "main": "dist/jupyter-display-area.html", "readme": "README.md", "s...
d113defde0310f1797fb4895c5858f8c446150e7
package.json
package.json
JSON
<|file_sep|>original/ibmcnx/doc/DataSources.py # Author: Christoph Stoettner # Mail: christoph.stoettner@stoeps.de # Documentation: http://scripting101.stoeps.de # # Version: 2.0 # Date: 2014-06-04 # # License: Apache 2.0 # # Check ExId of a User in all Connections Applicatio...
# # Author: Christoph Stoettner # Mail: christoph.stoettner@stoeps.de # Documentation: http://scripting101.stoeps.de # # Version: 2.0 # Date: 2014-06-04 # # License: Apache 2.0 # # Check ExId of a User in all Connections Applications import ibmcnx.functions cell = "'/Cell:"...
<|file_sep|>original/ibmcnx/doc/DataSources.py # Author: Christoph Stoettner # Mail: christoph.stoettner@stoeps.de # Documentation: http://scripting101.stoeps.de # # Version: 2.0 # Date: 2014-06-04 # # License: Apache 2.0 # # Check ExId of a User in all Connections Applicatio...
c39c362e949a7d89f92207d0b26bc9f6d61eacae
ibmcnx/doc/DataSources.py
ibmcnx/doc/DataSources.py
Python
<|file_sep|>original/manifest-generation/bosh2.0/overrides/standalone-mode.yml --- - type: replace path: /instance_groups/name=cf-mysql-broker/instances value: 0 - type: replace path: /properties/cf_mysql?/standalone value: true - type: replace path: /properties/cf_mysql?/smoke_tests? value: standalon...
--- - type: replace path: /instance_groups/name=broker/instances value: 0 - type: replace path: /properties/cf_mysql?/standalone value: true - type: replace path: /properties/cf_mysql?/smoke_tests? value: standalone_tests_only: true
<|file_sep|>original/manifest-generation/bosh2.0/overrides/standalone-mode.yml --- - type: replace path: /instance_groups/name=cf-mysql-broker/instances value: 0 - type: replace path: /properties/cf_mysql?/standalone value: true - type: replace path: /properties/cf_mysql?/smoke_tests? value: standalon...
71fd33b45ab4200e48407fdce8015a768028d1d0
manifest-generation/bosh2.0/overrides/standalone-mode.yml
manifest-generation/bosh2.0/overrides/standalone-mode.yml
YAML
<|file_sep|>original/docs/tutorial/BuildingAJIT5.rst <|file_sep|>current/docs/tutorial/BuildingAJIT5.rst <|file_sep|>updated/docs/tutorial/BuildingAJIT5.rst
============================================================================= Building a JIT: Remote-JITing -- Process Isolation and Laziness at a Distance ============================================================================= .. contents:: :local: **This tutorial is under active development. It is incomple...
<|file_sep|>original/docs/tutorial/BuildingAJIT5.rst <|file_sep|>current/docs/tutorial/BuildingAJIT5.rst <|file_sep|>updated/docs/tutorial/BuildingAJIT5.rst ============================================================================= Building a JIT: Remote-JITing -- Process Isolation and Laziness at a Distance =====...
f43e7e48eb168b718b526ebe2f5900dc5ba88c61
docs/tutorial/BuildingAJIT5.rst
docs/tutorial/BuildingAJIT5.rst
reStructuredText
<|file_sep|>original/_sass/_pjs.scss canvas.processing { width: 600px; height: 400px; margin: 0 auto; display: block; box-shadow: 0 0 1.5px 1.5px rgba(0, 0, 0, 0.25); } <|file_sep|>current/_sass/_pjs.scss canvas.processing { width: 600px; height: 400px; margin: 0 auto; display: block...
canvas.processing { width: 600px; height: 400px; margin: 2em auto; display: block; box-shadow: 0 0 1.5px 1.5px rgba(0, 0, 0, 0.25); }
<|file_sep|>original/_sass/_pjs.scss canvas.processing { width: 600px; height: 400px; margin: 0 auto; display: block; box-shadow: 0 0 1.5px 1.5px rgba(0, 0, 0, 0.25); } <|file_sep|>current/_sass/_pjs.scss canvas.processing { width: 600px; height: 400px; margin: 0 auto; display: block...
7b19528983062e21107dd9cc350eef242e3215a6
_sass/_pjs.scss
_sass/_pjs.scss
SCSS
<|file_sep|>original/.travis.yml only: - master services: docker env: matrix: - INSTANCE=resources-ubuntu-1604 - INSTANCE=network-ubuntu-1604 - INSTANCE=volume-ubuntu-1604 - INSTANCE=smoke-debian-7 - INSTANCE=smoke-debian-8 - INSTANCE=smoke-debian-9 - INSTANCE=smoke-centos-7 - INSTANCE=smoke-f...
only: - master services: docker env: matrix: - INSTANCE=resources-ubuntu-1604 - INSTANCE=network-ubuntu-1604 - INSTANCE=volume-ubuntu-1604 - INSTANCE=smoke-debian-8 - INSTANCE=smoke-debian-9 - INSTANCE=smoke-centos-7 - INSTANCE=smoke-fedora-26 - INSTANCE=smoke-ubuntu-1404 - INSTANCE=smoke-ub...
<|file_sep|>original/.travis.yml only: - master services: docker env: matrix: - INSTANCE=resources-ubuntu-1604 - INSTANCE=network-ubuntu-1604 - INSTANCE=volume-ubuntu-1604 - INSTANCE=smoke-debian-7 - INSTANCE=smoke-debian-8 - INSTANCE=smoke-debian-9 - INSTANCE=smoke-centos-7 - INSTANCE=smoke-f...
1ca6e7a57588eef66fcf743678dc5e3317ba180c
.travis.yml
.travis.yml
YAML
<|file_sep|>app/components/Help.js.diff original: updated: import * as styles from './Home.scss'; <|file_sep|>original/app/components/Help.js import React from 'react'; const Help = ({ activate }) => { return ( <button onClick={activate}>Help</button> ); }; export default Help; <|file_sep|>current/app/compon...
import React from 'react'; import * as styles from './Home.scss'; const Help = ({ activate }) => { return ( <button className={styles.helpButton} onClick={activate}>Help</button> ); }; export default Help;
<|file_sep|>app/components/Help.js.diff original: updated: import * as styles from './Home.scss'; <|file_sep|>original/app/components/Help.js import React from 'react'; const Help = ({ activate }) => { return ( <button onClick={activate}>Help</button> ); }; export default Help; <|file_sep|>current/app/compon...
9a10fbdb43131835c105a69ef37db5f9fdf4452a
app/components/Help.js
app/components/Help.js
JavaScript
<|file_sep|>packages/pt/ptr-poker.yaml.diff original: hash: 08e275678d21fc14684f5f86851e9d453c9690cd00cf8ea84728da16cf22cdaa updated: hash: d45a96afa1dc207e88533c3fa210411b89009f539b070a3b39206155ac71fd28 <|file_sep|>packages/pt/ptr-poker.yaml.diff original: updated: - 0.1.1.2 <|file_sep|>original/packages/pt/ptr-poke...
hedgehog: '>=1.0.3 && <2' gauge: '>=0.2.5 && <0.3' numeric-limits: '>=0.1 && <0.2' maintainer: Nikita Volkov <nikita.y.volkov@mail.ru> synopsis: Pointer poking action construction and composition toolkit changelog: '' basic-deps: bytestring: '>=0.10 && <0.12' base: '>=4.11 && <5' text: '>=1 && <2' scienti...
<|file_sep|>packages/pt/ptr-poker.yaml.diff original: hash: 08e275678d21fc14684f5f86851e9d453c9690cd00cf8ea84728da16cf22cdaa updated: hash: d45a96afa1dc207e88533c3fa210411b89009f539b070a3b39206155ac71fd28 <|file_sep|>packages/pt/ptr-poker.yaml.diff original: updated: - 0.1.1.2 <|file_sep|>original/packages/pt/ptr-poke...
0e5a58e5dfb3a3b83097456da1f42c87677015eb
packages/pt/ptr-poker.yaml
packages/pt/ptr-poker.yaml
YAML
<|file_sep|>original/public_html/updatescripts/update-conn.sh <|file_sep|>current/public_html/updatescripts/update-conn.sh <|file_sep|>updated/public_html/updatescripts/update-conn.sh
#!/bin/bash # Script to update a Raspberry Pi installation for the site using the short-code # which is part of the name of this script. ################ # The line below is parsed to find out which version this script will update the # installation to. The version number should be an integer and no other line is # a...
<|file_sep|>original/public_html/updatescripts/update-conn.sh <|file_sep|>current/public_html/updatescripts/update-conn.sh <|file_sep|>updated/public_html/updatescripts/update-conn.sh #!/bin/bash # Script to update a Raspberry Pi installation for the site using the short-code # which is part of the name of this scrip...
52c43e60a607951226e6477c7acc5c9f9642ac66
public_html/updatescripts/update-conn.sh
public_html/updatescripts/update-conn.sh
Shell
<|file_sep|>original/.github/workflows/ci.yml <|file_sep|>current/.github/workflows/ci.yml <|file_sep|>updated/.github/workflows/ci.yml
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see...
<|file_sep|>original/.github/workflows/ci.yml <|file_sep|>current/.github/workflows/ci.yml <|file_sep|>updated/.github/workflows/ci.yml # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # doc...
10dd5d1da0ed753ba459a79bcb3e84a7c0c8c10f
.github/workflows/ci.yml
.github/workflows/ci.yml
YAML
<|file_sep|>original/src/test/org/apache/commons/io/comparator/PackageTestSuite.java <|file_sep|>current/src/test/org/apache/commons/io/comparator/PackageTestSuite.java <|file_sep|>updated/src/test/org/apache/commons/io/comparator/PackageTestSuite.java
/* * 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 may ...
<|file_sep|>original/src/test/org/apache/commons/io/comparator/PackageTestSuite.java <|file_sep|>current/src/test/org/apache/commons/io/comparator/PackageTestSuite.java <|file_sep|>updated/src/test/org/apache/commons/io/comparator/PackageTestSuite.java /* * Licensed to the Apache Software Foundation (ASF) under one ...
14d831f24eb3ead27e436c3890ec0a24e50b5aca
src/test/org/apache/commons/io/comparator/PackageTestSuite.java
src/test/org/apache/commons/io/comparator/PackageTestSuite.java
Java
<|file_sep|>original/app/views/backend/pases/_form.html.erb <|file_sep|>current/app/views/backend/pases/_form.html.erb <|file_sep|>updated/app/views/backend/pases/_form.html.erb
<% #TODO: Area necesita el autocompletar %> <%= simple_form_for [:backend, resource] do |f| %> <%= f.association :area %> <%= f.input :descripcion, input_html: {rows: "10"} %> <%= f.input :ingreso, as: :string, input_html: { class: 'datepicker' } %> <%= f.input :fojas %> <%= f.input :expediente_id %> <%...
<|file_sep|>original/app/views/backend/pases/_form.html.erb <|file_sep|>current/app/views/backend/pases/_form.html.erb <|file_sep|>updated/app/views/backend/pases/_form.html.erb <% #TODO: Area necesita el autocompletar %> <%= simple_form_for [:backend, resource] do |f| %> <%= f.association :area %> <%= f.input...
b38767ad50f1a12fccb5d86dad9bc76f0c88479c
app/views/backend/pases/_form.html.erb
app/views/backend/pases/_form.html.erb
HTML+ERB
<|file_sep|>app/assets/stylesheets/components/_Form.scss.diff original: border: 1px solid $grey; border-radius: 0; updated: border: 1px solid $blue-light; border-radius: 3px; <|file_sep|>app/assets/stylesheets/components/_Form.scss.diff original: updated: line-height: 1.6; appearance: none; ...
input[type="checkbox"] { margin-right: 10px; } input[type="file"] { margin-bottom: 2rem; width: 100%; } .field_with_errors { input, textarea { border-color: $blue; } } } .Form--lines { }
<|file_sep|>app/assets/stylesheets/components/_Form.scss.diff original: border: 1px solid $grey; border-radius: 0; updated: border: 1px solid $blue-light; border-radius: 3px; <|file_sep|>app/assets/stylesheets/components/_Form.scss.diff original: updated: line-height: 1.6; appearance: none; ...
6977ee5395f313345768b7384e85454eb7535983
app/assets/stylesheets/components/_Form.scss
app/assets/stylesheets/components/_Form.scss
SCSS
<|file_sep|>salt/modules/rh_ip/eth.jinja.diff original: DEVICE={{name}} {% if addr %}HWADDR={{addr}} {%endif%}{% if userctl %}USERCTL={{userctl}} {%endif%}{% if master %}MASTER={{master}} {%endif%}{% if slave %}SLAVE={{slave}} {%endif%}{% if vlan %}VLAN={{vlan}} {%endif%}{% if proto %}BOOTPROTO={{proto}} {%endif%}{% if...
DEVICE="{{name}}" {% if addr %}HWADDR="{{addr}}" {%endif%}{% if userctl %}USERCTL="{{userctl}}" {%endif%}{% if master %}MASTER="{{master}}" {%endif%}{% if slave %}SLAVE="{{slave}}" {%endif%}{% if vlan %}VLAN="{{vlan}}" {%endif%}{% if proto %}BOOTPROTO="{{proto}}" {%endif%}{% if onboot %}ONBOOT="{{onboot}}" {%endif%}{% ...
<|file_sep|>salt/modules/rh_ip/eth.jinja.diff original: DEVICE={{name}} {% if addr %}HWADDR={{addr}} {%endif%}{% if userctl %}USERCTL={{userctl}} {%endif%}{% if master %}MASTER={{master}} {%endif%}{% if slave %}SLAVE={{slave}} {%endif%}{% if vlan %}VLAN={{vlan}} {%endif%}{% if proto %}BOOTPROTO={{proto}} {%endif%}{% if...
d7076e2649de0a17c6d38c7d1492e15933df230e
salt/modules/rh_ip/eth.jinja
salt/modules/rh_ip/eth.jinja
HTML+Django
<|file_sep|>docs/src/examples/over2.py.diff original: # Write the first 500 frames of the signal Note that the write_frames method updated: # Write the first 500 frames of the signal. Note that the write_frames method <|file_sep|>original/docs/src/examples/over2.py import numpy as np from scikits.audiolab import Format...
import numpy as np from scikits.audiolab import Format, Sndfile filename = 'foo.wav' # Create some data to save as audio data: one second of stereo white noise data = np.random.randn(48000, 2) # Create a Sndfile instance for writing wav files @ 48000 Hz format = Format('wav') f = Sndfile(filename, 'w', format, 2, 48...
<|file_sep|>docs/src/examples/over2.py.diff original: # Write the first 500 frames of the signal Note that the write_frames method updated: # Write the first 500 frames of the signal. Note that the write_frames method <|file_sep|>original/docs/src/examples/over2.py import numpy as np from scikits.audiolab import Format...
ddf87057213c1068eaf81c47796eb5f77be310b2
docs/src/examples/over2.py
docs/src/examples/over2.py
Python
<|file_sep|>original/public/humans.txt GOV.UK is built by a team at the Government Digital Service (with thanks to Martha!) in London, Bristol and Manchester. If you’d like to join us, see https://gdscareers.gov.uk/ <|file_sep|>current/public/humans.txt GOV.UK is built by a team at the Government Digital Service (with...
GOV.UK is built by a team at the Government Digital Service (with thanks to Martha!) in London, Bristol and Manchester. If you’d like to join us, see https://gdscareers.gov.uk/ Today we say bye to Ian James, Lead Frontend Developer on GOV.UK, after 4 years and 3 months at GDS. He is an integral part of the Frontend C...
<|file_sep|>original/public/humans.txt GOV.UK is built by a team at the Government Digital Service (with thanks to Martha!) in London, Bristol and Manchester. If you’d like to join us, see https://gdscareers.gov.uk/ <|file_sep|>current/public/humans.txt GOV.UK is built by a team at the Government Digital Service (with...
b05e2258b8e173201b74d1eb89e90bb2bcf961e6
public/humans.txt
public/humans.txt
Text
<|file_sep|>courriers/management/commands/mailjet_sync_unsubscribed.py.diff original: mailjet_contacts = backend.mailjet_api.contact.list() updated: mailjet_contacts = backend.mailjet_api.contact.list(unsub=1) <|file_sep|>original/courriers/management/commands/mailjet_sync_unsubscribed.py backen...
backend_klass = get_backend() backend = backend_klass() unsubscribed_users = (NewsletterSubscriber.objects.using(self.connection) .filter(is_unsubscribed=True) .values_list('emai...
<|file_sep|>courriers/management/commands/mailjet_sync_unsubscribed.py.diff original: mailjet_contacts = backend.mailjet_api.contact.list() updated: mailjet_contacts = backend.mailjet_api.contact.list(unsub=1) <|file_sep|>original/courriers/management/commands/mailjet_sync_unsubscribed.py backen...
ade3a316166d3c4c362becd7880e60bd9387b259
courriers/management/commands/mailjet_sync_unsubscribed.py
courriers/management/commands/mailjet_sync_unsubscribed.py
Python
<|file_sep|>polygraph/types/tests/test_union.py.diff original: @skip # FIXME updated: # @skip # FIXME <|file_sep|>polygraph/types/tests/test_union.py.diff original: updated: self.assertEqual(Union(String, Int, Float), Union(Float, String, Int, String)) <|file_sep|>polygraph/types/tests/test_union.py.diff ori...
Union(Union(String, Int), Float), Union(String, Int, Float), ) def test_pipe_operator(self): self.assertEqual( String | Int, Union(String, Int), ) @skip def test_pipe_operator_with_more_than_two_types(self): self.assertEqual( ...
<|file_sep|>polygraph/types/tests/test_union.py.diff original: @skip # FIXME updated: # @skip # FIXME <|file_sep|>polygraph/types/tests/test_union.py.diff original: updated: self.assertEqual(Union(String, Int, Float), Union(Float, String, Int, String)) <|file_sep|>polygraph/types/tests/test_union.py.diff ori...
0064ce135507df6ec5d5e3b70240b7483f2f9025
polygraph/types/tests/test_union.py
polygraph/types/tests/test_union.py
Python
<|file_sep|>rust/atbash-cipher/src/lib.rs.diff original: updated: const LA: u8 = b'a'; const LZ: u8 = b'z'; <|file_sep|>rust/atbash-cipher/src/lib.rs.diff original: let v = b'z' - c.to_ascii_lowercase() as u8 + b'a'; updated: let v = LZ - c.to_ascii_lowercase() as u8 + LA; <|file_sep|>...
index = 1; } acc.push(x); acc }) } pub fn decode(message: &str) -> String { message .chars() .filter_map(|c| match c { _ if c.is_ascii_digit() => Some(c), _ if c.is_ascii_lowercase() => { let v = LZ...
<|file_sep|>rust/atbash-cipher/src/lib.rs.diff original: updated: const LA: u8 = b'a'; const LZ: u8 = b'z'; <|file_sep|>rust/atbash-cipher/src/lib.rs.diff original: let v = b'z' - c.to_ascii_lowercase() as u8 + b'a'; updated: let v = LZ - c.to_ascii_lowercase() as u8 + LA; <|file_sep|>...
8d0fbd17c7e924c32c1b75f4634ba1f9165dfcf0
rust/atbash-cipher/src/lib.rs
rust/atbash-cipher/src/lib.rs
Rust
<|file_sep|>eg/accelerometer.js.diff original: accel.on("axischange", function( err, timestamp ) { updated: accel.on("axischange", function( err, data ) { <|file_sep|>original/eg/accelerometer.js accel.on("acceleration", function( err, data ) { console.log( "acceleration", data.smooth ); }); // "axischa...
accel.on("acceleration", function( err, data ) { console.log( "acceleration", data.smooth ); }); // "axischange" // // Fires only when X, Y or Z has changed // accel.on("axischange", function( err, data ) { console.log( "axischange", data.smooth ); }); }); // @markdown // // - [Triple Axis A...
<|file_sep|>eg/accelerometer.js.diff original: accel.on("axischange", function( err, timestamp ) { updated: accel.on("axischange", function( err, data ) { <|file_sep|>original/eg/accelerometer.js accel.on("acceleration", function( err, data ) { console.log( "acceleration", data.smooth ); }); // "axischa...
2395b99ee8350faa4da126fa28fc1ea1683db5d5
eg/accelerometer.js
eg/accelerometer.js
JavaScript
<|file_sep|>images/alpine/cloudbuild.yaml.diff original: updated: - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/alpine:$_GIT_TAG <|file_sep|>original/images/alpine/cloudbuild.yaml steps: - name: gcr.io/k8s-testimages/gcb-docker-gcloud entrypoint: /buildx-entrypoint args: - build - --tag=gcr.io/$PROJ...
steps: - name: gcr.io/k8s-testimages/gcb-docker-gcloud entrypoint: /buildx-entrypoint args: - build - --tag=gcr.io/$PROJECT_ID/alpine:$_GIT_TAG - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/alpine:$_GIT_TAG - --platform=linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x - --push - . ...
<|file_sep|>images/alpine/cloudbuild.yaml.diff original: updated: - --build-arg=IMAGE_ARG=gcr.io/$PROJECT_ID/alpine:$_GIT_TAG <|file_sep|>original/images/alpine/cloudbuild.yaml steps: - name: gcr.io/k8s-testimages/gcb-docker-gcloud entrypoint: /buildx-entrypoint args: - build - --tag=gcr.io/$PROJ...
6619107867345565f6c9aea75f03c416de9e60b3
images/alpine/cloudbuild.yaml
images/alpine/cloudbuild.yaml
YAML
<|file_sep|>tools/SourceKit/tools/sourcekitd/lib/API/CMakeLists.txt.diff original: if(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY) updated: if(APPLE AND HAVE_XPC_H) list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_Darwin_sources}) elseif(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY) <|file_sep|>original/tools/SourceKit/tools/sourcekit...
sourcekitdAPI-Common.cpp TokenAnnotationsArray.cpp ) set(sourcekitdAPI_Darwin_sources sourcekitdAPI-XPC.cpp) set(sourcekitdAPI_NonDarwin_InProc_sources sourcekitdAPI-InProc.cpp) set(LLVM_OPTIONAL_SOURCES ${sourcekitdAPI_Darwin_sources} ${sourcekitdAPI_NonDarwin_InProc_sources}) if(APPLE AND HAVE_XPC_H) list...
<|file_sep|>tools/SourceKit/tools/sourcekitd/lib/API/CMakeLists.txt.diff original: if(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY) updated: if(APPLE AND HAVE_XPC_H) list(APPEND sourcekitdAPI_sources ${sourcekitdAPI_Darwin_sources}) elseif(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY) <|file_sep|>original/tools/SourceKit/tools/sourcekit...
442a68bd717ac852666a1779edb2b21e80045d8f
tools/SourceKit/tools/sourcekitd/lib/API/CMakeLists.txt
tools/SourceKit/tools/sourcekitd/lib/API/CMakeLists.txt
Text
<|file_sep|>spec/components/counter.js.diff original: updated: <Counter className={style.counter} count={0} size="small" /> <|file_sep|>original/spec/components/counter.js <Heading1>Counters</Heading1> </Section> <div className="component-spec"> <div className="proper...
</Section> <div className="component-spec"> <div className="properties"> <p> <Counter className={style.counter} count={999} /> <Counter className={style.counter} count={9} size="small" /> <Counter className={style.counter} count={0} size="...
<|file_sep|>spec/components/counter.js.diff original: updated: <Counter className={style.counter} count={0} size="small" /> <|file_sep|>original/spec/components/counter.js <Heading1>Counters</Heading1> </Section> <div className="component-spec"> <div className="proper...
96c513bd5f02e01f682f06e9900d21a7db380012
spec/components/counter.js
spec/components/counter.js
JavaScript
<|file_sep|>original/component.json { "title": "sphere-order-xml-export", "description": "Converts each SPHERE.IO order into XML", "actions": { "services": { "title": "Sphere Order XML Export", "main": "elasticio.js", "title": "XML Export" } } } <|file_sep|>current/component.json { "...
{ "title": "sphere-order-xml-export", "description": "Converts each SPHERE.IO order into XML", "url" : "http://dev.sphere.io", "credentials": { "fields": { "sphereProjectKey": { "viewClass": "TextFieldView", "label": "Project Key", "required": true, "placeholder": "Past...
<|file_sep|>original/component.json { "title": "sphere-order-xml-export", "description": "Converts each SPHERE.IO order into XML", "actions": { "services": { "title": "Sphere Order XML Export", "main": "elasticio.js", "title": "XML Export" } } } <|file_sep|>current/component.json { "...
e8194b48641d36c3f6c888a84fb346ba31db2bc4
component.json
component.json
JSON
<|file_sep|>original/doc/CONTRIBUTING.md - Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent wit...
- Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent with tabs, align with spaces][5]. - Always u...
<|file_sep|>original/doc/CONTRIBUTING.md - Output of `bspwm -v`. - Content of `bspwmrc`. - Steps to reproduce the problem. ## Pull Requests ### Requirements You must be comfortable with [C][1], [XCB][2] and [Git][3]. ### Coding Style I follow the [Linux Coding Style][4] with the following variations: - [Indent wit...
40cd53a9ad87f13d403a47408423c60b17b05c9e
doc/CONTRIBUTING.md
doc/CONTRIBUTING.md
Markdown
<|file_sep|>spec/spec_helper.rb.diff original: updated: require 'fileutils' <|file_sep|>original/spec/spec_helper.rb require 'bundler/setup' require 'active_support/all' require 'rack/test' require 'delorean' require 'webmock/rspec' require 'rspec' require 'khronos' Khronos::Config.instance.load!('config/environment...
require 'bundler/setup' require 'active_support/all' require 'rack/test' require 'delorean' require 'webmock/rspec' require 'rspec' require 'khronos' require 'fileutils' FileUtils.mkdir_p('spec/tmp') Khronos::Config.instance.load!('config/environment.yml', ENV['RACK_ENV']) require 'factory_girl' def load_factory_gir...
<|file_sep|>spec/spec_helper.rb.diff original: updated: require 'fileutils' <|file_sep|>original/spec/spec_helper.rb require 'bundler/setup' require 'active_support/all' require 'rack/test' require 'delorean' require 'webmock/rspec' require 'rspec' require 'khronos' Khronos::Config.instance.load!('config/environment...
4d568a9975cf9752d1fc740b029140157e23643f
spec/spec_helper.rb
spec/spec_helper.rb
Ruby
<|file_sep|>original/src/cursor.js import BaseCursor from 'cursor'; import {calculatePadding} from "./util"; export class Cursor extends BaseCursor { writeBufferPadded(buffer) { let padding = calculatePadding(buffer.length); let paddingBuffer = new Buffer(padding); paddingBuffer.fill(0); return...
import BaseCursor from 'cursor'; import {calculatePadding} from "./util"; export class Cursor extends BaseCursor { writeBufferPadded(buffer) { let padding = calculatePadding(buffer.length); let paddingBuffer = new Buffer(padding); paddingBuffer.fill(0); return this .copyFrom(new Cursor(bu...
<|file_sep|>original/src/cursor.js import BaseCursor from 'cursor'; import {calculatePadding} from "./util"; export class Cursor extends BaseCursor { writeBufferPadded(buffer) { let padding = calculatePadding(buffer.length); let paddingBuffer = new Buffer(padding); paddingBuffer.fill(0); return...
36bac14848442eb3cff6f90e591a28c227662f87
src/cursor.js
src/cursor.js
JavaScript
<|file_sep|>original/src/Sylius/Bundle/TaxonomyBundle/Tests/Functional/app/config/config.yml assets: false translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.project_dir%/app/config/routing.yml" form: ~ csrf_protection: true default_locale: "%locale...
assets: false translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.project_dir%/app/config/routing.yml" form: ~ csrf_protection: true default_locale: "%locale%" session: handler_id: ~ storage_factory_id: session.storage.factory.moc...
<|file_sep|>original/src/Sylius/Bundle/TaxonomyBundle/Tests/Functional/app/config/config.yml assets: false translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.project_dir%/app/config/routing.yml" form: ~ csrf_protection: true default_locale: "%locale...
f028d8b52144a23d5050e7f5f1f9e1951900dcea
src/Sylius/Bundle/TaxonomyBundle/Tests/Functional/app/config/config.yml
src/Sylius/Bundle/TaxonomyBundle/Tests/Functional/app/config/config.yml
YAML
<|file_sep|>original/chrome/test/data/speech/web_speech_api_test-iframe.html <|file_sep|>current/chrome/test/data/speech/web_speech_api_test-iframe.html <|file_sep|>updated/chrome/test/data/speech/web_speech_api_test-iframe.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>Web Speech API IFRAME Manual Test</title> <meta charset="utf-8"> </head> <body> <iframe width="100%" height="100%" src="web_speech_api_test.html"></iframe> </body> </html>
<|file_sep|>original/chrome/test/data/speech/web_speech_api_test-iframe.html <|file_sep|>current/chrome/test/data/speech/web_speech_api_test-iframe.html <|file_sep|>updated/chrome/test/data/speech/web_speech_api_test-iframe.html <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>Web Speech API IFRA...
9d91f6d11ef70331c129ff6a18a86e1cd1aee439
chrome/test/data/speech/web_speech_api_test-iframe.html
chrome/test/data/speech/web_speech_api_test-iframe.html
HTML
<|file_sep|>original/misc/travis.sh #!/bin/sh VERSION=2.0.5 TEMP=$(mktemp --directory hlint-XXXXX) mkdir $TEMP curl -o$TEMP/hlint.tar.gz -L --insecure https://github.com/ndmitchell/hlint/releases/download/v$VERSION/hlint-$VERSION-x86_64-linux.tar.gz tar -xzf $TEMP/hlint.tar.gz -C$TEMP $TEMP/hlint-$VERSION/hlint $* <|fi...
#!/bin/sh VERSION=2.0.5 TEMP=$(mktemp --directory .hlint-XXXXX) mkdir $TEMP curl -o$TEMP/hlint.tar.gz -L --insecure https://github.com/ndmitchell/hlint/releases/download/v$VERSION/hlint-$VERSION-x86_64-linux.tar.gz tar -xzf $TEMP/hlint.tar.gz -C$TEMP $TEMP/hlint-$VERSION/hlint $*
<|file_sep|>original/misc/travis.sh #!/bin/sh VERSION=2.0.5 TEMP=$(mktemp --directory hlint-XXXXX) mkdir $TEMP curl -o$TEMP/hlint.tar.gz -L --insecure https://github.com/ndmitchell/hlint/releases/download/v$VERSION/hlint-$VERSION-x86_64-linux.tar.gz tar -xzf $TEMP/hlint.tar.gz -C$TEMP $TEMP/hlint-$VERSION/hlint $* <|fi...
63998a223fedb02bfe4dad4d6528368437a03702
misc/travis.sh
misc/travis.sh
Shell
<|file_sep|>original/.zuul.yaml - project: templates: - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - openstackclient-plugin-jobs <|file_sep|>current/.zuul.yaml - project: templates: - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - openstackclie...
- project: templates: - openstack-python3-xena-jobs - publish-openstack-docs-pti - openstackclient-plugin-jobs
<|file_sep|>original/.zuul.yaml - project: templates: - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - openstackclient-plugin-jobs <|file_sep|>current/.zuul.yaml - project: templates: - openstack-python3-wallaby-jobs - publish-openstack-docs-pti - openstackclie...
60df9b4035a40cfd1071731a966e99789e624dea
.zuul.yaml
.zuul.yaml
YAML
<|file_sep|>gtksharp_clock/Program.cs.diff original: updated: // http://www.mono-project.com/docs/gui/gtksharp/widgets/widget-colours/ <|file_sep|>gtksharp_clock/Program.cs.diff original: MainWindow win = new MainWindow(); updated: ClockWindow win = new ClockWindow (); <|file_sep|>original/gtksharp_clock/Progra...
class MainClass { public static void Main(string[] args) { Application.Init(); ClockWindow win = new ClockWindow (); win.Show(); Application.Run(); } } class ClockWindow : Window { public ClockWindow() : base("ClockWindow") { SetDefaultSize(250, 200); SetPosition(WindowPosition.Center)...
<|file_sep|>gtksharp_clock/Program.cs.diff original: updated: // http://www.mono-project.com/docs/gui/gtksharp/widgets/widget-colours/ <|file_sep|>gtksharp_clock/Program.cs.diff original: MainWindow win = new MainWindow(); updated: ClockWindow win = new ClockWindow (); <|file_sep|>original/gtksharp_clock/Progra...
26dda4aa0650a17ff0cd7b8f1a70cf9a5e66cb0c
gtksharp_clock/Program.cs
gtksharp_clock/Program.cs
C#
<|file_sep|>original/lib/docparser/output/xlsx_output.rb require 'axlsx' module DocParser # The XLSXOutput class generates Microsoft Excel compatible .xlsx files # using the great axslx library # @see Output class XLSXOutput < Output # @!visibility private def open_file @package = Axlsx::Package.n...
require 'axlsx' module DocParser # The XLSXOutput class generates Microsoft Excel compatible .xlsx files # using the great axslx library # @see Output class XLSXOutput < Output # @!visibility private def open_file @package = Axlsx::Package.new @package.workbook.date1904 = false # Fix for OS ...
<|file_sep|>original/lib/docparser/output/xlsx_output.rb require 'axlsx' module DocParser # The XLSXOutput class generates Microsoft Excel compatible .xlsx files # using the great axslx library # @see Output class XLSXOutput < Output # @!visibility private def open_file @package = Axlsx::Package.n...
e5d0fe31b11769da24b995305f184d0d5147d4a2
lib/docparser/output/xlsx_output.rb
lib/docparser/output/xlsx_output.rb
Ruby
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: bundle exec rspec <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: bundle exec rspec <|file_sep|>updated/.travis.yml
rvm: - 1.9.3 - 2.0.0 - 2.1.0 before_script: - psql -c 'CREATE DATABASE diffux_test;' -U postgres script: bundle exec rspec
<|file_sep|>original/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: bundle exec rspec <|file_sep|>current/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.0 script: bundle exec rspec <|file_sep|>updated/.travis.yml rvm: - 1.9.3 - 2.0.0 - 2.1.0 before_script: - psql -c 'CREATE DATABASE diffux_test;' -U postg...
4247be0b0e10920bf5de2ceda2a46f64304a4c5d
.travis.yml
.travis.yml
YAML
<|file_sep|>prototype/BioID.py.diff original: defs = None updated: defs = None <|file_sep|>prototype/BioID.py.diff original: def __init__(self, defpath): with open(defpath, "r") as deffile: conts = deffile.read() self.defs = json.loads(conts)["formats"] updated: def __init__(self, ...
for fdef in cls.defs: matched = True if "regexen" in fdef: for regex in fdef["regexen"]: if not re.findall(regex.replace("\\n", "\n"), buff, re.IGNORECASE): matched = False break if "bytes" in fdef: for bytes in fdef["bytes"]: if mem_map.find(bytes.decode("string_escape")...
<|file_sep|>prototype/BioID.py.diff original: defs = None updated: defs = None <|file_sep|>prototype/BioID.py.diff original: def __init__(self, defpath): with open(defpath, "r") as deffile: conts = deffile.read() self.defs = json.loads(conts)["formats"] updated: def __init__(self, ...
e2d51e23f530202b82ba13ae11c686deb1388435
prototype/BioID.py
prototype/BioID.py
Python
<|file_sep|>original/{{cookiecutter.project_slug}}/_/frameworks/Flask/requirements.txt # pip-compile --output-file=requirements.txt requirements.in # {%- if cookiecutter.monitoring == 'Sentry' %} blinker==1.5 # via sentry-sdk certifi==2022.6.15 # via sentry-sdk {%- endif %} click==8.1.3 # via flask flask...
# pip-compile --output-file=requirements.txt requirements.in # {%- if cookiecutter.monitoring == 'Sentry' %} blinker==1.5 # via sentry-sdk certifi==2022.6.15 # via sentry-sdk {%- endif %} click==8.1.3 # via flask flask==2.2.2 # via # -r requirements.in # sentry-sdk itsdangerous==2.1.2 ...
<|file_sep|>original/{{cookiecutter.project_slug}}/_/frameworks/Flask/requirements.txt # pip-compile --output-file=requirements.txt requirements.in # {%- if cookiecutter.monitoring == 'Sentry' %} blinker==1.5 # via sentry-sdk certifi==2022.6.15 # via sentry-sdk {%- endif %} click==8.1.3 # via flask flask...
258777418d8073b3c110fb216d69c15907464104
{{cookiecutter.project_slug}}/_/frameworks/Flask/requirements.txt
{{cookiecutter.project_slug}}/_/frameworks/Flask/requirements.txt
Text
<|file_sep|>original/project/plugins.sbt scalaVersion := "2.10.6" addSbtPlugin("com.eed3si9n" % "sbt-doge" % "0.1.5") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4") addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5") addSbtPlugin("com.typesafe.sbt" % "sbt-javaversioncheck" % "0.1.0") addSbtPlugin("com.t...
scalaVersion := "2.10.6" addSbtPlugin("com.eed3si9n" % "sbt-doge" % "0.1.5") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4") addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5") addSbtPlugin("com.typesafe.sbt" % "sbt-javaversioncheck" % "0.1.0") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "...
<|file_sep|>original/project/plugins.sbt scalaVersion := "2.10.6" addSbtPlugin("com.eed3si9n" % "sbt-doge" % "0.1.5") addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4") addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5") addSbtPlugin("com.typesafe.sbt" % "sbt-javaversioncheck" % "0.1.0") addSbtPlugin("com.t...
682d91c3c6ba6bd248318263adf15b5572d4d58c
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>.travis.yml.diff original: updated: services: - mysql <|file_sep|>original/.travis.yml language: python python: - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev addons: postgresql: "9.3" before_script: - psql -c 'create database test;' -U postgres...
language: python python: - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev addons: postgresql: "9.3" services: - mysql before_script: - psql -c 'create database test;' -U postgres - psql test -c 'CREATE EXTENSION IF NOT EXISTS hstore' -U postgres - mysql -e...
<|file_sep|>.travis.yml.diff original: updated: services: - mysql <|file_sep|>original/.travis.yml language: python python: - "3.4" - "3.5" - "3.5-dev" # 3.5 development branch - "nightly" # currently points to 3.6-dev addons: postgresql: "9.3" before_script: - psql -c 'create database test;' -U postgres...
8857837e5c222fa13b526f8917abde14dab4e8d9
.travis.yml
.travis.yml
YAML
<|file_sep|>original/labelprinterServeConf.py # PRINTER PRINTER_TIMEOUT = 10 # in seconds PRINTER_HOST = '172.22.26.67' PRINTER_PORT = 9100 # error logging SENTRY_DSN = None # try to overwrite default vars with the local config file try: from labelprinterServeConf_local import * except ImportError: pass # l...
# error logging SENTRY_DSN = None # try to overwrite default vars with the local config file try: from labelprinterServeConf_local import * except ImportError: pass # loop over all local vars and overwrite with found environ vars for name in list(vars().keys()): if name.isupper() and name in os.environ: ...
<|file_sep|>original/labelprinterServeConf.py # PRINTER PRINTER_TIMEOUT = 10 # in seconds PRINTER_HOST = '172.22.26.67' PRINTER_PORT = 9100 # error logging SENTRY_DSN = None # try to overwrite default vars with the local config file try: from labelprinterServeConf_local import * except ImportError: pass # l...
dbdab865343c0c17655fb662ac5e939eb24758c8
labelprinterServeConf.py
labelprinterServeConf.py
Python
<|file_sep|>original/fabfile.py @task def deploy(): local('git push origin development') local('git checkout master') local('git merge development') local('git push origin master') with cd('/var/www/twweb'): run('git fetch origin') run('git merge origin/master') run('npm in...
@task def deploy(): local('git push origin development') local('git checkout master') local('git merge development') local('git push origin master') with cd('/var/www/twweb'): run('git fetch origin') run('git merge origin/master') run('npm install') run('grunt ember...
<|file_sep|>original/fabfile.py @task def deploy(): local('git push origin development') local('git checkout master') local('git merge development') local('git push origin master') with cd('/var/www/twweb'): run('git fetch origin') run('git merge origin/master') run('npm in...
32cdc4fa334f3d415c0ce8f4fa37fa7d4c721915
fabfile.py
fabfile.py
Python
<|file_sep|>original/tw-cover-comp.py <|file_sep|>current/tw-cover-comp.py <|file_sep|>updated/tw-cover-comp.py
#!/usr/bin/env python3 import sys from PIL import Image COVER_HEIGHT = 480 BORDER_WIDTH = 10 BACKGROUND_COLOR = (39, 46, 111, 0) def gather_covers(input_files): '''Given a list of files, return a list of resized RGB images''' result = [] for input_file in sys.argv[1:]: img = Image.open(input_f...
<|file_sep|>original/tw-cover-comp.py <|file_sep|>current/tw-cover-comp.py <|file_sep|>updated/tw-cover-comp.py #!/usr/bin/env python3 import sys from PIL import Image COVER_HEIGHT = 480 BORDER_WIDTH = 10 BACKGROUND_COLOR = (39, 46, 111, 0) def gather_covers(input_files): '''Given a list of files, return a l...
ca08020793926adad524ddab6ccb5dee8d3e2cc5
tw-cover-comp.py
tw-cover-comp.py
Python
<|file_sep|>tests/JavaTest.sh.diff original: #!/bin/sh updated: #!/bin/bash <|file_sep|>original/tests/JavaTest.sh testdir=$(readlink -fn `dirname $0`) thisdir=$(readlink -fn `pwd`) targetdir=${testdir}/target if [[ "$testdir" != "$thisdir" ]]; then echo error: must be run from inside the ${testdir} directory echo...
thisdir=$(readlink -fn `pwd`) targetdir=${testdir}/target if [[ "$testdir" != "$thisdir" ]]; then echo error: must be run from inside the ${testdir} directory echo you ran it from ${thisdir} exit 1 fi find ../ -name "*.class" | xargs rm #find .. -type f -name "*.class" -exec rm {} \; if [[ -e "${targetdir}" ]]; ...
<|file_sep|>tests/JavaTest.sh.diff original: #!/bin/sh updated: #!/bin/bash <|file_sep|>original/tests/JavaTest.sh testdir=$(readlink -fn `dirname $0`) thisdir=$(readlink -fn `pwd`) targetdir=${testdir}/target if [[ "$testdir" != "$thisdir" ]]; then echo error: must be run from inside the ${testdir} directory echo...
3bb9b839b8aa5f8476126c9be067ae883f065099
tests/JavaTest.sh
tests/JavaTest.sh
Shell
<|file_sep|>original/base/ios/ios_util.mm int32* digits = new int32[3]; base::SysInfo::OperatingSystemVersionNumbers( &digits[0], &digits[1], &digits[2]); return digits; } } // namespace namespace base { namespace ios { bool IsRunningOnIOS8OrLater() { return IsRunningOnOrLater(8, 0, 0); } bool IsRunni...
int32* digits = new int32[3]; base::SysInfo::OperatingSystemVersionNumbers( &digits[0], &digits[1], &digits[2]); return digits; } } // namespace namespace base { namespace ios { // When dropping iOS7 support, also address issues listed in crbug.com/502968. bool IsRunningOnIOS8OrLater() { return IsRunni...
<|file_sep|>original/base/ios/ios_util.mm int32* digits = new int32[3]; base::SysInfo::OperatingSystemVersionNumbers( &digits[0], &digits[1], &digits[2]); return digits; } } // namespace namespace base { namespace ios { bool IsRunningOnIOS8OrLater() { return IsRunningOnOrLater(8, 0, 0); } bool IsRunni...
367f10917d6ef2036958a460229ed0cce2b808ed
base/ios/ios_util.mm
base/ios/ios_util.mm
Objective-C++
<|file_sep|>bower.json.diff original: "version": "0.6.2", updated: "version": "0.6.3", <|file_sep|>original/bower.json { "name": "basic-fade-overflow", "description": "Fade out content that overflows so the user knows there's more", "version": "0.6.2", "license": "MIT", "main": "basic-fade-overflow.html",...
{ "name": "basic-fade-overflow", "description": "Fade out content that overflows so the user knows there's more", "version": "0.6.3", "license": "MIT", "main": "basic-fade-overflow.html", "dependencies": { "polymer": "Polymer/polymer#^1.1" }, "devDependencies": { "basic-framed-content": "basic-w...
<|file_sep|>bower.json.diff original: "version": "0.6.2", updated: "version": "0.6.3", <|file_sep|>original/bower.json { "name": "basic-fade-overflow", "description": "Fade out content that overflows so the user knows there's more", "version": "0.6.2", "license": "MIT", "main": "basic-fade-overflow.html",...
94b66c5c9d8ccc2f7c2d012fd846428930750892
bower.json
bower.json
JSON
<|file_sep|>original/packaging/etc/waldur/uwsgi.ini # Waldur uWSGI configuration file # # See also: http://uwsgi-docs.readthedocs.io/en/latest/Configuration.html#ini-files [uwsgi] chmod-socket = 666 gid = waldur logto = /var/log/waldur/uwsgi.log module = waldur_core.server.wsgi:application plugins = python processes =...
# Waldur uWSGI configuration file # # See also: http://uwsgi-docs.readthedocs.io/en/latest/Configuration.html#ini-files [uwsgi] chmod-socket = 666 gid = waldur logto = /var/log/waldur/uwsgi.log module = waldur_core.server.wsgi:application plugins = python36 processes = 4 socket = /run/waldur/uwsgi/uwsgi.sock static-ma...
<|file_sep|>original/packaging/etc/waldur/uwsgi.ini # Waldur uWSGI configuration file # # See also: http://uwsgi-docs.readthedocs.io/en/latest/Configuration.html#ini-files [uwsgi] chmod-socket = 666 gid = waldur logto = /var/log/waldur/uwsgi.log module = waldur_core.server.wsgi:application plugins = python processes =...
f41f9c0fa73931946c126c0f1b3b9196a4149a54
packaging/etc/waldur/uwsgi.ini
packaging/etc/waldur/uwsgi.ini
INI
<|file_sep|>original/.idea/modules.xml <?xml version="1.0" encoding="UTF-8"?> <project relativePaths="false" version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/Orbeon Forms.iml" filepath="$PROJECT_DIR$/Orbeon Forms.iml" /> </modules> </component> </pro...
<?xml version="1.0" encoding="UTF-8"?> <project relativePaths="false" version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/Orbeon Forms.iml" filepath="$PROJECT_DIR$/.idea/Orbeon Forms.iml" /> </modules> </component> </project>
<|file_sep|>original/.idea/modules.xml <?xml version="1.0" encoding="UTF-8"?> <project relativePaths="false" version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/Orbeon Forms.iml" filepath="$PROJECT_DIR$/Orbeon Forms.iml" /> </modules> </component> </pro...
74f175a9aa826f44e829179a8a552b4c4cdb2eb3
.idea/modules.xml
.idea/modules.xml
XML
<|file_sep|>spec/views/external_activities/edit.html.haml_spec.rb.diff original: it 'should show the offical checkbox to project admins of the project material' do updated: it 'should not show the offical checkbox to project admins of the project material' do <|file_sep|>original/spec/views/external_activities/edit...
assert_select("input[id=?]", 'external_activity_is_official') end it 'should not show the is_official check box to users without permissions' do allow(view).to receive(:current_user).and_return(FactoryBot.generate(:author_user)) render assert_select "input[id=?]", 'external_activity_is_official', f...
<|file_sep|>spec/views/external_activities/edit.html.haml_spec.rb.diff original: it 'should show the offical checkbox to project admins of the project material' do updated: it 'should not show the offical checkbox to project admins of the project material' do <|file_sep|>original/spec/views/external_activities/edit...
c03cd4770328c9db51d9d76d1ec1c95347476a12
spec/views/external_activities/edit.html.haml_spec.rb
spec/views/external_activities/edit.html.haml_spec.rb
Ruby
<|file_sep|>original/package.json "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", "@types/node": "16.11.41", ...
"license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", "@types/node": "16.11.41", "core-js": "3.23.1", "mocha"...
<|file_sep|>original/package.json "license": "MIT", "bugs": { "url": "https://github.com/cucumber/cucumber/issues" }, "homepage": "https://github.com/cucumber/gherkin-javascript", "devDependencies": { "@cucumber/gherkin-streams": "^5.0.1", "@types/mocha": "9.1.1", "@types/node": "16.11.41", ...
30bbbf4bee35a66cf036f0775fccf2cba012777c
package.json
package.json
JSON
<|file_sep|>original/bower.json "description": "A simple and lightweight mixin library for Sass.", "version": "5.0.0.alpha.0", "main": "core/_bourbon.scss", "license": "MIT", "ignore": [ "**/.*", "_site", "bin", "bourbon.gemspec", "CONTRIBUTING.md", "features", "Gemfile", "Gemf...
"description": "A simple and lightweight mixin library for Sass.", "version": "5.0.0.alpha.0", "main": "core/_bourbon.scss", "license": "MIT", "ignore": [ "**/.*", "_site", "bin", "bourbon.gemspec", "CONTRIBUTING.md", "eyeglass-exports.js", "features", "Gemfile", "Gemfile.l...
<|file_sep|>original/bower.json "description": "A simple and lightweight mixin library for Sass.", "version": "5.0.0.alpha.0", "main": "core/_bourbon.scss", "license": "MIT", "ignore": [ "**/.*", "_site", "bin", "bourbon.gemspec", "CONTRIBUTING.md", "features", "Gemfile", "Gemf...
bc0246f6a5e860e04b2d60571c8f2a370a2c29fd
bower.json
bower.json
JSON
<|file_sep|>original/test/SILPasses/devirt_extension.swift protocol DrawingElementType : DrawingElementDispatchType { var boundingBox: Int32 {get} } struct D : DrawingElementType { var boundingBox: Int32 = 42 } // Check that that boundingBox is devirtualized and inlined. // CHECK: sil @{{.*}}test1111 // bb0: // C...
protocol DrawingElementType : DrawingElementDispatchType { var boundingBox: Int32 {get} } struct D : DrawingElementType { var boundingBox: Int32 = 42 } // Check that that boundingBox is devirtualized and inlined. // CHECK: sil @{{.*}}test1111 // bb0: // CHECK-NOT: class_method // CHECK-NOT: witness_method // CHEC...
<|file_sep|>original/test/SILPasses/devirt_extension.swift protocol DrawingElementType : DrawingElementDispatchType { var boundingBox: Int32 {get} } struct D : DrawingElementType { var boundingBox: Int32 = 42 } // Check that that boundingBox is devirtualized and inlined. // CHECK: sil @{{.*}}test1111 // bb0: // C...
e2ec20781f9e61442e478aba42943c25f9ccd4df
test/SILPasses/devirt_extension.swift
test/SILPasses/devirt_extension.swift
Swift
<|file_sep|>setup-files/setup-gtags.el.diff original: ;; Time-stamp: <2014-08-19 12:15:30 kmodi> updated: ;; Time-stamp: <2014-11-19 10:19:17 kmodi> <|file_sep|>setup-files/setup-gtags.el.diff original: updated: (setq ggtags-navigation-mode-lighter nil) <|file_sep|>original/setup-files/setup-gtags.el ;; Time-stamp...
;; Time-stamp: <2014-11-19 10:19:17 kmodi> ;; gtags, GNU global (req-package ggtags :require (verilog-mode key-chord) :init (progn (setq ggtags-navigation-mode-lighter nil) (dolist (hook '(verilog-mode-hook matlab-mode-hook c-mode-hook)) (add-hook hook 'ggta...
<|file_sep|>setup-files/setup-gtags.el.diff original: ;; Time-stamp: <2014-08-19 12:15:30 kmodi> updated: ;; Time-stamp: <2014-11-19 10:19:17 kmodi> <|file_sep|>setup-files/setup-gtags.el.diff original: updated: (setq ggtags-navigation-mode-lighter nil) <|file_sep|>original/setup-files/setup-gtags.el ;; Time-stamp...
3d9338adfafd760b1960da21fc97f214b59fea1e
setup-files/setup-gtags.el
setup-files/setup-gtags.el
Emacs Lisp
<|file_sep|>client.src/shared/views/gistbook-view/views/text/edit/index.js.diff original: // Get the value of the element updated: // Get the value of the element, // stripping line breaks from the // start and end <|file_sep|>original/client.src/shared/views/gistbook-view/views/text/edit/index.js // // textEdi...
// // textEditView // Modify text based on a textarea // import ItemView from 'base/item-view'; export default ItemView.extend({ template: 'editTextView', tagName: 'textarea', className: 'gistbook-textarea', // Get the value of the element, // stripping line breaks from the // start and end value() {...
<|file_sep|>client.src/shared/views/gistbook-view/views/text/edit/index.js.diff original: // Get the value of the element updated: // Get the value of the element, // stripping line breaks from the // start and end <|file_sep|>original/client.src/shared/views/gistbook-view/views/text/edit/index.js // // textEdi...
358d2a9b5d2959031fa685045a9f1a07f2d27c78
client.src/shared/views/gistbook-view/views/text/edit/index.js
client.src/shared/views/gistbook-view/views/text/edit/index.js
JavaScript
<|file_sep|>original/opentreemap/treemap/css/sass/partials/_calculator.scss margin-bottom: 10px; display: block; > i { margin-right: 5px; } } th { font-size: 1em; } tr { td { width: 50%; } } input { margin:...
margin-bottom: 10px; display: block; > i { margin-right: 5px; } } th { font-size: 1em; font-weight: 300; } tr { td { width: 50%; } } input { margin: 0; } }
<|file_sep|>original/opentreemap/treemap/css/sass/partials/_calculator.scss margin-bottom: 10px; display: block; > i { margin-right: 5px; } } th { font-size: 1em; } tr { td { width: 50%; } } input { margin:...
7e9eac8059a832b986eec15ba720599a00b6b6c7
opentreemap/treemap/css/sass/partials/_calculator.scss
opentreemap/treemap/css/sass/partials/_calculator.scss
SCSS
<|file_sep|>original/launch/FilteredLoader.scala package xsbt.boot import BootConfiguration.{IvyPackage, JLinePackagePath, SbtBootPackage, ScalaPackage} /** A custom class loader to ensure the main part of sbt doesn't load any Scala or * Ivy classes from the jar containing the loader. */ private[boot] final class Boo...
package xsbt.boot import BootConfiguration.{IvyPackage, JLinePackagePath, SbtBootPackage, ScalaPackage} /** A custom class loader to ensure the main part of sbt doesn't load any Scala or * Ivy classes from the jar containing the loader. */ private[boot] final class BootFilteredLoader(parent: ClassLoader) extends Clas...
<|file_sep|>original/launch/FilteredLoader.scala package xsbt.boot import BootConfiguration.{IvyPackage, JLinePackagePath, SbtBootPackage, ScalaPackage} /** A custom class loader to ensure the main part of sbt doesn't load any Scala or * Ivy classes from the jar containing the loader. */ private[boot] final class Boo...
04198061bc2d32577b1b8c037b21385e2d0165c2
launch/FilteredLoader.scala
launch/FilteredLoader.scala
Scala
<|file_sep|>original/css/landing.scss --- --- header , section { display: flex; height: 600px; background-color: #CCF; flex-direction: column; } nav { text-align: center; } ul { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } <|file_sep|>current/css/landing.scss ---...
--- --- header , section { display: flex; height: 100vh; min-height: 480px; background-color: #CCF; flex-direction: column; } nav { text-align: center; } ul { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
<|file_sep|>original/css/landing.scss --- --- header , section { display: flex; height: 600px; background-color: #CCF; flex-direction: column; } nav { text-align: center; } ul { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } <|file_sep|>current/css/landing.scss ---...
4db2994b36808b16cc2802c635bfbbc5d9e12519
css/landing.scss
css/landing.scss
SCSS
<|file_sep|>.travis.yml.diff original: - 5.5 - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff original: updated: - 7.3 - 7.4snapshot <|file_sep|>.travis.yml.diff original: - php: 5.5 updated: - php: 7.4snapshot <|file_sep|>.travis.yml.diff original: - if [[ "${TRAVIS_PHP_VERSION}" == "5.5" ]]; then c...
language: php php: - 7.1 - 7.2 - 7.3 - 7.4snapshot matrix: allow_failures: - php: 7.4snapshot install: - travis_retry composer install --no-interaction --prefer-source script: - vendor/bin/phpstan analyse -l max src/ tests/ - vendor/bin/phpunit --coverage-text --coverage-clover coverage.xml
<|file_sep|>.travis.yml.diff original: - 5.5 - 5.6 - 7.0 updated: <|file_sep|>.travis.yml.diff original: updated: - 7.3 - 7.4snapshot <|file_sep|>.travis.yml.diff original: - php: 5.5 updated: - php: 7.4snapshot <|file_sep|>.travis.yml.diff original: - if [[ "${TRAVIS_PHP_VERSION}" == "5.5" ]]; then c...
0ed091bc348bbcfe8724500a084ee7c25379955f
.travis.yml
.travis.yml
YAML
<|file_sep|>examples/translations/portuguese_test_1.py.diff original: self.verificar_elemento('[title="Visitar a página principal"]') updated: self.verificar_elemento('[title="Língua portuguesa"]') <|file_sep|>examples/translations/portuguese_test_1.py.diff original: self.verificar_texto("São Pa...
class MinhaClasseDeTeste(CasoDeTeste): def test_exemplo_1(self): self.abrir_url("https://pt.wikipedia.org/wiki/") self.verificar_texto("Wikipédia") self.verificar_elemento('[title="Língua portuguesa"]') self.atualizar_texto("#searchInput", "Rio de Janeiro") self.clique("#s...
<|file_sep|>examples/translations/portuguese_test_1.py.diff original: self.verificar_elemento('[title="Visitar a página principal"]') updated: self.verificar_elemento('[title="Língua portuguesa"]') <|file_sep|>examples/translations/portuguese_test_1.py.diff original: self.verificar_texto("São Pa...
dffbc7d79c67c3629f718c7a0330f9922499640d
examples/translations/portuguese_test_1.py
examples/translations/portuguese_test_1.py
Python
<|file_sep|>original/requirements.txt aiohttp==2.0.3 motor==1.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-asyncio==0.5.0 pytest-catchlog==1.2.2 pytest-cov==2.4.0 pytest-flakes==1.0.1 pytest-mock==1.5.0 yarl==0.10.0 <|file_sep|>current/requirements.txt aiohttp==2.0.3 motor==1.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytes...
aiohttp==2.0.4 motor==1.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-asyncio==0.5.0 pytest-catchlog==1.2.2 pytest-cov==2.4.0 pytest-flakes==1.0.1 pytest-mock==1.5.0 yarl==0.10.0
<|file_sep|>original/requirements.txt aiohttp==2.0.3 motor==1.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytest-asyncio==0.5.0 pytest-catchlog==1.2.2 pytest-cov==2.4.0 pytest-flakes==1.0.1 pytest-mock==1.5.0 yarl==0.10.0 <|file_sep|>current/requirements.txt aiohttp==2.0.3 motor==1.1 pytest==3.0.7 pytest-aiohttp==0.1.3 pytes...
657d1728f5383cc2d6887ff0ab84dfd699a64434
requirements.txt
requirements.txt
Text
<|file_sep|>original/spec/toy_robot/command/quit_spec.rb <|file_sep|>current/spec/toy_robot/command/quit_spec.rb <|file_sep|>updated/spec/toy_robot/command/quit_spec.rb
describe ToyRobot::Command::Quit do subject(:command) { described_class.new } describe "#perform" do it "exits the execution" do expect(command).to receive(:exit).with(0) command.perform(nil) end end end
<|file_sep|>original/spec/toy_robot/command/quit_spec.rb <|file_sep|>current/spec/toy_robot/command/quit_spec.rb <|file_sep|>updated/spec/toy_robot/command/quit_spec.rb describe ToyRobot::Command::Quit do subject(:command) { described_class.new } describe "#perform" do it "exits the execution" do expec...
57b3f7fffce19c31464500cccea8723429dc99f3
spec/toy_robot/command/quit_spec.rb
spec/toy_robot/command/quit_spec.rb
Ruby
<|file_sep|>original/planck-cljs/src/planck/themes.cljs (def ^:private light (merge theme-ansi-base {:results-fn ansi/blue :ex-msg-fn ansi/bold-red :ex-stack-fn ansi/green :err-font ansi/red-font :verbose-font ansi/white-font})) (def ^:private dark (merge theme-ansi-base {:res...
(def ^:private light (merge theme-ansi-base {:results-fn ansi/blue :ex-msg-fn ansi/bold-red :ex-stack-fn ansi/green :err-font ansi/red-font :verbose-font ansi/white-font})) (def ^:private dark (merge theme-ansi-base {:results-fn ansi/bold-blue :ex-msg-fn ansi/bold-re...
<|file_sep|>original/planck-cljs/src/planck/themes.cljs (def ^:private light (merge theme-ansi-base {:results-fn ansi/blue :ex-msg-fn ansi/bold-red :ex-stack-fn ansi/green :err-font ansi/red-font :verbose-font ansi/white-font})) (def ^:private dark (merge theme-ansi-base {:res...
743b92e7e0e4a60f6c967cbda3a91a504c71043b
planck-cljs/src/planck/themes.cljs
planck-cljs/src/planck/themes.cljs
Clojure
<|file_sep|>docs/support.md.diff original: updated: + Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/pyinfra) (be sure to use the `pyinfra` tag!) <|file_sep|>original/docs/support.md # Help & Support Need a hand with using `pyinfra` or have some questions? You can find official `pyinfra`...
# Help & Support Need a hand with using `pyinfra` or have some questions? You can find official `pyinfra` communities below: + Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/pyinfra) (be sure to use the `pyinfra` tag!) + Chat on [the `pyinfra` Discord](https://discord.gg/w3XxuKw) ### I ...
<|file_sep|>docs/support.md.diff original: updated: + Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/pyinfra) (be sure to use the `pyinfra` tag!) <|file_sep|>original/docs/support.md # Help & Support Need a hand with using `pyinfra` or have some questions? You can find official `pyinfra`...
e5beb0098d0cb41fc0b469448bdf787ec691ad62
docs/support.md
docs/support.md
Markdown
<|file_sep|>original/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.3 flake8==3.9.2 tox==3.24.1 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1 <|file_sep|>current/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.3 flake8==3.9.2 tox==3.24.1 c...
pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.3 flake8==3.9.2 tox==3.24.2 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1
<|file_sep|>original/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.3 flake8==3.9.2 tox==3.24.1 coverage==5.5 Sphinx==4.1.2 cryptography==3.4.7 PyYAML==5.4.1 <|file_sep|>current/requirements_dev.txt pip==21.2.4 bumpversion==0.6.0 wheel==0.37.0 watchdog==2.1.3 flake8==3.9.2 tox==3.24.1 c...
55965f0a917abb367db53c70aee87d26ca696fdf
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>package.json.diff original: "version": "1.0.0", updated: <|file_sep|>original/package.json { "name": "myact-api", "version": "1.0.0", "description": "", "main": "server.js", "scripts": { "test": "./node_modules/.bin/mocha", "testw": "./node_modules/.bin/mocha --watch" }, "author": {...
{ "name": "myact-api", "description": "", "version": "0.1.0", "main": "server.js", "scripts": { "test": "./node_modules/.bin/mocha", "testw": "./node_modules/.bin/mocha --watch" }, "author": { "name": "Andrew Duthie", "email": "andrew@andrewduthie.com", "url": "http://www.andrewduthie....
<|file_sep|>package.json.diff original: "version": "1.0.0", updated: <|file_sep|>original/package.json { "name": "myact-api", "version": "1.0.0", "description": "", "main": "server.js", "scripts": { "test": "./node_modules/.bin/mocha", "testw": "./node_modules/.bin/mocha --watch" }, "author": {...
b84243e1468c3cfd81df92efddce6afe81792ce4
package.json
package.json
JSON
<|file_sep|>original/letter_opener_web.gemspec require 'letter_opener_web/version' Gem::Specification.new do |gem| gem.name = "letter_opener_web" gem.version = LetterOpenerWeb::VERSION gem.authors = ["Fabio Rehm"] gem.email = ["fgrehm@gmail.com"] gem.description = %q{Gives lett...
require 'letter_opener_web/version' Gem::Specification.new do |gem| gem.name = "letter_opener_web" gem.version = LetterOpenerWeb::VERSION gem.authors = ["Fabio Rehm"] gem.email = ["fgrehm@gmail.com"] gem.description = %q{Gives letter_opener an interface for browsing sent emails...
<|file_sep|>original/letter_opener_web.gemspec require 'letter_opener_web/version' Gem::Specification.new do |gem| gem.name = "letter_opener_web" gem.version = LetterOpenerWeb::VERSION gem.authors = ["Fabio Rehm"] gem.email = ["fgrehm@gmail.com"] gem.description = %q{Gives lett...
07f7cc0e38e3f2d602afca4e76a4dc824c48325f
letter_opener_web.gemspec
letter_opener_web.gemspec
Ruby
<|file_sep|>Tests/Fakes/FakeRequest.swift.diff original: let body = try JSONDecoder().decode(FakeResponseBody.self, from: data) updated: struct Body: Codable { var text: String } let body = try JSONDecoder().decode(Body.self, from: data) <|file_sep|>original/Tests/Fakes/FakeRequest.swift return URLReque...
return URLRequest(url: URL(string: "http://example.com")!) } func parse(_ data: Data) throws -> String { struct Body: Codable { var text: String } let body = try JSONDecoder().decode(Body.self, from: data) return body.text } } struct FakeEmptyDataRequest: Request { typealias ResponseObject = E...
<|file_sep|>Tests/Fakes/FakeRequest.swift.diff original: let body = try JSONDecoder().decode(FakeResponseBody.self, from: data) updated: struct Body: Codable { var text: String } let body = try JSONDecoder().decode(Body.self, from: data) <|file_sep|>original/Tests/Fakes/FakeRequest.swift return URLReque...
ed92bf66e78ee5eee7ff0443d23bc2bdbe1551bf
Tests/Fakes/FakeRequest.swift
Tests/Fakes/FakeRequest.swift
Swift
<|file_sep|>seedDummyData.sh.diff original: function aBuild { updated: function anyBuild { <|file_sep|>seedDummyData.sh.diff original: updated: aBuild $START $END $OUTCOME } function aBrokenBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] OUTCOME="fail" aBuild $START $END $OUTCOME } func...
echo '{"start": '$START', "end": '$END', "outcome": "'$OUTCOME'"}' } function send { JOB=$1 BUILD=$2 curl -H "Content-Type: application/json" --data @- -XPUT "http://localhost:3000/builds/${JOB}/${BUILD}" } anyBuild | send "someBuild" 1 anyBuild | send "someBuild" 2 anyBuild | send "someBuild" 3 anyB...
<|file_sep|>seedDummyData.sh.diff original: function aBuild { updated: function anyBuild { <|file_sep|>seedDummyData.sh.diff original: updated: aBuild $START $END $OUTCOME } function aBrokenBuild { START=$RANDOM END=$[ $START + ( $RANDOM % 100 ) ] OUTCOME="fail" aBuild $START $END $OUTCOME } func...
1df4f791a65029861f506515f84a5d49d6467aa3
seedDummyData.sh
seedDummyData.sh
Shell
<|file_sep|>original/user-lisp/org-customisations.el (require 'org) (setq org-return-follows-link t) ;; Syntax highlight org code snippets. (setq org-src-fontify-natively t) (provide 'org-customisations) <|file_sep|>current/user-lisp/org-customisations.el (require 'org) (setq org-return-follows-link t) ;; Syntax h...
(require 'org) (setq org-return-follows-link t) ;; Syntax highlight org code snippets. (setq org-src-fontify-natively t) ;; Allow running code in sh and python (require 'ob-sh) (require 'ob-python) (provide 'org-customisations)
<|file_sep|>original/user-lisp/org-customisations.el (require 'org) (setq org-return-follows-link t) ;; Syntax highlight org code snippets. (setq org-src-fontify-natively t) (provide 'org-customisations) <|file_sep|>current/user-lisp/org-customisations.el (require 'org) (setq org-return-follows-link t) ;; Syntax h...
01ced5f82a3f76afd058c551a919770cf59e4a20
user-lisp/org-customisations.el
user-lisp/org-customisations.el
Emacs Lisp
<|file_sep|>original/Cargo.toml uuid = { version = "0.7", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.14" serde = "1" serde_json = "1" serde_derive = "...
uuid = { version = "0.7", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.14" serde = "1" serde_json = "1" serde_derive = "1" validator = "0.9" validator_d...
<|file_sep|>original/Cargo.toml uuid = { version = "0.7", features = ["serde", "v4"] } chrono = { version = "0.4", features = ["serde"] } argon2rs = "0.2" rocket = "0.4" diesel = { version = "1.4", features = ["postgres", "uuidv07", "chrono", "serde_json"] } dotenv = "0.14" serde = "1" serde_json = "1" serde_derive = "...
75f97f7301b37649a1ab04270d433e9b2a66fbe1
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/lib/gruf/version.rb # Copyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including...
# Copyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including without limitation the # rights to use, ...
<|file_sep|>original/lib/gruf/version.rb # Copyright (c) 2017-present, BigCommerce Pty. Ltd. All rights reserved # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including...
3c62904d4a5877a54240ff28a645f22709e594d6
lib/gruf/version.rb
lib/gruf/version.rb
Ruby
<|file_sep|>original/serial_preference.gemspec gem.version = SerialPreference::VERSION gem.authors = ["Aditya Sanghi"] gem.email = ["aditya.sanghi@risingsuntech.net"] gem.description = %q{Serialized Preferences for your models} gem.summary = %q{Serialized Preferences for your model...
gem.version = SerialPreference::VERSION gem.authors = ["Aditya Sanghi"] gem.email = ["aditya.sanghi@risingsuntech.net"] gem.description = %q{Serialized Preferences for your models} gem.summary = %q{Serialized Preferences for your models} gem.homepage = "" gem.files ...
<|file_sep|>original/serial_preference.gemspec gem.version = SerialPreference::VERSION gem.authors = ["Aditya Sanghi"] gem.email = ["aditya.sanghi@risingsuntech.net"] gem.description = %q{Serialized Preferences for your models} gem.summary = %q{Serialized Preferences for your model...
caf2e065912a4fa5890d2b46483bf0060af51dd6
serial_preference.gemspec
serial_preference.gemspec
Ruby
<|file_sep|>original/lib/toplevel.h * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * T...
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis SOURCE CODE IS (C) COPY...
<|file_sep|>original/lib/toplevel.h * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * T...
176354ff491286ce45f32cd41efc641fed506b4f
lib/toplevel.h
lib/toplevel.h
C
<|file_sep|>resources/views/fields/select.blade.php.diff original: @if (is_array($value) && in_array($key, $value)) selected updated: @if (is_array($value) && in_array($key, $value, true)) selected <|file_sep|>original/resources/views/fields/select.blade.php @component($t...
@component($typeForm, get_defined_vars()) <div data-controller="fields--select"> <select @attributes($attributes)> @foreach($options as $key => $option) <option value="{{$key}}" @isset($value) @if (is_array($value) && in_array($key,...
<|file_sep|>resources/views/fields/select.blade.php.diff original: @if (is_array($value) && in_array($key, $value)) selected updated: @if (is_array($value) && in_array($key, $value, true)) selected <|file_sep|>original/resources/views/fields/select.blade.php @component($t...
675a1e262c71070f1368c231da8a7f5c571f31b7
resources/views/fields/select.blade.php
resources/views/fields/select.blade.php
PHP
<|file_sep|>original/test/run.sh TEST_DIR=$(pwd) BABEL_CACHE_DIR=${TEST_DIR}/.cache export BABEL_CACHE_DIR runTests() { mocha \ --reporter spec \ --full-trace \ --require ../runtime.js \ --compilers js:${TEST_DIR}/register.js \ tests.js } runTests if [ $(node -p "parseInt...
TEST_DIR=$(pwd) BABEL_CACHE_DIR=${TEST_DIR}/.cache export BABEL_CACHE_DIR runTests() { mocha \ --reporter spec \ --full-trace \ --require ../runtime.js \ --require ${TEST_DIR}/register.js \ tests.js } runTests if [ $(node -p "parseInt(process.versions.node)") -ge "8" ] th...
<|file_sep|>original/test/run.sh TEST_DIR=$(pwd) BABEL_CACHE_DIR=${TEST_DIR}/.cache export BABEL_CACHE_DIR runTests() { mocha \ --reporter spec \ --full-trace \ --require ../runtime.js \ --compilers js:${TEST_DIR}/register.js \ tests.js } runTests if [ $(node -p "parseInt...
91693a90f94a1eccdb3d1d0a202a5d87665b73f4
test/run.sh
test/run.sh
Shell
<|file_sep|>original/requirements.txt Django==2.0.1 dj_database_url==0.4.2 pytz==2017.3 python_box==3.1.1 six==1.11.0 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 raven==6.4.0 #Amazon S3 Stuff boto3==1.5.12 Collectfast==0.6.0 botocore==1.8.28 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0....
Django==2.0.1 dj_database_url==0.4.2 pytz==2017.3 python_box==3.1.1 six==1.11.0 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 raven==6.4.0 #Amazon S3 Stuff boto3==1.5.14 Collectfast==0.6.0 botocore==1.8.28 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0.14 jmespath==0.9.3 python-dateutil==2....
<|file_sep|>original/requirements.txt Django==2.0.1 dj_database_url==0.4.2 pytz==2017.3 python_box==3.1.1 six==1.11.0 gunicorn==19.7.1 psycopg2==2.7.3.2 python-decouple==3.1 raven==6.4.0 #Amazon S3 Stuff boto3==1.5.12 Collectfast==0.6.0 botocore==1.8.28 django-s3-folder-storage==0.5 django-storages==1.6.5 docutils==0....
116274d86043507234f389434f9d2920203174cf
requirements.txt
requirements.txt
Text
<|file_sep|>app/views/projects/index.html.erb.diff original: <%= form_tag("/projects", method: "get") do %> updated: <%= form_tag("/projects", method: "get", class: "filter-form") do %> <|file_sep|>app/views/projects/index.html.erb.diff original: <%= submit_tag "Filter", class: "btn btn-primary" %> updated: ...
<br> <h1>Projects <%= link_to "Add New Project", "/projects/new", class: "btn btn-sm btn-primary" if user_signed_in? %></h1> <div> <h3>Filter & sort projects:</h3> <%= form_tag("/projects", method: "get", class: "filter-form") do %> <%= select_tag "genre", options_from_collection_for_select(@genres, "id", "nam...
<|file_sep|>app/views/projects/index.html.erb.diff original: <%= form_tag("/projects", method: "get") do %> updated: <%= form_tag("/projects", method: "get", class: "filter-form") do %> <|file_sep|>app/views/projects/index.html.erb.diff original: <%= submit_tag "Filter", class: "btn btn-primary" %> updated: ...
2cb9bdbdbc8d3e3737f5d7c328565cbd0e50c897
app/views/projects/index.html.erb
app/views/projects/index.html.erb
HTML+ERB
<|file_sep|>original/recipes/github3.py/meta.yaml <|file_sep|>current/recipes/github3.py/meta.yaml <|file_sep|>updated/recipes/github3.py/meta.yaml
{% set name = "github3.py" %} {% set version = "0.9.5" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz md5: a20c3af33337633d60e0e0a0ed10398d build: number: 0 scr...
<|file_sep|>original/recipes/github3.py/meta.yaml <|file_sep|>current/recipes/github3.py/meta.yaml <|file_sep|>updated/recipes/github3.py/meta.yaml {% set name = "github3.py" %} {% set version = "0.9.5" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: http...
28c2bf1412841aa9f68af6ad6547f61399597999
recipes/github3.py/meta.yaml
recipes/github3.py/meta.yaml
YAML
<|file_sep|>original/themes/coffeeandcode/README.md # Fish Theme: coffeeandcode Another theme choice for Oh-My-Fish! originally created by [Jonathan Knapp](http://jonknapp.com). ### Warning: This theme will overwrite all of your Fish color and git settings. If you'd like to customize them, you will have to make chan...
# Fish Theme: coffeeandcode Another theme choice for Oh-My-Fish! originally created by [Jonathan Knapp](http://jonknapp.com). ![coffeeandcode](https://cloud.githubusercontent.com/assets/1272018/5966170/e846c75e-a7f9-11e4-8aeb-ebec4c974f5b.png) ### Warning: This theme will overwrite all of your Fish color and git se...
<|file_sep|>original/themes/coffeeandcode/README.md # Fish Theme: coffeeandcode Another theme choice for Oh-My-Fish! originally created by [Jonathan Knapp](http://jonknapp.com). ### Warning: This theme will overwrite all of your Fish color and git settings. If you'd like to customize them, you will have to make chan...
af191683c18e5cb44bff2131694cd6fea8334a59
themes/coffeeandcode/README.md
themes/coffeeandcode/README.md
Markdown
<|file_sep|>original/android/dev/setup.sh <|file_sep|>current/android/dev/setup.sh <|file_sep|>updated/android/dev/setup.sh
echo "Downloading Eclipse 4.5.1..." curl -O http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-4.5.1-201509040015/eclipse-SDK-4.5.1-macosx-cocoa-x86_64.tar.gz echo "Extracting Eclipse" tar -zxf eclipse-SDK-4.5.1-macosx-cocoa-x86_64.tar.gz echo "Installing ADT into Eclipse" java_home=`/usr/libexec/java_home`...
<|file_sep|>original/android/dev/setup.sh <|file_sep|>current/android/dev/setup.sh <|file_sep|>updated/android/dev/setup.sh echo "Downloading Eclipse 4.5.1..." curl -O http://ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops4/R-4.5.1-201509040015/eclipse-SDK-4.5.1-macosx-cocoa-x86_64.tar.gz echo "Extracting Eclipse...
2cada5795a7d7daa06297b49b62e408670bdbb58
android/dev/setup.sh
android/dev/setup.sh
Shell
<|file_sep|>original/feelings/client/lib/router.js Router.route('/', function () { this.layout("layout") this.render('feelings'); }); <|file_sep|>current/feelings/client/lib/router.js Router.route('/', function () { this.layout("layout") this.render('feelings'); }); <|file_sep|>updated/feelings/client/lib/route...
Router.route('/', function () { this.layout("layout") this.render('feelings'); }, {name: 'feelings'}); Router.route('/results', function () { this.layout("layout") this.render('results'); }, {name: 'results'});
<|file_sep|>original/feelings/client/lib/router.js Router.route('/', function () { this.layout("layout") this.render('feelings'); }); <|file_sep|>current/feelings/client/lib/router.js Router.route('/', function () { this.layout("layout") this.render('feelings'); }); <|file_sep|>updated/feelings/client/lib/route...
6a8cd955389226e749afd36b85641cc08ac54023
feelings/client/lib/router.js
feelings/client/lib/router.js
JavaScript
<|file_sep|>test/asciidoc_test.rb.diff original: updated: assert @doc.send(:is_section_heading?, "=== AsciiDoc Home Page") <|file_sep|>original/test/asciidoc_test.rb require 'test_helper' class ProjectTest < Test::Unit::TestCase # setup for test def setup @doc = Asciidoc::Document.new(File.readlines(sampl...
require 'test_helper' class ProjectTest < Test::Unit::TestCase # setup for test def setup @doc = Asciidoc::Document.new(File.readlines(sample_doc_path(:asciidoc_index))) end def test_root_name assert_equal "AsciiDoc Home Page", @doc.root.name end def test_is_section_heading assert @doc.send(:...
<|file_sep|>test/asciidoc_test.rb.diff original: updated: assert @doc.send(:is_section_heading?, "=== AsciiDoc Home Page") <|file_sep|>original/test/asciidoc_test.rb require 'test_helper' class ProjectTest < Test::Unit::TestCase # setup for test def setup @doc = Asciidoc::Document.new(File.readlines(sampl...
f3c50144009bd5f518b83814787722efed81478e
test/asciidoc_test.rb
test/asciidoc_test.rb
Ruby
<|file_sep|>original/docs/source/docs/user-select.blade.md --- extends: _layouts.documentation title: "User Select" --- # User Select <div class="text-xl text-slate-light mb-4"> Utilities for controlling whether the user can select text in an element. </div> @include('_partials.feature-badges', [ 'responsive...
</div> @include('_partials.feature-badges', [ 'responsive' => true, 'customizable' => false, 'hover' => false, 'focus' => false ]) @include('_partials.work-in-progress') <div class="border-t border-grey-lighter"> <table class="w-full text-left" style="border-collapse: collapse;"> <colgrou...
<|file_sep|>original/docs/source/docs/user-select.blade.md --- extends: _layouts.documentation title: "User Select" --- # User Select <div class="text-xl text-slate-light mb-4"> Utilities for controlling whether the user can select text in an element. </div> @include('_partials.feature-badges', [ 'responsive...
b8aa667bece26996ecdcc4b469b3905bf3d6f97c
docs/source/docs/user-select.blade.md
docs/source/docs/user-select.blade.md
Markdown
<|file_sep|>original/utuputki-webui/utuputki/handlers/logout.py # -*- coding: utf-8 -*- from handlers.handlerbase import HandlerBase from db import db_session, Session class LogoutHandler(HandlerBase): def handle(self, packet_msg): # Remove session s = db_session() s.query(Session).filter...
from handlers.handlerbase import HandlerBase from db import db_session, Session class LogoutHandler(HandlerBase): def handle(self, packet_msg): # Remove session s = db_session() s.query(Session).filter_by(key=self.sock.sid).delete() s.commit() s.close() # Dump out ...
<|file_sep|>original/utuputki-webui/utuputki/handlers/logout.py # -*- coding: utf-8 -*- from handlers.handlerbase import HandlerBase from db import db_session, Session class LogoutHandler(HandlerBase): def handle(self, packet_msg): # Remove session s = db_session() s.query(Session).filter...
d3bc714478c3f7a665b39dfb1b8d65e7bc59ccd0
utuputki-webui/utuputki/handlers/logout.py
utuputki-webui/utuputki/handlers/logout.py
Python
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"> <link rel="shortcut icon" href="css/images/favicon-32x32.png"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/lib...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"> <link rel="shortcut icon" href="css/images/favicon-32x32.png"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weathe...
<|file_sep|>original/index.html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes"> <link rel="shortcut icon" href="css/images/favicon-32x32.png"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/lib...
566ae5c023505e0038ea71b0adf133e45c8a92c2
index.html
index.html
HTML
<|file_sep|>original/.travis.yml language: php php: - 5.4 before_script: - sudo apt-get install apache2 php5-cgi - composer install --no-interaction --dev - wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.10.zip -nv - unzip -q google_appengine_1.9.10.zip - bash...
language: php php: - 5.4 before_script: - sudo apt-get update - sudo apt-get upgrade - sudo apt-get install apache2 php5-cgi - composer install --no-interaction --dev - wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.10.zip -nv - unzip -q google_appengine_1...
<|file_sep|>original/.travis.yml language: php php: - 5.4 before_script: - sudo apt-get install apache2 php5-cgi - composer install --no-interaction --dev - wget https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.10.zip -nv - unzip -q google_appengine_1.9.10.zip - bash...
1e21841cb485cb78ca76a00a3069d3cc0fdd07bb
.travis.yml
.travis.yml
YAML
<|file_sep|>original/server/utils/helpers.js const helpers = { /** * Express middleware to determine if the user is logged in * @param {Object} req * @param {Object} res * @param {Function} next */ loggedIn(req, res, next) { if (req.user !== undefined) { next(); } else { res.json(...
const helpers = { /** * Express middleware to determine if the user is logged in * @param {Object} req * @param {Object} res * @param {Function} next */ loggedIn(req, res, next) { if (!req.isAuthenticated() || req.user !== undefined) { next(); } else { res.json({ status: 401, redi...
<|file_sep|>original/server/utils/helpers.js const helpers = { /** * Express middleware to determine if the user is logged in * @param {Object} req * @param {Object} res * @param {Function} next */ loggedIn(req, res, next) { if (req.user !== undefined) { next(); } else { res.json(...
f88f1a2ac818f4f7295352d141aa49b48dcc9a61
server/utils/helpers.js
server/utils/helpers.js
JavaScript
<|file_sep|>original/archive/templates/archive/index.html <th> Titel </th> </tr> {% for item in results %} <tr> <td> {{ item.signature }} </td> <td> {{ item.title }} ...
<th> Titel </th> </tr> {% for item in results %} <tr> <td> {{ item.signature }} </td> <td> {{ item.title }} </td> </tr> {% endfor %} ...
<|file_sep|>original/archive/templates/archive/index.html <th> Titel </th> </tr> {% for item in results %} <tr> <td> {{ item.signature }} </td> <td> {{ item.title }} ...
9e342b753ad8c7a9be778b9b44989bccef48f2ac
archive/templates/archive/index.html
archive/templates/archive/index.html
HTML