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/tinysrt.py
Subtitle = namedtuple('Subtitle', ['index', 'start', 'end', 'content'])
def parse_time(time):
hours, minutes, seconds, milliseconds = map(int, re.split('[,:]', time))
return datetime.timedelta(
hours=hours,
minutes=minutes,
seconds=seconds,
mill... |
Subtitle = namedtuple('Subtitle', ['index', 'start', 'end', 'content'])
def parse_time(time):
hours, minutes, seconds, milliseconds = map(int, re.split('[,:]', time))
return datetime.timedelta(
hours=hours,
minutes=minutes,
seconds=seconds,
milliseconds=milliseconds,
)
d... | <|file_sep|>original/tinysrt.py
Subtitle = namedtuple('Subtitle', ['index', 'start', 'end', 'content'])
def parse_time(time):
hours, minutes, seconds, milliseconds = map(int, re.split('[,:]', time))
return datetime.timedelta(
hours=hours,
minutes=minutes,
seconds=seconds,
mill... | f48344f8b961971eb0946bcb4066df021f3eef8a | tinysrt.py | tinysrt.py | Python |
<|file_sep|>_layouts/talk.html.diff
original:
<h1 class="post_title" itemprop="name"><a href="{{ page.link }}" itemprop="url">{{ page.title }}</a></h1>
updated:
<h1 class="post_title" itemprop="name">{{ page.topic }}</h1>
<h2 class="gamma highlight">{{ page.title }}</h2>
<|file_sep|>original/_layouts/talk.html... | ---
layout: base
---
<div class="talk {{ page.slug }}" itemscope itemtype="http://schema.org/Event">
<header class="grid__item one-whole">
<h1 class="post_title" itemprop="name">{{ page.topic }}</h1>
<h2 class="gamma highlight">{{ page.title }}</h2>
<div class="meta">
<p><meta itemprop="startDate" content=... | <|file_sep|>_layouts/talk.html.diff
original:
<h1 class="post_title" itemprop="name"><a href="{{ page.link }}" itemprop="url">{{ page.title }}</a></h1>
updated:
<h1 class="post_title" itemprop="name">{{ page.topic }}</h1>
<h2 class="gamma highlight">{{ page.title }}</h2>
<|file_sep|>original/_layouts/talk.html... | 2953de989f10a91ec63e3819cae33bd5c21bb976 | _layouts/talk.html | _layouts/talk.html | HTML |
<|file_sep|>original/app/controllers/admin/sections_controller.rb
class Admin::SectionsController < Admin::AdminController
cache_sweeper :section_sweeper, :only => [:create]
def index
@available_section_types = Spritz::Plugin.section_types
@sections = @site.sections
end
def create
section_type ... | class Admin::SectionsController < Admin::AdminController
cache_sweeper :section_sweeper, :only => [:create]
def index
@available_section_types = Spritz::Plugin.section_types
@sections = @site.sections
end
def create
section_type = Spritz::Plugin.section_types.find { |st| st.section_name == para... | <|file_sep|>original/app/controllers/admin/sections_controller.rb
class Admin::SectionsController < Admin::AdminController
cache_sweeper :section_sweeper, :only => [:create]
def index
@available_section_types = Spritz::Plugin.section_types
@sections = @site.sections
end
def create
section_type ... | 046c5126fedabc953c1f3670497902e1f87d8162 | app/controllers/admin/sections_controller.rb | app/controllers/admin/sections_controller.rb | Ruby |
<|file_sep|>original/recipes/pyglfw/change_library_search_paths.patch
Index: glfw/library.py
<+>UTF-8
===================================================================
--- glfw/library.py (date 1558453268000)
+++ glfw/library.py (date 1562409824000)
@@ -127,12 +127,13 @@
"""
search_paths = [
'',
+ ... | Index: glfw/library.py
<+>UTF-8
===================================================================
--- glfw/library.py (date 1558453268000)
+++ glfw/library.py (date 1562409824000)
@@ -127,12 +127,13 @@
"""
search_paths = [
'',
+ os.path.abspath(os.path.dirname(__file__)),
+ sys.prefix... | <|file_sep|>original/recipes/pyglfw/change_library_search_paths.patch
Index: glfw/library.py
<+>UTF-8
===================================================================
--- glfw/library.py (date 1558453268000)
+++ glfw/library.py (date 1562409824000)
@@ -127,12 +127,13 @@
"""
search_paths = [
'',
+ ... | 53553d853ced6de785922408f6ce02230e6d3dc8 | recipes/pyglfw/change_library_search_paths.patch | recipes/pyglfw/change_library_search_paths.patch | Diff |
<|file_sep|>tests/pos/escapingRefs.scala.diff
original:
updated:
class HasA { type A }
<|file_sep|>original/tests/pos/escapingRefs.scala
class Outer {
class Inner {
class Inner2
}
}
object Test {
def test = {
val a: Outer#Inner = {
val o = new Outer
new o.Inner
}
val b: Outer#Inner... | def test = {
val a: Outer#Inner = {
val o = new Outer
new o.Inner
}
val b: Outer#Inner#Inner2 = {
val o = new Outer
val i = new o.Inner
new i.Inner2
}
val c: HasA { type A = Int } = {
val h = new HasA {
type A = Int
}
val x: HasA { type A =... | <|file_sep|>tests/pos/escapingRefs.scala.diff
original:
updated:
class HasA { type A }
<|file_sep|>original/tests/pos/escapingRefs.scala
class Outer {
class Inner {
class Inner2
}
}
object Test {
def test = {
val a: Outer#Inner = {
val o = new Outer
new o.Inner
}
val b: Outer#Inner... | d1014c3a2cf87b783f383e52b8923a42ee1bc31c | tests/pos/escapingRefs.scala | tests/pos/escapingRefs.scala | Scala |
<|file_sep|>original/inc/setting.h
#define __SETTING_H__
#define DITHERING_AMP 768;
#define BUFFER_NUM 4
#define STAGE_NUM 4
#define SAMPLE_NUM 256
#define SAMPLE_MAX 2047
#define SAMPLING_RATE 45 /* In Kilo Hz, Make Sure it can divide 45000*/
#define SAMPLE_PERIOD (1.0f / SAMPLING_RATE)
#define Q_1 1048576
#defin... | #define __SETTING_H__
#define DITHERING_AMP 768;
#define BUFFER_NUM 4
#define STAGE_NUM 4
#define SAMPLE_NUM 256
#define SAMPLE_MAX 2047
#define SAMPLING_RATE 44.1 /* In Kilo Hz, Make Sure it can divide 45000*/
#define SAMPLE_PERIOD (1.0f / SAMPLING_RATE)
#define Q_1 1048576
#define Q_MULT_SHIFT 11
#define BLOCK_... | <|file_sep|>original/inc/setting.h
#define __SETTING_H__
#define DITHERING_AMP 768;
#define BUFFER_NUM 4
#define STAGE_NUM 4
#define SAMPLE_NUM 256
#define SAMPLE_MAX 2047
#define SAMPLING_RATE 45 /* In Kilo Hz, Make Sure it can divide 45000*/
#define SAMPLE_PERIOD (1.0f / SAMPLING_RATE)
#define Q_1 1048576
#defin... | ef0a815082ee32b1bb661cc0b91a6eae53a7e2c3 | inc/setting.h | inc/setting.h | C |
<|file_sep|>original/.circleci/config.yml
test:
docker:
- image: circleci/clojure:lein-2.8.1
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ .Revision }}
- run:
command: lein deploy
... | test:
docker:
- image: circleci/clojure:lein-2.8.1
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ .Revision }}
- run: lein set-version 99.99.99
- run: lein install
- run: git reset HEAD --hard
... | <|file_sep|>original/.circleci/config.yml
test:
docker:
- image: circleci/clojure:lein-2.8.1
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ .Branch }}-{{ .Revision }}
- run:
command: lein deploy
... | 0d8ec15ca6b326159a44cbe442819ed72b2324e1 | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/app/workers/archive_trace_worker.rb
# frozen_string_literal: true
class ArchiveTraceWorker
include ApplicationWorker
include PipelineBackgroundQueue
def perform(job_id)
Ci::Build.find_by(id: job_id).try do |job|
job.trace.archive! unless build.job_artifacts_trace
end
end
end... | # frozen_string_literal: true
class ArchiveTraceWorker
include ApplicationWorker
include PipelineBackgroundQueue
def perform(job_id)
Ci::Build.find_by(id: job_id).try do |job|
job.trace.archive! unless job.job_artifacts_trace
end
end
end | <|file_sep|>original/app/workers/archive_trace_worker.rb
# frozen_string_literal: true
class ArchiveTraceWorker
include ApplicationWorker
include PipelineBackgroundQueue
def perform(job_id)
Ci::Build.find_by(id: job_id).try do |job|
job.trace.archive! unless build.job_artifacts_trace
end
end
end... | d86bed76500350ab167cb4520fab038bdb7ead81 | app/workers/archive_trace_worker.rb | app/workers/archive_trace_worker.rb | Ruby |
<|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.3.14"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= ... | import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.3.15"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= Seq(
ws,
filters,
... | <|file_sep|>original/build.sbt
import play.PlayImport.PlayKeys._
name := "lib-play"
organization := "io.flow"
scalaVersion in ThisBuild := "2.11.8"
crossScalaVersions := Seq("2.11.8")
version := "0.3.14"
lazy val root = project
.in(file("."))
.enablePlugins(PlayScala)
.settings(
libraryDependencies ++= ... | 9b0c3127cf14895235591d12d487068d599fde49 | build.sbt | build.sbt | Scala |
<|file_sep|>build.sbt.diff
original:
val ext_libgdxVersion = "1.9.2"
updated:
<|file_sep|>original/build.sbt
val leavu3 = Project(id = "leavu3", base = file("."))
.settings(
organization := "se.gigurra",
version := "SNAPSHOT",
scalaVersion := "2.11.8",
scalacOptions ++= Seq("-feature", "-unchecked"... | val leavu3 = Project(id = "leavu3", base = file("."))
.settings(
organization := "se.gigurra",
version := "SNAPSHOT",
scalaVersion := "2.11.8",
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation"),
mainClass in assembly := Some("se.gigurra.leavu3.DesktopMain"),
libraryDependencie... | <|file_sep|>build.sbt.diff
original:
val ext_libgdxVersion = "1.9.2"
updated:
<|file_sep|>original/build.sbt
val leavu3 = Project(id = "leavu3", base = file("."))
.settings(
organization := "se.gigurra",
version := "SNAPSHOT",
scalaVersion := "2.11.8",
scalacOptions ++= Seq("-feature", "-unchecked"... | eecf9224347f8be7804d99d948f94548df6c4fdb | build.sbt | build.sbt | Scala |
<|file_sep|>original/docs/business/organizations.rst
~~~~~~~~~~~~
* **Owners** -- Get full access to both view and edit the Organization and all Projects
* **Members** -- Get access to a subset of the Organization projects
* **Teams** -- Where you give members access to a set of projects.
The best way to think about ... | ~~~~~~~~~~~~
* **Owners** -- Get full access to both view and edit the Organization and all Projects
* **Members** -- Get access to a subset of the Organization projects
* **Teams** -- Where you give members access to a set of projects.
The best way to think about this relationship is:
*Owners* will create *Teams* t... | <|file_sep|>original/docs/business/organizations.rst
~~~~~~~~~~~~
* **Owners** -- Get full access to both view and edit the Organization and all Projects
* **Members** -- Get access to a subset of the Organization projects
* **Teams** -- Where you give members access to a set of projects.
The best way to think about ... | e64a0e0acfae3ce142e356b02ae004134cf61461 | docs/business/organizations.rst | docs/business/organizations.rst | reStructuredText |
<|file_sep|>original/config.ru
require 'fileutils'
require 'logger'
require 'sequel'
require 'pact_broker'
# Create a real database, and set the credentials for it here
DATABASE_CREDENTIALS = {database: "pact_broker_database", adapter: "postgres", user: ENV['DB_USERNAME'], password: ENV['DB_PASSWORD'], host: ENV['DB_H... | require 'fileutils'
require 'logger'
require 'sequel'
require 'pact_broker'
# Create a real database, and set the credentials for it here
DATABASE_CREDENTIALS = {database: "pact_broker_database", adapter: "postgres", user: ENV['DB_USERNAME'], password: ENV['DB_PASSWORD'], host: ENV['DB_HOST'], database: ENV['DB_NAME']... | <|file_sep|>original/config.ru
require 'fileutils'
require 'logger'
require 'sequel'
require 'pact_broker'
# Create a real database, and set the credentials for it here
DATABASE_CREDENTIALS = {database: "pact_broker_database", adapter: "postgres", user: ENV['DB_USERNAME'], password: ENV['DB_PASSWORD'], host: ENV['DB_H... | f6c3fd7882f55be3a74af1c6657af8ab8955afc8 | config.ru | config.ru | Ruby |
<|file_sep|>original/test/trusted.yaml
# What repos we trust enough to do automated unit tests.
REPOS:
- "https://github.com/cathay4t/libstoragemgmt.git"
- "https://github.com/tasleson/libstoragemgmt.git"
- "https://github.com/joehandzik/libstoragemgmt.git"
- "https://github.com/BlaineEXE/libstoragemgmt.git"
- "https:... | # What repos we trust enough to do automated unit tests.
REPOS:
- "https://github.com/cathay4t/libstoragemgmt.git"
- "https://github.com/tasleson/libstoragemgmt.git"
- "https://github.com/joehandzik/libstoragemgmt.git"
- "https://github.com/BlaineEXE/libstoragemgmt.git"
- "https://github.com/agrover/libstoragemgmt.git... | <|file_sep|>original/test/trusted.yaml
# What repos we trust enough to do automated unit tests.
REPOS:
- "https://github.com/cathay4t/libstoragemgmt.git"
- "https://github.com/tasleson/libstoragemgmt.git"
- "https://github.com/joehandzik/libstoragemgmt.git"
- "https://github.com/BlaineEXE/libstoragemgmt.git"
- "https:... | 75de15dfd630b8fd8312e3bb2ea82a883c66246c | test/trusted.yaml | test/trusted.yaml | YAML |
<|file_sep|>original/Colore/ColoreException.cs
<|file_sep|>current/Colore/ColoreException.cs
<|file_sep|>updated/Colore/ColoreException.cs | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and ... | <|file_sep|>original/Colore/ColoreException.cs
<|file_sep|>current/Colore/ColoreException.cs
<|file_sep|>updated/Colore/ColoreException.cs
// ---------------------------------------------------------------------------------------
// <copyright file="ColoreException.cs" company="">
// Copyright © 2015 by Adam Hel... | 66754e199066363c079cbfa84a34aafe70a5d1c5 | Colore/ColoreException.cs | Colore/ColoreException.cs | C# |
<|file_sep|>src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs.diff
original:
string scheme = request.Headers["X-Forwarded-Proto"].SingleOrDefault();
updated:
<|file_sep|>src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs.diff
original:
if (!IsSecure(sche... | }
}
return response;
};
}
private static bool IsSecure(Request request)
{
if (request.Headers.Keys.Contains("X-Forwarded-Proto"))
{
var scheme = request.Headers["X-Forwarded-Proto"].FirstOrD... | <|file_sep|>src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs.diff
original:
string scheme = request.Headers["X-Forwarded-Proto"].SingleOrDefault();
updated:
<|file_sep|>src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs.diff
original:
if (!IsSecure(sche... | bbc860a24afaeb66681351ba8633832d17677dde | src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs | src/Web/Infrastructure/AppHarborCompatibilityExtensions.cs | C# |
<|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
updated:
- [ ] liberty-12.2
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
##### What type of issue is this (bug, feature, documentation, regression)?
##### What is the expected behavior?
##### What is actually happening?
##### How can we reproduce this issue?
#... | ##### What type of issue is this (bug, feature, documentation, regression)?
##### What is the expected behavior?
##### What is actually happening?
##### How can we reproduce this issue?
##### How can we verify your issue is addressed?
##### If this is a large issue, what can be done immediately to alleviate the is... | <|file_sep|>.github/ISSUE_TEMPLATE.md.diff
original:
updated:
- [ ] liberty-12.2
<|file_sep|>original/.github/ISSUE_TEMPLATE.md
##### What type of issue is this (bug, feature, documentation, regression)?
##### What is the expected behavior?
##### What is actually happening?
##### How can we reproduce this issue?
#... | c68d6059f4caf3b30f7d15f0fc81644e49a78df5 | .github/ISSUE_TEMPLATE.md | .github/ISSUE_TEMPLATE.md | Markdown |
<|file_sep|>original/.travis.yml
language: php
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
install:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml
- vendor/bin/phpcs --ignore=vendor --standard=coding_standard.x... | language: php
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
install:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml
- vendor/bin/phpcs --ignore=vendor --standard=coding_standard.xml -s .
after_success:... | <|file_sep|>original/.travis.yml
language: php
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
install:
- composer install
script:
- mkdir -p build/logs
- vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover build/logs/clover.xml
- vendor/bin/phpcs --ignore=vendor --standard=coding_standard.x... | e17dc1be748f9b88ae204f554ec3dbf0f24e8a03 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/metadata/fr.witchdoctors.c4ffein.oosfirmwareextractor.yml
gradle:
- yes
- versionName: 0.2.2
versionCode: 4
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: 0.2.3
versionCode: 5
commit: v0.2.3
subdir: app
gradle:
- yes
AutoUpdateMo... | gradle:
- yes
- versionName: 0.2.2
versionCode: 4
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: 0.2.3
versionCode: 5
commit: v0.2.3
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.2.2
CurrentVersionCode:... | <|file_sep|>original/metadata/fr.witchdoctors.c4ffein.oosfirmwareextractor.yml
gradle:
- yes
- versionName: 0.2.2
versionCode: 4
commit: v0.2.2
subdir: app
gradle:
- yes
- versionName: 0.2.3
versionCode: 5
commit: v0.2.3
subdir: app
gradle:
- yes
AutoUpdateMo... | 60e9e1232ac3d6797efbd4018bd3e5b94bfa38d8 | metadata/fr.witchdoctors.c4ffein.oosfirmwareextractor.yml | metadata/fr.witchdoctors.c4ffein.oosfirmwareextractor.yml | YAML |
<|file_sep|>original/continuum-api/pom.xml
<groupId>org.apache.maven.continuum</groupId>
<version>1.1-beta-4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>continuum-api</artifactId>
<name>Continuum API</name>
<dependencies>
<dependency>
<groupId>org.codehaus.ple... | <artifactId>continuum-api</artifactId>
<name>Continuum API</name>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-formica</artifactId>
</dependency>
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-model</art... | <|file_sep|>original/continuum-api/pom.xml
<groupId>org.apache.maven.continuum</groupId>
<version>1.1-beta-4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>continuum-api</artifactId>
<name>Continuum API</name>
<dependencies>
<dependency>
<groupId>org.codehaus.ple... | 130eb25cf01e8a8c53839af3a5724566ab1e5425 | continuum-api/pom.xml | continuum-api/pom.xml | XML |
<|file_sep|>original/docs/dockercon-summit.md
# Dockercon 2017 Summit
This year at Dockercon US 2017 we will be having a containerd Summit on Thursday morning the week of the conference.
We are going to change the format slightly compared to the previous summit that was held in February. We will be allocating more... | # Dockercon 2017 Summit
This year at Dockercon US 2017 we will be having a containerd Summit on Thursday morning the week of the conference.
We are going to change the format slightly compared to the previous summit that was held in February. We will be allocating more time to the breakout sessions and less time t... | <|file_sep|>original/docs/dockercon-summit.md
# Dockercon 2017 Summit
This year at Dockercon US 2017 we will be having a containerd Summit on Thursday morning the week of the conference.
We are going to change the format slightly compared to the previous summit that was held in February. We will be allocating more... | 1f15b058d2dcf298554f2273671dbef1241fdd08 | docs/dockercon-summit.md | docs/dockercon-summit.md | Markdown |
<|file_sep|>original/docker-compose.yml
version: "3.6"
services:
db:
container_name: db
image: postgres:9.6
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=sample
- POSTGRES_USER=sample
- POSTGRES_DB=airtng-servlets
app:
stdin_open: true
tty: true
environmen... | version: "3.6"
services:
db:
image: postgres:9.6
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=sample
- POSTGRES_USER=sample
- POSTGRES_DB=airtng-servlets
app:
stdin_open: true
tty: true
environment:
- TWILIO_ACCOUNT_SID=your_account_sid
- TWILIO_A... | <|file_sep|>original/docker-compose.yml
version: "3.6"
services:
db:
container_name: db
image: postgres:9.6
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=sample
- POSTGRES_USER=sample
- POSTGRES_DB=airtng-servlets
app:
stdin_open: true
tty: true
environmen... | 79d123e1b2e8476a4a1e7e220179a9d49cce8125 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/README.md
> Gulp application for checking all [PostCSS] plugins functionality
Right now implemented plugins:
* [postcss-color-function](https://github.com/postcss/postcss-color-function) - by [@MoOx](https://github.com/MoOx)
* [postcss-color-grey](https://github.com/postcss/postcss-color-grey) -... |
> Gulp application for checking all [PostCSS] plugins functionality
Right now implemented plugins:
* [postcss-color-function](https://github.com/postcss/postcss-color-function) - by [@MoOx](https://github.com/MoOx)
* [postcss-color-grey](https://github.com/postcss/postcss-color-grey) - by [@shinnn](https://github.co... | <|file_sep|>original/README.md
> Gulp application for checking all [PostCSS] plugins functionality
Right now implemented plugins:
* [postcss-color-function](https://github.com/postcss/postcss-color-function) - by [@MoOx](https://github.com/MoOx)
* [postcss-color-grey](https://github.com/postcss/postcss-color-grey) -... | 3141087b1084146f7e76986723f7c3fd9196ae07 | README.md | README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
- "5.2"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
before_script:
- npm install -g grunt coffee-script
script: grunt test
<|file_sep|>current/.travis.yml
language: no... | language: node_js
node_js:
- "5.2"
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
before_script:
- npm install -g grunt-cli coffee-script
script: grunt test | <|file_sep|>.travis.yml.diff
original:
updated:
- "5.2"
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "4.1"
- "4.0"
- "0.12"
- "0.11"
- "0.10"
- "0.8"
- "0.6"
- "iojs"
before_script:
- npm install -g grunt coffee-script
script: grunt test
<|file_sep|>current/.travis.yml
language: no... | 2c727930a5ef7ca2c2f442dc9411bdd0bfcf13fa | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/appveyor.yml
COLUMNS: 999
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
# Disable for 0.7 pre-release
# See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
#- PYTHON: "C:\\Python38-x64"... | COLUMNS: 999
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
# Disable for 0.7 pre-release
# See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
#- PYTHON: "C:\\Python38-x64"
install:
- "%PYTHON%\\python.e... | <|file_sep|>original/appveyor.yml
COLUMNS: 999
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
# Disable for 0.7 pre-release
# See https://ci.appveyor.com/project/GuildAI/guildai/builds/31131417/job/g9r6vucfl0cnmhba
#- PYTHON: "C:\\Python38-x64"... | 41febe61cb2d4a031e8c42ed6e1c7e61909e7738 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/requirements_dev.txt
Sphinx==1.4.5
boto==2.42.0
bumpversion==0.5.3
coverage==4.2
flake8==3.0.4
pytest-cov==2.3.1
pytest==3.0.1
requests==2.11.1
responses==0.5.1
sphinx-rtd-theme==0.1.9
tox==2.3.1
twine==1.8.1
watchdog==0.8.3
<|file_sep|>current/requirements_dev.txt
Sphinx==1.4.5
boto==2.42.0
bumpve... | Sphinx==1.4.5
boto==2.42.0
bumpversion==0.5.3
coverage==4.2
flake8==3.0.4
pytest-cov==2.4.0
pytest==3.0.1
requests==2.11.1
responses==0.5.1
sphinx-rtd-theme==0.1.9
tox==2.3.1
twine==1.8.1
watchdog==0.8.3 | <|file_sep|>original/requirements_dev.txt
Sphinx==1.4.5
boto==2.42.0
bumpversion==0.5.3
coverage==4.2
flake8==3.0.4
pytest-cov==2.3.1
pytest==3.0.1
requests==2.11.1
responses==0.5.1
sphinx-rtd-theme==0.1.9
tox==2.3.1
twine==1.8.1
watchdog==0.8.3
<|file_sep|>current/requirements_dev.txt
Sphinx==1.4.5
boto==2.42.0
bumpve... | a40414430623e5fc3e69d5d64d30ae12e40d1c0a | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.0
script:
- bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.0
script:
- bundle exec rspec
<|file_sep|>updated/.travis.yml | language: ruby
rvm:
- 2.1.0
- 2.4.0
script:
- bundle exec rspec | <|file_sep|>original/.travis.yml
language: ruby
rvm:
- 2.1.0
script:
- bundle exec rspec
<|file_sep|>current/.travis.yml
language: ruby
rvm:
- 2.1.0
script:
- bundle exec rspec
<|file_sep|>updated/.travis.yml
language: ruby
rvm:
- 2.1.0
- 2.4.0
script:
- bundle exec rspec | 3be78a47780dc56adb8035ab19aa36fabb51d2ca | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/txircd/modules/cmode_t.py
from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in ta... | from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in targetChannel.mode and not user.hasAccess(targetC... | <|file_sep|>original/txircd/modules/cmode_t.py
from twisted.words.protocols import irc
from txircd.modbase import Mode
class TopiclockMode(Mode):
def checkPermission(self, user, cmd, data):
if cmd != "TOPIC":
return data
if "topic" not in data:
return data
targetChannel = data["targetchan"]
if "t" in ta... | 66e67e53360a9f49ae73c8c8f2de49991525363b | txircd/modules/cmode_t.py | txircd/modules/cmode_t.py | Python |
<|file_sep|>original/packages/ba/basement.yaml
homepage: https://github.com/haskell-foundation/foundation#readme
changelog-type: ''
hash: 8f84b561f03cd2d7ac8e480c305892a4015df22311044b8c7dd629e309c72c55
test-bench-deps: {}
maintainer: vincent@snarc.org
synopsis: Foundation scrap box of array & string
changelog: ''
basi... | homepage: https://github.com/haskell-foundation/foundation#readme
changelog-type: ''
hash: 5eaa84a8395afc00751918adbde4db66b05e7126caf20779c0ddf4b94c23bc00
test-bench-deps: {}
maintainer: vincent@snarc.org
synopsis: Foundation scrap box of array & string
changelog: ''
basic-deps:
base: -any
ghc-prim: -any
all-versi... | <|file_sep|>original/packages/ba/basement.yaml
homepage: https://github.com/haskell-foundation/foundation#readme
changelog-type: ''
hash: 8f84b561f03cd2d7ac8e480c305892a4015df22311044b8c7dd629e309c72c55
test-bench-deps: {}
maintainer: vincent@snarc.org
synopsis: Foundation scrap box of array & string
changelog: ''
basi... | 5f5c3f04ea6b04de8b22e7d27f3f28493a174cae | packages/ba/basement.yaml | packages/ba/basement.yaml | YAML |
<|file_sep|>original/requirements.txt
cookiecutter==1.7.2
sh==1.13.1
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.8.2
flake8-isort==3.0.0
# Testing
# -------------------------------------------------------------------------... | cookiecutter==1.7.2
sh==1.13.1
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.8.2
flake8-isort==3.0.0
# Testing
# ------------------------------------------------------------------------------
tox==3.15.2
pytest==5.4.3
pytest... | <|file_sep|>original/requirements.txt
cookiecutter==1.7.2
sh==1.13.1
binaryornot==0.4.4
# Code quality
# ------------------------------------------------------------------------------
black==19.10b0
flake8==3.8.2
flake8-isort==3.0.0
# Testing
# -------------------------------------------------------------------------... | 52c4f57ecab2c10c0f5f4039b088d946df85295a | requirements.txt | requirements.txt | Text |
<|file_sep|>original/app/src/main/AndroidManifest.xml
<|file_sep|>current/app/src/main/AndroidManifest.xml
<|file_sep|>updated/app/src/main/AndroidManifest.xml | <?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="be.plutus.android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission a... | <|file_sep|>original/app/src/main/AndroidManifest.xml
<|file_sep|>current/app/src/main/AndroidManifest.xml
<|file_sep|>updated/app/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="be.plutus.android">
... | 44dcc0b18087986c287f3d14b5a61416928d9ee4 | app/src/main/AndroidManifest.xml | app/src/main/AndroidManifest.xml | XML |
<|file_sep|>original/README.md
# rust-lua53
Aims to be complete Rust bindings for Lua 5.3.
Requires `gcc` and a copy of Lua 5.3 to build. To get started:
export LUA_INCLUDE=/path/to/lua53/headers
./prebuild.sh
cargo build
# License
Licensed under the MIT License, which is the same license Lua is distribu... | # rust-lua53 [](https://travis-ci.org/jcmoyer/rust-lua53)
Aims to be complete Rust bindings for Lua 5.3.
Requires `gcc` and a copy of Lua 5.3 to build. To get started:
export LUA_INCLUDE=/path/to/lua53/headers
./prebuild.sh
cargo b... | <|file_sep|>original/README.md
# rust-lua53
Aims to be complete Rust bindings for Lua 5.3.
Requires `gcc` and a copy of Lua 5.3 to build. To get started:
export LUA_INCLUDE=/path/to/lua53/headers
./prebuild.sh
cargo build
# License
Licensed under the MIT License, which is the same license Lua is distribu... | 2048df0a219e8740ef6bf1421f0b66aaa8361f6a | README.md | README.md | Markdown |
<|file_sep|>original/cyder/base/models.py
def unique_error_message(self, model_class, unique_check):
error = super(BaseModel, self).unique_error_message(
model_class, unique_check)
kwargs = {}
for field in unique_check:
kwargs[field] = getattr(self, field)
o... | def unique_error_message(self, model_class, unique_check):
error = super(BaseModel, self).unique_error_message(
model_class, unique_check)
kwargs = {}
for field in unique_check:
kwargs[field] = getattr(self, field)
obj = model_class.objects.filter(**kwargs)
... | <|file_sep|>original/cyder/base/models.py
def unique_error_message(self, model_class, unique_check):
error = super(BaseModel, self).unique_error_message(
model_class, unique_check)
kwargs = {}
for field in unique_check:
kwargs[field] = getattr(self, field)
o... | 6267fa5d9a3ff2573dc33a23d3456942976b0b7e | cyder/base/models.py | cyder/base/models.py | Python |
<|file_sep|>.travis.yml.diff
original:
branches:
except:
- /^v[0-9]/
updated:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
-... | - "4"
- "5"
- "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
- CXX=g++-4.8
before_install:
- npm install -g npm
be... | <|file_sep|>.travis.yml.diff
original:
branches:
except:
- /^v[0-9]/
updated:
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- build-essential
- g++-4.8
env:
-... | e570518d5e35187c9d5ce7e65e24d4ceaa752e03 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
bundler_args: --without benchmarks tools
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-tes... | bundler_args: --without benchmarks tools
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- "[ -d coverage ] && ./cc-test-reporter after-build --exit-code $... | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
bundler_args: --without benchmarks tools
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-tes... | 7e5a0e1d2bdb30249859eb2124032428f94e9d66 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/app/views/exercises/_form.html.erb
<div class="box-body">
<%= form_for @exercise do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="form-group">
<%= f.label "Título" %>
<%= f.text_field :title, class: "form-contr... | <%= f.label "Descrição" %>
<%= f.text_area :description, class: "form-control" %>
</div>
<%= f.submit yield(:button_text), class: "btn btn-primary pull-right" %>
<% end %>
</div>
</div>
</div>
</div>
<script type="text/javascript">
console.log($('textare... | <|file_sep|>original/app/views/exercises/_form.html.erb
<div class="box-body">
<%= form_for @exercise do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="form-group">
<%= f.label "Título" %>
<%= f.text_field :title, class: "form-contr... | 6f147e0efc95a0aea6c83699844dafc597a29afa | app/views/exercises/_form.html.erb | app/views/exercises/_form.html.erb | HTML+ERB |
<|file_sep|>original/string_view_exception.cpp
<|file_sep|>current/string_view_exception.cpp
<|file_sep|>updated/string_view_exception.cpp | #include <iostream>
#include <stdexcept>
#include <string_view>
void* operator new(std::size_t n) {
std::cout << "new() " << n << " bytes\n";
return malloc(n);
}
int main() {
std::string_view str_view("abcdef");
try {
for (std::size_t i = 0; true; i++) {
std::cout << i << ": " << str_view.at(i) << '\n';
}... | <|file_sep|>original/string_view_exception.cpp
<|file_sep|>current/string_view_exception.cpp
<|file_sep|>updated/string_view_exception.cpp
#include <iostream>
#include <stdexcept>
#include <string_view>
void* operator new(std::size_t n) {
std::cout << "new() " << n << " bytes\n";
return malloc(n);
}
int main() {
... | 05fa2b7f82c2440a21e2327ea47196e002cc6d59 | string_view_exception.cpp | string_view_exception.cpp | C++ |
<|file_sep|>original/core/image_png.go
func (p *PNGHandler) Decode(reader io.Reader) (image.Image, error) {
return png.Decode(reader)
}
func (p *PNGHandler) Encode(newImgFile *os.File, newImage image.Image) error {
return png.Encode(newImgFile, newImage)
}
func (p *PNGHandler) Convert(newImageTempPath string... |
func (p *PNGHandler) Decode(reader io.Reader) (image.Image, error) {
return png.Decode(reader)
}
func (p *PNGHandler) Encode(newImgFile *os.File, newImage image.Image) error {
return png.Encode(newImgFile, newImage)
}
func (p *PNGHandler) Convert(newImageTempPath string, quality uint) error {
args := []s... | <|file_sep|>original/core/image_png.go
func (p *PNGHandler) Decode(reader io.Reader) (image.Image, error) {
return png.Decode(reader)
}
func (p *PNGHandler) Encode(newImgFile *os.File, newImage image.Image) error {
return png.Encode(newImgFile, newImage)
}
func (p *PNGHandler) Convert(newImageTempPath string... | a9435a9180a073655cbe4caa43ce2ba1b6d1d063 | core/image_png.go | core/image_png.go | Go |
<|file_sep|>original/zip2wd_mp/demographics2input.py
<|file_sep|>current/zip2wd_mp/demographics2input.py
<|file_sep|>updated/zip2wd_mp/demographics2input.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import csv
import argparse
def parse_command_line():
"""Parse command line arguments
"""
parser = argparse.ArgumentParser(description="Demographics data to Inputs")
parser.add_argument('input', type=str, help='Demographics CSV file')
parser.add_argum... | <|file_sep|>original/zip2wd_mp/demographics2input.py
<|file_sep|>current/zip2wd_mp/demographics2input.py
<|file_sep|>updated/zip2wd_mp/demographics2input.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import csv
import argparse
def parse_command_line():
"""Parse command line arguments
"""
parser = ar... | cff10711c9c613fad39e7a0eec5c37c3c17a7b94 | zip2wd_mp/demographics2input.py | zip2wd_mp/demographics2input.py | Python |
<|file_sep|>raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java.diff
original:
updated:
import org.hamcrest.Matchers;
<|file_sep|>raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java.diff
original:
import static org.hamcrest.Matchers.contains;
updated:
<|file_sep|>raven/src/test/j... | package net.kencochrane.raven;
import org.hamcrest.Matchers;
import org.testng.annotations.Test;
import java.util.ServiceLoader;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.instanceOf;
public class DefaultRavenFactoryTest {
@Test
public void checkServiceLoaderPro... | <|file_sep|>raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java.diff
original:
updated:
import org.hamcrest.Matchers;
<|file_sep|>raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java.diff
original:
import static org.hamcrest.Matchers.contains;
updated:
<|file_sep|>raven/src/test/j... | 2ca5dbdb57f2ec2474d7a9724ddf3e952518192e | raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java | raven/src/test/java/net/kencochrane/raven/DefaultRavenFactoryTest.java | Java |
<|file_sep|>photo/idxitem.py.diff
original:
updated:
self.tags = set(self.tags)
<|file_sep|>original/photo/idxitem.py
while True:
chunk = f.read(chunksize)
if not chunk:
break
m.update(chunk)
return m.hexdigest()
class IdxItem(object):
def ... | break
m.update(chunk)
return m.hexdigest()
class IdxItem(object):
def __init__(self, filename=None, data=None):
self.filename = None
self.tags = []
if data is not None:
self.__dict__.update(data)
elif filename is not None:
se... | <|file_sep|>photo/idxitem.py.diff
original:
updated:
self.tags = set(self.tags)
<|file_sep|>original/photo/idxitem.py
while True:
chunk = f.read(chunksize)
if not chunk:
break
m.update(chunk)
return m.hexdigest()
class IdxItem(object):
def ... | 24c8122db0f38a1f798461a23d08535e4e6781d5 | photo/idxitem.py | photo/idxitem.py | Python |
<|file_sep|>original/tapestry-core/NOTICE.txt
http://webfx.eae.net/dhtml/datepicker/datepicker.html
This product includes images from the Silk icon set, distributed under the terms of the Creative Commons Attribution 2.5 License.
http://www.famfamfam.com/lab/icons/silk/
This product includes Underscore.js.
http://doc... | http://json.org/
This product includes the WebFX DatePicker, a JavaScript library released under the Apache Software License 2.0
http://webfx.eae.net/dhtml/datepicker/datepicker.html
This product includes images from the Silk icon set, distributed under the terms of the Creative Commons Attribution 2.5 License.
http:... | <|file_sep|>original/tapestry-core/NOTICE.txt
http://webfx.eae.net/dhtml/datepicker/datepicker.html
This product includes images from the Silk icon set, distributed under the terms of the Creative Commons Attribution 2.5 License.
http://www.famfamfam.com/lab/icons/silk/
This product includes Underscore.js.
http://doc... | 1f6f38234f090c9bb45df237598f8f90fe724ee7 | tapestry-core/NOTICE.txt | tapestry-core/NOTICE.txt | Text |
<|file_sep|>original/README.md
# beer-tinder-app
Lets Markus evaluate beers in tinder style <br/>
Deployed at www.markus-trinkt.de <br/>
www.markus-trinkt.de/statistics shows how often he has voted in favor or against a beer!
# Setup
bundle install <br/>
bundle exec ruby beer-tinder-app.rb
## With automatic reload
ge... | # beer-tinder-app
Lets Markus evaluate beers in tinder style <br/>
Deployed at www.markus-trinkt.de <br/>
www.markus-trinkt.de/statistics shows how often he has voted in favor or against a beer!
# Setup
bundle install <br/>
bundle exec ruby beer-tinder-app.rb
## With automatic reload
gem install rerun <br/>
rerun bee... | <|file_sep|>original/README.md
# beer-tinder-app
Lets Markus evaluate beers in tinder style <br/>
Deployed at www.markus-trinkt.de <br/>
www.markus-trinkt.de/statistics shows how often he has voted in favor or against a beer!
# Setup
bundle install <br/>
bundle exec ruby beer-tinder-app.rb
## With automatic reload
ge... | 0d007091e28510fbba30f114a656bc62c7458226 | README.md | README.md | Markdown |
<|file_sep|>original/lib/chinese_t2s/middleware.rb
@app = app
end
def call(env)
status, headers, bodies = @app.call(env)
if status == 200 && bodies.present?
params = env['rack.request.query_hash'] || {}
if (env['rack.session']['chinese_t2s_lang'] || params['la... | @app = app
end
def call(env)
status, headers, bodies = @app.call(env)
if status == 200 && bodies.present?
params = env['rack.request.query_hash'] || {}
if params['lang'] == 'cn'
case bodies
when ActionDispatch::Response # Rails
... | <|file_sep|>original/lib/chinese_t2s/middleware.rb
@app = app
end
def call(env)
status, headers, bodies = @app.call(env)
if status == 200 && bodies.present?
params = env['rack.request.query_hash'] || {}
if (env['rack.session']['chinese_t2s_lang'] || params['la... | b070c33d2e25167d626de02d1d8d82cac2f07281 | lib/chinese_t2s/middleware.rb | lib/chinese_t2s/middleware.rb | Ruby |
<|file_sep|>tests/Strategy/ProphecyMockingStrategyTest.php.diff
original:
updated:
use Moka\Exception\MockNotCreatedException;
<|file_sep|>tests/Strategy/ProphecyMockingStrategyTest.php.diff
original:
updated:
use Prophecy\Doubler\Doubler;
use Prophecy\Doubler\LazyDouble;
<|file_sep|>original/tests/Strategy/ProphecyM... | use Prophecy\Doubler\Doubler;
use Prophecy\Doubler\LazyDouble;
use Prophecy\Prophecy\ObjectProphecy;
class ProphecyMockingStrategyTest extends MockingStrategyTestCase
{
public function __construct($name = null, array $data = [], $dataName = '')
{
parent::__construct($name, $data, $dataName);
$... | <|file_sep|>tests/Strategy/ProphecyMockingStrategyTest.php.diff
original:
updated:
use Moka\Exception\MockNotCreatedException;
<|file_sep|>tests/Strategy/ProphecyMockingStrategyTest.php.diff
original:
updated:
use Prophecy\Doubler\Doubler;
use Prophecy\Doubler\LazyDouble;
<|file_sep|>original/tests/Strategy/ProphecyM... | 75430524829e4d35a3c88f79e9d138bb9021aa29 | tests/Strategy/ProphecyMockingStrategyTest.php | tests/Strategy/ProphecyMockingStrategyTest.php | PHP |
<|file_sep|>lims/pricebook/views.py.diff
original:
updated:
from django.conf import settings
from simple_salesforce import Salesforce
<|file_sep|>lims/pricebook/views.py.diff
original:
@list_route()
updated:
def perform_create(self, serializer):
serializer.save()
get_pricebooks()
@list_ro... | filter_fields = ('name', 'identifier',)
def perform_create(self, serializer):
serializer.save()
get_pricebooks()
@list_route(methods=['POST'])
def updateall(self, request):
get_pricebooks()
return Response({'message': 'Pricebooks updated'})
@list_route()
def on... | <|file_sep|>lims/pricebook/views.py.diff
original:
updated:
from django.conf import settings
from simple_salesforce import Salesforce
<|file_sep|>lims/pricebook/views.py.diff
original:
@list_route()
updated:
def perform_create(self, serializer):
serializer.save()
get_pricebooks()
@list_ro... | eb25c6900b307792821f7db6bcfa92cc62a80298 | lims/pricebook/views.py | lims/pricebook/views.py | Python |
<|file_sep|>original/app/views/users/show.html.erb
<%= title('Dashboard') %>
<div class="container tmp-container-spacer">
<div class= 'col-lg-8 offset-lg-2'>
<h1 class="page-heading-title">My Dashboard</h1>
<div class="card-main profile-card">
<%= render User::AvatarComponent.new(current_user: current... | <%= title('Dashboard') %>
<div class="container tmp-container-spacer">
<div class= 'col-lg-8 offset-lg-2'>
<h1 class="page-heading-title">Dashboard</h1>
<div class="card-main profile-card">
<%= render User::AvatarComponent.new(current_user: current_user, classes: ' w-24') %>
<h2 class="profile-c... | <|file_sep|>original/app/views/users/show.html.erb
<%= title('Dashboard') %>
<div class="container tmp-container-spacer">
<div class= 'col-lg-8 offset-lg-2'>
<h1 class="page-heading-title">My Dashboard</h1>
<div class="card-main profile-card">
<%= render User::AvatarComponent.new(current_user: current... | e4514667abe75961068c251e76993fbb8ff98433 | app/views/users/show.html.erb | app/views/users/show.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- nightly
sudo: false
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 5.6
<|file_sep|>current/.travis.yml
language: php
php:
- 5.... | language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
sudo: false
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true | <|file_sep|>original/.travis.yml
language: php
php:
- 5.6
- 7.0
- nightly
sudo: false
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 5.6
<|file_sep|>current/.travis.yml
language: php
php:
- 5.... | 3740302959df44f3bb24f6f150e3ec17a2242a80 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y sshpass
install:
- docker pull gtcg/sv-callers-gridengine
- docker pull gtcg/sv-callers-slurm
- docker run -d -p 10022:22 gtcg/sv-callers-gridengine
- docker run -d -p 10023:22 gtcg/sv-c... | - docker
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y sshpass
install:
- docker pull gtcg/sv-callers-gridengine
- docker pull gtcg/sv-callers-slurm
- docker run -d -p 10022:22 gtcg/sv-callers-gridengine
- docker run -d -p 10023:22 gtcg/sv-callers-slurm
- sleep 10
- docker ps -a
... | <|file_sep|>original/.travis.yml
services:
- docker
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y sshpass
install:
- docker pull gtcg/sv-callers-gridengine
- docker pull gtcg/sv-callers-slurm
- docker run -d -p 10022:22 gtcg/sv-callers-gridengine
- docker run -d -p 10023:22 gtcg/sv-c... | 808a44b8386721decf709c7593e2ab0436ca97e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# java-code-metrics
Generate Java code metrics
[](https://travis-ci.org/phss/java-code-metrics)
## Building
To generate the UberJAR under `build/libs`:
gradle shadowJar
## Running
java -jar build... | # java-code-metrics
Generate Java code metrics
[](https://travis-ci.org/phss/java-code-metrics)
## Building
To generate the UberJAR under `build/libs`:
gradle shadowJar
## Running
java -jar build/libs/java-code-metrics-all.jar... | <|file_sep|>original/README.md
# java-code-metrics
Generate Java code metrics
[](https://travis-ci.org/phss/java-code-metrics)
## Building
To generate the UberJAR under `build/libs`:
gradle shadowJar
## Running
java -jar build... | c48ad62d604ca3935f6b8cbe00605346cfa1d6b7 | README.md | README.md | Markdown |
<|file_sep|>original/.github/pr-badge.yml
<|file_sep|>current/.github/pr-badge.yml
<|file_sep|>updated/.github/pr-badge.yml | - imageUrl: https://github.com/OctoLinker/OctoLinker/workflows/Node%20CI/badge.svg?branch=$branchName
url: https://github.com/OctoLinker/OctoLinker/pull/$prNumber/checks
- imageUrl: https://badgen.net/badge/Generated%20by/%20%20%20/purple
url: https://pullrequestbadge.com/?rel=badge | <|file_sep|>original/.github/pr-badge.yml
<|file_sep|>current/.github/pr-badge.yml
<|file_sep|>updated/.github/pr-badge.yml
- imageUrl: https://github.com/OctoLinker/OctoLinker/workflows/Node%20CI/badge.svg?branch=$branchName
url: https://github.com/OctoLinker/OctoLinker/pull/$prNumber/checks
- imageUrl: https:/... | 412c4b135015276f52260d2400d4dac0079b9440 | .github/pr-badge.yml | .github/pr-badge.yml | YAML |
<|file_sep|>original/app/templates/components/programyear-header.hbs
<div class='detail-header'>
<span class='title'>
{{#if programYear}}
<h2>{{t 'programs.matriculationYear'}}: {{programYear.academicYear}}</h2>
<h4>{{programYear.cohort.displayTitle}}</h4>
{{/if}}
</span>
<span class ='actions'>
... | <div class='detail-header'>
<span class='title'>
{{#if programYear}}
<h2>{{t 'programs.matriculationYear'}} {{programYear.academicYear}}</h2>
<h4>{{programYear.cohort.displayTitle}}</h4>
{{/if}}
</span>
<span class ='actions'>
{{#action-menu title=menuTitle icon=menuIcon classNameBindings='pub... | <|file_sep|>original/app/templates/components/programyear-header.hbs
<div class='detail-header'>
<span class='title'>
{{#if programYear}}
<h2>{{t 'programs.matriculationYear'}}: {{programYear.academicYear}}</h2>
<h4>{{programYear.cohort.displayTitle}}</h4>
{{/if}}
</span>
<span class ='actions'>
... | f3e0f0f046b5e83e3f98449b3db69b8321a8396e | app/templates/components/programyear-header.hbs | app/templates/components/programyear-header.hbs | Handlebars |
<|file_sep|>src/chrome/content_core.js.diff
original:
function dispatchMouseEvent(target, ..args) {
updated:
function dispatchMouseEvent(target) {
<|file_sep|>original/src/chrome/content_core.js
window.addEventListener('unload', () => {
chrome.runtime.sendMessage({
from: 'contentScript',
type: 'loadEv... | window.addEventListener('unload', () => {
chrome.runtime.sendMessage({
from: 'contentScript',
type: 'loadEvent',
loadState: 'unload'
});
});
}
function dispatchMouseEvent(target) {
let e = document.createEvent('MouseEvents');
e.initEvent.apply(e, Array.prototype.slice.call(arguments, ... | <|file_sep|>src/chrome/content_core.js.diff
original:
function dispatchMouseEvent(target, ..args) {
updated:
function dispatchMouseEvent(target) {
<|file_sep|>original/src/chrome/content_core.js
window.addEventListener('unload', () => {
chrome.runtime.sendMessage({
from: 'contentScript',
type: 'loadEv... | 3844c3b8eebb224270a5a108c72a4214c766d00f | src/chrome/content_core.js | src/chrome/content_core.js | JavaScript |
<|file_sep|>original/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Getting Started with Web Design</title>
</head>
<body>
<H1></H1>
<img src="imgs/site-map.pdf">
</body>
<footer>
</footer>
</html>
<|file_sep|>current/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Getting Started with Web Design</title>
</head>
<body>
<H1>My Site Map</H1>
<img src="imgs/site-map.pdf">
</body>
<footer>
</footer>
</html> | <|file_sep|>original/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Getting Started with Web Design</title>
</head>
<body>
<H1></H1>
<img src="imgs/site-map.pdf">
</body>
<footer>
</footer>
</html>
<|file_sep|>current/week-2/design-reflection.md
<!DOCTYPE html>
<html>
<head... | 0ec7e827c76337f86742e9cd389cb70d13409bdb | week-2/design-reflection.md | week-2/design-reflection.md | Markdown |
<|file_sep|>original/node_modules/@client/main.scss
@import "reset";
@import "components/**/*.scss";
body {
background: black;
color: white !important;
}
<|file_sep|>current/node_modules/@client/main.scss
@import "reset";
@import "components/**/*.scss";
body {
background: black;
color: white !important;
}
<|file_... | @import "reset";
@import "components/**/*.scss";
body {
background: black;
color: white;
} | <|file_sep|>original/node_modules/@client/main.scss
@import "reset";
@import "components/**/*.scss";
body {
background: black;
color: white !important;
}
<|file_sep|>current/node_modules/@client/main.scss
@import "reset";
@import "components/**/*.scss";
body {
background: black;
color: white !important;
}
<|file_... | f40ba50675bb8fbce9215b6bbdf079cdb847222d | node_modules/@client/main.scss | node_modules/@client/main.scss | SCSS |
<|file_sep|>original/.travis.yml
before_install:
- sudo apt-get update -qq || true
- sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
- "2.6"
- "2.7.3"
- "2.7.5"
- "3.3"
install:
- "pip install -r requirements-full.txt --use-mirrors"
- "pip install flake8 f... | before_install:
- sudo apt-get update -qq || true
- sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
- "2.6"
- "2.7"
- "3.3"
install:
- "pip install -r requirements-full.txt --use-mirrors"
- "pip install flake8 freezegun python-coveralls --use-mirrors"
- "p... | <|file_sep|>original/.travis.yml
before_install:
- sudo apt-get update -qq || true
- sudo apt-get --reinstall install -qq language-pack-en language-pack-es
language: python
python:
- "2.6"
- "2.7.3"
- "2.7.5"
- "3.3"
install:
- "pip install -r requirements-full.txt --use-mirrors"
- "pip install flake8 f... | cf68549bb64504df1655736da6a78e872066d640 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/templates/publisher.html
{% extends "base.html" %}
{% block body %}
<h4>All packages published by {{ publisher }}</h4>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Title</th>
</tr>
</thead>
<tbody>
{% for resource in r... | {% extends "base.html" %}
{% block body %}
<h4>All packages published by {{ publisher }}</h4>
<div class="table-responsive">
<table class="table table-striped">
<thead>
</thead>
<tbody>
{% for resource in resources %}
<tr>
<td>
<span class="label label-{% if resource["filet... | <|file_sep|>original/templates/publisher.html
{% extends "base.html" %}
{% block body %}
<h4>All packages published by {{ publisher }}</h4>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>Title</th>
</tr>
</thead>
<tbody>
{% for resource in r... | 1fc5dbf565ea817f5da00a84b38a3e0c14c98d45 | templates/publisher.html | templates/publisher.html | HTML |
<|file_sep|>original/tools/mute-logging/README.md
<|file_sep|>current/tools/mute-logging/README.md
<|file_sep|>updated/tools/mute-logging/README.md | # MuteLogging extension
This module contains a `MuteLogging` JUnit extension.
The extension mutes all output produced by the particular JUnit test or test class.
## Usage
To use the extension, add the following dependency to the Gradle project:
```groovy
testImplementation "io.spine.tools:spine-mute-logging:$spineB... | <|file_sep|>original/tools/mute-logging/README.md
<|file_sep|>current/tools/mute-logging/README.md
<|file_sep|>updated/tools/mute-logging/README.md
# MuteLogging extension
This module contains a `MuteLogging` JUnit extension.
The extension mutes all output produced by the particular JUnit test or test class.
## Us... | c81c74000ed4f8bc6124d2d282abf2d85f6d5a01 | tools/mute-logging/README.md | tools/mute-logging/README.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
updated:
services:
- redis-server
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4.2.0
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq beanstalkd
- sudo apt-get install -qq redis
- echo "START=yes" | sudo tee -a /etc/default/beansta... | language: node_js
node_js:
- 4.2.0
services:
- redis-server
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq beanstalkd
- echo "START=yes" | sudo tee -a /etc/default/beanstalkd > /dev/null
- sudo service beanstalkd restart
notifications:
email:
on_success: always
on_failure: al... | <|file_sep|>.travis.yml.diff
original:
updated:
services:
- redis-server
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4.2.0
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq beanstalkd
- sudo apt-get install -qq redis
- echo "START=yes" | sudo tee -a /etc/default/beansta... | cf1f0ba5a619cb92d4c6b1795bf1bb7c7e4d5124 | .travis.yml | .travis.yml | YAML |
<|file_sep|>lib/autoparts/packages/googleappenginego.rb.diff
original:
version '1.9.17'
updated:
version '1.9.18'
<|file_sep|>original/lib/autoparts/packages/googleappenginego.rb
module Autoparts
module Packages
class GoogleAppEngineGo < Package
name 'googleappenginego'
version '1.9.17'
... | module Autoparts
module Packages
class GoogleAppEngineGo < Package
name 'googleappenginego'
version '1.9.18'
description 'Google App Engine for Go: A CLI for managing Google App Engine cloud services for Go'
category Category::DEPLOYMENT
source_url 'https://storage.googleapis.com/ap... | <|file_sep|>lib/autoparts/packages/googleappenginego.rb.diff
original:
version '1.9.17'
updated:
version '1.9.18'
<|file_sep|>original/lib/autoparts/packages/googleappenginego.rb
module Autoparts
module Packages
class GoogleAppEngineGo < Package
name 'googleappenginego'
version '1.9.17'
... | 7329110eaa76e0b8c0cc38472ab017088d8f72f8 | lib/autoparts/packages/googleappenginego.rb | lib/autoparts/packages/googleappenginego.rb | Ruby |
<|file_sep|>original/tests/regres/deqp.json
{
"remote": "https://github.com/KhronosGroup/VK-GL-CTS.git",
"branch": "",
"sha": "e22ec5fc4cbf4cbba97601433f1c93fb893a200d",
"patches": [
"tests/regres/deqp-patches/deqp-x11.patch"
]
}
<|file_sep|>current/tests/regres/deqp.json
{
"remote": "ht... | {
"remote": "https://github.com/KhronosGroup/VK-GL-CTS.git",
"branch": "",
"sha": "867b77cee98760d42dd5f3929232ef982dcc8def",
"patches": [
"tests/regres/deqp-patches/deqp-x11.patch"
]
} | <|file_sep|>original/tests/regres/deqp.json
{
"remote": "https://github.com/KhronosGroup/VK-GL-CTS.git",
"branch": "",
"sha": "e22ec5fc4cbf4cbba97601433f1c93fb893a200d",
"patches": [
"tests/regres/deqp-patches/deqp-x11.patch"
]
}
<|file_sep|>current/tests/regres/deqp.json
{
"remote": "ht... | 488cb63b5b4d39860a9a264b997d9209c2f1c633 | tests/regres/deqp.json | tests/regres/deqp.json | JSON |
<|file_sep|>original/casc_configs/nemo.yaml
labelString: "docker linux"
mode: NORMAL
numExecutors: 4
scmCheckoutRetryCount: 2
securityRealm:
local:
# allowsSignup: true
# enableCaptcha: false
users:
- id: "admin"
password: ${adminpw:-passw0rd}
- id: "gp.macario"
... | labelString: "docker linux"
mode: NORMAL
numExecutors: 4
scmCheckoutRetryCount: 2
securityRealm:
local:
# allowsSignup: true
# enableCaptcha: false
users:
- id: "admin"
password: ${adminpw:-passw0rd}
- id: "gp.macario"
password: ${gpmacariopw:-samplepass}
# ... | <|file_sep|>original/casc_configs/nemo.yaml
labelString: "docker linux"
mode: NORMAL
numExecutors: 4
scmCheckoutRetryCount: 2
securityRealm:
local:
# allowsSignup: true
# enableCaptcha: false
users:
- id: "admin"
password: ${adminpw:-passw0rd}
- id: "gp.macario"
... | 329a8cabd6e0e263192f17f35aabce857d1c8a70 | casc_configs/nemo.yaml | casc_configs/nemo.yaml | YAML |
<|file_sep|>original/ring-jetty-adapter/project.clj
(defproject ring/ring-jetty-adapter "1.8.0"
:description "Ring Jetty adapter."
:url "https://github.com/ring-clojure/ring"
:scm {:dir ".."}
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/c... | (defproject ring/ring-jetty-adapter "1.8.0"
:description "Ring Jetty adapter."
:url "https://github.com/ring-clojure/ring"
:scm {:dir ".."}
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.7.0"]
[ring/ring-core "1.... | <|file_sep|>original/ring-jetty-adapter/project.clj
(defproject ring/ring-jetty-adapter "1.8.0"
:description "Ring Jetty adapter."
:url "https://github.com/ring-clojure/ring"
:scm {:dir ".."}
:license {:name "The MIT License"
:url "http://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/c... | 308c6fce3903579163452d2fbf455895f39dc174 | ring-jetty-adapter/project.clj | ring-jetty-adapter/project.clj | Clojure |
<|file_sep|>original/kargtom/twodim/LongestChain/longestChain_001.py
<|file_sep|>current/kargtom/twodim/LongestChain/longestChain_001.py
<|file_sep|>updated/kargtom/twodim/LongestChain/longestChain_001.py | def longestChain(words):
if words == []:
return 0
lendict = {}
lenlist = []
# build the dictory where
# the key is the length of a word,
# and the value is the set of words with the length
for word in words:
l = len(word)
if len(word) in lendict:
lendict[... | <|file_sep|>original/kargtom/twodim/LongestChain/longestChain_001.py
<|file_sep|>current/kargtom/twodim/LongestChain/longestChain_001.py
<|file_sep|>updated/kargtom/twodim/LongestChain/longestChain_001.py
def longestChain(words):
if words == []:
return 0
lendict = {}
lenlist = []
# build the ... | 96d556edf9c736f6c7e9deb70753762230933bc0 | kargtom/twodim/LongestChain/longestChain_001.py | kargtom/twodim/LongestChain/longestChain_001.py | Python |
<|file_sep|>.travis.yml.diff
original:
sudo: required
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- git
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo a... | sudo: false
dist: trusty
language: cpp
compiler:
- gcc
- clang
addons:
apt:
packages:
- git
before_install:
- git clone --depth=1 --branch=master git://github.com/mupen64plus/mupen64plus-core.git deps/mupen64plus-core
env:
- SSE=none
- SSE=SSE2
- SSE=SSSE3
script:
- make -C projects/unix APIDIR="$(p... | <|file_sep|>.travis.yml.diff
original:
sudo: required
updated:
sudo: false
<|file_sep|>.travis.yml.diff
original:
updated:
addons:
apt:
packages:
- git
<|file_sep|>original/.travis.yml
sudo: required
dist: trusty
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update -qq
- sudo a... | 199bf0e93158f546370c735bd2a51d4e7ba70256 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/requirements.txt
# we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implem... | # we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implementation != "PyPy"
scipy==1.2.1; platf... | <|file_sep|>original/requirements.txt
# we use the official Brotli module on CPython and the CFFI-based
# extension 'brotlipy' on PyPy
brotli==1.0.7; platform_python_implementation != "PyPy"
brotlipy==0.7.0; platform_python_implementation == "PyPy"
unicodedata2==11.0.0; python_version < '3.7' and platform_python_implem... | a54caa4975a7cfdbd8335b245ee8e4031f0be7bb | requirements.txt | requirements.txt | Text |
<|file_sep|>original/all.sh
#!/bin/sh
KERL_INSTALL_PATH=~/erlang
KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03 r16b03-1 maint master"
make build-tests
for rel in $KERL_RELEASES
do
echo
echo " TESTING $rel"
echo
. $KERL_INSTALL_PATH/$rel/activate
CT_OPTS="-label $rel" make tests
done
xdg... | #!/bin/sh
KERL_INSTALL_PATH=~/erlang
KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03-1 17.0 maint master"
make build-tests
for rel in $KERL_RELEASES
do
echo
echo " TESTING $rel"
echo
. $KERL_INSTALL_PATH/$rel/activate
CT_OPTS="-label $rel" make tests
done
xdg-open logs/all_runs.html | <|file_sep|>original/all.sh
#!/bin/sh
KERL_INSTALL_PATH=~/erlang
KERL_RELEASES="r15b r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03 r16b03-1 maint master"
make build-tests
for rel in $KERL_RELEASES
do
echo
echo " TESTING $rel"
echo
. $KERL_INSTALL_PATH/$rel/activate
CT_OPTS="-label $rel" make tests
done
xdg... | 4cb547c32dda59f7da53d0f517a7901a60358c57 | all.sh | all.sh | Shell |
<|file_sep|>original/TMCache/TMCacheBackgroundTaskManager.h
//
// TMCacheBackgroundTaskManager.h
// TMCache
//
// Created by Bryan Irace on 4/24/15.
// Copyright (c) 2015 Tumblr. All rights reserved.
//
@import UIKit;
/**
A protocol that classes who can begin and end background tasks can conform to. This protoco... | //
// TMCacheBackgroundTaskManager.h
// TMCache
//
// Created by Bryan Irace on 4/24/15.
// Copyright (c) 2015 Tumblr. All rights reserved.
//
@import UIKit;
#ifndef __IPHONE_OS_VERSION_MIN_REQUIRED
typedef NSUInteger UIBackgroundTaskIdentifier;
#endif
/**
A protocol that classes who can begin and end backgroun... | <|file_sep|>original/TMCache/TMCacheBackgroundTaskManager.h
//
// TMCacheBackgroundTaskManager.h
// TMCache
//
// Created by Bryan Irace on 4/24/15.
// Copyright (c) 2015 Tumblr. All rights reserved.
//
@import UIKit;
/**
A protocol that classes who can begin and end background tasks can conform to. This protoco... | 0f427d7730b007e8740fff16d9a7b0dc5ebb692a | TMCache/TMCacheBackgroundTaskManager.h | TMCache/TMCacheBackgroundTaskManager.h | C |
<|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
<|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
... | - DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
env: DB=PGSQL CORE_RELEASE=3.2
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.6
before_script:
- composer self-update || true
- git clone g... | <|file_sep|>.travis.yml.diff
original:
- 5.3
updated:
<|file_sep|>.travis.yml.diff
original:
- 7.0
updated:
<|file_sep|>original/.travis.yml
env:
- DB=MYSQL CORE_RELEASE=3.2
matrix:
include:
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1
- php: 5.6
... | 3971f1caad4c676c21954655fd1391733cdcceb8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>docs/conf.py.diff
original:
pattern=r"(Issue )?#(?P<issue>\d+)",
updated:
pattern=r'(Issue )?#(?P<issue>\d+)',
<|file_sep|>docs/conf.py.diff
original:
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
updated:
pattern=r'^(?m)((... | link_files = {
'../CHANGES.rst': dict(
using=dict(
GH='https://github.com',
),
replace=[
dict(
pattern=r'(Issue )?#(?P<issue>\d+)',
url='{package_url}/issues/{issue}',
),
dict(
pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n',
with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n... | <|file_sep|>docs/conf.py.diff
original:
pattern=r"(Issue )?#(?P<issue>\d+)",
updated:
pattern=r'(Issue )?#(?P<issue>\d+)',
<|file_sep|>docs/conf.py.diff
original:
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
updated:
pattern=r'^(?m)((... | 689f700fcfcdfcdc7d027f204a9654b101ac9ecb | docs/conf.py | docs/conf.py | Python |
<|file_sep|>original/src/main/content/jcr_root/apps/adobe/samples/backtosites/clientlibs/editor/sites/page/hook/.content.xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
categories="[cq.a... | <?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
categories="[cq.authoring.editor.sites.page.hook]"/> | <|file_sep|>original/src/main/content/jcr_root/apps/adobe/samples/backtosites/clientlibs/editor/sites/page/hook/.content.xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="cq:ClientLibraryFolder"
categories="[cq.a... | 62866676dc0de9c87bb53c76c92ba2be6d69d75d | src/main/content/jcr_root/apps/adobe/samples/backtosites/clientlibs/editor/sites/page/hook/.content.xml | src/main/content/jcr_root/apps/adobe/samples/backtosites/clientlibs/editor/sites/page/hook/.content.xml | XML |
<|file_sep|>original/.circleci/config.yml
- checkout
- run:
name: Cross-compile rclone
command: |
docker pull billziss/xgo-cgofuse
go get -v github.com/karalabe/xgo
xgo \
--image=billziss/xgo-cgofuse \
--targets=darwin/386,darw... | - run:
name: Cross-compile rclone
command: |
docker pull billziss/xgo-cgofuse
go get -v github.com/karalabe/xgo
xgo \
--image=billziss/xgo-cgofuse \
--targets=darwin/386,darwin/amd64,linux/386,linux/amd64,windows/386,windows/amd64 \... | <|file_sep|>original/.circleci/config.yml
- checkout
- run:
name: Cross-compile rclone
command: |
docker pull billziss/xgo-cgofuse
go get -v github.com/karalabe/xgo
xgo \
--image=billziss/xgo-cgofuse \
--targets=darwin/386,darw... | b531bf134940c30dba06fa909244fdd05009f74e | .circleci/config.yml | .circleci/config.yml | YAML |
<|file_sep|>original/app/helpers/db_helpers.rb
module DbHelpers
def db_concat(*args)
env = ENV['RAILS_ENV'] || 'development'
adapter = ActiveRecord::Base.configurations[env]['adapter'].to_sym
args.map! { |arg| arg.class == Symbol ? arg.to_s : arg }
puts "Adapter is '#{adapter}'"
case adapter
... | module DbHelpers
def db_concat(*args)
env = ENV['RAILS_ENV'] || 'development'
adapter = ActiveRecord::Base.configurations[env]['adapter'].to_sym
args.map! { |arg| arg.class == Symbol ? arg.to_s : arg }
case adapter
when :mysql, :mysql2
"CONCAT(#{args.join(',')})"
when :sqlserver
a... | <|file_sep|>original/app/helpers/db_helpers.rb
module DbHelpers
def db_concat(*args)
env = ENV['RAILS_ENV'] || 'development'
adapter = ActiveRecord::Base.configurations[env]['adapter'].to_sym
args.map! { |arg| arg.class == Symbol ? arg.to_s : arg }
puts "Adapter is '#{adapter}'"
case adapter
... | 5f5f14f57b69f88ffc878776934be353db48e904 | app/helpers/db_helpers.rb | app/helpers/db_helpers.rb | Ruby |
<|file_sep|>original/tracker/servers/cron_jobs.py
from servers.models import HttpSeries
from django_cron import CronJobBase, Schedule
class HttpSeriesCronJob(CronJobBase):
RUN_EVERY_MINS = 2
schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
code = "servers.cron.HttpSeriesCronJob"
def do(self):
... | from servers.models import HttpSeries
from django_cron import CronJobBase, Schedule
class HttpSeriesCronJob(CronJobBase):
RUN_EVERY_MINS = 1
schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
code = "servers.cron.HttpSeriesCronJob"
def do(self):
for series in HttpSeries.objects.all():
... | <|file_sep|>original/tracker/servers/cron_jobs.py
from servers.models import HttpSeries
from django_cron import CronJobBase, Schedule
class HttpSeriesCronJob(CronJobBase):
RUN_EVERY_MINS = 2
schedule = Schedule(run_every_mins=RUN_EVERY_MINS)
code = "servers.cron.HttpSeriesCronJob"
def do(self):
... | ed3e70d26f70e701e29e5d0798f5f55229ba5f6d | tracker/servers/cron_jobs.py | tracker/servers/cron_jobs.py | Python |
<|file_sep|>original/.travis.yml
dist: trusty
env:
NODE_ENV=test
language: node_js
node_js:
- "node"
- "8"
cache:
directories:
- "node_modules"
notifications:
email: false
addons:
postgresql: "9.6"
<|file_sep|>current/.travis.yml
dist: trusty
env:
NODE_ENV=test
language: node_js
node_js:
-... | dist: trusty
env:
NODE_ENV=test
language: node_js
node_js:
- "node"
cache:
directories:
- "node_modules"
notifications:
email: false
addons:
postgresql: "9.6"
services: | <|file_sep|>original/.travis.yml
dist: trusty
env:
NODE_ENV=test
language: node_js
node_js:
- "node"
- "8"
cache:
directories:
- "node_modules"
notifications:
email: false
addons:
postgresql: "9.6"
<|file_sep|>current/.travis.yml
dist: trusty
env:
NODE_ENV=test
language: node_js
node_js:
-... | 61c1b4dc6801f2fc3441a36cc5e0808de24a8177 | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.md.diff
original:
# Chordsheet
updated:
# Chordsheet · [](https://travis-ci.org/gldraphael/chordsheet)
<|file_sep|>README.md.diff
original:
An NPM module to create chord sheets out of markdown files.
updated:
An NPM ... | # Chordsheet · [](https://travis-ci.org/gldraphael/chordsheet)
An NPM module to help create chord sheets out of markdown files.
If you're looking for the CLI that converts markdown files to PDFs/HTML you might be looking for [this](h... | <|file_sep|>README.md.diff
original:
# Chordsheet
updated:
# Chordsheet · [](https://travis-ci.org/gldraphael/chordsheet)
<|file_sep|>README.md.diff
original:
An NPM module to create chord sheets out of markdown files.
updated:
An NPM ... | 3f3d92bd48711030c35afa633995adbd35cc5baf | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
updated:
## Features
- [x] Simply use `ValidatorTextField` instead of `UITextField` (`ValidatorTextView` instead of `UITextView`)
- [x] Know what went wrong and where
- [x] Create own conditions using regular expressions for example
- [x] Create own validators which contain a coll... |
- [x] Simply use `ValidatorTextField` instead of `UITextField` (`ValidatorTextView` instead of `UITextView`)
- [x] Know what went wrong and where
- [x] Create own conditions using regular expressions for example
- [x] Create own validators which contain a collection of conditions
- [x] Support iOS and tvOS
## Depende... | <|file_sep|>README.md.diff
original:
updated:
## Features
- [x] Simply use `ValidatorTextField` instead of `UITextField` (`ValidatorTextView` instead of `UITextView`)
- [x] Know what went wrong and where
- [x] Create own conditions using regular expressions for example
- [x] Create own validators which contain a coll... | 4b832518b0dc445a44b0cb98fda3dda8c2d181fa | README.md | README.md | Markdown |
<|file_sep|>original/python36/requirements.txt
# Required packages for synapse
tornado==4.5.1
cryptography==2.0.2
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.... | # Required packages for synapse
tornado==4.5.1
cryptography==2.0.3
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.9
nose==1.3.7 | <|file_sep|>original/python36/requirements.txt
# Required packages for synapse
tornado==4.5.1
cryptography==2.0.2
pyOpenSSL==17.2.0
msgpack-python==0.4.8
xxhash==1.0.1
lmdb==0.93
# Delayed import
psycopg2==2.7.3
# Code style checks
pycodestyle==2.3.1
# Test related packages
coverage==4.3.4 # pyup: ignore
codecov==2.0.... | e5cdf728a834ff239132947a38e3002ae3f341be | python36/requirements.txt | python36/requirements.txt | Text |
<|file_sep|>metadata/org.billthefarmer.notes.yml.diff
original:
updated:
- versionName: '1.03'
versionCode: 103
commit: v1.03
gradle:
- yes
<|file_sep|>original/metadata/org.billthefarmer.notes.yml
versionCode: 1
commit: v1.0
gradle:
- yes
- versionName: '1.01'
versionCode... | versionCode: 101
commit: v1.01
gradle:
- yes
- versionName: '1.02'
versionCode: 102
commit: v1.02
gradle:
- yes
- versionName: '1.03'
versionCode: 103
commit: v1.03
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: '1.03'
Current... | <|file_sep|>metadata/org.billthefarmer.notes.yml.diff
original:
updated:
- versionName: '1.03'
versionCode: 103
commit: v1.03
gradle:
- yes
<|file_sep|>original/metadata/org.billthefarmer.notes.yml
versionCode: 1
commit: v1.0
gradle:
- yes
- versionName: '1.01'
versionCode... | 034ada18d75f2bd927eff4d6f1c29b35d9618c0b | metadata/org.billthefarmer.notes.yml | metadata/org.billthefarmer.notes.yml | YAML |
<|file_sep|>original/app/Entities/Executions.php
namespace Nestor\Entities;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class Executions extends Model implements Transformable
{
use TransformableTrait;
protected $fi... | namespace Nestor\Entities;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class Executions extends Model implements Transformable
{
use TransformableTrait;
protected $fillable = ['test_run_id', 'test_case_version_id', ... | <|file_sep|>original/app/Entities/Executions.php
namespace Nestor\Entities;
use Illuminate\Database\Eloquent\Model;
use Prettus\Repository\Contracts\Transformable;
use Prettus\Repository\Traits\TransformableTrait;
class Executions extends Model implements Transformable
{
use TransformableTrait;
protected $fi... | 45c1c01c10fa65d72c72cb8abf51b24c93711b1b | app/Entities/Executions.php | app/Entities/Executions.php | PHP |
<|file_sep|>promote-from-mock-to-stage.sh.diff
original:
updated:
if [ $# -eq 0 ]
then
echo "usage: promote-from-mock-to-stage.sh <stage db password>"
exit
fi
<|file_sep|>original/promote-from-mock-to-stage.sh
#!/usr/bin/env bash
set -e
# This script requires the 'jq' command line tool
brew install jq
# G... | exit
fi
# This script requires the 'jq' command line tool
brew install jq
# Grab the MOCK build
git checkout deploy-to-mock
git pull --rebase
# Push the MOCK build to STAGE
git push --force origin origin/deploy-to-mock:deploy-to-stage
# Wait for STAGE deploy to finish
GIT_REF=`jq -r '.gitRef' build-info.json` W... | <|file_sep|>promote-from-mock-to-stage.sh.diff
original:
updated:
if [ $# -eq 0 ]
then
echo "usage: promote-from-mock-to-stage.sh <stage db password>"
exit
fi
<|file_sep|>original/promote-from-mock-to-stage.sh
#!/usr/bin/env bash
set -e
# This script requires the 'jq' command line tool
brew install jq
# G... | 63c323482a0fa109d8340dad740da38e5d490858 | promote-from-mock-to-stage.sh | promote-from-mock-to-stage.sh | Shell |
<|file_sep|>original/plugins/fr.inria.diverse.melange.ui.templates/build.properties
source.. = src/main/java/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml
<|file_sep|>current/plugins/fr.inria.diverse.melange.ui.templates/build.properties
source.. = src/main/java/
output.. = bi... | source.. = src/main/java/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml,\
templates/ | <|file_sep|>original/plugins/fr.inria.diverse.melange.ui.templates/build.properties
source.. = src/main/java/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml
<|file_sep|>current/plugins/fr.inria.diverse.melange.ui.templates/build.properties
source.. = src/main/java/
output.. = bi... | 856bed4c5c3b51171fa5e0e5d74569d25d9fddd7 | plugins/fr.inria.diverse.melange.ui.templates/build.properties | plugins/fr.inria.diverse.melange.ui.templates/build.properties | INI |
<|file_sep|>menus/tabs.cson.diff
original:
'.tab': [
updated:
'tabs-tab': [
<|file_sep|>original/menus/tabs.cson
'context-menu':
'.tab': [
{label: 'Close Tab', command: 'tabs:close-tab'}
{label: 'Close Other Tabs', command: 'tabs:close-other-tabs'}
{label: 'Close Tabs to the Right', command: 'tabs:clo... | 'context-menu':
'tabs-tab': [
{label: 'Close Tab', command: 'tabs:close-tab'}
{label: 'Close Other Tabs', command: 'tabs:close-other-tabs'}
{label: 'Close Tabs to the Right', command: 'tabs:close-tabs-to-right'}
{label: 'Close Saved Tabs', command: 'tabs:close-saved-tabs'}
{label: 'Close All Tabs'... | <|file_sep|>menus/tabs.cson.diff
original:
'.tab': [
updated:
'tabs-tab': [
<|file_sep|>original/menus/tabs.cson
'context-menu':
'.tab': [
{label: 'Close Tab', command: 'tabs:close-tab'}
{label: 'Close Other Tabs', command: 'tabs:close-other-tabs'}
{label: 'Close Tabs to the Right', command: 'tabs:clo... | 77f9fdba1bb4f9ac46acd13c7d8b939c63b00e2f | menus/tabs.cson | menus/tabs.cson | CoffeeScript |
<|file_sep|>lc0525_contiguous_array.py.diff
original:
class Solution(object):
updated:
class SolutionDiffsumIdxDict(object):
<|file_sep|>lc0525_contiguous_array.py.diff
original:
updated:
Time complexity: O(n).
Space complexity: O(n).
<|file_sep|>lc0525_contiguous_array.py.diff
original:
pass
... | # Check if diffsum exists, update max_len.
if diffsum in diffsum_idx_d:
max_len = max(max_len, idx - diffsum_idx_d[diffsum])
else:
diffsum_idx_d[diffsum] = idx
return max_len
def main():
# Output: 2
nums = [0,1]
print SolutionDif... | <|file_sep|>lc0525_contiguous_array.py.diff
original:
class Solution(object):
updated:
class SolutionDiffsumIdxDict(object):
<|file_sep|>lc0525_contiguous_array.py.diff
original:
updated:
Time complexity: O(n).
Space complexity: O(n).
<|file_sep|>lc0525_contiguous_array.py.diff
original:
pass
... | d6ed0e5925e0793bf4fc84b09e709b3a0d907f58 | lc0525_contiguous_array.py | lc0525_contiguous_array.py | Python |
<|file_sep|>original/aws/ec2/availability_zone_retriever.go
Values: []*string{goaws.String(region)},
}},
})
if err != nil {
return []string{}, err
}
azList := []string{}
for _, az := range output.AvailabilityZones {
if az == nil {
return []string{}, errors.New("aws returned nil availability zone")
}... | })
if err != nil {
return []string{}, err
}
azList := []string{}
for _, az := range output.AvailabilityZones {
if az == nil {
return []string{}, errors.New("aws returned nil availability zone")
}
if az.ZoneName == nil {
return []string{}, errors.New("aws returned availability zone with nil zone name... | <|file_sep|>original/aws/ec2/availability_zone_retriever.go
Values: []*string{goaws.String(region)},
}},
})
if err != nil {
return []string{}, err
}
azList := []string{}
for _, az := range output.AvailabilityZones {
if az == nil {
return []string{}, errors.New("aws returned nil availability zone")
}... | 8884771ea88c8361f37ca313b9507ac55e68c97f | aws/ec2/availability_zone_retriever.go | aws/ec2/availability_zone_retriever.go | Go |
<|file_sep|>original/tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {},
"rulesDirectory": []
}
<|file_sep|>current/tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},... | {
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"no-var-requires": false
},
"rulesDirectory": []
} | <|file_sep|>original/tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {},
"rulesDirectory": []
}
<|file_sep|>current/tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},... | e249658c8acc3fc95395db7b60dda60e40d36620 | tslint.json | tslint.json | JSON |
<|file_sep|>.travis.yml.diff
original:
updated:
- PYTHON_VERSION=2.6 UNITPKG=true
<|file_sep|>original/.travis.yml
before_install:
- source .continuous-integration/travis/setup_environment_$TRAVIS_OS_NAME.sh
- conda create --yes -n test python=$PYTHON_VERSION
- source activate test
install:
- cond... |
before_install:
- source .continuous-integration/travis/setup_environment_$TRAVIS_OS_NAME.sh
- conda create --yes -n test python=$PYTHON_VERSION
- source activate test
install:
- conda install --yes pip pytest numpy
- pip install coveralls pytest-cov
- if [ $UNITPKG ];
then
conda... | <|file_sep|>.travis.yml.diff
original:
updated:
- PYTHON_VERSION=2.6 UNITPKG=true
<|file_sep|>original/.travis.yml
before_install:
- source .continuous-integration/travis/setup_environment_$TRAVIS_OS_NAME.sh
- conda create --yes -n test python=$PYTHON_VERSION
- source activate test
install:
- cond... | 52b8af7976aaf8efd1d6f35e88c2cddd09bf77ae | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/_includes/nav.html
<nav>
<a href="http://forum.language-learners.org/">Forum</a>
<a href="http://learnanylanguage.wikia.com/">Wiki</a>
<a href="{{ "/how-to-learn-a-foreign-language-faq/" | relative_url }}">How To Learn A Foreign Language FAQ</a>
<a href="{{ "/language-descriptions/ | relati... | <nav>
<a href="http://forum.language-learners.org/">Forum</a>
<a href="http://learnanylanguage.wikia.com/">Wiki</a>
<a href="{{ "/how-to-learn-a-foreign-language-faq/" | relative_url }}">How To Learn A Foreign Language FAQ</a>
<a href="{{ "/language-descriptions/" | relative_url }}">Language Profiles</a>
</nav>... | <|file_sep|>original/_includes/nav.html
<nav>
<a href="http://forum.language-learners.org/">Forum</a>
<a href="http://learnanylanguage.wikia.com/">Wiki</a>
<a href="{{ "/how-to-learn-a-foreign-language-faq/" | relative_url }}">How To Learn A Foreign Language FAQ</a>
<a href="{{ "/language-descriptions/ | relati... | 56fa1c4e11a3b807f0c99c444b13aad6025d6ed2 | _includes/nav.html | _includes/nav.html | HTML |
<|file_sep|>original/README.md
IRC Client Daemon aka irccd is a full featured IRC bot written in C++14. It
runs as a daemon waiting for events. It's also possible to connect to more
than one server.
Irccd is also able to use optional JavaScript plugins to do specific actions
on these events.
Irccd is also controllabl... | IRC Client Daemon aka irccd is a full featured IRC bot written in C++14. It
runs as a daemon waiting for events. It's also possible to connect to more
than one server.
Irccd is also able to use optional JavaScript plugins to do specific actions
on these events.
Irccd is also controllable via internet and unix sockets... | <|file_sep|>original/README.md
IRC Client Daemon aka irccd is a full featured IRC bot written in C++14. It
runs as a daemon waiting for events. It's also possible to connect to more
than one server.
Irccd is also able to use optional JavaScript plugins to do specific actions
on these events.
Irccd is also controllabl... | 0c9313e022bbe55d8ef85ed23fdb0afe12927ef2 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
false for failures rather than raising.
```ruby
authorize(post, :show?) # Returns true or raises Pundit::NotAuthorized on failure
authorized?(post, :show?) # Returns true or false
```
Also, this adds a `#can?` method ala CanCan. Passing `can?` an action and record
will return a boolean... | false for failures rather than raising.
```ruby
authorize(post, :show?) # Returns true or raises Pundit::NotAuthorized on failure
authorized?(post, :show?) # Returns true or false
```
Also, this adds a `#can?` method ala CanCan. Passing `can?` an action and record
will return a boolean and is useful in views. For e... | <|file_sep|>original/README.md
false for failures rather than raising.
```ruby
authorize(post, :show?) # Returns true or raises Pundit::NotAuthorized on failure
authorized?(post, :show?) # Returns true or false
```
Also, this adds a `#can?` method ala CanCan. Passing `can?` an action and record
will return a boolean... | 7655f2967a259a9b3ac3551d4979886e74ec6cd9 | README.md | README.md | Markdown |
<|file_sep|>templates/default/Targets.erb.diff
original:
## You have to edit and uncomment all what you want below this.
# Please, refer to smokeping_config man page for more info
# The given adresses aren't real to avoid DoS.
updated:
<|file_sep|>templates/default/Targets.erb.diff
original:
<% @nodes.map{|n| n["data... |
probe = FPing
menu = Top
title = Smokeping Network Latency Grapher
remark = Welcome to the SmokePing website of <%= node['smokeping']['site_remark_owner'] %>
<% @nodes.map{|n| n.chef_environment}.uniq.reject{|n| n.to_s == ""}.each do |environment| %>
+ <%= environment %>
menu = <%= environment %>
title = <%= environ... | <|file_sep|>templates/default/Targets.erb.diff
original:
## You have to edit and uncomment all what you want below this.
# Please, refer to smokeping_config man page for more info
# The given adresses aren't real to avoid DoS.
updated:
<|file_sep|>templates/default/Targets.erb.diff
original:
<% @nodes.map{|n| n["data... | 7e0a654592992f982abff697971e077a8d248069 | templates/default/Targets.erb | templates/default/Targets.erb | HTML+ERB |
<|file_sep|>original/jscode.css
.jscode {
width: 100%;
height: 20em; /* default height */
border: none;
background-color: lightgrey;
vertical-align: baseline;
/* cannot set the representation inside an iframe like this
TODO try to use Jekyll and Pygments
text-align: left;
font-family: "Consolas", "... | .jscode {
width: 100%;
height: 30em; /* default height */
border: none;
background-color: lightgrey;
vertical-align: baseline;
/* cannot set the representation inside an iframe like this
TODO try to use Jekyll and Pygments
text-align: left;
font-family: "Consolas", "Bitstream Vera Sans Mono", "Cour... | <|file_sep|>original/jscode.css
.jscode {
width: 100%;
height: 20em; /* default height */
border: none;
background-color: lightgrey;
vertical-align: baseline;
/* cannot set the representation inside an iframe like this
TODO try to use Jekyll and Pygments
text-align: left;
font-family: "Consolas", "... | 87ce21a88a3f7980ce4509f2dae7c113da172ae9 | jscode.css | jscode.css | CSS |
<|file_sep|>original/src/Home.js
/>
<RaisedButton
href="https://drive.google.com/open?id=0B-QmArVwrgLGSHJnbFN6VXZGb0k"
target="_blank"
label="Resume (PDF)"
primary={true}
style={styles.button}
/>
<hr></hr>
<h4>Contact me at:</h4>
... | />
<RaisedButton
href="https://drive.google.com/open?id=0B-QmArVwrgLGSHJnbFN6VXZGb0k"
target="_blank"
label="Resume (PDF)"
primary={true}
style={styles.button}
/>
<hr></hr>
<h4>Contact me at:</h4>
<a href="mailto:gregkatch... | <|file_sep|>original/src/Home.js
/>
<RaisedButton
href="https://drive.google.com/open?id=0B-QmArVwrgLGSHJnbFN6VXZGb0k"
target="_blank"
label="Resume (PDF)"
primary={true}
style={styles.button}
/>
<hr></hr>
<h4>Contact me at:</h4>
... | 05056d99ade4e113419db11c4897fd1157774d81 | src/Home.js | src/Home.js | JavaScript |
<|file_sep|>original/requirements.txt
mkdocs==1.0.4
mkdocs-material==4.1.2
pygments==2.2.0
pymdown-extensions==5.0.0
<|file_sep|>current/requirements.txt
mkdocs==1.0.4
mkdocs-material==4.1.2
pygments==2.2.0
pymdown-extensions==5.0.0
<|file_sep|>updated/requirements.txt | mkdocs==1.0.4
mkdocs-material==4.2.0
pygments==2.2.0
pymdown-extensions==5.0.0 | <|file_sep|>original/requirements.txt
mkdocs==1.0.4
mkdocs-material==4.1.2
pygments==2.2.0
pymdown-extensions==5.0.0
<|file_sep|>current/requirements.txt
mkdocs==1.0.4
mkdocs-material==4.1.2
pygments==2.2.0
pymdown-extensions==5.0.0
<|file_sep|>updated/requirements.txt
mkdocs==1.0.4
mkdocs-material==4.2.0
pygments==2.2... | a3c3aa12138563b322c277dfc3d93861d10b1aa7 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/support/downloads_helper.rb
<|file_sep|>current/spec/support/downloads_helper.rb
<|file_sep|>updated/spec/support/downloads_helper.rb | module DownloadsHelper
TIMEOUT = 10
PATH = Rails.root.join("tmp", "downloads")
def downloaded_filename
wait_for_download
downloaded_filenames.first
end
def downloaded_content
wait_for_download
File.read(downloaded_filename)
end
def clear_downloads
FileUtils.rm_f(downloaded_filena... | <|file_sep|>original/spec/support/downloads_helper.rb
<|file_sep|>current/spec/support/downloads_helper.rb
<|file_sep|>updated/spec/support/downloads_helper.rb
module DownloadsHelper
TIMEOUT = 10
PATH = Rails.root.join("tmp", "downloads")
def downloaded_filename
wait_for_download
downloaded_filename... | 4795832db598c2cd512a59f78a0d9c538bf52137 | spec/support/downloads_helper.rb | spec/support/downloads_helper.rb | Ruby |
<|file_sep|>original/_includes/json-ld/book.html
"@type": "Person",
"name": "Mattt"
},
"bookFormat": "https://schema.org/EBook",
"datePublished": "{{ book.date }}",
"image": "{% asset '{{ book.image }}' @path %}",
"inLanguage": "English",
"isbn": "{{ book.isbn }}",
"name": "{{ book.title | strip_h... | "bookFormat": "https://schema.org/EBook",
"datePublished": "{{ book.date }}",
"image": "{% asset '{{ book.image }}' @path %}",
"inLanguage": "English",
"isbn": "{{ book.isbn }}",
"name": "{{ book.title | strip_html | strip }}",
"description": "{{ book.summary | markdownify | strip_html | strip }}",
"num... | <|file_sep|>original/_includes/json-ld/book.html
"@type": "Person",
"name": "Mattt"
},
"bookFormat": "https://schema.org/EBook",
"datePublished": "{{ book.date }}",
"image": "{% asset '{{ book.image }}' @path %}",
"inLanguage": "English",
"isbn": "{{ book.isbn }}",
"name": "{{ book.title | strip_h... | 0d3d9d7c3dfe67e639c62267dcc95dbd1aaad96a | _includes/json-ld/book.html | _includes/json-ld/book.html | HTML |
<|file_sep|>original/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.stackallocated.imageupload"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:... | <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.stackallocated.imageupload"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<uses-permis... | <|file_sep|>original/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.stackallocated.imageupload"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
android:... | 2236d451f838eda20a603a81cc7067934f57d2fe | AndroidManifest.xml | AndroidManifest.xml | XML |
<|file_sep|>original/_includes/activity-stream.html
<div class=""><!-- <div class="pin-wall pat-packery"> -->
{% for item in site.data.[include.src] %}
<div class=""><!-- <div class="item columns-2"> -->
{% include post.html %}
</div>
{% endfor %}
</div>
<|file_sep|>current/_includes/activi... | {% for item in site.data.[include.src] %}
{% include post.html %}
{% endfor %} | <|file_sep|>original/_includes/activity-stream.html
<div class=""><!-- <div class="pin-wall pat-packery"> -->
{% for item in site.data.[include.src] %}
<div class=""><!-- <div class="item columns-2"> -->
{% include post.html %}
</div>
{% endfor %}
</div>
<|file_sep|>current/_includes/activi... | eb53145bdda3888bab7e94809d6a412ae0edb733 | _includes/activity-stream.html | _includes/activity-stream.html | HTML |
<|file_sep|>original/hello.py
# Hello World
import sys
def hello(thing):
print "Hello {}".format(thing)
return
if __name__ == "__main__":
sys.exit(hello())
<|file_sep|>current/hello.py
# Hello World
import sys
def hello(thing):
print "Hello {}".format(thing)
return
if __name__ == "__main__... | # Hello World
import sys
def hello(thing):
print "Hello {}".format(thing)
return
if __name__ == "__main__":
user_thing = sys.argv[-1]
sys.exit(hello(user_thing)) | <|file_sep|>original/hello.py
# Hello World
import sys
def hello(thing):
print "Hello {}".format(thing)
return
if __name__ == "__main__":
sys.exit(hello())
<|file_sep|>current/hello.py
# Hello World
import sys
def hello(thing):
print "Hello {}".format(thing)
return
if __name__ == "__main__... | f0e76bbe2f73514b5663f65dfdc394e02485bc33 | hello.py | hello.py | Python |
<|file_sep|>original/sass/modules/objects/_bass.modules.objects.StickyFooter.scss
.StickyFooterContentWrapper
{
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto; // the bottom margin is the negative value of the footer's height
}
.StickyFooterPush
{
height: $default-footer-height; // '... | $default-footer-height: 200px;
.StickyFooterContentWrapper
{
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto; // the bottom margin is the negative value of the footer's height
}
.StickyFooterPush
{
height: $default-footer-height; // '.push' must be the same height as 'footer'
@incl... | <|file_sep|>original/sass/modules/objects/_bass.modules.objects.StickyFooter.scss
.StickyFooterContentWrapper
{
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto; // the bottom margin is the negative value of the footer's height
}
.StickyFooterPush
{
height: $default-footer-height; // '... | 0758423270182ca66c47e5fc78fba73e431fd18d | sass/modules/objects/_bass.modules.objects.StickyFooter.scss | sass/modules/objects/_bass.modules.objects.StickyFooter.scss | SCSS |
<|file_sep|>original/setup/roles/nginx-wolf.ijestfajnie.pl/meta/main.yml
---
dependencies:
- nginx
- { role: nginx-fxsync, vhost: wolf.ijestfajnie.pl, fxsync_url_path: /fxsync }
- { role: nginx-vhost, vhost: wolf.ijestfajnie.pl, alt_hosts: [ "*.ijestfajnie.pl" ] }
<|file_sep|>current/setup/roles/nginx-wolf.ijestfajnie.... | ---
dependencies:
- nginx
- { role: nginx-fxsync, vhost: wolf.ijestfajnie.pl, fxsync_url_path: /fxsync }
- { role: nginx-wolf-home, vhost: wolf.ijestfajnie.pl }
- { role: nginx-vhost, vhost: wolf.ijestfajnie.pl, alt_hosts: [ "*.ijestfajnie.pl" ] } | <|file_sep|>original/setup/roles/nginx-wolf.ijestfajnie.pl/meta/main.yml
---
dependencies:
- nginx
- { role: nginx-fxsync, vhost: wolf.ijestfajnie.pl, fxsync_url_path: /fxsync }
- { role: nginx-vhost, vhost: wolf.ijestfajnie.pl, alt_hosts: [ "*.ijestfajnie.pl" ] }
<|file_sep|>current/setup/roles/nginx-wolf.ijestfajnie.... | b6c075485278e186ff1a503d709b9fab9cc66dc4 | setup/roles/nginx-wolf.ijestfajnie.pl/meta/main.yml | setup/roles/nginx-wolf.ijestfajnie.pl/meta/main.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.