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/internal/reflection_completeness_check.php
<|file_sep|>current/internal/reflection_completeness_check.php
<|file_sep|>updated/internal/reflection_completeness_check.php | #!/usr/bin/env php
<?php
/**
* This checks that the function signatures are complete.
* TODO: Expand to checking classes (methods, and properties)
* TODO: Refactor the scripts in internal/ to reuse more code.
*/
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Phan\Language\FQSEN\FullyQualifiedFunctionN... | <|file_sep|>original/internal/reflection_completeness_check.php
<|file_sep|>current/internal/reflection_completeness_check.php
<|file_sep|>updated/internal/reflection_completeness_check.php
#!/usr/bin/env php
<?php
/**
* This checks that the function signatures are complete.
* TODO: Expand to checking classes (meth... | c1d64d403aa1d3b86529fcc8664350840a880958 | internal/reflection_completeness_check.php | internal/reflection_completeness_check.php | PHP |
<|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/
after_success:
- ./gradlew jacocoTestReport && ./codecov.sh
<|file... | language: java
jdk:
- openjdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/
after_success:
- ./gradlew jacocoTestReport && ./codecov.sh | <|file_sep|>original/.travis.yml
language: java
jdk:
- oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/
after_success:
- ./gradlew jacocoTestReport && ./codecov.sh
<|file... | 9367da9e757cfc12fbef713aed606e6988d14eff | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
<|file_... | language: node_js
node_js:
- "0.10"
- "0.11"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.10"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.10"
env:
- NACL_SRC=nacl.min.js
- NACL_SRC=nacl-fast.min.js
script: "npm run testall"
<|file_... | b47750a30df95752bcc37fc47d7d6da324e6f298 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/lib/mix/tasks/add_reason.ex
<|file_sep|>current/lib/mix/tasks/add_reason.ex
<|file_sep|>updated/lib/mix/tasks/add_reason.ex | defmodule Mix.Tasks.AddReason do
use Mix.Task
alias Mix.{Project}
alias Tilex.{Channel, Repo}
@shortdoc "Add a new channel"
@moduledoc """
This will add a new channel to our databases.
"""
def run(_) do
Application.ensure_all_started(Project.config()[:app])
Repo.insert!(%Channel{name: "reaso... | <|file_sep|>original/lib/mix/tasks/add_reason.ex
<|file_sep|>current/lib/mix/tasks/add_reason.ex
<|file_sep|>updated/lib/mix/tasks/add_reason.ex
defmodule Mix.Tasks.AddReason do
use Mix.Task
alias Mix.{Project}
alias Tilex.{Channel, Repo}
@shortdoc "Add a new channel"
@moduledoc """
This will add a new... | 32ae3d8fbc4d8a05179e728f40bacc726640180f | lib/mix/tasks/add_reason.ex | lib/mix/tasks/add_reason.ex | Elixir |
<|file_sep|>original/README.md
foreman run web
Or:
foreman run debug
Open a browser to http://localhost:5000/
## Run tests
source bin/activate
py.test --cov cihui -f test/
## Add a database migration
alembic revision -m "Add a column"
...
alembic upgrade head
See the
[alembic docs](h... | foreman run web
Or:
foreman run debug
Open a browser to http://localhost:5000/
## Run tests
py.test --cov cihui --cov-report term-missing -f test/
or
foreman run cov
## Add a database migration
alembic revision -m "Add a column"
...
alembic upgrade head | <|file_sep|>original/README.md
foreman run web
Or:
foreman run debug
Open a browser to http://localhost:5000/
## Run tests
source bin/activate
py.test --cov cihui -f test/
## Add a database migration
alembic revision -m "Add a column"
...
alembic upgrade head
See the
[alembic docs](h... | eeaac5e328fafc89c10aa02d75209447e85dbbbb | README.md | README.md | Markdown |
<|file_sep|>src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java.diff
original:
updated:
import java.util.Locale;
<|file_sep|>original/src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java
package co.phoenixlab.common.localization;
public interface LocaleStringProvider {
... | package co.phoenixlab.common.localization;
import java.util.Locale;
public interface LocaleStringProvider {
void setActiveLocale(Locale locale);
String get(String key);
boolean contains(String key);
} | <|file_sep|>src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java.diff
original:
updated:
import java.util.Locale;
<|file_sep|>original/src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java
package co.phoenixlab.common.localization;
public interface LocaleStringProvider {
... | 17522d3ecd1fd5fbe72c387eab826421f1d33b6f | src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java | src/main/java/co/phoenixlab/common/localization/LocaleStringProvider.java | Java |
<|file_sep|>original/src/Badge.jsx
children: React.PropTypes.node,
};
const Badge = ({
background,
className,
children,
}) => {
const classes = {
badge: true,
};
classes[`bg-${background}`] = true;
return (
<BsBadge bsClass={classNames(className, classes)}>{children}</BsBadge>
);
};
Badge.p... | };
const Badge = ({
background,
className,
children,
}) => {
const classes = {
badge: true,
};
if (background) {
classes[`bg-${background}`] = true;
}
return (
<BsBadge bsClass={classNames(className, classes)}>{children}</BsBadge>
);
};
Badge.propTypes = propTypes; | <|file_sep|>original/src/Badge.jsx
children: React.PropTypes.node,
};
const Badge = ({
background,
className,
children,
}) => {
const classes = {
badge: true,
};
classes[`bg-${background}`] = true;
return (
<BsBadge bsClass={classNames(className, classes)}>{children}</BsBadge>
);
};
Badge.p... | 69b85478cba68b76cea88a8c9120245e908b7719 | src/Badge.jsx | src/Badge.jsx | JSX |
<|file_sep|>original/Modules/ImageStatistics/Testing/files.cmake
set(MODULE_TESTS
mitkImageStatisticsCalculatorTest.cpp
mitkPointSetStatisticsCalculatorTest.cpp
mitkPointSetDifferenceStatisticsCalculatorTest.cpp
)
set(MODULE_CUSTOM_TESTS
mitkImageStatisticsHotspotTest.cpp
# mitkMultiGaussianTest.cpp # TODO: a... | set(MODULE_TESTS
mitkImageStatisticsCalculatorTest.cpp
mitkPointSetStatisticsCalculatorTest.cpp
mitkPointSetDifferenceStatisticsCalculatorTest.cpp
mitkImageStatisticsTextureAnalysisTest.cpp
)
set(MODULE_CUSTOM_TESTS
mitkImageStatisticsHotspotTest.cpp
# mitkMultiGaussianTest.cpp # TODO: activate test to gene... | <|file_sep|>original/Modules/ImageStatistics/Testing/files.cmake
set(MODULE_TESTS
mitkImageStatisticsCalculatorTest.cpp
mitkPointSetStatisticsCalculatorTest.cpp
mitkPointSetDifferenceStatisticsCalculatorTest.cpp
)
set(MODULE_CUSTOM_TESTS
mitkImageStatisticsHotspotTest.cpp
# mitkMultiGaussianTest.cpp # TODO: a... | be0f816755530794fde1081a060766d8c221092e | Modules/ImageStatistics/Testing/files.cmake | Modules/ImageStatistics/Testing/files.cmake | CMake |
<|file_sep|>original/.circleci/config.yml
jobs:
test:
working_directory: /go/src/github.com/goccy/go-yaml
docker:
- image: circleci/golang:1.15
environment:
GO111MODULE: "on"
steps:
- checkout
- run:
name: Download modules
command: |
go mod dow... | jobs:
test:
working_directory: /go/src/github.com/goccy/go-yaml
docker:
- image: circleci/golang:1.15
environment:
GO111MODULE: "on"
steps:
- checkout
- run:
name: merge base branch
command: |
git pull origin master
- run:
name:... | <|file_sep|>original/.circleci/config.yml
jobs:
test:
working_directory: /go/src/github.com/goccy/go-yaml
docker:
- image: circleci/golang:1.15
environment:
GO111MODULE: "on"
steps:
- checkout
- run:
name: Download modules
command: |
go mod dow... | abbf59a13f6b842c4ed0a3774e8ef59378c00da1 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/README.md
Usage
-----
Enable the extension in `config.rb`:
```
activate :middleman_simple_thumbnailer
```
And modify your `image_tag`'s by adding `resize_to` parameter:
```
= image_tag image, resize_to: '50x50', class: 'thumbnail'
```
Build/Development modes
-----
During development thumbnails... | Enable the extension in `config.rb`:
```
activate :middleman_simple_thumbnailer
```
And modify your `image_tag`'s by adding `resize_to` parameter:
```
= image_tag image, resize_to: '50x50', class: 'thumbnail'
```
You can also use the `image_path` helper the same way in place where you need only the path of the resize... | <|file_sep|>original/README.md
Usage
-----
Enable the extension in `config.rb`:
```
activate :middleman_simple_thumbnailer
```
And modify your `image_tag`'s by adding `resize_to` parameter:
```
= image_tag image, resize_to: '50x50', class: 'thumbnail'
```
Build/Development modes
-----
During development thumbnails... | 219dca0d6107601379f70e74f1062570b91758af | README.md | README.md | Markdown |
<|file_sep|>original/Nimble/Utils/Stringers.swift
let str = self.componentsJoinedByString(", ")
return "[\(str)]"
}
}
func stringify<T>(value: T?) -> String {
if value is Double {
return NSString(format: "%.4f", (value as Double))
}
return toString(value)
}
extension Optional: ... | if value != nil {
strings.append(stringify(value))
}
} while value != nil
let str = ", ".join(strings)
return "[\(str)]"
}
extension NSArray : NMBStringer {
func NMB_stringify() -> String {
let str = self.componentsJoinedByString(", ")
return "[\(str)]"
}... | <|file_sep|>original/Nimble/Utils/Stringers.swift
let str = self.componentsJoinedByString(", ")
return "[\(str)]"
}
}
func stringify<T>(value: T?) -> String {
if value is Double {
return NSString(format: "%.4f", (value as Double))
}
return toString(value)
}
extension Optional: ... | 99614b771ef1a50594645c0be9510f93ca201158 | Nimble/Utils/Stringers.swift | Nimble/Utils/Stringers.swift | Swift |
<|file_sep|>original/.github/ISSUE_TEMPLATE/addPost.yml
<|file_sep|>current/.github/ISSUE_TEMPLATE/addPost.yml
<|file_sep|>updated/.github/ISSUE_TEMPLATE/addPost.yml | name: Post
description: Escribir un nuevo post para nvdaes.github.io
title:
labels: [enhancement]
assignees:
- nvdaes
body:
- type: markdown
attributes:
value: |
Indica un título para el post y su cuerpo principal.
- type: input
id: postBody
attributes:
label: Texto del post
description: Cuerp... | <|file_sep|>original/.github/ISSUE_TEMPLATE/addPost.yml
<|file_sep|>current/.github/ISSUE_TEMPLATE/addPost.yml
<|file_sep|>updated/.github/ISSUE_TEMPLATE/addPost.yml
name: Post
description: Escribir un nuevo post para nvdaes.github.io
title:
labels: [enhancement]
assignees:
- nvdaes
body:
- type: markdown
attribu... | c6e6028e493d6fc33762a7b4cdad215af6a9e1df | .github/ISSUE_TEMPLATE/addPost.yml | .github/ISSUE_TEMPLATE/addPost.yml | YAML |
<|file_sep|>original/src/Auth/AuthManager.php
class AuthManager extends \Illuminate\Auth\AuthManager
{
/**
* {@inheritdoc}
*/
protected function callCustomCreator($driver)
{
$custom = parent::callCustomCreator($driver);
if ($custom instanceof Guard) {
return $custom;
... | class AuthManager extends \Illuminate\Auth\AuthManager
{
/**
* {@inheritdoc}
*/
public function createDatabaseDriver()
{
$provider = $this->createDatabaseProvider();
return new Guard($provider, $this->app['session.store']);
}
/**
* {@inheritdoc}
*/
public fu... | <|file_sep|>original/src/Auth/AuthManager.php
class AuthManager extends \Illuminate\Auth\AuthManager
{
/**
* {@inheritdoc}
*/
protected function callCustomCreator($driver)
{
$custom = parent::callCustomCreator($driver);
if ($custom instanceof Guard) {
return $custom;
... | 3f8d93becbefb89cbd832aebaff7d1c1376ca22a | src/Auth/AuthManager.php | src/Auth/AuthManager.php | PHP |
<|file_sep|>original/content/_includes/meta_tags.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{% if page.meta_description %}{{ page.meta_description }}{% else %}Ionic makes it incredibly easy to build beautiful and interactive mobil... | <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{% if page.meta_description %}{{ page.meta_description }}{% else %}Ionic makes it incredibly easy to build beautiful and interactive mobile apps using HTML5 and Angular.{% endif %}">
<meta nam... | <|file_sep|>original/content/_includes/meta_tags.html
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{% if page.meta_description %}{{ page.meta_description }}{% else %}Ionic makes it incredibly easy to build beautiful and interactive mobil... | fbeca8382376d84f5dde6cc0e8525c5cbc66a61c | content/_includes/meta_tags.html | content/_includes/meta_tags.html | HTML |
<|file_sep|>original/pyservice/common.py
DEFAULT_CONFIG = {
"protocol": "json",
"timeout": 2,
"strict": True
}
def scrub_output(context, whitelist, strict=True):
r = context.get("response", None)
if r is None:
context["response"] = {}
return
if not strict:
return
co... | DEFAULT_CONFIG = {
"protocol": "json",
"timeout": 2,
"strict": True
}
def scrub_output(context, whitelist, strict=True):
r = context.get("response", None)
if r is None:
context["response"] = {}
return
if not strict:
return
context["response"] = {k: r[k] for k in whi... | <|file_sep|>original/pyservice/common.py
DEFAULT_CONFIG = {
"protocol": "json",
"timeout": 2,
"strict": True
}
def scrub_output(context, whitelist, strict=True):
r = context.get("response", None)
if r is None:
context["response"] = {}
return
if not strict:
return
co... | ee43ade86df9eb30455e6026671776b1e5be01e5 | pyservice/common.py | pyservice/common.py | Python |
<|file_sep|>original/README.md
isthetoiletfree
===============
```
git remote add heroku git@heroku.com:isthetoiletfree.git
ssh isthetoiletfree.local
```
<|file_sep|>current/README.md
isthetoiletfree
===============
```
git remote add heroku git@heroku.com:isthetoiletfree.git
ssh isthetoiletfree.local
```
<|file_sep|... | isthetoiletfree
===============
```
git remote add heroku git@heroku.com:isthetoiletfree.git
ssh isthetoiletfree.local
```
To start the client (for now):
```
sudo screen -S isthetoiletfree -d -m $HOME/run.sh
``` | <|file_sep|>original/README.md
isthetoiletfree
===============
```
git remote add heroku git@heroku.com:isthetoiletfree.git
ssh isthetoiletfree.local
```
<|file_sep|>current/README.md
isthetoiletfree
===============
```
git remote add heroku git@heroku.com:isthetoiletfree.git
ssh isthetoiletfree.local
```
<|file_sep|... | 4496139eb563dcfd3a8110d1a616387ce50648a1 | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
alembic==0.9.7
antiorm==1.2.1
appdirs==1.4.3
chardet==3.0.4
codeclimate-test-reporter==0.2.3
coverage==4.4.2
dataset==1.0.5
db==0.1.1
db-sqlite3==0.0.1
ddt==1.1.1
Mako==1.0.7
MarkupSafe==1.0
normality==0.5.7
packaging==16.8
psycopg2==2.7.3.2
pygraphviz==1.3.1
pyparsing==2.2.0
pytho... | alembic==0.9.9
antiorm==1.2.1
appdirs==1.4.3
chardet==3.0.4
codeclimate-test-reporter==0.2.3
coverage==4.4.2
dataset==1.0.5
db==0.1.1
db-sqlite3==0.0.1
ddt==1.1.1
Mako==1.0.7
MarkupSafe==1.0
normality==0.5.7
packaging==16.8
psycopg2==2.7.3.2
pygraphviz==1.3.1
pyparsing==2.2.0
python-editor==1.0.3
PyYAML==3.12
requests=... | <|file_sep|>original/requirements.txt
alembic==0.9.7
antiorm==1.2.1
appdirs==1.4.3
chardet==3.0.4
codeclimate-test-reporter==0.2.3
coverage==4.4.2
dataset==1.0.5
db==0.1.1
db-sqlite3==0.0.1
ddt==1.1.1
Mako==1.0.7
MarkupSafe==1.0
normality==0.5.7
packaging==16.8
psycopg2==2.7.3.2
pygraphviz==1.3.1
pyparsing==2.2.0
pytho... | 584eb54aeccbe04fbcb3e19142f97d9175d7a074 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/views/job/index.html.erb
<|file_sep|>current/app/views/job/index.html.erb
<|file_sep|>updated/app/views/job/index.html.erb | <% title "Jobs Monitoring", "Running jobs and statistics" %>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Status</th>
<th>Dashboard</th>
<th>Chart</th>
</tr>
</thead>
<tbody>
<% @enqueued_jobs.each_with_index do |job, index| %>
<tr class="<%= 'info' if job.status == :running ... | <|file_sep|>original/app/views/job/index.html.erb
<|file_sep|>current/app/views/job/index.html.erb
<|file_sep|>updated/app/views/job/index.html.erb
<% title "Jobs Monitoring", "Running jobs and statistics" %>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Status</th>
<th>Dashboard</th>
... | e98f5cd2af923e9b0dfecfa1a634e7e70c1876c6 | app/views/job/index.html.erb | app/views/job/index.html.erb | HTML+ERB |
<|file_sep|>original/pyproject.toml
[tool.black]
py36 = true
exclude = '''
(
| \.git
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
)
'''
<|file_sep|>current/pyproject.toml
[tool.black]
py36 = true
exclude = '''
(
| \.git
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
)
'''
<|file_sep|>updat... | [tool.black]
py36 = true
exclude = '(\.git|\.mypy_cache|\.tox|\.venv|\.eggs|stubs)' | <|file_sep|>original/pyproject.toml
[tool.black]
py36 = true
exclude = '''
(
| \.git
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
)
'''
<|file_sep|>current/pyproject.toml
[tool.black]
py36 = true
exclude = '''
(
| \.git
| \.mypy_cache
| \.tox
| \.venv
| \.eggs
)
'''
<|file_sep|>updat... | e51aacd191a575a77603bc431484ea119ed7c246 | pyproject.toml | pyproject.toml | TOML |
<|file_sep|>original/t/compiler/harness.coffee
client.host = mysql.hostname
client.user = mysql.user
client.password = mysql.password
client.database = mysql.name
schema = {}
client.query """
SELECT columns.*
FROM information_schema.tables AS tables
JOIN in... | client.user = mysql.user
client.password = mysql.password
client.database = mysql.name
schema = {}
client.query """
SELECT columns.*
FROM information_schema.tables AS tables
JOIN information_schema.columns AS columns USING (table_catalog, table_schema, table_name)
... | <|file_sep|>original/t/compiler/harness.coffee
client.host = mysql.hostname
client.user = mysql.user
client.password = mysql.password
client.database = mysql.name
schema = {}
client.query """
SELECT columns.*
FROM information_schema.tables AS tables
JOIN in... | 20193c74f5df5b961b4dfc0acec4de1e125f3f32 | t/compiler/harness.coffee | t/compiler/harness.coffee | CoffeeScript |
<|file_sep|>package.json.diff
original:
updated:
"bin": {
"gelato": "bin/cli.js"
},
<|file_sep|>package.json.diff
original:
"postversion": "node_modules/.bin/bower update",
"test": "node_modules/.bin/jasmine"
},
"bin": {
"gelato": "bin/cli.js"
updated:
"postversion": "node_modules/.bin/bowe... | "url": "https://www.github.com/jernung/gelato.git"
},
"scripts": {
"postinstall": "node_modules/.bin/bower install",
"postversion": "node_modules/.bin/bower update"
},
"dependencies": {
"bower": "1.6.5",
"brunch": "1.8.5",
"cordova": "5.3.3",
"lodash": "3.10.1",
"minimist": "1.2.... | <|file_sep|>package.json.diff
original:
updated:
"bin": {
"gelato": "bin/cli.js"
},
<|file_sep|>package.json.diff
original:
"postversion": "node_modules/.bin/bower update",
"test": "node_modules/.bin/jasmine"
},
"bin": {
"gelato": "bin/cli.js"
updated:
"postversion": "node_modules/.bin/bowe... | c35d861025546ceb366caa1035cee96bae614bbf | package.json | package.json | JSON |
<|file_sep|>metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java.diff
original:
updated:
import org.junit.Before;
<|file_sep|>metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java.diff
original:
updated:
import static org.mockito.Mockito.mock;
import static org.m... | private final ClassLoadingGaugeSet gauges = new ClassLoadingGaugeSet(cl);
@Before
public void setUp() throws Exception {
when(cl.getTotalLoadedClassCount()).thenReturn(2L);
when(cl.getUnloadedClassCount()).thenReturn(1L);
}
@Test
public void loadedGauge() throws Exception {
... | <|file_sep|>metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java.diff
original:
updated:
import org.junit.Before;
<|file_sep|>metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java.diff
original:
updated:
import static org.mockito.Mockito.mock;
import static org.m... | 2fce902230bb7fef03bc8af30a7674bc974d440f | metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java | metrics-jvm/src/test/java/com/codahale/metrics/jvm/ClassLoadingGaugeSetTest.java | Java |
<|file_sep|>original/src/main/scala/com/anchortab/snippet/Util.scala
import JE._
import JsExp._
import util._
import Helpers._
import json._
import JsonDSL._
import Extraction._
import mongodb._
import BsonDSL._
class SimpleAnchorTabEvent(eventName:String) extends JsExp {
import Ser... | import JE._
import JsExp._
import util._
import Helpers._
import json._
import JsonDSL._
import Extraction._
import mongodb._
import BsonDSL._
class SimpleAnchorTabEvent(eventName:String) extends JsCmd {
import Serialization._
implicit def typeHints = Serialization.formats(NoType... | <|file_sep|>original/src/main/scala/com/anchortab/snippet/Util.scala
import JE._
import JsExp._
import util._
import Helpers._
import json._
import JsonDSL._
import Extraction._
import mongodb._
import BsonDSL._
class SimpleAnchorTabEvent(eventName:String) extends JsExp {
import Ser... | 00802d81c84e06b1f445238d7dcb26a564c72b34 | src/main/scala/com/anchortab/snippet/Util.scala | src/main/scala/com/anchortab/snippet/Util.scala | Scala |
<|file_sep|>original/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.21.0 # pyup: ignore, can't upgrade to a later version until we use Python 3.5
beautifulsoup4>=4.5.1
flake8==3.8.1
pytest==5.4.2
retry==0.9.2
selenium==3.141.0
notifications-python-client==5.6.0
<|file_sep|>current/requirements.txt
Flas... | Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.21.0 # pyup: ignore, can't upgrade to a later version until we use Python 3.5
beautifulsoup4>=4.5.1
flake8==3.8.2
pytest==5.4.2
retry==0.9.2
selenium==3.141.0
notifications-python-client==5.6.0 | <|file_sep|>original/requirements.txt
Flask>=0.11.1
Flask-Cache==0.13.1
requests==2.21.0 # pyup: ignore, can't upgrade to a later version until we use Python 3.5
beautifulsoup4>=4.5.1
flake8==3.8.1
pytest==5.4.2
retry==0.9.2
selenium==3.141.0
notifications-python-client==5.6.0
<|file_sep|>current/requirements.txt
Flas... | aa9fa9b40861bde912b6e02b8c2870b47aa454ca | requirements.txt | requirements.txt | Text |
<|file_sep|>original/docs/en/index.rst
The Doctrine ORM documentation is comprised of tutorials, a reference section and
cookbook articles that explain different parts of the Object Relational Mapper.
Getting Help
------------
If this documentation is not helping to answer questions you have about
Doctrine ORM don't ... | The Doctrine ORM documentation is comprised of tutorials, a reference section and
cookbook articles that explain different parts of the Object Relational Mapper.
Getting Help
------------
If this documentation is not helping to answer questions you have about
Doctrine ORM don't panic. You can get help from different ... | <|file_sep|>original/docs/en/index.rst
The Doctrine ORM documentation is comprised of tutorials, a reference section and
cookbook articles that explain different parts of the Object Relational Mapper.
Getting Help
------------
If this documentation is not helping to answer questions you have about
Doctrine ORM don't ... | 4bc261aa46d9b2411aee55e9d52cf39c463378d9 | docs/en/index.rst | docs/en/index.rst | reStructuredText |
<|file_sep|>original/azure-pipelines.yml
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
pushAsRelease: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/releases/')]
nugetChannelName: 'dev'
steps:
- script: "echo Build.SourceBranch: $(Build.SourceBranch); buildConfiguration: $(buil... | vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
pushAsRelease: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/releases/')]
nugetChannelName: 'dev'
steps:
- script: "echo Build.SourceBranch: $(Build.SourceBranch); buildConfiguration: $(buildConfiguration); pushAsRelease: $(pushAsR... | <|file_sep|>original/azure-pipelines.yml
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
pushAsRelease: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/releases/')]
nugetChannelName: 'dev'
steps:
- script: "echo Build.SourceBranch: $(Build.SourceBranch); buildConfiguration: $(buil... | bf76abcc34507e01ef0ba2fbd3875e2d19a8b33a | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>original/test/Transforms/SimplifyCFG/inline-asm-sink.ll
<|file_sep|>current/test/Transforms/SimplifyCFG/inline-asm-sink.ll
<|file_sep|>updated/test/Transforms/SimplifyCFG/inline-asm-sink.ll | ; RUN: opt < %s -simplifycfg -S | FileCheck %s
define i32 @test(i32 %x) {
; CHECK-LABEL: @test
entry:
%y = alloca i32, align 4
%tobool = icmp ne i32 %x, 0
br i1 %tobool, label %if.then, label %if.else
if.then:
; CHECK-LABEL: if.then:
; CHECK: [[ASM1:%.*]] = call i32 asm "mov $0, #1", "=r"()
%tmp1 = call i32 a... | <|file_sep|>original/test/Transforms/SimplifyCFG/inline-asm-sink.ll
<|file_sep|>current/test/Transforms/SimplifyCFG/inline-asm-sink.ll
<|file_sep|>updated/test/Transforms/SimplifyCFG/inline-asm-sink.ll
; RUN: opt < %s -simplifycfg -S | FileCheck %s
define i32 @test(i32 %x) {
; CHECK-LABEL: @test
entry:
%y = alloca... | bbe0f0519924047e19df893e69dc5abfe323066c | test/Transforms/SimplifyCFG/inline-asm-sink.ll | test/Transforms/SimplifyCFG/inline-asm-sink.ll | LLVM |
<|file_sep|>original/package.json
},
"contributors": [
{
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js",
"filte... | },
"contributors": [
{
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js",
"filter": "node filter.js"
},
"depen... | <|file_sep|>original/package.json
},
"contributors": [
{
"name": "Geir Gåsodden",
"email": "geir.gasodden@pythonia.no",
"url": "https://github.com/zrrrzzt"
}
],
"scripts": {
"test": "standard && tap --reporter=spec test/*.js",
"setup": "npm install && node setup.js",
"filte... | 7415e384d1d9707a8835ed49bbe1f095c39f5cad | package.json | package.json | JSON |
<|file_sep|>original/src/test/java/org/nwapw/abacus/tests/CalculationTests.java
<|file_sep|>current/src/test/java/org/nwapw/abacus/tests/CalculationTests.java
<|file_sep|>updated/src/test/java/org/nwapw/abacus/tests/CalculationTests.java | package org.nwapw.abacus.tests;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.nwapw.abacus.Abacus;
import org.nwapw.abacus.number.NumberInterface;
import org.nwapw.abacus.plugin.StandardPlugin;
import org.nwapw.abacus.tree.TreeNode;
public class CalculationTests {
private static Abacus abacus... | <|file_sep|>original/src/test/java/org/nwapw/abacus/tests/CalculationTests.java
<|file_sep|>current/src/test/java/org/nwapw/abacus/tests/CalculationTests.java
<|file_sep|>updated/src/test/java/org/nwapw/abacus/tests/CalculationTests.java
package org.nwapw.abacus.tests;
import org.junit.Assert;
import org.junit.Befor... | 21a925d6d25b009c655a7c3364dbf212c8174152 | src/test/java/org/nwapw/abacus/tests/CalculationTests.java | src/test/java/org/nwapw/abacus/tests/CalculationTests.java | Java |
<|file_sep|>original/Resources/config/helper.xml
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<param... | <?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="templating.helper.... | <|file_sep|>original/Resources/config/helper.xml
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<param... | 8956d7e71b5cb7eab79f18dce39c7ae05394426f | Resources/config/helper.xml | Resources/config/helper.xml | XML |
<|file_sep|>pkgs/tools/misc/file/default.nix.diff
original:
version = "5.36";
updated:
version = "5.35";
<|file_sep|>original/pkgs/tools/misc/file/default.nix
stdenv.mkDerivation rec {
name = "file-${version}";
version = "5.36";
src = fetchurl {
urls = [
"ftp://ftp.astron.com/pub/file/${name}.tar.... |
stdenv.mkDerivation rec {
name = "file-${version}";
version = "5.35";
src = fetchurl {
urls = [
"ftp://ftp.astron.com/pub/file/${name}.tar.gz"
"https://distfiles.macports.org/file/${name}.tar.gz"
];
sha256 = "0ijm1fabm68ykr1zbx0bxnka5jr3n42sj8y5mbkrnxs0fj0mxi1h";
};
nativeBuildInput... | <|file_sep|>pkgs/tools/misc/file/default.nix.diff
original:
version = "5.36";
updated:
version = "5.35";
<|file_sep|>original/pkgs/tools/misc/file/default.nix
stdenv.mkDerivation rec {
name = "file-${version}";
version = "5.36";
src = fetchurl {
urls = [
"ftp://ftp.astron.com/pub/file/${name}.tar.... | c2239ffde61d6ac07af333b8c12cbbd804257437 | pkgs/tools/misc/file/default.nix | pkgs/tools/misc/file/default.nix | Nix |
<|file_sep|>plugins/uservoice/index.coffee.diff
original:
subject: "#{event.error.exceptionClass} in #{event.error.context}"
updated:
subject: "[#{event.project.name}] #{event.error.exceptionClass} in #{event.error.context}"
<|file_sep|>plugins/uservoice/index.coffee.diff
original:
#{event.err... | subject: "[#{event.project.name}] #{event.error.exceptionClass} in #{event.error.context}"
message:
"""
#{event.error.exceptionClass} in #{event.error.context} for project #{event.project.name}
#{event.error.message if event.error.message}
#{event.error.url}
... | <|file_sep|>plugins/uservoice/index.coffee.diff
original:
subject: "#{event.error.exceptionClass} in #{event.error.context}"
updated:
subject: "[#{event.project.name}] #{event.error.exceptionClass} in #{event.error.context}"
<|file_sep|>plugins/uservoice/index.coffee.diff
original:
#{event.err... | ea726317860501342888d4401dd1409516b5e9f6 | plugins/uservoice/index.coffee | plugins/uservoice/index.coffee | CoffeeScript |
<|file_sep|>original/requirements.txt
# Installation
numpy
plotly==4.1.1
pynumpress==0.0.5
regex
ms_deisotope==0.0.9
dash==1.3.1
<|file_sep|>current/requirements.txt
# Installation
numpy
plotly==4.1.1
pynumpress==0.0.5
regex
ms_deisotope==0.0.9
dash==1.3.1
<|file_sep|>updated/requirements.txt | # Installation
numpy
plotly==4.1.1
pynumpress==0.0.5
regex
ms_deisotope==0.0.9
dash==1.4.0 | <|file_sep|>original/requirements.txt
# Installation
numpy
plotly==4.1.1
pynumpress==0.0.5
regex
ms_deisotope==0.0.9
dash==1.3.1
<|file_sep|>current/requirements.txt
# Installation
numpy
plotly==4.1.1
pynumpress==0.0.5
regex
ms_deisotope==0.0.9
dash==1.3.1
<|file_sep|>updated/requirements.txt
# Installation
numpy
plotl... | 9b37923ed4658ee75e4ab75d8b8c70484f2d71d0 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/server/helpers/wowCommunityApi.js
'eu',
'us',
'tw',
'kr',
];
export function fetchCharacter(region, realm, name, fields) {
region = region.toLowerCase();
if (!availableRegions.includes(region)) {
throw new Error('Region not recognized.');
}
return request.get({
url: `https... | 'eu',
'us',
'tw',
'kr',
];
export function fetchCharacter(region, realm, name, fields) {
region = region.toLowerCase();
if (!availableRegions.includes(region)) {
throw new Error('Region not recognized.');
}
return request.get({
url: `https://${region}.api.battle.net/wow/character/${encodeURICo... | <|file_sep|>original/server/helpers/wowCommunityApi.js
'eu',
'us',
'tw',
'kr',
];
export function fetchCharacter(region, realm, name, fields) {
region = region.toLowerCase();
if (!availableRegions.includes(region)) {
throw new Error('Region not recognized.');
}
return request.get({
url: `https... | 220fd1ef19968b06c794da0b068a786dfcf1765b | server/helpers/wowCommunityApi.js | server/helpers/wowCommunityApi.js | JavaScript |
<|file_sep|>original/developers/index.html
---
layout: default
title: For Developers
bodyclass: home
---
<p class="intro">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi, est, mollitia quia nihil deleniti placeat aperiam quidem repellat tempora eaque quos culpa cupiditate nesciunt eveniet saepe quis do... | ---
layout: default
title: For Developers
bodyclass: home
---
<p class="intro">For developers. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi, est, mollitia quia nihil deleniti placeat aperiam quidem repellat tempora eaque quos culpa cupiditate nesciunt eveniet saepe quis dolor incidunt molestias.</p>... | <|file_sep|>original/developers/index.html
---
layout: default
title: For Developers
bodyclass: home
---
<p class="intro">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Modi, est, mollitia quia nihil deleniti placeat aperiam quidem repellat tempora eaque quos culpa cupiditate nesciunt eveniet saepe quis do... | 5ced4fce6264f8cd54811897e57bc0d59656265c | developers/index.html | developers/index.html | HTML |
<|file_sep|>check-one.sh.diff
original:
#!/bin/bash
updated:
#!/bin/sh
<|file_sep|>check-one.sh.diff
original:
SERVER='localhost'
PORT=11400
./beanstalkd -p $PORT >/dev/null 2>/dev/null &
bg=$!
updated:
server=localhost
port=11400
tmpdir="$TMPDIR"
test -z "$tmpdir" && tmpdir=/tmp
tmpf="${tmpdir}/bnch$$"
nc='nc -q 1'
c... | exit 3
}
trap cleanup EXIT
trap catch HUP INT QUIT TERM
./beanstalkd -p $port >/dev/null 2>/dev/null &
bpid=$!
sleep .1
if ! ps $bpid >/dev/null; then
echo "Could not start beanstalkd for testing, port $port is taken"
exit 2
fi
# Run the test
fgrep -v "#" $commands | $nc $server $port > "$tmpf"
# Check the... | <|file_sep|>check-one.sh.diff
original:
#!/bin/bash
updated:
#!/bin/sh
<|file_sep|>check-one.sh.diff
original:
SERVER='localhost'
PORT=11400
./beanstalkd -p $PORT >/dev/null 2>/dev/null &
bg=$!
updated:
server=localhost
port=11400
tmpdir="$TMPDIR"
test -z "$tmpdir" && tmpdir=/tmp
tmpf="${tmpdir}/bnch$$"
nc='nc -q 1'
c... | c3e5c4c9e875b06e69d3d75de93f88bae25f3cba | check-one.sh | check-one.sh | Shell |
<|file_sep|>original/.bob.json
{
"build": "clean lint complexity test coverage test-integration doc",
"lint": {
"type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"test-integration": {
"type": "cmdt"
},
"coverage": {
"type": "buster-istanbul"
}... | "type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"test-integration": {
"type": "cmdt"
},
"coverage": {
"type": "buster-istanbul"
},
"doc": {
"type": "dox-foundation"
},
"site": {
"type": "gh-pages-cli"
}
} | <|file_sep|>original/.bob.json
{
"build": "clean lint complexity test coverage test-integration doc",
"lint": {
"type": "jshint"
},
"complexity": {
"type": "plato"
},
"test": {
"type": "buster"
},
"test-integration": {
"type": "cmdt"
},
"coverage": {
"type": "buster-istanbul"
}... | d8157408ade515ac17baeb274799694944508534 | .bob.json | .bob.json | JSON |
<|file_sep|>original/template/tsconfig.json
"@/*": ["src/*"]{{#if_eq projectType "lib"}},
"#/*": ["app/*"]{{/if_eq}}
},
"sourceMap": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"module": "es2015",
"moduleResolution": "node",
"n... | "@/*": ["src/*"]{{#if_eq projectType "lib"}},
"#/*": ["app/*"]{{/if_eq}}
},
"sourceMap": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"module": "es2015",
"moduleResolution": "node",
"noImplicitThis": true,
"lib": ["dom", "es... | <|file_sep|>original/template/tsconfig.json
"@/*": ["src/*"]{{#if_eq projectType "lib"}},
"#/*": ["app/*"]{{/if_eq}}
},
"sourceMap": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"module": "es2015",
"moduleResolution": "node",
"n... | acac828192c5c14aeef5e673c2d9a4b24a15e6eb | template/tsconfig.json | template/tsconfig.json | JSON |
<|file_sep|>original/.github/dependabot.yml
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: "00:00"
timezone: Europe/London
open-pull-requests-limit: 10
ignore:
- dependency-name: govuk-colours
versions:
- ">= 0"
- dependency-name: govuk-front... | version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: "monday"
time: "00:00"
timezone: Europe/London
open-pull-requests-limit: 10
ignore:
- dependency-name: govuk-colours
versions:
- ">= 0"
- dependency-name: govuk-frontend
versions:
- ">... | <|file_sep|>original/.github/dependabot.yml
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: "00:00"
timezone: Europe/London
open-pull-requests-limit: 10
ignore:
- dependency-name: govuk-colours
versions:
- ">= 0"
- dependency-name: govuk-front... | bbedad2c05d25b99f8ac73318a404a5c8cc1531d | .github/dependabot.yml | .github/dependabot.yml | YAML |
<|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt | /*
* Copyright (c) 2013-2014 Ian F. Darwin, http://darwinsys.com
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | <|file_sep|>original/LICENSE.txt
<|file_sep|>current/LICENSE.txt
<|file_sep|>updated/LICENSE.txt
/*
* Copyright (c) 2013-2014 Ian F. Darwin, http://darwinsys.com
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | 37217a49f84e79369997bf525cd7dac8f8c86e74 | LICENSE.txt | LICENSE.txt | Text |
<|file_sep|>original/transam_sign.gemspec
s.email = ["jray@camsys.com"]
s.homepage = "http://www.camsys.com"
s.summary = "Traffic Sign Extensions for TransAM."
s.description = "Traffic Sign Extensions for TransAM."
s.license = "MIT"
s.metadata = { "load_order" => "2" }
s.files = Dir["{a... | s.email = ["jray@camsys.com"]
s.homepage = "http://www.camsys.com"
s.summary = "Traffic Sign Extensions for TransAM."
s.description = "Traffic Sign Extensions for TransAM."
s.license = "MIT"
s.metadata = { "load_order" => "2" }
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "R... | <|file_sep|>original/transam_sign.gemspec
s.email = ["jray@camsys.com"]
s.homepage = "http://www.camsys.com"
s.summary = "Traffic Sign Extensions for TransAM."
s.description = "Traffic Sign Extensions for TransAM."
s.license = "MIT"
s.metadata = { "load_order" => "2" }
s.files = Dir["{a... | 9c58ee34f32670fb3d7fa4068cd28a464ba07372 | transam_sign.gemspec | transam_sign.gemspec | Ruby |
<|file_sep|>original/packages/li/line-size.yaml
<|file_sep|>current/packages/li/line-size.yaml
<|file_sep|>updated/packages/li/line-size.yaml | homepage: xy30.com
changelog-type: ''
hash: 8a8c4d4393ef94a9b5358a3030e9ec5bda707ba7958d30e08fb0c10bce4c2303
test-bench-deps: {}
maintainer: hawk.alan@gmail.com
synopsis: Display the number of bytes of each line
changelog: ''
basic-deps:
base: ! '>4 && <10000'
all-versions:
- '0.1.0.0'
author: Alan Hawkins
latest: '0... | <|file_sep|>original/packages/li/line-size.yaml
<|file_sep|>current/packages/li/line-size.yaml
<|file_sep|>updated/packages/li/line-size.yaml
homepage: xy30.com
changelog-type: ''
hash: 8a8c4d4393ef94a9b5358a3030e9ec5bda707ba7958d30e08fb0c10bce4c2303
test-bench-deps: {}
maintainer: hawk.alan@gmail.com
synopsis: Displ... | 6d79411eff24ee5820f7e7e950cbb08233cf28a6 | packages/li/line-size.yaml | packages/li/line-size.yaml | YAML |
<|file_sep|>original/app/views/homes/_home.html.haml
.listItemImage
/ image tag goes here
.itemInfo
.itemName= link_to_unless_current(home.name, home)
.itemStreet="#{home.street}, #{home.city}, #{home.state}"
- if home.rated?
- rating_class_name = case RatingLevel.for_home(home)
- when R... | %div{:class => "listItem #{home.long_term? ? '' : 'not_unisex'} #{home.family? ? '' : 'individual'}", "data-id" => home.id}
.listItemImage
/ image tag goes here
.itemInfo
.itemName= link_to_unless_current(home.name, home)
.itemStreet="#{home.street}, #{home.city}, #{home.state}"
.itemExtraInfo
... | <|file_sep|>original/app/views/homes/_home.html.haml
.listItemImage
/ image tag goes here
.itemInfo
.itemName= link_to_unless_current(home.name, home)
.itemStreet="#{home.street}, #{home.city}, #{home.state}"
- if home.rated?
- rating_class_name = case RatingLevel.for_home(home)
- when R... | 41aef2bb92db45dc401b5c4a646c7cfb9a1f2cd5 | app/views/homes/_home.html.haml | app/views/homes/_home.html.haml | Haml |
<|file_sep|>original/_posts/2015-06-22-sails.js-partials-pages-code-page-sections.markdown
date: 2015-06-22 14:00:44
author: "Lucas Gatsas"
header-img: "img/lucas-gatsas-213515241234.jpg"
---
<h2 class="section-heading">iOs - SDK - Objective-C</h2>
<h2 class="section-heading">"Beginning to develop a Prototype... | date: 2015-06-22 14:00:44
author: "Lucas Gatsas"
header-img: "img/lucas-gatsas-213515241234.jpg"
---
<h2 class="section-heading">iOs - SDK - Objective-C</h2>
<h2 class="section-heading">"Beginning to develop a Prototype of our iOs<br> Mobile App"</h2>
<br>
1. Layouts
2. Locals
3. Partials
4. View Engines
... | <|file_sep|>original/_posts/2015-06-22-sails.js-partials-pages-code-page-sections.markdown
date: 2015-06-22 14:00:44
author: "Lucas Gatsas"
header-img: "img/lucas-gatsas-213515241234.jpg"
---
<h2 class="section-heading">iOs - SDK - Objective-C</h2>
<h2 class="section-heading">"Beginning to develop a Prototype... | 23dfded5580345baa6557cb3ca35d80d14ad0dcb | _posts/2015-06-22-sails.js-partials-pages-code-page-sections.markdown | _posts/2015-06-22-sails.js-partials-pages-code-page-sections.markdown | Markdown |
<|file_sep|>original/.travis.yml
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
addons:
- rethinkdb: 2.3
install:
- pip install .
script: py.test tests/
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
on:
tags: true
<|file_sep|>current/.travis.yml
dist: xe... | dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
addons:
- rethinkdb: 2.3
install:
- pip install .[dev]
script: pytest
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
on:
tags: true | <|file_sep|>original/.travis.yml
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
addons:
- rethinkdb: 2.3
install:
- pip install .
script: py.test tests/
deploy:
provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
on:
tags: true
<|file_sep|>current/.travis.yml
dist: xe... | 3fbcb33f52e273f3777305bed5d02f50ebf57e7a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements/base.txt
sqlalchemy==1.1.9
kaptan==0.5.8
profilehooks==1.9.0
colorama==0.3.8 # Updated from 0.3.7
<|file_sep|>current/requirements/base.txt
sqlalchemy==1.1.9
kaptan==0.5.8
profilehooks==1.9.0
colorama==0.3.8 # Updated from 0.3.7
<|file_sep|>updated/requirements/base.txt | sqlalchemy==1.1.9
kaptan==0.5.8
profilehooks==1.9.0
colorama==0.3.9 # Updated from 0.3.7 | <|file_sep|>original/requirements/base.txt
sqlalchemy==1.1.9
kaptan==0.5.8
profilehooks==1.9.0
colorama==0.3.8 # Updated from 0.3.7
<|file_sep|>current/requirements/base.txt
sqlalchemy==1.1.9
kaptan==0.5.8
profilehooks==1.9.0
colorama==0.3.8 # Updated from 0.3.7
<|file_sep|>updated/requirements/base.txt
sqlalchemy==1.1... | ee129b30d9b1fdbfa044b749b58c330941859e5b | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>ui/templates/partials/header.html.diff
original:
updated:
<div class="HeaderCTA HeaderCTA--sponsors">
<a href="/media/webcampzg_2016_sponsors.pdf" class="HeaderCTA-action Button Button--beta Button--rounded">Become a sponsor</a>
</div>
<|file_... | <div class="Punchline {% if keynote and keynotes %}Punchline--keynotes{% endif %}">
<div class="Wrapper Wrapper--narrow">
{% if sponsors_cta %}
<div class="HeaderCTA HeaderCTA--sponsors">
<a href="/media/webcampzg_2016_sponsors.pdf" class="... | <|file_sep|>ui/templates/partials/header.html.diff
original:
updated:
<div class="HeaderCTA HeaderCTA--sponsors">
<a href="/media/webcampzg_2016_sponsors.pdf" class="HeaderCTA-action Button Button--beta Button--rounded">Become a sponsor</a>
</div>
<|file_... | df7613af84c36b45524716a3a0f7be20b9eb1a68 | ui/templates/partials/header.html | ui/templates/partials/header.html | HTML |
<|file_sep|>original/embedded-aerospike/pom.xml
<parent>
<artifactId>testcontainers-spring-boot</artifactId>
<groupId>com.playtika.testcontainers</groupId>
<version>1.37-SNAPSHOT</version>
</parent>
<artifactId>embedded-aerospike</artifactId>
<properties>
<aerospike-cl... |
<parent>
<artifactId>testcontainers-spring-boot</artifactId>
<groupId>com.playtika.testcontainers</groupId>
<version>1.37-SNAPSHOT</version>
</parent>
<artifactId>embedded-aerospike</artifactId>
<properties>
<aerospike-client.version>4.4.8</aerospike-client.version>
... | <|file_sep|>original/embedded-aerospike/pom.xml
<parent>
<artifactId>testcontainers-spring-boot</artifactId>
<groupId>com.playtika.testcontainers</groupId>
<version>1.37-SNAPSHOT</version>
</parent>
<artifactId>embedded-aerospike</artifactId>
<properties>
<aerospike-cl... | 22faeb77298f8187f6537a9318d2e548ea5a5029 | embedded-aerospike/pom.xml | embedded-aerospike/pom.xml | XML |
<|file_sep|>original/res/layout/list_item_navigation.xml
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITE... |
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINF... | <|file_sep|>original/res/layout/list_item_navigation.xml
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITE... | 85da7e76ea129e4eb1405a5d84892c73cb687b7a | res/layout/list_item_navigation.xml | res/layout/list_item_navigation.xml | XML |
<|file_sep|>original/source/assets/stylesheets/modules/_navigation.scss
.nav-header > li {
float: none;
}
}
.nav-footer ul { margin-bottom: 0; }
/*Create more space for logo*/
.navbar-brand {
padding-top: 12px;
padding-bottom: 12px;
}
.navbar-nav {
font-weight: 500;
}
.navbar-toggle {
padding-top: ... |
/*Create more space for logo*/
.navbar-brand {
padding-top: 12px;
padding-bottom: 12px;
}
.navbar-nav {
font-weight: 500;
}
.navbar-toggle {
padding-top: 3px;
padding-bottom: 3px;
}
.nav-social {
@include breakpoint($xs) {
display: none;
}
} | <|file_sep|>original/source/assets/stylesheets/modules/_navigation.scss
.nav-header > li {
float: none;
}
}
.nav-footer ul { margin-bottom: 0; }
/*Create more space for logo*/
.navbar-brand {
padding-top: 12px;
padding-bottom: 12px;
}
.navbar-nav {
font-weight: 500;
}
.navbar-toggle {
padding-top: ... | 04894cbea12f59ee266d8aaeae80450c5df94fce | source/assets/stylesheets/modules/_navigation.scss | source/assets/stylesheets/modules/_navigation.scss | SCSS |
<|file_sep|>tests/mocha/client/displayAListOfPlaces.js.diff
original:
setTimeout(function (){
describe('The Route "/"', function () {
it('Should have the title "Map"', function () {
var title = document.title
console.log(title)
chai.assert.include(title, 'Map')
})... | })
describe('A list of places', function () {
it('Should have a main section with the class map', function () {
var map = $('main.map')
chai.assert.ok(map.length > 0)
})
it('Should contain map__places', function () {
var placesList = $('main.map ul.map__places')
... | <|file_sep|>tests/mocha/client/displayAListOfPlaces.js.diff
original:
setTimeout(function (){
describe('The Route "/"', function () {
it('Should have the title "Map"', function () {
var title = document.title
console.log(title)
chai.assert.include(title, 'Map')
})... | 1b73efa26e8778cf9755b407acc00d55494e4a16 | tests/mocha/client/displayAListOfPlaces.js | tests/mocha/client/displayAListOfPlaces.js | JavaScript |
<|file_sep|>server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt.diff
original:
@OneToMany(cascade = [CascadeType.ALL])
updated:
@OneToMany(cascade = [CascadeType.ALL], orphanRemoval = true)
<|file_sep|>original/server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity... | package com.sebastiansokolowski.auctionhunter.entity
import javax.persistence.*
@Entity
@Table(name = "target")
data class Target(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
var id: Long = 0,
var name: String = "",
var categoryId: String = "",
var phrase: S... | <|file_sep|>server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt.diff
original:
@OneToMany(cascade = [CascadeType.ALL])
updated:
@OneToMany(cascade = [CascadeType.ALL], orphanRemoval = true)
<|file_sep|>original/server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity... | 4d8045f70e878e8b1cd5004be0f838e434e3ceaf | server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt | server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt | Kotlin |
<|file_sep|>test/fixtures/MultiToggler.html.diff
original:
<button class="is-active" data-mas-toggler-target="2">Show panel 2</button>
updated:
<a class="is-active" href="#" data-mas-toggler-target="2">Show panel 2</a>
<|file_sep|>original/test/fixtures/MultiToggler.html
<div class="js-multi-toggler">
<div cl... | <div class="js-multi-toggler">
<div class="is-active" data-mas-toggler="1">Panel 1
<a class="is-active" href="#" data-mas-toggler-target="2">Show panel 2</a>
</div>
<div class="is-inactive" data-mas-toggler="2">Panel 2
<a class="is-inactive" href="#" data-mas-toggler-target="1">Show panel 1</a>
</div>
<... | <|file_sep|>test/fixtures/MultiToggler.html.diff
original:
<button class="is-active" data-mas-toggler-target="2">Show panel 2</button>
updated:
<a class="is-active" href="#" data-mas-toggler-target="2">Show panel 2</a>
<|file_sep|>original/test/fixtures/MultiToggler.html
<div class="js-multi-toggler">
<div cl... | 27e04aca3e12264a174a8898c3bc22a6bce5da5b | test/fixtures/MultiToggler.html | test/fixtures/MultiToggler.html | HTML |
<|file_sep|>original/public/javascripts/ckcustom.js
{
config.PreserveSessionOnFileBrowser = true;
// Define changes to default configuration here. For example:
//config.language = '';
config.uiColor = '#E0ECFF';
config.toolbar = 'Basic';
config.entities_greek = false;
config.entities_latin = false;
config.e... | /*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
config.PreserveSessionOnFileBrowser = true;
// Define changes to default configuration here. For example:
//config.languag... | <|file_sep|>original/public/javascripts/ckcustom.js
{
config.PreserveSessionOnFileBrowser = true;
// Define changes to default configuration here. For example:
//config.language = '';
config.uiColor = '#E0ECFF';
config.toolbar = 'Basic';
config.entities_greek = false;
config.entities_latin = false;
config.e... | b2b0de8ad12664271ab58bf74182b106f859e78d | public/javascripts/ckcustom.js | public/javascripts/ckcustom.js | JavaScript |
<|file_sep|>original/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.5.0
coverage==4.4.1
Sphinx==1.4.8
sphinx-rtd-theme==0.1.9
<|file_sep|>current/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.5.0
coverage==4.4.1
Sphin... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.4.1
tox==2.5.0
coverage==4.4.1
Sphinx==1.4.8
sphinx-rtd-theme==0.1.9 | <|file_sep|>original/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.5.0
coverage==4.4.1
Sphinx==1.4.8
sphinx-rtd-theme==0.1.9
<|file_sep|>current/requirements.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.0.4
tox==2.5.0
coverage==4.4.1
Sphin... | 98d674338b0a331f295afe27819593bd1e14c0f2 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
<div ng-controller="UnregisteredDashboardController">
<div>
<h2>Regular Poller?</h2>
Register for more config choices. It's free!
</div>
<form name="quickPollForm" ng-submit="createPoll(p... | <div ng-controller="UnregisteredDashboardController">
<form name="quickPollForm" ng-submit="createPoll(pollQuestion)">
<div id="question-block">
Your Question <br />
<input id="question" placeholder="E.g. Where should we go for lunch?" ng-model="pollQuestion" required />
</d... | <|file_sep|>original/VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
<div ng-controller="UnregisteredDashboardController">
<div>
<h2>Regular Poller?</h2>
Register for more config choices. It's free!
</div>
<form name="quickPollForm" ng-submit="createPoll(p... | a01267bc6f38c3dec3f1bf4caa020b671bf9ed79 | VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml | C# |
<|file_sep|>original/docs/introduction/getting-started.md
---
id: getting-started
title: Getting Started
sidebar_label: Getting Started
---
The [webmiddle-starter-app](https://github.com/webmiddle/webmiddle-starter-app) can be used to quickly bootstrap a new `webmiddle` application.
Download and extract it: https://g... | ---
id: getting-started
title: Getting Started
sidebar_label: Getting Started
---
The [webmiddle-starter-app](https://github.com/webmiddle/webmiddle-starter-app) can be used to quickly bootstrap a new `webmiddle` application.
Download and extract it: https://github.com/webmiddle/webmiddle-starter-app/archive/v0.1.1.z... | <|file_sep|>original/docs/introduction/getting-started.md
---
id: getting-started
title: Getting Started
sidebar_label: Getting Started
---
The [webmiddle-starter-app](https://github.com/webmiddle/webmiddle-starter-app) can be used to quickly bootstrap a new `webmiddle` application.
Download and extract it: https://g... | 1d0efa4422d21df898e41c6f06e90229dd688786 | docs/introduction/getting-started.md | docs/introduction/getting-started.md | Markdown |
<|file_sep|>package.json.diff
original:
"start": "node index.js"
updated:
"start": "node index.js",
"test": "./node_modules/.bin/mocha --compilers js:babel/register tests/**/"
<|file_sep|>original/package.json
"dependencies": {
"archiver": "^1.0.0",
"async": "^1.5.0",
"babel": "^5.8.23",
"... | "archiver": "^1.0.0",
"async": "^1.5.0",
"babel": "^5.8.23",
"bids-validator": "0.18.7",
"body-parser": "^1.14.0",
"cron": "^1.1.0",
"express": "^4.13.3",
"juice": "^2.0.0",
"moment": "^2.14.1",
"mongodb": "^2.0.46",
"morgan": "^1.6.1",
"nodemailer": "^2.5.0",
"reques... | <|file_sep|>package.json.diff
original:
"start": "node index.js"
updated:
"start": "node index.js",
"test": "./node_modules/.bin/mocha --compilers js:babel/register tests/**/"
<|file_sep|>original/package.json
"dependencies": {
"archiver": "^1.0.0",
"async": "^1.5.0",
"babel": "^5.8.23",
"... | 894fe08eb2909a35ade3cc99d8bd8844b690bcfc | package.json | package.json | JSON |
<|file_sep|>original/changes/backends/jenkins/generic_builder.py
from .builder import JenkinsBuilder
class JenkinsGenericBuilder(JenkinsBuilder):
def __init__(self, *args, **kwargs):
self.script = kwargs.pop('script')
self.cluster = kwargs.pop('cluster')
super(JenkinsGenericBuilder, self).... | from .builder import JenkinsBuilder
class JenkinsGenericBuilder(JenkinsBuilder):
def __init__(self, *args, **kwargs):
self.script = kwargs.pop('script')
self.cluster = kwargs.pop('cluster')
super(JenkinsGenericBuilder, self).__init__(*args, **kwargs)
def get_job_parameters(self, job, ... | <|file_sep|>original/changes/backends/jenkins/generic_builder.py
from .builder import JenkinsBuilder
class JenkinsGenericBuilder(JenkinsBuilder):
def __init__(self, *args, **kwargs):
self.script = kwargs.pop('script')
self.cluster = kwargs.pop('cluster')
super(JenkinsGenericBuilder, self).... | 6dd523e0d92c39f1a3e4c9be2dac0442535bb88f | changes/backends/jenkins/generic_builder.py | changes/backends/jenkins/generic_builder.py | Python |
<|file_sep|>docs/reviewbot/tools/cppcheck.rst.diff
original:
updated:
<|file_sep|>docs/reviewbot/tools/cppcheck.rst.diff
original:
updated:
Supported File Types
====================
The following are supported by this tool:
* C/C++: :file:`*.c`, :file:`*.cc`, :file:`*.cpp`, :file:`*.cxx`,
:file:`*.c++`, :file:... |
Installation
============
The :command:`cppcheck` tool is available in most system package managers.
On Ubuntu/Debian::
$ sudo apt-get install cppcheck
On RHEL/CentOS/Fedora::
$ sudo yum install cppcheck
On macOS using Homebrew_::
$ brew install cppcheck
See the `Cppcheck downloads page`_ for othe... | <|file_sep|>docs/reviewbot/tools/cppcheck.rst.diff
original:
updated:
<|file_sep|>docs/reviewbot/tools/cppcheck.rst.diff
original:
updated:
Supported File Types
====================
The following are supported by this tool:
* C/C++: :file:`*.c`, :file:`*.cc`, :file:`*.cpp`, :file:`*.cxx`,
:file:`*.c++`, :file:... | bf065fcc91e38f65f1d045c86c1ca00a8776e116 | docs/reviewbot/tools/cppcheck.rst | docs/reviewbot/tools/cppcheck.rst | reStructuredText |
<|file_sep|>original/lib/alfabank/api/base.rb
def make_request
HTTParty.post(url, body: generate_params, format: :json)
end
def generate_params
fail NotImplementedError, "this method should be overridden"
end
def url
Alfabank::Configuration.mode == :production ? self.class::URL ... |
def make_request
HTTParty.post(url, body: generate_params, format: :json)
end
def generate_params
fail NotImplementedError, "this method should be overridden"
end
def url
Alfabank::Configuration.mode.to_s == 'production' ? self.class::URL : self.class::TEST_URL
end
def ... | <|file_sep|>original/lib/alfabank/api/base.rb
def make_request
HTTParty.post(url, body: generate_params, format: :json)
end
def generate_params
fail NotImplementedError, "this method should be overridden"
end
def url
Alfabank::Configuration.mode == :production ? self.class::URL ... | 357f50d909062ddedf2eab450aee8965b0e53f43 | lib/alfabank/api/base.rb | lib/alfabank/api/base.rb | Ruby |
<|file_sep|>original/stream/src/main/java/com/annimon/stream/operator/ObjDistinct.java
public class ObjDistinct<T> extends LsaExtIterator<T> {
private final Iterator<? extends T> iterator;
private final Set<T> set;
public ObjDistinct(Iterator<? extends T> iterator) {
this.iterator = iterator;
... |
public class ObjDistinct<T> extends LsaExtIterator<T> {
private final Iterator<? extends T> iterator;
private final Set<T> set;
public ObjDistinct(Iterator<? extends T> iterator) {
this.iterator = iterator;
set = new HashSet<T>();
}
@Override
protected void nextIteration() {
... | <|file_sep|>original/stream/src/main/java/com/annimon/stream/operator/ObjDistinct.java
public class ObjDistinct<T> extends LsaExtIterator<T> {
private final Iterator<? extends T> iterator;
private final Set<T> set;
public ObjDistinct(Iterator<? extends T> iterator) {
this.iterator = iterator;
... | 1b8bdca8955abe4bbf4b59b9cb528e06bf13b249 | stream/src/main/java/com/annimon/stream/operator/ObjDistinct.java | stream/src/main/java/com/annimon/stream/operator/ObjDistinct.java | Java |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
only:
- master
- develop
before_script:
- curl http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source
script: vendor/bin/phpunit
<|file_sep|>current/.travis.yml
lan... | language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
branches:
only:
- master
- develop
before_script:
- curl http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source
script: vendor/bin/phpunit | <|file_sep|>original/.travis.yml
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
branches:
only:
- master
- develop
before_script:
- curl http://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source
script: vendor/bin/phpunit
<|file_sep|>current/.travis.yml
lan... | cd7f66631367cdf21c3aca403ae7a48fd53a6e31 | .travis.yml | .travis.yml | YAML |
<|file_sep|>editorsnotes/auth/templates/auth_base.html.diff
original:
<link rel="stylesheet" href="{% static "admin_compiled.css" %}">
updated:
<link rel="stylesheet" href="{% static "style.css" %}">
<|file_sep|>original/editorsnotes/auth/templates/auth_base.html
<!doctype html>
<html>
<head>
<link rel="... |
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="{% static "style.css" %}">
</head>
<body>
<nav class="bg-black">
<div class="bg-lighten-1 border-bottom px3 py2">
<div class="silver container flex flex-center flex-justify">
<div class="h3"><a class="silver" href="/">Worki... | <|file_sep|>editorsnotes/auth/templates/auth_base.html.diff
original:
<link rel="stylesheet" href="{% static "admin_compiled.css" %}">
updated:
<link rel="stylesheet" href="{% static "style.css" %}">
<|file_sep|>original/editorsnotes/auth/templates/auth_base.html
<!doctype html>
<html>
<head>
<link rel="... | a60044091506e24dd16c0f6d9569261435214419 | editorsnotes/auth/templates/auth_base.html | editorsnotes/auth/templates/auth_base.html | HTML |
<|file_sep|>views/gallery.jade.diff
original:
rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom" rel="nofollow">http://www.w3.org/2005/Atom</a>')
updated:
rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom", rel="nofollow">http://www.w3.org/2005/Atom</a>')
<|file_sep|>views/gallery.ja... | if images.length
lastBuildDate= formatDate(images[0].datetime)
each image in images
if !image.is_album
item
title=image.title
link <a href="#{image.link}" rel="nofollow">#{image.link}</a>
pubDate= formatDate(image.datetime)
description
| <... | <|file_sep|>views/gallery.jade.diff
original:
rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom" rel="nofollow">http://www.w3.org/2005/Atom</a>')
updated:
rss(version='2.0', xmlns:atom='<a href="http://www.w3.org/2005/Atom", rel="nofollow">http://www.w3.org/2005/Atom</a>')
<|file_sep|>views/gallery.ja... | d1085b2cc57f172b327fdfb84873c4a8d9a968dd | views/gallery.jade | views/gallery.jade | Jade |
<|file_sep|>original/include/elf.h
<|file_sep|>current/include/elf.h
<|file_sep|>updated/include/elf.h | /*-
* Copyright (c) 1997 John D. Polstra.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | <|file_sep|>original/include/elf.h
<|file_sep|>current/include/elf.h
<|file_sep|>updated/include/elf.h
/*-
* Copyright (c) 1997 John D. Polstra.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... | be0936b342aa7da598866dfcc826c967f90b96d1 | include/elf.h | include/elf.h | C |
<|file_sep|>tests/online/badssl.c.diff
original:
updated:
static bool g_has_ssl = true;
#else
static bool g_has_ssl = false;
#endif
<|file_sep|>tests/online/badssl.c.diff
original:
updated:
if (!g_has_ssl)
cl_skip();
<|file_sep|>tests/online/badssl.c.diff
original:
updated:
if (!g_has_ssl)
cl_skip();
<|file_... | cl_git_fail_with(GIT_ECERTIFICATE,
git_clone(&g_repo, "https://expired.badssl.com/fake.git", "./fake", NULL));
}
void test_online_badssl__wrong_host(void)
{
if (!g_has_ssl)
cl_skip();
cl_git_fail_with(GIT_ECERTIFICATE,
git_clone(&g_repo, "https://wrong.host.badssl.com/fake.git", "./fake", NULL));
}
void... | <|file_sep|>tests/online/badssl.c.diff
original:
updated:
static bool g_has_ssl = true;
#else
static bool g_has_ssl = false;
#endif
<|file_sep|>tests/online/badssl.c.diff
original:
updated:
if (!g_has_ssl)
cl_skip();
<|file_sep|>tests/online/badssl.c.diff
original:
updated:
if (!g_has_ssl)
cl_skip();
<|file_... | 505e4531b7e52daf6caa9eac9904d9a014e0d14f | tests/online/badssl.c | tests/online/badssl.c | C |
<|file_sep|>web/concrete/css/ccm_app/loaders.less.diff
original:
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
updated:
.translate3d(0, 0, 0);
<|file_sep|>original/web/concrete/css/ccm_app/loaders.less
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
... |
.translate3d(0, 0, 0);
.transition(all 1.0s linear);
&.ccm-modal-overlay-active {
background-color: rgba(0, 0, 0, 0.4);
}
#ccm-loader {
.translate3d(0, 0, 0);
.opacity(0);
position: absolute;
width: 100px;
height: 100px;
.border-radius(10px);
top: 50%;
left: 50%;
margin-top: -50px;
margi... | <|file_sep|>web/concrete/css/ccm_app/loaders.less.diff
original:
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
updated:
.translate3d(0, 0, 0);
<|file_sep|>original/web/concrete/css/ccm_app/loaders.less
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
... | 87e5019077acae24f1203f4e5676b0bebd4298d2 | web/concrete/css/ccm_app/loaders.less | web/concrete/css/ccm_app/loaders.less | Less |
<|file_sep|>original/docs/use_with/vue.md
Create the following Vue directive
```js
import Vue from 'vue'
import iframeResize from 'iframe-resizer/js/iframeResizer';
Vue.directive('resize', {
bind: function(el, { value = {} }) {
el.addEventListener('load', () => iframeResize(value, el))
}
})
```
and then inc... |
Create the following Vue directive
```js
import Vue from 'vue'
import iframeResize from 'iframe-resizer/js/iframeResizer';
Vue.directive('resize', {
bind: function(el, { value = {} }) {
el.addEventListener('load', () => iframeResize(value, el))
},
unbind: function (el) {
el.iFrameResizer.removeListener... | <|file_sep|>original/docs/use_with/vue.md
Create the following Vue directive
```js
import Vue from 'vue'
import iframeResize from 'iframe-resizer/js/iframeResizer';
Vue.directive('resize', {
bind: function(el, { value = {} }) {
el.addEventListener('load', () => iframeResize(value, el))
}
})
```
and then inc... | d283210af8c1111a48ff9a7f2864bfe0e6ef25f7 | docs/use_with/vue.md | docs/use_with/vue.md | Markdown |
<|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html | ---
layout: base
---
<header class="head-intro">
<p class="tag">love what you do.</p>
</header>
<footer class="foot">
<ul>
<li><a href="http://twitter.com/thomasmeagher" class="twitter">@thomasmeagher</a></li>
<li><a href="http://github.com/thomasmeagher" class="github">@thomasmeagher</a></li>
</ul>... | <|file_sep|>original/index.html
<|file_sep|>current/index.html
<|file_sep|>updated/index.html
---
layout: base
---
<header class="head-intro">
<p class="tag">love what you do.</p>
</header>
<footer class="foot">
<ul>
<li><a href="http://twitter.com/thomasmeagher" class="twitter">@thomasmeagher</a></li>
... | 447b7a0273a0a818405648aa49f9671f5af79b1d | index.html | index.html | HTML |
<|file_sep|>src/objectptr.cpp.diff
original:
#if defined(_WIN32)
return InterlockedExchangePointer(destination, newValue);
#else
updated:
<|file_sep|>original/src/objectptr.cpp
*/
#include <log4cxx/helpers/objectptr.h>
#include <log4cxx/helpers/exception.h>
#include <apr_atomic.h>
using namespace log4cxx::helpe... | * limitations under the License.
*/
#include <log4cxx/helpers/objectptr.h>
#include <log4cxx/helpers/exception.h>
#include <apr_atomic.h>
using namespace log4cxx::helpers;
void ObjectPtrBase::checkNull(const int& null) {
if (null != 0)
{
throw IllegalArgumentException("Attempt to s... | <|file_sep|>src/objectptr.cpp.diff
original:
#if defined(_WIN32)
return InterlockedExchangePointer(destination, newValue);
#else
updated:
<|file_sep|>original/src/objectptr.cpp
*/
#include <log4cxx/helpers/objectptr.h>
#include <log4cxx/helpers/exception.h>
#include <apr_atomic.h>
using namespace log4cxx::helpe... | 60a5d804d8de541ec21206e9b146a0b847273a99 | src/objectptr.cpp | src/objectptr.cpp | C++ |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.6
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
... | language: node_js
node_js:
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
- npm install | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- 0.6
- 0.8
branches:
only:
- master
- travis-ci
# Not using `npm install --dev` because it is recursive. It will pull in the all
# development dependencies for CoffeeScript. Way too much spew in the Travis CI
# build output.
before_install:
... | 4de91906c10f4cfaedb6581b55bf8f96f36ccadb | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/css/jquery.fileupload.css
overflow: hidden;
display: inline-block;
}
.fileinput-button input {
position: absolute;
top: 0;
right: 0;
margin: 0;
opacity: 0;
-ms-filter: 'alpha(opacity=0)';
font-size: 200px;
direction: ltr;
cursor: pointer;
}
/* Fixes for IE < 8 */
@media scree... | overflow: hidden;
display: inline-block;
}
.fileinput-button input {
position: absolute;
top: 0;
right: 0;
margin: 0;
opacity: 0;
-ms-filter: 'alpha(opacity=0)';
font-size: 200px !important;
direction: ltr;
cursor: pointer;
}
/* Fixes for IE < 8 */
@media screen\9 {
.fileinput-button input {
... | <|file_sep|>original/css/jquery.fileupload.css
overflow: hidden;
display: inline-block;
}
.fileinput-button input {
position: absolute;
top: 0;
right: 0;
margin: 0;
opacity: 0;
-ms-filter: 'alpha(opacity=0)';
font-size: 200px;
direction: ltr;
cursor: pointer;
}
/* Fixes for IE < 8 */
@media scree... | 556dfa8bea39219bda088a52ed1903d322108621 | css/jquery.fileupload.css | css/jquery.fileupload.css | CSS |
<|file_sep|>original/README.md
#Welcome to ManageIQ
[](https://codeclimate.com/repos/5147defff3ea002e2e0007d9/feed)
[](http://ccmonitor.manag... | #Welcome to ManageIQ
[](https://codeclimate.com/github/ManageIQ/manageiq)
ManageIQ delivers the insight, control, and automation enterprises need to address the challenges of managing hybrid cloud environments. It has the following feature sets:
... | <|file_sep|>original/README.md
#Welcome to ManageIQ
[](https://codeclimate.com/repos/5147defff3ea002e2e0007d9/feed)
[](http://ccmonitor.manag... | 10926bdd3c0d58d330669a05da99968f1e1a00f9 | README.md | README.md | Markdown |
<|file_sep|>original/examples/reset_password.html
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
{% if error %}
<p>{{ error }}</p>
{% endif %}
<form method="POST" action="/reset-password">
<label for="password">New Password</label>
<input type="password" name=... | <!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
{% if error %}
<p>{{ error }}</p>
{% endif %}
<form method="POST" action="/auth/fogot_password/reset_password">
<label for="password">New Password</label>
<input type="password" name="password"><br>
<label for="... | <|file_sep|>original/examples/reset_password.html
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
{% if error %}
<p>{{ error }}</p>
{% endif %}
<form method="POST" action="/reset-password">
<label for="password">New Password</label>
<input type="password" name=... | faa739924994acc3d61459db9b75ffa81cd87bcb | examples/reset_password.html | examples/reset_password.html | HTML |
<|file_sep|>packages/ya/yarn-lock.yaml.diff
original:
homepage: https://github.com/Profpatsch/yaml-lock#readme
changelog-type: ''
hash: 7f71a6d434d1955f8aca5159b9f05ceb88167d584dadfac844cd58cf43d5adea
test-bench-deps: {}
updated:
homepage: https://github.com/Profpatsch/yarn-lock#readme
changelog-type: markdown
hash: 7f... | - data types representing the yarn file
- Lockfile type that is a simple `Map`
'
basic-deps:
base: ==4.*
text: -any
megaparsec: ==5.*
protolude: ! '>=0.1'
containers: -any
all-versions:
- '0.1.0'
- '0.2.0'
author: Profpatsch
latest: '0.2.0'
description-type: haddock
description: Types and parser for t... | <|file_sep|>packages/ya/yarn-lock.yaml.diff
original:
homepage: https://github.com/Profpatsch/yaml-lock#readme
changelog-type: ''
hash: 7f71a6d434d1955f8aca5159b9f05ceb88167d584dadfac844cd58cf43d5adea
test-bench-deps: {}
updated:
homepage: https://github.com/Profpatsch/yarn-lock#readme
changelog-type: markdown
hash: 7f... | f7eca48996141c626721388389faa3ffd8f5712e | packages/ya/yarn-lock.yaml | packages/ya/yarn-lock.yaml | YAML |
<|file_sep|>recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh.diff
original:
tiipclad_params=lad.txt
updated:
tiipclad_params="-l lad.txt"
<|file_sep|>original/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
#! /bin/sh
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params=lad.txt
test -x "$tiipclad_daemon" || exit 0
case "$1" in
... | #! /bin/sh
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params="-l lad.txt"
test -x "$tiipclad_daemon" || exit 0
case "$1" in
start)
echo -n "Starting tiipclad daemon"
start-stop-daemon --start --quiet \
--exec $tiipclad_daemon -- $tiipclad_params
echo "."
;;
stop)
echo -n "Stoppi... | <|file_sep|>recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh.diff
original:
tiipclad_params=lad.txt
updated:
tiipclad_params="-l lad.txt"
<|file_sep|>original/recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh
#! /bin/sh
tiipclad_daemon=/usr/bin/__LAD_DAEMON__
tiipclad_params=lad.txt
test -x "$tiipclad_daemon" || exit 0
case "$1" in
... | fc80f04360d5c67e4501eb8b292b67864b2a3aad | recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh | recipes-ti/ipc/ti-ipc/tiipclad-daemon.sh | Shell |
<|file_sep|>gulpfile.js.diff
original:
.pipe(zip('mibew-operator-status-plugin-' + version + '.zip')),
updated:
.pipe(zip('operator-status-plugin-' + version + '.zip')),
<|file_sep|>original/gulpfile.js
gzip = require('gulp-gzip'),
rename = require('gulp-rename');
gulp.task('prepare-rel... | gzip = require('gulp-gzip'),
rename = require('gulp-rename');
gulp.task('prepare-release', function() {
var version = require('./package.json').version;
return eventStream.merge(
getSources()
.pipe(zip('operator-status-plugin-' + version + '.zip')),
getSources()
... | <|file_sep|>gulpfile.js.diff
original:
.pipe(zip('mibew-operator-status-plugin-' + version + '.zip')),
updated:
.pipe(zip('operator-status-plugin-' + version + '.zip')),
<|file_sep|>original/gulpfile.js
gzip = require('gulp-gzip'),
rename = require('gulp-rename');
gulp.task('prepare-rel... | 3ddcb227dbf98ab1f232dea8341cf70b63b95164 | gulpfile.js | gulpfile.js | JavaScript |
<|file_sep|>original/src/courses/cs-98-198/index.md
{.#} CS 98/198: Web Design Decal
{.#++}
{.#} Topics
{.#++}
<div data-markdown class="cards">
<div data-markdown>
{.#} {.link topics/html-basics/index.md | HTML Basics}
Jotting down things on a web page.
</div>
<div data-markdown>
{.#} Box Model... |
{.#} CS 98/198: Web Design DeCal
{.#++}
{.#} Topics
{.#++}
<div data-markdown class="cards">
<div data-markdown>
{.#} {.link topics/html-basics/index.md | HTML Basics}
Jotting down things on a web page.
</div>
<div data-markdown>
{.#} Box Model
Don't take <q>boxes</q> literally cuz they are mor... | <|file_sep|>original/src/courses/cs-98-198/index.md
{.#} CS 98/198: Web Design Decal
{.#++}
{.#} Topics
{.#++}
<div data-markdown class="cards">
<div data-markdown>
{.#} {.link topics/html-basics/index.md | HTML Basics}
Jotting down things on a web page.
</div>
<div data-markdown>
{.#} Box Model... | df915e1dfe43fe04e7e2a8a1c5cb1b1161e37366 | src/courses/cs-98-198/index.md | src/courses/cs-98-198/index.md | Markdown |
<|file_sep|>original/requirements.txt
coverage==4.5.3
coveralls==1.6.0
cryptography==2.6.1
hyperlink==18.0.0
idna==2.8
incremental==17.5.0
nose==1.3.7
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
pytest==4.3.0
pyOpenSSL==19.0.0
pytest-cov==2.6.1
service-identity==18.1.0
six==1.12.0
Sphinx==1.8.3
sphinx-rtd-theme... | coverage==4.5.3
coveralls==1.6.0
cryptography==2.6.1
hyperlink==18.0.0
idna==2.8
incremental==17.5.0
nose==1.3.7
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
pytest==4.4.1
pyOpenSSL==19.0.0
pytest-cov==2.6.1
service-identity==18.1.0
six==1.12.0
Sphinx==1.8.3
sphinx-rtd-theme==0.4.3
sphinxcontrib-napoleon==0.7
sp... | <|file_sep|>original/requirements.txt
coverage==4.5.3
coveralls==1.6.0
cryptography==2.6.1
hyperlink==18.0.0
idna==2.8
incremental==17.5.0
nose==1.3.7
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
pytest==4.3.0
pyOpenSSL==19.0.0
pytest-cov==2.6.1
service-identity==18.1.0
six==1.12.0
Sphinx==1.8.3
sphinx-rtd-theme... | 1179b75a91da4752294dd7562eb70e4e0e9774b7 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/S05-metasyntax/changed.t
ok($str ~~ /./, '. matches something');
ok($str ~~ /c.d/, '. matches \n');
# ^ and $ now always match the start/end of a string, like the old \A and \z.
ok($str ~~ /^abc/, '^ matches beginning of string');
ok(!($str ~~ /^de/), '^ does not match \n... | ok($str ~~ /./, '. matches something');
ok($str ~~ /c.d/, '. matches \n');
# ^ and $ now always match the start/end of a string, like the old \A and \z.
ok($str ~~ /^abc/, '^ matches beginning of string');
ok(!($str ~~ /^de/), '^ does not match \n');
ok($str ~~ /def$/, '$ matches end of s... | <|file_sep|>original/S05-metasyntax/changed.t
ok($str ~~ /./, '. matches something');
ok($str ~~ /c.d/, '. matches \n');
# ^ and $ now always match the start/end of a string, like the old \A and \z.
ok($str ~~ /^abc/, '^ matches beginning of string');
ok(!($str ~~ /^de/), '^ does not match \n... | 8f437dbcccb0ff64b2073c4425e0634c90443a5f | S05-metasyntax/changed.t | S05-metasyntax/changed.t | Perl |
<|file_sep|>original/lib/request_log_analyzer/class_level_inheritable_attributes.rb
module RequestLogAnalyzer
module ClassLevelInheritableAttributes
def inheritable_attributes(*args)
@inheritable_attributes ||= [:inheritable_attributes]
@inheritable_attributes += args
args.each do |arg|
... | def inheritable_attributes(*args)
@inheritable_attributes ||= [:inheritable_attributes]
@inheritable_attributes += args
args.each do |arg|
class_eval %(
class << self; attr_accessor :#{arg} end
)
end
@inheritable_attributes
end
def inherited(subclass)... | <|file_sep|>original/lib/request_log_analyzer/class_level_inheritable_attributes.rb
module RequestLogAnalyzer
module ClassLevelInheritableAttributes
def inheritable_attributes(*args)
@inheritable_attributes ||= [:inheritable_attributes]
@inheritable_attributes += args
args.each do |arg|
... | cb980e1f7a64e94583c19046789294127115dcef | lib/request_log_analyzer/class_level_inheritable_attributes.rb | lib/request_log_analyzer/class_level_inheritable_attributes.rb | Ruby |
<|file_sep|>NOTICE.txt.diff
original:
updated:
<|file_sep|>original/NOTICE.txt
The Galileo Project is licensed under the 2-clause BSD license:
http://opensource.org/licenses/BSD-2-Clause
This project includes additional software dependencies:
====================================================================... | The Galileo Project is licensed under the 2-clause BSD license:
http://opensource.org/licenses/BSD-2-Clause
This project includes additional software dependencies:
================================================================================
Apache Commons Math
Copyright 2001-2014 The Apache Software Foundatio... | <|file_sep|>NOTICE.txt.diff
original:
updated:
<|file_sep|>original/NOTICE.txt
The Galileo Project is licensed under the 2-clause BSD license:
http://opensource.org/licenses/BSD-2-Clause
This project includes additional software dependencies:
====================================================================... | a97e9ca1d26271b9edb9f9bd9dc1154ccdda59ff | NOTICE.txt | NOTICE.txt | Text |
<|file_sep|>main.go.diff
original:
err := cmd.Run()
updated:
err := cmd.Start()
<|file_sep|>main.go.diff
original:
fmt.Fprintf(os.Stderr, "pew: %v\n", err)
os.Exit(1)
updated:
exit(err)
}
err = cmd.Wait()
if err != nil {
exit(err)
<|file_sep|>original/main.go
package main
import (
"fmt"
"os"
"os/exec"
... | )
func main() {
command := os.Args[1:]
cmd := exec.Command(command[0], command[1:]...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Start()
if err != nil {
exit(err)
}
err = cmd.Wait()
if err != nil {
exit(err)
}
}
func exit(err error) {
fmt.Fprintf(os.Stderr, "pew: %v\n", err)
os.Exit(1)
... | <|file_sep|>main.go.diff
original:
err := cmd.Run()
updated:
err := cmd.Start()
<|file_sep|>main.go.diff
original:
fmt.Fprintf(os.Stderr, "pew: %v\n", err)
os.Exit(1)
updated:
exit(err)
}
err = cmd.Wait()
if err != nil {
exit(err)
<|file_sep|>original/main.go
package main
import (
"fmt"
"os"
"os/exec"
... | 44c830670f242705d17b89225669c2d1fe45c700 | main.go | main.go | Go |
<|file_sep|>tests/ControllerTest.php.diff
original:
$request = null;
updated:
$dispatcher = new \Phalcon\Mvc\Dispatcher();
$request = new Phalcon\Http\Request();
<|file_sep|>tests/ControllerTest.php.diff
original:
$controller->request = $request;
updated:
$controller-... |
use PHPUnit\Framework\TestCase;
class ControllerTest extends TestCase
{
public function testGetDefaultParam()
{
$controller = new \Frogg\Controller();
$dispatcher = new \Phalcon\Mvc\Dispatcher();
$request = new Phalcon\Http\Request();
$defaultValue = 'Default Value';
... | <|file_sep|>tests/ControllerTest.php.diff
original:
$request = null;
updated:
$dispatcher = new \Phalcon\Mvc\Dispatcher();
$request = new Phalcon\Http\Request();
<|file_sep|>tests/ControllerTest.php.diff
original:
$controller->request = $request;
updated:
$controller-... | 0fe95683829223749796f3ce4e7b4fbc51bf33f4 | tests/ControllerTest.php | tests/ControllerTest.php | PHP |
<|file_sep|>_protected/framework/Payment/Gateway/Api/Provider.class.php.diff
original:
* @return object this
updated:
* @return self
<|file_sep|>original/_protected/framework/Payment/Gateway/Api/Provider.class.php
/**
* @param string $sName
* @param string $sValue
*
* @return object t... |
/**
* @param string $sName
* @param string $sValue
*
* @return self
*/
public function param($sName, $sValue)
{
$this->aParams[$sName] = $sValue;
return $this;
}
/**
* Generate Output.
*
* @return string HTML tags
*/
public function... | <|file_sep|>_protected/framework/Payment/Gateway/Api/Provider.class.php.diff
original:
* @return object this
updated:
* @return self
<|file_sep|>original/_protected/framework/Payment/Gateway/Api/Provider.class.php
/**
* @param string $sName
* @param string $sValue
*
* @return object t... | 0e6a3eee149298c8ca9902a6313fe1db56972516 | _protected/framework/Payment/Gateway/Api/Provider.class.php | _protected/framework/Payment/Gateway/Api/Provider.class.php | PHP |
<|file_sep|>original/settings/l10n/fr.php
<?php
$TRANSLATIONS = array(
"If you don't know your password, please see below, section <a href=\"#user_servervars2\">Useful Informations For Connection With Login/Password</a>." => "Si vous ne connaissez pas votre mot de passe, voyez plus bas la section <a href=\"#user_server... | <?php
$TRANSLATIONS = array(
"If you don't know your password, please see below, section <a href=\"#user_servervars2\">Useful Informations For Connection With Login/Password</a>." => "Si vous ne connaissez pas votre mot de passe, voyez plus bas la section <a href=\"#user_servervars2\">Informations utiles pour la connex... | <|file_sep|>original/settings/l10n/fr.php
<?php
$TRANSLATIONS = array(
"If you don't know your password, please see below, section <a href=\"#user_servervars2\">Useful Informations For Connection With Login/Password</a>." => "Si vous ne connaissez pas votre mot de passe, voyez plus bas la section <a href=\"#user_server... | b1e08bc58f2f3966ff9dfb78f3e908b30aa3d57e | settings/l10n/fr.php | settings/l10n/fr.php | PHP |
<|file_sep|>pages/registry/index.html.diff
original:
title: "Registry"
updated:
title: "Honeymoon Fund"
<|file_sep|>original/pages/registry/index.html
---
layout: page
title: "Registry"
header-img: "assets/owner/hero/about-bg.jpg"
permalink: /registry/
---
<h2 style="text-align:center;">TBD</h2>
<|file_sep|>current/pag... | ---
layout: page
title: "Honeymoon Fund"
header-img: "assets/owner/hero/about-bg.jpg"
permalink: /registry/
---
<p>Ben and I have been living together for a few years and building a home together. We decided not to do the traditional registry because our house is already full of the things we would need.</p>
<p>We have... | <|file_sep|>pages/registry/index.html.diff
original:
title: "Registry"
updated:
title: "Honeymoon Fund"
<|file_sep|>original/pages/registry/index.html
---
layout: page
title: "Registry"
header-img: "assets/owner/hero/about-bg.jpg"
permalink: /registry/
---
<h2 style="text-align:center;">TBD</h2>
<|file_sep|>current/pag... | f8c23bd3b267fbca47aaf27dfa18963ff2066639 | pages/registry/index.html | pages/registry/index.html | HTML |
<|file_sep|>fixtures/dom/README.md.diff
original:
# Manual Testing Fixtures
updated:
# DOM Fixtures
<|file_sep|>fixtures/dom/README.md.diff
original:
This folder exists for **React contributors** only.
If you use React you don't need to worry about it.
updated:
A set of DOM test cases for quickly identifying browser ... | # DOM Fixtures
A set of DOM test cases for quickly identifying browser issues.
## Setup
To reference a local build of React, first run `npm run build` at the root
of the React project. Then:
```
cd fixtures/dom
npm install
npm start
```
The `start` command runs a script that copies over the local build of react in... | <|file_sep|>fixtures/dom/README.md.diff
original:
# Manual Testing Fixtures
updated:
# DOM Fixtures
<|file_sep|>fixtures/dom/README.md.diff
original:
This folder exists for **React contributors** only.
If you use React you don't need to worry about it.
updated:
A set of DOM test cases for quickly identifying browser ... | 9d3ceb689547de937a5991c2c790fb671ab3aa00 | fixtures/dom/README.md | fixtures/dom/README.md | Markdown |
<|file_sep|>original/.forestry/front_matter/templates/hghg.yml
---
label: hghg
hide_body: true
fields: []
<|file_sep|>current/.forestry/front_matter/templates/hghg.yml
---
label: hghg
hide_body: true
fields: []
<|file_sep|>updated/.forestry/front_matter/templates/hghg.yml | ---
label: hghg
hide_body: true
fields:
- name: hhhh
type: blocks
label: bbbb
template_types:
- hghg
config:
min:
max:
description: bbbb | <|file_sep|>original/.forestry/front_matter/templates/hghg.yml
---
label: hghg
hide_body: true
fields: []
<|file_sep|>current/.forestry/front_matter/templates/hghg.yml
---
label: hghg
hide_body: true
fields: []
<|file_sep|>updated/.forestry/front_matter/templates/hghg.yml
---
label: hghg
hide_body: true
fields:
- name:... | 2002888a70b04ecd9c8363eefc82ae3e9ee98f38 | .forestry/front_matter/templates/hghg.yml | .forestry/front_matter/templates/hghg.yml | YAML |
<|file_sep|>original/tests/test_manifest_delivery_base.py
from app.config import QueueNames
def test_queue_names_set_in_manifest_delivery_base_correctly():
with open("manifest-delivery-base.yml", 'r') as stream:
search = ' -Q '
yml_commands = [y['command'] for y in yaml.load(stream)['applications'... | def test_queue_names_set_in_manifest_delivery_base_correctly():
with open("manifest-delivery-base.yml", 'r') as stream:
search = ' -Q '
yml_commands = [y['command'] for y in yaml.load(stream)['applications']]
watched_queues = set()
for command in yml_commands:
start_of_q... | <|file_sep|>original/tests/test_manifest_delivery_base.py
from app.config import QueueNames
def test_queue_names_set_in_manifest_delivery_base_correctly():
with open("manifest-delivery-base.yml", 'r') as stream:
search = ' -Q '
yml_commands = [y['command'] for y in yaml.load(stream)['applications'... | f14107b723bcf62b327b10d8726b2bf8ef2031eb | tests/test_manifest_delivery_base.py | tests/test_manifest_delivery_base.py | Python |
<|file_sep|>original/test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb
<% @users.each do |user| %>
user = hudson.model.User.get("<%= user['short_name'] %>")
user.setFullName("<%= user['long_name'] %>")
email = new hudson.tasks.Mailer.UserProperty("<%= user['email'] %>")
user.addPro... | <% @users.each do |user| %>
user = hudson.model.User.get("<%= user['short_name'] %>")
user.setFullName("<%= user['full_name'] %>")
email = new hudson.tasks.Mailer.UserProperty("<%= user['email'] %>")
user.addProperty(email)
user.save()
<% end %> | <|file_sep|>original/test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb
<% @users.each do |user| %>
user = hudson.model.User.get("<%= user['short_name'] %>")
user.setFullName("<%= user['long_name'] %>")
email = new hudson.tasks.Mailer.UserProperty("<%= user['email'] %>")
user.addPro... | 3821062945c2a2682cd9bac87f7ac1adf0ac3e48 | test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb | test/fixtures/cookbooks/jenkins_script/templates/default/create_jenkins_user.groovy.erb | HTML+ERB |
<|file_sep|>original/.github/workflows/ci.yml
- name: Set up JDK
uses: actions/setup-java@v2.5.0
with:
distribution: 'zulu'
java-version: '11'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Cache Gradle Home files
uses: ac... | - name: Set up JDK
uses: actions/setup-java@v2.5.0
with:
distribution: 'zulu'
java-version: '11'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Cache Gradle Home files
uses: actions/cache@v3.0.3
continue-on-error: ... | <|file_sep|>original/.github/workflows/ci.yml
- name: Set up JDK
uses: actions/setup-java@v2.5.0
with:
distribution: 'zulu'
java-version: '11'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Cache Gradle Home files
uses: ac... | 0bfd95cd1fa93afde28355acab368000467425f5 | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>README.md.diff
original:
3. Execute `source init` to install the dots manager and initialize your
updated:
3. Organize your dotfiles into their respective configuration groups.
4. Execute `source init` to install the dots manager and initialize your
<|file_sep|>README.md.diff
original:
4. Execute `dots... |
For example you could have a `machines/desktop` configuration group for
your desktop and a `machines/laptop` configuration group for your laptop.
You could also for example have a `common/develop` for configuration files
specifically used for development tools.
3. Organize your dotfiles into their re... | <|file_sep|>README.md.diff
original:
3. Execute `source init` to install the dots manager and initialize your
updated:
3. Organize your dotfiles into their respective configuration groups.
4. Execute `source init` to install the dots manager and initialize your
<|file_sep|>README.md.diff
original:
4. Execute `dots... | abe4c44c61c5d91d4b21f567f61e5868dda37597 | README.md | README.md | Markdown |
<|file_sep|>original/notifications/new_relic.sh
<|file_sep|>current/notifications/new_relic.sh
<|file_sep|>updated/notifications/new_relic.sh | #!/bin/sh
# Notify New Relic about a new deployment
# https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/setting-deployment-notifications#examples
#
# You can either add those here, or configure them on the environment tab of your
# project settings.
NEW_RELIC_API_KEY=""
NEW_RELIC_APP=""
curl https://api.new... | <|file_sep|>original/notifications/new_relic.sh
<|file_sep|>current/notifications/new_relic.sh
<|file_sep|>updated/notifications/new_relic.sh
#!/bin/sh
# Notify New Relic about a new deployment
# https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/setting-deployment-notifications#examples
#
# You can either ... | 9f3e339821f7ede57c6a589292c0c1b8bf0d2b45 | notifications/new_relic.sh | notifications/new_relic.sh | Shell |
<|file_sep|>original/config/meta.json
{
"name": "Archetype",
"version": "1.8",
"url": "http://github.com/imulus/archetype/",
"author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.",
"authorUrl": "http://imulus.com/",
"license": "MIT",
"licenseUrl": "http://ope... | {
"name": "Archetype",
"version": "1.12.4",
"url": "http://github.com/imulus/archetype/",
"author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.",
"authorUrl": "http://imulus.com/",
"license": "MIT",
"licenseUrl": "http://opensource.org/licenses/MIT"
} | <|file_sep|>original/config/meta.json
{
"name": "Archetype",
"version": "1.8",
"url": "http://github.com/imulus/archetype/",
"author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.",
"authorUrl": "http://imulus.com/",
"license": "MIT",
"licenseUrl": "http://ope... | 89aeca9bf06785241006b4fef89ab5ccc449aef0 | config/meta.json | config/meta.json | JSON |
<|file_sep|>lib/githubber.rb.diff
original:
updated:
require "githubber/teams"
<|file_sep|>original/lib/githubber.rb
require "httparty"
require "pry"
require "githubber/version"
require "githubber/pull_requests"
require "githubber/issues"
require "githubber/search"
module Githubber
# Your code goes here...
bindi... | require "pry"
require "githubber/version"
require "githubber/pull_requests"
require "githubber/issues"
require "githubber/search"
require "githubber/teams"
module Githubber
# Your code goes here...
class App
def initialize
puts "What is your auth token?"
token = gets.chomp
@teams = Teams.new(... | <|file_sep|>lib/githubber.rb.diff
original:
updated:
require "githubber/teams"
<|file_sep|>original/lib/githubber.rb
require "httparty"
require "pry"
require "githubber/version"
require "githubber/pull_requests"
require "githubber/issues"
require "githubber/search"
module Githubber
# Your code goes here...
bindi... | 5f5cb22ed161798327800ed93c843940164c5f46 | lib/githubber.rb | lib/githubber.rb | Ruby |
<|file_sep|>original/docs/resources.md
---
id: resources
title: Resources
---
## Talks
* [Taming Forms in React](https://2018.reactjsday.it/talks.html) by
[Jared Palmer](https://twitter.com/jaredpalmer) @ React.js Day Italy. October 5th, 2018.
* [Taming Forms in React](http://reactalicante.es/) by
[Jared Palmer](... | ---
id: resources
title: Resources
---
## Talks
* [Taming Forms in React](https://2018.reactjsday.it/talks.html) by
[Jared Palmer](https://twitter.com/jaredpalmer) @ React.js Day Italy. October 5th, 2018.
* [Taming Forms in React](http://reactalicante.es/) by
[Jared Palmer](https://twitter.com/jaredpalmer) @ Reac... | <|file_sep|>original/docs/resources.md
---
id: resources
title: Resources
---
## Talks
* [Taming Forms in React](https://2018.reactjsday.it/talks.html) by
[Jared Palmer](https://twitter.com/jaredpalmer) @ React.js Day Italy. October 5th, 2018.
* [Taming Forms in React](http://reactalicante.es/) by
[Jared Palmer](... | b5ce100b851124aa38eeeed931fd7805ba65a831 | docs/resources.md | docs/resources.md | Markdown |
<|file_sep|>original/numpy/version.py
version='0.9.7'
import os
svn_version_file = os.path.join(os.path.dirname(__file__),
'core','__svn_version__.py')
if os.path.isfile(svn_version_file):
import imp
svn = imp.load_module('numpy.core.__svn_version__',
o... | version='0.9.9'
import os
svn_version_file = os.path.join(os.path.dirname(__file__),
'core','__svn_version__.py')
if os.path.isfile(svn_version_file):
import imp
svn = imp.load_module('numpy.core.__svn_version__',
open(svn_version_file),
... | <|file_sep|>original/numpy/version.py
version='0.9.7'
import os
svn_version_file = os.path.join(os.path.dirname(__file__),
'core','__svn_version__.py')
if os.path.isfile(svn_version_file):
import imp
svn = imp.load_module('numpy.core.__svn_version__',
o... | 2bbc289ce21365e18b04cb865328c494b75075fd | numpy/version.py | numpy/version.py | Python |
<|file_sep|>pyall/doct-1.0.2/meta.yaml.diff
original:
updated:
- humanize
- prettytable
<|file_sep|>pyall/doct-1.0.2/meta.yaml.diff
original:
updated:
- six
<|file_sep|>original/pyall/doct-1.0.2/meta.yaml
git_rev: v1.0.2
build:
number: 0
requirements:
build:
- python
run:
- python
-... | number: 0
requirements:
build:
- humanize
- prettytable
- python
- six
run:
- humanize
- prettytable
- python
- six
test:
imports:
# Import all the packages
- doct
about: | <|file_sep|>pyall/doct-1.0.2/meta.yaml.diff
original:
updated:
- humanize
- prettytable
<|file_sep|>pyall/doct-1.0.2/meta.yaml.diff
original:
updated:
- six
<|file_sep|>original/pyall/doct-1.0.2/meta.yaml
git_rev: v1.0.2
build:
number: 0
requirements:
build:
- python
run:
- python
-... | 245626ef4a62dfce90fd962d0632adf818028ff7 | pyall/doct-1.0.2/meta.yaml | pyall/doct-1.0.2/meta.yaml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.