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/installer/UnixShortcutSpec.xml
<?xml version="1.0" encoding="UTF-8"?>
<shortcuts>
<programGroup defaultName="eXist-db XML Database" location="applications"/>
<shortcut
name="org-exist-start-Main"
genericName="eXist-db"
type="Application"
encoding="UTF-8"
target="$JAVA_HOME/bin/java"
... | <?xml version="1.0" encoding="UTF-8"?>
<shortcuts>
<programGroup defaultName="eXist-db XML Database" location="applications"/>
<shortcut
name="eXist-db Database"
genericName="eXist-db"
type="Application"
encoding="UTF-8"
target="$JAVA_HOME/bin/java"
commandLine="-jar start.jar"
workingDirectory="$INS... | <|file_sep|>original/installer/UnixShortcutSpec.xml
<?xml version="1.0" encoding="UTF-8"?>
<shortcuts>
<programGroup defaultName="eXist-db XML Database" location="applications"/>
<shortcut
name="org-exist-start-Main"
genericName="eXist-db"
type="Application"
encoding="UTF-8"
target="$JAVA_HOME/bin/java"
... | 450acabab266d566b6d0fc0cd93217a5f196f6e8 | installer/UnixShortcutSpec.xml | installer/UnixShortcutSpec.xml | XML |
<|file_sep|>original/provision/install-rvm.sh
#!/usr/bin/env bash
curl -sSL https://get.rvm.io | bash -s $1
<|file_sep|>current/provision/install-rvm.sh
#!/usr/bin/env bash
curl -sSL https://get.rvm.io | bash -s $1
<|file_sep|>updated/provision/install-rvm.sh | #!/usr/bin/env bash
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s $1 | <|file_sep|>original/provision/install-rvm.sh
#!/usr/bin/env bash
curl -sSL https://get.rvm.io | bash -s $1
<|file_sep|>current/provision/install-rvm.sh
#!/usr/bin/env bash
curl -sSL https://get.rvm.io | bash -s $1
<|file_sep|>updated/provision/install-rvm.sh
#!/usr/bin/env bash
gpg --keyserver hkp://keys.gnupg.net ... | 09718ffd864ddc75dd801bdea957ae684463f682 | provision/install-rvm.sh | provision/install-rvm.sh | Shell |
<|file_sep|>original/CONTRIBUTING.md
# Contributing code
Contributions to the code-base are very welcome. If you plan to work
on something you want to submit a PR for, feel free to open an issue
in order to discuss implementation details or make sure your idea fits
with the scope or aim of the project.
## Branching
... | ## Branching
* The tip of the `master` branch is the current dev version.
* Separate tasks are done in branches, using explicit names like
`feature/*`, `experiment/*`, `refactor/*`, `fix/*` whenever possible.
* Branches are usually merged using a non-fast-forward merge.
## Coding conventions
To ensure a consistent f... | <|file_sep|>original/CONTRIBUTING.md
# Contributing code
Contributions to the code-base are very welcome. If you plan to work
on something you want to submit a PR for, feel free to open an issue
in order to discuss implementation details or make sure your idea fits
with the scope or aim of the project.
## Branching
... | b0a4c78fc40e211c91b7c6d26e39ea56a5502a28 | CONTRIBUTING.md | CONTRIBUTING.md | Markdown |
<|file_sep|>original/lib/tasks/evm.rake
end
desc "Report Status of the ManageIQ EVM Application"
task :status => :environment do
EvmApplication.status
end
task :update_start do
EvmApplication.update_start
end
task :update_stop => :environment do
EvmApplication.update_stop
end
task :com... | end
desc "Report Status of the ManageIQ EVM Application"
task :status => :environment do
EvmApplication.status
end
task :update_start do
EvmApplication.update_start
end
task :update_stop => :environment do
EvmApplication.update_stop
end
task :compile_assets do
ENV["DATABASE_URL"] |... | <|file_sep|>original/lib/tasks/evm.rake
end
desc "Report Status of the ManageIQ EVM Application"
task :status => :environment do
EvmApplication.status
end
task :update_start do
EvmApplication.update_start
end
task :update_stop => :environment do
EvmApplication.update_stop
end
task :com... | fff1efedb1734a7cc3f2e41d3e4f12eaa7b17ced | lib/tasks/evm.rake | lib/tasks/evm.rake | Ruby |
<|file_sep|>original/scripts/components/pages/home/Stickers.css
}
.js {
top: sizeXL;
right: 0;
justify-content: flex-end;
align-items: flex-end;
transform: rotate(-15deg);
background: yellow;
color: #333;
}
.go {
top: sizeXL;
left: 0;
justify-content: center;
align-item... | }
.js {
top: sizeXL;
right: 0;
justify-content: flex-end;
align-items: flex-end;
transform: rotate(-15deg);
background: gold;
color: #333;
}
.go {
top: sizeXL;
left: 0;
justify-content: center;
align-items: center;
| <|file_sep|>original/scripts/components/pages/home/Stickers.css
}
.js {
top: sizeXL;
right: 0;
justify-content: flex-end;
align-items: flex-end;
transform: rotate(-15deg);
background: yellow;
color: #333;
}
.go {
top: sizeXL;
left: 0;
justify-content: center;
align-item... | 53a8462537b45b680c952ee108c66be3353c11c1 | scripts/components/pages/home/Stickers.css | scripts/components/pages/home/Stickers.css | CSS |
<|file_sep|>original/swaggerweb/.vscode/tasks.json
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [
"${workspaceRoot}\\project.json"
],
"isBuildCommand": ... | "args": [],
"tasks": [
{
"taskName": "build",
"args": [
"${workspaceRoot}\\project.json"
],
"isBuildCommand": true,
"problemMatcher": "$msCompile"
}
],
"linux": {
"tasks": [
{
... | <|file_sep|>original/swaggerweb/.vscode/tasks.json
{
"version": "0.1.0",
"command": "dotnet",
"isShellCommand": true,
"args": [],
"tasks": [
{
"taskName": "build",
"args": [
"${workspaceRoot}\\project.json"
],
"isBuildCommand": ... | 94c97415a7d579e74463f5800232a7d539dbdd4c | swaggerweb/.vscode/tasks.json | swaggerweb/.vscode/tasks.json | JSON |
<|file_sep|>src/net/idlesoft/android/hubroid/Dashboard.java.diff
original:
updated:
import android.widget.ImageButton;
<|file_sep|>original/src/net/idlesoft/android/hubroid/Dashboard.java
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view... | import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;
public class Dashboard extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.dashboard);
((ImageButton)findViewById(R.... | <|file_sep|>src/net/idlesoft/android/hubroid/Dashboard.java.diff
original:
updated:
import android.widget.ImageButton;
<|file_sep|>original/src/net/idlesoft/android/hubroid/Dashboard.java
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view... | 77ec428fa2bfb67f884a5478231d4423459528a3 | src/net/idlesoft/android/hubroid/Dashboard.java | src/net/idlesoft/android/hubroid/Dashboard.java | Java |
<|file_sep|>original/src/styles/components/message/styles.less
.message {
// Align the icon next to content
align-items: flex-start;
display: flex;
&-icon {
fill: currentColor;
flex: 0 0 auto;
margin-right: @alert-icon-margin-right;
}
&-content {
flex: 1 1 auto;
... |
.message {
// Align the icon next to content
align-items: flex-start;
display: flex;
&-icon {
fill: currentColor;
flex: 0 0 auto;
margin-right: @message-icon-margin-right;
}
&-content {
flex: 1 1 auto;
word-break: break-word;
// Remove top margin from t... | <|file_sep|>original/src/styles/components/message/styles.less
.message {
// Align the icon next to content
align-items: flex-start;
display: flex;
&-icon {
fill: currentColor;
flex: 0 0 auto;
margin-right: @alert-icon-margin-right;
}
&-content {
flex: 1 1 auto;
... | 0986357100ede2b5d1ef033044f32da3b7bb5578 | src/styles/components/message/styles.less | src/styles/components/message/styles.less | Less |
<|file_sep|>README.md.diff
original:
$ git clone https://github.com/cmsj/hydra-allfinder.git ~/.hydra/ext/allfinder
updated:
$ git clone https://github.com/cmsj/hydra-appfinder.git ~/.hydra/ext/appfinder
<|file_sep|>README.md.diff
original:
require "ext.allfinder.init"
updated:
require "ext.appfinder.init"
<|file_sep|>... | ### Require
~~~lua
require "ext.appfinder.init"
~~~
### Core Functions
~~~lua
function ext.appfinder.app\_from\_name(name) -- Returns the Hydra application object for an application with the supplied name (e.g. "Safari")
function ext.appfinder.app\_from\_window\_title(title) -- Returns the Hydra application object ... | <|file_sep|>README.md.diff
original:
$ git clone https://github.com/cmsj/hydra-allfinder.git ~/.hydra/ext/allfinder
updated:
$ git clone https://github.com/cmsj/hydra-appfinder.git ~/.hydra/ext/appfinder
<|file_sep|>README.md.diff
original:
require "ext.allfinder.init"
updated:
require "ext.appfinder.init"
<|file_sep|>... | 22032a06dec08fd395cde61fd4ed272e42531261 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: objective-c
os: osx
osx_image: xcode9.3
env:
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
- TEST_TYPE=tvOS
-before_install:
- |
gem install xcpretty -N --no-ri --no-rdoc
script:
- |
./setup.sh
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
... | language: objective-c
os: osx
osx_image: xcode10
env:
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
- TEST_TYPE=tvOS
-before_install:
- |
gem install xcpretty -N --no-ri --no-rdoc
script:
- |
./setup.sh
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
xcodebuild clean test -workspace ... | <|file_sep|>original/.travis.yml
language: objective-c
os: osx
osx_image: xcode9.3
env:
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=macOS
- TEST_TYPE=tvOS
-before_install:
- |
gem install xcpretty -N --no-ri --no-rdoc
script:
- |
./setup.sh
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
... | 0cac1840dd4d2c411547aa0942d0190675811b2d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
git:
depth: 5
<|file_sep|>current/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
git:
depth: 5
<|file_sep|>updated/.travis.yml | language: node_js
cache: yarn
node_js:
- node
- "10"
- "8"
- "6"
git:
depth: 5 | <|file_sep|>original/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
git:
depth: 5
<|file_sep|>current/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "8"
- "6"
git:
depth: 5
<|file_sep|>updated/.travis.yml
language: node_js
cache: yarn
node_js:
- node
- "10"
- "8... | 3442101feb68d8db6d61d1337d43f18ee406a4df | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/Debug/Profile.purs.diff
original:
updated:
_ENABLE_PROFILING_ :: Boolean
_ENABLE_PROFILING_ = false
<|file_sep|>original/src/Debug/Profile.purs
import Control.Monad.Eff.Console
import Control.Monad.Eff.Unsafe
import Text.Parsing.Parser (PState(..), ParserT(..), unParserT) as P
prof :: ∀ m a. (Monad m... |
_ENABLE_PROFILING_ :: Boolean
_ENABLE_PROFILING_ = false
prof :: ∀ m a. (Monad m) => String -> (Unit -> m a) -> m a
prof = profileA
profileA :: ∀ m a. (Monad m) => String -> (Unit -> m a) -> m a
profileA msg f =
if _ENABLE_PROFILING_
then do
let t = unsafePerformEff timerStart
a <- f unit
le... | <|file_sep|>src/Debug/Profile.purs.diff
original:
updated:
_ENABLE_PROFILING_ :: Boolean
_ENABLE_PROFILING_ = false
<|file_sep|>original/src/Debug/Profile.purs
import Control.Monad.Eff.Console
import Control.Monad.Eff.Unsafe
import Text.Parsing.Parser (PState(..), ParserT(..), unParserT) as P
prof :: ∀ m a. (Monad m... | ceae7ceacaa446af2db47eb8ab4ea6d98844a8ba | src/Debug/Profile.purs | src/Debug/Profile.purs | PureScript |
<|file_sep|>original/README.md
# PSCodeHealth <img src= "https://github.com/MathieuBuisson/PSCodeHealth/raw/master/PSCodeHealth/Assets/PSCodeHealthLogo.png" alt="PSCodeHealth Logo" width="70" align="center"/>
[](https://ci.a... | <|file_sep|>original/README.md
# PSCodeHealth <img src= "https://github.com/MathieuBuisson/PSCodeHealth/raw/master/PSCodeHealth/Assets/PSCodeHealthLogo.png" alt="PSCodeHealth Logo" width="70" align="center"/>
[
@content = content
@username = username
... | module Discordrb::Webhooks
# A class that acts as a builder for a webhook message object.
class Builder
def initialize(content: '', username: nil, avatar_url: nil, tts: false, file: nil, embeds: [])
@content = content
@username = username
@avatar_url = avatar_url
@tts = tts
@file =... | <|file_sep|>original/lib/discordrb/webhooks/builder.rb
module Discordrb::Webhooks
# A class that acts as a builder for a webhook message object.
class Builder
def initialize(content: '', username: nil, avatar_url: nil, tts: false, file: nil, embeds: [])
@content = content
@username = username
... | dc4d6fc49277a7f8b54c86a9a058fa7346ca54d9 | lib/discordrb/webhooks/builder.rb | lib/discordrb/webhooks/builder.rb | Ruby |
<|file_sep|>original/src/main/java/sizebay/catalog/client/model/ProductBasicInformation.java
long id;
@NonNull String name;
@NonNull String permalink;
String genderTheWearWasDesignedFor;
String coverImage;
int isShoe;
@Deprecated int szbMainCategoryId; // FIXME Remove this field after legacy virtual dead
@Depr... | @Deprecated String szbSubCategoryName = null; // FIXME Remove this field after legacy virtual dead
String categoryName;
String modelingName;
@Deprecated boolean bottomOnly;
ClothesType clothesType;
String sizeType;
Boolean status;
Product.AgeGroupEnum ageGroup = null;
Map<String, ModelingSizeMeasures> measures... | <|file_sep|>original/src/main/java/sizebay/catalog/client/model/ProductBasicInformation.java
long id;
@NonNull String name;
@NonNull String permalink;
String genderTheWearWasDesignedFor;
String coverImage;
int isShoe;
@Deprecated int szbMainCategoryId; // FIXME Remove this field after legacy virtual dead
@Depr... | 8c28f5fd97631d8218527a31faf63a363bbe94d6 | src/main/java/sizebay/catalog/client/model/ProductBasicInformation.java | src/main/java/sizebay/catalog/client/model/ProductBasicInformation.java | Java |
<|file_sep|>original/orm/driver/datastore/doc.go
// Package datastore implements an App Engine datastore driver
// the Gondola's ORM.
//
// This package is only available when building your application using
// the App Engine Go SDK. To enable the driver, import its package:
//
// import (
// _ "gnd.la/orm/driver... | // Package datastore implements an App Engine datastore driver
// the Gondola's ORM.
//
// This package is only available when building your application using
// the App Engine Go SDK. To enable the driver, import its package:
//
// import (
// _ "gnd.la/orm/driver/datastore"
// )
//
// The URL format for this p... | <|file_sep|>original/orm/driver/datastore/doc.go
// Package datastore implements an App Engine datastore driver
// the Gondola's ORM.
//
// This package is only available when building your application using
// the App Engine Go SDK. To enable the driver, import its package:
//
// import (
// _ "gnd.la/orm/driver... | 96f87f0f56540f19aaa486a84bfb592c96b76d74 | orm/driver/datastore/doc.go | orm/driver/datastore/doc.go | Go |
<|file_sep|>original/_layouts/year_index.html
<div class="wrap">
<div class="{% if page.image.feature %}page-feature-header overlay{% else %}page-header{% endif %}">
{% if page.image.feature %}
<div class="page-image">
<img src="/images/{{ page.image.feature }}" class="page-feature-image" alt=... | <div class="wrap">
<div class="{% if page.image.feature %}page-feature-header overlay{% else %}page-header{% endif %}">
{% if page.image.feature %}
<div class="page-image">
<img src="/images/{{ page.image.feature }}" class="page-feature-image" alt="{{ page.title }}" itemprop="image">
{... | <|file_sep|>original/_layouts/year_index.html
<div class="wrap">
<div class="{% if page.image.feature %}page-feature-header overlay{% else %}page-header{% endif %}">
{% if page.image.feature %}
<div class="page-image">
<img src="/images/{{ page.image.feature }}" class="page-feature-image" alt=... | 50a26af21a3ac8a856fab8bc2903184b391df6e3 | _layouts/year_index.html | _layouts/year_index.html | HTML |
<|file_sep|>original/docs/source/install.rst
$ sudo pip install stevedore
.. _pip: http://pypi.python.org/pypi/pip
Download
========
stevedore releases are hosted on PyPI and can be downloaded from:
http://pypi.python.org/pypi/stevedore
Source Code
===========
The source is hosted on the OpenStack infrastructur... |
$ sudo pip install stevedore
.. _pip: http://pypi.python.org/pypi/pip
Download
========
stevedore releases are hosted on PyPI and can be downloaded from:
http://pypi.python.org/pypi/stevedore
Source Code
===========
The source is hosted on the OpenStack infrastructure: https://git.openstack.org/cgit/openstack/s... | <|file_sep|>original/docs/source/install.rst
$ sudo pip install stevedore
.. _pip: http://pypi.python.org/pypi/pip
Download
========
stevedore releases are hosted on PyPI and can be downloaded from:
http://pypi.python.org/pypi/stevedore
Source Code
===========
The source is hosted on the OpenStack infrastructur... | 4a410fe91a3d3ff1bf87d4a25a188f5161c2e06b | docs/source/install.rst | docs/source/install.rst | reStructuredText |
<|file_sep|>original/modules/configuring-scale-bounds-knative.adoc
minScale:: If the `minScale` annotation is not set, Pods will scale to zero (or to 1 if enable-scale-to-zero is false per the `ConfigMap`).
maxScale:: If the `maxScale` annotation is not set, there will be no upper limit for the number of Pods created.... |
maxScale:: If the `maxScale` annotation is not set, there will be no upper limit for the number of Pods created.
`minScale` and `maxScale` can be configured as follows in the revision template:
[source,yaml]
----
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/minScale: "2"
... | <|file_sep|>original/modules/configuring-scale-bounds-knative.adoc
minScale:: If the `minScale` annotation is not set, Pods will scale to zero (or to 1 if enable-scale-to-zero is false per the `ConfigMap`).
maxScale:: If the `maxScale` annotation is not set, there will be no upper limit for the number of Pods created.... | f1b569bfc0f68e487de62febdf6a286d939fa5ae | modules/configuring-scale-bounds-knative.adoc | modules/configuring-scale-bounds-knative.adoc | AsciiDoc |
<|file_sep|>original/.github/workflows/ci.yml
name: ci
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRU... | name: ci
on: [push, pull_request, workflow_dispatch]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRUBY_OPTS: -J-Xss16m
step... | <|file_sep|>original/.github/workflows/ci.yml
name: ci
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
runs-on: ${{ matrix.os }}
env:
JRU... | 20c8d649f0545f7afd43f7f8d9c6c0cc9ef33c8a | .github/workflows/ci.yml | .github/workflows/ci.yml | YAML |
<|file_sep|>original/app/helpers/carto/bolt.rb
<|file_sep|>current/app/helpers/carto/bolt.rb
<|file_sep|>updated/app/helpers/carto/bolt.rb | # encoding utf-8
module Carto
class Bolt
DEFAULT_REDIS_OBJECT = $users_metadata
DEFAULT_TTL_MS = 10000
def initialize(bolt_key, redis_object: DEFAULT_REDIS_OBJECT, ttl_ms: DEFAULT_TTL_MS)
@bolt_key = add_namespace_to_key(bolt_key)
@redis_object = redis_object
@ttl_ms = ttl_ms
end
... | <|file_sep|>original/app/helpers/carto/bolt.rb
<|file_sep|>current/app/helpers/carto/bolt.rb
<|file_sep|>updated/app/helpers/carto/bolt.rb
# encoding utf-8
module Carto
class Bolt
DEFAULT_REDIS_OBJECT = $users_metadata
DEFAULT_TTL_MS = 10000
def initialize(bolt_key, redis_object: DEFAULT_REDIS_OBJECT,... | 705f67550e748efcf5e2aa4d79e35dff185d6df9 | app/helpers/carto/bolt.rb | app/helpers/carto/bolt.rb | Ruby |
<|file_sep|>original/app/models/visualization/member.rb
end # CartoDB
module CartoDB
module Visualization
class Member
include Virtus
attribute :id, String
attribute :name, CartoDB::SnakeCaseString
attribute :map_id, Integer
attribute :tags, Arra... | end # CartoDB
module CartoDB
module Visualization
class Member
include Virtus
attribute :id, String
attribute :name, CartoDB::SnakeCaseString
attribute :map_id, Integer
attribute :derived, Boolean
attribute :tags, Array[String]
... | <|file_sep|>original/app/models/visualization/member.rb
end # CartoDB
module CartoDB
module Visualization
class Member
include Virtus
attribute :id, String
attribute :name, CartoDB::SnakeCaseString
attribute :map_id, Integer
attribute :tags, Arra... | b2b1439f96fdb19b1179dd1df99eeee221ba243f | app/models/visualization/member.rb | app/models/visualization/member.rb | Ruby |
<|file_sep|>original/_posts/2016-09-01-sept-all-stars.md
<|file_sep|>current/_posts/2016-09-01-sept-all-stars.md
<|file_sep|>updated/_posts/2016-09-01-sept-all-stars.md | ---
layout: post
subheadline: "Community"
title: "September Data Carpentry All-Stars!"
teaser: "Recognizing outstanding work from our volunteer community."
header:
image_fullwidth: "light-blue-wood-texture.jpg"
categories:
- blog
comments: true
show_meta: true
authors: ["Erin Becker"]
---
As a community-led or... | <|file_sep|>original/_posts/2016-09-01-sept-all-stars.md
<|file_sep|>current/_posts/2016-09-01-sept-all-stars.md
<|file_sep|>updated/_posts/2016-09-01-sept-all-stars.md
---
layout: post
subheadline: "Community"
title: "September Data Carpentry All-Stars!"
teaser: "Recognizing outstanding work from our volunteer commu... | c01be0f21df31ad5fe966bc792425dec15593128 | _posts/2016-09-01-sept-all-stars.md | _posts/2016-09-01-sept-all-stars.md | Markdown |
<|file_sep|>original/docs/_data/docs_navigation.yml
- link: /docs/
- link: /docs/filename.html
- link: /docs/search.html
- link: /docs/favorites.html
- link: /docs/website-login.html
- link: /docs/shortcuts.html
- link: /docs/faq.html
- name: Commands
children:
- link: /docs/commands/
... | - link: /docs/
- link: /docs/filename.html
- link: /docs/search.html
- link: /docs/favorites.html
- link: /docs/website-login.html
- link: /docs/shortcuts.html
- link: /docs/faq.html
- name: Commands
children:
- link: /docs/commands/
- link: /docs/commands/szurubooru.html
- lin... | <|file_sep|>original/docs/_data/docs_navigation.yml
- link: /docs/
- link: /docs/filename.html
- link: /docs/search.html
- link: /docs/favorites.html
- link: /docs/website-login.html
- link: /docs/shortcuts.html
- link: /docs/faq.html
- name: Commands
children:
- link: /docs/commands/
... | 3a10ccc8593e6c46a48917d64a51ff0f8d746543 | docs/_data/docs_navigation.yml | docs/_data/docs_navigation.yml | YAML |
<|file_sep|>README.md.diff
original:
## NS-Maps
updated:
## ns-maps
<|file_sep|>original/README.md
## NS-Maps
[](https://gemnasium.com/bartromgens/ns-maps)
Generate maps visualising Dutch railways (NS) travel information.
Uses [nsapi](https://githu... | ## ns-maps
[](https://gemnasium.com/bartromgens/ns-maps)
Generate maps visualising Dutch railways (NS) travel information.
Uses [nsapi](https://github.com/aquatix/ns-api) to get the data, and [OpenLayers 3](https://github.com/openlayers/ol3) to cre... | <|file_sep|>README.md.diff
original:
## NS-Maps
updated:
## ns-maps
<|file_sep|>original/README.md
## NS-Maps
[](https://gemnasium.com/bartromgens/ns-maps)
Generate maps visualising Dutch railways (NS) travel information.
Uses [nsapi](https://githu... | 870d8bd37f744fb66db5933aedb1181de0d24633 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# beers-criteria
Search the Beers Criteria for Potentially Inappropriate Medication Use in Older Adults.
Demo: https://adolby.github.io/beers-criteria
It performs the following functions with ClojureScript:
1. Query ElasticSearch with user input search terms. This is accomplished with... | # beers-criteria
Search the Beers Criteria for Potentially Inappropriate Medication Use in Older Adults.
**Demo:** https://adolby.github.io/beers-criteria
It performs the following functions with ClojureScript:
1. Query ElasticSearch with user input search terms. This is accomplished with core.async channels assemb... | <|file_sep|>original/README.md
# beers-criteria
Search the Beers Criteria for Potentially Inappropriate Medication Use in Older Adults.
Demo: https://adolby.github.io/beers-criteria
It performs the following functions with ClojureScript:
1. Query ElasticSearch with user input search terms. This is accomplished with... | 934a2ae9ddc1b2358545114459911b09109d365f | README.md | README.md | Markdown |
<|file_sep|>original/project/ZincBuild.scala
/**
* Copyright (C) 2012 Typesafe, Inc. <http://www.typesafe.com>
*/
import sbt._
import sbt.Keys._
object ZincBuild extends Build {
val sbtVersion = "0.13.1-M1"
val resolveSbtLocally = SettingKey[Boolean]("resolve-sbt-locally")
lazy val buildSettings = Defaults.... | /**
* Copyright (C) 2012 Typesafe, Inc. <http://www.typesafe.com>
*/
import sbt._
import sbt.Keys._
object ZincBuild extends Build {
val sbtVersion = "0.13.1-SNAPSHOT"
val resolveSbtLocally = SettingKey[Boolean]("resolve-sbt-locally")
lazy val buildSettings = Defaults.defaultSettings ++ Seq(
organizatio... | <|file_sep|>original/project/ZincBuild.scala
/**
* Copyright (C) 2012 Typesafe, Inc. <http://www.typesafe.com>
*/
import sbt._
import sbt.Keys._
object ZincBuild extends Build {
val sbtVersion = "0.13.1-M1"
val resolveSbtLocally = SettingKey[Boolean]("resolve-sbt-locally")
lazy val buildSettings = Defaults.... | e67ba91e12368d08f6beffdb5733825441bc0868 | project/ZincBuild.scala | project/ZincBuild.scala | Scala |
<|file_sep|>original/gradle.properties
version=4.2.0.BUILD-SNAPSHOT
# The following is necessary for running the Gradle daemon on JDK 9, since
# Gradle's DaemonParameters automatically sets the MaxPermSize JVM argument,
# which is no longer supported on JDK 9.
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1024m -Xmx1024m
<|... | version=4.2.0.BUILD-SNAPSHOT | <|file_sep|>original/gradle.properties
version=4.2.0.BUILD-SNAPSHOT
# The following is necessary for running the Gradle daemon on JDK 9, since
# Gradle's DaemonParameters automatically sets the MaxPermSize JVM argument,
# which is no longer supported on JDK 9.
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1024m -Xmx1024m
<|... | b1fdb4a773370af413b6ec57bf211418d7900b34 | gradle.properties | gradle.properties | INI |
<|file_sep|>original/data/2014/dates_info.json
{
"rangeInfo": {
"startDate": "2014-08-24 00:00:00",
"endDate": "2014-09-02 00:00:00"
},
"majorEvents": [
"Gates Open",
"",
"",
"",
"",
"",
"Man Burn",
"Temple Burn",
"Exodu... | {
"rangeInfo": {
"startDate": "2014-08-24 00:00:00",
"endDate": "2014-09-02 12:00:00"
},
"majorEvents": [
"Gates Open",
"",
"",
"",
"",
"",
"Man Burn",
"Temple Burn",
"Exodus",
"Exodus"
]
} | <|file_sep|>original/data/2014/dates_info.json
{
"rangeInfo": {
"startDate": "2014-08-24 00:00:00",
"endDate": "2014-09-02 00:00:00"
},
"majorEvents": [
"Gates Open",
"",
"",
"",
"",
"",
"Man Burn",
"Temple Burn",
"Exodu... | bf53134fb963fb571bdae54e0b22f84d04bd37a2 | data/2014/dates_info.json | data/2014/dates_info.json | JSON |
<|file_sep|>original/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml
<|file_sep|>current/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml
<|file_sep|>updated/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml | ---
features:
- |
Add dnsmasq and qos support for OpenWRT VNFM mgmt driver.
fixes:
- |
Customized OpenWRT image fixs the OpenWRT-based VNFs that keep re-spawning
because Tacker cannot ping to these VNFs. | <|file_sep|>original/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml
<|file_sep|>current/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml
<|file_sep|>updated/releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml
---
features:
- |
Add dnsmasq and qos support for OpenWRT VNFM mgmt dri... | aa5523a35cd86796d9884802b3f3125bcc8d3ee8 | releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml | releasenotes/notes/customized-openwrt-24312101a9c5746b.yaml | YAML |
<|file_sep|>original/client/src/features/userSettings/sagas.js
import { call, takeLatest, select } from 'redux-saga/effects';
import { TOGGLE_NOTIFICATION } from 'common/actionTypes/userSettings';
import { ENABLE_VOTING } from 'common/actionTypes/voting';
import { notify, notifyPermission } from '../../utils/notificati... | import { call, takeLatest, select } from 'redux-saga/effects';
import { TOGGLE_NOTIFICATION } from 'common/actionTypes/userSettings';
import { ENABLE_VOTING } from 'common/actionTypes/voting';
import { notify, notifyPermission } from '../../utils/notification';
import { getIssueText } from '../issue/selectors';
import ... | <|file_sep|>original/client/src/features/userSettings/sagas.js
import { call, takeLatest, select } from 'redux-saga/effects';
import { TOGGLE_NOTIFICATION } from 'common/actionTypes/userSettings';
import { ENABLE_VOTING } from 'common/actionTypes/voting';
import { notify, notifyPermission } from '../../utils/notificati... | 98aea0edf7154b80fcc7c0acb3921f3776e23190 | client/src/features/userSettings/sagas.js | client/src/features/userSettings/sagas.js | JavaScript |
<|file_sep|>original/libcloud/dns/providers.py
from libcloud.utils.misc import get_driver as get_provider_driver
from libcloud.dns.types import Provider
DRIVERS = {
Provider.DUMMY:
('libcloud.dns.drivers.dummy', 'DummyDNSDriver'),
Provider.LINODE:
('libcloud.dns.drivers.linode', 'LinodeDNSDrive... | # limitations under the License.
from libcloud.utils.misc import get_driver as get_provider_driver
from libcloud.dns.types import Provider
DRIVERS = {
Provider.DUMMY:
('libcloud.dns.drivers.dummy', 'DummyDNSDriver'),
Provider.LINODE:
('libcloud.dns.drivers.linode', 'LinodeDNSDriver'),
Prov... | <|file_sep|>original/libcloud/dns/providers.py
from libcloud.utils.misc import get_driver as get_provider_driver
from libcloud.dns.types import Provider
DRIVERS = {
Provider.DUMMY:
('libcloud.dns.drivers.dummy', 'DummyDNSDriver'),
Provider.LINODE:
('libcloud.dns.drivers.linode', 'LinodeDNSDrive... | 48be00323c57b6a61455d2591970e1380da8055c | libcloud/dns/providers.py | libcloud/dns/providers.py | Python |
<|file_sep|>original/evmjit/libevmjit/Common.h
LLVMConfigError = 201,
LLVMCompileError = 202,
LLVMLinkError = 203,
};
/// Representation of 256-bit value binary compatible with LLVM i256
// TODO: Replace with h256
struct i256
{
uint64_t a;
uint64_t b;
uint64_t c;
uint64_t d;
};
static_assert(sizeof(i256) == 32,... | LLVMConfigError = 201,
LLVMCompileError = 202,
LLVMLinkError = 203,
};
/// Representation of 256-bit value binary compatible with LLVM i256
// TODO: Replace with h256
struct i256
{
uint64_t a = 0;
uint64_t b = 0;
uint64_t c = 0;
uint64_t d = 0;
};
static_assert(sizeof(i256) == 32, "Wrong i265 size");
#define U... | <|file_sep|>original/evmjit/libevmjit/Common.h
LLVMConfigError = 201,
LLVMCompileError = 202,
LLVMLinkError = 203,
};
/// Representation of 256-bit value binary compatible with LLVM i256
// TODO: Replace with h256
struct i256
{
uint64_t a;
uint64_t b;
uint64_t c;
uint64_t d;
};
static_assert(sizeof(i256) == 32,... | 5bc24913bf500b2cb1ba547a12c67f7ba3064ecc | evmjit/libevmjit/Common.h | evmjit/libevmjit/Common.h | C |
<|file_sep|>original/packages/we/websockets-simple-extra.yaml
<|file_sep|>current/packages/we/websockets-simple-extra.yaml
<|file_sep|>updated/packages/we/websockets-simple-extra.yaml | homepage: https://github.com/athanclark/websockets-simple-extra#readme
changelog-type: markdown
hash: 9bfa31547e3f0d92202545050486594b4ab69cc09c728eb756af2d9ed9b58687
test-bench-deps: {}
maintainer: athan.clark@gmail.com
synopsis: ''
changelog: |
# Changelog for websockets-simple-extra
## Unreleased changes
basic-... | <|file_sep|>original/packages/we/websockets-simple-extra.yaml
<|file_sep|>current/packages/we/websockets-simple-extra.yaml
<|file_sep|>updated/packages/we/websockets-simple-extra.yaml
homepage: https://github.com/athanclark/websockets-simple-extra#readme
changelog-type: markdown
hash: 9bfa31547e3f0d92202545050486594b... | 82c8f10ec7ea9df981ac4f21b8c0ddaa69215c2d | packages/we/websockets-simple-extra.yaml | packages/we/websockets-simple-extra.yaml | YAML |
<|file_sep|>manifest.json.diff
original:
"name": "LiveReload 2.0",
"description": "Injects the LiveReload client onto the page.",
updated:
"name": "LiveReload",
"description": "A better LiveReload extension for Chrome.",
<|file_sep|>original/manifest.json
"manifest_version": 2,
"version": "0.1.0... | "manifest_version": 2,
"version": "0.1.0",
"name": "LiveReload",
"description": "A better LiveReload extension for Chrome.",
"author": "Roland Warmerdam",
"permissions": [
"tabs",
"storage"
],
"browser_action": {
"default_title": "LiveReload",
"default_ico... | <|file_sep|>manifest.json.diff
original:
"name": "LiveReload 2.0",
"description": "Injects the LiveReload client onto the page.",
updated:
"name": "LiveReload",
"description": "A better LiveReload extension for Chrome.",
<|file_sep|>original/manifest.json
"manifest_version": 2,
"version": "0.1.0... | d5c35e1db41022bfdf783a636f172b3004a473cf | manifest.json | manifest.json | JSON |
<|file_sep|>README.md.diff
original:
Assuming Ubuntu 12.04:
updated:
Assuming Ubuntu 12.04 and an active python virtualenv:
<|file_sep|>README.md.diff
original:
sudo apt-get install -y build-essential python-dev
updated:
sudo apt-get install -y build-essential python-dev
<|file_sep|>README.md.diff
original:... |
1. Install build dependencies:
sudo apt-get install -y build-essential python-dev
2. Install lxml dependencies:
sudo apt-get install -y libxml2-dev libxslt-dev
3. Install requirements:
pip install -r requirements.txt
4. Install pyosm:
python setup.py install
Usage
-----
The... | <|file_sep|>README.md.diff
original:
Assuming Ubuntu 12.04:
updated:
Assuming Ubuntu 12.04 and an active python virtualenv:
<|file_sep|>README.md.diff
original:
sudo apt-get install -y build-essential python-dev
updated:
sudo apt-get install -y build-essential python-dev
<|file_sep|>README.md.diff
original:... | 7ff69384f8d7daecc353862819fd1095763f84ee | README.md | README.md | Markdown |
<|file_sep|>composer.json.diff
original:
"slim/slim": "2.*",
updated:
"slim/slim": "2.4",
<|file_sep|>original/composer.json
{
"name": "slim/slim-skeleton",
"description": "A Slim Framework skeleton application for rapid development",
"keywords": ["microframework","rest","router"],
"home... | "description": "A Slim Framework skeleton application for rapid development",
"keywords": ["microframework","rest","router"],
"homepage": "http://github.com/codeguy/Slim-Skeleton",
"license": "MIT",
"authors": [
{
"name": "Josh Lockhart",
"email": "info@joshlockhart.c... | <|file_sep|>composer.json.diff
original:
"slim/slim": "2.*",
updated:
"slim/slim": "2.4",
<|file_sep|>original/composer.json
{
"name": "slim/slim-skeleton",
"description": "A Slim Framework skeleton application for rapid development",
"keywords": ["microframework","rest","router"],
"home... | 02e711fa5f3e7936b4e4f357bdf0494ad5945621 | composer.json | composer.json | JSON |
<|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.19
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.... | argcomplete==1.8.2
base58==0.2.4
botocore==1.5.20
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.11.2
troposphere>=1.9.0
Werkzeug==0.11... | <|file_sep|>original/requirements.txt
argcomplete==1.8.2
base58==0.2.4
botocore==1.5.19
boto3==1.4.4
docutils>=0.12
durationpy==0.3
futures==3.0.5
hjson==2.0.2
jmespath==0.9.1
kappa==0.6.0
lambda-packages==0.14.2
python-dateutil==2.6.0
python-slugify==1.2.1
PyYAML==3.12
requests>=2.10.0
six==1.10.0
toml==0.9.2
tqdm==4.... | e8df28efeec268213b59fb18c09ebd06164810f9 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/src/components/columns.jsx
var React = require('react');
var FormioComponent = require('../FormioComponent.jsx');
module.exports = React.createClass({
displayName: 'Column',
render: function() {
return (
<div className="row">
{this.props.component.columns.map(function(column,... | var React = require('react');
var FormioComponent = require('../FormioComponent.jsx');
module.exports = React.createClass({
displayName: 'Column',
render: function() {
return (
<div className="row">
{this.props.component.columns.map(function(column, index) {
return (
<di... | <|file_sep|>original/src/components/columns.jsx
var React = require('react');
var FormioComponent = require('../FormioComponent.jsx');
module.exports = React.createClass({
displayName: 'Column',
render: function() {
return (
<div className="row">
{this.props.component.columns.map(function(column,... | 93ae11228c38406a55793551543d938e9d489253 | src/components/columns.jsx | src/components/columns.jsx | JSX |
<|file_sep|>original/package.json
"version": "1.0.1",
"description": "browserify plugin for riot tag files",
"main": "index.js",
"dependencies": {
"through": "^2.3.8"
},
"devDependencies": {
"concat-stream": "^1.5.2",
"eslint": "^3.10.2",
"module-deps": "^4.0.8",
"tape": "^4.6.3"
},
... | "version": "1.0.1",
"description": "browserify plugin for riot tag files",
"main": "index.js",
"dependencies": {
"through": "^2.3.8"
},
"devDependencies": {
"concat-stream": "^1.5.2",
"eslint": "^3.10.2",
"module-deps": "^4.0.8",
"tape": "^4.6.3",
"riot-compiler": "^3.0.0"
},
"pe... | <|file_sep|>original/package.json
"version": "1.0.1",
"description": "browserify plugin for riot tag files",
"main": "index.js",
"dependencies": {
"through": "^2.3.8"
},
"devDependencies": {
"concat-stream": "^1.5.2",
"eslint": "^3.10.2",
"module-deps": "^4.0.8",
"tape": "^4.6.3"
},
... | d94e019d9550d53376e2412c3b56077d2d58b303 | package.json | package.json | JSON |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: node_js
node_js: '8'
sudo: true
os: linux
dist: trusty
branches:
only:
- master
- /^greenkeeper/.*$/
addons:
apt:
packages:
- clang-3.3
- build-essential
- gnome-keyring
- libsecret-1-dev
- python-gnomekeyring
env: | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: node_js
node_js: '8'
sudo: true
os: linux
dist: trusty
branches:
only:
- master
- /^greenkeeper/.*$/
addons:
apt:
packages:
- clang-3.3
- build-essential
- gnome-keyring
- libsecret... | 3c06fae488388e8f744ec567337a8c7e87ada50d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/server.rb
class HelloWorldApp < Sinatra::Base
configure do
set :protection, :except => :frame_options
end
get '/' do
"Hello, world!"
end
get '/button' do
@color = params[:color]
@username = params[:username]
erb :button
end
end
<|file_sep|>current/server.rb
cla... | class HelloWorldApp < Sinatra::Base
configure do
set :protection, :except => :frame_options
end
get '/button' do
@color = params[:color]
@username = params[:username]
erb :button
end
end | <|file_sep|>original/server.rb
class HelloWorldApp < Sinatra::Base
configure do
set :protection, :except => :frame_options
end
get '/' do
"Hello, world!"
end
get '/button' do
@color = params[:color]
@username = params[:username]
erb :button
end
end
<|file_sep|>current/server.rb
cla... | d1cc30779866cf19d7c754eb0df2c9c358516348 | server.rb | server.rb | Ruby |
<|file_sep|>readthedocs/oauth/management/commands/load_project_remote_repo_relation.py.diff
original:
RemoteRepository.objects.filter(
updated:
update_count = RemoteRepository.objects.filter(
<|file_sep|>original/readthedocs/oauth/management/commands/load_project_remote_repo_relation.py
... | )
)
return
for item in data:
try:
update_count = RemoteRepository.objects.filter(
remote_id=item['remote_id']
).update(project_id=item['project_id'])
if update_count < 1:
... | <|file_sep|>readthedocs/oauth/management/commands/load_project_remote_repo_relation.py.diff
original:
RemoteRepository.objects.filter(
updated:
update_count = RemoteRepository.objects.filter(
<|file_sep|>original/readthedocs/oauth/management/commands/load_project_remote_repo_relation.py
... | 29c437e15f7793886c80b71ca6764184caff2597 | readthedocs/oauth/management/commands/load_project_remote_repo_relation.py | readthedocs/oauth/management/commands/load_project_remote_repo_relation.py | Python |
<|file_sep|>original/README.md
[](https://codeclimate.com/github/LukeWinikates/lmk)
LMK
===========
start a long-running bash command, get a text when it's done
<|file_sep|>current/README.md
[](https://codeclimate.com/github/LukeWinikates/lmk)
[](https://travis-ci.org/LukeWinikates/lmk)
LMK
===========
start a long-running bash command, get a text when it's done | <|file_sep|>original/README.md
[](https://codeclimate.com/github/LukeWinikates/lmk)
LMK
===========
start a long-running bash command, get a text when it's done
<|file_sep|>current/README.md
[
require_paths_for_gem(gem_name, include_dependecies).each do |path|
updated:
def self.use_gem(gem_name, include_dependencies = true)
require_paths_for_gem(gem_name, include_dependencies).each do |path|
<|file... | require_paths_for_gem(gem_name, include_dependencies).each do |path|
append_path path
end
end
def self.require_paths_for_gem(gem_name, include_dependencies)
paths = []
spec = Gem::Specification.find_by_name(gem_name)
spec.runtime_dependencies.each do |dependency|
paths += require_p... | <|file_sep|>lib/opal/paths.rb.diff
original:
def self.use_gem(gem_name, include_dependecies = true)
require_paths_for_gem(gem_name, include_dependecies).each do |path|
updated:
def self.use_gem(gem_name, include_dependencies = true)
require_paths_for_gem(gem_name, include_dependencies).each do |path|
<|file... | 5611cfe6e7514cd5966a166354f32965dace52d4 | lib/opal/paths.rb | lib/opal/paths.rb | Ruby |
<|file_sep|>original/manage.sh
if ! [ -d "$BASE/node_modules" ]; then
cd "$BASE/"
mkdir "$BASE/node_modules"
npm install
else
echo "npm modules already installed ..."
fi
}
run_tests () {
setup
node $BASE/management/run_globals_test.js test/
node $BASE/management/... | fi
}
run_tests () {
setup
node $BASE/management/run_globals_test.js test/
node $BASE/management/run_tests.js test/
}
clean () {
if [ -d "$BASE/node_modules" ]; then
rm -rf "$BASE/node_modules"
echo "removed ./node_modules/"
fi
if [ -d /etc/enginemill ]; then
sudo rm... | <|file_sep|>original/manage.sh
if ! [ -d "$BASE/node_modules" ]; then
cd "$BASE/"
mkdir "$BASE/node_modules"
npm install
else
echo "npm modules already installed ..."
fi
}
run_tests () {
setup
node $BASE/management/run_globals_test.js test/
node $BASE/management/... | 2035d45ba9d2b9b6d5c7393b07ba4b15658fb221 | manage.sh | manage.sh | Shell |
<|file_sep|>original/src/zt_stdint.h
#ifndef _ZT_STDINT_H_
#define _ZT_STDINT_H_
#if !defined(_MSC_VER) || _MSC_VER >= 1600
#include <stdint.h>
#else
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int32 int32_t;
typedef unsigned __int32 uin... | #ifndef _ZT_STDINT_H_
#define _ZT_STDINT_H_
#if !defined(_MSC_VER) || _MSC_VER >= 1600
#include <stdint.h>
#else
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
typedef __int64 int64_t;
typedef unsign... | <|file_sep|>original/src/zt_stdint.h
#ifndef _ZT_STDINT_H_
#define _ZT_STDINT_H_
#if !defined(_MSC_VER) || _MSC_VER >= 1600
#include <stdint.h>
#else
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int32 int32_t;
typedef unsigned __int32 uin... | d28671f7429cc1f47346d9eb5451bc36cbc9f15d | src/zt_stdint.h | src/zt_stdint.h | C |
<|file_sep|>original/tests/app/App/Config/Database.php
/**
* Database Connection names and configuration values.
*
* 'default' is used when no connection name is provided, or using SweetORM.
*/
'connections' => [
'default' => [
'driver' ... |
/**
* Database Connection names and configuration values.
*
* 'default' is used when no connection name is provided, or using SweetORM.
*/
'connections' => [
'default' => [
'driver' => 'MySQL',
'host' => 'l... | <|file_sep|>original/tests/app/App/Config/Database.php
/**
* Database Connection names and configuration values.
*
* 'default' is used when no connection name is provided, or using SweetORM.
*/
'connections' => [
'default' => [
'driver' ... | 78c87bafbc978b34f901493365e28f020afafc79 | tests/app/App/Config/Database.php | tests/app/App/Config/Database.php | PHP |
<|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip
<|file_sep|>current/gradle/... | #Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip | <|file_sep|>original/gradle/wrapper/gradle-wrapper.properties
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-all.zip
<|file_sep|>current/gradle/... | ef3949d1a066587dda2746cbea87e9e27d4cd9eb | gradle/wrapper/gradle-wrapper.properties | gradle/wrapper/gradle-wrapper.properties | INI |
<|file_sep|>.travis.yml.diff
original:
updated:
- 2.0.0
<|file_sep|>original/.travis.yml
branches:
only:
- master
- travis
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
- ree
script: "bundle exec rake spec:normal"
jdk: openjdk7
notifications:
email:
recipients:
- bobaman@google.... | - travis
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- jruby
- ree
script: "bundle exec rake spec:normal"
jdk: openjdk7
notifications:
email:
recipients:
- bobaman@google.com
- sbazyl@google.com
on_success: change
on_failure: change
matrix:
allow_failures:
- rvm: ... | <|file_sep|>.travis.yml.diff
original:
updated:
- 2.0.0
<|file_sep|>original/.travis.yml
branches:
only:
- master
- travis
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
- ree
script: "bundle exec rake spec:normal"
jdk: openjdk7
notifications:
email:
recipients:
- bobaman@google.... | edfa697112fcfc88a79774ff7d63318ff23bf5b5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/pane-axis.coffee.diff
original:
addChild: (child, index) ->
@model.addChild(child.model, index)
removeChild: (child) ->
@model.removeChild(child.model)
updated:
<|file_sep|>original/src/pane-axis.coffee
onChildAdded: (child, index) =>
view = @viewForModel(child)
@insertAt(index... |
onChildrenChanged: ({index, removedValues, insertedValues}) =>
focusedElement = document.activeElement if @hasFocus()
@onChildRemoved(child, index) for child in removedValues
@onChildAdded(child, index + i) for child, i in insertedValues
focusedElement?.focus() if document.activeElement is document.... | <|file_sep|>src/pane-axis.coffee.diff
original:
addChild: (child, index) ->
@model.addChild(child.model, index)
removeChild: (child) ->
@model.removeChild(child.model)
updated:
<|file_sep|>original/src/pane-axis.coffee
onChildAdded: (child, index) =>
view = @viewForModel(child)
@insertAt(index... | b04f9f9488528dc53303f8b9977c666c49822ef9 | src/pane-axis.coffee | src/pane-axis.coffee | CoffeeScript |
<|file_sep|>original/README.md
graphwalker-project [](https://travis-ci.org/GraphWalker/graphwalker-project)
===================
### Build Status
| Status | Module |
|--------|--------|
|[](https://travis-ci.org/GraphWalker/graphwalker-project)
=================== | <|file_sep|>original/README.md
graphwalker-project [](https://travis-ci.org/GraphWalker/graphwalker-project)
===================
### Build Status
| Status | Module |
|--------|--------|
|[


# jsonrpcserver
*Oct 13, 2018: Version 4 rewrite is complete, just documenting now... | 


# jsonrpcserver
Oct 14, 2018: Version 4 release candidate is ready for testing! Try it with
`pip install jsonrpcs... | <|file_sep|>original/README.md



# jsonrpcserver
*Oct 13, 2018: Version 4 rewrite is complete, just documenting now... | 60c3b32ab1ed78872d7c718e12c99e48ce80b16c | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
dist: trusty
language: ruby
sudo: false
cache: bundler
before_install: travis_retry gem update --system
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- jruby-9.1.15.0
<|file_sep|>current/.travis.yml
dist: trusty
language: ruby
sudo: false
cache: bundler
before_install: travis_retry gem... | dist: trusty
language: ruby
sudo: false
cache: bundler
before_install: travis_retry gem update --system
rvm:
- 2.5.1
- 2.4.4
- 2.3.7
- 2.2.10
- jruby-9.1.17.0 | <|file_sep|>original/.travis.yml
dist: trusty
language: ruby
sudo: false
cache: bundler
before_install: travis_retry gem update --system
rvm:
- 2.5.0
- 2.4.3
- 2.3.6
- 2.2.9
- jruby-9.1.15.0
<|file_sep|>current/.travis.yml
dist: trusty
language: ruby
sudo: false
cache: bundler
before_install: travis_retry gem... | 82c09368d5dd37a79c830aeb39ddc6803d894d6b | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/cla_public/static-src/javascripts/modules/print-page.js
var contentArea = $('.confirmation');
if(!contentArea.length || !this.printButton || !this.printButton.length) {
return;
}
contentArea.append(this.printButton);
this.printButton.on('click', function() {... | var contentArea = $('.confirmation');
if(!contentArea.length || !this.printButton || !this.printButton.length) {
return;
}
contentArea.append(this.printButton);
this.printButton.on('click', function() {
window.print();
if(window.ga) {
window.ga('send', ... | <|file_sep|>original/cla_public/static-src/javascripts/modules/print-page.js
var contentArea = $('.confirmation');
if(!contentArea.length || !this.printButton || !this.printButton.length) {
return;
}
contentArea.append(this.printButton);
this.printButton.on('click', function() {... | 5e6e2e12729092ad9e362b526d37eedab8f21953 | cla_public/static-src/javascripts/modules/print-page.js | cla_public/static-src/javascripts/modules/print-page.js | JavaScript |
<|file_sep|>original/requirements.txt
numpy==1.21.4
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>current/requirements.txt
numpy==1.21.4
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>updated/requirements.txt | numpy==1.21.5
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7 | <|file_sep|>original/requirements.txt
numpy==1.21.4
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>current/requirements.txt
numpy==1.21.4
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>updated/requirements.txt
numpy==1.21.5
matplotlib==3.5.1
scipy==1.7... | 8817dfd58fca76e657c85d35a193835cd0d8f53a | requirements.txt | requirements.txt | Text |
<|file_sep|>original/tools/swift-syntax-parser-test/CMakeLists.txt
include(SwiftWindowsSupport)
swift_swap_compiler_if_needed("SwiftSyntaxParserTest")
add_swift_host_tool(swift-syntax-parser-test
swift-syntax-parser-test.cpp
LLVM_LINK_COMPONENTS
Support
SWIFT_COMPONENT tools
)
if(CMAKE_SYSTEM_NAME STREQUAL D... | include(SwiftWindowsSupport)
swift_swap_compiler_if_needed("SwiftSyntaxParserTest")
add_swift_host_tool(swift-syntax-parser-test
swift-syntax-parser-test.cpp
LLVM_LINK_COMPONENTS
support
SWIFT_COMPONENT tools
)
if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
set_target_properties(swift-syntax-parser-test PROPERTIES
... | <|file_sep|>original/tools/swift-syntax-parser-test/CMakeLists.txt
include(SwiftWindowsSupport)
swift_swap_compiler_if_needed("SwiftSyntaxParserTest")
add_swift_host_tool(swift-syntax-parser-test
swift-syntax-parser-test.cpp
LLVM_LINK_COMPONENTS
Support
SWIFT_COMPONENT tools
)
if(CMAKE_SYSTEM_NAME STREQUAL D... | c3b7f949110085031a509dcd967cfbb1b4f9976a | tools/swift-syntax-parser-test/CMakeLists.txt | tools/swift-syntax-parser-test/CMakeLists.txt | Text |
<|file_sep|>src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java.diff
original:
updated:
import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.AbstractNode;
<|file_sep|>src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java.diff
original:
import java.util.HashSet;
import java.util.Set;
up... | import java.util.HashMap;
/**
* Contains all data WebVOWL needs.
*/
public class VowlData {
private HashMap<IRI, AbstractClass> classMap = new HashMap<>();
public void addClass(AbstractClass vowlClass) {
classMap.put(vowlClass.getIri(), vowlClass);
}
public AbstractNode getNodeForIri(IRI iri) {
if (classM... | <|file_sep|>src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java.diff
original:
updated:
import de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.AbstractNode;
<|file_sep|>src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java.diff
original:
import java.util.HashSet;
import java.util.Set;
up... | 6279168e4e5ef620a83973180ccbdaa80f477363 | src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java | src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/VowlData.java | Java |
<|file_sep|>original/spec/features/disclosure_spec.rb
<|file_sep|>current/spec/features/disclosure_spec.rb
<|file_sep|>updated/spec/features/disclosure_spec.rb | require "rails_helper"
describe "Disclosures" do
feature "creating a disclosure" do
it "accepts valid attributes" do
visit new_disclosure_path
fill_in "Title", with: "My New Valid Disclosure"
fill_in "Abstract", with: "This is my disclosure" * 10
fill_in "Body", with: "Here is a detailed... | <|file_sep|>original/spec/features/disclosure_spec.rb
<|file_sep|>current/spec/features/disclosure_spec.rb
<|file_sep|>updated/spec/features/disclosure_spec.rb
require "rails_helper"
describe "Disclosures" do
feature "creating a disclosure" do
it "accepts valid attributes" do
visit new_disclosure_path
... | 4f4d0cfd69fee9c50aee1995b3e3e9b27a36f80c | spec/features/disclosure_spec.rb | spec/features/disclosure_spec.rb | Ruby |
<|file_sep|>original/has_magic_columns.gemspec
s.version = HasMagicColumns::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Drew Ulmer","Nicholas Zielinski","Brandon Keene"]
s.email = ["latortuga@gmail.com","zieski@gmail.com"]
s.homepage = %q{https://github.com/latortuga/has_magic_columns}
s.summary ... | s.version = HasMagicColumns::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Drew Ulmer","Nicholas Zielinski","Brandon Keene"]
s.email = ["latortuga@gmail.com","zieski@gmail.com"]
s.homepage = %q{https://github.com/latortuga/has_magic_columns}
s.summary = "Custom fields for Rails 3"
s.description =... | <|file_sep|>original/has_magic_columns.gemspec
s.version = HasMagicColumns::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Drew Ulmer","Nicholas Zielinski","Brandon Keene"]
s.email = ["latortuga@gmail.com","zieski@gmail.com"]
s.homepage = %q{https://github.com/latortuga/has_magic_columns}
s.summary ... | a428c2370c32b9756aba236a02f58c1b1f0c7b8b | has_magic_columns.gemspec | has_magic_columns.gemspec | Ruby |
<|file_sep|>original/tests/dummy/app/templates/index.hbs
<h1 class="page-header">ivy-sortable</h1>
<div class="row">
<div class="col-sm-6">
<p>Drag the items below to rearrange them.</p>
{{#ivy-sortable model class="list-group" cursor="move" itemClassNames="list-group-item sortable-item"}}
{{title}}
... | <h1 class="page-header">ivy-sortable</h1>
<div class="row">
<div class="col-sm-6">
<p>Drag the items below to rearrange them.</p>
{{#ivy-sortable model class="list-group" cursor="move" itemClassNames="list-group-item sortable-item"}}
{{title}}
{{/ivy-sortable}}
</div>
<div class="col-sm-6">
... | <|file_sep|>original/tests/dummy/app/templates/index.hbs
<h1 class="page-header">ivy-sortable</h1>
<div class="row">
<div class="col-sm-6">
<p>Drag the items below to rearrange them.</p>
{{#ivy-sortable model class="list-group" cursor="move" itemClassNames="list-group-item sortable-item"}}
{{title}}
... | 9bf69780188ff92165d24e4f809618a4e49328eb | tests/dummy/app/templates/index.hbs | tests/dummy/app/templates/index.hbs | Handlebars |
<|file_sep|>original/public/holy-grail/index.html
html { background: black }
body { background: var(--darkest) }
main { background: var(--lightest) }
aside { background: var(--lighter) }
header, footer { background: var(--darker) }
</style>
@media (min-width:786px) {
body { margin: auto 5vw }
}
@media (min... |
html { background: black }
body { background: var(--darkest) }
main { background: var(--lightest) }
aside { background: var(--lighter) }
header, footer { background: var(--darker) }
</style>
<link
as=style
href=index.css
rel='preload stylesheet'
>
@media (min-width:1300px) {
body { margin: auto 23vw ... | <|file_sep|>original/public/holy-grail/index.html
html { background: black }
body { background: var(--darkest) }
main { background: var(--lightest) }
aside { background: var(--lighter) }
header, footer { background: var(--darker) }
</style>
@media (min-width:786px) {
body { margin: auto 5vw }
}
@media (min... | 47f44f3b0158fe4d879f05d26fcf1c9017e23344 | public/holy-grail/index.html | public/holy-grail/index.html | HTML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10' | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- '0.10'
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- '0.10'
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- 'iojs'
- '0.12'
- '0.10' | 1ae502f6e0997ce93e5d619f51920f300a00a752 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/litmus/cmds/__init__.py
def load_project_list(projects):
"""docstring for load_project_list"""
configparser = RawConfigParser()
configparser.read(projects)
project_list = []
for section in configparser.sections():
item = dict(configparser.items(section))
item[... |
def load_project_list(projects):
"""docstring for load_project_list"""
configparser = RawConfigParser()
configparser.read(projects)
project_list = []
for section in configparser.sections():
item = dict(configparser.items(section))
item['name'] = section
project_list.append... | <|file_sep|>original/litmus/cmds/__init__.py
def load_project_list(projects):
"""docstring for load_project_list"""
configparser = RawConfigParser()
configparser.read(projects)
project_list = []
for section in configparser.sections():
item = dict(configparser.items(section))
item[... | 0d98a1c9b2682dde45196c8a3c8e89738aa3ab2a | litmus/cmds/__init__.py | litmus/cmds/__init__.py | Python |
<|file_sep|>original/config/rake.rb
# Configure the Rakefile's tasks.
###
# Company and SSL Details
# Used with the ssl_cert task.
###
# The company name - used for SSL certificates, and in srvious other places
COMPANY_NAME = "Example Com"
# The Country Name to use for SSL Certificates
SSL_COUNTRY_NAME = "US"
# The... | # Configure the Rakefile's tasks.
###
# Company and SSL Details
# Used with the ssl_cert task.
###
# The company name - used for SSL certificates, and in various other places
COMPANY_NAME = "Example Com"
# The Country Name to use for SSL Certificates
SSL_COUNTRY_NAME = "US"
# The State Name to use for SSL Certifica... | <|file_sep|>original/config/rake.rb
# Configure the Rakefile's tasks.
###
# Company and SSL Details
# Used with the ssl_cert task.
###
# The company name - used for SSL certificates, and in srvious other places
COMPANY_NAME = "Example Com"
# The Country Name to use for SSL Certificates
SSL_COUNTRY_NAME = "US"
# The... | 377e008c06b78475fe0c0b2efd0fc8067a63a864 | config/rake.rb | config/rake.rb | Ruby |
<|file_sep|>original/tests/cli/test_pinout.py
unicode_literals,
absolute_import,
print_function,
division,
)
str = type('')
import pytest
import gpiozero.cli.pinout as pinout
def test_args_incorrect():
with pytest.raises(SystemExit) as ex:
pinout.parse_args(['--nonexistentarg'])
... | unicode_literals,
absolute_import,
print_function,
division,
)
str = type('')
import pytest
from gpiozero.cli import pinout
def test_args_incorrect():
with pytest.raises(SystemExit) as ex:
pinout.parse_args(['--nonexistentarg'])
assert ex.value.code == 2
def test_args_color():... | <|file_sep|>original/tests/cli/test_pinout.py
unicode_literals,
absolute_import,
print_function,
division,
)
str = type('')
import pytest
import gpiozero.cli.pinout as pinout
def test_args_incorrect():
with pytest.raises(SystemExit) as ex:
pinout.parse_args(['--nonexistentarg'])
... | 117e4f59720de9d13ddb4eaa439915addb616f1d | tests/cli/test_pinout.py | tests/cli/test_pinout.py | Python |
<|file_sep|>original/moderation/migrations/0007_auto_20141207_1025.py
<|file_sep|>current/moderation/migrations/0007_auto_20141207_1025.py
<|file_sep|>updated/moderation/migrations/0007_auto_20141207_1025.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('moderation', '0006_auto_20141104_1434'),
]
operations = [
migr... | <|file_sep|>original/moderation/migrations/0007_auto_20141207_1025.py
<|file_sep|>current/moderation/migrations/0007_auto_20141207_1025.py
<|file_sep|>updated/moderation/migrations/0007_auto_20141207_1025.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from... | b0e6556a908c1c520b060ea868fb18ea00bea4d9 | moderation/migrations/0007_auto_20141207_1025.py | moderation/migrations/0007_auto_20141207_1025.py | Python |
<|file_sep|>run_engine.sh.diff
original:
EXEC_DRIVER=${EXEC_DRIVER:-native}
updated:
<|file_sep|>original/run_engine.sh
#!/bin/sh
set -e
set -x
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-overlay}
EXEC_DRIVER=${EXEC_DRIVER:-native}
# Set IP address in /etc/hosts for localregistry
IP=$(ifconfig eth0|grep "inet addr:"| c... | #!/bin/sh
set -e
set -x
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-overlay}
# Set IP address in /etc/hosts for localregistry
IP=$(ifconfig eth0|grep "inet addr:"| cut -d: -f2 | awk '{ print $1}')
echo "$IP localregistry" >> /etc/hosts
sh install_certs.sh localregistry
docker --daemon --log-level=debug \
--storage-dr... | <|file_sep|>run_engine.sh.diff
original:
EXEC_DRIVER=${EXEC_DRIVER:-native}
updated:
<|file_sep|>original/run_engine.sh
#!/bin/sh
set -e
set -x
DOCKER_GRAPHDRIVER=${DOCKER_GRAPHDRIVER:-overlay}
EXEC_DRIVER=${EXEC_DRIVER:-native}
# Set IP address in /etc/hosts for localregistry
IP=$(ifconfig eth0|grep "inet addr:"| c... | e43f961b4609434d81655fb96692eb4d9708486c | run_engine.sh | run_engine.sh | Shell |
<|file_sep|>.github/workflows/quality.yml.diff
original:
updated:
env:
VER_VAGRANT: 2.0.4
<|file_sep|>original/.github/workflows/quality.yml
name: Code Quality
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
... | name: Code Quality
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-20.04
env:
VER_VAGRANT: 2.0.4
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
bundler-cache: true
- run: bundle exec rake style:ruby | <|file_sep|>.github/workflows/quality.yml.diff
original:
updated:
env:
VER_VAGRANT: 2.0.4
<|file_sep|>original/.github/workflows/quality.yml
name: Code Quality
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
... | 1275fb3a031e43a1e30d121843f5d9c5f801523c | .github/workflows/quality.yml | .github/workflows/quality.yml | YAML |
<|file_sep|>original/findbugsTestCases/src/java/sfBugs/RFE2958584.java
<|file_sep|>current/findbugsTestCases/src/java/sfBugs/RFE2958584.java
<|file_sep|>updated/findbugsTestCases/src/java/sfBugs/RFE2958584.java | package sfBugs;
import java.io.Serializable;
import java.util.List;
public class RFE2958584
implements Serializable
{
private static final long serialVersionUID = 1L;
private List<NotSerializable> list; // Not findbugs warning here.
private NotSerializable ns;// Findbugs gives a proper warning here.
stat... | <|file_sep|>original/findbugsTestCases/src/java/sfBugs/RFE2958584.java
<|file_sep|>current/findbugsTestCases/src/java/sfBugs/RFE2958584.java
<|file_sep|>updated/findbugsTestCases/src/java/sfBugs/RFE2958584.java
package sfBugs;
import java.io.Serializable;
import java.util.List;
public class RFE2958584
implement... | 56a120915bb311bce81dbba584c3d5c1cfd7cc0b | findbugsTestCases/src/java/sfBugs/RFE2958584.java | findbugsTestCases/src/java/sfBugs/RFE2958584.java | Java |
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
## What does this pull request do?
Required.
## Any other changes that would benefit highlighting?
Intentionally left blank.
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
## What does this pull request do?
Required.
## Any other changes that would benefi... | ## What does this pull request do?
Required.
## Any other changes that would benefit highlighting?
Intentionally left blank.
## Checklist
- [ ] Provided JIRA ticket number in the title, e.g. "LGA-152: Sample title" | <|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md
## What does this pull request do?
Required.
## Any other changes that would benefit highlighting?
Intentionally left blank.
<|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md
## What does this pull request do?
Required.
## Any other changes that would benefi... | 82a5af9f18497c2be980be1a2d5b05a5fcc3c55d | .github/PULL_REQUEST_TEMPLATE.md | .github/PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java.diff
original:
import org.jboss.reddeer.swt.impl.menu.DefaultMenu;
updated:
import org.jboss.reddeer.swt.impl.menu.ShellMenu;
<|file_sep|>original/org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWiz... | * inside New wizard dialog
*/
public NewWizardDialog(String... path) {
this.path = path;
}
/**
* Opens wizard for new object to be created
*/
public void open(){
log.info("Open New Wizard");
super.open();
Menu menu = new ShellMenu("File","New","Other...");
menu.select();
new ActiveShell(DIALOG_T... | <|file_sep|>org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java.diff
original:
import org.jboss.reddeer.swt.impl.menu.DefaultMenu;
updated:
import org.jboss.reddeer.swt.impl.menu.ShellMenu;
<|file_sep|>original/org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWiz... | 6a59e4ad609ecc84d1e7efcb6240175f981d6a66 | org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java | org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java | Java |
<|file_sep|>original/Instanssi/ext_blog/templatetags/blog_tags.py
# -*- coding: utf-8 -*-
from django import template
from django.conf import settings
from Instanssi.ext_blog.models import BlogEntry
register = template.Library()
@register.inclusion_tag('ext_blog/blog_messages.html')
def render_blog(event_id):
en... | # -*- coding: utf-8 -*-
from django import template
from django.conf import settings
from Instanssi.ext_blog.models import BlogEntry
register = template.Library()
@register.inclusion_tag('ext_blog/blog_messages.html')
def render_blog(event_id, max_posts=10):
entries = BlogEntry.objects.filter(event_id__lte=int(e... | <|file_sep|>original/Instanssi/ext_blog/templatetags/blog_tags.py
# -*- coding: utf-8 -*-
from django import template
from django.conf import settings
from Instanssi.ext_blog.models import BlogEntry
register = template.Library()
@register.inclusion_tag('ext_blog/blog_messages.html')
def render_blog(event_id):
en... | e43b91412ee0899bb6b851a760dd06bce263d099 | Instanssi/ext_blog/templatetags/blog_tags.py | Instanssi/ext_blog/templatetags/blog_tags.py | Python |
<|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
install:
- mvn -f relution-publisher/pom.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn -f relution-publisher/pom.xml clean compile package -B
<|file_sep|>current/.travis.yml
language: java
jdk... | language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
install:
- mvn -f relution-publisher/pom.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn -f relution-publisher/pom.xml test -B | <|file_sep|>original/.travis.yml
language: java
jdk:
- openjdk7
- oraclejdk7
- oraclejdk8
install:
- mvn -f relution-publisher/pom.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn -f relution-publisher/pom.xml clean compile package -B
<|file_sep|>current/.travis.yml
language: java
jdk... | 5d9c2f44a7c174e80eaa48f66b02b03dc47c4c75 | .travis.yml | .travis.yml | YAML |
<|file_sep|>content/chronograf/v1.8/guides/high-availability-etcd.md.diff
original:
title: Running a high-availability Chronograf cluster with etcd
updated:
title: Running HA Chronograf with etcd
<|file_sep|>original/content/chronograf/v1.8/guides/high-availability-etcd.md
parent: Guides
---
Create a high-availabi... | parent: Guides
---
Create a high-availability (HA) Chronograf cluster using etcd as a shared data store.
## Install etcd
1. Download the latest etcd release [from GitHub](https://github.com/etcd-io/etcd/releases/).
(For detailed installation instructions specific to your operating system, see [Install and dep... | <|file_sep|>content/chronograf/v1.8/guides/high-availability-etcd.md.diff
original:
title: Running a high-availability Chronograf cluster with etcd
updated:
title: Running HA Chronograf with etcd
<|file_sep|>original/content/chronograf/v1.8/guides/high-availability-etcd.md
parent: Guides
---
Create a high-availabi... | 2eaeb729333571556ec596806eae65520f9cfa3e | content/chronograf/v1.8/guides/high-availability-etcd.md | content/chronograf/v1.8/guides/high-availability-etcd.md | Markdown |
<|file_sep|>original/pinkie-card/GenericTile.ui.qml
import QtQuick 2.7
Item {
}
<|file_sep|>current/pinkie-card/GenericTile.ui.qml
import QtQuick 2.7
Item {
}
<|file_sep|>updated/pinkie-card/GenericTile.ui.qml | import QtQuick 2.7
Item {
id: item1
property int tile_text_spacing: 20
property string tile_text: 'Tile'
property string tile_color: 'grey'
Text {
id: main_text
text: qsTr(tile_text)
anchors.right: parent.right
anchors.left: parent.left
anchors.leftMargin: 0... | <|file_sep|>original/pinkie-card/GenericTile.ui.qml
import QtQuick 2.7
Item {
}
<|file_sep|>current/pinkie-card/GenericTile.ui.qml
import QtQuick 2.7
Item {
}
<|file_sep|>updated/pinkie-card/GenericTile.ui.qml
import QtQuick 2.7
Item {
id: item1
property int tile_text_spacing: 20
property string tile_t... | e3c7e2ba6f2ad20a6d094dd37102c0c05b6ab6f3 | pinkie-card/GenericTile.ui.qml | pinkie-card/GenericTile.ui.qml | QML |
<|file_sep|>server/request.go.diff
original:
updated:
"fmt"
<|file_sep|>original/server/request.go
// Body is the Unmarshalled `Payload()`. If `RequestType()` is set on
// the `Endpoint`, we can attempt to unmarshal it for you
Body() interface{}
// SetBody of this request
SetBody(interface{})
// Service which ... | // ScopedRequest makes a client request within the scope of the current request
// @todo change the request & response interface to decouple from protobuf
ScopedRequest(service string, endpoint string, req proto.Message, resp proto.Message) error
// Session provided on this request
Session() auth.Session
// SetS... | <|file_sep|>server/request.go.diff
original:
updated:
"fmt"
<|file_sep|>original/server/request.go
// Body is the Unmarshalled `Payload()`. If `RequestType()` is set on
// the `Endpoint`, we can attempt to unmarshal it for you
Body() interface{}
// SetBody of this request
SetBody(interface{})
// Service which ... | 53d3ce1fc67cce86cd2db02907bd6de2c67065b3 | server/request.go | server/request.go | Go |
<|file_sep|>.travis.yml.diff
original:
# Install Anaconda
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
... | language: python
python:
# We don't actually use the Travis Python, but this keeps it organized.
- "3.5"
- "3.6"
install:
- bash libs/travis-conda-scripts/install.sh
script:
- echo "No tests to run..."
deploy:
skip_cleanup: true
after_success:
- bash libs/travis-conda-scripts/upload.sh | <|file_sep|>.travis.yml.diff
original:
# Install Anaconda
- if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
... | 1774ae10ddb505c57b5629af928961e158fcc44c | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-19mode
gemfile:
- Gemfile
- gemfiles/carrierwave-0.9.gemfile
- gemfiles/carrierwave-0.10.gemfile
- gemfiles/carrierwave-master.gemfile
- gemfiles/mongoid-3.1.gemfile
- gemfiles/mongoid-4.0.gemfile
... | language: ruby
cache: bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-19mode
gemfile:
- Gemfile
- gemfiles/carrierwave-0.9.gemfile
- gemfiles/carrierwave-0.10.gemfile
- gemfiles/carrierwave-master.gemfile
- gemfiles/mongoid-3.1.gemfile
- gemfiles/mongoid-4.0.gemfile
- gemfiles/mongoid-5.0.gemfile
m... | <|file_sep|>original/.travis.yml
language: ruby
cache: bundler
rvm:
- 2.1.9
- 2.2.5
- 2.3.1
- jruby-19mode
gemfile:
- Gemfile
- gemfiles/carrierwave-0.9.gemfile
- gemfiles/carrierwave-0.10.gemfile
- gemfiles/carrierwave-master.gemfile
- gemfiles/mongoid-3.1.gemfile
- gemfiles/mongoid-4.0.gemfile
... | b5b13af77d0e378ae49270af586c26799853a2b2 | .travis.yml | .travis.yml | YAML |
<|file_sep|>package.json.diff
original:
"html",
"pdf",
"markdown",
"grunt"
updated:
"gruntplugin"
<|file_sep|>package.json.diff
original:
"grunt": "~0.4.5"
updated:
"grunt": ">=0.4.0"
<|file_sep|>original/package.json
{
"type": "MIT",
"url": "https://github.com/max-barry/grun... | {
"type": "MIT",
"url": "https://github.com/max-barry/grunt-html-pdf/blob/master/LICENSE-MIT"
}
],
"engines": {
"node": ">= 0.8.0"
},
"devDependencies": {
"grunt": "~0.4.5",
"grunt-bump": "0.0.16",
"grunt-contrib-clean": "^0.5.0",
"grunt-contrib-jshint": "^0.9.2"
},
"... | <|file_sep|>package.json.diff
original:
"html",
"pdf",
"markdown",
"grunt"
updated:
"gruntplugin"
<|file_sep|>package.json.diff
original:
"grunt": "~0.4.5"
updated:
"grunt": ">=0.4.0"
<|file_sep|>original/package.json
{
"type": "MIT",
"url": "https://github.com/max-barry/grun... | 4aea1ae32a582ead8063eaa81ee452f5b5670906 | package.json | package.json | JSON |
<|file_sep|>original/circle.yml
machine:
python:
version: 2.7.8
dependencies:
pre:
- ln -s ~/.pyenv/versions/3.3.2/bin/python3.3 ~/bin
- ln -s ~/.pyenv/versions/3.4.1/bin/python3.4 ~/bin
override:
- pip install tox
- bash ./get_selenium.sh
cache_directories:
- "libs/"
- "target/"
t... | machine:
python:
version: 2.7.8
dependencies:
pre:
- ln -s ~/.pyenv/versions/3.3.2/bin/python3.3 ~/bin
- ln -s ~/.pyenv/versions/3.4.1/bin/python3.4 ~/bin
override:
- pip install tox
- bash ./get_selenium.sh
cache_directories:
- "libs/"
- "target/"
test:
override:
- cd client... | <|file_sep|>original/circle.yml
machine:
python:
version: 2.7.8
dependencies:
pre:
- ln -s ~/.pyenv/versions/3.3.2/bin/python3.3 ~/bin
- ln -s ~/.pyenv/versions/3.4.1/bin/python3.4 ~/bin
override:
- pip install tox
- bash ./get_selenium.sh
cache_directories:
- "libs/"
- "target/"
t... | ea542d1b2f67225d56ed95410bbd22eebfb75dbe | circle.yml | circle.yml | YAML |
<|file_sep|>original/.github/workflows/maven_java_11.yml
<|file_sep|>current/.github/workflows/maven_java_11.yml
<|file_sep|>updated/.github/workflows/maven_java_11.yml | # This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java 11 CI with Maven
on:
push:
branches: [ develop, 3.1.x, 3.0.x ]
pull_request:
branches: [ develop, 3.1.x, 3.0.x ]
j... | <|file_sep|>original/.github/workflows/maven_java_11.yml
<|file_sep|>current/.github/workflows/maven_java_11.yml
<|file_sep|>updated/.github/workflows/maven_java_11.yml
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/buildi... | 8d9b1c906f0adae7c476a9139f5aabc75abc3ce8 | .github/workflows/maven_java_11.yml | .github/workflows/maven_java_11.yml | YAML |
<|file_sep|>README.md.diff
original:
An `object` may be one of the following:
* `LeagueManagerApi::Season`
* `LeagueManagerApi::Division`
* `LeagueManagerApi::Team`
* `LeagueManagerApi::Player`
* `LeagueManagerApi::Member`
updated:
An `Object` may be one of the following:
* `LeagueManager::Season`
* `LeagueManager::Div... |
The following methods are exposed by the API.
An `Object` may be one of the following:
* `LeagueManager::Season`
* `LeagueManager::Division`
* `LeagueManager::Team`
* `LeagueManager::Player`
* `LeagueManager::Member`
The API is called using the following format
`LeagueManager::Object.get({:method => NAME_OF_METHOD ... | <|file_sep|>README.md.diff
original:
An `object` may be one of the following:
* `LeagueManagerApi::Season`
* `LeagueManagerApi::Division`
* `LeagueManagerApi::Team`
* `LeagueManagerApi::Player`
* `LeagueManagerApi::Member`
updated:
An `Object` may be one of the following:
* `LeagueManager::Season`
* `LeagueManager::Div... | 21c797a6a58a379cd6dd10972f96d00eef427bb9 | README.md | README.md | Markdown |
<|file_sep|>original/app/assets/javascripts/new_timeslot.js
$("#modal_new_timeslot").modal('toggle');
$.ajax({
type: "POST",
url: "/api/timeslots",
data: { start: data },
beforeSend: customBlockUi(this)
}).done(function(response) {
swal({
title: "G... | $("#modal_new_timeslot").modal('toggle');
$.ajax({
type: "POST",
url: "/api/timeslots",
data: { start: data },
beforeSend: customBlockUi(this)
}).done(function(response) {
swal({
title: "Great!",
text: "You have set up a tutoring av... | <|file_sep|>original/app/assets/javascripts/new_timeslot.js
$("#modal_new_timeslot").modal('toggle');
$.ajax({
type: "POST",
url: "/api/timeslots",
data: { start: data },
beforeSend: customBlockUi(this)
}).done(function(response) {
swal({
title: "G... | 0bb11ffcee30e71a836573996ce131d83353cefe | app/assets/javascripts/new_timeslot.js | app/assets/javascripts/new_timeslot.js | JavaScript |
<|file_sep|>original/.travis.yml
sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-Trunk
# Boilerplate ... should be no reason to edit the install section
install:
- export PROJECT_HOME="$(pwd)"
- cd $HOME
- wget -q... | sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-4.6
# Boilerplate ... should be no reason to edit the install section
install:
- export PROJECT_HOME="$(pwd)"
- cd $HOME
- wget -q -O builderCI.zip https://github.co... | <|file_sep|>original/.travis.yml
sudo: true
language: erlang
# Choose which platforms you want your builds run against (done in parallel)
env:
- ST=Squeak-4.5
- ST=Squeak-Trunk
# Boilerplate ... should be no reason to edit the install section
install:
- export PROJECT_HOME="$(pwd)"
- cd $HOME
- wget -q... | 6358bbb14add44ba5f38413a8e9d7420c7f15df8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/week-1/reflections.md
<|file_sep|>current/week-1/reflections.md
<|file_sep|>updated/week-1/reflections.md | # 1.1 Think About Time Reflection
I was able to select at least four time management/productivity ideas that I think can definitely suit me well. The Pomodoro Technique, starting projects/challenges on a smaller level, having a growth mindset, and finding the perfect balance between boredom and anxiety to get "in the z... | <|file_sep|>original/week-1/reflections.md
<|file_sep|>current/week-1/reflections.md
<|file_sep|>updated/week-1/reflections.md
# 1.1 Think About Time Reflection
I was able to select at least four time management/productivity ideas that I think can definitely suit me well. The Pomodoro Technique, starting projects/cha... | 821e1f53c8c8b5247a29f8842eff3218e073e149 | week-1/reflections.md | week-1/reflections.md | Markdown |
<|file_sep|>original/spec/integration/posts_controller_spec.rb
it 'builds a new tracker' do
tracker = controller.tracker
expect(tracker.respond_to?(:increment)).to eq(true)
expect(tracker.respond_to?(:decrement)).to eq(true)
end
it 'appends tracker to the notification payload' do
p... | it 'builds a new tracker' do
tracker = controller.tracker
expect(tracker.respond_to?(:increment)).to eq(true)
expect(tracker.respond_to?(:decrement)).to eq(true)
end
it 'appends tracker to the notification payload' do
payload = {}
# calling fetch without config results in a ... | <|file_sep|>original/spec/integration/posts_controller_spec.rb
it 'builds a new tracker' do
tracker = controller.tracker
expect(tracker.respond_to?(:increment)).to eq(true)
expect(tracker.respond_to?(:decrement)).to eq(true)
end
it 'appends tracker to the notification payload' do
p... | f4b68fc7287cc431a771c18b05d80c3d2cee4d62 | spec/integration/posts_controller_spec.rb | spec/integration/posts_controller_spec.rb | Ruby |
<|file_sep|>tests/sCRUDFormTest.php.diff
original:
updated:
class CrudTestTable extends fActiveRecord {}
<|file_sep|>tests/sCRUDFormTest.php.diff
original:
* @expectedException fProgrammerException
* @expectedExceptionMessage Action URL is invalid. Must be at least 1 character long
updated:
* @var fDatabase
... | column_a TEXT NOT NULL
);
SQL;
self::$db = new fDatabase('sqlite', './resources/db.sqlite3');
self::$db->translatedExecute($sql);
fORMDatabase::attach(self::$db);
}
public static function tearDownAfterClass() {
self::$db->translatedExecute('DROP TABLE crud_test_tables');
}
/**
* ... | <|file_sep|>tests/sCRUDFormTest.php.diff
original:
updated:
class CrudTestTable extends fActiveRecord {}
<|file_sep|>tests/sCRUDFormTest.php.diff
original:
* @expectedException fProgrammerException
* @expectedExceptionMessage Action URL is invalid. Must be at least 1 character long
updated:
* @var fDatabase
... | fb218b564e4cb8ffed6eb0a45783b9438d154e4e | tests/sCRUDFormTest.php | tests/sCRUDFormTest.php | PHP |
<|file_sep|>setup.py.diff
original:
from setuptools import setup
updated:
from setuptools import setup, find_packages
<|file_sep|>original/setup.py
full_path = os.path.join(PROJECT_ROOT, *path)
with codecs.open(full_path, 'r', encoding='utf-8') as f:
return f.read()
setup(
name='whitenoise',
ve... | full_path = os.path.join(PROJECT_ROOT, *path)
with codecs.open(full_path, 'r', encoding='utf-8') as f:
return f.read()
setup(
name='whitenoise',
version='0.12',
author='David Evans',
author_email='d@evans.io',
url='http://whitenoise.evans.io',
packages=find_packages(exclude=['te... | <|file_sep|>setup.py.diff
original:
from setuptools import setup
updated:
from setuptools import setup, find_packages
<|file_sep|>original/setup.py
full_path = os.path.join(PROJECT_ROOT, *path)
with codecs.open(full_path, 'r', encoding='utf-8') as f:
return f.read()
setup(
name='whitenoise',
ve... | 73685bccb82dbdf570c1e2823e49e9b156b42ba1 | setup.py | setup.py | Python |
<|file_sep|>original/.zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh
zstyle ':autocomplete:list-choices:*' max-lines 90%
zstyle ':autocomplete:*' groups always
zstyle ':autocomplete:tab:*' completion cycle
zstyle ':autocomplete:*' magic off
zstyle ':autocomplete:*' fuzzy-search off
zstyle ':autocomplete:*' key-binding... | zstyle ':autocomplete:list-choices:*' max-lines 90%
zstyle ':autocomplete:*' groups always
zstyle ':autocomplete:tab:*' completion cycle
zstyle ':autocomplete:*' magic off
zstyle ':autocomplete:*' fuzzy-search off
zstyle ':autocomplete:*' key-binding off
# zstyle ':autocomplete:*' config off
| <|file_sep|>original/.zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh
zstyle ':autocomplete:list-choices:*' max-lines 90%
zstyle ':autocomplete:*' groups always
zstyle ':autocomplete:tab:*' completion cycle
zstyle ':autocomplete:*' magic off
zstyle ':autocomplete:*' fuzzy-search off
zstyle ':autocomplete:*' key-binding... | 8bfc0234f434208e934d560f54aafa2731db7854 | .zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh | .zsh/rc/pluginconfig/zsh-autocomplete_atinit.zsh | Shell |
<|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.6.3
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.30
pytest-cov==2.5.1
# Lint and code style
flake8==3.5.0
flake8-docstrings==1.2.0
flake8-quotes==0.13.0
pep8-na... | # Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.6.3
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.30
pytest-cov==2.5.1
# Lint and code style
flake8==3.5.0
flake8-docstrings==1.3.0
flake8-quotes==0.13.0
pep8-naming==0.5.0 | <|file_sep|>original/requirements/dev.txt
# Everything the developer needs in addition to the production requirements
-r prod.txt
# Testing
pytest==3.6.3
factory-boy==2.11.1
pytest-mock==1.10.0
webtest==2.0.30
pytest-cov==2.5.1
# Lint and code style
flake8==3.5.0
flake8-docstrings==1.2.0
flake8-quotes==0.13.0
pep8-na... | d661dfdef6f1445b688d23df20bf72832da91acd | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>app/assets/javascripts/views/map_view.js.coffee.diff
original:
updated:
center = @currentAssignment.get 'latLng'
<|file_sep|>app/assets/javascripts/views/map_view.js.coffee.diff
original:
position: @currentAssignment.get 'latLng'
updated:
position: center
<|file_sep|>original/app/assets/jav... | reset: true
updateMarker: ->
if @marker?
@marker.setMap null
center = @currentAssignment.get 'latLng'
@marker = new google.maps.Marker
position: center
map: @map
title: @currentAssignment.get 'student_name'
@map.setCenter center
updateCurrentStudent: (event) ->
... | <|file_sep|>app/assets/javascripts/views/map_view.js.coffee.diff
original:
updated:
center = @currentAssignment.get 'latLng'
<|file_sep|>app/assets/javascripts/views/map_view.js.coffee.diff
original:
position: @currentAssignment.get 'latLng'
updated:
position: center
<|file_sep|>original/app/assets/jav... | e6befce555b9dd53ee9180ffc275757a0ce0e88f | app/assets/javascripts/views/map_view.js.coffee | app/assets/javascripts/views/map_view.js.coffee | CoffeeScript |
<|file_sep|>elephantblog/context_processors.py.diff
original:
from django.utils import translation
updated:
<|file_sep|>elephantblog/context_processors.py.diff
original:
updated:
from feincms.translations import short_language_code
<|file_sep|>elephantblog/context_processors.py.diff
original:
try:
return... | from feincms.module.page.models import Page
from feincms.translations import short_language_code
def blog_page(request):
""" Used to get the feincms page navigation within the blog app. """
from feincms.module.page.models import Page
return {'blog_page': Page.objects.get(slug='blog', language=short_la... | <|file_sep|>elephantblog/context_processors.py.diff
original:
from django.utils import translation
updated:
<|file_sep|>elephantblog/context_processors.py.diff
original:
updated:
from feincms.translations import short_language_code
<|file_sep|>elephantblog/context_processors.py.diff
original:
try:
return... | 1c6fcd2e1ab02fef60e3507ba57cb9224b19d616 | elephantblog/context_processors.py | elephantblog/context_processors.py | Python |
<|file_sep|>app/controllers/concerns/errorable.rb.diff
original:
rescue_from Errors::FormatError, ActionController::UnknownFormat, with: :handle_format_error
rescue_from Errors::AuthenticationError, with: :handle_authentication_error
rescue_from Errors::RequestError, with: :handle_request_error
rescue_f... | render_error :bad_request, ex.message
end
rescue_from Errors::Connectors::ConnectorError do |ex|
render_error :internal_server_error, ex.message
end
rescue_from Errors::Connectors::ServiceError do |ex|
render_error :service_unavailable, ex.message
end
end
# Converts a syboli... | <|file_sep|>app/controllers/concerns/errorable.rb.diff
original:
rescue_from Errors::FormatError, ActionController::UnknownFormat, with: :handle_format_error
rescue_from Errors::AuthenticationError, with: :handle_authentication_error
rescue_from Errors::RequestError, with: :handle_request_error
rescue_f... | 4b7c636733bb73177a27c1ac60447c9dc5ebfc53 | app/controllers/concerns/errorable.rb | app/controllers/concerns/errorable.rb | Ruby |
<|file_sep|>lib/BaseObject.js.diff
original:
updated:
exports.prototype.clear = function(callback) {
this.redis().del(this.key, callback);
};
<|file_sep|>original/lib/BaseObject.js
this.key = key;
if (myRedis && !options) {
options = myRedis;
myRedis = null;
}
if (!options) options = {};
this.op... | myRedis = null;
}
if (!options) options = {};
this.options = options;
this.myRedis = myRedis;
};
exports.prototype.redis = function() {
return this.myRedis || require('../index').connect();
};
exports.prototype.clear = function(callback) {
this.redis().del(this.key, callback);
};
exports.prototype.i... | <|file_sep|>lib/BaseObject.js.diff
original:
updated:
exports.prototype.clear = function(callback) {
this.redis().del(this.key, callback);
};
<|file_sep|>original/lib/BaseObject.js
this.key = key;
if (myRedis && !options) {
options = myRedis;
myRedis = null;
}
if (!options) options = {};
this.op... | 02a3f5b3fb131e05b10a4dc0fe868ea28b275f61 | lib/BaseObject.js | lib/BaseObject.js | JavaScript |
<|file_sep|>src/Backend/Core/Layout/Css/base.css.diff
original:
updated:
html {
min-height: 100%;
background-color: #EBF3F9;
}
<|file_sep|>original/src/Backend/Core/Layout/Css/base.css
body {
overflow-y: scroll;
}
#content {
padding-bottom: 50px;
}
h2, h3 {
float: left;
}
textarea {
resize:... | html {
min-height: 100%;
background-color: #EBF3F9;
}
body {
overflow-y: scroll;
background-color: transparent;
}
#content {
padding-bottom: 50px;
}
h2, h3 {
float: left;
}
textarea {
resize: vertical;
} | <|file_sep|>src/Backend/Core/Layout/Css/base.css.diff
original:
updated:
html {
min-height: 100%;
background-color: #EBF3F9;
}
<|file_sep|>original/src/Backend/Core/Layout/Css/base.css
body {
overflow-y: scroll;
}
#content {
padding-bottom: 50px;
}
h2, h3 {
float: left;
}
textarea {
resize:... | 8a2c45049413120d5aaf3a850935bd6d18e2b2a8 | src/Backend/Core/Layout/Css/base.css | src/Backend/Core/Layout/Css/base.css | CSS |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: nosetests --with-coverage --cover-package=devpi_builder
after_success: coveralls
<|file_sep|>current... | language: python
python:
- "2.7"
- "3.2"
- "3.4"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: nosetests --with-coverage --cover-package=devpi_builder
after_success: coveralls | <|file_sep|>original/.travis.yml
language: python
python:
- "2.7"
- "3.4"
# command to install dependencies
install:
- "pip install -r requirements.txt"
- "pip install coveralls"
# command to run tests
script: nosetests --with-coverage --cover-package=devpi_builder
after_success: coveralls
<|file_sep|>current... | 0d844de4646572f53de130bf16af8b4f423a2495 | .travis.yml | .travis.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.