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/blinkbox-rubocop.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "blinkbox/rubocop"
Gem::Specification.new do |spec|
spec.name = "blinkbox-rubocop"
spec.version = Blinkbox::Rubocop::VERSION
spec... | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "blinkbox/rubocop"
Gem::Specification.new do |spec|
spec.name = "blinkbox-rubocop"
spec.version = File.read("VERSION") rescue "0.0.0"
spec.authors = ["Muz"]
spec.email... | <|file_sep|>original/blinkbox-rubocop.gemspec
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "blinkbox/rubocop"
Gem::Specification.new do |spec|
spec.name = "blinkbox-rubocop"
spec.version = Blinkbox::Rubocop::VERSION
spec... | ba75b2f83ed4285bdfd91c96161d59e459d4f315 | blinkbox-rubocop.gemspec | blinkbox-rubocop.gemspec | Ruby |
<|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml | name: Build docker container for the SP Dashboard
on:
push:
branches: [ feature/docker ]
pull_request:
branches: [ feature/docker ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docke... | <|file_sep|>original/.github/workflows/main.yml
<|file_sep|>current/.github/workflows/main.yml
<|file_sep|>updated/.github/workflows/main.yml
name: Build docker container for the SP Dashboard
on:
push:
branches: [ feature/docker ]
pull_request:
branches: [ feature/docker ]
jobs:
build:
runs-on: ... | 891798a911262276b20a9e006bf6e20d9a6bb4a9 | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/README.md
This is the README of the Python driver for Microsoft Azure DocumentDB database service.
Welcome to DocumentDB.
0) Pre-requirements:
Python 2.7, Python 3.3, Python 3.4, or Python 3.5
https://www.python.org/download/releases
If you use Microsoft Visual Studio as IDE (we us... | This is the README of the Python driver for Microsoft Azure DocumentDB database service.
Welcome to DocumentDB.
0) Pre-requirements:
Python 2.7, Python 3.3, Python 3.4, or Python 3.5
https://www.python.org/downloads/
If you use Microsoft Visual Studio as IDE (we use 2015), please install the
follow... | <|file_sep|>original/README.md
This is the README of the Python driver for Microsoft Azure DocumentDB database service.
Welcome to DocumentDB.
0) Pre-requirements:
Python 2.7, Python 3.3, Python 3.4, or Python 3.5
https://www.python.org/download/releases
If you use Microsoft Visual Studio as IDE (we us... | 2c15be8d510cc89114919eac71b644bd50838cd2 | README.md | README.md | Markdown |
<|file_sep|>original/pydevd_attach_to_process/attach_script.py
def attach(port, host):
try:
import pydevd
pydevd.stoptrace() #I.e.: disconnect if already connected
# pydevd.DebugInfoHolder.DEBUG_RECORD_SOCKET_READS = True
# pydevd.DebugInfoHolder.DEBUG_TRACE_BREAKPOINTS = 3
#... | def attach(port, host):
try:
import pydevd
pydevd.stoptrace() #I.e.: disconnect if already connected
# pydevd.DebugInfoHolder.DEBUG_RECORD_SOCKET_READS = True
# pydevd.DebugInfoHolder.DEBUG_TRACE_BREAKPOINTS = 3
# pydevd.DebugInfoHolder.DEBUG_TRACE_LEVEL = 3
pydevd.se... | <|file_sep|>original/pydevd_attach_to_process/attach_script.py
def attach(port, host):
try:
import pydevd
pydevd.stoptrace() #I.e.: disconnect if already connected
# pydevd.DebugInfoHolder.DEBUG_RECORD_SOCKET_READS = True
# pydevd.DebugInfoHolder.DEBUG_TRACE_BREAKPOINTS = 3
#... | cc9bf099823afbcaa98836dcb93c78124edaed5c | pydevd_attach_to_process/attach_script.py | pydevd_attach_to_process/attach_script.py | Python |
<|file_sep|>original/app/views/root/_footer_support_links.html.erb
<h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/help/terms-conditions">Terms and conditions</a></li>
<li><a... | <h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/help/accessibility">Accessibility</a></li>
<li><a href="/help/terms-conditions">Terms and conditions</a></li>
<li><a href="/... | <|file_sep|>original/app/views/root/_footer_support_links.html.erb
<h2 class="visuallyhidden">Support links</h2>
<ul>
<li><a href="/help">Help</a></li>
<li><a href="/help/cookies">Cookies</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/help/terms-conditions">Terms and conditions</a></li>
<li><a... | bbf812a55a99bc8db5ff11f3375e6988e5920208 | app/views/root/_footer_support_links.html.erb | app/views/root/_footer_support_links.html.erb | HTML+ERB |
<|file_sep|>app/views/tasks/taskables/url/requests/_request.html.erb.diff
original:
<div class="response">
updated:
<div class="response url">
<|file_sep|>original/app/views/tasks/taskables/url/requests/_request.html.erb
<div class="text"><%= request.text %></div>
<div class="description"><%= request.description %>... | <div class="text"><%= request.text %></div>
<div class="description"><%= request.description %></div>
<% if request.completed_by? current_author %>
<%= t 'tasks.taskables.urls.responses.already_answered' %>
<div class="response url">
<% request.responses.by(current_user).each do |response| %>
<%= embed_v... | <|file_sep|>app/views/tasks/taskables/url/requests/_request.html.erb.diff
original:
<div class="response">
updated:
<div class="response url">
<|file_sep|>original/app/views/tasks/taskables/url/requests/_request.html.erb
<div class="text"><%= request.text %></div>
<div class="description"><%= request.description %>... | a7d4a1eb3a04050c9b05a8becccf5d47f59167be | app/views/tasks/taskables/url/requests/_request.html.erb | app/views/tasks/taskables/url/requests/_request.html.erb | HTML+ERB |
<|file_sep|>original/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/PULL_REQUEST_TEMPLATE.md | <Change Short Title>: <Title>
<Description>
<If any resolution of issues, mention>
-- Change Short titles --
1. Feature: Any new feature
2. Fix: Any bug/issue fix
3. Docs: Any document update
-- Example --
Feature: Add Image Support
Added support to mention images by users by setting it to a property. It also... | <|file_sep|>original/PULL_REQUEST_TEMPLATE.md
<|file_sep|>current/PULL_REQUEST_TEMPLATE.md
<|file_sep|>updated/PULL_REQUEST_TEMPLATE.md
<Change Short Title>: <Title>
<Description>
<If any resolution of issues, mention>
-- Change Short titles --
1. Feature: Any new feature
2. Fix: Any bug/issue fix
3. Docs: Any ... | 1f80bff93f280d3404b67d44942504d5ba9de5b5 | PULL_REQUEST_TEMPLATE.md | PULL_REQUEST_TEMPLATE.md | Markdown |
<|file_sep|>original/Josh_Zane_Sebastian/src/main.h
struct stack_node *cdr;
union node_data data;
char type;
}
union node_data {
struct routine routine;
int numval;
}
struct routine {
struct routine *parent;
struct iq_node *nodes;
int num_nodes;
}
struct iq_node {
struct iq_node *... | struct stack_node {
struct stack_node *cdr;
union node_data data;
char type;
}
union node_data {
struct routine routine;
int numval;
}
struct routine {
struct routine *parent;
struct iq_node *nodes;
}
struct iq_node {
struct iq_node *next;
union node_data instr;
char type;
} | <|file_sep|>original/Josh_Zane_Sebastian/src/main.h
struct stack_node *cdr;
union node_data data;
char type;
}
union node_data {
struct routine routine;
int numval;
}
struct routine {
struct routine *parent;
struct iq_node *nodes;
int num_nodes;
}
struct iq_node {
struct iq_node *... | 80e4e2a943d9a156ed2a674a76a1da42b891dd57 | Josh_Zane_Sebastian/src/main.h | Josh_Zane_Sebastian/src/main.h | C |
<|file_sep|>original/composer.json
"keywords": ["framework", "laravel", "despark", "facebook", "instagram", "twitter", "feeder", "feed", "social-feeder"],
"license": "MIT",
"authors": [
{
"name": "Yavor Mihaylov",
"email": "ymihaylov@despark.com"
}
],
"require... | "name": "Yavor Mihaylov",
"email": "ymihaylov@despark.com"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.*",
"sammyk/laravel-facebook-sdk": "~1.1",
"abraham/twitteroauth": "0.*"
},
"autoload": {
"classmap": [
... | <|file_sep|>original/composer.json
"keywords": ["framework", "laravel", "despark", "facebook", "instagram", "twitter", "feeder", "feed", "social-feeder"],
"license": "MIT",
"authors": [
{
"name": "Yavor Mihaylov",
"email": "ymihaylov@despark.com"
}
],
"require... | 8e8869b4384b2eb9e1f4bcfd55ff8407daf550cb | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
# Communication between iOS & OS X with Bonjour
This repository has two XCode projects
* An OS X Bonjour server that can send/recieve data
* An iOS Bonjour client that can send/recieve data
You'll need Xcode 10.2 with Swift 5 or greater
PS... I wrote this as proof of concept & to lear... | # Communication between iOS & OS X with Bonjour
This repository has two XCode projects
* An OS X Bonjour server that can send/recieve data
* An iOS Bonjour client that can send/recieve data
You'll need Xcode 11.1 with Swift 5 or greater
PS... I wrote this as proof of concept & to learn Swift years ago. If you're go... | <|file_sep|>original/README.md
# Communication between iOS & OS X with Bonjour
This repository has two XCode projects
* An OS X Bonjour server that can send/recieve data
* An iOS Bonjour client that can send/recieve data
You'll need Xcode 10.2 with Swift 5 or greater
PS... I wrote this as proof of concept & to lear... | 4b5711ce45c13c2b1475468732522f9f78a60905 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
### POST `/create`
Post a task spec of the form:
```
{
"name": "hello",
"command": "echo hello world > hello.txt",
"resources": {
"disk": "10",
"ram": "10",
"cpu": "0.1"
},
"outputfiles": ["hello.txt"],
"capturestdout": false,
"dependso... | ### POST `/create`
Post a task spec of the form:
```
{
"name": "hello",
"command": "echo hello world > hello.txt",
"resources": {
"disk": "10",
"ram": "10",
"cpu": "0.1",
"time": "5"
},
"outputfiles": ["hello.txt"],
"capturestdout": false,
"dependson": []
}
`... | <|file_sep|>original/README.md
### POST `/create`
Post a task spec of the form:
```
{
"name": "hello",
"command": "echo hello world > hello.txt",
"resources": {
"disk": "10",
"ram": "10",
"cpu": "0.1"
},
"outputfiles": ["hello.txt"],
"capturestdout": false,
"dependso... | d41fed619eef933c57106444a70f4694723648c9 | README.md | README.md | Markdown |
<|file_sep|>index.js.diff
original:
updated:
function setClasses(){
for(var i = 0; i < down.length; i++){
doc(down[i]).addClass(hoverClass);
}
}
<|file_sep|>index.js.diff
original:
doc(target).addClass(hoverClass);
updated:
<|file_sep|>index.js.diff
original:
updated:
... | doc(down[i]).addClass(hoverClass);
}
}
doc(document).on('touchstart mousedown', selector, function(event){
var target = doc(event.target).closest(selector);
down.push(target);
setTimeout(setClasses, 50);
});
function cancelHover(event){
if(event.defa... | <|file_sep|>index.js.diff
original:
updated:
function setClasses(){
for(var i = 0; i < down.length; i++){
doc(down[i]).addClass(hoverClass);
}
}
<|file_sep|>index.js.diff
original:
doc(target).addClass(hoverClass);
updated:
<|file_sep|>index.js.diff
original:
updated:
... | e5c1148583b076e9bdfb1c35e02c579ade240e3c | index.js | index.js | JavaScript |
<|file_sep|>Source/DynamicScene/createObservableProperty.js.diff
original:
function createProperty(name, privateName) {
updated:
function createObservableProperty(name, privateName) {
<|file_sep|>original/Source/DynamicScene/createObservableProperty.js
/*global define*/
define(function() {
"use strict";
... | /*global define*/
define(function() {
"use strict";
function createObservableProperty(name, privateName) {
return {
get : function() {
return this[privateName];
},
set : function(value) {
var oldValue = this[privateName];
... | <|file_sep|>Source/DynamicScene/createObservableProperty.js.diff
original:
function createProperty(name, privateName) {
updated:
function createObservableProperty(name, privateName) {
<|file_sep|>original/Source/DynamicScene/createObservableProperty.js
/*global define*/
define(function() {
"use strict";
... | 6cd9fe0e1f6caa86ad6eddbe34c81c27e7078b05 | Source/DynamicScene/createObservableProperty.js | Source/DynamicScene/createObservableProperty.js | JavaScript |
<|file_sep|>Package.swift.diff
original:
Target(name: "Warp", dependencies: [ "CUDADriver", "CUDARuntime", "CuBLAS" ])
updated:
Target(name: "Warp", dependencies: [ "CUDADriver", "CUDARuntime", "CuBLAS", "NVRTC" ])
<|file_sep|>Package.swift.diff
original:
updated:
#if os(Linux) || os(macOS)
<|file_sep... | name: "CUDA",
type: .Library(.Dynamic),
modules: [ "CUDADriver", "CUDARuntime", "NVRTC", "CuBLAS", ]
)
products.append(dylib)
let a = Product(
name: "CUDA",
type: .Library(.Static),
modules: [ "CUDADriver", "CUDARuntime", "NVRTC", "CuBLAS", ]
)
products.append(a)
let warpA = Product(
name:... | <|file_sep|>Package.swift.diff
original:
Target(name: "Warp", dependencies: [ "CUDADriver", "CUDARuntime", "CuBLAS" ])
updated:
Target(name: "Warp", dependencies: [ "CUDADriver", "CUDARuntime", "CuBLAS", "NVRTC" ])
<|file_sep|>Package.swift.diff
original:
updated:
#if os(Linux) || os(macOS)
<|file_sep... | e794089c7b8f0674b1391c58f14bc36f6266253b | Package.swift | Package.swift | Swift |
<|file_sep|>original/support/bootstrap-vagrant.sh
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository -y ppa:awstools-dev/awstools
sudo apt-get update -y
# Install basic Python support
sudo apt-get install -y python3 python3-setuptools python3-pip
# Install aws cli ... | sudo add-apt-repository -y ppa:awstools-dev/awstools
sudo apt-get update -y
# Install basic Python support
sudo apt-get install -y python3 python3-setuptools python3-pip
# Install aws cli tools
sudo apt-get install -y awscli
# Install git
sudo apt-get install -y git
# Install lxc
sudo apt-get install -y libcgmanag... | <|file_sep|>original/support/bootstrap-vagrant.sh
sudo apt-get install -y python-software-properties software-properties-common
sudo add-apt-repository -y ppa:awstools-dev/awstools
sudo apt-get update -y
# Install basic Python support
sudo apt-get install -y python3 python3-setuptools python3-pip
# Install aws cli ... | be6e875d15676e258735acdea1caa51f894b7498 | support/bootstrap-vagrant.sh | support/bootstrap-vagrant.sh | Shell |
<|file_sep|>CHANGELOG.md.diff
original:
- Provide default type filter function (#26)
updated:
- Provide default type filter function ([#26](https://github.com/Kashoo/synctos/issues/26))
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adher... | # Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [1.1.0] - 2016-07-15
### Added
- Provide default type filter function ([#26](https://github.com/Kashoo/synctos/issues/26))
### Fixed
- Does not return a non-zero exit... | <|file_sep|>CHANGELOG.md.diff
original:
- Provide default type filter function (#26)
updated:
- Provide default type filter function ([#26](https://github.com/Kashoo/synctos/issues/26))
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adher... | 7b650f623a26f91cf1274579c8cd583f4bae90b1 | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/Jenkins/jenkins-grab-se.ps1
$steamData = "C:/Steam/Data/"
$steamCMDPath = "C:/Steam/steamcmd/"
$steamCMDZip = "C:/Steam/steamcmd.zip"
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path $steamData)) {
mkdir "$steamData"
}
if (!(Test-Path $steamCMDPath)) {
if (!(Test-Path $s... |
$steamData = "C:/Steam/Data/"
$steamCMDPath = "C:/Steam/steamcmd/"
$steamCMDZip = "C:/Steam/steamcmd.zip"
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path $steamData)) {
mkdir "$steamData"
}
if (!(Test-Path $steamCMDPath)) {
if (!(Test-Path $steamCMDZip)) {
(New-Object System.Net.WebClient... | <|file_sep|>original/Jenkins/jenkins-grab-se.ps1
$steamData = "C:/Steam/Data/"
$steamCMDPath = "C:/Steam/steamcmd/"
$steamCMDZip = "C:/Steam/steamcmd.zip"
Add-Type -AssemblyName System.IO.Compression.FileSystem
if (!(Test-Path $steamData)) {
mkdir "$steamData"
}
if (!(Test-Path $steamCMDPath)) {
if (!(Test-Path $s... | b12199c65b1ebc786307e2e2598176c7dc054c53 | Jenkins/jenkins-grab-se.ps1 | Jenkins/jenkins-grab-se.ps1 | PowerShell |
<|file_sep|>original/project/plugins.sbt
//webplugin
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.5.0")
//eclipse plugin
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1")
//sbt-dependency-graph
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4")
// Resolver for the sb... | //webplugin
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.5.0")
//eclipse plugin
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1")
//IntelliJ IDEA plugin
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
//sbt-dependency-graph
addSbtPlugin("net.virtual-void" % "sbt-dependenc... | <|file_sep|>original/project/plugins.sbt
//webplugin
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.5.0")
//eclipse plugin
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.1.1")
//sbt-dependency-graph
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4")
// Resolver for the sb... | c6470257d5dfed6da168304d6e68e0bbdf3ed1d7 | project/plugins.sbt | project/plugins.sbt | Scala |
<|file_sep|>original/metadata/com.money.manager.ex.txt
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-mon... | * Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-money-manager-ex
Build:2.15.2,687
disable=third party... | <|file_sep|>original/metadata/com.money.manager.ex.txt
* Storage card Import/Export
* Dropbox synchronization
* Security, application lock/unlock
* Repeating transactions
* Charts
* Supported languages: English, Italian, Portoguese, Spanish and Russian
.
Repo Type:git
Repo:https://github.com/moneymanagerex/android-mon... | 42cc31ce555be97fe2ca8117f26f0999dc48253a | metadata/com.money.manager.ex.txt | metadata/com.money.manager.ex.txt | Text |
<|file_sep|>original/_pages/it/faq.md
<|file_sep|>current/_pages/it/faq.md
<|file_sep|>updated/_pages/it/faq.md | ---
title: Domande Frequenti
subtitle:
lang: it
ref:
en: /en/faq
layout: internal-simple
image: /assets/images/comelouso-temp-img.jpg
---
{% include faq.html %} | <|file_sep|>original/_pages/it/faq.md
<|file_sep|>current/_pages/it/faq.md
<|file_sep|>updated/_pages/it/faq.md
---
title: Domande Frequenti
subtitle:
lang: it
ref:
en: /en/faq
layout: internal-simple
image: /assets/images/comelouso-temp-img.jpg
---
{% include faq.html %} | 7ad6dc846f2ada2cf3d04962728948dc71b5d152 | _pages/it/faq.md | _pages/it/faq.md | Markdown |
<|file_sep|>packages/ha/hashable-time.yaml.diff
original:
hash: 1af4987c0a40924c3e48db2c7f9be01bd5c2677a5ef0370a4a9f7d2d4ba83a45
updated:
hash: 46aba0e063b7719be3fc0ebdac4a338a165ddcc02ff8acb19548bef166076467
<|file_sep|>original/packages/ha/hashable-time.yaml
homepage: ''
changelog-type: ''
hash: 1af4987c0a40924c3e48d... | homepage: ''
changelog-type: ''
hash: 46aba0e063b7719be3fc0ebdac4a338a165ddcc02ff8acb19548bef166076467
test-bench-deps: {}
maintainer: Alexey Karakulov <ankarakulov@gmail.com>
synopsis: Hashable instances for Data.Time
changelog: ''
basic-deps:
base: ! '>=4.7 && <4.12'
time: ! '>=1.5'
hashable: ! '>=1.2.3.3 && <=... | <|file_sep|>packages/ha/hashable-time.yaml.diff
original:
hash: 1af4987c0a40924c3e48db2c7f9be01bd5c2677a5ef0370a4a9f7d2d4ba83a45
updated:
hash: 46aba0e063b7719be3fc0ebdac4a338a165ddcc02ff8acb19548bef166076467
<|file_sep|>original/packages/ha/hashable-time.yaml
homepage: ''
changelog-type: ''
hash: 1af4987c0a40924c3e48d... | 2d136fed70534e3a69ee831a1172969b1fab7e0e | packages/ha/hashable-time.yaml | packages/ha/hashable-time.yaml | YAML |
<|file_sep|>original/doc/patches.debian.net-api.txt
<|file_sep|>current/doc/patches.debian.net-api.txt
<|file_sep|>updated/doc/patches.debian.net-api.txt | Navigation
================
By prefix
----------
* /api/prefix/PREFIX/
Retrieve the packages under a prefix
By list
----------
* /list/INT/
Retrieve a list of paginated packages.
INT is an integer to indicate the page number
Package Summary API
================
The package summary API allows the user to retrieve... | <|file_sep|>original/doc/patches.debian.net-api.txt
<|file_sep|>current/doc/patches.debian.net-api.txt
<|file_sep|>updated/doc/patches.debian.net-api.txt
Navigation
================
By prefix
----------
* /api/prefix/PREFIX/
Retrieve the packages under a prefix
By list
----------
* /list/INT/
Retrieve a list of p... | dea66b40b51e49caa23d25bd6b09129fa1c1ca4d | doc/patches.debian.net-api.txt | doc/patches.debian.net-api.txt | Text |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install: sudo npm install -g phantomjs
script: npm run lint && npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install: sudo npm install -g phantomjs
script: npm run lint && npm test... | language: node_js
node_js:
- "0.11"
- "0.10"
before_install: npm install -g phantomjs
script: npm run lint && npm test | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install: sudo npm install -g phantomjs
script: npm run lint && npm test
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.11"
- "0.10"
before_install: sudo npm install -g phantomjs
script: npm run lint && npm test... | 8a93505522b03485debcc160c374005ff539d401 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
updated:
- "0.11"
<|file_sep|>.travis.yml.diff
original:
- 0.8
updated:
<|file_sep|>.travis.yml.diff
original:
- npm install -g bob --loglevel error
script:
updated:
- npm install -g bob coveralls --loglevel error
script:
<|file_sep|>original/.travis.yml
language: node_... | language: node_js
node_js:
- "0.11"
- "0.10"
before_install:
- npm update -g npm
- npm install -g bob coveralls --loglevel error
script:
- bob build
- cat .bob/coverage/buster-istanbul/lcov.info | coveralls | <|file_sep|>.travis.yml.diff
original:
updated:
- "0.11"
<|file_sep|>.travis.yml.diff
original:
- 0.8
updated:
<|file_sep|>.travis.yml.diff
original:
- npm install -g bob --loglevel error
script:
updated:
- npm install -g bob coveralls --loglevel error
script:
<|file_sep|>original/.travis.yml
language: node_... | c7ceeab1906f3a5a1de019f8dc84aa01ce1c40ca | .travis.yml | .travis.yml | YAML |
<|file_sep|>Directorylister.js.diff
original:
chrome.tabs.remove($this.tabid);
updated:
chrome.tabs.remove($this.directory_list_tab);
<|file_sep|>Directorylister.js.diff
original:
if ( _tab.id.toString() === $this.tabid.toString() ) {
updated:
if ( _tab.id == $this.directory_list_tab ) {
<|file_sep|>ori... | DirectoryList.prototype.getFileList = function( fileListener ) {
var $this = this;
chrome.extension.onMessage.addListener( function(request, sender, sendResponse) {
chrome.extension.onMessage.removeListener(arguments.callee);
chrome.tabs.remove($this.directory_list_tab);
$this.fileList = request;
fi... | <|file_sep|>Directorylister.js.diff
original:
chrome.tabs.remove($this.tabid);
updated:
chrome.tabs.remove($this.directory_list_tab);
<|file_sep|>Directorylister.js.diff
original:
if ( _tab.id.toString() === $this.tabid.toString() ) {
updated:
if ( _tab.id == $this.directory_list_tab ) {
<|file_sep|>ori... | 3ecea639ab2837986775ec36c4eaa3f6aff416f1 | Directorylister.js | Directorylister.js | JavaScript |
<|file_sep|>original/librtosc.pc.cmake
#
# pkgconfig for rtosc
#
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}
includedir=${prefix}/include
Name: rtosc
Description: rtosc - a realtime safe open sound control serialization and dispatch system
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSIO... | #
# pkgconfig for rtosc
#
prefix=@CMAKE_INSTALL_PREFIX@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: rtosc
Description: rtosc - a realtime safe open sound control serialization and dispatch system
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
Libs: -L${libdir} -lrtosc... | <|file_sep|>original/librtosc.pc.cmake
#
# pkgconfig for rtosc
#
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}
includedir=${prefix}/include
Name: rtosc
Description: rtosc - a realtime safe open sound control serialization and dispatch system
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSIO... | b22b53af35a530e37eba834eaf2683ea54f0d9c0 | librtosc.pc.cmake | librtosc.pc.cmake | CMake |
<|file_sep|>lib/dispatj/resolver.js.diff
original:
var clone = function(o){
updated:
var merge = function(a, b){
<|file_sep|>lib/dispatj/resolver.js.diff
original:
f.prototype = o;
return new f();
updated:
f.prototype = a;
var c = new f();
for (var k in b) { if (b.hasOwnProperty(k)) {
c[k] = b[k];
}}
... | var host = (request.headers.host || '').split(':')[0];
var downstream;
for (var i = 0; i < mappings.length; i++) {
var m = merge(defaultMappings, mappings[i]);
if (host.match(m.matchHost) && request.url.match(m.matchPath)) {
downstream = {host: m.host, port: m.port};
break;
}
}
if (d... | <|file_sep|>lib/dispatj/resolver.js.diff
original:
var clone = function(o){
updated:
var merge = function(a, b){
<|file_sep|>lib/dispatj/resolver.js.diff
original:
f.prototype = o;
return new f();
updated:
f.prototype = a;
var c = new f();
for (var k in b) { if (b.hasOwnProperty(k)) {
c[k] = b[k];
}}
... | ab22824455ce4780d4d579473d6109f010bc29c3 | lib/dispatj/resolver.js | lib/dispatj/resolver.js | JavaScript |
<|file_sep|>original/public/documentation.md
## Documentation
1. [High Level Component Overview](/component-overview.html)
1. [Theory of Operation](/theory-of-operation.html)
1. [Languages and Frameworks](/languages.html)
2. [AWS Install](/aws-install.html)
3. [Knife Solo Install](/knife-solo.html)
4. [Changelog](/cha... | ## Documentation
1. [High Level Component Overview](/component-overview.html)
1. [Theory of Operation](/theory-of-operation.html)
1. [Languages and Frameworks](/languages.html)
2. [AWS Install](/aws-install.html)
3. [Knife Solo Install](/knife-solo.html)
4. [Changelog](/changelog.html)
5. [Simple Example Screencast](/... | <|file_sep|>original/public/documentation.md
## Documentation
1. [High Level Component Overview](/component-overview.html)
1. [Theory of Operation](/theory-of-operation.html)
1. [Languages and Frameworks](/languages.html)
2. [AWS Install](/aws-install.html)
3. [Knife Solo Install](/knife-solo.html)
4. [Changelog](/cha... | bedd5e02015a2fdf1a450677d5e83e5d41931eb9 | public/documentation.md | public/documentation.md | Markdown |
<|file_sep|>original/requirements-tox.txt
# Test requirements
pytest-cov==1.6
flake8==2.4.0
ipdb
# wheel for PyPI installs
wheel==0.24.0
# MkDocs for documentation previews/deploys
mkdocs==0.11.1
<|file_sep|>current/requirements-tox.txt
# Test requirements
pytest-cov==1.6
flake8==2.4.0
ipdb
# wheel for PyPI installs... | # Test requirements
pytest-cov==2.7.1
flake8==2.4.0
ipdb
# wheel for PyPI installs
wheel==0.24.0
# MkDocs for documentation previews/deploys
mkdocs==0.11.1 | <|file_sep|>original/requirements-tox.txt
# Test requirements
pytest-cov==1.6
flake8==2.4.0
ipdb
# wheel for PyPI installs
wheel==0.24.0
# MkDocs for documentation previews/deploys
mkdocs==0.11.1
<|file_sep|>current/requirements-tox.txt
# Test requirements
pytest-cov==1.6
flake8==2.4.0
ipdb
# wheel for PyPI installs... | ac87d3ceafd63e6142cb7a3b2a96fbb596ea72eb | requirements-tox.txt | requirements-tox.txt | Text |
<|file_sep|>original/app/models/menu.rb
class Menu < ActiveRecord::Base
has_many :links, class_name: 'MenuLink'
def self.links_for_menu_cached(menu_name)
Rails.cache.fetch(Menu.where(name: menu_name).last.cache_key, expires_in: 24.hours) do
Menu.where(name: menu_name).last.links.sort_by{|l| l.preferred_o... | class Menu < ActiveRecord::Base
has_many :links, class_name: 'MenuLink'
def self.links_for_menu_cached(menu_name)
Rails.cache.fetch(Menu.where(name: menu_name).last, expires_in: 24.hours) do
Menu.where(name: menu_name).last.links.sort_by{|l| l.preferred_order}.to_a
end
end
end | <|file_sep|>original/app/models/menu.rb
class Menu < ActiveRecord::Base
has_many :links, class_name: 'MenuLink'
def self.links_for_menu_cached(menu_name)
Rails.cache.fetch(Menu.where(name: menu_name).last.cache_key, expires_in: 24.hours) do
Menu.where(name: menu_name).last.links.sort_by{|l| l.preferred_o... | 8570da9c537b993a1f4d3c850770f23d3eec5d27 | app/models/menu.rb | app/models/menu.rb | Ruby |
<|file_sep|>original/app/controllers/users_controller.rb
end
def update
@user.attributes = user_attributes
if current_user && current_user.admin?
@user.role_id = params[:user][:role_id]
end
if @user.save
redirect_to user_path(@user), notice: 'User updated'
else
render :edit
... | end
def update
@user.attributes = user_attributes
if current_user && current_user.admin?
@user.role_id = params[:user][:role_id]
end
if @user.save
redirect_to users_path, notice: 'User updated'
else
render :edit
end
end
def create
@user = User.new(user_attribute... | <|file_sep|>original/app/controllers/users_controller.rb
end
def update
@user.attributes = user_attributes
if current_user && current_user.admin?
@user.role_id = params[:user][:role_id]
end
if @user.save
redirect_to user_path(@user), notice: 'User updated'
else
render :edit
... | 5c6f2e0d663dffe98166a12fd21961ce648ad551 | app/controllers/users_controller.rb | app/controllers/users_controller.rb | Ruby |
<|file_sep|>lib/graph.js.diff
original:
updated:
if (!graph || !source || !destination) {
return undefined;
}
path = path || [];
<|file_sep|>lib/graph.js.diff
original:
let predecessor = map[destination].predecessor;
if (_.isEqual(predecessor, source)) {
path.push(graph.edge(predecessor, destination)... | let graph = new Graph({
directed: true
});
_.each(pairs, ({from, to, method}) => graph.setEdge(from, to, method));
return graph;
}
export function getPath(graph, source, destination, path) {
if (!graph || !source || !destination) {
return undefined;
}
path = path || [];
let map = dijkstra(graph... | <|file_sep|>lib/graph.js.diff
original:
updated:
if (!graph || !source || !destination) {
return undefined;
}
path = path || [];
<|file_sep|>lib/graph.js.diff
original:
let predecessor = map[destination].predecessor;
if (_.isEqual(predecessor, source)) {
path.push(graph.edge(predecessor, destination)... | 3a8eaa27a3f2521560992adcd27d438d21fb0b36 | lib/graph.js | lib/graph.js | JavaScript |
<|file_sep|>original/readthedocs/search/serializers.py
path = serializers.CharField()
link = serializers.SerializerMethodField()
highlight = serializers.SerializerMethodField()
def get_link(self, obj):
projects_url = self.context.get('projects_url')
if projects_url:
docs_url... | link = serializers.SerializerMethodField()
highlight = serializers.SerializerMethodField()
def get_link(self, obj):
projects_url = self.context.get('projects_url')
if projects_url:
docs_url = projects_url[obj.project]
return docs_url + obj.path
def get_highlight... | <|file_sep|>original/readthedocs/search/serializers.py
path = serializers.CharField()
link = serializers.SerializerMethodField()
highlight = serializers.SerializerMethodField()
def get_link(self, obj):
projects_url = self.context.get('projects_url')
if projects_url:
docs_url... | e909759730be51a16fb7656de6a9844fdbf8fb2e | readthedocs/search/serializers.py | readthedocs/search/serializers.py | Python |
<|file_sep|>package.json.diff
original:
"keywords": ["express", "switch", "pattern matching"],
updated:
"keywords": [
"express",
"switch",
"pattern matching"
],
<|file_sep|>package.json.diff
original:
"mocha": "latest",
"istanbul": "latest",
"coveralls": "late... | "repository": {
"type": "git",
"url": "http://github.com/B3rn475/express-switch.git"
},
"dependencies": {},
"devDependencies": {
"async": "^0.9.0",
"coveralls": "^3.0.9",
"mocha": "^6.2.2",
"nyc": "^14.1.1"
},
"engines": {
"node": ">=0.8.0"... | <|file_sep|>package.json.diff
original:
"keywords": ["express", "switch", "pattern matching"],
updated:
"keywords": [
"express",
"switch",
"pattern matching"
],
<|file_sep|>package.json.diff
original:
"mocha": "latest",
"istanbul": "latest",
"coveralls": "late... | 863dac59929751e18df02c58424bbaa2e66fda14 | package.json | package.json | JSON |
<|file_sep|>original/images/commons/lagoon/entrypoints/10-passwd.sh
#!/bin/sh
if ! whoami &> /dev/null; then
if [ -w /etc/passwd ]; then
echo "${USER_NAME:-user}:x:$(id -u):0:${USER_NAME:-user}:${HOME}:/bin/sh" >> /etc/passwd
fi
fi
<|file_sep|>current/images/commons/lagoon/entrypoints/10-passwd.sh
#!/bin/sh
i... | #!/bin/sh
if [ -w /etc/passwd ]; then
# Change root's home folder to /home
sed -i 's/root:\/root:/root:\/home:/' /etc/passwd
# If we don't know who we are (whoami returns false) add a new entry into the users list
if ! whoami &> /dev/null; then
echo "${USER_NAME:-user}:x:$(id -u):0:${USER_NAME:-user}:${HO... | <|file_sep|>original/images/commons/lagoon/entrypoints/10-passwd.sh
#!/bin/sh
if ! whoami &> /dev/null; then
if [ -w /etc/passwd ]; then
echo "${USER_NAME:-user}:x:$(id -u):0:${USER_NAME:-user}:${HOME}:/bin/sh" >> /etc/passwd
fi
fi
<|file_sep|>current/images/commons/lagoon/entrypoints/10-passwd.sh
#!/bin/sh
i... | 34fc4469d656107d333341dcf03861503451babf | images/commons/lagoon/entrypoints/10-passwd.sh | images/commons/lagoon/entrypoints/10-passwd.sh | Shell |
<|file_sep|>src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig.diff
original:
<div class="panel-body">
updated:
<|file_sep|>src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig.diff
original:
<table class="table table-striped dataGrid">
<tbody>
{% for _itr_12 in faqFeedback %}
<... | <div class="panel-body">
<table class="table table-striped dataGrid">
<tbody>
{% for _itr_12 in faqFeedback %}
<tr class="{{ cycle(['odd', 'even'], loop.index0) }}">
<td><a href="{{ _itr_12.full_url }}">{{ _itr_12.text|truncate(150 ) }}</a></td>
</tr>
... | <|file_sep|>src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig.diff
original:
<div class="panel-body">
updated:
<|file_sep|>src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig.diff
original:
<table class="table table-striped dataGrid">
<tbody>
{% for _itr_12 in faqFeedback %}
<... | f954d984b6ea0e6f037eaa481e39bb891953696a | src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig | src/Backend/Modules/Faq/Layout/Widgets/Feedback.html.twig | Twig |
<|file_sep|>original/core/settings-wni-Windows_NT.py
from __future__ import absolute_import
from qubes.storage.wni import QubesWniVmStorage
def apply(system_path, vm_files, defaults):
system_path['qubes_base_dir'] = 'c:\\qubes'
system_path['config_template_pv'] = 'c:/program files/Invisible Things Lab/Qubes/... |
from qubes.storage.wni import QubesWniVmStorage
def apply(system_path, vm_files, defaults):
system_path['qubes_base_dir'] = 'c:\\qubes'
system_path['config_template_pv'] = 'c:/program files/Invisible Things Lab/Qubes/vm-template.xml'
system_path['config_template_hvm'] = 'c:/program files/Invisible Things ... | <|file_sep|>original/core/settings-wni-Windows_NT.py
from __future__ import absolute_import
from qubes.storage.wni import QubesWniVmStorage
def apply(system_path, vm_files, defaults):
system_path['qubes_base_dir'] = 'c:\\qubes'
system_path['config_template_pv'] = 'c:/program files/Invisible Things Lab/Qubes/... | 803e128b8e151c061f75051b5a4386d4c624ba56 | core/settings-wni-Windows_NT.py | core/settings-wni-Windows_NT.py | Python |
<|file_sep|>original/config/initializers/browse_everything.rb
settings = if Settings.dropbox.google_drive
{ 'google_drive' => { client_id: Settings.dropbox.google_drive.client_id,
client_secret: Settings.dropbox.google_drive.client_secret
}
}
elsif Settings.dropbox.path... | settings = if Settings.dropbox.google_drive
{ 'google_drive' => { client_id: Settings.dropbox.google_drive.client_id,
client_secret: Settings.dropbox.google_drive.client_secret
}
}
elsif Settings.dropbox.path =~ %r{^s3://}
obj = FileLocator::S3File.new(Settings.dropbo... | <|file_sep|>original/config/initializers/browse_everything.rb
settings = if Settings.dropbox.google_drive
{ 'google_drive' => { client_id: Settings.dropbox.google_drive.client_id,
client_secret: Settings.dropbox.google_drive.client_secret
}
}
elsif Settings.dropbox.path... | ce3c38ad52f75cb825a7843745dd06a0ed21a7b9 | config/initializers/browse_everything.rb | config/initializers/browse_everything.rb | Ruby |
<|file_sep|>original/diesel_derives/Cargo.toml
license = "MIT OR Apache-2.0"
description = "You should not use this crate directly, it is internal to Diesel."
documentation = "https://diesel.rs/guides/"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_derives"
autotest... | license = "MIT OR Apache-2.0"
description = "You should not use this crate directly, it is internal to Diesel."
documentation = "https://diesel.rs/guides/"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_derives"
autotests = false
include = ["src/**/*", "LICENSE-*"]
r... | <|file_sep|>original/diesel_derives/Cargo.toml
license = "MIT OR Apache-2.0"
description = "You should not use this crate directly, it is internal to Diesel."
documentation = "https://diesel.rs/guides/"
homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_derives"
autotest... | c7fb86f1367157b9a29e296fa36ea3a5dc6ce3fb | diesel_derives/Cargo.toml | diesel_derives/Cargo.toml | TOML |
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
... | Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
** mlbench (please complete the following informa... | <|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
... | 563ed13e7398bc9ddf41322e21e2e0bf62e67156 | .github/ISSUE_TEMPLATE/bug_report.md | .github/ISSUE_TEMPLATE/bug_report.md | Markdown |
<|file_sep|>original/docs/always-on-top.md
<|file_sep|>current/docs/always-on-top.md
<|file_sep|>updated/docs/always-on-top.md | # How to make a window be always on top?
It's as easy as installing the package `wmctrl` and then using the following command:
```
wmctrl -r :ACTIVE: -b add,above
```
Alternatively, using this command will *toggle* it:
```
wmctrl -r :ACTIVE: -b toggle,above
```
It may be called using a keyboard shortcut, or its us... | <|file_sep|>original/docs/always-on-top.md
<|file_sep|>current/docs/always-on-top.md
<|file_sep|>updated/docs/always-on-top.md
# How to make a window be always on top?
It's as easy as installing the package `wmctrl` and then using the following command:
```
wmctrl -r :ACTIVE: -b add,above
```
Alternatively, using t... | ffbd3379f1c7967c36edac6917469bf511aeb33c | docs/always-on-top.md | docs/always-on-top.md | Markdown |
<|file_sep|>.travis.yml.diff
original:
- DJANGO_INSTALL="Django==1.6"
updated:
- DJANGO_INSTALL="Django==1.6.1"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_INSTALL="Django==1.4.10"
- DJANGO_INSTALL="Django==1.5.5"
- DJANGO_INSTALL="Django==1.6"
install... | language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_INSTALL="Django==1.4.10"
- DJANGO_INSTALL="Django==1.5.5"
- DJANGO_INSTALL="Django==1.6.1"
install:
- pip install -q $DJANGO_INSTALL
- python setup.py -q install
script: ./runtests.sh
matrix:
exclude:
- python: "3.3"
env: DJANGO... | <|file_sep|>.travis.yml.diff
original:
- DJANGO_INSTALL="Django==1.6"
updated:
- DJANGO_INSTALL="Django==1.6.1"
<|file_sep|>original/.travis.yml
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
- DJANGO_INSTALL="Django==1.4.10"
- DJANGO_INSTALL="Django==1.5.5"
- DJANGO_INSTALL="Django==1.6"
install... | 50ff471a636079a144c80dd5fee8ef2cd587d79a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/session.vim
au BufWritePost *.rs silent!make ctags > /dev/null 2>&1
let g:syntastic_rust_rustc_fname = "src/lib.rs"
<|file_sep|>current/session.vim
au BufWritePost *.rs silent!make ctags > /dev/null 2>&1
let g:syntastic_rust_rustc_fname = "src/lib.rs"
<|file_sep|>updated/session.vim | au BufWritePost *.rs silent!make ctags > /dev/null 2>&1
let g:syntastic_rust_rustc_fname = "src/lib.rs"
let g:syntastic_rust_rustc_args = "--no-trans" | <|file_sep|>original/session.vim
au BufWritePost *.rs silent!make ctags > /dev/null 2>&1
let g:syntastic_rust_rustc_fname = "src/lib.rs"
<|file_sep|>current/session.vim
au BufWritePost *.rs silent!make ctags > /dev/null 2>&1
let g:syntastic_rust_rustc_fname = "src/lib.rs"
<|file_sep|>updated/session.vim
au BufWritePost... | 5ff22b24c7427a3679539d912e17a963a7c9e8df | session.vim | session.vim | VimL |
<|file_sep|>original/index.js
withSideEffect = require('react-side-effect');
function reducePropsToState(propsList) {
var innermostProps = propsList[propsList.length - 1];
if (innermostProps) {
return innermostProps.title;
}
}
function handleStateChangeOnClient(title) {
document.title = title || '';
}... | withSideEffect = require('react-side-effect');
function reducePropsToState(propsList) {
var innermostProps = propsList[propsList.length - 1];
if (innermostProps) {
return innermostProps.title;
}
}
function handleStateChangeOnClient(title) {
if (title !== document.title) {
document.title = title ||... | <|file_sep|>original/index.js
withSideEffect = require('react-side-effect');
function reducePropsToState(propsList) {
var innermostProps = propsList[propsList.length - 1];
if (innermostProps) {
return innermostProps.title;
}
}
function handleStateChangeOnClient(title) {
document.title = title || '';
}... | 7ae330a05b01a0c79571ab3aeed0833c1e77b6b0 | index.js | index.js | JavaScript |
<|file_sep|>original/test/filter_test.rb
class FilterTest < ActiveSupport::TestCase
Post = Class.new
Comment = Class.new
class FilterDouble
def filtered?(_)
true
end
end
teardown do
Filter.instance_variable_set(:@instance, nil)
end
test '#initialize' do
a... | class FilterTest < ActiveSupport::TestCase
Post = Class.new
Comment = Class.new
class FilterDouble
def filtered?(_)
true
end
end
setup do
Filter.instance_variable_set(:@instance, nil)
end
test '#initialize' do
assert_equal [ActiveRecord::InternalMetadata]... | <|file_sep|>original/test/filter_test.rb
class FilterTest < ActiveSupport::TestCase
Post = Class.new
Comment = Class.new
class FilterDouble
def filtered?(_)
true
end
end
teardown do
Filter.instance_variable_set(:@instance, nil)
end
test '#initialize' do
a... | 4e874d4b4b0d91ad6ebd3fd9d67bed555da9f6be | test/filter_test.rb | test/filter_test.rb | Ruby |
<|file_sep|>original/requirements/base.txt
# Whitenoise: Staticfile hosting
whitenoise==5.2.0
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.3.0
django-taggit-helper... |
# Whitenoise: Staticfile hosting
whitenoise==5.2.0
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.3.0
django-taggit-helpers==0.1.4
# Django REST Framework
# Taggit ... | <|file_sep|>original/requirements/base.txt
# Whitenoise: Staticfile hosting
whitenoise==5.2.0
django-npm==1.0.0
# Tagging
# Taggit Helpers: TaggitCounter, TaggitListFilter
# Taggit Templatetags: Template tags for tags - https://github.com/feuervogel/django-taggit-templatetags
django-taggit==1.3.0
django-taggit-helper... | 0b3a07636e807d04b095c804bc1e47fde26bbac2 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>txircd/modules/cmode_l.py.diff
original:
intParam = int(param)
updated:
try:
intParam = int(param)
except ValueError:
return [False, param]
<|file_sep|>original/txircd/modules/cmode_l.py
from txircd.modbase import Mode
class LimitMode(Mode):
def checkSet(... | from txircd.modbase import Mode
class LimitMode(Mode):
def checkSet(self, user, target, param):
try:
intParam = int(param)
except ValueError:
return [False, param]
if str(intParam) != param:
return [False, param]
return [(intParam > 0), param]
... | <|file_sep|>txircd/modules/cmode_l.py.diff
original:
intParam = int(param)
updated:
try:
intParam = int(param)
except ValueError:
return [False, param]
<|file_sep|>original/txircd/modules/cmode_l.py
from txircd.modbase import Mode
class LimitMode(Mode):
def checkSet(... | a2efdbc7c790df31f511d9a347774a961132d565 | txircd/modules/cmode_l.py | txircd/modules/cmode_l.py | Python |
<|file_sep|>original/appveyor.yml
version: "{build}"
build:
verbosity: detailed
build_script:
- gradlew.bat --full-stacktrace clean build
test_script:
- gradlew.bat --full-stacktrace check
cache:
- .gradle
- C:\Users\appveyor\.gradle
<|file_sep|>current/appveyor.yml
version: "{build}"
build:
verbosity: ... | version: "{build}"
build:
verbosity: detailed
build_script:
- gradlew.bat --full-stacktrace clean assemble
test_script:
- gradlew.bat --full-stacktrace check
cache:
- .gradle
- C:\Users\appveyor\.gradle | <|file_sep|>original/appveyor.yml
version: "{build}"
build:
verbosity: detailed
build_script:
- gradlew.bat --full-stacktrace clean build
test_script:
- gradlew.bat --full-stacktrace check
cache:
- .gradle
- C:\Users\appveyor\.gradle
<|file_sep|>current/appveyor.yml
version: "{build}"
build:
verbosity: ... | 7150cbc26dfeaa0226cefb6aacbc397610156c46 | appveyor.yml | appveyor.yml | YAML |
<|file_sep|>original/hordak/migrations/0010_auto_20161216_1202.py
<|file_sep|>current/hordak/migrations/0010_auto_20161216_1202.py
<|file_sep|>updated/hordak/migrations/0010_auto_20161216_1202.py | # -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-16 18:02
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('hordak', '0009_bank_accounts_are_asset_accounts'),
]
operations = [
migrati... | <|file_sep|>original/hordak/migrations/0010_auto_20161216_1202.py
<|file_sep|>current/hordak/migrations/0010_auto_20161216_1202.py
<|file_sep|>updated/hordak/migrations/0010_auto_20161216_1202.py
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2016-12-16 18:02
from __future__ import unicode_literals
from dja... | 4ad1576aa97fc83d344c50ac4695019ce2e43f61 | hordak/migrations/0010_auto_20161216_1202.py | hordak/migrations/0010_auto_20161216_1202.py | Python |
<|file_sep|>original/osu.Game/Screens/Edit/Timing/DifficultySection.cs
Current = new DifficultyControlPoint().SpeedMultiplierBindable
}
});
}
protected override void OnControlPointChanged(ValueChangedEvent<DifficultyControlPoint> point)
{
... | Current = new DifficultyControlPoint().SpeedMultiplierBindable
}
});
}
protected override void OnControlPointChanged(ValueChangedEvent<DifficultyControlPoint> point)
{
if (point.NewValue != null)
{
multiplie... | <|file_sep|>original/osu.Game/Screens/Edit/Timing/DifficultySection.cs
Current = new DifficultyControlPoint().SpeedMultiplierBindable
}
});
}
protected override void OnControlPointChanged(ValueChangedEvent<DifficultyControlPoint> point)
{
... | 08faef694bde8b66b7234c231ea58b89a058a951 | osu.Game/Screens/Edit/Timing/DifficultySection.cs | osu.Game/Screens/Edit/Timing/DifficultySection.cs | C# |
<|file_sep|>.travis.yml.diff
original:
mvn install -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
updated:
mvn -pl !azure-keyvault,!azure-keyvault-extensions install -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
<|file_sep|>original/.travis.yml
sudo: false
jdk:
- o... | sudo: false
jdk:
- oraclejdk7
- oraclejdk8
- openjdk7
script:
- |-
if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
openssl aes-256-cbc -K $encrypted_25450b691aae_key -iv $encrypted_25450b691aae_iv -in my.azureauth.txt.enc -out my.azureauth.txt -d;
export AZURE_TEST_MODE=RECORD || travis_terminate 1 ;
export AZ... | <|file_sep|>.travis.yml.diff
original:
mvn install -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
updated:
mvn -pl !azure-keyvault,!azure-keyvault-extensions install -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
<|file_sep|>original/.travis.yml
sudo: false
jdk:
- o... | 7f0af56e4fb5ea2b12609f3497215f67b0b42fcd | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/conf/evolutions/default/62.sql
# --- !Downs
ALTER TABLE "party" ADD "duns" numeric(9);
ALTER TABLE "party" RENAME "url" TO "url_old";
ALTER TABLE "party" ADD "url" text;
UPDATE "party" SET url = url_old;
ALTER TABLE "party" DROP "url_old";
COMMENT ON COLUMN "party"."duns" IS 'http://en.wikipedia... | # --- !Downs
ALTER TABLE "party" ADD "duns" numeric(9);
ALTER TABLE "party" RENAME "url" TO "url_old";
ALTER TABLE "party" ADD "url" text;
UPDATE "party" SET url = url_old;
ALTER TABLE "party" DROP "url_old";
COMMENT ON COLUMN "party"."duns" IS 'http://en.wikipedia.org/wiki/DUNS';
UPDATE party SET duns = 0 WHERE id ... | <|file_sep|>original/conf/evolutions/default/62.sql
# --- !Downs
ALTER TABLE "party" ADD "duns" numeric(9);
ALTER TABLE "party" RENAME "url" TO "url_old";
ALTER TABLE "party" ADD "url" text;
UPDATE "party" SET url = url_old;
ALTER TABLE "party" DROP "url_old";
COMMENT ON COLUMN "party"."duns" IS 'http://en.wikipedia... | c003d92db170d3190de34953d72a3690f4663231 | conf/evolutions/default/62.sql | conf/evolutions/default/62.sql | SQL |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
script: nosetests
<|file_sep|>updated/.travis.yml | language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
script: pytest | <|file_sep|>original/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
script: nosetests
<|file_sep|>current/.travis.yml
language: python
python:
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "pypy"
script: nosetests
<|file_sep|>updated/.travis.yml
language: python
python:
- "3.4"
... | 975f690a37afddb05453b2a47ea8e91ef4f1e540 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/infrastructure-modules/global-admiral/instance-pool/policy/etcd-role-policy.json
"logs:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"${s3_bucket_arn}",
"${s3_bucket_arn}/*"
]
}... | "logs:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"${config_bucket_arn}",
"${config_bucket_arn}/*",
"${cloudinit_bucket_arn}/etcd",
"${cloudinit_bucket_arn}/etcd/*"
]
},
{
... | <|file_sep|>original/infrastructure-modules/global-admiral/instance-pool/policy/etcd-role-policy.json
"logs:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"${s3_bucket_arn}",
"${s3_bucket_arn}/*"
]
}... | eaa36a5af6382e0219911995dd297a911c1c4342 | infrastructure-modules/global-admiral/instance-pool/policy/etcd-role-policy.json | infrastructure-modules/global-admiral/instance-pool/policy/etcd-role-policy.json | JSON |
<|file_sep|>frontend/test/unit/specs/Hello.spec.js.diff
original:
// import Vue from 'vue'
// import Hello from '@/components/Hello'
updated:
<|file_sep|>original/frontend/test/unit/specs/Hello.spec.js
// import Vue from 'vue'
// import Hello from '@/components/Hello'
describe('this test runner', () => {
it('needs... | describe('this test runner', () => {
it('needs at least one test', () => {
expect(true).to.equal(true)
})
}) | <|file_sep|>frontend/test/unit/specs/Hello.spec.js.diff
original:
// import Vue from 'vue'
// import Hello from '@/components/Hello'
updated:
<|file_sep|>original/frontend/test/unit/specs/Hello.spec.js
// import Vue from 'vue'
// import Hello from '@/components/Hello'
describe('this test runner', () => {
it('needs... | 0ee36fe6aa1911214d87bb5ca85f34a62f150580 | frontend/test/unit/specs/Hello.spec.js | frontend/test/unit/specs/Hello.spec.js | JavaScript |
<|file_sep|>original/fix_stats.rb
<|file_sep|>current/fix_stats.rb
<|file_sep|>updated/fix_stats.rb | require 'rubygems'
require 'time'
require 'sqlite3'
db = SQLite3::Database.new('data.sqlite3')
links_hash = {}
links = []
users = {}
# Clear the stats
db.execute("update stats set dupes=0, total=0")
# Pull the links and sort
db.execute("select dt,user_id,url from links").each do |row|
links << {:link => row[2], :... | <|file_sep|>original/fix_stats.rb
<|file_sep|>current/fix_stats.rb
<|file_sep|>updated/fix_stats.rb
require 'rubygems'
require 'time'
require 'sqlite3'
db = SQLite3::Database.new('data.sqlite3')
links_hash = {}
links = []
users = {}
# Clear the stats
db.execute("update stats set dupes=0, total=0")
# Pull the link... | 62ae57721e9f23e294ea60708194125528eb95bd | fix_stats.rb | fix_stats.rb | Ruby |
<|file_sep|>original/TasksForCourseApply/2-Quaternion.md
<|file_sep|>current/TasksForCourseApply/2-Quaternion.md
<|file_sep|>updated/TasksForCourseApply/2-Quaternion.md | # Quaternion
[Quaternions][Quaternion] are cool! They find uses in both theoretical and
applied mathematics, in particular for calculations involving three-dimensional
rotations such as in three-dimensional computer graphics and computer vision.
Choose an OOP language of your liking and design a [Quaternion] class
im... | <|file_sep|>original/TasksForCourseApply/2-Quaternion.md
<|file_sep|>current/TasksForCourseApply/2-Quaternion.md
<|file_sep|>updated/TasksForCourseApply/2-Quaternion.md
# Quaternion
[Quaternions][Quaternion] are cool! They find uses in both theoretical and
applied mathematics, in particular for calculations involvin... | e89101759fcd094ad4a70f5a3c7310dfb783d8a2 | TasksForCourseApply/2-Quaternion.md | TasksForCourseApply/2-Quaternion.md | Markdown |
<|file_sep|>client/scripts/directives/previewPictures.js.diff
original:
updated:
var angular = require('angular')
<|file_sep|>original/client/scripts/directives/previewPictures.js
bindToController: true,
link: function ($scope, $element, $attrs, $ctrl) {
$element.on('click', $ctrl.preview)
},
co... | },
bindToController: true,
link: function ($scope, $element, $attrs, $ctrl) {
$element.on('click', $ctrl.preview)
},
controller: /* @ngInject */function ($filter, Lightbox) {
var $ctrl = this
var authurl = $filter('authurl')
$ctrl.preview = function (event) {
event.p... | <|file_sep|>client/scripts/directives/previewPictures.js.diff
original:
updated:
var angular = require('angular')
<|file_sep|>original/client/scripts/directives/previewPictures.js
bindToController: true,
link: function ($scope, $element, $attrs, $ctrl) {
$element.on('click', $ctrl.preview)
},
co... | a4280b19fa4cdb4a05590d0de518ffbd12c2b6e4 | client/scripts/directives/previewPictures.js | client/scripts/directives/previewPictures.js | JavaScript |
<|file_sep|>lib/util/wrap.js.diff
original:
if (queue !== undefined) {
result.push({type: 'paragraph', children: queue})
queue = undefined
}
updated:
flush()
<|file_sep|>lib/util/wrap.js.diff
original:
if (queue !== undefined) {
result.push({type: 'paragraph', children: queue})
... | queue.push(node)
} else {
flush()
result.push(node)
}
}
flush()
return result
function flush() {
if (queue !== undefined) {
if (
queue.length !== 1 ||
queue[0].type !== 'text' ||
(queue[0].value !== ' ' && queue[0].value !== '\n')
) {
... | <|file_sep|>lib/util/wrap.js.diff
original:
if (queue !== undefined) {
result.push({type: 'paragraph', children: queue})
queue = undefined
}
updated:
flush()
<|file_sep|>lib/util/wrap.js.diff
original:
if (queue !== undefined) {
result.push({type: 'paragraph', children: queue})
... | 57b0d056e3ecd7676edc641f75d69e93b06f54c9 | lib/util/wrap.js | lib/util/wrap.js | JavaScript |
<|file_sep|>original/flickr-objects.gemspec
gem.description = %q{This gem is an object-oriented wrapper for the Flickr API.}
gem.summary = gem.description
gem.homepage = "http://janko-m.github.com/flickr-objects/"
gem.authors = ["Janko Marohnić"]
gem.email = ["janko.marohnic@gmail... | gem.description = %q{This gem is an object-oriented wrapper for the Flickr API.}
gem.summary = gem.description
gem.homepage = "http://janko-m.github.com/flickr-objects/"
gem.authors = ["Janko Marohnić"]
gem.email = ["janko.marohnic@gmail.com"]
gem.files = Dir["README.md"... | <|file_sep|>original/flickr-objects.gemspec
gem.description = %q{This gem is an object-oriented wrapper for the Flickr API.}
gem.summary = gem.description
gem.homepage = "http://janko-m.github.com/flickr-objects/"
gem.authors = ["Janko Marohnić"]
gem.email = ["janko.marohnic@gmail... | 2d312942279d769cb3c9fd70ff11fb58ab9a07ad | flickr-objects.gemspec | flickr-objects.gemspec | Ruby |
<|file_sep|>original/src/RcmUser/Acl/Service/AclDataService.php
<|file_sep|>current/src/RcmUser/Acl/Service/AclDataService.php
<|file_sep|>updated/src/RcmUser/Acl/Service/AclDataService.php | <?php
/**
* @category RCM
* @author James Jervis <jjervis@relivinc.com>
* @copyright 2012 Reliv International
* @license License.txt New BSD License
* @version GIT: reliv
* @link http://ci.reliv.com/confluence
*/
namespace RcmUser\Acl\Service;
class AclDataService {
// ROLES
public fun... | <|file_sep|>original/src/RcmUser/Acl/Service/AclDataService.php
<|file_sep|>current/src/RcmUser/Acl/Service/AclDataService.php
<|file_sep|>updated/src/RcmUser/Acl/Service/AclDataService.php
<?php
/**
* @category RCM
* @author James Jervis <jjervis@relivinc.com>
* @copyright 2012 Reliv International
* @licens... | c44de9eb8521ae87674247d2bac9f1004a554853 | src/RcmUser/Acl/Service/AclDataService.php | src/RcmUser/Acl/Service/AclDataService.php | PHP |
<|file_sep|>original/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala
<|file_sep|>current/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala
<|file_sep|>updated/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala | package com.mindcandy.waterfall.actor
import akka.testkit.{TestProbe, TestKit}
import akka.actor.ActorSystem
import org.specs2.SpecificationLike
import org.specs2.specification.After
import org.specs2.time.NoTimeConversions
import com.mindcandy.waterfall.actor.JobDatabaseManager.GetSchedule
import com.mindcandy.waterf... | <|file_sep|>original/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala
<|file_sep|>current/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala
<|file_sep|>updated/src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala
package com.mindcandy.waterfall.act... | dba8709ccefa26ab09cdef66961aad6ff3fe46af | src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala | src/test/scala/com/mindcandy/waterfall/actor/JobDatabaseManagerSpec.scala | Scala |
<|file_sep|>setup.py.diff
original:
updated:
from setuptools import setup
<|file_sep|>original/setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name = "MarkdownPP",
description = "Markdown preprocessor",
version = "1.0",
author = "John Reese",
author_... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from os import path
import shutil
if path.isfile('README.md'):
shutil.copyfile('README.md', 'README')
setup(name = "MarkdownPP",
description = "Markdown preprocessor",
version = "1.0",
author = "John Reese",
autho... | <|file_sep|>setup.py.diff
original:
updated:
from setuptools import setup
<|file_sep|>original/setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name = "MarkdownPP",
description = "Markdown preprocessor",
version = "1.0",
author = "John Reese",
author_... | 3138c70b9f9d8c44d6e80396afcbc5524b98cb58 | setup.py | setup.py | Python |
<|file_sep|>original/config/config.yml
redis:
host: 'localhost'
port: 6379
namespace: 'gitlab-irc'
irc:
server: 'chat.freenode.net'
port: 6667
poll_interval: 10
channel: '#yourcodingchannel'
nickname: 'GitLab'
verbose: true
web:
bind: 'localhost'
port: 4567
<|file_sep|>current/config/config.yml
... | redis:
host: 'localhost'
port: 6379
namespace: 'gitlab-irc'
irc:
server: 'chat.freenode.net'
port: 6667
poll_interval: 10
channel: '#yourcodingchannel'
channel_password: ''
nickname: 'GitLab'
verbose: true
web:
bind: 'localhost'
port: 4567 | <|file_sep|>original/config/config.yml
redis:
host: 'localhost'
port: 6379
namespace: 'gitlab-irc'
irc:
server: 'chat.freenode.net'
port: 6667
poll_interval: 10
channel: '#yourcodingchannel'
nickname: 'GitLab'
verbose: true
web:
bind: 'localhost'
port: 4567
<|file_sep|>current/config/config.yml
... | 7d3d1670902014e04a4a15ed3d281b3804b3eb9b | config/config.yml | config/config.yml | YAML |
<|file_sep|>original/locales/lg/email.properties
# Subject line for one-time donations
your_gift_help_us=Ekilabo kyo kituyamba okuzimba akatimbe ensi keyetaga.
# Subject line for recurring donations
<|file_sep|>current/locales/lg/email.properties
# Subject line for one-time donations
your_gift_help_us=Ekilabo kyo kitu... | # Subject line for one-time donations
your_gift_help_us=Ekilabo kyo kituyamba okuzimba akatimbe ensi keyetaga.
# Subject line for recurring donations
stripe_charge_succeeded_2014_recurring_subject=Webale kuwagila nga Mozilla n'obuyambi.
| <|file_sep|>original/locales/lg/email.properties
# Subject line for one-time donations
your_gift_help_us=Ekilabo kyo kituyamba okuzimba akatimbe ensi keyetaga.
# Subject line for recurring donations
<|file_sep|>current/locales/lg/email.properties
# Subject line for one-time donations
your_gift_help_us=Ekilabo kyo kitu... | bffe6dcd071f217172f982a5aaeff1822b18de89 | locales/lg/email.properties | locales/lg/email.properties | INI |
<|file_sep|>original/README.md
#Optimizely marketing website

##Overview
This is the repository for the future Optimizely marketing website.
The website is built on static architecture, meaning that there is no ba... | #Optimizely marketing website

##Overview
This is the repository for the future Optimizely marketing website.
The website is built on static architecture, meaning that there is no backend component to the producti... | <|file_sep|>original/README.md
#Optimizely marketing website

##Overview
This is the repository for the future Optimizely marketing website.
The website is built on static architecture, meaning that there is no ba... | 05b07a2939d13c4946ba54fd6f6a147f814f5136 | README.md | README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "meteor-promise",
"author": "Ben Newman <ben@meteor.com>",
"version": "0.6.1",
"description": "ES6 Promise polyfill with Fiber support",
"keywords": [
"meteor",
"promise",
"fiber",
"synchronous",
"async",
"await"
],
"main": "promise_serve... | {
"name": "meteor-promise",
"author": "Ben Newman <ben@meteor.com>",
"version": "0.6.2",
"description": "ES6 Promise polyfill with Fiber support",
"keywords": [
"meteor",
"promise",
"fiber",
"synchronous",
"async",
"await"
],
"main": "promise_server.js",
"browser": "promise_clien... | <|file_sep|>original/package.json
{
"name": "meteor-promise",
"author": "Ben Newman <ben@meteor.com>",
"version": "0.6.1",
"description": "ES6 Promise polyfill with Fiber support",
"keywords": [
"meteor",
"promise",
"fiber",
"synchronous",
"async",
"await"
],
"main": "promise_serve... | e7291b4396a00497e6d4707217dfda104867e060 | package.json | package.json | JSON |
<|file_sep|>original/lib/link.js
const fs = require('fs');
const path = require('path');
const link = (directories, cwd = process.cwd()) => {
Object.keys(directories).forEach((name) => {
const cwdDist = path.join(cwd, 'node_modules');
const dist = path.join(cwdDist, name);
const cwdSrc = path.join(cwd, d... | const fs = require('fs');
const path = require('path');
const link = (directories, cwd = process.cwd()) => {
Object.keys(directories).forEach((name) => {
const cwdDist = path.join(cwd, 'node_modules');
const dist = path.join(cwdDist, name);
const cwdSrc = path.join(cwd, directories[name]);
const src ... | <|file_sep|>original/lib/link.js
const fs = require('fs');
const path = require('path');
const link = (directories, cwd = process.cwd()) => {
Object.keys(directories).forEach((name) => {
const cwdDist = path.join(cwd, 'node_modules');
const dist = path.join(cwdDist, name);
const cwdSrc = path.join(cwd, d... | 320f3a140b1105e27675419b18ba3d6f4eadf1e8 | lib/link.js | lib/link.js | JavaScript |
<|file_sep|>original/README.md
Cache-toys
==========
## Simple tools for checking & influencing filesystem cache content on POSIX systems
While the pagecache tools have historically been developped & tested on other systems (Solaris, AIX and some *BSD), they are now mostly used/tested on Linux.
### drop-from-p... | Cache-toys
==========
## Simple tools for checking & influencing filesystem cache content on POSIX systems
While the pagecache tools have historically been developped & tested on other systems (Solaris, AIX and some *BSD), they are now mostly used/tested on Linux.
Theses tools **no longer work** with Linux ker... | <|file_sep|>original/README.md
Cache-toys
==========
## Simple tools for checking & influencing filesystem cache content on POSIX systems
While the pagecache tools have historically been developped & tested on other systems (Solaris, AIX and some *BSD), they are now mostly used/tested on Linux.
### drop-from-p... | 03dddcdb1b97cb2e5660c4806862a0a230a9f067 | README.md | README.md | Markdown |
<|file_sep|>original/docs/Ubuntu14.md
## Upgrade Clang
You'll need to upgrade your clang compiler for C++14 support and create a symlink. The minimum required version of clang may change, and may not be available on Ubuntu 14.04 in the future.
```bash
sudo apt-get install clang-3.6
sudo update-alternatives --install /... |
## Upgrade Clang
You'll need to upgrade your clang compiler for C++14 support and create a symlink. The minimum required version of clang may change, and may not be available on Ubuntu 14.04 in the future.
```bash
sudo apt-get install clang-3.6
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.6... | <|file_sep|>original/docs/Ubuntu14.md
## Upgrade Clang
You'll need to upgrade your clang compiler for C++14 support and create a symlink. The minimum required version of clang may change, and may not be available on Ubuntu 14.04 in the future.
```bash
sudo apt-get install clang-3.6
sudo update-alternatives --install /... | f5d358f3db4e8f0482035894b84bf827ebe15160 | docs/Ubuntu14.md | docs/Ubuntu14.md | Markdown |
<|file_sep|>original/.github/workflows/main.yml
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
... |
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.p... | <|file_sep|>original/.github/workflows/main.yml
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
... | 4ddae80e843993dd5ea65ec5a60935be89d9858c | .github/workflows/main.yml | .github/workflows/main.yml | YAML |
<|file_sep|>original/tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt
# crbug.com/399289
WebRtcBrowserTest.NoCrashWhenConnectChromiumSinkToRemoteTrack
# crbug.com/400490
PluginTest.PluginSingleRangeRequest
PluginTest.PluginThreadAsyncCall
<|file_sep|>current/tools/valgrind/gtest_exclude/content_bro... | # crbug.com/399289
WebRtcBrowserTest.NoCrashWhenConnectChromiumSinkToRemoteTrack
# crbug.com/400490
PluginTest.PluginSingleRangeRequest
PluginTest.PluginThreadAsyncCall
# crbug.com/407452
*/MediaTest.*
MediaSourceTest.*
*/EncryptedMediaTest.* | <|file_sep|>original/tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt
# crbug.com/399289
WebRtcBrowserTest.NoCrashWhenConnectChromiumSinkToRemoteTrack
# crbug.com/400490
PluginTest.PluginSingleRangeRequest
PluginTest.PluginThreadAsyncCall
<|file_sep|>current/tools/valgrind/gtest_exclude/content_bro... | 0e014b9ad964236d67db60488168dbc0811655e9 | tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt | tools/valgrind/gtest_exclude/content_browsertests.gtest-drmemory.txt | Text |
<|file_sep|>original/bower.json
{
"name": "angular-sanji-window",
"version": "1.0.0",
"homepage": "https://github.com/Sanji-IO/angular-sanji-window",
"authors": [
"zackyang <zack9433@gmail.com>"
],
"description": "Sanji window is a dashboard window",
"keywords": [
"angular-sanji",
"sanji",
... | {
"name": "angular-sanji-window",
"version": "1.0.1",
"homepage": "https://github.com/Sanji-IO/angular-sanji-window",
"authors": [
"zackyang <zack9433@gmail.com>"
],
"description": "Sanji window is a dashboard window",
"keywords": [
"angular-sanji",
"sanji",
"angular-sanji-window"
],
"... | <|file_sep|>original/bower.json
{
"name": "angular-sanji-window",
"version": "1.0.0",
"homepage": "https://github.com/Sanji-IO/angular-sanji-window",
"authors": [
"zackyang <zack9433@gmail.com>"
],
"description": "Sanji window is a dashboard window",
"keywords": [
"angular-sanji",
"sanji",
... | 06c711ff2c5fe596aabef707e1f12f4136994b35 | bower.json | bower.json | JSON |
<|file_sep|>original/src/bindings/javascript/parser.cpp
limitations under the License.
*/
#include <emscripten/bind.h>
// To work around multiple inheritance we have to create a combined Units
// and ImportedEntity class that we can bind with Emscripten.
#define JAVASCRIPT_BINDINGS
#include "libcellml/parser.h"
usin... |
#include <emscripten/bind.h>
// To work around multiple inheritance we have to create a combined Units
// and ImportedEntity class that we can bind with Emscripten.
#define JAVASCRIPT_BINDINGS
#include "libcellml/parser.h"
using namespace emscripten;
EMSCRIPTEN_BINDINGS(libcellml_parser) {
class_<libcellml::Pa... | <|file_sep|>original/src/bindings/javascript/parser.cpp
limitations under the License.
*/
#include <emscripten/bind.h>
// To work around multiple inheritance we have to create a combined Units
// and ImportedEntity class that we can bind with Emscripten.
#define JAVASCRIPT_BINDINGS
#include "libcellml/parser.h"
usin... | 49bd0d69644c0d14bfbee56c9be7ba5d94c3b63a | src/bindings/javascript/parser.cpp | src/bindings/javascript/parser.cpp | C++ |
<|file_sep|>Assets/Scripts/Enemy/Decision_OnTargetReached.cs.diff
original:
enemyControl.navMeshAgent.isStopped = true;
updated:
<|file_sep|>original/Assets/Scripts/Enemy/Decision_OnTargetReached.cs
public override bool Decide(StateController controller) {
return isTargetReached(controller);
}
private bool ... | public float distanceToReach;
public override bool Decide(StateController controller) {
return isTargetReached(controller);
}
private bool isTargetReached(StateController controller) {
var enemyControl = controller as Enemy_StateController;
enemyControl.navMeshAgent.destination = enemyControl.chaseTarge... | <|file_sep|>Assets/Scripts/Enemy/Decision_OnTargetReached.cs.diff
original:
enemyControl.navMeshAgent.isStopped = true;
updated:
<|file_sep|>original/Assets/Scripts/Enemy/Decision_OnTargetReached.cs
public override bool Decide(StateController controller) {
return isTargetReached(controller);
}
private bool ... | fa7a433e59093e4a3cfee4a73f486ed1ac94bf7e | Assets/Scripts/Enemy/Decision_OnTargetReached.cs | Assets/Scripts/Enemy/Decision_OnTargetReached.cs | C# |
<|file_sep|>original/static/css/base.css
}
.footer{
padding-top: 20px;
padding-bottom: 20px;
margin-top: 40px;
border-top: 1px solid #eee;
}
.navbar{
margin-bottom: 20px;
}
.language-buttom{
background-color: transparent;
text-decoration: underline;
border: none;
cursor: pointer;
}
/* https://github.com/hombi... | }
.footer{
padding-top: 20px;
padding-bottom: 20px;
margin-top: 40px;
border-top: 1px solid #eee;
}
.navbar{
margin-bottom: 20px;
}
.language-buttom{
background-color: transparent;
text-decoration: underline;
border: none;
cursor: pointer;
}
/* https://github.com/hombit/olgart/issues/1#issue-133919889 */
.nav... | <|file_sep|>original/static/css/base.css
}
.footer{
padding-top: 20px;
padding-bottom: 20px;
margin-top: 40px;
border-top: 1px solid #eee;
}
.navbar{
margin-bottom: 20px;
}
.language-buttom{
background-color: transparent;
text-decoration: underline;
border: none;
cursor: pointer;
}
/* https://github.com/hombi... | 995d62ac4fb448abbe772ad276889ca04f04b568 | static/css/base.css | static/css/base.css | CSS |
<|file_sep|>original/requirements/base.txt
django-extensions==2.2.6
django-localflavor==2.2
django-markdown-deux==1.0.5
django==2.2.10 # pyup: >=2.2,<3.0
djangorestframework==3.11.0
djangorestframework-gis==0.15
django-cors-headers==3.2.1
fastkml==0.11
fuzzywuzzy==0.17.0
lxml==4.5.0
marshmallow==3.4.0
psycopg2-binary=... | django-extensions==2.2.6
django-localflavor==2.2
django-markdown-deux==1.0.5
django==2.2.10 # pyup: >=2.2,<3.0
djangorestframework==3.11.0
djangorestframework-gis==0.15
django-cors-headers==3.2.1
fastkml==0.11
fuzzywuzzy==0.17.0
lxml==4.5.0
marshmallow==3.5.0
psycopg2-binary==2.8.4
pyshp==2.1.0
python-levenshtein==0.1... | <|file_sep|>original/requirements/base.txt
django-extensions==2.2.6
django-localflavor==2.2
django-markdown-deux==1.0.5
django==2.2.10 # pyup: >=2.2,<3.0
djangorestframework==3.11.0
djangorestframework-gis==0.15
django-cors-headers==3.2.1
fastkml==0.11
fuzzywuzzy==0.17.0
lxml==4.5.0
marshmallow==3.4.0
psycopg2-binary=... | 5112f827057a2de307503beeff4a9ced0e48a103 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>original/interpreter/cling/lib/Interpreter/CMakeLists.txt
DeclCollector.cpp
DeclExtractor.cpp
DynamicLookup.cpp
DynamicExprInfo.cpp
ExecutionContext.cpp
IncrementalParser.cpp
Interpreter.cpp
InterpreterCallbacks.cpp
InvocationOptions.cpp
LookupHelper.cpp
MultiplexExternalSemaSource.cpp... | DeclExtractor.cpp
DynamicLookup.cpp
DynamicExprInfo.cpp
ExecutionContext.cpp
IncrementalParser.cpp
Interpreter.cpp
InterpreterCallbacks.cpp
InvocationOptions.cpp
LookupHelper.cpp
MultiplexExternalSemaSource.cpp
ReturnSynthesizer.cpp
StoredValueRef.cpp
Transaction.cpp
TransactionTransformer.c... | <|file_sep|>original/interpreter/cling/lib/Interpreter/CMakeLists.txt
DeclCollector.cpp
DeclExtractor.cpp
DynamicLookup.cpp
DynamicExprInfo.cpp
ExecutionContext.cpp
IncrementalParser.cpp
Interpreter.cpp
InterpreterCallbacks.cpp
InvocationOptions.cpp
LookupHelper.cpp
MultiplexExternalSemaSource.cpp... | 38309701dd078268fbc327a9ea0785db6d58efdc | interpreter/cling/lib/Interpreter/CMakeLists.txt | interpreter/cling/lib/Interpreter/CMakeLists.txt | Text |
<|file_sep|>original/.travis.yml
language: go
go:
- 1.9.x # See README.md for current minimum version.
- 1.10.x
- 1.11.x
- 1.12.x
script:
- make check_license unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.9\.[x0-9]+$ ]]; then make lint; fi
# Style is only checked against the latest supported Go ... | language: go
go:
- 1.9.x # See README.md for current minimum version.
- 1.10.x
- 1.11.x
- 1.12.x
script:
- make check_license unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.(9|10)\. ]]; then make lint; fi
# Style is only checked against the latest supported Go version.
- if [[ $TRAVIS_GO_VERSIO... | <|file_sep|>original/.travis.yml
language: go
go:
- 1.9.x # See README.md for current minimum version.
- 1.10.x
- 1.11.x
- 1.12.x
script:
- make check_license unused test-short
- if [[ ! $TRAVIS_GO_VERSION =~ ^1\.9\.[x0-9]+$ ]]; then make lint; fi
# Style is only checked against the latest supported Go ... | 6bcb2c8adfe191b8b433f9eee24a1b9be0bea708 | .travis.yml | .travis.yml | YAML |
<|file_sep|>moviemanager/models.py.diff
original:
updated:
from django.contrib.auth.models import User
<|file_sep|>original/moviemanager/models.py
from django.db import models
class Movie(models.Model):
tmdb_id = models.IntegerField()
<|file_sep|>current/moviemanager/models.py
from django.contrib.auth.models imp... | from django.contrib.auth.models import User
from django.db import models
class Movie(models.Model):
tmdb_id = models.IntegerField()
score = models.IntegerField()
submitter = models.ForeignKey(User) | <|file_sep|>moviemanager/models.py.diff
original:
updated:
from django.contrib.auth.models import User
<|file_sep|>original/moviemanager/models.py
from django.db import models
class Movie(models.Model):
tmdb_id = models.IntegerField()
<|file_sep|>current/moviemanager/models.py
from django.contrib.auth.models imp... | b54a6353a746d54869a7cadca1bdcfb1e1cd3d51 | moviemanager/models.py | moviemanager/models.py | Python |
<|file_sep|>original/CONTENT-ATTRIBUTIONS.rst
<|file_sep|>current/CONTENT-ATTRIBUTIONS.rst
<|file_sep|>updated/CONTENT-ATTRIBUTIONS.rst | ########################################################
Notices about content attributions of third-party assets
########################################################
The copyright and trademarks of particular images, pictograms and brand names
are held by their respective owners, unless otherwise noted.
- Combus... | <|file_sep|>original/CONTENT-ATTRIBUTIONS.rst
<|file_sep|>current/CONTENT-ATTRIBUTIONS.rst
<|file_sep|>updated/CONTENT-ATTRIBUTIONS.rst
########################################################
Notices about content attributions of third-party assets
########################################################
The copyri... | e98675fb46c16220c5979f1d0270c4b08b071d02 | CONTENT-ATTRIBUTIONS.rst | CONTENT-ATTRIBUTIONS.rst | reStructuredText |
<|file_sep|>original/shell.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "node";
buildInputs = [
nodejs-8_x
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}
<|file_sep|>current/shell.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "nod... | with import <nixpkgs> {};
stdenv.mkDerivation {
name = "node";
buildInputs = [
nodejs-8_x
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
alias run='npm run'
'';
} | <|file_sep|>original/shell.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "node";
buildInputs = [
nodejs-8_x
];
shellHook = ''
export PATH="$PWD/node_modules/.bin/:$PATH"
'';
}
<|file_sep|>current/shell.nix
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "nod... | 8a17957ba6eccedcaeb6336b2648734a6b468945 | shell.nix | shell.nix | Nix |
<|file_sep|>resources/assets/js/components/VideoCard.template.html.diff
original:
<img :src="video.thumbnail" alt="{{ video.title }}" />
updated:
<img :src="video.data.thumbnail" alt="{{ video.data.title }}" />
<|file_sep|>resources/assets/js/components/VideoCard.template.html.diff
origi... | <div class="col s6 m4 video {{ video.provider }}">
<div class="card hoverable">
<div class="card-image">
<a href="{{ video.custom_url }}">
<img :src="video.data.thumbnail" alt="{{ video.data.title }}" />
</a>
<span class="fui-play" style="position: absolut... | <|file_sep|>resources/assets/js/components/VideoCard.template.html.diff
original:
<img :src="video.thumbnail" alt="{{ video.title }}" />
updated:
<img :src="video.data.thumbnail" alt="{{ video.data.title }}" />
<|file_sep|>resources/assets/js/components/VideoCard.template.html.diff
origi... | 6c2f06b499092dc00629ede9996c9f68e988f389 | resources/assets/js/components/VideoCard.template.html | resources/assets/js/components/VideoCard.template.html | HTML |
<|file_sep|>.github/scripts/update_release.sh.diff
original:
# Construct edit release url
GH_EDIT_RELEASE_URL"$GH_REPO/releases/$id"
updated:
<|file_sep|>original/.github/scripts/update_release.sh
# Commit all changed work
git commit -m "Release version $tag and update docs" --author="orbit-tools <orbit@ea.com>"
# G... | # Commit all changed work
git commit -m "Release version $tag and update docs" --author="orbit-tools <orbit@ea.com>"
# Get commit id
commitId=$(git rev-parse HEAD)
# Tag commit with the intended release tag (without the underscore)
git tag "$tag"
git tag -d "_$tag"
git push origin master
git reset --hard
# Read asse... | <|file_sep|>.github/scripts/update_release.sh.diff
original:
# Construct edit release url
GH_EDIT_RELEASE_URL"$GH_REPO/releases/$id"
updated:
<|file_sep|>original/.github/scripts/update_release.sh
# Commit all changed work
git commit -m "Release version $tag and update docs" --author="orbit-tools <orbit@ea.com>"
# G... | bc026f572e32aafaa0a6a9621e60cad1ba5657f2 | .github/scripts/update_release.sh | .github/scripts/update_release.sh | Shell |
<|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
-
- LANG=
- SPHINX=1
install:
- python setup.py --quiet install
- pip install pep8 pyflakes
- if [ "$SPHINX" -eq 1 ]; then pip install sphinx; fi
script:
<|file_sep|>cu... | sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
env:
-
- LANG=
- SPHINX=1
install:
- python setup.py --quiet install
- pip install pep8 pyflakes
- if [ "$SPHINX" -eq 1 ]; then pip install sphinx; fi
| <|file_sep|>original/.travis.yml
sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
env:
-
- LANG=
- SPHINX=1
install:
- python setup.py --quiet install
- pip install pep8 pyflakes
- if [ "$SPHINX" -eq 1 ]; then pip install sphinx; fi
script:
<|file_sep|>cu... | 2397fb1699a29dd652aafae6a65169c6b6fa8a90 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
Swimlanes
=====================
Scrapes data from Pivotal Tracker, GitHub, (and soon Heroku), and organizes stories from the current sprint in a kanban-style board based on its state in these services.

### Setup
- Register a Git... | Swimlanes
=====================
Scrapes data from Pivotal Tracker, GitHub, (and soon Heroku), and organizes stories from the current sprint in a kanban-style board based on its state in these services.

### Setup
- Register a GitHub Developer application [here... | <|file_sep|>original/README.md
Swimlanes
=====================
Scrapes data from Pivotal Tracker, GitHub, (and soon Heroku), and organizes stories from the current sprint in a kanban-style board based on its state in these services.

### Setup
- Register a Git... | e9c1718fbc69429b244a01c943242aaea35754c7 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
## Panorama Firewall Scripts
### Quick Start
Install depdendencies:
```
pip install -r requirements.txt
```
Copy `config.yml.example` to `config.yml` and configure the values:
- `firewall_hostname`: Hostname of your firewall
- `firewall_api_key`: Valid API key for your firewall
<|fil... | ## Panorama Firewall Scripts
### Quick Start
Install depdendencies:
```
pip install -r requirements.txt
```
Copy `config.yml.example` to `config.yml` and configure the values:
- `firewall_hostnames`: List of firewall hostnames
- `firewall_api_key`: Valid API key for your firewall | <|file_sep|>original/README.md
## Panorama Firewall Scripts
### Quick Start
Install depdendencies:
```
pip install -r requirements.txt
```
Copy `config.yml.example` to `config.yml` and configure the values:
- `firewall_hostname`: Hostname of your firewall
- `firewall_api_key`: Valid API key for your firewall
<|fil... | 3c81eb5b050105f23430c15107557e8eb979edf8 | README.md | README.md | Markdown |
<|file_sep|>original/rna-transcription/src/lib.rs
}
}
#[derive(PartialEq, Debug)]
pub struct DeoxyribonucleicAcid(String);
impl DeoxyribonucleicAcid {
pub fn new(dna: &str) -> DeoxyribonucleicAcid {
DeoxyribonucleicAcid(dna.into())
}
pub fn to_rna(&self) -> Result<RibonucleicAcid, &'static st... | }
}
#[derive(PartialEq, Debug)]
pub struct DeoxyribonucleicAcid(String);
impl DeoxyribonucleicAcid {
pub fn new(dna: &str) -> DeoxyribonucleicAcid {
DeoxyribonucleicAcid(dna.into())
}
pub fn to_rna(&self) -> Result<RibonucleicAcid, &'static str> {
self.0.chars().map(|c| match c {
... | <|file_sep|>original/rna-transcription/src/lib.rs
}
}
#[derive(PartialEq, Debug)]
pub struct DeoxyribonucleicAcid(String);
impl DeoxyribonucleicAcid {
pub fn new(dna: &str) -> DeoxyribonucleicAcid {
DeoxyribonucleicAcid(dna.into())
}
pub fn to_rna(&self) -> Result<RibonucleicAcid, &'static st... | b3877f8314e9ec60e95a84d7b1cf5e9c9e7ce7d0 | rna-transcription/src/lib.rs | rna-transcription/src/lib.rs | Rust |
<|file_sep|>original/corehq/motech/openmrs/templates/openmrs/edit_config.html
{% extends 'hqwebapp/two_column.html' %}
{% load crispy_forms_tags %}
{% load hq_shared_tags %}
{# todo: this was just copied from userreports/userreports_base.html #}
{% block js %}{{ block.super }}
<script src="{% static 'codemirror/lib... | {% extends 'hqwebapp/two_column.html' %}
{% load crispy_forms_tags %}
{% load hq_shared_tags %}
{# todo: this was just copied from userreports/userreports_base.html #}
{% block title %}Edit Config : OpenMRS :: {% endblock %}
{% block js %}{{ block.super }}
<script src="{% static 'codemirror/lib/codemirror.js' %}"><... | <|file_sep|>original/corehq/motech/openmrs/templates/openmrs/edit_config.html
{% extends 'hqwebapp/two_column.html' %}
{% load crispy_forms_tags %}
{% load hq_shared_tags %}
{# todo: this was just copied from userreports/userreports_base.html #}
{% block js %}{{ block.super }}
<script src="{% static 'codemirror/lib... | 4304533998131f2873fd1896961c7291120e8a55 | corehq/motech/openmrs/templates/openmrs/edit_config.html | corehq/motech/openmrs/templates/openmrs/edit_config.html | HTML |
<|file_sep|>original/libraries/exabgp.rb
directory "/etc/#{installation_name}"
template "/etc/#{installation_name}/exabgp.conf" do
cookbook new_resource.cookbook
source 'exabgp.conf.erb'
variables(new_resource.variables)
mode 0644
end
unless instance
no... |
directory "/etc/#{installation_name}"
template "/etc/#{installation_name}/exabgp.conf" do
cookbook new_resource.cookbook
source 'exabgp.conf.erb'
variables(new_resource.variables)
mode 0644
end
unless new_resource.instance
node.default['exabgp']['config... | <|file_sep|>original/libraries/exabgp.rb
directory "/etc/#{installation_name}"
template "/etc/#{installation_name}/exabgp.conf" do
cookbook new_resource.cookbook
source 'exabgp.conf.erb'
variables(new_resource.variables)
mode 0644
end
unless instance
no... | 1c0d36bfb407c812f179062293a97c2ed1ec51dd | libraries/exabgp.rb | libraries/exabgp.rb | Ruby |
<|file_sep|>original/migrations/m181107_191150_salmon2_index.php
<|file_sep|>current/migrations/m181107_191150_salmon2_index.php
<|file_sep|>updated/migrations/m181107_191150_salmon2_index.php | <?php
/**
* @copyright Copyright (C) 2015-2018 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@bouhime.com>
*/
declare(strict_types=1);
use app\components\db\Migration;
class m181107_191150_salmon2_index extends Migration
{
public function up(... | <|file_sep|>original/migrations/m181107_191150_salmon2_index.php
<|file_sep|>current/migrations/m181107_191150_salmon2_index.php
<|file_sep|>updated/migrations/m181107_191150_salmon2_index.php
<?php
/**
* @copyright Copyright (C) 2015-2018 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LI... | 0ffc1cf4ac030c204e97621e80540ec3e07a0fc8 | migrations/m181107_191150_salmon2_index.php | migrations/m181107_191150_salmon2_index.php | PHP |
<|file_sep|>original/vtk/Testing/Cxx/CMakeLists.txt
ADD_EXECUTABLE(XdmfTestVTKIO XdmfTestVTKIO.cxx)
TARGET_LINK_LIBRARIES(XdmfTestVTKIO vtkIOCore vtkCommonCore vtkXdmf)
ADD_TEST(XdmfTestVTKIO ${EXECUTABLE_OUTPUT_PATH}/XdmfTestVTKIO)
<|file_sep|>current/vtk/Testing/Cxx/CMakeLists.txt
ADD_EXECUTABLE(XdmfTestVTKIO XdmfT... | ADD_EXECUTABLE(XdmfTestVTKIO XdmfTestVTKIO.cxx)
TARGET_LINK_LIBRARIES(XdmfTestVTKIO
vtkIOCore
vtkCommonCore
vtkXdmf
vtkFiltersParallel
vtkInteractionStyle)
ADD_TEST(XdmfTestVTKIO ${EXECUTABLE_OUTPUT_PATH}/XdmfTestVTKIO)
| <|file_sep|>original/vtk/Testing/Cxx/CMakeLists.txt
ADD_EXECUTABLE(XdmfTestVTKIO XdmfTestVTKIO.cxx)
TARGET_LINK_LIBRARIES(XdmfTestVTKIO vtkIOCore vtkCommonCore vtkXdmf)
ADD_TEST(XdmfTestVTKIO ${EXECUTABLE_OUTPUT_PATH}/XdmfTestVTKIO)
<|file_sep|>current/vtk/Testing/Cxx/CMakeLists.txt
ADD_EXECUTABLE(XdmfTestVTKIO XdmfT... | 22db2d7a7cd6cab1ae40f85ee878991d4887b3ee | vtk/Testing/Cxx/CMakeLists.txt | vtk/Testing/Cxx/CMakeLists.txt | Text |
<|file_sep|>syntax/paketdeps.vim.diff
original:
updated:
syntax match paketDepsKeyword /^\s*framework/
<|file_sep|>original/syntax/paketdeps.vim
syntax match paketDepsKeyword /^\s*http/
syntax match paketDepsKeyword /^\s*github/
syntax match paketDepsKeyword /^\s*group/
syntax match paketDepsSymbol />=/
syntax match ... | syntax match paketDepsKeyword /^\s*http/
syntax match paketDepsKeyword /^\s*github/
syntax match paketDepsKeyword /^\s*group/
syntax match paketDepsSymbol />=/
syntax match paketDepsSymbol /:\_s/
syntax match paketDepsVersion /\d\(\.\d\)\+/
syntax match paketDepsOption /\<on\>/
syntax match paketDepsOption /\<net20\... | <|file_sep|>syntax/paketdeps.vim.diff
original:
updated:
syntax match paketDepsKeyword /^\s*framework/
<|file_sep|>original/syntax/paketdeps.vim
syntax match paketDepsKeyword /^\s*http/
syntax match paketDepsKeyword /^\s*github/
syntax match paketDepsKeyword /^\s*group/
syntax match paketDepsSymbol />=/
syntax match ... | b356d45e718dd65153117f2d75fb88c93c129e80 | syntax/paketdeps.vim | syntax/paketdeps.vim | VimL |
<|file_sep|>original/source/_search.html.haml
%section.search
.container
%h4.m-t Filter information by topic
.search-content
%input{ id: "textsearch", type: "text"}
<|file_sep|>current/source/_search.html.haml
%section.search
.container
%h4.m-t Filter information by topic
.search-content
%input{ id: "te... | %section.search
.container
%h4.m-t Filter information by keywords
.search-content
%input{ id: "textsearch", type: "text"} | <|file_sep|>original/source/_search.html.haml
%section.search
.container
%h4.m-t Filter information by topic
.search-content
%input{ id: "textsearch", type: "text"}
<|file_sep|>current/source/_search.html.haml
%section.search
.container
%h4.m-t Filter information by topic
.search-content
%input{ id: "te... | 601c438df122c02c7c6efa605bd25f643ab7d1e2 | source/_search.html.haml | source/_search.html.haml | Haml |
<|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- "0.10"
- "4"
- "6"
- "7"
script: ./bin/npm test
git:
depth: 10
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: node_js
notifications:
email:
o... | language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- "4"
- "6"
- "7"
script: ./bin/npm test
git:
depth: 10
branches:
only:
- master
| <|file_sep|>original/.travis.yml
language: node_js
notifications:
email:
on_success: never
on_failure: change
node_js:
- "0.10"
- "4"
- "6"
- "7"
script: ./bin/npm test
git:
depth: 10
branches:
only:
- master
<|file_sep|>current/.travis.yml
language: node_js
notifications:
email:
o... | 05c935df57ad3f7a110c70d5fc2c4390eab0d81a | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/scripts/travis-after-success.sh
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ]; then
version=$(grep '^ *"version":' package.json | sed -e 's/^.*"\([^"]*\)",$/\1/')
if [ $(echo ${version} | grep -- '-pre$') ]; then
scripts/make-dist-pa... | #!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ]; then
version=$(grep '^ *"version":' node_modules/vivliostyle/package.json | sed -e 's/^.*"\([^"]*\)",$/\1/')
scripts/make-dist-package.sh ${version}
scripts/deploy-viewer-to-gh-pages.sh
fi | <|file_sep|>original/scripts/travis-after-success.sh
#!/bin/bash
set -ev
if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ]; then
version=$(grep '^ *"version":' package.json | sed -e 's/^.*"\([^"]*\)",$/\1/')
if [ $(echo ${version} | grep -- '-pre$') ]; then
scripts/make-dist-pa... | e13184961767197d0df9d71657e93e041ec7f051 | scripts/travis-after-success.sh | scripts/travis-after-success.sh | Shell |
<|file_sep|>app/controllers/spree/admin/subscriptions/customer_details_controller.rb.diff
original:
updated:
<|file_sep|>app/controllers/spree/admin/subscriptions/customer_details_controller.rb.diff
original:
if @subscription.update_attributes(params[:subscription])
updated:
if @subscripti... | else
render :action => :edit
end
end
private
def load_subscription
@subscription = Subscription.find(params[:subscription_id])
end
def customer_params
params.require(:subscription).
permit(:email, ship_address_att... | <|file_sep|>app/controllers/spree/admin/subscriptions/customer_details_controller.rb.diff
original:
updated:
<|file_sep|>app/controllers/spree/admin/subscriptions/customer_details_controller.rb.diff
original:
if @subscription.update_attributes(params[:subscription])
updated:
if @subscripti... | e1e3ec07729b18380ce151b2d8fa723addeb017f | app/controllers/spree/admin/subscriptions/customer_details_controller.rb | app/controllers/spree/admin/subscriptions/customer_details_controller.rb | Ruby |
<|file_sep|>original/flake8.cfg
[flake8]
max-line-length = 80
max-complexity = 14
format = pylint
ignore = F403,F405,F999
exclude = thirdparty/
<|file_sep|>current/flake8.cfg
[flake8]
max-line-length = 80
max-complexity = 14
format = pylint
ignore = F403,F405,F999
exclude = thirdparty/
<|file_sep|>updated/flake8.cfg | [flake8]
max-line-length = 80
max-complexity = 50
format = pylint
ignore = F403,F405,F999
exclude = thirdparty/ | <|file_sep|>original/flake8.cfg
[flake8]
max-line-length = 80
max-complexity = 14
format = pylint
ignore = F403,F405,F999
exclude = thirdparty/
<|file_sep|>current/flake8.cfg
[flake8]
max-line-length = 80
max-complexity = 14
format = pylint
ignore = F403,F405,F999
exclude = thirdparty/
<|file_sep|>updated/flake8.cfg
[f... | e1278c966f5b79dcc5f162c4ac19acccd3188e7e | flake8.cfg | flake8.cfg | INI |
<|file_sep|>original/src/baseStyles.js
let styles = {
overlay(isOpen) {
return {
position: 'fixed',
zIndex: 1,
width: '100%',
height: '100%',
background: 'rgba(0, 0, 0, 0.3)',
opacity: isOpen ? 1 : 0,
transform: isOpen ? '' : 'translate3d(-100%, 0, 0)',
transition:... | let styles = {
overlay(isOpen) {
return {
position: 'fixed',
zIndex: 1,
width: '100%',
height: '100%',
background: 'rgba(0, 0, 0, 0.3)',
opacity: isOpen ? 1 : 0,
transform: isOpen ? '' : 'translate3d(100%, 0, 0)',
transition: isOpen ? 'opacity 0.3s' : 'opacity 0.3s... | <|file_sep|>original/src/baseStyles.js
let styles = {
overlay(isOpen) {
return {
position: 'fixed',
zIndex: 1,
width: '100%',
height: '100%',
background: 'rgba(0, 0, 0, 0.3)',
opacity: isOpen ? 1 : 0,
transform: isOpen ? '' : 'translate3d(-100%, 0, 0)',
transition:... | 484630a148beaa475506fdbae87fce2fdf8814f6 | src/baseStyles.js | src/baseStyles.js | JavaScript |
<|file_sep|>original/.github/workflows/create_wappalyzer_update.yml
<|file_sep|>current/.github/workflows/create_wappalyzer_update.yml
<|file_sep|>updated/.github/workflows/create_wappalyzer_update.yml | name: Create Wappalyzer Update PR
on:
schedule:
- cron: '0 4 3 * *'
jobs:
create_pr:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- name: Build Feature Branch and Raise PR
run: |
# Setup git details
export GITHUB_USER=zapbot
git config --global user.em... | <|file_sep|>original/.github/workflows/create_wappalyzer_update.yml
<|file_sep|>current/.github/workflows/create_wappalyzer_update.yml
<|file_sep|>updated/.github/workflows/create_wappalyzer_update.yml
name: Create Wappalyzer Update PR
on:
schedule:
- cron: '0 4 3 * *'
jobs:
create_pr:
name: Create Pul... | 72e0d9e3d8af2fb659cfea1d7588993d49de3c7d | .github/workflows/create_wappalyzer_update.yml | .github/workflows/create_wappalyzer_update.yml | YAML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.