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/EOBot/Interpreter/States/StatementEvaluator.cs
public bool Evaluate(ProgramState input)
{
while (input.Current().TokenType == BotTokenType.NewLine)
input.Expect(BotTokenType.NewLine);
return (Evaluate<AssignmentEvaluator>(input)
... |
public bool Evaluate(ProgramState input)
{
while (input.Current().TokenType == BotTokenType.NewLine)
input.Expect(BotTokenType.NewLine);
return (Evaluate<AssignmentEvaluator>(input)
|| Evaluate<KeywordEvaluator>(input)
|| ... | <|file_sep|>original/EOBot/Interpreter/States/StatementEvaluator.cs
public bool Evaluate(ProgramState input)
{
while (input.Current().TokenType == BotTokenType.NewLine)
input.Expect(BotTokenType.NewLine);
return (Evaluate<AssignmentEvaluator>(input)
... | 5a81898cc05e6b00d0f35e8d49417b448732c209 | EOBot/Interpreter/States/StatementEvaluator.cs | EOBot/Interpreter/States/StatementEvaluator.cs | C# |
<|file_sep|>original/build.cmd
@echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\Build --nologo --verbosity quiet
if %errorlevel% equ 0 dotnet tools\bin\Build\Build.dll %*
popd
<|file_sep|>current/build.cmd
@echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\B... | @echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\Build --nologo --verbosity quiet
if %errorlevel% equ 0 dotnet tools\bin\Build\Build.dll %*
popd
exit /b %errorlevel% | <|file_sep|>original/build.cmd
@echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\Build --nologo --verbosity quiet
if %errorlevel% equ 0 dotnet tools\bin\Build\Build.dll %*
popd
<|file_sep|>current/build.cmd
@echo off
pushd %~dp0
dotnet publish tools\Build\Build.csproj --output tools\bin\B... | 22189540b89844326abbcb85b9d28487cceb90ac | build.cmd | build.cmd | Batchfile |
<|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 5.0
- stable
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 5.0
- stable
after_script:
- npm run coveralls
<|file_sep|>updated/.travis.yml | sudo: false
language: node_js
node_js:
- stable
after_script:
- npm run coveralls | <|file_sep|>original/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 5.0
- stable
after_script:
- npm run coveralls
<|file_sep|>current/.travis.yml
sudo: false
language: node_js
node_js:
- 4.0
- 5.0
- stable
after_script:
- npm run coveralls
<|file_sep|>updated/.travis.yml
sudo: false
languag... | 0799399f9835376c7c678f9be2034b07118df1c4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/libs/ConfigHelpers.py
from tornado.options import options
from datetime import datetime
def save_config():
logging.info("Saving current config to: %s" % options.config)
with open(options.config, 'w') as fp:
fp.write("##########################")
fp.write(" Root the Box Con... | from tornado.options import options
from datetime import datetime
def save_config():
logging.info("Saving current config to: %s" % options.config)
with open(options.config, 'w') as fp:
fp.write("##########################")
fp.write(" Root the Box Config File ")
fp.write("#############... | <|file_sep|>original/libs/ConfigHelpers.py
from tornado.options import options
from datetime import datetime
def save_config():
logging.info("Saving current config to: %s" % options.config)
with open(options.config, 'w') as fp:
fp.write("##########################")
fp.write(" Root the Box Con... | 184d0400f2304b0fe7adf07471526bc66b4eea64 | libs/ConfigHelpers.py | libs/ConfigHelpers.py | Python |
<|file_sep|>config/settings.yml.diff
original:
- id: p-mysql-1
name: p-mysql
updated:
- name: p-mysql
id: 3101b971-1044-4816-a7ac-9ded2e028079
<|file_sep|>original/config/settings.yml
- mysql
- relational
max_db_per_node: 250
metadata:
provider:
name:
listing:
... | - mysql
- relational
max_db_per_node: 250
metadata:
provider:
name:
listing:
imageUrl: ~
blurb: MySQL service for application development and testing
plans:
- name: 5mb
id: 2451fa22-df16-4c10-ba6e-1f682d3dcdc9
description: Shared MySQL Server, ... | <|file_sep|>config/settings.yml.diff
original:
- id: p-mysql-1
name: p-mysql
updated:
- name: p-mysql
id: 3101b971-1044-4816-a7ac-9ded2e028079
<|file_sep|>original/config/settings.yml
- mysql
- relational
max_db_per_node: 250
metadata:
provider:
name:
listing:
... | bd1b408669377d2d65b8a4b255e52769b3402b0d | config/settings.yml | config/settings.yml | YAML |
<|file_sep|>original/app/views/spree/admin/products/index/_actions.html.haml
.controls.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' }
.ten.columns.alpha.index-controls
.per-page{'ng-show' => '!RequestMonitor.loading && products.length > 0'}
%input.per-page-select.ofn-... | .controls.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' }
.ten.columns.alpha.index-controls
.per-page{'ng-show' => '!RequestMonitor.loading && products.length > 0'}
%input.per-page-select.ofn-select2{type: 'number', data: 'per_page_options', 'min-search' => 999, 'ng-mo... | <|file_sep|>original/app/views/spree/admin/products/index/_actions.html.haml
.controls.sixteen.columns.alpha{ 'ng-hide' => 'RequestMonitor.loading || products.length == 0' }
.ten.columns.alpha.index-controls
.per-page{'ng-show' => '!RequestMonitor.loading && products.length > 0'}
%input.per-page-select.ofn-... | e9c60a33b93b28c1e4918e1c5c0a27daddb1553d | app/views/spree/admin/products/index/_actions.html.haml | app/views/spree/admin/products/index/_actions.html.haml | Haml |
<|file_sep|>original/.travis.yml
sudo: required
language: go
services:
- docker
go:
- 1.7
matrix:
allow_failures:
- go: tip
branches:
only:
- master
- travis-testing
script:
- make test testrace
<|file_sep|>current/.travis.yml
sudo: required
language: go
services:
- docker
go:
- 1.7
... | sudo: required
dist: trusty
language: go
services:
- docker
go:
- 1.7
matrix:
allow_failures:
- go: tip
branches:
only:
- master
- travis-testing
script: | <|file_sep|>original/.travis.yml
sudo: required
language: go
services:
- docker
go:
- 1.7
matrix:
allow_failures:
- go: tip
branches:
only:
- master
- travis-testing
script:
- make test testrace
<|file_sep|>current/.travis.yml
sudo: required
language: go
services:
- docker
go:
- 1.7
... | ea70803285c32d261a51e44127d9d82da58f6a28 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/project.properties
version=6.0.0
projectName=OpenLMIS UI Components
projectKey=ui-components
transifexProject=openlmis-ui-components
<|file_sep|>current/project.properties
version=6.0.0
projectName=OpenLMIS UI Components
projectKey=ui-components
transifexProject=openlmis-ui-components
<|file_sep|>u... | version=6.0.0-SNAPSHOT
projectName=OpenLMIS UI Components
projectKey=ui-components
transifexProject=openlmis-ui-components | <|file_sep|>original/project.properties
version=6.0.0
projectName=OpenLMIS UI Components
projectKey=ui-components
transifexProject=openlmis-ui-components
<|file_sep|>current/project.properties
version=6.0.0
projectName=OpenLMIS UI Components
projectKey=ui-components
transifexProject=openlmis-ui-components
<|file_sep|>u... | fa4266bff502361681308fec9809567f4db251d9 | project.properties | project.properties | INI |
<|file_sep|>src/pages/home/sections/episodes/episode.js.diff
original:
updated:
import RSVPIcon from '../../../../components/rsvp-icon'
<|file_sep|>src/pages/home/sections/episodes/episode.js.diff
original:
updated:
hangoutUrl,
<|file_sep|>original/src/pages/home/sections/episodes/episode.js
time,
dateDis... | guests = [],
descriptionHTML,
hangoutUrl,
} = episodeData
const sortedGuests = sortPeople(guests)
return (
<div className="episode">
<h3>
<a href={`/episodes/${date}`}>{title}</a>
<br />
<small>
<RSVPIcon hangoutUrl={hangoutUrl} />
{' ' + dateDispl... | <|file_sep|>src/pages/home/sections/episodes/episode.js.diff
original:
updated:
import RSVPIcon from '../../../../components/rsvp-icon'
<|file_sep|>src/pages/home/sections/episodes/episode.js.diff
original:
updated:
hangoutUrl,
<|file_sep|>original/src/pages/home/sections/episodes/episode.js
time,
dateDis... | 597a943d351de1d446229e1fdb0315a5fba4e70a | src/pages/home/sections/episodes/episode.js | src/pages/home/sections/episodes/episode.js | JavaScript |
<|file_sep|>original/cookbooks/firefox/attributes/tarball.rb
default['firefox']['tarball']['version'] = '31.6.0esr'
default['firefox']['tarball']['download_url'] = "http://releases.mozilla.org/pub/firefox/releases/#{node['firefox']['tarball']['version']}/linux-#{kernel['machine']}/en-US/firefox-#{n... | default['firefox']['tarball']['version'] = '38.4.0esr'
default['firefox']['tarball']['download_url'] = "https://releases.mozilla.org/pub/firefox/releases/#{node['firefox']['tarball']['version']}/linux-#{kernel['machine']}/en-US/firefox-#{node['firefox']['tarball']['version']}.tar.bz2"
# Required d... | <|file_sep|>original/cookbooks/firefox/attributes/tarball.rb
default['firefox']['tarball']['version'] = '31.6.0esr'
default['firefox']['tarball']['download_url'] = "http://releases.mozilla.org/pub/firefox/releases/#{node['firefox']['tarball']['version']}/linux-#{kernel['machine']}/en-US/firefox-#{n... | f626a5e7da5abce96eace0407a52be71937f2e82 | cookbooks/firefox/attributes/tarball.rb | cookbooks/firefox/attributes/tarball.rb | Ruby |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Markovky</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'relo... | <!DOCTYPE html>
<html>
<head>
<title>Markovky</title>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' ... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Markovky</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'relo... | 8f8f7cfeafa5502ef25795e781ddf39b2530bde3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/Cargo.toml
[package]
name = "loopdev"
description = "Setup and control loop devices"
version = "0.2.3"
authors = ["Michael Daffin <michael@daffin.io>"]
license = "MIT"
documentation = "https://docs.rs/loopdev"
repository = "https://github.com/mdaffin/loopdev"
readme = "README.md"
keywords = ["loop"... | [package]
name = "loopdev"
description = "Setup and control loop devices"
version = "0.2.2"
authors = ["Michael Daffin <michael@daffin.io>"]
license = "MIT"
documentation = "https://docs.rs/loopdev"
repository = "https://github.com/mdaffin/loopdev"
readme = "README.md"
keywords = ["loop", "losetup"]
[badges]
travis-ci... | <|file_sep|>original/Cargo.toml
[package]
name = "loopdev"
description = "Setup and control loop devices"
version = "0.2.3"
authors = ["Michael Daffin <michael@daffin.io>"]
license = "MIT"
documentation = "https://docs.rs/loopdev"
repository = "https://github.com/mdaffin/loopdev"
readme = "README.md"
keywords = ["loop"... | bc3d02854d2abfb61ed845ea40012883875c1492 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/long-form/alternate-windows-installation.md
On some network or machine setups Meteor's installer for Windows may fail. In such cases, follow these simple steps to install Meteor manually:
1. Install [7-Zip](http://www.7-zip.org/) or any other program that knows how to extract `tar.gz` files.
2. Do... | On some network or machine setups Meteor's installer for Windows may fail. In such cases, follow these simple steps to install Meteor manually:
1. Install [7-Zip](http://www.7-zip.org/) or any other program that knows how to extract `tar.gz` files.
2. Download the installation archive:
* 64-bit: https://packages.me... | <|file_sep|>original/long-form/alternate-windows-installation.md
On some network or machine setups Meteor's installer for Windows may fail. In such cases, follow these simple steps to install Meteor manually:
1. Install [7-Zip](http://www.7-zip.org/) or any other program that knows how to extract `tar.gz` files.
2. Do... | a3d868d38c1f546bc9668e7861f125cb6139e65d | long-form/alternate-windows-installation.md | long-form/alternate-windows-installation.md | Markdown |
<|file_sep|>src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java.diff
original:
@Override
updated:
<|file_sep|>src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java.diff
original:
Hashtable<String, String> props = new Hashtable<>();
updated:
Hashtable<String, String> props = new Ha... | package com.ilyamur.osgi.helloworld.impl;
import com.ilyamur.osgi.helloworld.service.OsgiHelloworldService;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.Hashtable;
public class Activator implements BundleActivator {
public void start(BundleContext bundleCo... | <|file_sep|>src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java.diff
original:
@Override
updated:
<|file_sep|>src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java.diff
original:
Hashtable<String, String> props = new Hashtable<>();
updated:
Hashtable<String, String> props = new Ha... | 28a756e3292a514216b2e149ee6c5b885e2ea59d | src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java | src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java | Java |
<|file_sep|>original/.travis.yml
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
addons:
firefox: latest
install:
- >
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz
| tar ... | # This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
addons:
firefox: latest
install:
- >
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
| tar zxf -
- pip install -e . -r req... | <|file_sep|>original/.travis.yml
# This file will be regenerated if you run travis_pypi_setup.py
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
addons:
firefox: latest
install:
- >
curl -L https://github.com/mozilla/geckodriver/releases/download/v0.20.1/geckodriver-v0.20.1-linux64.tar.gz
| tar ... | 54514ffccc293cb51bbcd8ecdb2e4f71ce99b811 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
],
"support": {
"issues": "https://github.com/ZzAntares/ProxmoxVE/issues",
"source": "https://github.com/ZzAntares/ProxmoxVE"
},
"require": {
"php": ">=5.5.0",
"lib-curl": "*",
"guzzlehttp/guzzle": "~6.0"
},
"require-d... | ],
"support": {
"issues": "https://github.com/ZzAntares/ProxmoxVE/issues",
"source": "https://github.com/ZzAntares/ProxmoxVE"
},
"require": {
"php": ">=5.5.0",
"lib-curl": "*",
"guzzlehttp/guzzle": "~6.0 || ~7.0"
},
"require-dev": {
"phpunit/php... | <|file_sep|>original/composer.json
],
"support": {
"issues": "https://github.com/ZzAntares/ProxmoxVE/issues",
"source": "https://github.com/ZzAntares/ProxmoxVE"
},
"require": {
"php": ">=5.5.0",
"lib-curl": "*",
"guzzlehttp/guzzle": "~6.0"
},
"require-d... | 5cd6ac4ce15163fd3549bcbbf4d6ca41e50398f3 | composer.json | composer.json | JSON |
<|file_sep|>original/css/app.css
.navbar {
margin-top: 30px;
}
.cover-art, .artist-image {
max-height: 16em;
text-align: center;
}
/* line 55, ../sass/app.scss */
.cover-art img, .artist-image img {
max-height: inherit;
}
/* line 61, ../sass/app.scss */
.release-group-tile .cover-art, .release-tile .cover-art ... | .navbar {
margin-top: 30px;
}
.cover-art, .artist-image {
max-height: 16em;
text-align: center;
}
/* line 55, ../sass/app.scss */
.cover-art img, .artist-image img {
max-height: inherit;
}
/* line 61, ../sass/app.scss */
.release-group-tile .cover-art, .release-tile .cover-art {
height: 8em;
max-height: 8e... | <|file_sep|>original/css/app.css
.navbar {
margin-top: 30px;
}
.cover-art, .artist-image {
max-height: 16em;
text-align: center;
}
/* line 55, ../sass/app.scss */
.cover-art img, .artist-image img {
max-height: inherit;
}
/* line 61, ../sass/app.scss */
.release-group-tile .cover-art, .release-tile .cover-art ... | 44411bfe7a313c4493df6fb27f2cd0e24af8d46b | css/app.css | css/app.css | CSS |
<|file_sep|>original/.travis.yml
services:
- docker
language: node_js
cache:
directories:
- node_modules
node_js:
- "0.10"
- "0.12"
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
addons:
apt:
packages:
- gcc-4.8
- g++-4.8
<|file_sep|>current/.travis.yml
services:
- docker
language: node_... | services:
- docker
language: node_js
cache:
directories:
- node_modules
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
addons:
apt:
packages:
- gcc-4.8
- g++-4.8
env: CXX="g++-4.8" CC="gcc-4.8"
script: "npm install && npm run-script travis" | <|file_sep|>original/.travis.yml
services:
- docker
language: node_js
cache:
directories:
- node_modules
node_js:
- "0.10"
- "0.12"
- "1"
- "2"
- "3"
- "4"
- "5"
- "6"
addons:
apt:
packages:
- gcc-4.8
- g++-4.8
<|file_sep|>current/.travis.yml
services:
- docker
language: node_... | 915e73165bc7b8557feab67e834f2a330ce063f7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/test/java/org/gluster/test/TestGlusterFuseInputStream.java
public void create() throws Exception{
//setup: no need for gluster specific path, since its just reading from local path
infile=File.createTempFile("TestGlusterFuseInputStream"+System.currentTimeMillis(),"txt").getAbsolutePath(... | public void create() throws Exception{
//setup: no need for gluster specific path, since its just reading from local path
infile=File.createTempFile("TestGlusterFuseInputStream"+System.currentTimeMillis(),"txt").getAbsolutePath();
new File(infile).deleteOnExit();
final GlusterFUSEOutputStream stream =... | <|file_sep|>original/src/test/java/org/gluster/test/TestGlusterFuseInputStream.java
public void create() throws Exception{
//setup: no need for gluster specific path, since its just reading from local path
infile=File.createTempFile("TestGlusterFuseInputStream"+System.currentTimeMillis(),"txt").getAbsolutePath(... | a3b53888a95091879e7942c2b8864a7b48265aad | src/test/java/org/gluster/test/TestGlusterFuseInputStream.java | src/test/java/org/gluster/test/TestGlusterFuseInputStream.java | Java |
<|file_sep|>original/test_sets/audio_source_am_fm_xm.txt
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/GetInteriorVehicleData/017_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/OnInteriorVehicleData/009_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/SetInteriorVehicl... | ./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/GetInteriorVehicleData/017_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/OnInteriorVehicleData/009_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/SetInteriorVehicleData/009_Change_audio_source_in_FULL.lua
./test_scripts/... | <|file_sep|>original/test_sets/audio_source_am_fm_xm.txt
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/GetInteriorVehicleData/017_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/OnInteriorVehicleData/009_Success_audio_source_values.lua
./test_scripts/RC/AUDIO_LIGHT_HMI_SETTINGS/SetInteriorVehicl... | 72d050842144cea1594025eda7a15c845efffa7a | test_sets/audio_source_am_fm_xm.txt | test_sets/audio_source_am_fm_xm.txt | Text |
<|file_sep|>original/public/javascripts/App/GlossaViewport.js
this.doLayout();
},
setupEventHandlers: function() {
this.addSearchButton.on('click', function() {
this.addSearchPanel();
}, this);
},
addSearchPanel: function() {
this.centerTabpanel.add(this.createSearchPanel());
},
// ... | this.doLayout();
},
setupEventHandlers: function() {
this.addSearchButton.on('click', function() {
this.addSearchPanel();
}, this);
},
addSearchPanel: function() {
var newSearchPanel = this.createSearchPanel();
this.centerTabpanel.add(newSearchPanel);
this.centerTabpanel.setActiv... | <|file_sep|>original/public/javascripts/App/GlossaViewport.js
this.doLayout();
},
setupEventHandlers: function() {
this.addSearchButton.on('click', function() {
this.addSearchPanel();
}, this);
},
addSearchPanel: function() {
this.centerTabpanel.add(this.createSearchPanel());
},
// ... | a6bd6f8af236670252a3ccc38b24b97671cf234d | public/javascripts/App/GlossaViewport.js | public/javascripts/App/GlossaViewport.js | JavaScript |
<|file_sep|>original/Cargo.toml
[package]
name = "rusqlite"
version = "0.0.1"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
description = "Ergonomic wrapper for SQLite"
homepage = "https://github.com/jgallagher/rusqlite"
documentation = "http://www.rust-ci.org/jgallagher/rusqlite/doc/rusqlite/"
readme = "R... | [package]
name = "rusqlite"
version = "0.0.1"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
description = "Ergonomic wrapper for SQLite"
homepage = "https://github.com/jgallagher/rusqlite"
documentation = "http://www.rust-ci.org/jgallagher/rusqlite/doc/rusqlite/"
readme = "README.md"
keywords = ["sqlite", ... | <|file_sep|>original/Cargo.toml
[package]
name = "rusqlite"
version = "0.0.1"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
description = "Ergonomic wrapper for SQLite"
homepage = "https://github.com/jgallagher/rusqlite"
documentation = "http://www.rust-ci.org/jgallagher/rusqlite/doc/rusqlite/"
readme = "R... | 67dcaedad41445dd2719c5d7fe088a6af16110e8 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/.travis.yml
- 3.8
- 3.9
before_install:
- uname -a
- free -m
- df -h
- ulimit -a
- pip install -q numpy
- python -V
- python3 -m pip install cibuildwheel==1.7.2
install:
- pip install .
script:
# build the wheels, put them into './wheelhouse'
- python3 -m cibuildwheel --o... | - 3.8
- 3.9
before_install:
- uname -a
- free -m
- df -h
- ulimit -a
- pip install -q numpy
- python -V
- pip install cibuildwheel==1.6.4
install:
- pip install .
script:
# build the wheels, put them into './wheelhouse'
- python3 -m cibuildwheel --output-dir wheelhouse
# Run tests
- mkdir... | <|file_sep|>original/.travis.yml
- 3.8
- 3.9
before_install:
- uname -a
- free -m
- df -h
- ulimit -a
- pip install -q numpy
- python -V
- python3 -m pip install cibuildwheel==1.7.2
install:
- pip install .
script:
# build the wheels, put them into './wheelhouse'
- python3 -m cibuildwheel --o... | 3b2d7328f6ba2c62d637243794a7358ee14f589c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/ruby-s3cmd.gemspec
Gem::Specification.new do |s|
s.name = %q{ruby-s3cmd}
s.version = "0.1.3"
s.date = %q{2012-06-13}
s.authors = ["Joel Bryan Juliano"]
s.email = %q{joelbryan.juliano@gmail.com}
s.summary = %q{A gem providing a ruby interface to s3cmd Amazon S3 client.}
s.homepage = %q... | Gem::Specification.new do |s|
s.name = %q{ruby-s3cmd}
s.version = RubyS3Cmd::VERSION::STRING
s.date = %q{2012-06-13}
s.authors = ["Joel Bryan Juliano"]
s.email = %q{joelbryan.juliano@gmail.com}
s.summary = %q{A gem providing a ruby interface to s3cmd Amazon S3 client.}
s.homepage = %q{http://github.com/jj... | <|file_sep|>original/ruby-s3cmd.gemspec
Gem::Specification.new do |s|
s.name = %q{ruby-s3cmd}
s.version = "0.1.3"
s.date = %q{2012-06-13}
s.authors = ["Joel Bryan Juliano"]
s.email = %q{joelbryan.juliano@gmail.com}
s.summary = %q{A gem providing a ruby interface to s3cmd Amazon S3 client.}
s.homepage = %q... | fd8549cd0da10fb5f62b3124a407b0c136ac7cbf | ruby-s3cmd.gemspec | ruby-s3cmd.gemspec | Ruby |
<|file_sep|>original/public/locales/te/send.ftl
<|file_sep|>current/public/locales/te/send.ftl
<|file_sep|>updated/public/locales/te/send.ftl | // Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = జాల ప్రయోగం
siteFeedback = అభిప్రాయం
uploadPageLearnMore = ఇంకా తెలుసుకోండి
uploadPageDropMessage = ఎగుమతిని ప్రారంభించడానికి మీ ఫైలును ఇక్కడ విడిచిపెట్టండి
uploadPageSizeMessage = అత్యంత నమ్మకమైన కార్యం కోసం, మీ ఫైల్ను 1... | <|file_sep|>original/public/locales/te/send.ftl
<|file_sep|>current/public/locales/te/send.ftl
<|file_sep|>updated/public/locales/te/send.ftl
// Firefox Send is a brand name and should not be localized.
title = Firefox Send
siteSubtitle = జాల ప్రయోగం
siteFeedback = అభిప్రాయం
uploadPageLearnMore = ఇంకా తెలుసుకోండి
upl... | 86fbd2a4b5e5de0b2d17e2c1c1100d5918e487e4 | public/locales/te/send.ftl | public/locales/te/send.ftl | FreeMarker |
<|file_sep|>original/app/assets/javascripts/admin/settings.js.coffee
$ ->
if $('#setting_show_map').length
$this = $('#setting_show_map')
if $this.is(':checked')
else
$('.map-settings').hide()
$this.on 'click', (e) ->
if $this.is(':checked')
$('.map-settings').slideDown()
e... | $ ->
if $('#setting_show_map').length
$this = $('#setting_show_map')
unless $this.is(':checked')
$('.map-settings').hide()
$this.on 'click', (e) ->
if $this.is(':checked')
$('.map-settings').slideDown()
else
$('.map-settings').slideUp() | <|file_sep|>original/app/assets/javascripts/admin/settings.js.coffee
$ ->
if $('#setting_show_map').length
$this = $('#setting_show_map')
if $this.is(':checked')
else
$('.map-settings').hide()
$this.on 'click', (e) ->
if $this.is(':checked')
$('.map-settings').slideDown()
e... | b5ef821a662cb94278ae7cc4412e8a3341a6ef5e | app/assets/javascripts/admin/settings.js.coffee | app/assets/javascripts/admin/settings.js.coffee | CoffeeScript |
<|file_sep|>original/app/js/views/init-view.js
'use strict';
var Backbone = require('backbone');
var $ = require('jquery');
Backbone.$ = $;
var InitView = Backbone.View.extend({
tagName: 'div',
initialize: function() {
this.render();
},
render: function() {
// Add logic for finding current location!
// If ... | 'use strict';
var Backbone = require('backbone');
var $ = require('jquery');
Backbone.$ = $;
// Test business collection
var BusinessCollection = require('../collections/business-collection');
var testCollection = new BusinessCollection();
testCollection.fetch();
var InitView = Backbone.View.extend({
tagName: 'div'... | <|file_sep|>original/app/js/views/init-view.js
'use strict';
var Backbone = require('backbone');
var $ = require('jquery');
Backbone.$ = $;
var InitView = Backbone.View.extend({
tagName: 'div',
initialize: function() {
this.render();
},
render: function() {
// Add logic for finding current location!
// If ... | 2fc65e1d053b20597c9affa93fd7aa41756097ec | app/js/views/init-view.js | app/js/views/init-view.js | JavaScript |
<|file_sep|>original/gradle/crowdin-help-only.yml
projects:
- id: 32705
sources:
- dir: "src/main/javahelp/%helpPath%help"
outputDir: "src/main/javahelp/%helpPath%resources"
crowdinPath:
dir: "/addons/%addOnId%"
filename: "%file_pathname%"
exportPattern:
... | projects:
- id: 32705
sources:
- dir: "src/main/javahelp/%helpPath%help"
outputDir: "src/main/javahelp/%helpPath%"
crowdinPath:
dir: "/addons/%addOnId%"
filename: "%file_pathname%"
exportPattern:
dir: "/zaproxy/addons/%addOnId%"
filename: "help... | <|file_sep|>original/gradle/crowdin-help-only.yml
projects:
- id: 32705
sources:
- dir: "src/main/javahelp/%helpPath%help"
outputDir: "src/main/javahelp/%helpPath%resources"
crowdinPath:
dir: "/addons/%addOnId%"
filename: "%file_pathname%"
exportPattern:
... | 97a28e1402254e7d7f93e100246b0b612ef6ece1 | gradle/crowdin-help-only.yml | gradle/crowdin-help-only.yml | YAML |
<|file_sep|>original/build.sh
#!/usr/bin/env bash
GOOS=linux GOARCH=amd64 go build -o bin/data-downloader-limux-amd64 main.go
GOOS=windows GOARCH=amd64 go build -o bin/data-downloader-windows-amd64.exe main.go
GOOS=darwin GOARCH=amd64 go build -o bin/data-downloader-darwin-amd64 main.go
<|file_sep|>current/build.sh
... | #!/usr/bin/env bash
GOOS=linux GOARCH=amd64 go build -o bin/data-downloader-linux-amd64 main.go
GOOS=windows GOARCH=amd64 go build -o bin/data-downloader-windows-amd64.exe main.go
GOOS=darwin GOARCH=amd64 go build -o bin/data-downloader-darwin-amd64 main.go | <|file_sep|>original/build.sh
#!/usr/bin/env bash
GOOS=linux GOARCH=amd64 go build -o bin/data-downloader-limux-amd64 main.go
GOOS=windows GOARCH=amd64 go build -o bin/data-downloader-windows-amd64.exe main.go
GOOS=darwin GOARCH=amd64 go build -o bin/data-downloader-darwin-amd64 main.go
<|file_sep|>current/build.sh
... | 47dad5436083aa624e5cdffa847e04955eda2879 | build.sh | build.sh | Shell |
<|file_sep|>original/package.json
"description": "Components of the GPII personalization infrastructure for use on Microsoft's \"Windows\" ™",
"version": "0.3.0",
"author": "GPII",
"bugs": "http://issues.gpii.net/browse/GPII",
"homepage": "http://gpii.net/",
"dependencies": {
"ffi": "2.0... | "description": "Components of the GPII personalization infrastructure for use on Microsoft's \"Windows\" ™",
"version": "0.3.0",
"author": "GPII",
"bugs": "http://issues.gpii.net/browse/GPII",
"homepage": "http://gpii.net/",
"dependencies": {
"ffi": "2.0.0",
"ref": "1",
"... | <|file_sep|>original/package.json
"description": "Components of the GPII personalization infrastructure for use on Microsoft's \"Windows\" ™",
"version": "0.3.0",
"author": "GPII",
"bugs": "http://issues.gpii.net/browse/GPII",
"homepage": "http://gpii.net/",
"dependencies": {
"ffi": "2.0... | 6a1d8fdb0836c6ff3aa9b355fa83ae8938680558 | package.json | package.json | JSON |
<|file_sep|>.gitlab-ci.yml.diff
original:
updated:
lint:
script:
- pylint --load-plugins pylint_django --errors-only verleihtool/ depot/ rental/
<|file_sep|>original/.gitlab-ci.yml
before_script:
- export PYENV_ROOT="$HOME/.pyenv"
- export PATH="$PYENV_ROOT/bin:$PATH"
- eval "$(pyenv init -)"
- eval "$(... | before_script:
- export PYENV_ROOT="$HOME/.pyenv"
- export PATH="$PYENV_ROOT/bin:$PATH"
- eval "$(pyenv init -)"
- eval "$(pyenv virtualenv-init -)"
- pyenv global 3.6.0
- which python
- python -V
lint:
script:
- pylint --load-plugins pylint_django --errors-only verleihtool/ depot/ rental/
test:
... | <|file_sep|>.gitlab-ci.yml.diff
original:
updated:
lint:
script:
- pylint --load-plugins pylint_django --errors-only verleihtool/ depot/ rental/
<|file_sep|>original/.gitlab-ci.yml
before_script:
- export PYENV_ROOT="$HOME/.pyenv"
- export PATH="$PYENV_ROOT/bin:$PATH"
- eval "$(pyenv init -)"
- eval "$(... | eab89888ae8fd6cf42b672d8d9f32da8d8459a74 | .gitlab-ci.yml | .gitlab-ci.yml | YAML |
<|file_sep|>original/setup.cfg
[bdist_wheel]
python-tag = py34.py35
[flake8]
max-line-length = 90
[isort]
line_length = 90
multi_line_output = 3
force_grid_wrap = true
balanced_wrapping = true
order_by_type = true
atomic = true
include_trailing_comma = true
known_standard_library = asyncio
<|file_sep|>current/setup.c... | [bdist_wheel]
python-tag = py34.py35
[flake8]
max-line-length = 90
[isort]
line_length = 90
multi_line_output = 3
force_grid_wrap = true
balanced_wrapping = true
order_by_type = true
atomic = true
include_trailing_comma = true
known_standard_library = asyncio
known_first_party = saltyrtc | <|file_sep|>original/setup.cfg
[bdist_wheel]
python-tag = py34.py35
[flake8]
max-line-length = 90
[isort]
line_length = 90
multi_line_output = 3
force_grid_wrap = true
balanced_wrapping = true
order_by_type = true
atomic = true
include_trailing_comma = true
known_standard_library = asyncio
<|file_sep|>current/setup.c... | 22565595da0b730d3e92a248eaf05adea6840583 | setup.cfg | setup.cfg | INI |
<|file_sep|>index.html.diff
original:
<script src="https://js.arcgis.com/3.18/" data-dojo-config="async: true"></script>
updated:
<script src="https://js.arcgis.com/3.20/" data-dojo-config="async: true"></script>
<|file_sep|>original/index.html
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" ... | <link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Third party libraries -->
<!-- load Esri library -->
<!--<script src="//js.arcgis.com/3.18/"></script>
<link rel="stylesheet" href="//js.arcgis.com/3.18/esri/css/esri.css">-->
<script src="https://js.arcgis.co... | <|file_sep|>index.html.diff
original:
<script src="https://js.arcgis.com/3.18/" data-dojo-config="async: true"></script>
updated:
<script src="https://js.arcgis.com/3.20/" data-dojo-config="async: true"></script>
<|file_sep|>original/index.html
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" ... | e518f32cff40c446a1c07b7bc509bf101704b6e5 | index.html | index.html | HTML |
<|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.4
Sphinx==1.5.5
django-extensions==1.7.9
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.8.0
<|file_sep|>curr... | # Local development dependencies go here
-r base.txt
coverage==4.4
Sphinx==1.5.6
django-extensions==1.7.9
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.8.0 | <|file_sep|>original/{{cookiecutter.project_slug}}/requirements/local.txt
# Local development dependencies go here
-r base.txt
coverage==4.4
Sphinx==1.5.5
django-extensions==1.7.9
django-test-plus==1.0.17
factory-boy==2.8.1
django-debug-toolbar==1.8
# pytest!
pytest-django==3.1.2
pytest-sugar==0.8.0
<|file_sep|>curr... | 5114d050a46fcdb0e490771b592caecb64641e3c | {{cookiecutter.project_slug}}/requirements/local.txt | {{cookiecutter.project_slug}}/requirements/local.txt | Text |
<|file_sep|>original/web_client/js/views/annotationSelectorWidget.js
histomicstk.views.AnnotationSelectorWidget = histomicstk.views.Panel.extend({
events: _.extend(histomicstk.views.Panel.prototype.events, {
'click .h-annotation > span': 'toggleAnnotation'
}),
setItem: function (item) {
if (... | histomicstk.views.AnnotationSelectorWidget = histomicstk.views.Panel.extend({
events: _.extend(histomicstk.views.Panel.prototype.events, {
'click .h-annotation > span': 'toggleAnnotation'
}),
initialize: function () {
this.listenTo(girder.eventStream, 'g:event.job_status', function (evt) {
... | <|file_sep|>original/web_client/js/views/annotationSelectorWidget.js
histomicstk.views.AnnotationSelectorWidget = histomicstk.views.Panel.extend({
events: _.extend(histomicstk.views.Panel.prototype.events, {
'click .h-annotation > span': 'toggleAnnotation'
}),
setItem: function (item) {
if (... | 370bc7beddcdb22eb54e89d795a54e3ac05af71a | web_client/js/views/annotationSelectorWidget.js | web_client/js/views/annotationSelectorWidget.js | JavaScript |
<|file_sep|>original/action_mailer_stop.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'action_mailer_stop/version'
Gem::Specification.new do |spec|
spec.name = "action_mailer_stop"
spec.version = ActionMailerStop::VERSION
spec.authors = ["Adrien Siami"]
spec.email... | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'action_mailer_stop/version'
Gem::Specification.new do |spec|
spec.name = "action_mailer_stop"
spec.version = ActionMailerStop::VERSION
spec.authors = ["Adrien Siami"]
spec.email = ["adrien.siami@dimelo.com"]
spec.de... | <|file_sep|>original/action_mailer_stop.gemspec
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'action_mailer_stop/version'
Gem::Specification.new do |spec|
spec.name = "action_mailer_stop"
spec.version = ActionMailerStop::VERSION
spec.authors = ["Adrien Siami"]
spec.email... | eb1698cceb9713df26776cf7cd614baea6da0a55 | action_mailer_stop.gemspec | action_mailer_stop.gemspec | Ruby |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<%= content_for :head %>
<meta name=viewport content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= jquery_include_tag :google %>
<%=... | <!DOCTYPE html>
<html>
<head prefix="og: http://ogp.me/ns# object: http://ogp.me/ns/object#">
<%= content_for :head %>
<meta name=viewport content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= jquery_include_tag :google %>
... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<%= content_for :head %>
<meta name=viewport content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= jquery_include_tag :google %>
<%=... | b475d8fa4122cb630f23312f29c927fa4007cf82 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>original/launch_instance.py
logger = logging.getLogger()
logger.setLevel(logging.INFO)
def lambda_handler(event, context):
ec2 = boto3.resource('ec2')
with open('env.sh') as e, open('cloud-init.sh') as f:
script = e.read() + f.read()
instance = ec2.create_instances(
I... | logger = logging.getLogger()
logger.setLevel(logging.INFO)
def lambda_handler(event, context):
ec2 = boto3.resource('ec2')
with open('env.sh') as e, open('cloud-init.sh') as f:
script = e.read() + f.read()
instance = ec2.create_instances(
ImageId='ami-060cde69', # Ubuntu 16.04
... | <|file_sep|>original/launch_instance.py
logger = logging.getLogger()
logger.setLevel(logging.INFO)
def lambda_handler(event, context):
ec2 = boto3.resource('ec2')
with open('env.sh') as e, open('cloud-init.sh') as f:
script = e.read() + f.read()
instance = ec2.create_instances(
I... | 3c04509ced5c51c55294e88ded2614b9f289deea | launch_instance.py | launch_instance.py | Python |
<|file_sep|>original/Cargo.toml
version = "0.2.3"
authors = ["Dirk Gadsden <dirk@esherido.com>"]
description = "Ingest logs and forward aggregated data to APIs/services."
license = "BSD-3-Clause"
repository = "https://github.com/dirk/metrics_distributor"
[dependencies]
hyper = "0.7.2"
iron = "0.2.6"
router = "0.1.0"
r... | version = "0.2.3"
authors = ["Dirk Gadsden <dirk@esherido.com>"]
description = "Ingest logs and forward aggregated data to APIs/services."
license = "BSD-3-Clause"
repository = "https://github.com/dirk/metrics_distributor"
[dependencies]
hyper = "0.7.2"
iron = "0.2.6"
router = "0.1.0"
regex = "0.1.55"
lazy_static = "0... | <|file_sep|>original/Cargo.toml
version = "0.2.3"
authors = ["Dirk Gadsden <dirk@esherido.com>"]
description = "Ingest logs and forward aggregated data to APIs/services."
license = "BSD-3-Clause"
repository = "https://github.com/dirk/metrics_distributor"
[dependencies]
hyper = "0.7.2"
iron = "0.2.6"
router = "0.1.0"
r... | 329b178b6128e479ba083510c2410a2d306c7ac3 | Cargo.toml | Cargo.toml | TOML |
<|file_sep|>original/byceps/blueprints/shop_admin/templates/shop_admin/order_cancel_form.html
{% block body %}
<nav class="breadcrumbs">
<ol>
<li>Bestellungen</li>
<li><a href="{{ url_for('.order_index_for_party', party_id=order.party.id) }}">{{ order.party.title }}</a></li>
<li>{{ render_orde... | {% block body %}
<nav class="breadcrumbs">
<ol>
<li>Bestellungen</li>
<li><a href="{{ url_for('.order_index_for_party', party_id=order.party.id) }}">{{ order.party.title }}</a></li>
<li>{{ render_order_link(order) }}</li>
</ol>
</nav>
<h1>{{ title }}</h1>
<form action="{{ url_for('.o... | <|file_sep|>original/byceps/blueprints/shop_admin/templates/shop_admin/order_cancel_form.html
{% block body %}
<nav class="breadcrumbs">
<ol>
<li>Bestellungen</li>
<li><a href="{{ url_for('.order_index_for_party', party_id=order.party.id) }}">{{ order.party.title }}</a></li>
<li>{{ render_orde... | 2e161b52d11c4eb0d7fc06215626f87dc624f0d2 | byceps/blueprints/shop_admin/templates/shop_admin/order_cancel_form.html | byceps/blueprints/shop_admin/templates/shop_admin/order_cancel_form.html | HTML |
<|file_sep|>original/src/test/scala/com/github/cstroe/sqs/www/StripesUtil.scala
package com.github.cstroe.sqs.www
import net.sourceforge.stripes.action.UrlBinding
object StripesUtil {
def host = "http://localhost:8080/"
def getUrl(cls: Class[_]): String = {
val binding = cls.getAnnotation(classOf[UrlBinding]... |
import net.sourceforge.stripes.action.UrlBinding
object StripesUtil {
def host = "http://localhost:8080/"
def getUrl(cls: Class[_]): String = {
val binding = cls.getAnnotation(classOf[UrlBinding])
host + binding.value()
}
def getUrl(cls: Class[_], event: String): String = {
val url = getUrl(cls)... | <|file_sep|>original/src/test/scala/com/github/cstroe/sqs/www/StripesUtil.scala
package com.github.cstroe.sqs.www
import net.sourceforge.stripes.action.UrlBinding
object StripesUtil {
def host = "http://localhost:8080/"
def getUrl(cls: Class[_]): String = {
val binding = cls.getAnnotation(classOf[UrlBinding]... | 4f289b7bf1ce3a560854d5926b0326403223fa34 | src/test/scala/com/github/cstroe/sqs/www/StripesUtil.scala | src/test/scala/com/github/cstroe/sqs/www/StripesUtil.scala | Scala |
<|file_sep|>app/views/lexemes/_parse.rhtml.diff
original:
<% nested_attributes_for f, [:interpretations, :parses, :etymologies, :subentry] %>
updated:
<% nested_attributes_for f, [:interpretations, :parses, :etymology] %>
<|file_sep|>original/app/views/lexemes/_parse.rhtml
<legend>Parse <%= remove_link_unless_new_r... | <legend>Parse <%= remove_link_unless_new_record(f) %></legend>
<div class="type-text">
<%= f.label :parsed_form, nil, :style => "float:left" %>
<%= headword_link(f.object) unless f.object.nil? || f.object.parsed_form.blank? %>
<div style="clear:both"/>
<%= f.text_field :parsed_form %>
</div>
... | <|file_sep|>app/views/lexemes/_parse.rhtml.diff
original:
<% nested_attributes_for f, [:interpretations, :parses, :etymologies, :subentry] %>
updated:
<% nested_attributes_for f, [:interpretations, :parses, :etymology] %>
<|file_sep|>original/app/views/lexemes/_parse.rhtml
<legend>Parse <%= remove_link_unless_new_r... | 804e231f0b530e6530a72833a6d3b09967a5d662 | app/views/lexemes/_parse.rhtml | app/views/lexemes/_parse.rhtml | RHTML |
<|file_sep|>templates/pages/home.hbs.diff
original:
<div class="col-lg-6">Content separated</div>
<div class="col-lg-6">In two equally wide columns</div>
updated:
<div class="col-xs-12 col-sm-6">Content separated</div>
<div class="col-xs-12 col-sm-6">In two equally wide columns</div>
<|f... | <div class="home-page">
<div class="row">
<div class="col-xs-12 col-sm-6">Content separated</div>
<div class="col-xs-12 col-sm-6">In two equally wide columns</div>
</div>
<hr/>
<div class="row">
<div class="col-xs-12 col-sm-3">Different</div>
<div class="col-xs-12 col-sm-... | <|file_sep|>templates/pages/home.hbs.diff
original:
<div class="col-lg-6">Content separated</div>
<div class="col-lg-6">In two equally wide columns</div>
updated:
<div class="col-xs-12 col-sm-6">Content separated</div>
<div class="col-xs-12 col-sm-6">In two equally wide columns</div>
<|f... | 94cbfc1941f54d341307b30cc2396bdaf1294956 | templates/pages/home.hbs | templates/pages/home.hbs | Handlebars |
<|file_sep|>readme.md.diff
original:
updated:
## Run it
<|file_sep|>original/readme.md
# demo-backbone-app
A demo backbone app to teach myself some backbonejs goodness.
# API Endpoints
> Note: These endpoints, when hit using AJAX return JSON
> else they usually return a full page
### `GET /employee/:id`
Returns ... | # demo-backbone-app
A demo backbone app to teach myself some backbonejs goodness.
## Run it
1. Clone this repository
2. `cd` into the folder
3. Run `npm install` the first time you run this app
4. Run `npm start`
5. Goto [localhost:3000](http://localhost:3000/)
## API Endpoints
> Note: These endpoints, when hit us... | <|file_sep|>readme.md.diff
original:
updated:
## Run it
<|file_sep|>original/readme.md
# demo-backbone-app
A demo backbone app to teach myself some backbonejs goodness.
# API Endpoints
> Note: These endpoints, when hit using AJAX return JSON
> else they usually return a full page
### `GET /employee/:id`
Returns ... | 0e84e63f324b57cfd51b5d35976c102670f32488 | readme.md | readme.md | Markdown |
<|file_sep|>original/README.md
# RS-Recommenders
Interview project from Retention Science. The raw data has been provided by Retention Science.
## Setup
Run the bundle to install the gems from `Gemfile`:
```shell
bundle install
```
Load the ".csv" files to sqlite3 database run the following command
from the parent di... | # RS-Recommenders
[](https://travis-ci.org/ardeshirj/rs-recommenders)
Interview project from Retention Science. The raw data has been provided by Retention Science.
## Setup
Run the bundle to install the gems from `Gemfile`:
```shell
b... | <|file_sep|>original/README.md
# RS-Recommenders
Interview project from Retention Science. The raw data has been provided by Retention Science.
## Setup
Run the bundle to install the gems from `Gemfile`:
```shell
bundle install
```
Load the ".csv" files to sqlite3 database run the following command
from the parent di... | 7c3f168b09f3586f8d3f9a3fe8dd619c8c1f43e6 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
Or install it yourself as:
$ gem install active-admin-skin
## Usage
TODO: Write usage instructions here
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
To in... | Or install it yourself as:
$ gem install active-admin-skin
## Usage
TODO: Write usage instructions here
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local ... | <|file_sep|>original/README.md
Or install it yourself as:
$ gem install active-admin-skin
## Usage
TODO: Write usage instructions here
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
To in... | e59b02b3eb665ac77c311a122d3bee2e9d3593c5 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
only:
- /^release-.*$/
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- ree
- rbx-19mode
env:
- "GIT_BRANCH=release-1.2"
notifications:
irc: "irc.freenode.org#datamapper"
email:
- dan.kubb@gmail.com
ma... | only:
- /^release-.*$/
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- ree
- rbx-19mode
env:
- "GIT_BRANCH=release-1.2"
notifications:
irc: "irc.freenode.org#datamapper"
email:
- dan.kubb@gmail.com
matrix:
allow_failures:
- rvm... | <|file_sep|>original/.travis.yml
only:
- /^release-.*$/
script: "bundle exec rake spec"
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- ree
- rbx-19mode
env:
- "GIT_BRANCH=release-1.2"
notifications:
irc: "irc.freenode.org#datamapper"
email:
- dan.kubb@gmail.com
ma... | e15ea3fd45858dc53bf05ee7d7dcdfa15eeb284f | .travis.yml | .travis.yml | YAML |
<|file_sep|>Problem011/grid.ml.diff
original:
(* Create a list according to a given line of numbers (of size x) separated by a space *)
let createList line x =
updated:
(* Create a array according to a given line of numbers (of size s) separated by a space *)
let createArray line s =
<|file_sep|>Problem011/grid.ml.diff... | Version : 1.0
Date : 07/01/2014
Description : In a given 20x20 grid, what is the greatest product of four adjacent numbers in the same direction (up, down, left, right or diagonally) in the 20x20 grid ?
*)
(* First step : reading the file given containing the 20x20 grid and make a matrix out of it *)
let file = open_i... | <|file_sep|>Problem011/grid.ml.diff
original:
(* Create a list according to a given line of numbers (of size x) separated by a space *)
let createList line x =
updated:
(* Create a array according to a given line of numbers (of size s) separated by a space *)
let createArray line s =
<|file_sep|>Problem011/grid.ml.diff... | 26314156fc354bd4ce131d718c58655366eb0725 | Problem011/grid.ml | Problem011/grid.ml | OCaml |
<|file_sep|>util/CMakeLists.txt.diff
original:
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
updated:
if(USE_LIBCXX)
<|file_sep|>original/util/CMakeLists.txt
googletest/gtest-filepath.cc
googletest/gtest-port.cc
googletest/gtest-printers.cc
googletest/gtest-test-part.cc
googletest/gtest-typed-test.cc
)
... | googletest/gtest-filepath.cc
googletest/gtest-port.cc
googletest/gtest-printers.cc
googletest/gtest-test-part.cc
googletest/gtest-typed-test.cc
)
# The gtest library will always get the same compiler flags
if(CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "-O3 -Wno-variadic-macros")
else()
if(CMAKE_CXX_... | <|file_sep|>util/CMakeLists.txt.diff
original:
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
updated:
if(USE_LIBCXX)
<|file_sep|>original/util/CMakeLists.txt
googletest/gtest-filepath.cc
googletest/gtest-port.cc
googletest/gtest-printers.cc
googletest/gtest-test-part.cc
googletest/gtest-typed-test.cc
)
... | baf24da4ee015cd81ee4c54ba0f466ba30212d14 | util/CMakeLists.txt | util/CMakeLists.txt | Text |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.5.0
coverage==4.2
Sphinx==1.5.1
cryptography==1.7.1
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.5.0
covera... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.5.0
coverage==4.3.1
Sphinx==1.5.1
cryptography==1.7.1
PyYAML==3.12 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.5.0
coverage==4.2
Sphinx==1.5.1
cryptography==1.7.1
PyYAML==3.12
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.2.1
tox==2.5.0
covera... | 6c2d84ff00852c6349fcf6275889ba87b76d3c0a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/app/views/devise/registrations/new.html.erb
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
<div><%= f.label :email %>*<br />
... | <div><%= f.label :email %>*<br />
<%= f.email_field :email %>
</div>
<div>
<%= f.label :phone %><br />
<%= f.phone_field :phone %>
</div>
<div>
<%= f.label :password %>*<br />
<%= f.password_field :password %>
</div>
<div>
<%= f.label :pass... | <|file_sep|>original/app/views/devise/registrations/new.html.erb
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
<div><%= f.label :email %>*<br />
... | d83c007db8ada4e444d94b1dd5fc2a222f4ce3a3 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | HTML+ERB |
<|file_sep|>original/.github/workflows/ci.yml
run: npm ci
- name: eslint
run: npm run lint
test:
name: Test NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-latest, wi... | run: npm ci
- name: eslint
run: npm run lint
test:
name: Test NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [12.x, 14.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- use... | <|file_sep|>original/.github/workflows/ci.yml
run: npm ci
- name: eslint
run: npm run lint
test:
name: Test NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-latest, wi... | df54c258dca6050545edabd85ab920f879eb7a69 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/.travis.yml
language: groovy
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x gradlew
script: travis_wait 10 ./gradlew -Dfile.encoding=UTF-8 test jaco... | language: groovy
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x gradlew
before_script:
- ./gradlew --version
script: travis_wait 10 ./gradlew -Dfile.encoding=UTF-8 tes... | <|file_sep|>original/.travis.yml
language: groovy
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- chmod +x gradlew
script: travis_wait 10 ./gradlew -Dfile.encoding=UTF-8 test jaco... | 92c37755c77cdf0b957eeaf66bb42b81d9b059be | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/Services/Markdown.php
<|file_sep|>current/app/Services/Markdown.php
<|file_sep|>updated/app/Services/Markdown.php | <?php namespace App\Services;
class Markdown {
public function __construct()
{
}
public function convertHtmlToMarkdown($html)
{
}
public function convertMarkdownToHtml($markdown)
{
}
}
| <|file_sep|>original/app/Services/Markdown.php
<|file_sep|>current/app/Services/Markdown.php
<|file_sep|>updated/app/Services/Markdown.php
<?php namespace App\Services;
class Markdown {
public function __construct()
{
}
public function convertHtmlToMarkdown($html)
{
}
public function... | 9c510a22e0b2c3cdf42c06894abbc69482ee9bc7 | app/Services/Markdown.php | app/Services/Markdown.php | PHP |
<|file_sep|>original/.travis.yml
language: ruby
dist: trusty
sudo: false
cache: bundler
after_success:
bundle exec codeclimate-test-reporter
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.0
- jruby-9.1.5.0
- rubinius-3
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfi... | language: ruby
dist: trusty
sudo: false
cache: bundler
before_install:
- gem update --system
- gem install bundler
after_success:
bundle exec codeclimate-test-reporter
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.0
- jruby-9.1.5.0
- rubinius-3
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfi... | <|file_sep|>original/.travis.yml
language: ruby
dist: trusty
sudo: false
cache: bundler
after_success:
bundle exec codeclimate-test-reporter
rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.5.0
- jruby-9.1.5.0
- rubinius-3
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfi... | 42dda4d21751b215b1cb73acf91f8be1e47d51a1 | .travis.yml | .travis.yml | YAML |
<|file_sep|>mopidy/exceptions.py.diff
original:
def __init(self, message, errno=None):
super(CoreError, self).__init(message, errno)
updated:
def __init__(self, message, errno=None):
super(CoreError, self).__init__(message, errno)
<|file_sep|>original/mopidy/exceptions.py
class MixerError(Mopidy... | class MixerError(MopidyException):
pass
class ScannerError(MopidyException):
pass
class TracklistFull(CoreError):
def __init__(self, message, errno=None):
super(TracklistFull, self).__init__(message, errno)
self.errno = errno
class AudioException(MopidyException):
pass
class Val... | <|file_sep|>mopidy/exceptions.py.diff
original:
def __init(self, message, errno=None):
super(CoreError, self).__init(message, errno)
updated:
def __init__(self, message, errno=None):
super(CoreError, self).__init__(message, errno)
<|file_sep|>original/mopidy/exceptions.py
class MixerError(Mopidy... | 3aacfd7147836ef95133aa88d558a1d69bbcd0cd | mopidy/exceptions.py | mopidy/exceptions.py | Python |
<|file_sep|>reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala.diff
original:
updated:
import java.io.BufferedReader
import java.io.StringReader
import java.util.concurrent.LinkedTransferQueue
<|file_sep|>reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala.diff
original:
... | }
}
}
{
replThread.start()
}
def tpe = "Scala"
def eval(cmd: String) = Future {
lock.synchronized {
commandQueue.add(cmd)
val output = outputQueue.take()
Repl.Result(0, output)
}
}
def shutdown() {
}
} | <|file_sep|>reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala.diff
original:
updated:
import java.io.BufferedReader
import java.io.StringReader
import java.util.concurrent.LinkedTransferQueue
<|file_sep|>reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala.diff
original:
... | e510483e0771b9c449e8f37877cd409efaf241ea | reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala | reactors-debugger/src/main/scala/io/reactors/debugger/repl/ScalaRepl.scala | Scala |
<|file_sep|>original/localtv/management/commands/update_one_thumbnail.py
<|file_sep|>current/localtv/management/commands/update_one_thumbnail.py
<|file_sep|>updated/localtv/management/commands/update_one_thumbnail.py | # This file is part of Miro Community.
# Copyright (C) 2010 Participatory Culture Foundation
#
# Miro Community is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or (at y... | <|file_sep|>original/localtv/management/commands/update_one_thumbnail.py
<|file_sep|>current/localtv/management/commands/update_one_thumbnail.py
<|file_sep|>updated/localtv/management/commands/update_one_thumbnail.py
# This file is part of Miro Community.
# Copyright (C) 2010 Participatory Culture Foundation
#
# Mir... | 6ad3b3372e8cd641ec41bdcf261a1a3018b073d9 | localtv/management/commands/update_one_thumbnail.py | localtv/management/commands/update_one_thumbnail.py | Python |
<|file_sep|>original/src/utils/index.ts
}
export function getDiagonals(grid: Grid): Diagonal[] {
// TODO: Make it work
return [];
}
function getArray(length: number) {
return Array.apply(null, { length }).map(Number.call, Number);
}
export function transpose<T>(grid: Array<T>): Array<T> {
const size = Math.s... | const copy = grid.concat([]);
return getArray(length).map(() => copy.splice(0, length));
}
export function getColumns(grid: Grid): Column[] {
return getRows(transpose(grid));
}
export function getDiagonals(grid: Grid): Diagonal[] {
// TODO: Make it work
return [];
}
function getArray(length: number) {
re... | <|file_sep|>original/src/utils/index.ts
}
export function getDiagonals(grid: Grid): Diagonal[] {
// TODO: Make it work
return [];
}
function getArray(length: number) {
return Array.apply(null, { length }).map(Number.call, Number);
}
export function transpose<T>(grid: Array<T>): Array<T> {
const size = Math.s... | 8c8057b657d725417748b4a89174006ea3acbc15 | src/utils/index.ts | src/utils/index.ts | TypeScript |
<|file_sep|>.travis.yml.diff
original:
compiler: clang
updated:
compiler: gcc
<|file_sep|>.travis.yml.diff
original:
- sudo add-apt-repository --yes ppa:kalakris/cmake
updated:
- sudo add-apt-repository --yes ppa:kalakris/cmake ppa:ubuntu-toolchain-r/test
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get inst... | language: cpp
compiler: gcc
before_install:
- sudo add-apt-repository --yes ppa:kalakris/cmake ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y cmake gcc-4.8
script:
- export CXX="g++-4.8"
- mkdir Build && cd Build
- cmake .. && make && make test | <|file_sep|>.travis.yml.diff
original:
compiler: clang
updated:
compiler: gcc
<|file_sep|>.travis.yml.diff
original:
- sudo add-apt-repository --yes ppa:kalakris/cmake
updated:
- sudo add-apt-repository --yes ppa:kalakris/cmake ppa:ubuntu-toolchain-r/test
<|file_sep|>.travis.yml.diff
original:
- sudo apt-get inst... | 1319e9c83228d31d216c7bcbd87b568dc5ed5f44 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Common.php
use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
use Symfony\Component\PropertyAccess\PropertyAccess;
function getProperty($object, $property, $defaultValue = null)
{
static $accessor = null;
if ($accessor === null) {
$accessor = PropertyAcces... | if ($object !== null) {
try {
return $accessor->getValue($object, $property);
} catch (NoSuchPropertyException $e) {
// noop
}
}
return $defaultValue;
}
function FFMPEGEnvVarArrayToEnvVarObject(array $envVars)
{
$object = [];
foreach ($envVars as $e... | <|file_sep|>original/src/Common.php
use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
use Symfony\Component\PropertyAccess\PropertyAccess;
function getProperty($object, $property, $defaultValue = null)
{
static $accessor = null;
if ($accessor === null) {
$accessor = PropertyAcces... | 59ca1e23ee2ce14f88101a0f9febd567a33f54fb | src/Common.php | src/Common.php | PHP |
<|file_sep|>original/requirements.txt
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.6
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r... | ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.6
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=re2
parsedatetime==2.4
cryptography==2.... | <|file_sep|>original/requirements.txt
ply==3.11
enum34==1.1.6
twitter==1.18.0
requests==2.19.1
pytimeparse==1.1.8
pymysql==0.9.2
pycryptodome==3.6.6
pyasn1==0.4.4
isodate==0.6.0
google-api-python-client==1.7.4
pyxDamerauLevenshtein==1.5
numpy==1.15.0
Cython==0.28.5
git+git://github.com/andreasvc/pyre2.git@7146ce3#egg=r... | 71eb1ba1cf4f3cd21e4ec43ca4dbac9ff29c0f1b | requirements.txt | requirements.txt | Text |
<|file_sep|>original/docs/developers/back-end.md
# Introduction
Publish back end pages are loaded by [OpenVeo](https://github.com/veo-labs/openveo-core).
As expected by OpenVeo, Publish defines a module **ov.publish**.
# Modules
## Main module (**ov.publish**)
Publish main module defines the following routes :
- ... | # Introduction
Publish back end pages are loaded by [OpenVeo](https://github.com/veo-labs/openveo-core).
As expected by OpenVeo, Publish defines a module **ov.publish**.
# Modules
## Main module (**ov.publish**)
Publish main module defines the following routes :
- **/publish/videos** to access the catalogue page
... | <|file_sep|>original/docs/developers/back-end.md
# Introduction
Publish back end pages are loaded by [OpenVeo](https://github.com/veo-labs/openveo-core).
As expected by OpenVeo, Publish defines a module **ov.publish**.
# Modules
## Main module (**ov.publish**)
Publish main module defines the following routes :
- ... | 3cc10b73bf631b3e3309f37f7af8f9350cacb363 | docs/developers/back-end.md | docs/developers/back-end.md | Markdown |
<|file_sep|>original/lib/acclimate/cli_helper.rb
module Acclimate
module CliHelper
def self.included( base )
base.class_eval do
no_commands do
def execute( klass, additional_options={} )
klass.new( options.merge( additional_options )).execute
rescue Acclimate::Error... | module Acclimate
module CliHelper
def self.included( base )
base.class_eval do
include Acclimate::Output
no_commands do
def execute( klass, additional_options={} )
klass.new( options.merge( additional_options )).execute
rescue Acclimate::Error => e
... | <|file_sep|>original/lib/acclimate/cli_helper.rb
module Acclimate
module CliHelper
def self.included( base )
base.class_eval do
no_commands do
def execute( klass, additional_options={} )
klass.new( options.merge( additional_options )).execute
rescue Acclimate::Error... | b1aa8be46cb2d53cb5c0822928614f5dea515b0a | lib/acclimate/cli_helper.rb | lib/acclimate/cli_helper.rb | Ruby |
<|file_sep|>base.php.diff
original:
<main class="main <?php echo roots_main_class(); ?>" role="main">
<?php include roots_template_path(); ?>
</main><!-- /.main -->
updated:
<|file_sep|>original/base.php
if (current_theme_supports('bootstrap-top-navbar')) {
get_template_part('templates/he... | get_template_part('templates/header');
}
?>
<div class="wrap container" role="document">
<div class="content row">
<?php if (roots_display_sidebar()) : ?>
<aside class="sidebar <?php echo roots_sidebar_class(); ?>" role="complementary">
<?php include roots_sidebar_path(); ?>
... | <|file_sep|>base.php.diff
original:
<main class="main <?php echo roots_main_class(); ?>" role="main">
<?php include roots_template_path(); ?>
</main><!-- /.main -->
updated:
<|file_sep|>original/base.php
if (current_theme_supports('bootstrap-top-navbar')) {
get_template_part('templates/he... | a3ecb1826a2a3822bfb607c4036effff5eeb13f1 | base.php | base.php | PHP |
<|file_sep|>original/config/routes.rb
as :developer do
delete 'developers/logout', to: 'devise/sessions#destroy',
as: :destroy_developer_session
get 'developers/login', to: 'devise/sessions#new',
as: :new_developer_session
end
devise_for :recrui... | as: :destroy_developer_session
get 'developers/login', to: 'devise/sessions#new',
as: :new_developer_session
end
devise_for :recruiters
namespace :graphql do
post '/', to: 'query#create'
end
if Rails.env.development?
mount GraphiQL::Ra... | <|file_sep|>original/config/routes.rb
as :developer do
delete 'developers/logout', to: 'devise/sessions#destroy',
as: :destroy_developer_session
get 'developers/login', to: 'devise/sessions#new',
as: :new_developer_session
end
devise_for :recrui... | 984fb68e42483efce7de87cb6a106946f3aa15ca | config/routes.rb | config/routes.rb | Ruby |
<|file_sep|>original/.circleci/config.yml
save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2.1
jobs:
buildtest:
docker:
- image: circleci/rust:1.34.0
environment:
RUSTFLAGS: -D warnings
steps:
- checkout
- run: git merg... | save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2.1
jobs:
buildtest:
docker:
- image: circleci/rust:1-buster
environment:
RUSTFLAGS: -D warnings
steps:
- checkout
- run: git merge master
- run: rustup component a... | <|file_sep|>original/.circleci/config.yml
save_cache:
<<: *DEPS_KEY
paths:
- target
- /usr/local/cargo/registry/cache
version: 2.1
jobs:
buildtest:
docker:
- image: circleci/rust:1.34.0
environment:
RUSTFLAGS: -D warnings
steps:
- checkout
- run: git merg... | 893081d56702fd96456bd7297e2fd44cd6483429 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/list-of-links.html
<|file_sep|>current/list-of-links.html
<|file_sep|>updated/list-of-links.html | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css">
<title>Andres Castillo</title>
<meta name="viewport" content="width=device-width, initial-scale=invalid-value, unknown-property=1">
<h2>Andres Castillo Ormaechea</h2>
<h3>Developer<span style="c... | <|file_sep|>original/list-of-links.html
<|file_sep|>current/list-of-links.html
<|file_sep|>updated/list-of-links.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css">
<title>Andres Castillo</title>
<meta name="viewport" content="width=device-width, ... | b5ca0f8e16db469a45c8050baf012199cad423ed | list-of-links.html | list-of-links.html | HTML |
<|file_sep|>original/builtin_fns.py
def __init__(self, pattern, fn):
self.pattern = pattern # e.g. ["print", "$obj"]
self.fn = fn # fn(args) where args is a dictionary
Builtin.builtins.append(self)
def builtin(pattern):
def builtin_gen(fn):
Builtin(pattern, f... |
return builtin_gen
## Builtin definitions ##
@builtin(["print", "$obj"])
def print_builtin(args, context):
print(args["obj"])
return NULL
@builtin(["print", "$obj", "without", "newline"])
def print_wn(args, context):
print(args["obj"], end="")
return NULL
@builtin([... | <|file_sep|>original/builtin_fns.py
def __init__(self, pattern, fn):
self.pattern = pattern # e.g. ["print", "$obj"]
self.fn = fn # fn(args) where args is a dictionary
Builtin.builtins.append(self)
def builtin(pattern):
def builtin_gen(fn):
Builtin(pattern, f... | 1f50f159de11a6ff48ce9ce1a502e990228f8dc0 | builtin_fns.py | builtin_fns.py | Python |
<|file_sep|>original/TODO.md
- [ ] set up irc notifications to #fedora-apps for development
- [ ] Remove pygithub3, replace with our own lib.
- [ ] Remove tw2, replace with standard templates/endpoints.
- [ ] Remove pep8bot branding
- [ ] Style with robyduck's latest bootstrap fedora
- [ ] Add fedmsg publication code
-... | - [X] set up irc notifications to #fedora-apps for development
- [ ] Remove pygithub3, replace with our own lib.
- [ ] Remove tw2, replace with standard templates/endpoints.
- [ ] Remove pep8bot branding
- [ ] Style with robyduck's latest bootstrap fedora
- [ ] Add fedmsg publication code
- [ ] Set up a cloud node for ... | <|file_sep|>original/TODO.md
- [ ] set up irc notifications to #fedora-apps for development
- [ ] Remove pygithub3, replace with our own lib.
- [ ] Remove tw2, replace with standard templates/endpoints.
- [ ] Remove pep8bot branding
- [ ] Style with robyduck's latest bootstrap fedora
- [ ] Add fedmsg publication code
-... | 801cf61c1c3edf91f3cd18a0e970be720705c131 | TODO.md | TODO.md | Markdown |
<|file_sep|>original/pack-animations.sh
<|file_sep|>current/pack-animations.sh
<|file_sep|>updated/pack-animations.sh | #!/bin/bash
PREFIX=bootanimation-
# Cleanup
rm $PREFIX*.zip
for ANIMATION in `ls -1 boot-animations`; do cd boot-animations/$ANIMATION; zip -r ../../$PREFIX$ANIMATION.zip .; cd ../..; zip -r $PREFIX$ANIMATION.zip META-INF; done | <|file_sep|>original/pack-animations.sh
<|file_sep|>current/pack-animations.sh
<|file_sep|>updated/pack-animations.sh
#!/bin/bash
PREFIX=bootanimation-
# Cleanup
rm $PREFIX*.zip
for ANIMATION in `ls -1 boot-animations`; do cd boot-animations/$ANIMATION; zip -r ../../$PREFIX$ANIMATION.zip .; cd ../..; zip -r $PREFI... | 35cd5db565a51aaef2c9f13c5bbcd34f325e165c | pack-animations.sh | pack-animations.sh | Shell |
<|file_sep|>original/.travis.yml
---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSI... | ---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
en... | <|file_sep|>original/.travis.yml
---
language: ruby
bundler_args: --without system_tests --jobs 3 --retry 3
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'"
sudo: false
matrix:
fast_finish: true
include:
- rvm: 1.8.7
env: PUPPET_GEM_VERSI... | 216645d812c532a0666fe393e3710f0d97d76abf | .travis.yml | .travis.yml | YAML |
<|file_sep|>releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml.diff
original:
- |
Ignore the ``security group list`` command ``--all-projects`` option
updated:
- Ignore the ``security group list`` command ``--all-projects`` option
<|file_sep|>original/releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml
---
f... | ---
fixes:
- Ignore the ``security group list`` command ``--all-projects`` option
for Network v2 since security groups will be displayed for all projects
by default (admin only).
[Bug `1519511 <https://bugs.launchpad.net/bugs/1519511>`_]
- The ``security group set`` command now uses Network v2 when
... | <|file_sep|>releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml.diff
original:
- |
Ignore the ``security group list`` command ``--all-projects`` option
updated:
- Ignore the ``security group list`` command ``--all-projects`` option
<|file_sep|>original/releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml
---
f... | 46e86e5a4a8f147b02559d6e612a57bc7ced7171 | releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml | releasenotes/notes/bug-1519511-74bab0e0d32db043.yaml | YAML |
<|file_sep|>original/docker.start.sh
#! /bin/bash
docker stop open-nti_con
docker rm open-nti_con
docker run -d --volume $(pwd)/data:/opt/open-nti/data \
--volume $(pwd)/logs:/opt/open-nti/logs \
--volume $(pwd)/db:/var/lib/influxdb \
--volume $(pwd)/dashboards:/src/dashboard... | #! /bin/bash
docker stop open-nti_con
docker rm open-nti_con
docker run -d --volume $(pwd)/data:/opt/open-nti/data \
--volume $(pwd)/logs:/opt/open-nti/logs \
--volume $(pwd)/db:/data \
--volume $(pwd)/dashboards:/src/dashboards \
--restart always \
... | <|file_sep|>original/docker.start.sh
#! /bin/bash
docker stop open-nti_con
docker rm open-nti_con
docker run -d --volume $(pwd)/data:/opt/open-nti/data \
--volume $(pwd)/logs:/opt/open-nti/logs \
--volume $(pwd)/db:/var/lib/influxdb \
--volume $(pwd)/dashboards:/src/dashboard... | fd79447d748b0d4c7851524fff77ed2378a032cd | docker.start.sh | docker.start.sh | Shell |
<|file_sep|>original/scent.py
for count, (command, title) in enumerate((
(('make', 'test-unit'), "Unit Tests"),
(('make', 'test-int'), "Integration Tests"),
(('make', 'test-all'), "Combined Tests"),
(('make', 'check'), "Static Analysis"),
(('make', 'doc'), None),
), start... | for count, (command, title) in enumerate((
(('make', 'test-unit'), "Unit Tests"),
(('make', 'test-int'), "Integration Tests"),
(('make', 'test-all'), "Combined Tests"),
(('make', 'check'), "Static Analysis"),
(('make', 'doc'), None),
), start=1):
print("")
... | <|file_sep|>original/scent.py
for count, (command, title) in enumerate((
(('make', 'test-unit'), "Unit Tests"),
(('make', 'test-int'), "Integration Tests"),
(('make', 'test-all'), "Combined Tests"),
(('make', 'check'), "Static Analysis"),
(('make', 'doc'), None),
), start... | af413ab076bb74e93499455bc2fb761e4ec56702 | scent.py | scent.py | Python |
<|file_sep|>original/app/src/lib/auth.ts
import { Account } from '../models/account'
/** Get the auth key for the user. */
export function getKeyForAccount(account: Account): string {
return getKeyForEndpoint(account.endpoint)
}
/** Get the auth key for the endpoint. */
export function getKeyForEndpoint(endpoint: s... | import { Account } from '../models/account'
/** Get the auth key for the user. */
export function getKeyForAccount(account: Account): string {
return getKeyForEndpoint(account.endpoint)
}
/** Get the auth key for the endpoint. */
export function getKeyForEndpoint(endpoint: string): string {
const appName = __DEV_... | <|file_sep|>original/app/src/lib/auth.ts
import { Account } from '../models/account'
/** Get the auth key for the user. */
export function getKeyForAccount(account: Account): string {
return getKeyForEndpoint(account.endpoint)
}
/** Get the auth key for the endpoint. */
export function getKeyForEndpoint(endpoint: s... | 1fb5b3c155f7695057cc778229f12661551699d8 | app/src/lib/auth.ts | app/src/lib/auth.ts | TypeScript |
<|file_sep|>app/models/user.rb.diff
original:
if first_name and last_name
[first_name, last_name].join(' ')
end
updated:
[first_name, last_name].join(' ') if first_name && last_name
<|file_sep|>app/models/user.rb.diff
original:
user_roles = []
roles = ['developer', 'designer', 'hacker', 'entre... | def full_name=(name='')
split = name.split(' ', 2)
self.first_name = split.first
self.last_name = split.last
end
def self.roles
%w(developer designer hacker entrepreneur artist business).map do |role|
[role.titlecase, role]
end
end
def self.find_first_by_auth_conditions(warden_cond... | <|file_sep|>app/models/user.rb.diff
original:
if first_name and last_name
[first_name, last_name].join(' ')
end
updated:
[first_name, last_name].join(' ') if first_name && last_name
<|file_sep|>app/models/user.rb.diff
original:
user_roles = []
roles = ['developer', 'designer', 'hacker', 'entre... | d2be65d00d796f0fe2d59ad84e782a535751a4bf | app/models/user.rb | app/models/user.rb | Ruby |
<|file_sep|>DeezerToolBar/content_scripts/actions.ts.diff
original:
let pp = document.querySelector('.player-controls .svg-icon-play, .player-controls .svg-icon-pause');
pp.parentElement.click();
updated:
let pp = document.querySelector('.player-controls').childNodes[0];
... | default:
document.body.innerText = request.execute;
break;
}
}
function SetStatuses(request, callback) {
let like = document.querySelectorAll('.track-actions').childNodes[0];
var status = like.classList.value.indexOf('is-active') !== -1;
if (request.execute === "Like") {... | <|file_sep|>DeezerToolBar/content_scripts/actions.ts.diff
original:
let pp = document.querySelector('.player-controls .svg-icon-play, .player-controls .svg-icon-pause');
pp.parentElement.click();
updated:
let pp = document.querySelector('.player-controls').childNodes[0];
... | 07425d786a6ee1425c55cee28b5f7294477aa62f | DeezerToolBar/content_scripts/actions.ts | DeezerToolBar/content_scripts/actions.ts | TypeScript |
<|file_sep|>original/app/assets/javascripts/initialize_foundation.coffee
$(document).foundation()
hash = window.location.hash
if hash
# Open the Foundation tab whose URL matches the requested hash.
# http://foundation.zurb.com/sites/docs/tabs.html
$("[data-tabs] [href=\"#{hash}\"]").click()
<|file_sep|>current/ap... | $(document).foundation()
$(document).on 'change.zf.tabs', (event) ->
if href = $('.is-active a', event.target).attr 'href'
if window.location.hash != href
window.history.pushState null, '', href
true
onHashChange = ->
hash = window.location.hash
if hash
# Open the Foundation tab whose URL matche... | <|file_sep|>original/app/assets/javascripts/initialize_foundation.coffee
$(document).foundation()
hash = window.location.hash
if hash
# Open the Foundation tab whose URL matches the requested hash.
# http://foundation.zurb.com/sites/docs/tabs.html
$("[data-tabs] [href=\"#{hash}\"]").click()
<|file_sep|>current/ap... | 9ba3ec88b4761bbb74a939ae49b76f9c7f590857 | app/assets/javascripts/initialize_foundation.coffee | app/assets/javascripts/initialize_foundation.coffee | CoffeeScript |
<|file_sep|>original/layers/my-dtrt-indent/packages.el
;; -*- lexical-binding: t -*-
(defconst my-dtrt-indent-packages '(dtrt-indent))
(defun my-dtrt-indent/init-dtrt-indent ()
(use-package dtrt-indent
:diminish
:defer t
:init
(dolist (mode dtrt-indent-mode-whitelist)
(add-hook (intern (concat... | ;; -*- lexical-binding: t -*-
(defconst my-dtrt-indent-packages '(dtrt-indent))
(defun my-dtrt-indent/init-dtrt-indent ()
(use-package dtrt-indent
:diminish
:defer t
:init
(dolist (mode dtrt-indent-mode-whitelist)
(add-hook (intern (concat (symbol-name mode) "-hook"))
#'dtrt-in... | <|file_sep|>original/layers/my-dtrt-indent/packages.el
;; -*- lexical-binding: t -*-
(defconst my-dtrt-indent-packages '(dtrt-indent))
(defun my-dtrt-indent/init-dtrt-indent ()
(use-package dtrt-indent
:diminish
:defer t
:init
(dolist (mode dtrt-indent-mode-whitelist)
(add-hook (intern (concat... | 43a6216b7ebd96765f25aaf2c1a24b8a50e18f07 | layers/my-dtrt-indent/packages.el | layers/my-dtrt-indent/packages.el | Emacs Lisp |
<|file_sep|>original/app/views/resolve/_request_link.html.erb
<% service_response = holding.service_response %>
<% if current_user %>
<%- # Link for "Request" action with class "ajax_window" for unobtrusive JS. -%>
<%= link_to("Request", new_holding_request_url(service_response),
target: "_blank", class: "btn ... | <% service_response = holding.service_response %>
<% if current_user %>
<%- # Link for "Request" action with class "ajax_window" for unobtrusive JS. -%>
<%= link_to("Request", new_holding_request_url(service_response),
target: "_blank", class: "btn btn-primary request-link ajax_window") %>
<% else %>
<%- # L... | <|file_sep|>original/app/views/resolve/_request_link.html.erb
<% service_response = holding.service_response %>
<% if current_user %>
<%- # Link for "Request" action with class "ajax_window" for unobtrusive JS. -%>
<%= link_to("Request", new_holding_request_url(service_response),
target: "_blank", class: "btn ... | 0d87a664187d58dcbc8622e323dd9a0b3c08839a | app/views/resolve/_request_link.html.erb | app/views/resolve/_request_link.html.erb | HTML+ERB |
<|file_sep|>opal/core/lookuplists.py.diff
original:
# class LookupList(models.Model):
# class Meta:
# abstract = True
updated:
<|file_sep|>original/opal/core/lookuplists.py
abstract = True
def __unicode__(self):
return self.name
def to_dict(self, user):
return self.name
... | """
OPAL Lookuplists
"""
from django.contrib.contenttypes.fields import GenericRelation
from django.db import models
class LookupList(models.Model):
name = models.CharField(max_length=255, unique=True)
synonyms = GenericRelation('opal.Synonym')
class Meta:
ordering = ['name']
abstract = Tr... | <|file_sep|>opal/core/lookuplists.py.diff
original:
# class LookupList(models.Model):
# class Meta:
# abstract = True
updated:
<|file_sep|>original/opal/core/lookuplists.py
abstract = True
def __unicode__(self):
return self.name
def to_dict(self, user):
return self.name
... | 312bb90415218398ddbe9250cfe7dbc4bb013e14 | opal/core/lookuplists.py | opal/core/lookuplists.py | Python |
<|file_sep|>bower.json.diff
original:
"angular": "~1.0.7",
updated:
"angular": "~1.2.0",
<|file_sep|>bower.json.diff
original:
"angular-resource": "~1.0.7",
"angular-cookies": "~1.0.7",
"angular-sanitize": "~1.0.7",
updated:
"angular-resource": "~1.2.0",
"angular-... | {
"name": "thin.gs",
"version": "0.0.1",
"dependencies": {
"angular": "~1.2.0",
"json3": "~3.2.4",
"es5-shim": "~2.0.8",
"angular-resource": "~1.2.0",
"angular-cookies": "~1.2.0",
"angular-sanitize": "~1.2.0",
"foundation": "~4.3.2"
},
"devDepe... | <|file_sep|>bower.json.diff
original:
"angular": "~1.0.7",
updated:
"angular": "~1.2.0",
<|file_sep|>bower.json.diff
original:
"angular-resource": "~1.0.7",
"angular-cookies": "~1.0.7",
"angular-sanitize": "~1.0.7",
updated:
"angular-resource": "~1.2.0",
"angular-... | 80fd1631586fd630dd49afc70b1682afc3ee5214 | bower.json | bower.json | JSON |
<|file_sep|>setup.py.diff
original:
updated:
readme_text = open("README.rst", "U").read()
<|file_sep|>setup.py.diff
original:
setup(name="spritemapper", version="0.5", url="http://yostudios.github.com/Spritemapper/",
updated:
setup(name="spritemapper", version="0.5",
url="http://yostudios.github.com/Spritemappe... | from setuptools import setup
readme_text = open("README.rst", "U").read()
cli_tools = ["spritemapper = spritecss.main:main"]
setup(name="spritemapper", version="0.5",
url="http://yostudios.github.com/Spritemapper/",
author="Yo Studios AB", author_email="opensource@yostudios.se",
description="A suit... | <|file_sep|>setup.py.diff
original:
updated:
readme_text = open("README.rst", "U").read()
<|file_sep|>setup.py.diff
original:
setup(name="spritemapper", version="0.5", url="http://yostudios.github.com/Spritemapper/",
updated:
setup(name="spritemapper", version="0.5",
url="http://yostudios.github.com/Spritemappe... | 89b5f2a7afaa5d8533500ab35dd418e996bd305d | setup.py | setup.py | Python |
<|file_sep|>original/meta/main.yml
license: MIT
# Use 2.0 due to the tor package requirements
min_ansible_version: 2.0
# Only tested with EL 7 and EL 6. No reason anything do
# not work anywhere else, just no time to test.
# I would welcome patches
platforms:
- name: EL
versions:
- 6
- 7
... | ---
galaxy_info:
author: Michael Scherer
description: Simple ansible role to manage httpd, used by others modules
company: Red Hat
license: MIT
# Use 2.0 due to the tor package requirements
min_ansible_version: 2.0
# Only tested with EL 7 and EL 6. No reason anything do
# not work anywhere else, just n... | <|file_sep|>original/meta/main.yml
license: MIT
# Use 2.0 due to the tor package requirements
min_ansible_version: 2.0
# Only tested with EL 7 and EL 6. No reason anything do
# not work anywhere else, just no time to test.
# I would welcome patches
platforms:
- name: EL
versions:
- 6
- 7
... | e0a020bfc968ab34766262a89e6a7adf905d2a1c | meta/main.yml | meta/main.yml | YAML |
<|file_sep|>original/examples/anomaly_detection.py
<|file_sep|>current/examples/anomaly_detection.py
<|file_sep|>updated/examples/anomaly_detection.py | import math
from peewee import *
db = SqliteDatabase(':memory:')
class Reg(Model):
key = TextField()
value = IntegerField()
class Meta:
database = db
db.create_tables([Reg])
# Create a user-defined aggregate function suitable for computing the standard
# deviation of a series.
@db.aggregate('... | <|file_sep|>original/examples/anomaly_detection.py
<|file_sep|>current/examples/anomaly_detection.py
<|file_sep|>updated/examples/anomaly_detection.py
import math
from peewee import *
db = SqliteDatabase(':memory:')
class Reg(Model):
key = TextField()
value = IntegerField()
class Meta:
databas... | d93916b1927f0ae099cee3cf93619d3113db147b | examples/anomaly_detection.py | examples/anomaly_detection.py | Python |
<|file_sep|>build.sbt.diff
original:
"org.scalatest" %% "scalatest" % "2.0" % "test",
"com.h2database" % "h2" % "1.3.175" % "test"
updated:
"org.scalatest" %% "scalatest" % "2.0" % "test",
"org.scalamock" %% "scalamock-scalatest-support" % "3.0.1" % "test",
"com.h2databa... |
// use "/lib" as manually managed library directory (NER tools *.jar files)
unmanagedBase := baseDirectory.value / "lib"
// testing dependencies
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.0" % "test",
"org.scalamock" %% "scalamock-scalatest-support" % "3.0.1" % "tes... | <|file_sep|>build.sbt.diff
original:
"org.scalatest" %% "scalatest" % "2.0" % "test",
"com.h2database" % "h2" % "1.3.175" % "test"
updated:
"org.scalatest" %% "scalatest" % "2.0" % "test",
"org.scalamock" %% "scalamock-scalatest-support" % "3.0.1" % "test",
"com.h2databa... | e1b651a055116b6876b8213150fc8073b1c8b139 | build.sbt | build.sbt | Scala |
<|file_sep|>packages/sa/satyros.yaml.diff
original:
hash: 3ae646ede93958ca74747327870281ee0df80054781a5dbea18d8d4d5fb78c0d
updated:
hash: a2204d51c461c7130c4b4db976c8f9f465d79b967e6f3a65b3ab72156abc414b
<|file_sep|>packages/sa/satyros.yaml.diff
original:
updated:
- 0.3.1.0
<|file_sep|>original/packages/sa/satyros.yaml... | extra: -any
base: '>=4.12 && <4.15'
containers: -any
lens: -any
mtl: -any
random: -any
vector: -any
all-versions:
- 0.1.0.0
- 0.1.0.1
- 0.2.0.0
- 0.2.1.0
- 0.2.2.0
- 0.2.2.1
- 0.3.0.0
- 0.3.1.0
author: Junyoung/Clare Jang
latest: 0.3.1.0
description-type: markdown
description: '# satyros'
license-name: MI... | <|file_sep|>packages/sa/satyros.yaml.diff
original:
hash: 3ae646ede93958ca74747327870281ee0df80054781a5dbea18d8d4d5fb78c0d
updated:
hash: a2204d51c461c7130c4b4db976c8f9f465d79b967e6f3a65b3ab72156abc414b
<|file_sep|>packages/sa/satyros.yaml.diff
original:
updated:
- 0.3.1.0
<|file_sep|>original/packages/sa/satyros.yaml... | 64267b04440ad5552ea0110dd6c1640e9bdd5bbe | packages/sa/satyros.yaml | packages/sa/satyros.yaml | YAML |
<|file_sep|>original/application.properties
#Grails Metadata file
#Tue Mar 03 14:09:30 CET 2015
app.grails.version=2.3.11
app.name=smartR
app.servlet.version=2.5
<|file_sep|>current/application.properties
#Grails Metadata file
#Tue Mar 03 14:09:30 CET 2015
app.grails.version=2.3.11
app.name=smartR
app.servlet.version=2... | #Grails Metadata file
#Tue Mar 03 14:09:30 CET 2015
app.grails.version=2.3.11
app.name=smart-r
app.servlet.version=2.5 | <|file_sep|>original/application.properties
#Grails Metadata file
#Tue Mar 03 14:09:30 CET 2015
app.grails.version=2.3.11
app.name=smartR
app.servlet.version=2.5
<|file_sep|>current/application.properties
#Grails Metadata file
#Tue Mar 03 14:09:30 CET 2015
app.grails.version=2.3.11
app.name=smartR
app.servlet.version=2... | d4ada28e0f37730935fd7cdd67c51ce9de117e1e | application.properties | application.properties | INI |
<|file_sep|>original/package.json
"main": "js/theme.js",
"version": "0.4.3",
"private": true,
"devDependencies": {
"bower": "^1.8.4",
"browserify": "^13.0.0",
"connect-livereload": "~0.6.0",
"grunt": "~1.0.1",
"grunt-banner": "^0.6.0",
"grunt-browserify": "^5.0.0",
"grunt-contrib-cle... | "main": "js/theme.js",
"version": "0.4.3",
"private": true,
"devDependencies": {
"bower": "^1.8.4",
"browserify": "^13.0.0",
"connect-livereload": "~0.6.0",
"grunt": "~1.0.1",
"grunt-banner": "^0.6.0",
"grunt-browserify": "^5.0.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-... | <|file_sep|>original/package.json
"main": "js/theme.js",
"version": "0.4.3",
"private": true,
"devDependencies": {
"bower": "^1.8.4",
"browserify": "^13.0.0",
"connect-livereload": "~0.6.0",
"grunt": "~1.0.1",
"grunt-banner": "^0.6.0",
"grunt-browserify": "^5.0.0",
"grunt-contrib-cle... | f34e0851ddcb9a8933734e70d6f4df06ea1035c3 | package.json | package.json | JSON |
<|file_sep|>original/packages/@sanity/desk-tool/sanity.json
"description": "Function that resolves the different panes in the desk tool"
},
{
"name": "style:desk-tool/styles",
"description": "Styling for the desk tool"
},
{
"implements": "config:desk-tool/pane-resolver",
... | "description": "Function that resolves the different panes in the desk tool"
},
{
"name": "style:desk-tool/styles",
"description": "Styling for the desk tool"
},
{
"implements": "config:desk-tool/pane-resolver",
"path": "SchemaPaneResolver.js"
},
{
"impleme... | <|file_sep|>original/packages/@sanity/desk-tool/sanity.json
"description": "Function that resolves the different panes in the desk tool"
},
{
"name": "style:desk-tool/styles",
"description": "Styling for the desk tool"
},
{
"implements": "config:desk-tool/pane-resolver",
... | 3a244bd80193d75d09001f32fcb3e69a3c6c4fa5 | packages/@sanity/desk-tool/sanity.json | packages/@sanity/desk-tool/sanity.json | JSON |
<|file_sep|>original/neovim/files/settings/keys.vim
nnoremap J <C-w>j
nnoremap K <C-w>k
nnoremap L <C-w>l
" Maximise
nnoremap <leader>_ <C-w>_
nnoremap <leader>\| <C-w>\|
nnoremap <leader>= <C-w>_<C-w>\|
" Tabs
" Tab navigation
nnoremap <C-h> :tabprevious<CR>
nnoremap <C-l> :tabnext<CR>
" Close tab
nnoremap <leader>... | " Maximise
nnoremap <leader>_ <C-w>_
nnoremap <leader>\| <C-w>\|
nnoremap <leader>= <C-w>_<C-w>\|
" Tabs
" Tab navigation
nnoremap <C-h> :tabprevious<CR>
nnoremap <C-l> :tabnext<CR>
" Close tab
nnoremap <leader>q :tabclose<CR>
" Search
" Unhighlight search
nnoremap <leader>h :nohl<CR>
" Command
" Repeat last comman... | <|file_sep|>original/neovim/files/settings/keys.vim
nnoremap J <C-w>j
nnoremap K <C-w>k
nnoremap L <C-w>l
" Maximise
nnoremap <leader>_ <C-w>_
nnoremap <leader>\| <C-w>\|
nnoremap <leader>= <C-w>_<C-w>\|
" Tabs
" Tab navigation
nnoremap <C-h> :tabprevious<CR>
nnoremap <C-l> :tabnext<CR>
" Close tab
nnoremap <leader>... | 8d54b3a1d510d0094cbc76862d98308fd056a924 | neovim/files/settings/keys.vim | neovim/files/settings/keys.vim | VimL |
<|file_sep|>package.json.diff
original:
"version": "1.0.0",
updated:
"version": "0.1.0",
<|file_sep|>original/package.json
{
"name": "radiodan-messaging-client",
"version": "1.0.0",
"description": "Companion messaging client for the radiodan broker",
"repository": {
"type": "git",
"url": "https://gi... | {
"name": "radiodan-messaging-client",
"version": "0.1.0",
"description": "Companion messaging client for the radiodan broker",
"repository": {
"type": "git",
"url": "https://github.com/radiodan/messaging-client.git"
},
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\"... | <|file_sep|>package.json.diff
original:
"version": "1.0.0",
updated:
"version": "0.1.0",
<|file_sep|>original/package.json
{
"name": "radiodan-messaging-client",
"version": "1.0.0",
"description": "Companion messaging client for the radiodan broker",
"repository": {
"type": "git",
"url": "https://gi... | 5c0840fe357707416cbaf3f21990786d9852223c | package.json | package.json | JSON |
<|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt | The MIT License (MIT)
Copyright (c) 2015 Paul Hitz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... | <|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt
The MIT License (MIT)
Copyright (c) 2015 Paul Hitz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Softwa... | 89ea71872005cbc20aa8da02c0e8992e3faaebdc | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>README.md.diff
original:
updated:
For Vim you'll want to install [Vundle] [7] and then the plugins:
mkdir -p ~/.vim/bundle/
cd $_
git clone https://github.com/VundleVim/Vundle.vim.git
vim +PluginInstall +qall
<|file_sep|>original/README.md
Personal dotfiles, [managed with GNU Stow] [1]. I... |
To install the dotfiles, install [GNU stow] [6] and run:
`stow bash curl git python screen system vim`
For Vim you'll want to install [Vundle] [7] and then the plugins:
mkdir -p ~/.vim/bundle/
cd $_
git clone https://github.com/VundleVim/Vundle.vim.git
vim +PluginInstall +qall
[1]: http://brandon.... | <|file_sep|>README.md.diff
original:
updated:
For Vim you'll want to install [Vundle] [7] and then the plugins:
mkdir -p ~/.vim/bundle/
cd $_
git clone https://github.com/VundleVim/Vundle.vim.git
vim +PluginInstall +qall
<|file_sep|>original/README.md
Personal dotfiles, [managed with GNU Stow] [1]. I... | a73711f2c49260a6d0e9454dec1aa69eebfbd1ee | README.md | README.md | Markdown |
<|file_sep|>original/src/skin/config.css
row {
-moz-box-align: center;
}
richlistitem {
-moz-box-align: center;
border-bottom: 1px dotted grey;
}
.webapp-icon {
width: 16px;
height: 16px;
margin: 5px;
}
richlistitem[dragpos=before] {
border-top: 2px solid black;
}
richlistitem[dragpos=after] {
borde... | row {
-moz-box-align: center;
}
richlistitem {
-moz-box-align: center;
border-bottom: 1px dotted grey;
border-top: 2px solid transparent;
}
.webapp-icon {
width: 16px;
height: 16px;
margin: 5px;
}
richlistitem[dragpos=before] {
border-top: 2px solid black;
}
richlistitem[dragpos=after] { | <|file_sep|>original/src/skin/config.css
row {
-moz-box-align: center;
}
richlistitem {
-moz-box-align: center;
border-bottom: 1px dotted grey;
}
.webapp-icon {
width: 16px;
height: 16px;
margin: 5px;
}
richlistitem[dragpos=before] {
border-top: 2px solid black;
}
richlistitem[dragpos=after] {
borde... | 5bab33d11d03822eb359fa23da9354c166987b8c | src/skin/config.css | src/skin/config.css | CSS |
<|file_sep|>original/cnn/getReg.py
<|file_sep|>current/cnn/getReg.py
<|file_sep|>updated/cnn/getReg.py | # Copyright (C) 2016 Zhixian MA <zxma_sjtu@qq.com>
"""
Transform cavities regions of samples selected from paper
arXiv-1610.03487.
Reference
---------
[1] J. Shin, J. Woo, and, J. Mulchaey
"A systematic search for X-ray cavities in galaxy clusters,
groups, and elliptical galaxies"
arXiv-1610.03487
"""
imp... | <|file_sep|>original/cnn/getReg.py
<|file_sep|>current/cnn/getReg.py
<|file_sep|>updated/cnn/getReg.py
# Copyright (C) 2016 Zhixian MA <zxma_sjtu@qq.com>
"""
Transform cavities regions of samples selected from paper
arXiv-1610.03487.
Reference
---------
[1] J. Shin, J. Woo, and, J. Mulchaey
"A systematic search... | ffebf307137d0435d7b2f0d10ac912ca7f87f1c7 | cnn/getReg.py | cnn/getReg.py | Python |
<|file_sep|>original/README.md
giab
====
Genie in a Bottle framework
<|file_sep|>current/README.md
giab
====
Genie in a Bottle framework
<|file_sep|>updated/README.md | giab
====
Genie in a Bottle Framework, it's a set of plugins on top of Bottle (Python Web Framework) and easy deploy with gunicorn+gevent
### TODO
* Config plugin
* JSON response API plugin
* REST controller plugin
* Websocket plugin
* Static and stream files plugin
* Peewee ORM plugin (PostgreSQL, MySQL, SQLite)
* ... | <|file_sep|>original/README.md
giab
====
Genie in a Bottle framework
<|file_sep|>current/README.md
giab
====
Genie in a Bottle framework
<|file_sep|>updated/README.md
giab
====
Genie in a Bottle Framework, it's a set of plugins on top of Bottle (Python Web Framework) and easy deploy with gunicorn+gevent
### TODO
*... | fdb10f6a50586b9467359546d52e3924c114e831 | README.md | README.md | Markdown |
<|file_sep|>original/articles/client-platforms/angular2/_includes/_dependencies.md
## Add the Dependencies
To integrate your Angular 2 application with Auth0, you will need to add the following two dependencies:
- [Lock Widget](https://github.com/auth0/lock) is the default authentication widget provided by Auth0.
... | ## Add the Dependencies
To integrate your Angular 2 application with Auth0, you will need to add the following two dependencies:
- [Lock Widget](https://github.com/auth0/lock) is the default authentication widget provided by Auth0.
From [npm](https://npmjs.org):
`npm install --save auth0-lock`
Or the Auth0 C... | <|file_sep|>original/articles/client-platforms/angular2/_includes/_dependencies.md
## Add the Dependencies
To integrate your Angular 2 application with Auth0, you will need to add the following two dependencies:
- [Lock Widget](https://github.com/auth0/lock) is the default authentication widget provided by Auth0.
... | e05c8c5a245ed65f082dce205f9f3a406c0e4873 | articles/client-platforms/angular2/_includes/_dependencies.md | articles/client-platforms/angular2/_includes/_dependencies.md | Markdown |
<|file_sep|>original/src/views/index.jade
doctype html
html(class="no-js", lang="")
head
meta(charset="utf-8")
meta(http-equiv="x-ua-compatible", content="ie=edge")
title= title
meta(name="description", description=description)
meta(name="viewport", content="width=device-width, initial-scale=1")
... | doctype html
html(class="no-js", lang="")
head
meta(charset="utf-8")
meta(http-equiv="x-ua-compatible", content="ie=edge")
title= title
meta(name="description", description=description)
meta(name="viewport", content="width=device-width, initial-scale=1")
link(rel="apple-touch-icon", href="appl... | <|file_sep|>original/src/views/index.jade
doctype html
html(class="no-js", lang="")
head
meta(charset="utf-8")
meta(http-equiv="x-ua-compatible", content="ie=edge")
title= title
meta(name="description", description=description)
meta(name="viewport", content="width=device-width, initial-scale=1")
... | a7277aa25120d8feaa8384e3bb4f157a7d150340 | src/views/index.jade | src/views/index.jade | Jade |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.