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/CHANGELOG.md
Changes for Vertical Navigation component.
## [0.1.1-pl] - (2015/05/11)
* Added setup options to offer to enable Vertical Navigation while installing
## [0.1.0-pl] - (2015/02/12)
* Transport package
## 0.0.1-dev - (2014/09/11)
* First PoC
[0.1.1-pl]: https://github.com/melt... |
Changes for Vertical Navigation component.
## [0.1.1-pl] - (2015/05/11)
* Added setup options to offer to enable Vertical Navigation while installing
## [0.1.0-pl] - (2015/02/12)
* Transport package
## 0.0.1-dev - (2014/09/11)
* First PoC
[0.1.1-pl]: https://github.com/meltingmedia/Vertical-Navigation/compa... | <|file_sep|>original/CHANGELOG.md
Changes for Vertical Navigation component.
## [0.1.1-pl] - (2015/05/11)
* Added setup options to offer to enable Vertical Navigation while installing
## [0.1.0-pl] - (2015/02/12)
* Transport package
## 0.0.1-dev - (2014/09/11)
* First PoC
[0.1.1-pl]: https://github.com/melt... | 49c300ae91576a3ac4cb6d7948a7df6c2b589e0f | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/gui/rte.js
document.addEventListener('DOMContentLoaded', function () {
// RTE
Array.prototype.forEach.call(document.querySelectorAll('textarea[data-type=rte]'), function (item) {
const cfg = {
customConfig: '',
disableNativeSpellChecke... | document.addEventListener('DOMContentLoaded', function () {
// RTE
Array.prototype.forEach.call(document.querySelectorAll('textarea[data-type=rte]'), function (item) {
const cfg = {
customConfig: '',
disableNativeSpellChecker: true,
extraAl... | <|file_sep|>original/gui/rte.js
document.addEventListener('DOMContentLoaded', function () {
// RTE
Array.prototype.forEach.call(document.querySelectorAll('textarea[data-type=rte]'), function (item) {
const cfg = {
customConfig: '',
disableNativeSpellChecke... | c6e06cb5e2405743d3a6c6ffdc2f4f9fb5210319 | gui/rte.js | gui/rte.js | JavaScript |
<|file_sep|>src/stylesheets/mixins/page-text.styl.diff
original:
font-family 'Roboto Slab', 'Georgia', 'Times New Roman', serif
updated:
font-family 'Georgia', 'Times New Roman', serif
<|file_sep|>original/src/stylesheets/mixins/page-text.styl
page-text()
font-family 'Roboto Slab', 'Georgia', 'Times New Roman', s... | page-text()
font-family 'Georgia', 'Times New Roman', serif
text-rendering optimizeLegibility
font-kerning normal
// NOTE: currently these only do anything in Chrome.
font-feature-settings kern
-webkit-font-feature-settings "kern" 1
-moz-font-feature-settings "kern"
font-size 18px
line-height 1.5em... | <|file_sep|>src/stylesheets/mixins/page-text.styl.diff
original:
font-family 'Roboto Slab', 'Georgia', 'Times New Roman', serif
updated:
font-family 'Georgia', 'Times New Roman', serif
<|file_sep|>original/src/stylesheets/mixins/page-text.styl
page-text()
font-family 'Roboto Slab', 'Georgia', 'Times New Roman', s... | a940d50a67512185e7b6aca8e206e1653f42f333 | src/stylesheets/mixins/page-text.styl | src/stylesheets/mixins/page-text.styl | Stylus |
<|file_sep|>original/package.json
"version": "0.0.1",
"description": "Chart viewer and editor, part of the Open Chords Charts project.",
"devDependencies": {
"cpy-cli": "^1.0.1",
"del-cli": "^0.2.1",
"elm": "^0.18.0",
"gh-pages": "^0.12.0"
},
"scripts": {
"prebuild": "npm run clean",
"... | "version": "0.0.1",
"description": "Chart viewer and editor, part of the Open Chords Charts project.",
"devDependencies": {
"cpy-cli": "^1.0.1",
"del-cli": "^0.2.1",
"elm": "^0.18.0",
"gh-pages": "^0.12.0"
},
"scripts": {
"prebuild": "npm run clean",
"build": "elm make src/Main.elm --y... | <|file_sep|>original/package.json
"version": "0.0.1",
"description": "Chart viewer and editor, part of the Open Chords Charts project.",
"devDependencies": {
"cpy-cli": "^1.0.1",
"del-cli": "^0.2.1",
"elm": "^0.18.0",
"gh-pages": "^0.12.0"
},
"scripts": {
"prebuild": "npm run clean",
"... | 5d7f89a618397c02b66c081fa60bbb0e0b8d4181 | package.json | package.json | JSON |
<|file_sep|>original/package.json
"start": "node server/server.js",
"dev": "nodemon server/server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rompingstalactite/rompingstalactite.git"
},
"author": "See Contributors",
"private": true,
"license": "ISC",
"bugs": {
... | "repository": {
"type": "git",
"url": "git+https://github.com/rompingstalactite/rompingstalactite.git"
},
"author": "See Contributors",
"private": true,
"license": "ISC",
"bugs": {
"url": "https://github.com/rompingstalactite/rompingstalactite/issues"
},
"homepage": "https://github.com/rompi... | <|file_sep|>original/package.json
"start": "node server/server.js",
"dev": "nodemon server/server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rompingstalactite/rompingstalactite.git"
},
"author": "See Contributors",
"private": true,
"license": "ISC",
"bugs": {
... | 46aaf030880a8f51d10364ad8fce8a196d93df31 | package.json | package.json | JSON |
<|file_sep|>original/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.17.33"
# Set the default client version
default[:chef][:client][:version] = "16.4.38"
<|... | # Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.17.33"
# Set the default client version
default[:chef][:client][:version] = "16.5.64" | <|file_sep|>original/cookbooks/chef/attributes/default.rb
# Add the opscode APT source for chef
default[:apt][:sources] = node[:apt][:sources] | ["opscode"]
# Set the default server version
default[:chef][:server][:version] = "12.17.33"
# Set the default client version
default[:chef][:client][:version] = "16.4.38"
<|... | dda82d79b5db092e3b7d436efe42a2ab4e15077f | cookbooks/chef/attributes/default.rb | cookbooks/chef/attributes/default.rb | Ruby |
<|file_sep|>original/package.json
"dependencies": {
"montage": "0.13.0-alpha",
"mr": "~0.12.6",
"collections": "~0.1.0",
"q": "~0.9.3",
"q-io": "~1.5",
"url2": "~0.0.0",
"semver": "~1.1",
"uglify-js": "~2.2.5",
"optimist": "~0.2.8",
"jsdom": "~0.2.15",
"csso": "~1.3.7",
... | "dependencies": {
"montage": "0.13.0-alpha",
"mr": "~0.12.6",
"collections": "~0.1.0",
"q": "~0.9.3",
"q-io": "~1.5",
"url2": "~0.0.0",
"semver": "~1.1",
"uglify-js": "~2.2.5",
"optimist": "~0.2.8",
"jsdom": "~0.6.0",
"csso": "~1.3.7",
"html-minifier": "~0.4.5"
},
"... | <|file_sep|>original/package.json
"dependencies": {
"montage": "0.13.0-alpha",
"mr": "~0.12.6",
"collections": "~0.1.0",
"q": "~0.9.3",
"q-io": "~1.5",
"url2": "~0.0.0",
"semver": "~1.1",
"uglify-js": "~2.2.5",
"optimist": "~0.2.8",
"jsdom": "~0.2.15",
"csso": "~1.3.7",
... | 435dfc08d9ebd720d5365d1f43a72d9929f439cd | package.json | package.json | JSON |
<|file_sep|>original/tests/AppBundle/API/Details/OrganismTest.php
parent::tearDown();
$this->em->close();
$this->em = null; // avoid memory leaks
}
public function testExecute()
{
$default_db = $this->default_db;
$user = null;
$organisms = $this->webservice-... | public function tearDown()
{
parent::tearDown();
$this->em->close();
$this->em = null; // avoid memory leaks
}
public function testExecute()
{
$organismId = 42;
$results = $this->em->getRepository(Entity\Organism::class)->getDetailsOforganism($organismId);
... | <|file_sep|>original/tests/AppBundle/API/Details/OrganismTest.php
parent::tearDown();
$this->em->close();
$this->em = null; // avoid memory leaks
}
public function testExecute()
{
$default_db = $this->default_db;
$user = null;
$organisms = $this->webservice-... | e9f0322692c8c0f6b14f56369584b69ec9579b30 | tests/AppBundle/API/Details/OrganismTest.php | tests/AppBundle/API/Details/OrganismTest.php | PHP |
<|file_sep|>original/core/src/main/assets/migrations/7.yaml
up:
- CREATE TABLE Section (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, description TEXT, sortOrder INTEGER, dataSet TEXT, showRowTotals INTEGER, showColumnTotals INTE... | up:
- CREATE TABLE Section (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, description TEXT, sortOrder INTEGER, dataSet TEXT NOT NULL, showRowTotals INTEGER, showColumnTotals INTEGER, FOREIGN KEY (dataSet) REFERENCES DataSet (uid)... | <|file_sep|>original/core/src/main/assets/migrations/7.yaml
up:
- CREATE TABLE Section (_id INTEGER PRIMARY KEY AUTOINCREMENT, uid TEXT NOT NULL UNIQUE, code TEXT, name TEXT, displayName TEXT, created TEXT, lastUpdated TEXT, description TEXT, sortOrder INTEGER, dataSet TEXT, showRowTotals INTEGER, showColumnTotals INTE... | 45beb6adbc1a36f4f26a38b704bd6fdcafe6b0f1 | core/src/main/assets/migrations/7.yaml | core/src/main/assets/migrations/7.yaml | YAML |
<|file_sep|>original/README.md
Installation
------------
The easiest way is to keep `karma-renderer-launcher` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-renderer-launcher": "~0.0.1"
}
}
```
You can simple do it by:
```bash
npm install karma-render... |
Installation
------------
The easiest way is to keep `karma-renderer-launcher` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-renderer-launcher": "~0.1.0"
}
}
```
You can simple do it by:
```bash
npm install karma-renderer-launcher --save-dev
```
| <|file_sep|>original/README.md
Installation
------------
The easiest way is to keep `karma-renderer-launcher` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-renderer-launcher": "~0.0.1"
}
}
```
You can simple do it by:
```bash
npm install karma-render... | c6d39cb1099006198dddfd4fb6bf17844dd131ea | README.md | README.md | Markdown |
<|file_sep|>src/tttclj/web.clj.diff
original:
(prn (:remote-addr req))
updated:
(prn (:async-channel req))
<|file_sep|>src/tttclj/web.clj.diff
original:
(prn req)
updated:
<|file_sep|>original/src/tttclj/web.clj
{:status 200
:headers {"Content-Type" "text/html"}
:body "Hello HTTP via Compojure!"})
(d... | {:status 200
:headers {"Content-Type" "text/html"}
:body "Hello HTTP via Compojure!"})
(defn ws-handler [{:keys [ws-channel] :as req}]
(prn (:async-channel req))
(go-loop [i 10]
(<! (timeout 1000))
(>! ws-channel (str "Hello from server" i))
(when (> i 0)
(recur (dec i)))))
(defroutes ap... | <|file_sep|>src/tttclj/web.clj.diff
original:
(prn (:remote-addr req))
updated:
(prn (:async-channel req))
<|file_sep|>src/tttclj/web.clj.diff
original:
(prn req)
updated:
<|file_sep|>original/src/tttclj/web.clj
{:status 200
:headers {"Content-Type" "text/html"}
:body "Hello HTTP via Compojure!"})
(d... | 6680d99ba77bee90f9291264a11de971985e95a7 | src/tttclj/web.clj | src/tttclj/web.clj | Clojure |
<|file_sep|>original/bw/dll/CMakeLists.txt
cmake_minimum_required (VERSION 2.8)
include(GenerateExportHeader)
project(bw)
if (WIN32)
include_directories(
"C:/bwapi/include"
"C:/zmq/include"
"C:/curl/include")
link_directories(
"C:/bwapi/lib"
"C:/zmq/lib"
"C:/curl/lib")
endif()... | cmake_minimum_required (VERSION 2.8)
include(GenerateExportHeader)
project(bw)
if (WIN32)
include_directories(
"../../include"
"C:/bwapi/include"
"C:/zmq/include"
"C:/curl/include")
link_directories(
"C:/bwapi/lib"
"C:/zmq/lib"
"C:/curl/lib")
endif()
add_library(Broadca... | <|file_sep|>original/bw/dll/CMakeLists.txt
cmake_minimum_required (VERSION 2.8)
include(GenerateExportHeader)
project(bw)
if (WIN32)
include_directories(
"C:/bwapi/include"
"C:/zmq/include"
"C:/curl/include")
link_directories(
"C:/bwapi/lib"
"C:/zmq/lib"
"C:/curl/lib")
endif()... | a89ba2a53978ff09c5257fcb37c862b6eee9ab8b | bw/dll/CMakeLists.txt | bw/dll/CMakeLists.txt | Text |
<|file_sep|>original/unit_tests/engine/guidance_assembly.cpp
<|file_sep|>current/unit_tests/engine/guidance_assembly.cpp
<|file_sep|>updated/unit_tests/engine/guidance_assembly.cpp | #include "engine/guidance/assemble_overview.hpp"
#include "engine/guidance/assemble_geometry.hpp"
#include "engine/guidance/assemble_steps.hpp"
#include "engine/guidance/assemble_route.hpp"
#include "engine/guidance/assemble_leg.hpp"
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
BOO... | <|file_sep|>original/unit_tests/engine/guidance_assembly.cpp
<|file_sep|>current/unit_tests/engine/guidance_assembly.cpp
<|file_sep|>updated/unit_tests/engine/guidance_assembly.cpp
#include "engine/guidance/assemble_overview.hpp"
#include "engine/guidance/assemble_geometry.hpp"
#include "engine/guidance/assemble_step... | e55af0c27455b4737a1cf0cb572092b8792bd032 | unit_tests/engine/guidance_assembly.cpp | unit_tests/engine/guidance_assembly.cpp | C++ |
<|file_sep|>utils/esicog.py.diff
original:
if self._esi_app_task is None:
updated:
if EsiCog._esi_app_task is None:
<|file_sep|>utils/esicog.py.diff
original:
self._esi_app_task = bot.loop.run_in_executor(
updated:
EsiCog._esi_app_task = bot.loop.run_in_executor(
<|file_sep|>util... | _semaphore = asyncio.Semaphore(DEFAULT_POOLSIZE)
def __init__(self, bot: commands.Bot):
logger = get_logger(__name__, bot)
if EsiCog._esi_app_task is None:
logger.info("Creating esipy App...")
EsiCog._esi_app_task = bot.loop.run_in_executor(
None, self._... | <|file_sep|>utils/esicog.py.diff
original:
if self._esi_app_task is None:
updated:
if EsiCog._esi_app_task is None:
<|file_sep|>utils/esicog.py.diff
original:
self._esi_app_task = bot.loop.run_in_executor(
updated:
EsiCog._esi_app_task = bot.loop.run_in_executor(
<|file_sep|>util... | 097bbde9aabc09d6bca679663c0ece3e12802414 | utils/esicog.py | utils/esicog.py | Python |
<|file_sep|>emacs.d/prelude-modules.el.diff
original:
(require 'prelude-key-chord) ;; Binds useful features to key combinations
updated:
;; (require 'prelude-key-chord) ;; Binds useful features to key combinations
<|file_sep|>original/emacs.d/prelude-modules.el
;;; Uncomment the modules you'd like to use and restart Pr... | ;;; Uncomment the modules you'd like to use and restart Prelude afterwards
;; Emacs IRC client
(require 'prelude-erc)
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
(require 'prelude-helm) ;; Interface for narrowing and search
(require 'prelude-helm-everywhere) ;; Enable Helm everywhere
... | <|file_sep|>emacs.d/prelude-modules.el.diff
original:
(require 'prelude-key-chord) ;; Binds useful features to key combinations
updated:
;; (require 'prelude-key-chord) ;; Binds useful features to key combinations
<|file_sep|>original/emacs.d/prelude-modules.el
;;; Uncomment the modules you'd like to use and restart Pr... | f750fb8a4d0a077713acb876c903f64aa60636ce | emacs.d/prelude-modules.el | emacs.d/prelude-modules.el | Emacs Lisp |
<|file_sep|>product/views/PhysicalServer.yaml.diff
original:
updated:
- assigned_server_profile
- associated_server_profile
<|file_sep|>product/views/PhysicalServer.yaml.diff
original:
updated:
- assigned_server_profile.name
- associated_server_profile.name
<|file_sep|>original/product/views/PhysicalServer.yaml
- Hea... |
headers:
- Name
- Type
- Health State
- Power State
- LED State
- Hostname
- Product Name
- Manufacturer
- Assigned Profile
- Associated Profile
conditions:
order: Ascending
sortby: | <|file_sep|>product/views/PhysicalServer.yaml.diff
original:
updated:
- assigned_server_profile
- associated_server_profile
<|file_sep|>product/views/PhysicalServer.yaml.diff
original:
updated:
- assigned_server_profile.name
- associated_server_profile.name
<|file_sep|>original/product/views/PhysicalServer.yaml
- Hea... | 071b2573f39322a7876b40242de750e50aaa15cc | product/views/PhysicalServer.yaml | product/views/PhysicalServer.yaml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
- 1.3
- 1.4
- 1.5
- tip
updated:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
<|file_sep|>original/.travis.yml
sudo: false
language: go
go:
- 1.3
- 1.4
- 1.5
- tip
script: go test -v -cover
notifications:
... | sudo: false
language: go
go:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
script: go test -v -cover | <|file_sep|>.travis.yml.diff
original:
updated:
<|file_sep|>.travis.yml.diff
original:
- 1.3
- 1.4
- 1.5
- tip
updated:
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
<|file_sep|>original/.travis.yml
sudo: false
language: go
go:
- 1.3
- 1.4
- 1.5
- tip
script: go test -v -cover
notifications:
... | 6074d2551820567d6b1e393b0f4fb4f85745425a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/templates/default/hbase-shell.erb
grant '<%= node[:cdap][:security][:cdap_principal].split(/[@\/]/).first %>', 'CRW'
exit
<|file_sep|>current/templates/default/hbase-shell.erb
grant '<%= node[:cdap][:security][:cdap_principal].split(/[@\/]/).first %>', 'CRW'
exit
<|file_sep|>updated/templates/defau... | grant '<%= node["cdap"]["security"]["cdap_principal"].split(/[@\/]/).first %>', 'CRW'
exit | <|file_sep|>original/templates/default/hbase-shell.erb
grant '<%= node[:cdap][:security][:cdap_principal].split(/[@\/]/).first %>', 'CRW'
exit
<|file_sep|>current/templates/default/hbase-shell.erb
grant '<%= node[:cdap][:security][:cdap_principal].split(/[@\/]/).first %>', 'CRW'
exit
<|file_sep|>updated/templates/defau... | 7b564bcc6a4e13a28326e79c9caf4cc263d87adc | templates/default/hbase-shell.erb | templates/default/hbase-shell.erb | HTML+ERB |
<|file_sep|>src/Text/Karver/Types.hs.diff
original:
updated:
type Element = Text
type LoopBody = Text
<|file_sep|>original/src/Text/Karver/Types.hs
type Key = Text
type ListName = Text
type Index = Int
type Compare = Text
type IfBody = Text
type ElseBody = Text
data Tokens = LiteralTok ... | type Index = Int
type Compare = Text
type IfBody = Text
type ElseBody = Text
type Element = Text
type LoopBody = Text
data Tokens = LiteralTok Text
| IdentityTok Text
| ObjectTok ObjectName Key
| ListTok ListName Index
| ConditionTok Com... | <|file_sep|>src/Text/Karver/Types.hs.diff
original:
updated:
type Element = Text
type LoopBody = Text
<|file_sep|>original/src/Text/Karver/Types.hs
type Key = Text
type ListName = Text
type Index = Int
type Compare = Text
type IfBody = Text
type ElseBody = Text
data Tokens = LiteralTok ... | 5ef4c928128eab936ff61f724f1d581ba5a7f490 | src/Text/Karver/Types.hs | src/Text/Karver/Types.hs | Haskell |
<|file_sep|>assets/js/modal-active-url.js.diff
original:
var hash = window.location.hash;
updated:
function clearModal() {
var modalList = document.querySelectorAll('.modal');
for (i = 0; i < modalList.length; i++) {
modalList[i].style.animation = 'quote-finish-transition 0.8s ease';
modalList[i].style.... | modalList[i].style.visibility = 'hidden';
}
}
function openModal() {
var hash = window.location.hash;
switch (hash) {
case '#contact': openModalContactWindow(); break;
case '#about': openModalAboutWindow(); break;
case '#software': openModalSoftwareWindow(); break;
case '#design': openMod... | <|file_sep|>assets/js/modal-active-url.js.diff
original:
var hash = window.location.hash;
updated:
function clearModal() {
var modalList = document.querySelectorAll('.modal');
for (i = 0; i < modalList.length; i++) {
modalList[i].style.animation = 'quote-finish-transition 0.8s ease';
modalList[i].style.... | b11fc7505c3a8781c7f610ac3faeca95928299ec | assets/js/modal-active-url.js | assets/js/modal-active-url.js | JavaScript |
<|file_sep|>original/src/Command/GeneratorEntityConfigCommand.php
<?php
/**
* @file
* Contains \Drupal\AppConsole\Command\GeneratorEntityConfigCommand.
*/
namespace Drupal\AppConsole\Command;
class GeneratorEntityConfigCommand extends GeneratorEntityCommand {
protected function configure()
{
parent::confi... | <?php
/**
* @file
* Contains \Drupal\AppConsole\Command\GeneratorEntityConfigCommand.
*/
namespace Drupal\AppConsole\Command;
class GeneratorEntityConfigCommand extends GeneratorEntityCommand {
protected function configure()
{
$this->setEntityType('EntityConfig');
$this->setCommandName('generate:entit... | <|file_sep|>original/src/Command/GeneratorEntityConfigCommand.php
<?php
/**
* @file
* Contains \Drupal\AppConsole\Command\GeneratorEntityConfigCommand.
*/
namespace Drupal\AppConsole\Command;
class GeneratorEntityConfigCommand extends GeneratorEntityCommand {
protected function configure()
{
parent::confi... | 0c997ab80370b0b380cfa7c84b6bec860cf07532 | src/Command/GeneratorEntityConfigCommand.php | src/Command/GeneratorEntityConfigCommand.php | PHP |
<|file_sep|>original/app/services/fetch_graph_resources.rb
# Fetches subresources from the graphs of envelopes with the given CTIDs
class FetchGraphResources
def self.call(ctids, envelope_community:)
relation = Envelope
.not_deleted
.joins("CROSS JOIN LATERAL jsonb_array_elements(processed_resource->'... | # Fetches subresources from the graphs of envelopes with the given CTIDs
class FetchGraphResources
def self.call(ctids, envelope_community:)
relation = Envelope
.not_deleted
.joins("CROSS JOIN LATERAL jsonb_array_elements(processed_resource->'@graph') AS graph(resource)")
.where(envelope_ceterms... | <|file_sep|>original/app/services/fetch_graph_resources.rb
# Fetches subresources from the graphs of envelopes with the given CTIDs
class FetchGraphResources
def self.call(ctids, envelope_community:)
relation = Envelope
.not_deleted
.joins("CROSS JOIN LATERAL jsonb_array_elements(processed_resource->'... | 6070ec9fd14aaf789fd0ca286c468633685d9b95 | app/services/fetch_graph_resources.rb | app/services/fetch_graph_resources.rb | Ruby |
<|file_sep|>original/jos-webapp/src/main/resources/cn/net/openid/jos/web/password_ja.properties
# \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8cc7\u6e90
password.name=\u540d\u79f0
password.password=\u30d1\u30b9\u30ef\u30fc\u30c9
password.label.name=\u540d\u79f0\uff1a
password.label.password=\u30d1\u30b9\u30ef\u30fc\u30c9\uf... | # \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8cc7\u6e90
password.name=\u540d\u79f0
password.password=\u30d1\u30b9\u30ef\u30fc\u30c9
password.label.name=\u540d\u79f0\uff1a
password.label.plaintext=\u30d1\u30b9\u30ef\u30fc\u30c9\uff1a
password.label.confirmingPassword=\u78ba\u8a8d\u30d1\u30b9\u30ef\u30fc\u30c9\uff1a
passwor... | <|file_sep|>original/jos-webapp/src/main/resources/cn/net/openid/jos/web/password_ja.properties
# \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u8cc7\u6e90
password.name=\u540d\u79f0
password.password=\u30d1\u30b9\u30ef\u30fc\u30c9
password.label.name=\u540d\u79f0\uff1a
password.label.password=\u30d1\u30b9\u30ef\u30fc\u30c9\uf... | c53cb42025d4276425e1bed1e787deea65e3b2e8 | jos-webapp/src/main/resources/cn/net/openid/jos/web/password_ja.properties | jos-webapp/src/main/resources/cn/net/openid/jos/web/password_ja.properties | INI |
<|file_sep|>original/assets/styles/coc.css
.event-staff img {
border-radius: 50px;
display: block;
height: 100px;
margin-bottom: 16px;
width: 100px;
}
.event-staff li {
display: inline-block;
padding: 10px;
text-align: center;
}
.event-staff strong {
font-weight: 500;
}
.phone-number {
font-size:... | .event-staff img {
border-radius: 50px;
display: block;
height: 100px;
margin-bottom: 16px;
width: 100px;
}
.event-staff li {
display: inline-block;
padding: 15px;
text-align: center;
}
.event-staff strong {
font-weight: 500;
}
.phone-number {
font-size: 90%;
text-align: center; | <|file_sep|>original/assets/styles/coc.css
.event-staff img {
border-radius: 50px;
display: block;
height: 100px;
margin-bottom: 16px;
width: 100px;
}
.event-staff li {
display: inline-block;
padding: 10px;
text-align: center;
}
.event-staff strong {
font-weight: 500;
}
.phone-number {
font-size:... | 5d5301e54e2be00100efe34cb289bdd37262f9d5 | assets/styles/coc.css | assets/styles/coc.css | CSS |
<|file_sep|>original/bin/chef-foodcritic-publisher.sh
exit 1
fi
if [ ! -d junit_reports ]; then
mkdir -p junit_reports
fi
rm junit_reports/foodcritic-*.xml 2>/dev/null
PATH=${HOME}/bin:${PATH}
FOODCRITIC=${FOODCRITIC:-foodcritic}
if [ -s ${HOME}/.rvm/scripts/rvm ]
then
. "$HOME/.rvm/scripts/rvm" # Load RVM... | if [ -s ${HOME}/.rvm/scripts/rvm ]
then
. "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
fi
# Gets the cookbook names from the git diff
for cbname in `git diff --name-only ${1} ${2} | awk '$1 ~ /^cookbooks/' | sed -e 's/cookbooks\///' | awk -F '[/]' '{print $1}' | uniq`; do
echo "------... | <|file_sep|>original/bin/chef-foodcritic-publisher.sh
exit 1
fi
if [ ! -d junit_reports ]; then
mkdir -p junit_reports
fi
rm junit_reports/foodcritic-*.xml 2>/dev/null
PATH=${HOME}/bin:${PATH}
FOODCRITIC=${FOODCRITIC:-foodcritic}
if [ -s ${HOME}/.rvm/scripts/rvm ]
then
. "$HOME/.rvm/scripts/rvm" # Load RVM... | 4426536a2cc50eb0e28d9efdd9718620e5db7837 | bin/chef-foodcritic-publisher.sh | bin/chef-foodcritic-publisher.sh | Shell |
<|file_sep|>original/core/build_id.mk
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | #
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | <|file_sep|>original/core/build_id.mk
#
# Copyright (C) 2008 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.... | c89e9a0d040eb04fb97ac5fc662914ff0f10fb2a | core/build_id.mk | core/build_id.mk | Makefile |
<|file_sep|>original/src/components/index.js
/**
* Point of contact for component modules
*
* ie: import { CounterButton, InfoBar } from 'components';
*
*/
export App from './App/App';
export Button from './Button/Button';
export FeaturesGrid from './FeaturesGrid/FeaturesGrid';
export Feature from './Feature/Fea... | /**
* Point of contact for component modules
*
* ie: import { CounterButton, InfoBar } from 'components';
*
*/
export App from './App/App';
export Button from './Button/Button';
export FeaturesGrid from './FeaturesGrid/FeaturesGrid';
export Feature from './Feature/Feature';
export Image from './Image/Image';
exp... | <|file_sep|>original/src/components/index.js
/**
* Point of contact for component modules
*
* ie: import { CounterButton, InfoBar } from 'components';
*
*/
export App from './App/App';
export Button from './Button/Button';
export FeaturesGrid from './FeaturesGrid/FeaturesGrid';
export Feature from './Feature/Fea... | 694ebbf66b1a58b9ebbcf2dbd49822838a33076b | src/components/index.js | src/components/index.js | JavaScript |
<|file_sep|>original/samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java
import com.codahale.metrics.Meter;
import org.apache.camel.Exchange;
import org.apache.camel.RuntimeExchangeException;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@Applicat... | import org.apache.camel.Exchange;
import org.apache.camel.RuntimeExchangeException;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@ApplicationScoped
public class UnreliableService {
@Inject
private Meter attempt;
//@Metered
// TODO: to activate when global intercepto... | <|file_sep|>original/samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java
import com.codahale.metrics.Meter;
import org.apache.camel.Exchange;
import org.apache.camel.RuntimeExchangeException;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
@Applicat... | 1b4eecb75d2f2c84b5dd129d753de5fa3c99241c | samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java | samples/metrics/src/main/java/org/apache/camel/cdi/sample/metrics/UnreliableService.java | Java |
<|file_sep|>original/package.json
"homepage": "https://github.com/maxdeviant/redux-persist-transform-encrypt#readme",
"dependencies": {
"crypto-js": "^3.1.6",
"redux-persist": "^3.1.1"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.8.0",... | "url": "https://github.com/maxdeviant/redux-persist-transform-encrypt/issues"
},
"homepage": "https://github.com/maxdeviant/redux-persist-transform-encrypt#readme",
"dependencies": {
"crypto-js": "^3.1.6",
"redux-persist": "^3.1.1"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-pres... | <|file_sep|>original/package.json
"homepage": "https://github.com/maxdeviant/redux-persist-transform-encrypt#readme",
"dependencies": {
"crypto-js": "^3.1.6",
"redux-persist": "^3.1.1"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-register": "^6.8.0",... | e874dbaf4d13d8497e6787b577e5d2912cb607c9 | package.json | package.json | JSON |
<|file_sep|>original/app/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Ship Shape</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for "hea... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Ship Shape</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="Dz4eHS9D... | <|file_sep|>original/app/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Ship Shape</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{content-for "hea... | 0446f3b9ae205b78a4850f429542772bdc829d14 | app/index.html | app/index.html | HTML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.... | language: node_js
node_js:
- "0.10"
- "0.12"
- "iojs"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_module... | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
- "0.11"
before_script:
- npm install -g istanbul
- npm install coveralls
- npm install mocha-lcov-reporter
after_script:
- NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.... | 50af413d7e2c40f61e164f45087851fc540a8f87 | .travis.yml | .travis.yml | YAML |
<|file_sep|>wooey/migrations/0037_populate-jsonfield.py.diff
original:
updated:
def reverse_populate_default(apps, schema_editor):
ScriptParameter = apps.get_model('wooey', 'ScriptParameter')
for obj in ScriptParameter.objects.all():
obj._default = json.dumps(obj.default)
obj.save()
<|file_se... | except Exception:
obj.default = obj._default
obj.save()
def reverse_populate_default(apps, schema_editor):
ScriptParameter = apps.get_model('wooey', 'ScriptParameter')
for obj in ScriptParameter.objects.all():
obj._default = json.dumps(obj.default)
obj.save()
clas... | <|file_sep|>wooey/migrations/0037_populate-jsonfield.py.diff
original:
updated:
def reverse_populate_default(apps, schema_editor):
ScriptParameter = apps.get_model('wooey', 'ScriptParameter')
for obj in ScriptParameter.objects.all():
obj._default = json.dumps(obj.default)
obj.save()
<|file_se... | 1d13bd71ff105d540c3af166056cb0b8731a3417 | wooey/migrations/0037_populate-jsonfield.py | wooey/migrations/0037_populate-jsonfield.py | Python |
<|file_sep|>original/.github/workflows/build_orbit.yml
name: Build Orbit
on: [push, pull_request]
jobs:
build:
name: Build on JDK ${{ matrix.jdk }}
strategy:
matrix:
jdk: [ '8', '11', '12' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK
... | name: Build Orbit
on: [push, pull_request]
jobs:
build:
name: Build on JDK ${{ matrix.jdk }}
strategy:
matrix:
jdk: [ '8', '11', '13' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK
uses: actions/setup-java@v1
with:
... | <|file_sep|>original/.github/workflows/build_orbit.yml
name: Build Orbit
on: [push, pull_request]
jobs:
build:
name: Build on JDK ${{ matrix.jdk }}
strategy:
matrix:
jdk: [ '8', '11', '12' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK
... | fa45ce5babeb5a29e1b995460bec38d9add34647 | .github/workflows/build_orbit.yml | .github/workflows/build_orbit.yml | YAML |
<|file_sep|>original/app/views/welcome/instruction.html.erb
<%= render 'articles/header',
header_class: '',
header_image: 'http://demos.creative-tim.com/material-kit-pro/assets/img/bg10.jpg',
header_title: 'Instruction' %>
<%= render 'articles/layout', content_class: 'col-md-8 col-lg-o... | <%= render 'articles/header',
header_class: '',
header_image: asset_path('library.jpg'),
header_title: 'Instruction' %>
<%= render 'articles/layout', content_class: 'col-md-8 col-lg-offset-2' do %>
<%= @content %>
<% end %> | <|file_sep|>original/app/views/welcome/instruction.html.erb
<%= render 'articles/header',
header_class: '',
header_image: 'http://demos.creative-tim.com/material-kit-pro/assets/img/bg10.jpg',
header_title: 'Instruction' %>
<%= render 'articles/layout', content_class: 'col-md-8 col-lg-o... | 5cc867a43de90bb841dbf8eb913a8e4b4e13e1f9 | app/views/welcome/instruction.html.erb | app/views/welcome/instruction.html.erb | HTML+ERB |
<|file_sep|>app/controllers/gateway_users.js.diff
original:
if (err) { account = [] }
res.send(account)
updated:
if (err) { res.send({ success: false }) }
res.send({ success: true, gatewayAccount: account[0] })
<|file_sep|>app/controllers/gateway_users.js.diff
original:
req.checkBody('name',... | function create(req, res) {
req.checkBody('name', 'Invalid name').notEmpty().isAlphanumeric()
req.checkBody('password', 'Invalid password').notEmpty().isAlphanumeric()
var errors = req.validationErrors();
if (errors) {
res.send({ error: util.inspect(errors) }, 400)
return;
}
var user = User.cr... | <|file_sep|>app/controllers/gateway_users.js.diff
original:
if (err) { account = [] }
res.send(account)
updated:
if (err) { res.send({ success: false }) }
res.send({ success: true, gatewayAccount: account[0] })
<|file_sep|>app/controllers/gateway_users.js.diff
original:
req.checkBody('name',... | 20031c6275c2269d30474c0e0f1ed84454da70a0 | app/controllers/gateway_users.js | app/controllers/gateway_users.js | JavaScript |
<|file_sep|>original/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/DomResourceLimitsBuilder.java
* @author geirst
*/
public class DomResourceLimitsBuilder {
public static ResourceLimits.Builder createBuilder(ModelElement contentXml, boolean hostedVespa, DeployLogger deployLogger) {
Res... | * @author geirst
*/
public class DomResourceLimitsBuilder {
public static ResourceLimits.Builder createBuilder(ModelElement contentXml, boolean hostedVespa, DeployLogger deployLogger) {
ResourceLimits.Builder builder = new ResourceLimits.Builder();
ModelElement resourceLimits = contentXml.child("... | <|file_sep|>original/config-model/src/main/java/com/yahoo/vespa/model/content/cluster/DomResourceLimitsBuilder.java
* @author geirst
*/
public class DomResourceLimitsBuilder {
public static ResourceLimits.Builder createBuilder(ModelElement contentXml, boolean hostedVespa, DeployLogger deployLogger) {
Res... | 994414eea4763b1a132b64b4b7a0137d7fb49c95 | config-model/src/main/java/com/yahoo/vespa/model/content/cluster/DomResourceLimitsBuilder.java | config-model/src/main/java/com/yahoo/vespa/model/content/cluster/DomResourceLimitsBuilder.java | Java |
<|file_sep|>original/packages/@glimmer/integration-tests/lib/modes/rehydration/builder.ts
export class DebugRehydrationBuilder extends RehydrateBuilder {
clearedNodes: SimpleNode[] = [];
remove(node: SimpleNode) {
let next = super.remove(node);
let el = node as Element;
if (node.nodeType !== 8) {
... | export class DebugRehydrationBuilder extends RehydrateBuilder {
clearedNodes: SimpleNode[] = [];
remove(node: SimpleNode) {
let next = super.remove(node);
let el = node as Element;
if (node.nodeType !== 8) {
if (el.nodeType === 1) {
// don't stat serialized cursor positions
if (e... | <|file_sep|>original/packages/@glimmer/integration-tests/lib/modes/rehydration/builder.ts
export class DebugRehydrationBuilder extends RehydrateBuilder {
clearedNodes: SimpleNode[] = [];
remove(node: SimpleNode) {
let next = super.remove(node);
let el = node as Element;
if (node.nodeType !== 8) {
... | c5c7e9e8a1e35cf2d692f3cb30b7f6e45d5a5e15 | packages/@glimmer/integration-tests/lib/modes/rehydration/builder.ts | packages/@glimmer/integration-tests/lib/modes/rehydration/builder.ts | TypeScript |
<|file_sep|>original/common/policies/README.md
# policies
These policies are only valid for the official version of ShieldBattery. Forks
or other hosts should provide their own replacements to match their own policies
and usage.
## Update guide
Any updates to these policies should add an entry to the changelog at th... | # policies
These policies are only valid for the official version of ShieldBattery. Forks
or other hosts should provide their own replacements to match their own policies
and usage.
## Update guide
Any updates to these policies should add an entry to the changelog at the
beginning (or add a changelog if one is not y... | <|file_sep|>original/common/policies/README.md
# policies
These policies are only valid for the official version of ShieldBattery. Forks
or other hosts should provide their own replacements to match their own policies
and usage.
## Update guide
Any updates to these policies should add an entry to the changelog at th... | 6b815de8f604d477981650f3d5f65deceb4194d3 | common/policies/README.md | common/policies/README.md | Markdown |
<|file_sep|>original/tests/Timezone/Earth/Antarctica/PalmerTest.php
class PalmerTest extends \PHPUnit_Framework_TestCase
{
public function testInterface()
{
$zone = new Palmer;
$this->assertInstanceOf(TimezoneInterface::class, $zone);
$this->assertSame(-3, $zone->hours());
$this... | class PalmerTest extends \PHPUnit_Framework_TestCase
{
public function testInterface()
{
$zone = new Palmer;
$this->assertInstanceOf(TimezoneInterface::class, $zone);
$this->assertSame(-3, $zone->hours());
$this->assertSame(0, $zone->minutes());
$this->assertSame('-03:00... | <|file_sep|>original/tests/Timezone/Earth/Antarctica/PalmerTest.php
class PalmerTest extends \PHPUnit_Framework_TestCase
{
public function testInterface()
{
$zone = new Palmer;
$this->assertInstanceOf(TimezoneInterface::class, $zone);
$this->assertSame(-3, $zone->hours());
$this... | b8561df674c6362925a53205d93ca9383fc9bfc6 | tests/Timezone/Earth/Antarctica/PalmerTest.php | tests/Timezone/Earth/Antarctica/PalmerTest.php | PHP |
<|file_sep|>README.md.diff
original:
updated:
#### 1. Install node
<|file_sep|>README.md.diff
original:
updated:
```bash
$ npm install npm -g
```
<|file_sep|>README.md.diff
original:
updated:
```bash
$ npm install --global gulp
```
<|file_sep|>README.md.diff
original:
updated:
#### 1. Navigate to project di... | # animal-band
Audio sampler
### Setup
#### 1. Install node
#### 1. Install npm
```bash
$ npm install npm -g
```
#### 2. Install gulp globally
```bash
$ npm install --global gulp
```
### Run
#### 1. Navigate to project dir
#### 2. Run gulp
```bash
$ gulp
``` | <|file_sep|>README.md.diff
original:
updated:
#### 1. Install node
<|file_sep|>README.md.diff
original:
updated:
```bash
$ npm install npm -g
```
<|file_sep|>README.md.diff
original:
updated:
```bash
$ npm install --global gulp
```
<|file_sep|>README.md.diff
original:
updated:
#### 1. Navigate to project di... | 689edf25da301886d7558c8d507200393f55129c | README.md | README.md | Markdown |
<|file_sep|>original/Pinmark/NSURL+Pinmark.h
//
// NSURL+Pinmark.h
// Pinmark
//
// Created by Kyle Stevens on 12/24/13.
// Copyright (c) 2013 kilovolt42. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSURL (Pinmark)
- (NSDictionary *)queryParameters;
@end
<|file_sep|>current/Pinmark/NSUR... | //
// NSURL+Pinmark.h
// Pinmark
//
// Created by Kyle Stevens on 12/24/13.
// Copyright (c) 2013 kilovolt42. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSURL (Pinmark)
/**
* Creates a dictionary of the query parameters in which fields are keys for the corresponding values.
* Does not... | <|file_sep|>original/Pinmark/NSURL+Pinmark.h
//
// NSURL+Pinmark.h
// Pinmark
//
// Created by Kyle Stevens on 12/24/13.
// Copyright (c) 2013 kilovolt42. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSURL (Pinmark)
- (NSDictionary *)queryParameters;
@end
<|file_sep|>current/Pinmark/NSUR... | d484ae979059e596c9fb1d4fb02008f86b0e1bd6 | Pinmark/NSURL+Pinmark.h | Pinmark/NSURL+Pinmark.h | C |
<|file_sep|>src/projects/contact/sequential/CMakeLists.txt.diff
original:
test_CTC_box_triangle_collision
updated:
<|file_sep|>original/src/projects/contact/sequential/CMakeLists.txt
test_CTC_hulls
test_CTC_mesh
test_CTC_box_mesh
test_CTC_penalty
test_CTC_box_collision_seq
test_CTC_rolling_... | test_CTC_hulls
test_CTC_mesh
test_CTC_box_mesh
test_CTC_penalty
test_CTC_box_collision_seq
test_CTC_rolling_seq
test_CTC_sentinel
test_CTC_ANCFshell
)
if(THRUST_FOUND)
set(PROGRAMS ${PROGRAMS}
test_CTC_box_triangle_collision
)
endif()
set(CXX_FLAGS "${CH_CXX_FLAGS} ${CH... | <|file_sep|>src/projects/contact/sequential/CMakeLists.txt.diff
original:
test_CTC_box_triangle_collision
updated:
<|file_sep|>original/src/projects/contact/sequential/CMakeLists.txt
test_CTC_hulls
test_CTC_mesh
test_CTC_box_mesh
test_CTC_penalty
test_CTC_box_collision_seq
test_CTC_rolling_... | 17abc9639f5c34f4a245ea7aab7a0be89de0aee7 | src/projects/contact/sequential/CMakeLists.txt | src/projects/contact/sequential/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rake test"
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
<|file_sep|>current/.travis.yml
language: ruby
script: "bundle exec rake test"
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
<|file_sep|>updated/.travis.yml | language: ruby
script: "bundle exec rake test"
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
- 2.3.1 | <|file_sep|>original/.travis.yml
language: ruby
script: "bundle exec rake test"
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
<|file_sep|>current/.travis.yml
language: ruby
script: "bundle exec rake test"
rvm:
- 1.9.3
- 2.0.0
- 2.1.7
- 2.2.3
<|file_sep|>updated/.travis.yml
language: ruby
script: "bundle exe... | 3ddcee12b0a8c8e64fd5404e64952bd1c368c262 | .travis.yml | .travis.yml | YAML |
<|file_sep|>composer.json.diff
original:
"illuminate/support": "^5.3"
updated:
"illuminate/support": "^5.4"
<|file_sep|>original/composer.json
"keywords": ["skeleton","laravel","package"],
"license": "MIT",
"authors": [
{
"name": "Eduardo Marcos",
"email": "ed... | "keywords": ["skeleton","laravel","package"],
"license": "MIT",
"authors": [
{
"name": "Eduardo Marcos",
"email": "edujugon@gmail.com"
}
],
"require": {
"illuminate/support": "^5.4"
},
"require-dev": {
"phpunit/phpunit": "~5.0"
},
... | <|file_sep|>composer.json.diff
original:
"illuminate/support": "^5.3"
updated:
"illuminate/support": "^5.4"
<|file_sep|>original/composer.json
"keywords": ["skeleton","laravel","package"],
"license": "MIT",
"authors": [
{
"name": "Eduardo Marcos",
"email": "ed... | df0949187eff4e8431be7c66d890b36d76d7edb8 | composer.json | composer.json | JSON |
<|file_sep|>original/test/test_client.coffee
<|file_sep|>current/test/test_client.coffee
<|file_sep|>updated/test/test_client.coffee | client = require 'nack/client'
process = require 'nack/process'
config = __dirname + "/fixtures/echo.ru"
exports.testClientRequest = (test) ->
test.expect 5
p = process.createProcess config
p.on 'ready', () ->
c = client.createConnection p.sock
test.ok c
request = c.request 'GET', '/foo', {}
... | <|file_sep|>original/test/test_client.coffee
<|file_sep|>current/test/test_client.coffee
<|file_sep|>updated/test/test_client.coffee
client = require 'nack/client'
process = require 'nack/process'
config = __dirname + "/fixtures/echo.ru"
exports.testClientRequest = (test) ->
test.expect 5
p = process.createPr... | 98c902cd9bf29c306654545bfce9ce7a70f25a1c | test/test_client.coffee | test/test_client.coffee | CoffeeScript |
<|file_sep|>.circleci/config.yml.diff
original:
- run: lein deps
updated:
# run tests!
- run: lein phantomtest
<|file_sep|>original/.circleci/config.yml
JVM_OPTS: -Xmx3200m
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
... | LEIN_ROOT: "true"
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
# fallback to using the latest cache if no ex... | <|file_sep|>.circleci/config.yml.diff
original:
- run: lein deps
updated:
# run tests!
- run: lein phantomtest
<|file_sep|>original/.circleci/config.yml
JVM_OPTS: -Xmx3200m
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
... | 83f38eaaec511dc5a343822516db6ec394528c78 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>salt/roots/venv_bin.sls.diff
original:
{%- macro venv_with_binary(venv_name, bin_name, req_txt_path, python=None, binary_requirements=False) %}
updated:
{%- macro venv(venv_name, req_txt_path, python=None, binary_requirements=False) %}
<|file_sep|>salt/roots/venv_bin.sls.diff
original:
updated:
{%- if bina... | - pkg: python-virtualenv
{%- if binary_requirements %}
- pkg: python-devel
{%- endif %}
{%- for rtype, rname in varargs %}
- {{ rtype }}: {{ rname }}
{%- endfor %}
{%- endmacro %}
{%- macro venv_with_binary(venv_name, bin_name, req_txt_path, python=None, binary_requirements=False) %}
{{ venv(venv_nam... | <|file_sep|>salt/roots/venv_bin.sls.diff
original:
{%- macro venv_with_binary(venv_name, bin_name, req_txt_path, python=None, binary_requirements=False) %}
updated:
{%- macro venv(venv_name, req_txt_path, python=None, binary_requirements=False) %}
<|file_sep|>salt/roots/venv_bin.sls.diff
original:
updated:
{%- if bina... | 85818bb2a3cf8e132b17e4dee8bc8808f7ac5fb4 | salt/roots/venv_bin.sls | salt/roots/venv_bin.sls | SaltStack |
<|file_sep|>original/.travis.yml
language: python
python: "3.5"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script:
- flake8 .
- pylint .
- nosetests --with coverage --cover-package=sudoku_py3
<|file_sep|>current/.travis.yml
language: python
python: "3.5"
# com... | language: python
python: "3.5"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script:
- flake8 .
- pylint .
- nosetests --with-coverage --cover-package=sudoku_py3 | <|file_sep|>original/.travis.yml
language: python
python: "3.5"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests
script:
- flake8 .
- pylint .
- nosetests --with coverage --cover-package=sudoku_py3
<|file_sep|>current/.travis.yml
language: python
python: "3.5"
# com... | a00e9ad329664497e3b31d3c9f31c53e9bfb3551 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/css/main.css
html {
background-size: cover;
font-family: 'Montserrat', sans-serif;
background-color: black;
}
h1{
color: white;
font-size: 500%;
margin-right: 60%;
margin-left: auto;
margin-top: 200px;
}
#title {
color: white;
font-size: 500%;
margin-top: 25px;
margin-right... | html {
background-size: cover;
font-family: 'Montserrat', sans-serif;
background-color: black;
}
h1{
color: white;
font-size: 500%;
margin-right: 60%;
margin-top: 200px;
}
#title {
color: white;
font-size: 500%;
margin-top: 25px;
margin-right: 60%;
margin-left: auto;
}
#portfolio { | <|file_sep|>original/css/main.css
html {
background-size: cover;
font-family: 'Montserrat', sans-serif;
background-color: black;
}
h1{
color: white;
font-size: 500%;
margin-right: 60%;
margin-left: auto;
margin-top: 200px;
}
#title {
color: white;
font-size: 500%;
margin-top: 25px;
margin-right... | c8a3cae519716e5b082507909c58d55bbbd5792d | css/main.css | css/main.css | CSS |
<|file_sep|>packages/package_rhmm_1_5_0/tool_dependencies.xml.diff
original:
updated:
<package name="R" version="2.15.0">
<repository name="package_r_2_15_0" owner="devteam" prior_installation_required="True" />
</package>
<|file_sep|>original/packages/package_rhmm_1_5_0/tool_dependencies.xml
<?xml ver... | <?xml version="1.0"?>
<tool_dependency>
<package name="R" version="2.15.0">
<repository name="package_r_2_15_0" owner="devteam" prior_installation_required="True" />
</package>
<package name="RHmm" version="1.5.0">
<install version="1.0">
<actions>
<action type="s... | <|file_sep|>packages/package_rhmm_1_5_0/tool_dependencies.xml.diff
original:
updated:
<package name="R" version="2.15.0">
<repository name="package_r_2_15_0" owner="devteam" prior_installation_required="True" />
</package>
<|file_sep|>original/packages/package_rhmm_1_5_0/tool_dependencies.xml
<?xml ver... | 78f5d4c53d140bd19b566071b14aae47d1e38480 | packages/package_rhmm_1_5_0/tool_dependencies.xml | packages/package_rhmm_1_5_0/tool_dependencies.xml | XML |
<|file_sep|>README.md.diff
original:
[](https://travis-ci.org/anroots/sqroot.eu)
[](https://hub.docker.com/r/anroots/sqroot.eu/)
updated:
[](https://travis-ci.org/anroots/sqroot.eu)
[](https://hub.docker.com/r/anroots/sqroot.eu/)
Source files of a Jekyll blog for [sqroot.eu](https://sqroot.eu).
## Lice... | <|file_sep|>README.md.diff
original:
[](https://travis-ci.org/anroots/sqroot.eu)
[](https://hub.docker.com/r/anroots/sqroot.eu/)
updated:
[ > /dev/null 2>&1
for target in $targets; do
line=$(ip neigh | grep $targe... | #! /bin/bash
targets="10:4a:7d:15:64:d6 ac:7b:a1:d3:b6:02"
dirs="$HOME/org $HOME/.gnupg $HOME/.password-store"
# Make sure the ARP tables are refreshed
nmap -sn $(ip -br addr | awk '/UP/ { print $3 }') > /dev/null 2>&1
for target in $targets; do
line=$(ip neigh | grep $target)
if [[ -n $line ]]; then
ip=$(e... | <|file_sep|>original/bin/sync-up.bash
#! /bin/bash
targets="10:4a:7d:15:64:d6 ac:7b:a1:d3:b6:02"
dirs="$HOME/org $HOME/.gnupg $HOME/.password-store"
# Make sure the ARP tables are refreshed
nmap -sn $(ip -br addr | awk '/UP/ { print $3 }') > /dev/null 2>&1
for target in $targets; do
line=$(ip neigh | grep $targe... | e12ba121f7c15049220022fd93eaf5d489fa096b | bin/sync-up.bash | bin/sync-up.bash | Shell |
<|file_sep|>original/src/components/RenderCanvas/GenericCanvasElement/index.css
.selected-canvas-element {
/* TODO: Add a proper selected canvas element effect. */
}
<|file_sep|>current/src/components/RenderCanvas/GenericCanvasElement/index.css
.selected-canvas-element {
/* TODO: Add a proper selected canvas elemen... | .selected-canvas-element {
-webkit-filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.6));
} | <|file_sep|>original/src/components/RenderCanvas/GenericCanvasElement/index.css
.selected-canvas-element {
/* TODO: Add a proper selected canvas element effect. */
}
<|file_sep|>current/src/components/RenderCanvas/GenericCanvasElement/index.css
.selected-canvas-element {
/* TODO: Add a proper selected canvas elemen... | a6190f99819ecd34b1cea80c4192f23511f4b236 | src/components/RenderCanvas/GenericCanvasElement/index.css | src/components/RenderCanvas/GenericCanvasElement/index.css | CSS |
<|file_sep|>original/app/views/layouts/application.html.haml
%body
=render "social_media/fb_header"
=render :partial => "layouts/header"
.content
.left-column
= yield :left_column
.center-column
- flash.each do |name, msg|
- if msg.is_a?(String)
.flash{cla... | =render :partial => "layouts/header"
.content
.left-column
= yield :left_column
.center-column
- flash.each do |name, msg|
- if msg.is_a?(String)
.flash{class: name}= msg
-if controller.controller_name == "home" and controller.action_name == "index"
... | <|file_sep|>original/app/views/layouts/application.html.haml
%body
=render "social_media/fb_header"
=render :partial => "layouts/header"
.content
.left-column
= yield :left_column
.center-column
- flash.each do |name, msg|
- if msg.is_a?(String)
.flash{cla... | 0370b1912988a1e7420afd5bc7712a0db3308e03 | app/views/layouts/application.html.haml | app/views/layouts/application.html.haml | Haml |
<|file_sep|>original/core/app/finders/spree/order/find_current.rb
module Spree
class Order
class FindCurrent
def execute(user:, store:, **params)
params = params.merge(store_id: store.id)
order = incomplete_orders.find_by(params)
return order unless order.nil?
return if use... | module Spree
class Order < Spree::Base
class FindCurrent
def execute(user:, store:, **params)
params = params.merge(store_id: store.id)
order = incomplete_orders.find_by(params)
return order unless order.nil?
return if user.nil?
incomplete_orders.order(created_at: ... | <|file_sep|>original/core/app/finders/spree/order/find_current.rb
module Spree
class Order
class FindCurrent
def execute(user:, store:, **params)
params = params.merge(store_id: store.id)
order = incomplete_orders.find_by(params)
return order unless order.nil?
return if use... | c407cc42234868c5955038051b3faea51c4e4c7f | core/app/finders/spree/order/find_current.rb | core/app/finders/spree/order/find_current.rb | Ruby |
<|file_sep|>original/cassette.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'cassette'
spec.version = '0.1'
spec.date = '2015-06-06'
spec.summary = "Podcast Feed from mp3 files"
spe... | lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'cassette'
spec.version = '0.1.0'
spec.date = '2015-06-06'
spec.summary = "Podcast Feed from mp3 files"
spec.description = "description"
spec... | <|file_sep|>original/cassette.gemspec
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'cassette'
spec.version = '0.1'
spec.date = '2015-06-06'
spec.summary = "Podcast Feed from mp3 files"
spe... | 6198d84665d1caaea73ba32dfedc9be6c01ba5ab | cassette.gemspec | cassette.gemspec | Ruby |
<|file_sep|>original/.travis.yml
dist: xenial
language: scala
cache:
directories:
- "$HOME/.coursier/cache"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot"
script: sbt test
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
dist: xenial
language: scala
cache:
directories:
- "$HOME/.coursier/cache"
- "$HO... | dist: xenial
language: scala
cache:
directories:
- "$HOME/.coursier/cache"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot"
script: sbt test
jdk:
- openjdk8 | <|file_sep|>original/.travis.yml
dist: xenial
language: scala
cache:
directories:
- "$HOME/.coursier/cache"
- "$HOME/.ivy2/cache"
- "$HOME/.sbt/boot"
script: sbt test
jdk:
- oraclejdk8
<|file_sep|>current/.travis.yml
dist: xenial
language: scala
cache:
directories:
- "$HOME/.coursier/cache"
- "$HO... | a1e4cf88f495c15222d431c50c1a9d78b0c1c178 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java
<|file_sep|>current/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java
<|file_sep|>updated/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java | package org.zwobble.mammoth.internal.styles;
import org.zwobble.mammoth.internal.html.HtmlNode;
import java.util.List;
import java.util.function.Supplier;
import static org.zwobble.mammoth.internal.util.Lists.list;
public class Ignore implements HtmlPath {
@Override
public Supplier<List<HtmlNode>> wrap(Supp... | <|file_sep|>original/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java
<|file_sep|>current/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java
<|file_sep|>updated/src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java
package org.zwobble.mammoth.internal.styles;
import org.zwobble.mammot... | 8eba7f1f55307baf8dfce74b07c49f89c2ca2404 | src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java | src/main/java/org/zwobble/mammoth/internal/styles/Ignore.java | Java |
<|file_sep|>Misc/OpenCVCalib/calib_xml_from_folder.sh.diff
original:
echo '?xml version="1.0"?>'
updated:
echo '<?xml version="1.0"?>'
<|file_sep|>original/Misc/OpenCVCalib/calib_xml_from_folder.sh
#!/bin/sh
echo '?xml version="1.0"?>'
echo '<opencv_storage><images>'
ls $1
echo '</images></opencv_storage>'
echo
<|file... | #!/bin/sh
echo '<?xml version="1.0"?>'
echo '<opencv_storage><images>'
find $1 -type f -print
echo '</images></opencv_storage>'
echo | <|file_sep|>Misc/OpenCVCalib/calib_xml_from_folder.sh.diff
original:
echo '?xml version="1.0"?>'
updated:
echo '<?xml version="1.0"?>'
<|file_sep|>original/Misc/OpenCVCalib/calib_xml_from_folder.sh
#!/bin/sh
echo '?xml version="1.0"?>'
echo '<opencv_storage><images>'
ls $1
echo '</images></opencv_storage>'
echo
<|file... | a992ed409dab0d8ee60f1bf906ab3078e6d92bed | Misc/OpenCVCalib/calib_xml_from_folder.sh | Misc/OpenCVCalib/calib_xml_from_folder.sh | Shell |
<|file_sep|>tasks/secure-installation.yml.diff
original:
updated:
- name: Get list of hosts for root user
command: mysql -NBe 'SELECT Host from mysql.user WHERE User = "root" order by (Host="localhost") ASC'
register: mysql_root_hosts
changed_when: false
<|file_sep|>original/tasks/secure-installation.yml
na... | changed_when: false
# 'localhost' needs to be last for idempotency.
- name: Update MySQL root password for localhost root account.
mysql_user:
name: "root"
host: "{{ item }}"
password: "{{ mysql_root_password }}"
with_items: mysql_root_hosts.stdout_lines
# Has to be after the root password assignmen... | <|file_sep|>tasks/secure-installation.yml.diff
original:
updated:
- name: Get list of hosts for root user
command: mysql -NBe 'SELECT Host from mysql.user WHERE User = "root" order by (Host="localhost") ASC'
register: mysql_root_hosts
changed_when: false
<|file_sep|>original/tasks/secure-installation.yml
na... | 0fbf3fa4d868034a804b30cfc4716f52cefdd263 | tasks/secure-installation.yml | tasks/secure-installation.yml | YAML |
<|file_sep|>concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php.diff
original:
updated:
use Concrete\Core\Localization\Localization;
<|file_sep|>concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php.diff
original:
public function __construct(Ses... |
public function get()
{
return $this->session->get($this->getSessionIdentifier());
}
public function clear()
{
$prefix = $this->getIdentifier() . '@';
foreach (array_keys($this->session->all()) as $sessionKey) {
if (strpos($sessionKey, $prefix) === 0) {
... | <|file_sep|>concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php.diff
original:
updated:
use Concrete\Core\Localization\Localization;
<|file_sep|>concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php.diff
original:
public function __construct(Ses... | a8cafe4b3aa2c35957acc027342851ea991dead8 | concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php | concrete/src/Application/UserInterface/Dashboard/Navigation/AbstractNavigationCache.php | PHP |
<|file_sep|>original/doc/source/index.rst
libdesktop is a library that makes it easy to integrate into the OS, without worrying about its quirks.
Supports Windows (7+), OS X and Linux/Unix.
* `A list of modules. <module-list.html>`_
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:maxdepth: 10
... | Supports Windows (7+), OS X and Linux/Unix.
* `A list of modules. <module-list.html>`_
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:maxdepth: 10
:caption: Contents
module-list
applications
desktopfile
system
startup
wallpaper
volume
| <|file_sep|>original/doc/source/index.rst
libdesktop is a library that makes it easy to integrate into the OS, without worrying about its quirks.
Supports Windows (7+), OS X and Linux/Unix.
* `A list of modules. <module-list.html>`_
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. toctree::
:maxdepth: 10
... | fca00f830f3d48155f4d271f79c24177da98ee17 | doc/source/index.rst | doc/source/index.rst | reStructuredText |
<|file_sep|>original/src/lib/transforms/Babel.js
import path from 'path'
export default class BabelTransform {
constructor(config = {}, options = {}) {
this.options = {
skipOnError: true, // When false, errors will halt execution
logErrors: true,
...options
}
... | import path from 'path'
export default class BabelTransform {
constructor(config = {}, options = {}) {
this.options = {
skipOnError: false, // When false, errors will halt execution
logErrors: true,
...options
}
this.config = {
sourceMaps: "b... | <|file_sep|>original/src/lib/transforms/Babel.js
import path from 'path'
export default class BabelTransform {
constructor(config = {}, options = {}) {
this.options = {
skipOnError: true, // When false, errors will halt execution
logErrors: true,
...options
}
... | e7897da8738479a0741b9d5487451c82fc9ec2b0 | src/lib/transforms/Babel.js | src/lib/transforms/Babel.js | JavaScript |
<|file_sep|>original/web_development/web_development-optimization-notes.md
# Web Development Optimization Notes
<|file_sep|>current/web_development/web_development-optimization-notes.md
# Web Development Optimization Notes
<|file_sep|>updated/web_development/web_development-optimization-notes.md | # Web Development Optimization Notes
- DNS Prefetching, preconnect, prefetching, preloading, prerendering assets:
+ https://css-tricks.com/prefetching-preloading-prebrowsing/
+ https://csswizardry.com/2013/01/front-end-performance-for-web-designers-and-front-end-developers/
| <|file_sep|>original/web_development/web_development-optimization-notes.md
# Web Development Optimization Notes
<|file_sep|>current/web_development/web_development-optimization-notes.md
# Web Development Optimization Notes
<|file_sep|>updated/web_development/web_development-optimization-notes.md
# Web Development Optim... | a0077d2ed28788fe770155f196f61a8ee6aa01a0 | web_development/web_development-optimization-notes.md | web_development/web_development-optimization-notes.md | Markdown |
<|file_sep|>src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java.diff
original:
package main.java.org.usfirst.frc.team1360.robot.autonomous;
updated:
package org.usfirst.frc.team1360.robot.autonomous;
<|file_sep|>original/src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManage... | package org.usfirst.frc.team1360.robot.autonomous;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.CommandGroup;
import org.usfirst.frc.team1360.robot.util.CommandData;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
public class Autonomous... | <|file_sep|>src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java.diff
original:
package main.java.org.usfirst.frc.team1360.robot.autonomous;
updated:
package org.usfirst.frc.team1360.robot.autonomous;
<|file_sep|>original/src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManage... | 744842877aae29e3308fc383c345596333012663 | src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java | src/main/java/org/usfirst/frc/team1360/robot/autonomous/AutonomousManager.java | Java |
<|file_sep|>original/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py
<|file_sep|>current/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py
<|file_sep|>updated/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2012 Red Hat, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.o... | <|file_sep|>original/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py
<|file_sep|>current/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py
<|file_sep|>updated/nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py
# vim... | 6d65637dec129863ac4a96bb28b476f032bbff84 | nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py | nova/db/sqlalchemy/migrate_repo/versions/143_rename_instance_info_cache_sequence.py | Python |
<|file_sep|>README.md.diff
original:
int responseCode = httpPost.setRequestBody("username=user&password=passwd")
updated:
int responseCode = httpPost.setBody("username=user&password=passwd")
<|file_sep|>original/README.md
Http httpGet = new HttpGet("https://httpbin.org/get");
int responseCode = httpGet... |
Http httpGet = new HttpGet("https://httpbin.org/get");
int responseCode = httpGet.execute();
HTTP POST
Http httpPost = new HttpPost("https://httpbin.org/post");
int responseCode = httpPost.setBody("username=user&password=passwd")
.execute();
... | <|file_sep|>README.md.diff
original:
int responseCode = httpPost.setRequestBody("username=user&password=passwd")
updated:
int responseCode = httpPost.setBody("username=user&password=passwd")
<|file_sep|>original/README.md
Http httpGet = new HttpGet("https://httpbin.org/get");
int responseCode = httpGet... | a6085a0ea105835aa94b873e3d199de53c286fdf | README.md | README.md | Markdown |
<|file_sep|>original/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_hydea_session'
<|file_sep|>current/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
Rails.a... | # Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_hydea_session',
:expire_after => 30.minutes | <|file_sep|>original/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_hydea_session'
<|file_sep|>current/config/initializers/session_store.rb
# Be sure to restart your server when you modify this file.
Rails.a... | 06c393eaa44f8300cffc610e9b1a204d9cb1db78 | config/initializers/session_store.rb | config/initializers/session_store.rb | Ruby |
<|file_sep|>original/amqp0/parser-nom/src/lib.rs
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(feature="clippy", feature(p... | // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(feature="clippy", feature(plugin))]
#![cfg_attr(feature="clippy", plugin(cli... | <|file_sep|>original/amqp0/parser-nom/src/lib.rs
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(feature="clippy", feature(p... | 3033cc9a160fdf14ba591d55a3d0ba8a1e28f34b | amqp0/parser-nom/src/lib.rs | amqp0/parser-nom/src/lib.rs | Rust |
<|file_sep|>lib/variation-matches.js.diff
original:
var basename = require('path').basename;
updated:
<|file_sep|>original/lib/variation-matches.js
var basename = require('path').basename;
module.exports = variationMatches;
function variationMatches(variations, path) {
var result;
variations.some(function(var... |
module.exports = variationMatches;
function variationMatches(variations, path) {
var result;
variations.some(function(variation) {
variation.chain.some(function(dir) {
var parts = path.split(new RegExp("/"+dir+"/"));
var found = parts.length > 1;
if (found) result = ... | <|file_sep|>lib/variation-matches.js.diff
original:
var basename = require('path').basename;
updated:
<|file_sep|>original/lib/variation-matches.js
var basename = require('path').basename;
module.exports = variationMatches;
function variationMatches(variations, path) {
var result;
variations.some(function(var... | 6720ea61038cf20824fe2b2e1c02db99a569cd3e | lib/variation-matches.js | lib/variation-matches.js | JavaScript |
<|file_sep|>coffee/image_list_widget.coffee.diff
original:
.fromEvent($(window), 'scroll')
updated:
.fromEvent($(window), 'scroll mousewheel')
<|file_sep|>original/coffee/image_list_widget.coffee
Rx.Observable
.fromEvent($(window), 'scroll')
.m... | Rx.Observable
.fromEvent($(window), 'scroll mousewheel')
.map(() => Unit.create())
.startWith(Unit.create()),
() => @reveal()
)
onDestroy: () ->
@binder.detach()
getScroll: () -> document.documentElement.scrollTop || docum... | <|file_sep|>coffee/image_list_widget.coffee.diff
original:
.fromEvent($(window), 'scroll')
updated:
.fromEvent($(window), 'scroll mousewheel')
<|file_sep|>original/coffee/image_list_widget.coffee
Rx.Observable
.fromEvent($(window), 'scroll')
.m... | fcf2834a4e4a44f0bd22aba47a657a24f32e42de | coffee/image_list_widget.coffee | coffee/image_list_widget.coffee | CoffeeScript |
<|file_sep|>original/composer.json
"illuminate/support": "5.4.*",
"illuminate/database": "5.4.*",
"illuminate/view": "5.4.*",
"illuminate/http": "5.4.*",
"illuminate/filesystem": "5.4.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0"
},
"suggest": {
"ya... | "illuminate/database": "5.4.*",
"illuminate/view": "5.4.*",
"illuminate/http": "5.4.*",
"illuminate/filesystem": "5.4.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0"
},
"suggest": {
"yajra/laravel-datatables-buttons": "Plugin for server-side exporting of ... | <|file_sep|>original/composer.json
"illuminate/support": "5.4.*",
"illuminate/database": "5.4.*",
"illuminate/view": "5.4.*",
"illuminate/http": "5.4.*",
"illuminate/filesystem": "5.4.*"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0"
},
"suggest": {
"ya... | d55f7a547e4cae17a39981de61ce366dbfbf8f13 | composer.json | composer.json | JSON |
<|file_sep|>original/lib/mountebank/helper.rb
require 'faraday'
module Mountebank
class Helper
def self.symbolize(obj)
return obj.reduce({}) do |memo, (k, v)|
memo.tap { |m| m[k.to_sym] = symbolize(v) }
end if obj.is_a? Hash
return obj.reduce([]) do |memo, v|
memo << symbolize(... | require 'faraday'
module Mountebank
class Helper
# Convert Ruby Hash keys into symbols
# Source: https://gist.github.com/Integralist/9503099
def self.symbolize(obj)
return obj.reduce({}) do |memo, (k, v)|
memo.tap { |m| m[k.to_sym] = symbolize(v) }
end if obj.is_a? Hash
return ... | <|file_sep|>original/lib/mountebank/helper.rb
require 'faraday'
module Mountebank
class Helper
def self.symbolize(obj)
return obj.reduce({}) do |memo, (k, v)|
memo.tap { |m| m[k.to_sym] = symbolize(v) }
end if obj.is_a? Hash
return obj.reduce([]) do |memo, v|
memo << symbolize(... | 8ee18ccdc7faf7faee11ecb72d244d7edc4c5f00 | lib/mountebank/helper.rb | lib/mountebank/helper.rb | Ruby |
<|file_sep|>original/camera-capture-test.py
<|file_sep|>current/camera-capture-test.py
<|file_sep|>updated/camera-capture-test.py | #! /usr/bin/env python
# -*- coding:utf-8 -*-
#
# Application to capture images synchronously
# from two AVT Manta cameras with the Vimba SDK
#
# External dependencies
import collections, cv2, time
import Vimba
# Number of images saved
image_count = 0
# Frame per second counter
counter = 0
fps_counter = 0
fps_bu... | <|file_sep|>original/camera-capture-test.py
<|file_sep|>current/camera-capture-test.py
<|file_sep|>updated/camera-capture-test.py
#! /usr/bin/env python
# -*- coding:utf-8 -*-
#
# Application to capture images synchronously
# from two AVT Manta cameras with the Vimba SDK
#
# External dependencies
import collecti... | 93ba1d34e51a9b959b63e77eae78845dd86203ed | camera-capture-test.py | camera-capture-test.py | Python |
<|file_sep|>original/metadata/io.github.otakuchiyan.dnsman.txt
gradle=yes
Build:0.5,50
disable=builds fails
commit=0.5
subdir=app
gradle=yes
Build:0.7.1,71
commit=v0.7.1
subdir=app
gradle=yes
prebuild=pushd .. && \
sh depending_repos.sh && \
popd
Auto Update Mode:N... |
Build:0.5,50
disable=builds fails
commit=0.5
subdir=app
gradle=yes
Build:0.7.1,71
commit=v0.7.1
subdir=app
gradle=yes
prebuild=pushd .. && \
sh depending_repos.sh && \
popd
Auto Update Mode:None
# Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.7.... | <|file_sep|>original/metadata/io.github.otakuchiyan.dnsman.txt
gradle=yes
Build:0.5,50
disable=builds fails
commit=0.5
subdir=app
gradle=yes
Build:0.7.1,71
commit=v0.7.1
subdir=app
gradle=yes
prebuild=pushd .. && \
sh depending_repos.sh && \
popd
Auto Update Mode:N... | 068126d68c402b8e5e515eaa04fbcafe56fcf929 | metadata/io.github.otakuchiyan.dnsman.txt | metadata/io.github.otakuchiyan.dnsman.txt | Text |
<|file_sep|>original/.github/workflows/Sc10-CI.yml
<|file_sep|>current/.github/workflows/Sc10-CI.yml
<|file_sep|>updated/.github/workflows/Sc10-CI.yml | # Basic CI build for Sitecore v10
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ develop ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow ... | <|file_sep|>original/.github/workflows/Sc10-CI.yml
<|file_sep|>current/.github/workflows/Sc10-CI.yml
<|file_sep|>updated/.github/workflows/Sc10-CI.yml
# Basic CI build for Sitecore v10
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch... | e441cc49aea37b50da699a50ed67c8bef01a6637 | .github/workflows/Sc10-CI.yml | .github/workflows/Sc10-CI.yml | YAML |
<|file_sep|>package.json.diff
original:
"eslint": "^2.10.2",
updated:
"eslint": "^2.13.1",
<|file_sep|>original/package.json
"optimization",
"yahoo",
"quotes"
],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"dep... | "optimization",
"yahoo",
"quotes"
],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"dependencies": {
"cheerio": "~0.20.0",
"quadprog": "~1.5.0",
"request": "~2.72.0",
"rio": "~2.4.1"
},
"d... | <|file_sep|>package.json.diff
original:
"eslint": "^2.10.2",
updated:
"eslint": "^2.13.1",
<|file_sep|>original/package.json
"optimization",
"yahoo",
"quotes"
],
"author": "Alberto Santini",
"license": "MIT",
"engines": {
"node": ">=0.12.x"
},
"dep... | 7e88511750b63582ef173baef79d2b7fb72f1fbc | package.json | package.json | JSON |
<|file_sep|>original/app/views/images/new.html.erb
<!-- this is a partial, a box that pops up over an album -->
<!-- can pick img on device or upload from url -->
<!-- can select multiple images -->
<!-- can X out of this partial to cancel uploading images to this album -->
<|file_sep|>current/app/views/images/new.html... | <!-- this is a partial, a box that pops up over an album -->
<!-- can pick img on device or upload from url -->
<!-- can select multiple images -->
<!-- can X out of this partial to cancel uploading images to this album -->
<%= cloudinary_js_config %>
<%= form_for :image, url: image_path do |f| %>
<%= render "share... | <|file_sep|>original/app/views/images/new.html.erb
<!-- this is a partial, a box that pops up over an album -->
<!-- can pick img on device or upload from url -->
<!-- can select multiple images -->
<!-- can X out of this partial to cancel uploading images to this album -->
<|file_sep|>current/app/views/images/new.html... | 08a48989fafffc5286b26752ad1d1a2922d74e25 | app/views/images/new.html.erb | app/views/images/new.html.erb | HTML+ERB |
<|file_sep|>original/chrome/browser/resources/options/autofill_options.css
.autofill-list-item {
-webkit-box-flex: 1;
-webkit-padding-start: 8px;
}
.autofill-list-item + img {
-webkit-padding-end: 20px;
vertical-align: middle;
}
#autofill-options > div:last-child {
margin-top: 15px;
}
#autofill-options > d... | .autofill-list-item {
-webkit-box-flex: 1;
-webkit-padding-start: 8px;
overflow: hidden;
text-overflow: ellipsis;
}
.autofill-list-item + img {
-webkit-padding-end: 20px;
vertical-align: middle;
}
#autofill-options > div:last-child {
margin-top: 15px;
}
#autofill-options > div.settings-list > div:last-... | <|file_sep|>original/chrome/browser/resources/options/autofill_options.css
.autofill-list-item {
-webkit-box-flex: 1;
-webkit-padding-start: 8px;
}
.autofill-list-item + img {
-webkit-padding-end: 20px;
vertical-align: middle;
}
#autofill-options > div:last-child {
margin-top: 15px;
}
#autofill-options > d... | 0eb317509a4472a1c08579cfc0b69f8bbd8c5201 | chrome/browser/resources/options/autofill_options.css | chrome/browser/resources/options/autofill_options.css | CSS |
<|file_sep|>_posts/2015-08-26-ember-findby-on-promisearray.md.diff
original:
{% highlight js %}
updated:
```js
<|file_sep|>original/_posts/2015-08-26-ember-findby-on-promisearray.md
---
How to do a `findBy` on an `PromiseArray` in Ember?
{% highlight js %}
export default Ember.ObjectController.extend({
products: f... | ---
How to do a `findBy` on an `PromiseArray` in Ember?
```js
export default Ember.ObjectController.extend({
products: function() {
return this.store.find('products');
}.property(),
product: function() {
return this.get('products').findBy('default', true);
}.property('products.isFulfilled')
});
```... | <|file_sep|>_posts/2015-08-26-ember-findby-on-promisearray.md.diff
original:
{% highlight js %}
updated:
```js
<|file_sep|>original/_posts/2015-08-26-ember-findby-on-promisearray.md
---
How to do a `findBy` on an `PromiseArray` in Ember?
{% highlight js %}
export default Ember.ObjectController.extend({
products: f... | 3870dfee4e2ea5e40f319ff5d7028478dc4d9d34 | _posts/2015-08-26-ember-findby-on-promisearray.md | _posts/2015-08-26-ember-findby-on-promisearray.md | Markdown |
<|file_sep|>views/partials/group.php.diff
original:
<?php if($category['space']->visibility > 0) { ?>
updated:
<|file_sep|>original/views/partials/group.php
->contentContainer($category['space'])
->andFilterWhere(['post_type' => 'question'])
... | ->contentContainer($category['space'])
->andFilterWhere(['post_type' => 'question'])
->orderBy('created_at DESC')
->limit(3)
->all();
foreach($questions as $q) {
... | <|file_sep|>views/partials/group.php.diff
original:
<?php if($category['space']->visibility > 0) { ?>
updated:
<|file_sep|>original/views/partials/group.php
->contentContainer($category['space'])
->andFilterWhere(['post_type' => 'question'])
... | 851552feb88ff444d554479690982cdb4cd94005 | views/partials/group.php | views/partials/group.php | PHP |
<|file_sep|>original/ale_linters/sh/shellcheck.vim
" codes to exclude from shellcheck. For example:
"
" let g:ale_linters_sh_shellcheck_exclusions = 'SC2002,SC2004'
if !exists('g:ale_linters_sh_shellcheck_exclusions')
let g:ale_linters_sh_shellcheck_exclusions = ''
endif
if g:ale_linters_sh_shellcheck_exclusions !... |
" This global variable can be set with a string of comma-seperated error
" codes to exclude from shellcheck. For example:
"
" let g:ale_linters_sh_shellcheck_exclusions = 'SC2002,SC2004'
if !exists('g:ale_linters_sh_shellcheck_exclusions')
let g:ale_linters_sh_shellcheck_exclusions = ''
endif
if g:ale_linters_sh_... | <|file_sep|>original/ale_linters/sh/shellcheck.vim
" codes to exclude from shellcheck. For example:
"
" let g:ale_linters_sh_shellcheck_exclusions = 'SC2002,SC2004'
if !exists('g:ale_linters_sh_shellcheck_exclusions')
let g:ale_linters_sh_shellcheck_exclusions = ''
endif
if g:ale_linters_sh_shellcheck_exclusions !... | 2479111884a034aa6f5230f5d56a70e35092ecbe | ale_linters/sh/shellcheck.vim | ale_linters/sh/shellcheck.vim | VimL |
<|file_sep|>original/app/views/playlists/new.html.erb
<% provide(:title, "Add playlist") %>
<h1>Add playlist</h1>
<% provide(:submit_button, "Add playlist") %>
<%= render "form", playlist: @playlist %>
<%= render "videos" %>
<|file_sep|>current/app/views/playlists/new.html.erb
<% provide(:title, "Add playlist") %>
<... | <% provide(:title, "Add playlist") %>
<h1>Add playlist</h1>
<% provide(:submit_button, "Add playlist") %>
<%= render "form", playlist: @playlist %> | <|file_sep|>original/app/views/playlists/new.html.erb
<% provide(:title, "Add playlist") %>
<h1>Add playlist</h1>
<% provide(:submit_button, "Add playlist") %>
<%= render "form", playlist: @playlist %>
<%= render "videos" %>
<|file_sep|>current/app/views/playlists/new.html.erb
<% provide(:title, "Add playlist") %>
<... | c6a2fe1ab72b6821ecac086e5122c493b58f3aea | app/views/playlists/new.html.erb | app/views/playlists/new.html.erb | HTML+ERB |
<|file_sep|>fontcrunch/__init__.py.diff
original:
updated:
return (name, glyph)
<|file_sep|>fontcrunch/__init__.py.diff
original:
updated:
glyphs = []
<|file_sep|>fontcrunch/__init__.py.diff
original:
pool.map(_optimize, _get_args(glyf.keys(), font, pdf, penalty, quiet))
updated:
glyphs = pool... | glyf = font['glyf']
pdf = None
if plot is not None:
from reportlab.pdfgen import canvas
pdf = canvas.Canvas(plot)
glyphs = []
if jobs:
pool = Pool(jobs)
glyphs = pool.map(_optimize, _get_args(glyf.keys(), font, pdf, penalty, quiet))
pool.close()
else:
... | <|file_sep|>fontcrunch/__init__.py.diff
original:
updated:
return (name, glyph)
<|file_sep|>fontcrunch/__init__.py.diff
original:
updated:
glyphs = []
<|file_sep|>fontcrunch/__init__.py.diff
original:
pool.map(_optimize, _get_args(glyf.keys(), font, pdf, penalty, quiet))
updated:
glyphs = pool... | 27ff37e0b0f87d112ea98ff9c3674abed4a3e413 | fontcrunch/__init__.py | fontcrunch/__init__.py | Python |
<|file_sep|>original/ureport/stats/migrations/0010_add_index.py
<|file_sep|>current/ureport/stats/migrations/0010_add_index.py
<|file_sep|>updated/ureport/stats/migrations/0010_add_index.py | # Generated by Django 2.2.20 on 2021-05-26 16:49
from django.db import migrations
INDEX_SQL = """
CREATE INDEX IF NOT EXISTS stats_pollstats_org_question on stats_pollstats (org_id, question_id) WHERE question_id IS NOT NULL;
"""
class Migration(migrations.Migration):
dependencies = [
("stats", "0009_a... | <|file_sep|>original/ureport/stats/migrations/0010_add_index.py
<|file_sep|>current/ureport/stats/migrations/0010_add_index.py
<|file_sep|>updated/ureport/stats/migrations/0010_add_index.py
# Generated by Django 2.2.20 on 2021-05-26 16:49
from django.db import migrations
INDEX_SQL = """
CREATE INDEX IF NOT EXISTS s... | 63c2d7536d37113b78fce22c7db94b17a8450b27 | ureport/stats/migrations/0010_add_index.py | ureport/stats/migrations/0010_add_index.py | Python |
<|file_sep|>ruby-eval-in.gemspec.diff
original:
s.version = '0.0.3'
updated:
s.version = '0.0.4'
<|file_sep|>original/ruby-eval-in.gemspec
Gem::Specification.new do |s|
s.name = 'ruby-eval-in'
s.version = '0.0.3'
s.required_ruby_version = '>= 2.0.0'
s.summary = 'ruby-eval-in - A Ruby interface to https://eval.in/... | Gem::Specification.new do |s|
s.name = 'ruby-eval-in'
s.version = '0.0.4'
s.required_ruby_version = '>= 2.0.0'
s.summary = 'ruby-eval-in - A Ruby interface to https://eval.in/.'
s.description = 'A Ruby interface to https://eval.in/.'
s.authors = ['William Woodruff']
s.email = 'william@tuffbizz.com'
s.files = Di... | <|file_sep|>ruby-eval-in.gemspec.diff
original:
s.version = '0.0.3'
updated:
s.version = '0.0.4'
<|file_sep|>original/ruby-eval-in.gemspec
Gem::Specification.new do |s|
s.name = 'ruby-eval-in'
s.version = '0.0.3'
s.required_ruby_version = '>= 2.0.0'
s.summary = 'ruby-eval-in - A Ruby interface to https://eval.in/... | 79bdeb0b514abfc87e948879813c94952cb1224b | ruby-eval-in.gemspec | ruby-eval-in.gemspec | Ruby |
<|file_sep|>original/snapcraft.yaml
description: |
OpenBazaar server daemon handles the heavy lifting for the OpenBazaar desktop
application. The server combines several technologies: A modified IPFS node,
which itself combines ideas from Git, BitTorrent, Kademlia. A lightweight SPV
Bitcoin wallet for interacti... | description: |
OpenBazaar server daemon handles the heavy lifting for the OpenBazaar desktop
application. The server combines several technologies: A modified IPFS node,
which itself combines ideas from Git, BitTorrent, Kademlia. A lightweight SPV
Bitcoin wallet for interacting with the Bitcoin network. And a J... | <|file_sep|>original/snapcraft.yaml
description: |
OpenBazaar server daemon handles the heavy lifting for the OpenBazaar desktop
application. The server combines several technologies: A modified IPFS node,
which itself combines ideas from Git, BitTorrent, Kademlia. A lightweight SPV
Bitcoin wallet for interacti... | 1443e62207492e11f27337d489a583f7510cd0f0 | snapcraft.yaml | snapcraft.yaml | YAML |
<|file_sep|>original/pkgs/tools/misc/mmake/default.nix
owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
};
vendorSha256 = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
ldflags = [ "-s" "-w" ];
checkFlags = [ "-short" ]... | owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
};
vendorSha256 = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
ldflags = [ "-s" "-w" ];
# Almost all tests require non-local networking, trying to resolve githubusercon... | <|file_sep|>original/pkgs/tools/misc/mmake/default.nix
owner = "tj";
repo = "mmake";
rev = "v${version}";
sha256 = "sha256-JPsVfLIl06PJ8Nsfu7ogwrttB1G93HTKbZFqUTSV9O8=";
};
vendorSha256 = "sha256-0z+sujzzBl/rtzXbhL4Os+jYfLUuO9PlXshUDxAH9DU=";
ldflags = [ "-s" "-w" ];
checkFlags = [ "-short" ]... | 7f2ef311e2e3eb04f127cf0059aa1f2720904c69 | pkgs/tools/misc/mmake/default.nix | pkgs/tools/misc/mmake/default.nix | Nix |
<|file_sep|>original/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs/api",
"src": [
"src/index.ts"
]
}
<|file_sep|>current/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"e... | {
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs/api",
"src": [
"src/index.ts",
"node_modules/phosphor-disposable/lib/phosphor-disposable.d.ts"
]
} | <|file_sep|>original/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"excludeNotExported": true,
"experimentalDecorators": true,
"mode": "file",
"out": "docs/api",
"src": [
"src/index.ts"
]
}
<|file_sep|>current/scripts/tdoptions.json
{
"module": "commonjs",
"target": "ES5",
"e... | cc9c969c118b5e2e8b50b1d7cb44cb18107e4a04 | scripts/tdoptions.json | scripts/tdoptions.json | JSON |
<|file_sep|>schema/image/proxies/index.js.diff
original:
updated:
const { RESIZING_SERVICE } = process.env;
<|file_sep|>original/schema/image/proxies/index.js
module.exports = function() {
return require('./embedly').apply(null, arguments);
};
<|file_sep|>current/schema/image/proxies/index.js
const { RESIZING_SERVI... | const { RESIZING_SERVICE } = process.env;
module.exports = function() {
if (RESIZING_SERVICE === 'gemini') {
return require('./gemini').apply(null, arguments);
} else {
return require('./embedly').apply(null, arguments);
}
}; | <|file_sep|>schema/image/proxies/index.js.diff
original:
updated:
const { RESIZING_SERVICE } = process.env;
<|file_sep|>original/schema/image/proxies/index.js
module.exports = function() {
return require('./embedly').apply(null, arguments);
};
<|file_sep|>current/schema/image/proxies/index.js
const { RESIZING_SERVI... | c3b3b55bcd208f66a2a6e85f1b97d822d815e803 | schema/image/proxies/index.js | schema/image/proxies/index.js | JavaScript |
<|file_sep|>original/dstar-lite/scripts/python_pipe.py
<|file_sep|>current/dstar-lite/scripts/python_pipe.py
<|file_sep|>updated/dstar-lite/scripts/python_pipe.py |
import csv
import numpy as np
import scipy.io as sio
def process_gridworld_data(input, imsize):
# run training from input matlab data file, and save test data prediction in output file
# load data from Matlab file, including
# im_data: flattened images
# state_data: concatenated one-hot vectors for each stat... | <|file_sep|>original/dstar-lite/scripts/python_pipe.py
<|file_sep|>current/dstar-lite/scripts/python_pipe.py
<|file_sep|>updated/dstar-lite/scripts/python_pipe.py
import csv
import numpy as np
import scipy.io as sio
def process_gridworld_data(input, imsize):
# run training from input matlab data file, and save t... | 08a3317d577e0ee5dfa07f8a81b7a4a018297b4a | dstar-lite/scripts/python_pipe.py | dstar-lite/scripts/python_pipe.py | Python |
<|file_sep|>original/metadata/com.futurice.android.reservator.txt
Issue Tracker:https://github.com/futurice/meeting-room-tablet/issues
Auto Name:Reservator
Summary:Display availablity of meeting rooms
Description:
Displays the availability status of meeting rooms along with the free/busy-time.
Requires a Google-Accoun... | Issue Tracker:https://github.com/futurice/meeting-room-tablet/issues
Auto Name:Reservator
Summary:Display availablity of meeting rooms
Description:
Displays the availability status of meeting rooms along with the free/busy-time.
Requires a Google-Account for schedules.
.
Repo Type:git
Repo:https://github.com/futurice... | <|file_sep|>original/metadata/com.futurice.android.reservator.txt
Issue Tracker:https://github.com/futurice/meeting-room-tablet/issues
Auto Name:Reservator
Summary:Display availablity of meeting rooms
Description:
Displays the availability status of meeting rooms along with the free/busy-time.
Requires a Google-Accoun... | 15a590e96d1709530147c44d466cf9d242b519b4 | metadata/com.futurice.android.reservator.txt | metadata/com.futurice.android.reservator.txt | Text |
<|file_sep|>composer.json.diff
original:
"campaignchain/core": "1.0.0-alpha.4",
updated:
"campaignchain/core": "1.0.0@beta",
<|file_sep|>original/composer.json
],
"require": {
"campaignchain/core": "1.0.0-alpha.4",
"hybridauth/hybridauth": "2.2.2"
},
"autoload": {
... | ],
"require": {
"campaignchain/core": "1.0.0@beta",
"hybridauth/hybridauth": "2.2.2"
},
"autoload": {
"psr-4": { "CampaignChain\\Security\\Authentication\\Client\\OAuthBundle\\": "" },
"classmap": ["/../../../vendor/hybridauth/hybridauth/hybridauth"]
},
"extra": {... | <|file_sep|>composer.json.diff
original:
"campaignchain/core": "1.0.0-alpha.4",
updated:
"campaignchain/core": "1.0.0@beta",
<|file_sep|>original/composer.json
],
"require": {
"campaignchain/core": "1.0.0-alpha.4",
"hybridauth/hybridauth": "2.2.2"
},
"autoload": {
... | 4fd7fe52488f270fff328bf809ef0a78b4582f1b | composer.json | composer.json | JSON |
<|file_sep|>original/packages/re/reqcatcher.yaml
<|file_sep|>current/packages/re/reqcatcher.yaml
<|file_sep|>updated/packages/re/reqcatcher.yaml | homepage: http://github.com/hiratara/hs-reqcatcher
changelog-type: ''
hash: 2fbd5d7e743653eead1489657192c7310d237a08b65ab1ab1af6f860eb2c8247
test-bench-deps:
http-client: ! '>=0.4 && <0.5'
reqcatcher: -any
wai: -any
base: -any
HUnit: ! '>=1.2 && <1.4'
wreq: ! '>=0.3 && <0.5'
lens: ! '>=4.7 && <4.14'
tas... | <|file_sep|>original/packages/re/reqcatcher.yaml
<|file_sep|>current/packages/re/reqcatcher.yaml
<|file_sep|>updated/packages/re/reqcatcher.yaml
homepage: http://github.com/hiratara/hs-reqcatcher
changelog-type: ''
hash: 2fbd5d7e743653eead1489657192c7310d237a08b65ab1ab1af6f860eb2c8247
test-bench-deps:
http-client: ... | 20c37e3344221fae9a48c4f40375e1569d942c38 | packages/re/reqcatcher.yaml | packages/re/reqcatcher.yaml | YAML |
<|file_sep|>original/package.json
"javascript"
],
"dependencies" : {
"request" : "2.2.x"
},
"devDependencies" : {
"browserify" : "1.8.x",
"uglify-js" : "1.1.x",
"nodeunit" : "0.6.x",
"commander" : "0.5.x",
"jshint" : "0.5.x",
"mustache": "0... | "javascript"
],
"dependencies" : {
"request" : "2.2.x"
},
"devDependencies" : {
"browserify" : "1.8.x",
"uglify-js" : "1.1.x",
"nodeunit" : "0.6.x",
"commander" : "0.5.x",
"jshint" : "0.5.x >= 0.5.4",
"mustache": "0.3.x"
},
"author"... | <|file_sep|>original/package.json
"javascript"
],
"dependencies" : {
"request" : "2.2.x"
},
"devDependencies" : {
"browserify" : "1.8.x",
"uglify-js" : "1.1.x",
"nodeunit" : "0.6.x",
"commander" : "0.5.x",
"jshint" : "0.5.x",
"mustache": "0... | 4535e7070aff77ba4c2dbec5408135375495fcf7 | package.json | package.json | JSON |
<|file_sep|>original/jest.config.js
transform: {
'.ts': '<rootDir>/node_modules/ts-jest/preprocessor.js'
},
testMatch: [
'**/__tests__/**/*.ts'
],
testPathIgnorePatterns: [
'<rootDir>/(node_modules|dist)',
'_\\w*.\\w+$'
],
collectCoverageFrom: [
'src/**/*.ts',
'!src/**/*.d.ts'
],... | },
testMatch: [
'**/__tests__/**/*.ts'
],
testPathIgnorePatterns: [
'<rootDir>/(node_modules|dist)',
'_\\w*.\\w+$'
],
collectCoverageFrom: [
'src/**/*.ts',
'!src/**/*.d.ts'
],
globals: {
'ts-jest': {
tsConfigFile: {
target: getSupportedTypescriptTarget(),
mo... | <|file_sep|>original/jest.config.js
transform: {
'.ts': '<rootDir>/node_modules/ts-jest/preprocessor.js'
},
testMatch: [
'**/__tests__/**/*.ts'
],
testPathIgnorePatterns: [
'<rootDir>/(node_modules|dist)',
'_\\w*.\\w+$'
],
collectCoverageFrom: [
'src/**/*.ts',
'!src/**/*.d.ts'
],... | 6bf45d425a47caa83eae07113249c414df6c32c4 | jest.config.js | jest.config.js | JavaScript |
<|file_sep|>original/README.md
Usage is straightforward:
```erlang
%% Create a new histogram.
{ok, Hdr} = bukkit_hdr:new().
%% Update the histogram.
lists:foreach(fun(I) -> bukkit_hdr:update(Hdr, I) end, lists:seq(1, 1000)).
%% Read statistics from the histogram.
bukkit_hdr:read(Hdr).
```
`bukkit_hdr` does not imp... |
Usage is straightforward:
```erlang
%% Create a new histogram.
{ok, Hdr} = bukkit_hdr:new().
%% Update the histogram.
lists:foreach(fun(I) -> bukkit_hdr:update(Hdr, I) end, lists:seq(1, 1000)).
%% Or update the histogram concurrently.
lists:foreach(fun(I) -> spawn(fun() -> bukkit_hdr:update(Hdr, I) end) end, lists:... | <|file_sep|>original/README.md
Usage is straightforward:
```erlang
%% Create a new histogram.
{ok, Hdr} = bukkit_hdr:new().
%% Update the histogram.
lists:foreach(fun(I) -> bukkit_hdr:update(Hdr, I) end, lists:seq(1, 1000)).
%% Read statistics from the histogram.
bukkit_hdr:read(Hdr).
```
`bukkit_hdr` does not imp... | 114831c6133e8ed7f6e36baaff96701ee1d002fc | README.md | README.md | Markdown |
<|file_sep|>original/spec/support/request_spec_helper.rb
# frozen_string_literal: true
module RequestSpecHelper
def sign_in(user)
post "/users/sign_in", user: { email: user.email, password: user.password }
end
end
<|file_sep|>current/spec/support/request_spec_helper.rb
# frozen_string_literal: true
module Reque... | # frozen_string_literal: true
module RequestSpecHelper
def sign_in(user)
post "/users/sign_in", params: { user: { email: user.email, password: user.password } }
end
end | <|file_sep|>original/spec/support/request_spec_helper.rb
# frozen_string_literal: true
module RequestSpecHelper
def sign_in(user)
post "/users/sign_in", user: { email: user.email, password: user.password }
end
end
<|file_sep|>current/spec/support/request_spec_helper.rb
# frozen_string_literal: true
module Reque... | 390389c17a82d7366ab9f79cfe915f7953a7da58 | spec/support/request_spec_helper.rb | spec/support/request_spec_helper.rb | Ruby |
<|file_sep|>src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts.diff
original:
updated:
export class BuyTicketManagerService {
}
<|file_sep|>original/src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts
module starter.ticket {
'use strict'... | export class TicketServices implements ITicketService {
static $inject = ['starter.shared.QueryRemoteDataService'];
constructor(private queryRemoteSvc: starter.shared.QueryRemoteDataService) {
}
public BuyTicket(req: BuyTicketRequest): ng.IPromise<BuyTicketRespond> {
va... | <|file_sep|>src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts.diff
original:
updated:
export class BuyTicketManagerService {
}
<|file_sep|>original/src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts
module starter.ticket {
'use strict'... | 52a2c41c3f2efbedd99f384d419db7f2de01d199 | src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts | src/DailySoccerSolution/DailySoccerMobile/Scripts/tickets/starter.ticket.services.ts | TypeScript |
<|file_sep|>lib/omniship/dhlgm/track/package.rb.diff
original:
activity.any? {|activity|
['570', '580', '590', '600'].include? activity.code
updated:
activity.any? {|activity|
(activity.code == '699' and has_arrived_at_usps?) or ['570', '580', '590', '600'].include? activity... | # 600 : DELIVERED
# 699 : DELIVERY STATUS NOT UPDATED
def has_arrived?
activity.any? {|activity|
(activity.code == '699' and has_arrived_at_usps?) or ['570', '580', '590', '600'].include? activity.code
}
end
# 510 : SHIPMENT ACCEPTED BY USPS
... | <|file_sep|>lib/omniship/dhlgm/track/package.rb.diff
original:
activity.any? {|activity|
['570', '580', '590', '600'].include? activity.code
updated:
activity.any? {|activity|
(activity.code == '699' and has_arrived_at_usps?) or ['570', '580', '590', '600'].include? activity... | 385aae0acbf11d1a9e3a29132fb1a61f691a4fb1 | lib/omniship/dhlgm/track/package.rb | lib/omniship/dhlgm/track/package.rb | Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.