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/.travis.yml
dist: trusty
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- '6'
- '8'
- '10'
- '12'
- '14'
- '16'
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm
<|file_sep|>current/.travis.yml... | dist: trusty
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- '8'
- '10'
- '12'
- '14'
- '16'
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm | <|file_sep|>original/.travis.yml
dist: trusty
sudo: required
addons:
chrome: stable
language: node_js
node_js:
- '6'
- '8'
- '10'
- '12'
- '14'
- '16'
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm
<|file_sep|>current/.travis.yml... | 059dd9bfd1fdb22eed5aa05d2d49a95a19db95f8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# xurls
Extract urls from plain text using regular expressions.
go get github.com/mvdan/xurls
Example usage:
```go
package main
import "github.com/mvdan/xurls"
func main() {
xurls.Relaxed.FindString("Do gophers live in golang.org?")
// "golang.org"
xurls.Rel... | # xurls
Extract urls from plain text using regular expressions.
go get github.com/mvdan/xurls
Example usage:
```go
import "github.com/mvdan/xurls"
func main() {
xurls.Relaxed.FindString("Do gophers live in golang.org?")
// "golang.org"
xurls.Relaxed.FindAllString("foo.com is http://foo.com... | <|file_sep|>original/README.md
# xurls
Extract urls from plain text using regular expressions.
go get github.com/mvdan/xurls
Example usage:
```go
package main
import "github.com/mvdan/xurls"
func main() {
xurls.Relaxed.FindString("Do gophers live in golang.org?")
// "golang.org"
xurls.Rel... | 84f9986c046ad432c26ed66633e7cccb72d16127 | README.md | README.md | Markdown |
<|file_sep|>original/tox.ini
-rrequirements.txt
-rrequirements-testing.txt
-rrequirements-docs.txt
setenv =
TOXINIDIR = {toxinidir}
commands =
coverage run \
{envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:clarent}
coverage report --show-missing
coverage html --directory... | -rrequirements.txt
-rrequirements-testing.txt
-rrequirements-docs.txt
setenv =
TOXINIDIR = {toxinidir}
commands =
coverage run \
{envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:clarent}
coverage report --show-missing
coverage html --directory {envdir}/coverage
sphin... | <|file_sep|>original/tox.ini
-rrequirements.txt
-rrequirements-testing.txt
-rrequirements-docs.txt
setenv =
TOXINIDIR = {toxinidir}
commands =
coverage run \
{envdir}/bin/trial --temp-directory={envdir}/_trial {posargs:clarent}
coverage report --show-missing
coverage html --directory... | a9366cc26635cfe8cf319ad4590a9688947d8c8a | tox.ini | tox.ini | INI |
<|file_sep|>original/agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/BuildScanInitScriptTest.groovy
result
where:
jdkCompatibleGradleVersion << NOT_SUPPORTED_GRADLE_VERSIONS
}
def "sends build started service message even without declaring Build Scan / Gradle Enterprise plugin... | result
where:
jdkCompatibleGradleVersion << NOT_SUPPORTED_GRADLE_VERSIONS
}
def "sends build started service message even without declaring Build Scan / Gradle Enterprise plugin (#jdkCompatibleGradleVersion)"() {
assumeTrue jdkCompatibleGradleVersion.isJvmVersionCompatible()
... | <|file_sep|>original/agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/BuildScanInitScriptTest.groovy
result
where:
jdkCompatibleGradleVersion << NOT_SUPPORTED_GRADLE_VERSIONS
}
def "sends build started service message even without declaring Build Scan / Gradle Enterprise plugin... | 0ed7602f5d22d0f124d3e4c9fa91edbd91eaa2da | agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/BuildScanInitScriptTest.groovy | agent/src/test/groovy/nu/studer/teamcity/buildscan/agent/BuildScanInitScriptTest.groovy | Groovy |
<|file_sep|>original/composer.json
{
"name": "domenypl/symfony1-legacy",
"type": "library",
"description": "symfony1-legacy is the unofficial Git mirror for symfony 1.0.22 with Domeny.pl (http://domeny.pl) modifications.",
"keywords": ["symfony1"],
"homepage": "https://github.com/domenypl/symfony1-l... | {
"name": "domenypl/symfony1-legacy",
"type": "library",
"description": "symfony1-legacy is the unofficial Git mirror for symfony 1.0.22 with Domeny.pl (http://domeny.pl) modifications.",
"keywords": ["symfony1"],
"homepage": "https://github.com/domenypl/symfony1-legacy.git",
"minimum-stability"... | <|file_sep|>original/composer.json
{
"name": "domenypl/symfony1-legacy",
"type": "library",
"description": "symfony1-legacy is the unofficial Git mirror for symfony 1.0.22 with Domeny.pl (http://domeny.pl) modifications.",
"keywords": ["symfony1"],
"homepage": "https://github.com/domenypl/symfony1-l... | 2f4981acba70cd19e35b16815fa32644b98f1c21 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.6
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.2
alabaster==0.7.9
asciimatics==1.7.1
requests==2.11.1
click==6.6
pytest-cov==2.3.1
coveralls==1.1
<|file_sep|>current/r... | pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.9.1
coverage==4.2
Sphinx==1.4.6
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.2
alabaster==0.7.9
asciimatics==1.7.1
requests==2.11.1
click==6.6
pytest-cov==2.3.1
coveralls==1.1 | <|file_sep|>original/requirements_dev.txt
pip==8.1.2
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.3.1
coverage==4.2
Sphinx==1.4.6
cryptography==1.5.2
PyYAML==3.12
pytest==3.0.2
alabaster==0.7.9
asciimatics==1.7.1
requests==2.11.1
click==6.6
pytest-cov==2.3.1
coveralls==1.1
<|file_sep|>current/r... | dbc7dc45056271c5feeee5240f0e95a240546175 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/etc/php.ini
; Set base mimetype. `text/html` is default.
default_mimetype = "text/html"
; Set base charset. `utf-8` is recommended.
default_charset = "utf-8"
;
; File uploads
;
; Disallow HTTP file uploads. Not everone has huge storage. If you have,
; you can enable it.
file_uploads = off
;
; ... |
; Set base charset. `utf-8` is recommended.
default_charset = "utf-8"
;
; File uploads
;
; Disallow HTTP file uploads. Not everone has huge storage. If you have,
; you can enable it.
file_uploads = off
; Set max upload file size (if you have enabled `file_uploads`).
; upload_max_filesize = 5M
;
; Extensions
;
; `... | <|file_sep|>original/etc/php.ini
; Set base mimetype. `text/html` is default.
default_mimetype = "text/html"
; Set base charset. `utf-8` is recommended.
default_charset = "utf-8"
;
; File uploads
;
; Disallow HTTP file uploads. Not everone has huge storage. If you have,
; you can enable it.
file_uploads = off
;
; ... | 0cdf45bdf6c7c59e4c8bb0018d75d4e216a2b099 | etc/php.ini | etc/php.ini | INI |
<|file_sep|>spec/spec_helper.rb.diff
original:
gem 'rspec', '>1.1.12'
require 'spec'
updated:
<|file_sep|>spec/spec_helper.rb.diff
original:
ROOT = Pathname(__FILE__).dirname.parent.expand_path
updated:
ROOT = Pathname(__FILE__).dirname.parent
<|file_sep|>spec/spec_helper.rb.diff
original:
lib = ROOT.parent.join('dm-... | # use local dm-types if running from dm-more directly
lib = ROOT.parent / 'dm-validations' / 'lib'
$LOAD_PATH.unshift(lib) if lib.directory?
begin
require 'dm-validations'
rescue LoadError
# do nothing
end
require ROOT / 'lib' / 'dm-timestamps'
def load_driver(name, default_uri)
return false if ENV['ADAPTER'] ... | <|file_sep|>spec/spec_helper.rb.diff
original:
gem 'rspec', '>1.1.12'
require 'spec'
updated:
<|file_sep|>spec/spec_helper.rb.diff
original:
ROOT = Pathname(__FILE__).dirname.parent.expand_path
updated:
ROOT = Pathname(__FILE__).dirname.parent
<|file_sep|>spec/spec_helper.rb.diff
original:
lib = ROOT.parent.join('dm-... | 6b01fc1fce68360d08388c2f09b8d411a35417a3 | spec/spec_helper.rb | spec/spec_helper.rb | Ruby |
<|file_sep|>original/js/tasks/robots/BurndownRobot.js
this._onProjectsChange = function(mutation) {
if (mutation.add) {
var projectId = mutation.add
var taskSet = fin.getItemSet({ type: 'task', status: 'incomplete', project: projectId })
taskSet.reduce({ sum: 'estimated_time' }, bind(this, '_onRema... |
this._onProjectsChange = function(mutation) {
if (mutation.add) {
var projectId = mutation.add
var taskSet = fin.getItemSet({ type: 'task', status: 'incomplete', project: projectId })
taskSet.reduce({ sum: 'estimated_time' }, bind(this, '_onRemainingTimeChange', projectId))
}
if (mutation.re... | <|file_sep|>original/js/tasks/robots/BurndownRobot.js
this._onProjectsChange = function(mutation) {
if (mutation.add) {
var projectId = mutation.add
var taskSet = fin.getItemSet({ type: 'task', status: 'incomplete', project: projectId })
taskSet.reduce({ sum: 'estimated_time' }, bind(this, '_onRema... | f52737d18e552b00abb56ee56340e248168935a5 | js/tasks/robots/BurndownRobot.js | js/tasks/robots/BurndownRobot.js | JavaScript |
<|file_sep|>original/setup.py
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(name='deploymentmanager',
version='0.1',
description='Eucalyptus Deployment and Configuration Management tools',
url='https://github.com/eucalyptus/DeploymentM... | from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(name='deploymentmanager',
version='0.1',
description='Eucalyptus Deployment and Configuration Management tools',
url='https://github.com/eucalyptus/DeploymentManager.git',
license='Ap... | <|file_sep|>original/setup.py
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(name='deploymentmanager',
version='0.1',
description='Eucalyptus Deployment and Configuration Management tools',
url='https://github.com/eucalyptus/DeploymentM... | 1a12f250088d92544a277e3d683dc397687a4188 | setup.py | setup.py | Python |
<|file_sep|>Project.Data/ProjectContext.cs.diff
original:
using System;
using Microsoft.AspNet.Identity.EntityFramework;
updated:
using Microsoft.AspNet.Identity.EntityFramework;
<|file_sep|>original/Project.Data/ProjectContext.cs
public ProjectContext() : base("ProjectContext") { }
public DbSet<Gadg... | public DbSet<Gadget> Gadgets { get; set; }
public DbSet<Category> Categories { get; set; }
public virtual void Commit()
{
base.SaveChanges();
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(mo... | <|file_sep|>Project.Data/ProjectContext.cs.diff
original:
using System;
using Microsoft.AspNet.Identity.EntityFramework;
updated:
using Microsoft.AspNet.Identity.EntityFramework;
<|file_sep|>original/Project.Data/ProjectContext.cs
public ProjectContext() : base("ProjectContext") { }
public DbSet<Gadg... | 56d258e2915e3c1a97d6397aca90171f590c8f17 | Project.Data/ProjectContext.cs | Project.Data/ProjectContext.cs | C# |
<|file_sep|>original/scripts/vim-plugin-update.sh
<|file_sep|>current/scripts/vim-plugin-update.sh
<|file_sep|>updated/scripts/vim-plugin-update.sh | #!/bin/bash
plugins=(
vim-airline/vim-airline
easymotion/vim-easymotion
terryma/vim-expand-region
tpope/vim-fugitive
scrooloose/nerdcommenter
Raimondi/delimitMate
garbas/vim-snipmate
scrooloose/syntastic
mattn/emmet-vim
sukima/xmledit
skammer/vim-css-color
kchmck/vim-coffee-script
)
print-help() {
cat <... | <|file_sep|>original/scripts/vim-plugin-update.sh
<|file_sep|>current/scripts/vim-plugin-update.sh
<|file_sep|>updated/scripts/vim-plugin-update.sh
#!/bin/bash
plugins=(
vim-airline/vim-airline
easymotion/vim-easymotion
terryma/vim-expand-region
tpope/vim-fugitive
scrooloose/nerdcommenter
Raimondi/delimitMate
... | 432e0ea0d9c5a938f3887a9cf1d636eadc70c02e | scripts/vim-plugin-update.sh | scripts/vim-plugin-update.sh | Shell |
<|file_sep|>packages/am/amrun.yaml.diff
original:
hash: aa45956d66e8b64d57b42f33753688e028e9b44d992d99cc06514aa4150d639d
updated:
hash: a8e2fda769004d057891c8259f8cdce8ff2949ab739a337db57da380a0bd6fd1
<|file_sep|>packages/am/amrun.yaml.diff
original:
updated:
- 0.0.0.7
<|file_sep|>original/packages/am/amrun.yaml
synop... | changelog: ''
basic-deps:
base: ! '>=3 && <5'
parsec: ! '>=3.0 && <3.2'
deepseq: ! '>=1.0 && <1.5'
all-versions:
- '0.0'
- 0.0.0.1
- 0.0.0.2
- 0.0.0.3
- 0.0.0.4
- 0.0.0.5
- 0.0.0.6
- 0.0.0.7
author: Daniel Seidel and Janis Voigtlaender
latest: 0.0.0.7
description-type: haddock
description: The package contains an... | <|file_sep|>packages/am/amrun.yaml.diff
original:
hash: aa45956d66e8b64d57b42f33753688e028e9b44d992d99cc06514aa4150d639d
updated:
hash: a8e2fda769004d057891c8259f8cdce8ff2949ab739a337db57da380a0bd6fd1
<|file_sep|>packages/am/amrun.yaml.diff
original:
updated:
- 0.0.0.7
<|file_sep|>original/packages/am/amrun.yaml
synop... | 485dd0a59da089b5c85fb35977fd241498da3239 | packages/am/amrun.yaml | packages/am/amrun.yaml | YAML |
<|file_sep|>original/org/gemoc/gemoc_studio/documentation/workflow/fr.obeo.dsl.workflow.editor/plugin.xml
<wizard
id="fr.obeo.dsl.workflow.presentation.WorkflowModelWizardID"
name="%_UI_WorkflowModelWizard_label"
class="fr.obeo.dsl.workflow.presentation.WorkflowModelWizard"
... | <wizard
id="fr.obeo.dsl.workflow.presentation.WorkflowModelWizardID"
name="%_UI_WorkflowModelWizard_label"
class="fr.obeo.dsl.workflow.presentation.WorkflowModelWizard"
category="org.eclipse.emf.ecore.Wizard.category.ID"
icon="icons/full/obj16/WorkflowMo... | <|file_sep|>original/org/gemoc/gemoc_studio/documentation/workflow/fr.obeo.dsl.workflow.editor/plugin.xml
<wizard
id="fr.obeo.dsl.workflow.presentation.WorkflowModelWizardID"
name="%_UI_WorkflowModelWizard_label"
class="fr.obeo.dsl.workflow.presentation.WorkflowModelWizard"
... | 37eac6c2ba8cf7a91ac9e1c2d81631d815bb454d | org/gemoc/gemoc_studio/documentation/workflow/fr.obeo.dsl.workflow.editor/plugin.xml | org/gemoc/gemoc_studio/documentation/workflow/fr.obeo.dsl.workflow.editor/plugin.xml | XML |
<|file_sep|>runserver.py.diff
original:
updated:
DEBUG = bool(os.environ.get('PORT', True))
<|file_sep|>original/runserver.py
import os
from mmmpaste import app
# Get the port from the enviroment or fall back to the default.
PORT = int(os.environ.get('PORT', 5000))
app.run(debug = True, port = PORT)
<|file_sep|>cur... | import os
from mmmpaste import app
# Get the port from the enviroment or fall back to the default.
PORT = int(os.environ.get('PORT', 5000))
DEBUG = bool(os.environ.get('PORT', True))
app.run(debug = DEBUG, port = PORT) | <|file_sep|>runserver.py.diff
original:
updated:
DEBUG = bool(os.environ.get('PORT', True))
<|file_sep|>original/runserver.py
import os
from mmmpaste import app
# Get the port from the enviroment or fall back to the default.
PORT = int(os.environ.get('PORT', 5000))
app.run(debug = True, port = PORT)
<|file_sep|>cur... | 8ffdd3127d6226815b508bd10ccd84eec22e6d1c | runserver.py | runserver.py | Python |
<|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
<|file_sep|>original/.travis.yml
sudo: false
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
services:
- mongodb
install:
- pip install -r test_requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
script:
<... | sudo: false
language: python
python:
- "3.5"
- "3.6"
# - "3.7"
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true
services:
- mongodb
install:
- pip install -r test_requirements.txt
before_script: | <|file_sep|>.travis.yml.diff
original:
dist: xenial
updated:
<|file_sep|>original/.travis.yml
sudo: false
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
services:
- mongodb
install:
- pip install -r test_requirements.txt
before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
script:
<... | 8a44fe299aad4f628a89f55eca5f061caa5c58f0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/mainwindow.cpp
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
<|file_sep|>current/mainwindow.cpp
#include "mainwindow.h"
... | #include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
setWindowTitle("CRC Calculator ver " + QString::number(MAJOR_VERSION) + '.' + QString::number(MINOR_VERSION));
}
MainWindow::~MainWindow()
{
delete ui;
} | <|file_sep|>original/mainwindow.cpp
#include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
<|file_sep|>current/mainwindow.cpp
#include "mainwindow.h"
... | 83f4c981491580d3c3efc82e8d251424ab49d98a | mainwindow.cpp | mainwindow.cpp | C++ |
<|file_sep|>original/src/main/scala/com/choonster/testmod3/scala/TestMod3Scala.scala
@Mod(modid = TestMod3Scala.MODID, version = TestMod3Scala.VERSION, modLanguage = "scala")
object TestMod3Scala {
final val MODID = "testmod3scala"
final val VERSION = "1.0"
@SidedProxy(clientSide = "com.choonster.testmod3.scala... |
@Mod(modid = TestMod3Scala.MODID, version = TestMod3Scala.VERSION, modLanguage = "scala")
object TestMod3Scala {
final val MODID = "testmod3scala"
final val VERSION = "1.0"
@SidedProxy(clientSide = "com.choonster.testmod3.scala.proxy.CombinedClientProxy", serverSide = "com.choonster.testmod3.scala.proxy.Dedicat... | <|file_sep|>original/src/main/scala/com/choonster/testmod3/scala/TestMod3Scala.scala
@Mod(modid = TestMod3Scala.MODID, version = TestMod3Scala.VERSION, modLanguage = "scala")
object TestMod3Scala {
final val MODID = "testmod3scala"
final val VERSION = "1.0"
@SidedProxy(clientSide = "com.choonster.testmod3.scala... | 8f159b43b9427f963e621eb833b05f5cb155abc4 | src/main/scala/com/choonster/testmod3/scala/TestMod3Scala.scala | src/main/scala/com/choonster/testmod3/scala/TestMod3Scala.scala | Scala |
<|file_sep|>original/assemblies/features/framework/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the... | # this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licen... | <|file_sep|>original/assemblies/features/framework/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the... | a8798dff1fd2ed197dce00b1ce9bc0e5cab68c78 | assemblies/features/framework/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg | assemblies/features/framework/src/main/resources/resources/etc/org.apache.felix.fileinstall-deploy.cfg | INI |
<|file_sep|>clear_postgres_tables.sql.diff
original:
truncate table synth_ma.synth_cousub_stats;
truncate table synth_ma.synth_county_stats;
truncate table synth_ma.synth_cousub_facts;
truncate table synth_ma.synth_county_facts;
updated:
truncate table synth_ma.synth_condition_facts;
truncate table synth_ma.synth_disea... | /*
truncate table synth_ma.synth_condition_facts;
truncate table synth_ma.synth_disease_fact;
truncate table synth_ma.synth_pop_facts;
*/
| <|file_sep|>clear_postgres_tables.sql.diff
original:
truncate table synth_ma.synth_cousub_stats;
truncate table synth_ma.synth_county_stats;
truncate table synth_ma.synth_cousub_facts;
truncate table synth_ma.synth_county_facts;
updated:
truncate table synth_ma.synth_condition_facts;
truncate table synth_ma.synth_disea... | 73c2bcd539716cc23fa0e5c8d3a09293f2db26fe | clear_postgres_tables.sql | clear_postgres_tables.sql | SQL |
<|file_sep|>layout-octavo.lua.diff
original:
local book = SILE.require("classes/book");
updated:
local class = SILE.documentState.documentClass
<|file_sep|>layout-octavo.lua.diff
original:
book:loadPackage("masters")
book:defineMaster({ id = "right", firstContentFrame = "content", frames = {
content = { left = "22.5m... | left = "left(content)",
right = "right(content)",
top = "top(content)-8mm",
bottom = "top(content)-2mm"
},
footnotes = {
left = "left(content)",
right = "right(content)",
height = "0",
bottom = "100%ph-15mm"
}
}
})
class:mirrorMaste... | <|file_sep|>layout-octavo.lua.diff
original:
local book = SILE.require("classes/book");
updated:
local class = SILE.documentState.documentClass
<|file_sep|>layout-octavo.lua.diff
original:
book:loadPackage("masters")
book:defineMaster({ id = "right", firstContentFrame = "content", frames = {
content = { left = "22.5m... | c90af74489b0f9f81afe6a8790e8a6496a50cca1 | layout-octavo.lua | layout-octavo.lua | Lua |
<|file_sep|>.travis.yml.diff
original:
- stable
updated:
- "10"
- "8"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- stable
- "6"
- "4"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
- "4"
script:
- npm test
<|file_sep|>updated/.tr... | language: node_js
node_js:
- "10"
- "8"
- "6"
script:
- npm test | <|file_sep|>.travis.yml.diff
original:
- stable
updated:
- "10"
- "8"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- stable
- "6"
- "4"
script:
- npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "10"
- "8"
- "6"
- "4"
script:
- npm test
<|file_sep|>updated/.tr... | bb8786e47a78e9db4e27c609a82aa9c3745b11e4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>plugins/globalias/README.md.diff
original:
#Globalias
updated:
# Globalias plugin
<|file_sep|>plugins/globalias/README.md.diff
original:
updated:
Expands all glob expressions, subcommands and aliases (including global).
<|file_sep|>plugins/globalias/README.md.diff
original:
Expands all globes, backtick exp... |
#### Aliases
```
# .zshrc:
alias -g G="| grep --color=auto -P"
alias l='ls --color=auto -lah'
$ l<space>G<space>
# expands to
$ ls --color=auto -lah | grep --color=auto -P
```
```
# .zsrc:
alias S="sudo systemctl"
$ S<space>
# expands to:
$ sudo systemctl
``` | <|file_sep|>plugins/globalias/README.md.diff
original:
#Globalias
updated:
# Globalias plugin
<|file_sep|>plugins/globalias/README.md.diff
original:
updated:
Expands all glob expressions, subcommands and aliases (including global).
<|file_sep|>plugins/globalias/README.md.diff
original:
Expands all globes, backtick exp... | f701b4de0fb55b71e2cfb17522a08fba741ff170 | plugins/globalias/README.md | plugins/globalias/README.md | Markdown |
<|file_sep|>src/manifest.json.diff
original:
"version": "4.0.3",
updated:
"version": "4.1.0",
<|file_sep|>original/src/manifest.json
{
"name": "Web Maker",
"version": "4.0.3",
"manifest_version": 2,
"description": "Blazing fast & offline playground for your web experiments",
"homepage_url": "https://webmaker.app... | {
"name": "Web Maker",
"version": "4.1.0",
"manifest_version": 2,
"description": "Blazing fast & offline playground for your web experiments",
"homepage_url": "https://webmaker.app",
"permissions": ["storage", "tabs", "<all_urls>"],
"optional_permissions": ["downloads"],
"content_security_policy": "script-src '... | <|file_sep|>src/manifest.json.diff
original:
"version": "4.0.3",
updated:
"version": "4.1.0",
<|file_sep|>original/src/manifest.json
{
"name": "Web Maker",
"version": "4.0.3",
"manifest_version": 2,
"description": "Blazing fast & offline playground for your web experiments",
"homepage_url": "https://webmaker.app... | 3b6c5a781eda128fb6acc3f9954d7c4f0f8606a6 | src/manifest.json | src/manifest.json | JSON |
<|file_sep|>original/app/models/pull_request_downloader.rb
@pull_requests ||= download_pull_requests
end
private
def github_client
@github_client ||= Octokit::Client.new(:login => login, :access_token => oauth_token, :auto_paginate => true)
end
def download_pull_requests
begin
events = git... | @pull_requests ||= download_pull_requests
end
private
def github_client
@github_client ||= Octokit::Client.new(:login => login, :access_token => oauth_token, :auto_paginate => true)
end
def download_pull_requests
begin
events = Octokit.user_events(login)
events.select do |e|
... | <|file_sep|>original/app/models/pull_request_downloader.rb
@pull_requests ||= download_pull_requests
end
private
def github_client
@github_client ||= Octokit::Client.new(:login => login, :access_token => oauth_token, :auto_paginate => true)
end
def download_pull_requests
begin
events = git... | 9c4f0aa3c4b1c1e4523c5a414decf15c6ce2ad2e | app/models/pull_request_downloader.rb | app/models/pull_request_downloader.rb | Ruby |
<|file_sep|>original/app/views/admin/users/projects.html.haml
.module
= form_tag(projects_admin_user_path, :method => 'post') do
%table
%thead
%th
= t(:client)
= link_to_function("[+/-]", nil, :id => "show_hide")
%th= t(:project)
%th= t(:developer_role)
%... | .module
= form_tag(projects_admin_user_path, :method => 'post') do
%table
%thead
%th
= t(:client)
= link_to_function("[+/-]", nil, :id => "show_hide")
%th= t(:project)
%th= t(:developer_role)
%th= t(:client_role)
%th= t(:no_roles)
- Client.s... | <|file_sep|>original/app/views/admin/users/projects.html.haml
.module
= form_tag(projects_admin_user_path, :method => 'post') do
%table
%thead
%th
= t(:client)
= link_to_function("[+/-]", nil, :id => "show_hide")
%th= t(:project)
%th= t(:developer_role)
%... | 78808d947b8aaac6d81c4bb65d95ec8f0a85a40e | app/views/admin/users/projects.html.haml | app/views/admin/users/projects.html.haml | Haml |
<|file_sep|>original/README.md
FastLeafDecay
=============
A simple Minecraft mod that speeds up leaf decay after you cut down the wood in a tree.
## Download
Download the source code from right here, or get the jar version at http://www.keijsers.org/minecraft/FastLeafDecay-1.7.10-1.0.jar
## Requirements
* Minecraft ... | FastLeafDecay
=============
A simple Minecraft mod that speeds up leaf decay after you cut down the wood in a tree.
## Download
Download the source code from right here, or [get the jar version here](http://bit.ly/fastleafdecay10).
## Requirements
* Minecraft 1.7.10
* [Minecraft Forge](http://files.minecraftforge.net... | <|file_sep|>original/README.md
FastLeafDecay
=============
A simple Minecraft mod that speeds up leaf decay after you cut down the wood in a tree.
## Download
Download the source code from right here, or get the jar version at http://www.keijsers.org/minecraft/FastLeafDecay-1.7.10-1.0.jar
## Requirements
* Minecraft ... | 64d3c38c08385659ce488323abd945d4226a667b | README.md | README.md | Markdown |
<|file_sep|>lib/rubygems/comparator/dir_utils.rb.diff
original:
module DirUtils
SHEBANG_REGEX = /\A#!.*/
updated:
class Gem::Comparator
module DirUtils
SHEBANG_REGEX = /\A#!.*/
<|file_sep|>lib/rubygems/comparator/dir_utils.rb.diff
original:
attr_accessor :files_first_line
updated:
attr_accessor :files_fir... |
def self.dirs_of_files(file_list)
dirs_of_files = []
file_list.each do |file|
unless Pathname.new(file).dirname.to_s == '.'
dirs_of_files << "#{Pathname.new(file).dirname.to_s}/"
else
dirs_of_files << file
end
end
dirs_of_files.uniq
end
d... | <|file_sep|>lib/rubygems/comparator/dir_utils.rb.diff
original:
module DirUtils
SHEBANG_REGEX = /\A#!.*/
updated:
class Gem::Comparator
module DirUtils
SHEBANG_REGEX = /\A#!.*/
<|file_sep|>lib/rubygems/comparator/dir_utils.rb.diff
original:
attr_accessor :files_first_line
updated:
attr_accessor :files_fir... | dbe9365712c47bcc6958072e658c9ed2efaf272d | lib/rubygems/comparator/dir_utils.rb | lib/rubygems/comparator/dir_utils.rb | Ruby |
<|file_sep|>original/static/js/common.ts
/// <reference path="./typings/index.d.ts"/>
requirejs.config({
"baseUrl": "/js/",
"paths": {
"bootstrap": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min",
"chartjs": "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.... | requirejs.config({
"baseUrl": "/js/",
"paths": {
"bootstrap": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min",
"chartjs": "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.6/Chart.min",
"es6-shim": "https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35... | <|file_sep|>original/static/js/common.ts
/// <reference path="./typings/index.d.ts"/>
requirejs.config({
"baseUrl": "/js/",
"paths": {
"bootstrap": "https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min",
"chartjs": "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.1.... | 9fcd52394dd4478df3506c49587aedf646403fbd | static/js/common.ts | static/js/common.ts | TypeScript |
<|file_sep|>original/anchore_engine/clients/syft_wrapper.py
import os
import shlex
from anchore_engine.utils import run_check
def run_syft(image):
proc_env = os.environ.copy()
syft_env = {
"SYFT_CHECK_FOR_APP_UPDATE": "0",
"SYFT_LOG_STRUCTURED": "1",
}
proc_env.update(syft_env)
... | import os
import shlex
from anchore_engine.utils import run_check
def run_syft(image):
proc_env = os.environ.copy()
syft_env = {
"SYFT_CHECK_FOR_APP_UPDATE": "0",
"SYFT_LOG_STRUCTURED": "1",
}
proc_env.update(syft_env)
cmd = "syft -vv -o json oci-dir:{image}".format(image=image... | <|file_sep|>original/anchore_engine/clients/syft_wrapper.py
import os
import shlex
from anchore_engine.utils import run_check
def run_syft(image):
proc_env = os.environ.copy()
syft_env = {
"SYFT_CHECK_FOR_APP_UPDATE": "0",
"SYFT_LOG_STRUCTURED": "1",
}
proc_env.update(syft_env)
... | 749219a1282a347133ba73127ed7cc8d8009897d | anchore_engine/clients/syft_wrapper.py | anchore_engine/clients/syft_wrapper.py | Python |
<|file_sep|>original/timeline.html
<head><title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-... | <head><title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" ... | <|file_sep|>original/timeline.html
<head><title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-status-bar-... | aaa4baa0cc06e0b0a216e5248218ff8638d73433 | timeline.html | timeline.html | HTML |
<|file_sep|>original/backend/app/controllers/spree/admin/tax_rates_controller.rb
update.after :update_after
create.after :create_after
private
def load_data
@available_zones = Zone.order(:name)
@available_categories = TaxCategory.order(:name)
@calculators = TaxRate.calc... | module Spree
module Admin
class TaxRatesController < ResourceController
before_filter :load_data
update.after :update_after
create.after :create_after
private
def load_data
@available_zones = Zone.order(:name)
@available_categories = TaxCategory.order(:name)
... | <|file_sep|>original/backend/app/controllers/spree/admin/tax_rates_controller.rb
update.after :update_after
create.after :create_after
private
def load_data
@available_zones = Zone.order(:name)
@available_categories = TaxCategory.order(:name)
@calculators = TaxRate.calc... | 4f2e136b46dbe277eb29a06c74c1cef4877a32c3 | backend/app/controllers/spree/admin/tax_rates_controller.rb | backend/app/controllers/spree/admin/tax_rates_controller.rb | Ruby |
<|file_sep|>original/requirements.txt
cairocffi==1.0.2; python_version>='3.5'
hiredis==1.0.0
mysqlclient==1.4.2.post1
psycopg2==2.7.7; platform_python_implementation=='CPython'
# https://github.com/chtd/psycopg2cffi/issues/95
psycopg2cffi==2.8.1
python_axolotl_curve25519==0.4.1.post2
PyStemmer==1.3.0; platform_python_i... | cairocffi==1.0.2; python_version>='3.5'
hiredis==1.0.0
mysqlclient==1.4.2.post1
psycopg2==2.7.7; platform_python_implementation=='CPython'
# https://github.com/chtd/psycopg2cffi/issues/95
psycopg2cffi==2.8.1
python_axolotl_curve25519==0.4.1.post2
PyStemmer==1.3.0; platform_python_implementation=='CPython' and python_ve... | <|file_sep|>original/requirements.txt
cairocffi==1.0.2; python_version>='3.5'
hiredis==1.0.0
mysqlclient==1.4.2.post1
psycopg2==2.7.7; platform_python_implementation=='CPython'
# https://github.com/chtd/psycopg2cffi/issues/95
psycopg2cffi==2.8.1
python_axolotl_curve25519==0.4.1.post2
PyStemmer==1.3.0; platform_python_i... | e7111db23c4b76323ee6fce445094c7f17610899 | requirements.txt | requirements.txt | Text |
<|file_sep|>include/platform/compiler/msvc.h.diff
original:
#define UNUSED __pragma(warning(disable:4100))
updated:
<|file_sep|>original/include/platform/compiler/msvc.h
# undef unlikely
#endif
#ifdef alignment
# undef alignment
#endif
#define UNUSED __pragma(warning(disable:4100))
#define unlikely(x) (x)
#define lik... | # undef unlikely
#endif
#ifdef alignment
# undef alignment
#endif
#define unlikely(x) (x)
#define likely(x) (x)
#define alignment(x) __declspec(align(x))
#if (_MSC_VER >= 1300)
# define UNUSED __pragma(warning(disable:4100))
#else
# define UNUSED
#endif
#if (_MSC_VER >= 1400)
# define restrict __restrict
#else
# def... | <|file_sep|>include/platform/compiler/msvc.h.diff
original:
#define UNUSED __pragma(warning(disable:4100))
updated:
<|file_sep|>original/include/platform/compiler/msvc.h
# undef unlikely
#endif
#ifdef alignment
# undef alignment
#endif
#define UNUSED __pragma(warning(disable:4100))
#define unlikely(x) (x)
#define lik... | 7a15de88ba3e92564b3b7bdf6ab6ea6fd246de44 | include/platform/compiler/msvc.h | include/platform/compiler/msvc.h | C |
<|file_sep|>original/requirements-dev.txt
-r requirements-docs.txt
-r requirements-test.txt
black==22.6.0
Flask-DebugToolbar==0.13.1
flask-shell-ipython==0.4.1
mypy==0.971
sqlalchemy2-stubs==0.0.2a22
types-freezegun==1.1.9
<|file_sep|>current/requirements-dev.txt
-r requirements-docs.txt
-r requirements-test.txt
black=... | -r requirements-docs.txt
-r requirements-test.txt
black==22.6.0
Flask-DebugToolbar==0.13.1
flask-shell-ipython==0.4.1
mypy==0.971
sqlalchemy2-stubs==0.0.2a22
types-freezegun==1.1.10 | <|file_sep|>original/requirements-dev.txt
-r requirements-docs.txt
-r requirements-test.txt
black==22.6.0
Flask-DebugToolbar==0.13.1
flask-shell-ipython==0.4.1
mypy==0.971
sqlalchemy2-stubs==0.0.2a22
types-freezegun==1.1.9
<|file_sep|>current/requirements-dev.txt
-r requirements-docs.txt
-r requirements-test.txt
black=... | df1dce9f6de8529495a8d1a4746f3a0c491a4e8a | requirements-dev.txt | requirements-dev.txt | Text |
<|file_sep|>client/components/timed.js.diff
original:
this.createData();
updated:
<|file_sep|>client/components/timed.js.diff
original:
updated:
this.createData();
<|file_sep|>original/client/components/timed.js
this.workout = [];
//addWorkout() create a template of named workout
this.addWorkout = funct... | obj.sets = '';
obj.reps = '';
this.workout.push(obj);
};
//addTemplate add template to the database.
this.sendTemplate = function() {
this.createData();
console.log('Send present workout to the database via http services',this.data);
};
this.createData = function() {
this.data.userI... | <|file_sep|>client/components/timed.js.diff
original:
this.createData();
updated:
<|file_sep|>client/components/timed.js.diff
original:
updated:
this.createData();
<|file_sep|>original/client/components/timed.js
this.workout = [];
//addWorkout() create a template of named workout
this.addWorkout = funct... | e3ab4b78608aa380fead9b7d01c5e36fec789835 | client/components/timed.js | client/components/timed.js | JavaScript |
<|file_sep|>original/VERSION.md
# Version History
# 0.0.3
* build tool can generate one file from a template and a source file
# 0.0.2
* created stub mdwebsite python script
* check arguments passed to script
# 0.0.1
* created git repository
* updated README file
* created VERSION file
<|file_sep|>current/VERSION... | # Version History
# 0.0.3
* build tool can generate one file from a template and a source file
* switched to python3 for markdown support
* added markdown
* converted html snippet file to markdown with meta header
# 0.0.2
* created stub mdwebsite python script
* check arguments passed to script
# 0.0.1
* created ... | <|file_sep|>original/VERSION.md
# Version History
# 0.0.3
* build tool can generate one file from a template and a source file
# 0.0.2
* created stub mdwebsite python script
* check arguments passed to script
# 0.0.1
* created git repository
* updated README file
* created VERSION file
<|file_sep|>current/VERSION... | 05eadf66991bfcb2635c35399df6a34e9b555b62 | VERSION.md | VERSION.md | Markdown |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.3
before_install:
- brew update && brew unlink go node && brew install go node
- curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --yes --channel=nightly
script: ./test
<|file_sep|>current/.travis.yml
language: objective-c
osx_i... | language: objective-c
osx_image: xcode7.3
before_install:
- brew update
- brew unlink go node
- brew install go node
- npm install
- curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --yes --channel=nightly
script: ./test | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode7.3
before_install:
- brew update && brew unlink go node && brew install go node
- curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --yes --channel=nightly
script: ./test
<|file_sep|>current/.travis.yml
language: objective-c
osx_i... | 053e81857723734439c0d2491e2da6129ec8a120 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/config/unicorn.rb
<|file_sep|>current/config/unicorn.rb
<|file_sep|>updated/config/unicorn.rb | def load_file_if_exists(config, file)
config.instance_eval(File.read(file)) if File.exist?(file)
end
load_file_if_exists(self, "/etc/govuk/unicorn.rb")
working_directory File.dirname(File.dirname(__FILE__))
worker_processes 4 | <|file_sep|>original/config/unicorn.rb
<|file_sep|>current/config/unicorn.rb
<|file_sep|>updated/config/unicorn.rb
def load_file_if_exists(config, file)
config.instance_eval(File.read(file)) if File.exist?(file)
end
load_file_if_exists(self, "/etc/govuk/unicorn.rb")
working_directory File.dirname(File.dirname(__FI... | 83ded6f9410ad7d6daff7c51b529c11dd427f54c | config/unicorn.rb | config/unicorn.rb | Ruby |
<|file_sep|>RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs.diff
original:
;
updated:
<|file_sep|>RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs.diff
original:
dt.Rows.Add(p.BeginsAt, (float)p.OpenPrice);
updated:
dt.Rows.Add(p.BeginsAt.ToLocalTime(), (float)p.OpenPrice);
<|file_sep|>o... | dt.Columns.Add("Price", typeof(float));
try
{
var rh = new RobinhoodClient();
var history = rh.DownloadHistory("AMD", "5minute", "week").Result;
foreach (var p in history.HistoricalInfo)
{
dt.Rows.Add(p.BeginsAt.ToLocalTime(), (float)p.OpenPrice);
}
}
catch(Exception ex)
{
... | <|file_sep|>RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs.diff
original:
;
updated:
<|file_sep|>RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs.diff
original:
dt.Rows.Add(p.BeginsAt, (float)p.OpenPrice);
updated:
dt.Rows.Add(p.BeginsAt.ToLocalTime(), (float)p.OpenPrice);
<|file_sep|>o... | c2d6262beca7359a79b90f6ec4df2d9022bff480 | RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs | RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs | C# |
<|file_sep|>original/README.md
# git-genignores
A small program to automatically download the required gitignore file from the
@github/gitignores directory.
# Usage
`git genignores [options] LANGUAGE`
# Installation
```sh
cd $SOME_DIR
curl --remote-name https://raw.githubusercontent.com/pbhandari/git-genignores/mast... | # git-genignores
A small program to automatically download the required gitignore file from the
@github/gitignores directory.
# Usage
```
Usage: git genignores [OPTIONS] LANGUAGE
-l, --list Check whether the server has that particular gitignore file.
--[no-]capitalize Don'... | <|file_sep|>original/README.md
# git-genignores
A small program to automatically download the required gitignore file from the
@github/gitignores directory.
# Usage
`git genignores [options] LANGUAGE`
# Installation
```sh
cd $SOME_DIR
curl --remote-name https://raw.githubusercontent.com/pbhandari/git-genignores/mast... | 7e5106ad126eb014face8af226fdd339a0bd11e3 | README.md | README.md | Markdown |
<|file_sep|>test/test_pipeline/components/test_base.py.diff
original:
updated:
import os
import sys
<|file_sep|>test/test_pipeline/components/test_base.py.diff
original:
updated:
this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(this_dir)
<|file_sep|>original/test/test_pipeline/components/test_ba... | import os
import sys
import unittest
from autosklearn.pipeline.components.base import find_components, \
AutoSklearnClassificationAlgorithm
this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(this_dir)
class TestBase(unittest.TestCase):
def test_find_components(self):
c = find_com... | <|file_sep|>test/test_pipeline/components/test_base.py.diff
original:
updated:
import os
import sys
<|file_sep|>test/test_pipeline/components/test_base.py.diff
original:
updated:
this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(this_dir)
<|file_sep|>original/test/test_pipeline/components/test_ba... | 5da30efc6cbbc58db60ba29643c56448b5a79e77 | test/test_pipeline/components/test_base.py | test/test_pipeline/components/test_base.py | Python |
<|file_sep|>original/src/cssdemo.html
<|file_sep|>current/src/cssdemo.html
<|file_sep|>updated/src/cssdemo.html | <html>
<head>
<meta charset="UTF-8">
<title>CSS Test page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="wrapper"><button class="settings-button">Toggle Settings</button>
<div></div>
<div class="summary-wrapper">
<div class="board-timing">
... | <|file_sep|>original/src/cssdemo.html
<|file_sep|>current/src/cssdemo.html
<|file_sep|>updated/src/cssdemo.html
<html>
<head>
<meta charset="UTF-8">
<title>CSS Test page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="wrapper"><button class="settings-button">Toggle Sett... | 43e98f426c48b1eb70a869bc22a9eaf51aacf6e9 | src/cssdemo.html | src/cssdemo.html | HTML |
<|file_sep|>launch_pyslvs.py.diff
original:
from os import _exit
updated:
from sys import exit
<|file_sep|>launch_pyslvs.py.diff
original:
_exit(app.exec())
updated:
ExitCode = app.exec()
<|file_sep|>original/launch_pyslvs.py
##Pyslvs - Dimensional Synthesis of Planar Four-bar Linkages in PyQt5 GUI.
##C... | ##Copyright (C) 2016 Yuan Chang [daan0014119@gmail.com]
from sys import exit
if __name__=='__main__':
try:
from core.info.info import show_info, Pyslvs_Splash
args = show_info()
from PyQt5.QtWidgets import QApplication
from core.main import MainWindow
if args.fusion: QApplica... | <|file_sep|>launch_pyslvs.py.diff
original:
from os import _exit
updated:
from sys import exit
<|file_sep|>launch_pyslvs.py.diff
original:
_exit(app.exec())
updated:
ExitCode = app.exec()
<|file_sep|>original/launch_pyslvs.py
##Pyslvs - Dimensional Synthesis of Planar Four-bar Linkages in PyQt5 GUI.
##C... | 548bdb45796e7e12a1c4294b49dc1ac1fb3fe647 | launch_pyslvs.py | launch_pyslvs.py | Python |
<|file_sep|>original/lara-typescript/src/interactive-api-client/package.json
{
"name": "@concord-consortium/lara-interactive-api",
"version": "1.6.0",
"description": "LARA Interactive API client and types",
"main": "./index.js",
"types": "./index-bundle.d.ts",
"repository": {
"type": "git",
"url": "... | {
"name": "@concord-consortium/lara-interactive-api",
"version": "1.6.1",
"description": "LARA Interactive API client and types",
"main": "./index.js",
"types": "./index-bundle.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/concord-consortium/lara.git"
},
"author": "Concord... | <|file_sep|>original/lara-typescript/src/interactive-api-client/package.json
{
"name": "@concord-consortium/lara-interactive-api",
"version": "1.6.0",
"description": "LARA Interactive API client and types",
"main": "./index.js",
"types": "./index-bundle.d.ts",
"repository": {
"type": "git",
"url": "... | 251a3277b9a36e5d188d2325c1c9aadf36633ed0 | lara-typescript/src/interactive-api-client/package.json | lara-typescript/src/interactive-api-client/package.json | JSON |
<|file_sep|>activities/src/main/java/splitties/activities/Context.kt.diff
original:
updated:
import android.content.ActivityNotFoundException
<|file_sep|>activities/src/main/java/splitties/activities/Context.kt.diff
original:
updated:
/**
* Starts the Activity [A], in a more concise way, while still allowing to conf... | import android.content.Intent
/**
* Starts the Activity [A], in a more concise way, while still allowing to configure the [Intent] in
* the optional [configIntent] lambda.
*/
inline fun <reified A : Activity> Context.start(configIntent: Intent.() -> Unit = {}) {
startActivity(Intent(this, A::class.java).apply(c... | <|file_sep|>activities/src/main/java/splitties/activities/Context.kt.diff
original:
updated:
import android.content.ActivityNotFoundException
<|file_sep|>activities/src/main/java/splitties/activities/Context.kt.diff
original:
updated:
/**
* Starts the Activity [A], in a more concise way, while still allowing to conf... | 5d01c3f206593d9bda9431ce07511cd0be73f010 | activities/src/main/java/splitties/activities/Context.kt | activities/src/main/java/splitties/activities/Context.kt | Kotlin |
<|file_sep|>original/reflex-dom-core/ChangeLog.md
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
* Update version bounds of base, containers, and stm
* Update to use the newly split `these`/`semialign` packages. To use the pre-split `these` package, se... |
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
* Update version bounds of base, containers, and stm
* Update to use the newly split `these`/`semialign` packages. To use the pre-split `these` package, set the `split-these` flag to false.
* Reintroduce "... | <|file_sep|>original/reflex-dom-core/ChangeLog.md
## 0.5.2
* Update to use new dependent-sum/map packages and drop dependency on `*Tag` classes (e.g., `ShowTag`).
* Update version bounds of base, containers, and stm
* Update to use the newly split `these`/`semialign` packages. To use the pre-split `these` package, se... | 5112a3f3b10dbcd04a7a6987c321e3c8cbc3caef | reflex-dom-core/ChangeLog.md | reflex-dom-core/ChangeLog.md | Markdown |
<|file_sep|>original/lib/support/file-namer.js
'use strict';
let util = require('util'),
urlParser = require('url'),
moment = require('moment');
module.exports.fileNamer = function() {
// ensure all files for a given name gets the same timestamp
let timestamp = moment().toISOString();
return {
getNam... | 'use strict';
let util = require('util'),
urlParser = require('url'),
moment = require('moment');
module.exports.fileNamer = function() {
// ensure all files for a given name gets the same timestamp
// Removing ':' makes for better file names, and is also valid ISO8601 dates.
let timestamp = moment().format... | <|file_sep|>original/lib/support/file-namer.js
'use strict';
let util = require('util'),
urlParser = require('url'),
moment = require('moment');
module.exports.fileNamer = function() {
// ensure all files for a given name gets the same timestamp
let timestamp = moment().toISOString();
return {
getNam... | 405067224aebffc5cd1f7adfccf749926c013f7f | lib/support/file-namer.js | lib/support/file-namer.js | JavaScript |
<|file_sep|>package.json.diff
original:
"nodeunit": "0.6.4",
updated:
<|file_sep|>original/package.json
"uglify-js": "1.2.2",
"couchapp": "0.9.0",
"semver": "1.0.9",
"watch": "0.5.0",
"csv": "0.0.9",
"parser": "0.1.2",
"underscore": "1.1.7",
"scra... | "couchapp": "0.9.0",
"semver": "1.0.9",
"watch": "0.5.0",
"csv": "0.0.9",
"parser": "0.1.2",
"underscore": "1.1.7",
"scrawl": "0.0.1",
"prompt": "0.1.11"
},
"devDependencies": {
"nodelint": "0.5.2",
"nodeunit": "0.6.4"
},
"v... | <|file_sep|>package.json.diff
original:
"nodeunit": "0.6.4",
updated:
<|file_sep|>original/package.json
"uglify-js": "1.2.2",
"couchapp": "0.9.0",
"semver": "1.0.9",
"watch": "0.5.0",
"csv": "0.0.9",
"parser": "0.1.2",
"underscore": "1.1.7",
"scra... | f0211cfaafe32a9d7b8b718de341d71af8ee1ee8 | package.json | package.json | JSON |
<|file_sep|>packages/tl/tls-session-manager.yaml.diff
original:
hash: 015c52458b5669aa0055469b2a25382095e6bb28398a9ccf7070ce5db1ebd042
updated:
hash: e3d3f8a026196df46746a19d3d7d31211b2fca3aefed9074e951b2dcc1b8833c
<|file_sep|>packages/tl/tls-session-manager.yaml.diff
original:
base: ! '>=4.8 && <5'
clock: ! '>=0.4... | changelog: ! '# 0.0.0.0
- A first release.
'
basic-deps:
base: ! '>=4.7 && <5'
clock: -any
tls: -any
auto-update: -any
psqueues: ! '>=0.2.3'
all-versions:
- '0.0.0.0'
- '0.0.0.1'
- '0.0.0.2'
author: Kazu Yamamoto
latest: '0.0.0.2'
description-type: haddock
description: TLS session manager with limitation,... | <|file_sep|>packages/tl/tls-session-manager.yaml.diff
original:
hash: 015c52458b5669aa0055469b2a25382095e6bb28398a9ccf7070ce5db1ebd042
updated:
hash: e3d3f8a026196df46746a19d3d7d31211b2fca3aefed9074e951b2dcc1b8833c
<|file_sep|>packages/tl/tls-session-manager.yaml.diff
original:
base: ! '>=4.8 && <5'
clock: ! '>=0.4... | cfa4ce0e8e7f2aaa5b1967a80b432ae8d7a9aa65 | packages/tl/tls-session-manager.yaml | packages/tl/tls-session-manager.yaml | YAML |
<|file_sep|>original/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Destiny Raid Timers</string>
<string name="crota_timer_action_enraged">Enraged!</string>
<string name="crota_timer_label_enrage_countdown">Enrage in…</string>
<string name... | <?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Raid Timers</string>
<string name="crota_timer_action_enraged">Enraged!</string>
<string name="crota_timer_label_enrage_countdown">Enrage in…</string>
<string name="menu_help">Help</string>
<string name="crota_help_title">C... | <|file_sep|>original/app/src/main/res/values/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Destiny Raid Timers</string>
<string name="crota_timer_action_enraged">Enraged!</string>
<string name="crota_timer_label_enrage_countdown">Enrage in…</string>
<string name... | 41b096ad85249b41251b29d1d9ab7b30efd5abfe | app/src/main/res/values/strings.xml | app/src/main/res/values/strings.xml | XML |
<|file_sep|>original/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.12.1
Cython==0.25.2
pandas==0.20.1
<|file_sep|>current/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpve... | tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.12.1
Cython==0.25.2
pandas==0.20.2 | <|file_sep|>original/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpversion==0.5.3
pip==9.0.1
flake8==3.3.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
numpy==1.12.1
Cython==0.25.2
pandas==0.20.1
<|file_sep|>current/requirements_dev.txt
tox==2.7.0
watchdog==0.8.3
wheel==0.29.0
bumpve... | 0cd4b3b398dd1d8444d806d47672c0f19afde593 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/roles/ci-server.json
"dashboard-view",
"analysis-core",
"checkstyle",
"cloverphp",
"dry",
"htmlpublisher",
"jdepend",
"plot",
"pmd",
"violations",
"xunit"
]
},
"http_pro... | "dashboard-view",
"analysis-core",
"checkstyle",
"cloverphp",
"dry",
"htmlpublisher",
"jdepend",
"plot",
"pmd",
"violations",
"xunit",
"cucumber-reports"
]
},
"http_proxy": {
... | <|file_sep|>original/roles/ci-server.json
"dashboard-view",
"analysis-core",
"checkstyle",
"cloverphp",
"dry",
"htmlpublisher",
"jdepend",
"plot",
"pmd",
"violations",
"xunit"
]
},
"http_pro... | a25bd17592821f35bbe8e3fbac26787ff331b108 | roles/ci-server.json | roles/ci-server.json | JSON |
<|file_sep|>original/lib/smartdown_flows/student-finance-forms/outcomes/outcome_dsa_expenses.txt
# Disabled Students' Allowances – expenses
Use the claim form for the academic year the expenses relate to. You reclaim these expenses at the end of the academic year.
Academic year | Form
- | -
2013 to 2014 | [Costs clai... | # Disabled Students' Allowances – expenses
Use the claim form for the academic year the expenses relate to. You reclaim these expenses at the end of the academic year.
Academic year | Form
- | -
2013 to 2014 | [Costs claim form (PDF, 431KB)](http://www.sfengland.slc.co.uk/media/609071/sfe_dsa_expenses_claim_form_1314... | <|file_sep|>original/lib/smartdown_flows/student-finance-forms/outcomes/outcome_dsa_expenses.txt
# Disabled Students' Allowances – expenses
Use the claim form for the academic year the expenses relate to. You reclaim these expenses at the end of the academic year.
Academic year | Form
- | -
2013 to 2014 | [Costs clai... | f61f21e5fd08e3cc42f210b6bb82abf89deb2c82 | lib/smartdown_flows/student-finance-forms/outcomes/outcome_dsa_expenses.txt | lib/smartdown_flows/student-finance-forms/outcomes/outcome_dsa_expenses.txt | Text |
<|file_sep|>original/test/restful-api/src/spec/ruby/user_actions_spec.rb
describe "/user-actions" do
describe "POST" do
def user_action(description, context)
<<-JSON
{
description: description,
context: context
}
JSON
end
it "should successfully create a u... | describe "/user-actions" do
describe "POST" do
def user_action(description, context)
"{description: #{description}, context: #{context}}"
end
it "should successfully create a user action" do
action = user_action("Delayed 45 activities for Jo Carlson by 6 days", "http://fake.us/api/v1/subje... | <|file_sep|>original/test/restful-api/src/spec/ruby/user_actions_spec.rb
describe "/user-actions" do
describe "POST" do
def user_action(description, context)
<<-JSON
{
description: description,
context: context
}
JSON
end
it "should successfully create a u... | b0bd9575583027f7cddb0546ebf2b1c437e20d15 | test/restful-api/src/spec/ruby/user_actions_spec.rb | test/restful-api/src/spec/ruby/user_actions_spec.rb | Ruby |
<|file_sep|>original/appveyor.yml
version: "{build}"
os: Windows Server 2012 R2
platform:
- x86
- x64
environment:
nodejs_version: "4.4.5"
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm
- npm install
build: off
test: off
deploy: off
<|file_sep|>current/appv... | version: "{build}"
os: Windows Server 2012 R2
platform:
- x86
- x64
environment:
nodejs_version: "6.9.5"
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm
- npm install
build: off
test: off
deploy: off | <|file_sep|>original/appveyor.yml
version: "{build}"
os: Windows Server 2012 R2
platform:
- x86
- x64
environment:
nodejs_version: "4.4.5"
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm
- npm install
build: off
test: off
deploy: off
<|file_sep|>current/appv... | bfa23eda5bebc37811da51763c51a706a05b7cbf | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/travisBazel.sh
set -e
set -x
# See: https://github.com/bazelbuild/rules_go#how-do-i-run-bazel-on-travis-ci
bazel --host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
--spawn_strategy=standalone \
--genrule_strategy=standalone \
--test_strategy=standalone \
--local_r... | set -e
set -x
# See: https://github.com/bazelbuild/rules_go#how-do-i-run-bazel-on-travis-ci
bazel --host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
--spawn_strategy=standalone \
--genrule_strategy=standalone \
--test_strategy=standalone \
--local_ram_resources=1536 \
--noshow_pro... | <|file_sep|>original/travisBazel.sh
set -e
set -x
# See: https://github.com/bazelbuild/rules_go#how-do-i-run-bazel-on-travis-ci
bazel --host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
--spawn_strategy=standalone \
--genrule_strategy=standalone \
--test_strategy=standalone \
--local_r... | 8a0084e643955269558e206eb9f4d90e2e569781 | travisBazel.sh | travisBazel.sh | Shell |
<|file_sep|>original/stowed/.config/fish/config.fish
set -gx NPM_PACKAGES "$HOME/.npm-packages"
set -gx JANET_PATH ~/.cache/janet
set -gx NODE_PATH "$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
set -gx PATH ~/bin ~/npm-packages/bin ~/.cargo/bin ~/.luarocks/bin $PATH
mkdir -p ~/bin $NPM_PACKAGES/bin ~/.cargo/bin ~/.luaro... | set -gx NPM_PACKAGES "$HOME/.npm-packages"
set -gx JANET_PATH ~/.cache/janet
set -gx NODE_PATH "$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
set -gx PATH ~/bin $NPM_PACKAGES/bin ~/.cargo/bin ~/.luarocks/bin $PATH
mkdir -p ~/bin $NPM_PACKAGES/bin ~/.cargo/bin ~/.luarocks/bin $JANET_PATH
set -gx fish_greeting ""
set -gx ... | <|file_sep|>original/stowed/.config/fish/config.fish
set -gx NPM_PACKAGES "$HOME/.npm-packages"
set -gx JANET_PATH ~/.cache/janet
set -gx NODE_PATH "$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
set -gx PATH ~/bin ~/npm-packages/bin ~/.cargo/bin ~/.luarocks/bin $PATH
mkdir -p ~/bin $NPM_PACKAGES/bin ~/.cargo/bin ~/.luaro... | 26bae48b0559c75491b58165230d49c26ff09fbd | stowed/.config/fish/config.fish | stowed/.config/fish/config.fish | fish |
<|file_sep|>original/README.md
# Discount.ex
[expm.co/discount](http://expm.co/discount)
Elixir wrapper for **discount**, a Markdown parser ([GH: Orc/discount](https://github.com/Orc/discount)).
## Clone
```shell
git clone https://github.com/asaaki/discount.ex.git discount
```
## Build and test
```shell
make
... | # Discount.ex [](https://travis-ci.org/asaaki/discount.ex)
[expm.co/discount](http://expm.co/discount)
Elixir wrapper for **discount**, a Markdown parser ([GH: Orc/discount](https://github.com/Orc/discount)).
## Clone
```shell
git clone ht... | <|file_sep|>original/README.md
# Discount.ex
[expm.co/discount](http://expm.co/discount)
Elixir wrapper for **discount**, a Markdown parser ([GH: Orc/discount](https://github.com/Orc/discount)).
## Clone
```shell
git clone https://github.com/asaaki/discount.ex.git discount
```
## Build and test
```shell
make
... | cdb7b9682563d21ea20a5e0e0f1be380200d458c | README.md | README.md | Markdown |
<|file_sep|>package.lua.diff
original:
version = "2.6.22-beta1",
updated:
version = "2.6.22",
<|file_sep|>original/package.lua
return {
name = "rackspace-monitoring-agent",
version = "2.6.22-beta1",
luvi = {
version = "2.9.3-1-sigar",
flavor = "sigar",
url = "https://github.com/virgo-agent-toolkit... | return {
name = "rackspace-monitoring-agent",
version = "2.6.22",
luvi = {
version = "2.9.3-sigar",
flavor = "sigar",
url = "https://github.com/virgo-agent-toolkit/luvi/releases/download/v%s-sigar/luvi-%s-%s"
},
dependencies = {
"rphillips/options@0.0.5",
"virgo-agent-toolkit/rackspace-mon... | <|file_sep|>package.lua.diff
original:
version = "2.6.22-beta1",
updated:
version = "2.6.22",
<|file_sep|>original/package.lua
return {
name = "rackspace-monitoring-agent",
version = "2.6.22-beta1",
luvi = {
version = "2.9.3-1-sigar",
flavor = "sigar",
url = "https://github.com/virgo-agent-toolkit... | a223af230de2aa21857ea512bd54eb800c69e002 | package.lua | package.lua | Lua |
<|file_sep|>.travis.yml.diff
original:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
updated:
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
<|file_sep|>.travis.yml.diff
original:
- jruby-9.1.13.0
updated:
- jruby-9.1.16.0
<|file_sep|>original/.travis.yml
env:
global:
# --dev improves JRuby startup time
# --debug rep... | env:
global:
# --dev improves JRuby startup time
# --debug reports proper coverage to SimpleCov
# See https://github.com/jruby/jruby/wiki/Improving-startup-time
- JRUBY_OPTS="--dev --debug"
rvm:
- 2.1.10
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
- jruby-9.1.16.0
matrix:
allow_fail... | <|file_sep|>.travis.yml.diff
original:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
updated:
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
<|file_sep|>.travis.yml.diff
original:
- jruby-9.1.13.0
updated:
- jruby-9.1.16.0
<|file_sep|>original/.travis.yml
env:
global:
# --dev improves JRuby startup time
# --debug rep... | f25c2a651823bf71676e2fb67c34c9d5f5160ca2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/tests/sources/basic/30-mpi/src/main/c/addVector.c
<|file_sep|>current/tests/sources/basic/30-mpi/src/main/c/addVector.c
<|file_sep|>updated/tests/sources/basic/30-mpi/src/main/c/addVector.c | #include "mpi.h"
#include <stdio.h>
#include <math.h>
int main(int argc, char **argv) {
// Variables used per process
int myid, numprocs;
int myresult = 0;
// Global variables
int DATA_SIZE = argc;
int data[DATA_SIZE], result;
// Chunk control variables
int i, low, high, size;... | <|file_sep|>original/tests/sources/basic/30-mpi/src/main/c/addVector.c
<|file_sep|>current/tests/sources/basic/30-mpi/src/main/c/addVector.c
<|file_sep|>updated/tests/sources/basic/30-mpi/src/main/c/addVector.c
#include "mpi.h"
#include <stdio.h>
#include <math.h>
int main(int argc, char **argv) {
// Variables u... | 97c44a23a590b79c8538874798e140f1e1db559f | tests/sources/basic/30-mpi/src/main/c/addVector.c | tests/sources/basic/30-mpi/src/main/c/addVector.c | C |
<|file_sep|>original/plugin.json
{
"id": "nodebb-plugin-soundcloud",
"name": "NodeBB SoundCloud Plugin",
"description": "NodeBB Plugin that allows users to embed SoundCloud tracks inline in their posts.",
"url": "https://github.com/tedr56/nodebb-plugin-soundcloud",
"library": "./library.js",
"hooks": [
{ "hook"... | {
"id": "nodebb-plugin-soundcloud",
"name": "NodeBB SoundCloud Plugin",
"description": "NodeBB Plugin that allows users to embed SoundCloud tracks inline in their posts.",
"url": "https://github.com/tedr56/nodebb-plugin-soundcloud",
"library": "./library.js",
"hooks": [
{ "hook": "filter:parse.post", "method": ... | <|file_sep|>original/plugin.json
{
"id": "nodebb-plugin-soundcloud",
"name": "NodeBB SoundCloud Plugin",
"description": "NodeBB Plugin that allows users to embed SoundCloud tracks inline in their posts.",
"url": "https://github.com/tedr56/nodebb-plugin-soundcloud",
"library": "./library.js",
"hooks": [
{ "hook"... | d0a0883b169e56f6b6803d83e593f31dd396c887 | plugin.json | plugin.json | JSON |
<|file_sep|>original/install/brew.sh
brew install tmux
brew install zsh
brew install highlight
brew install nvm
brew install z
brew install markdown
brew install midnight-commander
brew install vim
# install neovim
brew install neovim/neovim/neovim
# Productivity stuff
brew install Caskroom/cask/alfred
brew install ... | brew install macvim --override-system-vim
brew install reattach-to-user-namespace
brew install tmux
brew install zsh
brew install highlight
brew install nvm
brew install z
brew install markdown
brew install midnight-commander
brew install vim
# install neovim
brew install neovim/neovim/neovim
# Productivity stuff
br... | <|file_sep|>original/install/brew.sh
brew install tmux
brew install zsh
brew install highlight
brew install nvm
brew install z
brew install markdown
brew install midnight-commander
brew install vim
# install neovim
brew install neovim/neovim/neovim
# Productivity stuff
brew install Caskroom/cask/alfred
brew install ... | 7383af0f5b83f45816ad8de17da399ceb311cb49 | install/brew.sh | install/brew.sh | Shell |
<|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: debian-7.4
run_list:
- recipe[apt::default]
driver_config:
provision_command:
- apt-get update
- apt-get install cron -y
suites:
- name: default
run_list:
- recipe[site-revie... | ---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: debian-7.8
run_list:
- recipe[apt::default]
driver_config:
provision_command:
- apt-get update
- apt-get install cron -y
suites:
- name: default
run_list:
- recipe[site-reviewtypo3org::default] | <|file_sep|>original/.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: debian-7.4
run_list:
- recipe[apt::default]
driver_config:
provision_command:
- apt-get update
- apt-get install cron -y
suites:
- name: default
run_list:
- recipe[site-revie... | 11b74a4616a6c9e61333601bc1dd3c13ed39db7a | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/.vscode/tasks.json
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "./mkgobuildy.sh",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Run t... | }
},
{
"label": "Run tests",
"type": "shell",
"command": "./test.sh",
"group": {
"kind": "test",
"isDefault": true,
}
},
{
"label": "Run monitor",
"type": "shel... | <|file_sep|>original/.vscode/tasks.json
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "./mkgobuildy.sh",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Run t... | 11a035ccb52c1a8fa9f73d378610158fec7fec70 | .vscode/tasks.json | .vscode/tasks.json | JSON |
<|file_sep|>original/requirements/common.txt
# Common requirements
# Django
Django==1.10.7
django-crispy-forms==1.6.1
django-extensions==1.7.7
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4
<|file_sep|>current/requirements/common.txt
# Common requirements
# Django
Django==1.10.7
django-... | # Common requirements
# Django
Django==1.11
django-crispy-forms==1.6.1
django-extensions==1.7.7
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4 | <|file_sep|>original/requirements/common.txt
# Common requirements
# Django
Django==1.10.7
django-crispy-forms==1.6.1
django-extensions==1.7.7
# Frontend
django-compressor==2.1.1
django-libsass==0.7
csscompressor==0.9.4
<|file_sep|>current/requirements/common.txt
# Common requirements
# Django
Django==1.10.7
django-... | 57c1cb3a757988b91dd698ea3cca9b0f04f35bbb | requirements/common.txt | requirements/common.txt | Text |
<|file_sep|>original/scripts/travis-build.sh
#!/bin/bash
git clone https://github.com/creationix/nvm.git /tmp/.nvm
source /tmp/.nvm/nvm.sh
nvm install "$NODE_VERSION"
nvm use --delete-prefix "$NODE_VERSION"
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
eli... | #!/bin/bash -e
git clone https://github.com/creationix/nvm.git /tmp/.nvm
source /tmp/.nvm/nvm.sh
nvm install "$NODE_VERSION"
nvm use --delete-prefix "$NODE_VERSION"
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
... | <|file_sep|>original/scripts/travis-build.sh
#!/bin/bash
git clone https://github.com/creationix/nvm.git /tmp/.nvm
source /tmp/.nvm/nvm.sh
nvm install "$NODE_VERSION"
nvm use --delete-prefix "$NODE_VERSION"
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
eli... | b052091aaffb9d4a1944029fdec8a03874c119a9 | scripts/travis-build.sh | scripts/travis-build.sh | Shell |
<|file_sep|>README.md.diff
original:
# cheat
updated:
## cheat
<|file_sep|>README.md.diff
original:
## heroku
updated:
### heroku
<|file_sep|>original/README.md
# scores
## Build status
[](https://travis-ci.org/zesk06/scores)
[](https://codecov.io/github/zesk06/scores?branch=master)
## cheat
### heroku
enable builpacks on heroku:
heroku buildpacks:add heroku/python
heroku buildpacks:add heroku/nodejs
## MONGO
### Common operations
```bash
# ... | <|file_sep|>README.md.diff
original:
# cheat
updated:
## cheat
<|file_sep|>README.md.diff
original:
## heroku
updated:
### heroku
<|file_sep|>original/README.md
# scores
## Build status
[](https://travis-ci.org/zesk06/scores)
[, [method: "PUT"], fn f ->
.pb-3
= text_input(f, :title, class: "form-control input-block input-lg", placeholder: "Title", value: @tweak.title)
.pb-3
= textarea(f, :code, class: "form-c... | = form_for @changeset, tweak_path(@conn, :update, @name, @tweak.id), [method: "PUT"], fn f ->
.pb-3
= text_input(f, :title, class: "form-control input-block input-lg", placeholder: "Title", value: @tweak.title)
.pb-3
= select(f, :type, ["Init": "init", "Style": "style"], prompt: "Select tweak type", value: ... | <|file_sep|>original/web/templates/tweak/edit.html.slim
= form_for @changeset, tweak_path(@conn, :update, @name, @tweak.id), [method: "PUT"], fn f ->
.pb-3
= text_input(f, :title, class: "form-control input-block input-lg", placeholder: "Title", value: @tweak.title)
.pb-3
= textarea(f, :code, class: "form-c... | 346e106ec70c81383a762553febe03db9d495ae6 | web/templates/tweak/edit.html.slim | web/templates/tweak/edit.html.slim | Slim |
<|file_sep|>original/example/test_example.sh
#!/bin/bash
set -eu
readonly EXAMPLE_NAME="$1"
cd "`dirname $0`/$EXAMPLE_NAME"
# Use local version of scissors:
sed -i '.bak' -E 's!scissors: .+!scissors: {path: ../..}!' pubspec.yaml
echo "# Building $EXAMPLE_NAME"
pub get
pub build 2>&1 | \
egrep -v "^Took .*? to com... | #!/bin/bash
set -eu
readonly EXAMPLE_NAME="$1"
cd "`dirname $0`/$EXAMPLE_NAME"
# Use local version of scissors:
sed -i.bak -E 's!scissors: .+!scissors: {path: ../..}!' pubspec.yaml
echo "# Building $EXAMPLE_NAME"
pub get
pub build 2>&1 | \
egrep -v "^Took .*? to compile " | \
tee pub.out
# Restore pubspec.yaml... | <|file_sep|>original/example/test_example.sh
#!/bin/bash
set -eu
readonly EXAMPLE_NAME="$1"
cd "`dirname $0`/$EXAMPLE_NAME"
# Use local version of scissors:
sed -i '.bak' -E 's!scissors: .+!scissors: {path: ../..}!' pubspec.yaml
echo "# Building $EXAMPLE_NAME"
pub get
pub build 2>&1 | \
egrep -v "^Took .*? to com... | 91baaa13153064194b686abfd88a0a8c8a95e2d1 | example/test_example.sh | example/test_example.sh | Shell |
<|file_sep|>include/ipv4.h.diff
original:
updated:
uint8_t ihl : 4; /* TODO: Support Big Endian hosts */
<|file_sep|>original/include/ipv4.h
#include "netdev.h"
#define IPV4 0x04
#define ICMPV4 0x01
struct iphdr {
uint8_t version : 4;
uint8_t ihl : 4;
uint8_t tos;
uint16_t len;
uint16_t id;... |
#include "netdev.h"
#define IPV4 0x04
#define ICMPV4 0x01
struct iphdr {
uint8_t ihl : 4; /* TODO: Support Big Endian hosts */
uint8_t version : 4;
uint8_t tos;
uint16_t len;
uint16_t id;
uint16_t flags : 3;
uint16_t frag_offset : 13;
uint8_t ttl;
uint8_t proto;
uint16_t csum... | <|file_sep|>include/ipv4.h.diff
original:
updated:
uint8_t ihl : 4; /* TODO: Support Big Endian hosts */
<|file_sep|>original/include/ipv4.h
#include "netdev.h"
#define IPV4 0x04
#define ICMPV4 0x01
struct iphdr {
uint8_t version : 4;
uint8_t ihl : 4;
uint8_t tos;
uint16_t len;
uint16_t id;... | 8993b1ede652b3c81b1cae873a00716b3dd8545d | include/ipv4.h | include/ipv4.h | C |
<|file_sep|>original/lib/generators/govuk_component/govuk_component_generator.rb
template 'component.html.erb', "app/views/govuk_component/#{file_name}.raw.html.erb"
template '_component.scss', "app/assets/stylesheets/govuk-component/_#{@public_name}.scss"
append_to_file "app/assets/stylesheets/govuk-comp... |
template 'component.html.erb', "app/views/govuk_component/#{file_name}.raw.html.erb"
template '_component.scss', "app/assets/stylesheets/govuk-component/_#{@public_name}.scss"
append_to_file "app/assets/stylesheets/govuk-component/_component.scss", "@import \"#{@public_name}\";\n"
docs_path = Rails.r... | <|file_sep|>original/lib/generators/govuk_component/govuk_component_generator.rb
template 'component.html.erb', "app/views/govuk_component/#{file_name}.raw.html.erb"
template '_component.scss', "app/assets/stylesheets/govuk-component/_#{@public_name}.scss"
append_to_file "app/assets/stylesheets/govuk-comp... | 33b7a2a26182778ec798d50c25bc900f6ef5b195 | lib/generators/govuk_component/govuk_component_generator.rb | lib/generators/govuk_component/govuk_component_generator.rb | Ruby |
<|file_sep|>original/src/statistic_histogram.h
/*
* statistic_histogram.h
*
*/
#ifndef STATISTIC_HISTOGRAM_H_
#define STATISTIC_HISTOGRAM_H_
#include <stdio.h>
#include <vector>
class Statistic_histogram
{
public:
Statistic_histogram(std::string h_name, const ssize_t domain_start, const ssize_t domain_end, co... | /*
Copyright (c) 2015, Edward Haas
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following di... | <|file_sep|>original/src/statistic_histogram.h
/*
* statistic_histogram.h
*
*/
#ifndef STATISTIC_HISTOGRAM_H_
#define STATISTIC_HISTOGRAM_H_
#include <stdio.h>
#include <vector>
class Statistic_histogram
{
public:
Statistic_histogram(std::string h_name, const ssize_t domain_start, const ssize_t domain_end, co... | 48acc8c91b26cf424086151a6a625b663196b1c7 | src/statistic_histogram.h | src/statistic_histogram.h | C |
<|file_sep|>original/NTO/MARS/Machine/attributes/cpuArch.ttl
<|file_sep|>current/NTO/MARS/Machine/attributes/cpuArch.ttl
<|file_sep|>updated/NTO/MARS/Machine/attributes/cpuArch.ttl | @prefix ogit.MARS.Machine: <http://www.purl.org/ogit/MARS/Machine/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://pu... | <|file_sep|>original/NTO/MARS/Machine/attributes/cpuArch.ttl
<|file_sep|>current/NTO/MARS/Machine/attributes/cpuArch.ttl
<|file_sep|>updated/NTO/MARS/Machine/attributes/cpuArch.ttl
@prefix ogit.MARS.Machine: <http://www.purl.org/ogit/MARS/Machine/> .
@prefix ogit: <http://www.purl.org/ogit/> .
... | 821245bd58b46d5bbee682dc814dcfdedda3cbc8 | NTO/MARS/Machine/attributes/cpuArch.ttl | NTO/MARS/Machine/attributes/cpuArch.ttl | Turtle |
<|file_sep|>app/views/layouts/player.html.erb.diff
original:
<%= stylesheet_link_tag "#{request.headers["HTTP_X_PLUGIT_BASE_URL"]}media/application", media: "all", "data-turbolinks-track" => true %>
updated:
<%= plugit_stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<|file_... | <!DOCTYPE html>
<html ng-app="DashPlayer">
<head>
<title>EbuOndemand Player</title>
<%= plugit_stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= yield :additional_styles %>
<%= plugit_javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= yield :a... | <|file_sep|>app/views/layouts/player.html.erb.diff
original:
<%= stylesheet_link_tag "#{request.headers["HTTP_X_PLUGIT_BASE_URL"]}media/application", media: "all", "data-turbolinks-track" => true %>
updated:
<%= plugit_stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<|file_... | 5c7265afc582074156b5408ed3679cb67473cd59 | app/views/layouts/player.html.erb | app/views/layouts/player.html.erb | HTML+ERB |
<|file_sep|>original/testsuite/python3.py
#!/usr/bin/env python3
from typing import ClassVar, List
# Annotated function (Issue #29)
def foo(x: int) -> int:
return x + 1
# Annotated variables #575
CONST: int = 42
class Class:
cls_var: ClassVar[str]
def m(self):
xs: List[int] = []
<|file_sep|>c... | def foo(x: int) -> int:
return x + 1
# Annotated variables #575
CONST: int = 42
class Class:
cls_var: ClassVar[str]
for_var: ClassVar[str]
while_var: ClassVar[str]
def_var: ClassVar[str]
if_var: ClassVar[str]
elif_var: ClassVar[str]
else_var: ClassVar[str]
try_var: ClassVar[str]
... | <|file_sep|>original/testsuite/python3.py
#!/usr/bin/env python3
from typing import ClassVar, List
# Annotated function (Issue #29)
def foo(x: int) -> int:
return x + 1
# Annotated variables #575
CONST: int = 42
class Class:
cls_var: ClassVar[str]
def m(self):
xs: List[int] = []
<|file_sep|>c... | 0d70cc8fb27240390e252881615f740103535c93 | testsuite/python3.py | testsuite/python3.py | Python |
<|file_sep|>alg_selection_sort.py.diff
original:
# Start from the last num, iteratively select next max num to swap them.
updated:
# Start from the last num, iteratively select max num to swap.
<|file_sep|>alg_selection_sort.py.diff
original:
max_i = 0
updated:
i_max = 0
<|file_sep|>original... |
Time complexity: O(n^2).
Space complexity: O(1).
"""
# Start from the last num, iteratively select max num to swap.
for i in reversed(range(len(nums))):
i_max = 0
for j in range(1, i + 1):
if nums[j] > nums[i_max]:
i_max = j
nums[i_max], nums[i]... | <|file_sep|>alg_selection_sort.py.diff
original:
# Start from the last num, iteratively select next max num to swap them.
updated:
# Start from the last num, iteratively select max num to swap.
<|file_sep|>alg_selection_sort.py.diff
original:
max_i = 0
updated:
i_max = 0
<|file_sep|>original... | 71d42d763bdb2d0c1bd8474a4da99695d5b77f91 | alg_selection_sort.py | alg_selection_sort.py | Python |
<|file_sep|>original/stryker.conf.js
module.exports = function(config) {
config.set({
coverageAnalysis: 'off',
logLevel: 'info',
mutate: [
'src/**/*.ts?',
'!src/**/__tests__/*.ts?'
],
mutator: 'typescript',
reporter: ['html', 'clear-text', 'progress', 'dashboard'],
testRunner: ... | module.exports = function(config) {
config.set({
coverageAnalysis: 'off',
files: [
{ pattern: 'node_modules/react-scripts-ts/**/*.js' },
{ pattern: 'node_modules/ts-jest/**/*.js' },
],
logLevel: 'info',
mutate: [
'src/**/*.ts?',
'!src/**/__tests__/*.ts?'
],
mutator:... | <|file_sep|>original/stryker.conf.js
module.exports = function(config) {
config.set({
coverageAnalysis: 'off',
logLevel: 'info',
mutate: [
'src/**/*.ts?',
'!src/**/__tests__/*.ts?'
],
mutator: 'typescript',
reporter: ['html', 'clear-text', 'progress', 'dashboard'],
testRunner: ... | 2b1f5c27fd8cfbc06c23a76b5942bec589e553c8 | stryker.conf.js | stryker.conf.js | JavaScript |
<|file_sep|>original/app/controllers/home_controller.rb
can?(:read, 'home') do
@graphs = Rails.cache.fetch('graphs', :expires_in => 60.seconds) do
require 'net/http'
http = Net::HTTP.new(Rails.configuration.genieacs_api_host, Rails.configuration.genieacs_api_port)
graphs = ActiveSuppo... | can?(:read, 'home') do
@graphs = Rails.cache.fetch('graphs', :expires_in => 60.seconds) do
require 'net/http'
http = Net::HTTP.new(Rails.configuration.genieacs_api_host, Rails.configuration.genieacs_api_port)
graphs = ActiveSupport::JSON.decode(ERB.new(File.read('config/graphs.json.er... | <|file_sep|>original/app/controllers/home_controller.rb
can?(:read, 'home') do
@graphs = Rails.cache.fetch('graphs', :expires_in => 60.seconds) do
require 'net/http'
http = Net::HTTP.new(Rails.configuration.genieacs_api_host, Rails.configuration.genieacs_api_port)
graphs = ActiveSuppo... | 07356fd38764fc48ce695abfab45bf5f98365cdb | app/controllers/home_controller.rb | app/controllers/home_controller.rb | Ruby |
<|file_sep|>tests/optvis/test_integration.py.diff
original:
model = InceptionV1()
model.load_graphdef()
updated:
@pytest.fixture
def inceptionv1():
model = InceptionV1()
model.load_graphdef()
return model
<|file_sep|>tests/optvis/test_integration.py.diff
original:
def test_integration(decorrelate, fft):
updated:... | @pytest.fixture
def inceptionv1():
model = InceptionV1()
model.load_graphdef()
return model
@pytest.mark.parametrize("decorrelate", [True, False])
@pytest.mark.parametrize("fft", [True, False])
def test_integration(decorrelate, fft, inceptionv1):
obj = objectives.neuron("mixed3a_pre_relu", 0)
param_f = lambd... | <|file_sep|>tests/optvis/test_integration.py.diff
original:
model = InceptionV1()
model.load_graphdef()
updated:
@pytest.fixture
def inceptionv1():
model = InceptionV1()
model.load_graphdef()
return model
<|file_sep|>tests/optvis/test_integration.py.diff
original:
def test_integration(decorrelate, fft):
updated:... | 3f51ab2ada60e78c9821cef557cb06194a24226a | tests/optvis/test_integration.py | tests/optvis/test_integration.py | Python |
<|file_sep|>original/_config.yml
name: Mazicky
description: Full-Stack Web Development & Indie Game Development
meta_description: "Full-Stack Web Development & Indie Game Development"
aboutPage: true
markdown: redcarpet
highlighter: pygments
gems: [jekyll-paginate]
paginate: 20
baseurl: /
domain_name: 'http://mazick... | name: Mazicky
description: Full-Stack Web Development & Indie Game Development
meta_description: "Full-Stack Web Development & Indie Game Development"
aboutPage: true
markdown: kramdown
highlighter: pygments
gems: [jekyll-paginate]
paginate: 20
baseurl: /
domain_name: 'http://mazicky.github.io'
google_analytics: 'UA... | <|file_sep|>original/_config.yml
name: Mazicky
description: Full-Stack Web Development & Indie Game Development
meta_description: "Full-Stack Web Development & Indie Game Development"
aboutPage: true
markdown: redcarpet
highlighter: pygments
gems: [jekyll-paginate]
paginate: 20
baseurl: /
domain_name: 'http://mazick... | 1b5d76a80f298434d985681e70dface952d0bf88 | _config.yml | _config.yml | YAML |
<|file_sep|>original/test/cli/command/test_dump_fields.rb
<|file_sep|>current/test/cli/command/test_dump_fields.rb
<|file_sep|>updated/test/cli/command/test_dump_fields.rb | # frozen_string_literal: true
require "helpers"
# Tests for KBSecret::CLI::Command::DumpFields
class KBSecretCommandDumpFieldsTest < Minitest::Test
include Helpers
include Helpers::CLI
def test_dump_fields_help
dump_fields_helps = [
%w[dump-fields --help],
%w[dump-fields -h],
%w[help dump... | <|file_sep|>original/test/cli/command/test_dump_fields.rb
<|file_sep|>current/test/cli/command/test_dump_fields.rb
<|file_sep|>updated/test/cli/command/test_dump_fields.rb
# frozen_string_literal: true
require "helpers"
# Tests for KBSecret::CLI::Command::DumpFields
class KBSecretCommandDumpFieldsTest < Minitest::T... | 6a9c2fb5c1a0a04b07d043266a87075694770ced | test/cli/command/test_dump_fields.rb | test/cli/command/test_dump_fields.rb | Ruby |
<|file_sep|>original/client/app/lib/Form/actions/submitAjaxForm.js
response,
formObjectName
}
}
export default function submitAjaxForm(url, data, formObject) {
const formObjectName = formObject.constructor.name
return function(dispatch) {
dispatch(submitAjaxFormRequest(formObjectName))
const fet... | response,
formObjectName
}
}
export default function submitAjaxForm(url, data, formObject) {
const formObjectName = formObject.constructor.name
return function(dispatch) {
dispatch(submitAjaxFormRequest(formObjectName))
//const fetch = require('isomorphic-fetch') // regular import breaks in SSR
... | <|file_sep|>original/client/app/lib/Form/actions/submitAjaxForm.js
response,
formObjectName
}
}
export default function submitAjaxForm(url, data, formObject) {
const formObjectName = formObject.constructor.name
return function(dispatch) {
dispatch(submitAjaxFormRequest(formObjectName))
const fet... | 6ad67987cd95ca629ba1ade64628dc80aef76f31 | client/app/lib/Form/actions/submitAjaxForm.js | client/app/lib/Form/actions/submitAjaxForm.js | JavaScript |
<|file_sep|>app/controllers/admin/base_controller.rb.diff
original:
updated:
def can?(action, subject)
enforcer_for(subject).can?(action)
end
helper_method :can?
def enforce_permission!(action, subject)
unless can?(action, subject)
puts "You can't #{action} that #{subject.inspect}"
forbidd... | end
helper_method :can?
def enforce_permission!(action, subject)
unless can?(action, subject)
puts "You can't #{action} that #{subject.inspect}"
forbidden!
end
end
private
def enforcer_for(subject)
actor = current_user || User.new
enforcer = Whitehall::Authority::Enforcer.new(... | <|file_sep|>app/controllers/admin/base_controller.rb.diff
original:
updated:
def can?(action, subject)
enforcer_for(subject).can?(action)
end
helper_method :can?
def enforce_permission!(action, subject)
unless can?(action, subject)
puts "You can't #{action} that #{subject.inspect}"
forbidd... | d0bd9626484e538213d6a97d97308746d0a4e26c | app/controllers/admin/base_controller.rb | app/controllers/admin/base_controller.rb | Ruby |
<|file_sep|>phpdoc.dist.xml.diff
original:
<target>build</target>
updated:
<target>/tmp/phpdoc-demo</target>
<|file_sep|>phpdoc.dist.xml.diff
original:
<target>build/apidocs</target>
updated:
<target>/tmp/phpdoc-demo/responsive</target>
<|file_sep|>original/phpdoc.dist.xml
<?xml version=... | <?xml version="1.0" encoding="UTF-8" ?>
<phpdocumentor>
<parser>
<default-package-name>phpDocumentor</default-package-name>
<target>/tmp/phpdoc-demo</target>
</parser>
<transformer>
<target>/tmp/phpdoc-demo/responsive</target>
</transformer>
<files>
<directory>.</dire... | <|file_sep|>phpdoc.dist.xml.diff
original:
<target>build</target>
updated:
<target>/tmp/phpdoc-demo</target>
<|file_sep|>phpdoc.dist.xml.diff
original:
<target>build/apidocs</target>
updated:
<target>/tmp/phpdoc-demo/responsive</target>
<|file_sep|>original/phpdoc.dist.xml
<?xml version=... | 41c5f73072e93c93315eb5dd5063dadb55fdd687 | phpdoc.dist.xml | phpdoc.dist.xml | XML |
<|file_sep|>lib/js_routes/engine.rb.diff
original:
require 'sprockets/version'
updated:
class JsRoutesSprocketsExtension
def initialize(filename, &block)
@filename = filename
@source = block.call
end
<|file_sep|>lib/js_routes/engine.rb.diff
original:
class JsRoutes
SPROCKETS3 = Gem::Version.new(Sprocket... | def self.run(filename, source, context)
routes = Rails.root.join('config', 'routes.rb').to_s
context.depend_on(routes) if context.logical_path == 'js-routes'
source
end
def self.call(input)
filename = input[:filename]
source = input[:data]
context = input[:environment].context_class.ne... | <|file_sep|>lib/js_routes/engine.rb.diff
original:
require 'sprockets/version'
updated:
class JsRoutesSprocketsExtension
def initialize(filename, &block)
@filename = filename
@source = block.call
end
<|file_sep|>lib/js_routes/engine.rb.diff
original:
class JsRoutes
SPROCKETS3 = Gem::Version.new(Sprocket... | 2c6c227fe826625563c90852ec81cc9fc6856de4 | lib/js_routes/engine.rb | lib/js_routes/engine.rb | Ruby |
<|file_sep|>original/mordor/streams/limited.h
namespace Mordor {
class LimitedStream : public MutatingFilterStream
{
public:
typedef boost::shared_ptr<LimitedStream> ptr;
public:
LimitedStream(Stream::ptr parent, long long size, bool own = true);
bool strict() { return m_strict; }
void strict(bool st... | namespace Mordor {
class LimitedStream : public MutatingFilterStream
{
public:
typedef boost::shared_ptr<LimitedStream> ptr;
public:
LimitedStream(Stream::ptr parent, long long size, bool own = true);
void reset() { m_pos = 0; }
void reset(long long size) { m_pos = 0; m_size = size; }
bool stric... | <|file_sep|>original/mordor/streams/limited.h
namespace Mordor {
class LimitedStream : public MutatingFilterStream
{
public:
typedef boost::shared_ptr<LimitedStream> ptr;
public:
LimitedStream(Stream::ptr parent, long long size, bool own = true);
bool strict() { return m_strict; }
void strict(bool st... | d02f1c16e441c48e450d05ac145c53282ebd4aa4 | mordor/streams/limited.h | mordor/streams/limited.h | C |
<|file_sep|>_includes/header.html.diff
original:
<a class="page-link" href="{{site.url}}{{site.baseurl}}">HOME</a><span class="exclamationMark">:</span>
updated:
<a class="page-link" href="{{site.url}}{{site.baseurl}}">HOME</a><span class="exclamationMark">||</span>
<|file_sep|>original/_includes/header.html
<... |
<div class="wrapper">
<center> <a href="/index.html"><div class="site-title"> {{site.title}} </div></a></center>
</div>
<div class="wrapper site-description">
<center> {{site.description}} </center>
</div>
<div class="wrapper">
<div class="trigger site-navigation">
<a class="page-link" href="{{site.url}}{{s... | <|file_sep|>_includes/header.html.diff
original:
<a class="page-link" href="{{site.url}}{{site.baseurl}}">HOME</a><span class="exclamationMark">:</span>
updated:
<a class="page-link" href="{{site.url}}{{site.baseurl}}">HOME</a><span class="exclamationMark">||</span>
<|file_sep|>original/_includes/header.html
<... | 380ad84d82af4902b6ac2bc8c3518058bd7a87b4 | _includes/header.html | _includes/header.html | HTML |
<|file_sep|>original/.travis.yml
compiler:
- gcc
- clang
osx_image: xcode9.2
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi
install:
# Install packages from Homebrew/Aptitude
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig php71 lua; fi
be... |
compiler:
- gcc
- clang
osx_image: xcode9.2
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi
install:
# Install packages from Homebrew/Aptitude
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig php71 lua; fi
before_script:
- mkdir build
- ... | <|file_sep|>original/.travis.yml
compiler:
- gcc
- clang
osx_image: xcode9.2
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi
install:
# Install packages from Homebrew/Aptitude
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig php71 lua; fi
be... | bb43850424e9c816528d2c313cd117020b12982c | .travis.yml | .travis.yml | YAML |
<|file_sep|>reload_server.sh.diff
original:
updated:
ps aux | grep App
# Kill old process
<|file_sep|>original/reload_server.sh
vapor build --release
#sudo supervisorctl restart debuggedpodcast
#.build/release/App serve --env=production &
<|file_sep|>current/reload_server.sh
ps aux | grep App
# Kill old process
vapor ... | ps aux | grep App
# Kill old process
vapor build --release
# probably rm Data/database.sqlite
.build/release/App serve --env=production & | <|file_sep|>reload_server.sh.diff
original:
updated:
ps aux | grep App
# Kill old process
<|file_sep|>original/reload_server.sh
vapor build --release
#sudo supervisorctl restart debuggedpodcast
#.build/release/App serve --env=production &
<|file_sep|>current/reload_server.sh
ps aux | grep App
# Kill old process
vapor ... | 8604abbd9c529a98a450063183c7ac1f67584782 | reload_server.sh | reload_server.sh | Shell |
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: python
python:
- "3.4"
- "3.5"
before_install:
- sudo apt-get update -y
- sudo apt-get install clang -y
install:
- "pip install --process-dependency-links ."
script:
- "python setup.py test"
<|file_sep|>current/.travis.yml
sudo: required... | sudo: required
dist: trusty
language: python
python:
- "3.4"
- "3.5"
before_install:
- sudo apt-get update -y
- sudo apt-get install libclang-dev -y
install:
- "pip install --process-dependency-links ."
script:
- "python setup.py test" | <|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: python
python:
- "3.4"
- "3.5"
before_install:
- sudo apt-get update -y
- sudo apt-get install clang -y
install:
- "pip install --process-dependency-links ."
script:
- "python setup.py test"
<|file_sep|>current/.travis.yml
sudo: required... | fc5a77fbd96f4e825bd052ee9b6b4733e17378ac | .travis.yml | .travis.yml | YAML |
<|file_sep|>spec/shared/freeze_method_behavior.rb.diff
original:
updated:
let(:sample_exception) do
begin
object.dup.freeze.instance_variable_set(:@foo,:bar)
rescue => exception
exception
end
end
let(:expected_exception_class) do
# Ruby 1.8 blows up with TypeError Ruby 1.9 with Runt... | sample_exception.message
end
it_should_behave_like 'an idempotent method'
it 'returns object' do
should be(object)
end
it 'prevents future modifications' do
subject
expectation = raise_error(expected_exception_class,expected_exception_message)
expect { object.instance_variable_set(:@foo... | <|file_sep|>spec/shared/freeze_method_behavior.rb.diff
original:
updated:
let(:sample_exception) do
begin
object.dup.freeze.instance_variable_set(:@foo,:bar)
rescue => exception
exception
end
end
let(:expected_exception_class) do
# Ruby 1.8 blows up with TypeError Ruby 1.9 with Runt... | 1548bc9c87ba0db58a5a595465f011c1208a45f4 | spec/shared/freeze_method_behavior.rb | spec/shared/freeze_method_behavior.rb | Ruby |
<|file_sep|>original/src/Core/Handlers/Commands/ConfirmEmailCommandHandler.php
protected $users;
public function __construct(UserRepository $users)
{
$this->users = $users;
}
public function handle($command)
{
$token = EmailToken::find($command->token)->first();
if (!... |
protected $users;
public function __construct(UserRepository $users)
{
$this->users = $users;
}
public function handle($command)
{
$token = EmailToken::find($command->token);
if (! $token) {
throw new InvalidConfirmationTokenException;
}
$... | <|file_sep|>original/src/Core/Handlers/Commands/ConfirmEmailCommandHandler.php
protected $users;
public function __construct(UserRepository $users)
{
$this->users = $users;
}
public function handle($command)
{
$token = EmailToken::find($command->token)->first();
if (!... | 479a09a41fb7ab8820704bba97cb830856643b37 | src/Core/Handlers/Commands/ConfirmEmailCommandHandler.php | src/Core/Handlers/Commands/ConfirmEmailCommandHandler.php | PHP |
<|file_sep|>Perspex.Themes.Default/GridSplitterStyle.cs.diff
original:
updated:
using Perspex.Controls;
using Perspex.Styling;
<|file_sep|>Perspex.Themes.Default/GridSplitterStyle.cs.diff
original:
using Perspex.Controls;
using Perspex.Controls.Presenters;
using Perspex.Media;
using Perspex.Sty... | {
public GridSplitterStyle()
{
this.AddRange(new[]
{
new Style(x => x.OfType<GridSplitter>())
{
Setters = new[]
{
new Setter(GridSplitter.TemplateProperty, ControlTemplate.Create<G... | <|file_sep|>Perspex.Themes.Default/GridSplitterStyle.cs.diff
original:
updated:
using Perspex.Controls;
using Perspex.Styling;
<|file_sep|>Perspex.Themes.Default/GridSplitterStyle.cs.diff
original:
using Perspex.Controls;
using Perspex.Controls.Presenters;
using Perspex.Media;
using Perspex.Sty... | ca08fce5b7438401f42623da86acae90c0ee09ea | Perspex.Themes.Default/GridSplitterStyle.cs | Perspex.Themes.Default/GridSplitterStyle.cs | C# |
<|file_sep|>src/NVika/BuildServers/GitHub.cs.diff
original:
updated:
var details = issue.Message;
<|file_sep|>src/NVika/BuildServers/GitHub.cs.diff
original:
var file = issue.FilePath.Replace('\\', '/');
outputString.Append($"file={file},");
updated:
var abs... |
var details = issue.Message;
if (issue.FilePath != null)
{
var absolutePath = issue.FilePath.Replace('\\', '/');
var relativePath = issue.Project != null ? issue.FilePath.Replace($"{issue.Project.Replace('\\', '/')}/", string.Empty) : absolutePath;
... | <|file_sep|>src/NVika/BuildServers/GitHub.cs.diff
original:
updated:
var details = issue.Message;
<|file_sep|>src/NVika/BuildServers/GitHub.cs.diff
original:
var file = issue.FilePath.Replace('\\', '/');
outputString.Append($"file={file},");
updated:
var abs... | e4739b2468a6b47e3769ffe3ce4e444b706b0269 | src/NVika/BuildServers/GitHub.cs | src/NVika/BuildServers/GitHub.cs | C# |
<|file_sep|>original/requirements_test.txt
vcrpy==1.11.1
pytest==3.9.2
pytest-pep8==1.0.6
pytest-flakes==4.0.0
nose==1.3.7
coverage==4.5.1
<|file_sep|>current/requirements_test.txt
vcrpy==1.11.1
pytest==3.9.2
pytest-pep8==1.0.6
pytest-flakes==4.0.0
nose==1.3.7
coverage==4.5.1
<|file_sep|>updated/requirements_test.txt | vcrpy==1.11.1
pytest==3.9.3
pytest-pep8==1.0.6
pytest-flakes==4.0.0
nose==1.3.7
coverage==4.5.1 | <|file_sep|>original/requirements_test.txt
vcrpy==1.11.1
pytest==3.9.2
pytest-pep8==1.0.6
pytest-flakes==4.0.0
nose==1.3.7
coverage==4.5.1
<|file_sep|>current/requirements_test.txt
vcrpy==1.11.1
pytest==3.9.2
pytest-pep8==1.0.6
pytest-flakes==4.0.0
nose==1.3.7
coverage==4.5.1
<|file_sep|>updated/requirements_test.txt
v... | d664f9beab0afe83d59b8834ebeea3f0d9f1d0c1 | requirements_test.txt | requirements_test.txt | Text |
<|file_sep|>original/docs/content/SampleProjects.md
# Sample projects
There are a number of projects that demonstrate the use of batect:
* [batect-sample-golang](https://github.com/charleskorn/batect-sample-golang): demonstrates a setup for Golang and Circle CI
* [batect-sample-java](https://github.com/charleskorn/ba... | # Sample projects
There are a number of projects that demonstrate the use of batect:
* [batect-sample-golang](https://github.com/charleskorn/batect-sample-golang): demonstrates a setup for Golang and Circle CI
* [batect-sample-java](https://github.com/charleskorn/batect-sample-java): demonstrates a setup for Java, Gr... | <|file_sep|>original/docs/content/SampleProjects.md
# Sample projects
There are a number of projects that demonstrate the use of batect:
* [batect-sample-golang](https://github.com/charleskorn/batect-sample-golang): demonstrates a setup for Golang and Circle CI
* [batect-sample-java](https://github.com/charleskorn/ba... | ced5286a4d4c25e2c238932640c5934fe983efd1 | docs/content/SampleProjects.md | docs/content/SampleProjects.md | Markdown |
<|file_sep|>original/dockerfiles/kubernetes-kubelet/launch.sh
#!/bin/sh
. /etc/kubernetes/kubelet
. /etc/kubernetes/config
TEMP_KUBELET_ARGS='--cgroups-per-qos=false --enforce-node-allocatable='
ARGS="$@ $TEMP_KUBELET_ARGS $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBELET_API_SERVER $KUBELET_ADDRESS $KUBELET_PORT $KUBELET_... | #!/bin/sh
. /etc/kubernetes/kubelet
. /etc/kubernetes/config
TEMP_KUBELET_ARGS='--cgroups-per-qos=false --enforce-node-allocatable='
ARGS="$@ $TEMP_KUBELET_ARGS $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBELET_API_SERVER $KUBELET_ADDRESS $KUBELET_PORT $KUBELET_HOSTNAME $KUBE_ALLOW_PRIV $KUBELET_ARGS"
ARGS=$(echo $ARGS | ... | <|file_sep|>original/dockerfiles/kubernetes-kubelet/launch.sh
#!/bin/sh
. /etc/kubernetes/kubelet
. /etc/kubernetes/config
TEMP_KUBELET_ARGS='--cgroups-per-qos=false --enforce-node-allocatable='
ARGS="$@ $TEMP_KUBELET_ARGS $KUBE_LOGTOSTDERR $KUBE_LOG_LEVEL $KUBELET_API_SERVER $KUBELET_ADDRESS $KUBELET_PORT $KUBELET_... | 8f2a3249848e7520de83ab1b9df54b72455a99ec | dockerfiles/kubernetes-kubelet/launch.sh | dockerfiles/kubernetes-kubelet/launch.sh | Shell |
<|file_sep|>original/salt/roots/rails/service.sls
rails server:
cmd.run:
- name: 'nohup bundle exec rails server > /vagrant/log/rails.log 2> /vagrant/log/rails.err < /dev/null &'
- cwd: /vagrant
- unless: pgrep -fa rails
- env:
- DB_HOST: 192.168.69.20
- REDIS_HOST: 192.168.69.20
- S... | rails server:
cmd.run:
- name: 'nohup bundle exec rails server > /vagrant/log/rails.log 2> /vagrant/log/rails.err < /dev/null &'
- cwd: /vagrant
- unless: pgrep -fa rails
- env:
- DB_HOST: 192.168.69.20
- REDIS_HOST: 192.168.69.20
- SERVER_HOST: 192.168.69.30
- RAILS_ENV: devel... | <|file_sep|>original/salt/roots/rails/service.sls
rails server:
cmd.run:
- name: 'nohup bundle exec rails server > /vagrant/log/rails.log 2> /vagrant/log/rails.err < /dev/null &'
- cwd: /vagrant
- unless: pgrep -fa rails
- env:
- DB_HOST: 192.168.69.20
- REDIS_HOST: 192.168.69.20
- S... | 330950948cac3b59649fc119652b2c5f9343eb89 | salt/roots/rails/service.sls | salt/roots/rails/service.sls | SaltStack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.