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/documentation/docs/content/DockerImages/dockerfiles/include/customization-nginx.rst
Nginx customization
^^^^^^^^^^^^^^^^^^^
This image has two directories for configuration files which will be automatic loaded.
For global configuration options the directory ``/opt/docker/etc/nginx/conf.d`` can be... | Nginx customization
^^^^^^^^^^^^^^^^^^^
This image has two directories for configuration files which will be automatic loaded.
For global configuration options the directory ``/opt/docker/etc/nginx/conf.d`` can be used.
For vhost configuration options the directory ``/opt/docker/etc/nginx/vhost.common.conf`` can be u... | <|file_sep|>original/documentation/docs/content/DockerImages/dockerfiles/include/customization-nginx.rst
Nginx customization
^^^^^^^^^^^^^^^^^^^
This image has two directories for configuration files which will be automatic loaded.
For global configuration options the directory ``/opt/docker/etc/nginx/conf.d`` can be... | a0c60b9102341f9b0e197ae219a025fafcbd91ea | documentation/docs/content/DockerImages/dockerfiles/include/customization-nginx.rst | documentation/docs/content/DockerImages/dockerfiles/include/customization-nginx.rst | reStructuredText |
<|file_sep|>README.md.diff
original:
Getting started:
updated:
# Supported Platforms
<|file_sep|>README.md.diff
original:
# Android
updated:
Android only (for the time)
# Getting started on Android
<|file_sep|>original/README.md
Getting started:
# Android
* cordova add android
* cordova plugin add ../cordova-plugin-... | # Supported Platforms
Android only (for the time)
# Getting started on Android
* cordova add android
* cordova plugin add ../cordova-plugin-video-thumbnailer
## Usage
If using the Cordova CLI (or plugman) to install the plugin, there will be a javascript variable available for you to use called 'thumbnailer'. You ... | <|file_sep|>README.md.diff
original:
Getting started:
updated:
# Supported Platforms
<|file_sep|>README.md.diff
original:
# Android
updated:
Android only (for the time)
# Getting started on Android
<|file_sep|>original/README.md
Getting started:
# Android
* cordova add android
* cordova plugin add ../cordova-plugin-... | 1c5194a9b8390a3113fd59502cd5fd33e2bd7271 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
cache:
directories:
- node_modules
after_script:
- npm run cover
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
cache:
directories:
- node_modules
after_s... | language: node_js
node_js:
- "5"
- "4"
cache:
directories:
- node_modules
after_script:
- npm run cover | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
cache:
directories:
- node_modules
after_script:
- npm run cover
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "5"
- "4"
- "0.12"
- "0.10"
cache:
directories:
- node_modules
after_s... | 517cfc560e7fb93171ad47c8d0da352c4eed3b6d | .travis.yml | .travis.yml | YAML |
<|file_sep|>laravel/mvc-basics/step-by-step/23_create_your_create_view_file.php.diff
original:
<form method="post" action="{{ route('event.tickets.store') }}">
updated:
<form class="form-horizontal" method="post" action="{{ route('event.tickets.store') }}">
<|file_sep|>laravel/mvc-basics/step-by-step/23_create_... | <div class="form-group">
<label for="ticketholder_name" class="col-sm-3 control-label">Ticketholder Name</label>
<div class="col-sm-9">
<input type="text" class="form-control" name="ticketholder_name" />
</div>
</div>
<div class="form-group">
... | <|file_sep|>laravel/mvc-basics/step-by-step/23_create_your_create_view_file.php.diff
original:
<form method="post" action="{{ route('event.tickets.store') }}">
updated:
<form class="form-horizontal" method="post" action="{{ route('event.tickets.store') }}">
<|file_sep|>laravel/mvc-basics/step-by-step/23_create_... | 51519b53c30672be618f078ec24e86cc21edba69 | laravel/mvc-basics/step-by-step/23_create_your_create_view_file.php | laravel/mvc-basics/step-by-step/23_create_your_create_view_file.php | PHP |
<|file_sep|>original/metadata/com.abitsinc.andr.txt
Requires the Camera permission to control your device's LED but you will notice
that it does not require the Internet permission as it serves no ads.
.
Repo Type:git
Repo:https://github.com/abitsinc/AB-ITS-Inc-Flashlight-Android.git
Build:2,2
commit=95535a4ce7ab... | Requires the Camera permission to control your device's LED but you will notice
that it does not require the Internet permission as it serves no ads.
.
Repo Type:git
Repo:https://github.com/abitsinc/AB-ITS-Inc-Flashlight-Android.git
Build:2,2
commit=95535a4ce7ab1c87ff79d6740f633939ea4240a7
Build:3,3
commit=3... | <|file_sep|>original/metadata/com.abitsinc.andr.txt
Requires the Camera permission to control your device's LED but you will notice
that it does not require the Internet permission as it serves no ads.
.
Repo Type:git
Repo:https://github.com/abitsinc/AB-ITS-Inc-Flashlight-Android.git
Build:2,2
commit=95535a4ce7ab... | 6763b1751c80ad5b37fadf26f5d5495921759917 | metadata/com.abitsinc.andr.txt | metadata/com.abitsinc.andr.txt | Text |
<|file_sep|>original/basic/om-tut/src/om_tut/core.cljs
(enable-console-print!)
(println "A new developer message. Pay attention, dev guy!")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:list ["Lion" "Zebra" "Buffalo" "Antelope"]}))
(om/root
(fn [data owner]
(om... | (enable-console-print!)
(println "A new developer message. Pay attention, dev guy!")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:list ["Lion" "Zebra" "Buffalo" "Antelope"]}))
(om/root
(fn [data owner]
(om/component
(apply dom/ul #js {:className "animals"... | <|file_sep|>original/basic/om-tut/src/om_tut/core.cljs
(enable-console-print!)
(println "A new developer message. Pay attention, dev guy!")
;; define your app data so that it doesn't get over-written on reload
(defonce app-state (atom {:list ["Lion" "Zebra" "Buffalo" "Antelope"]}))
(om/root
(fn [data owner]
(om... | 55052febb75e9f91e942c3a01eb17b7e2affea1d | basic/om-tut/src/om_tut/core.cljs | basic/om-tut/src/om_tut/core.cljs | Clojure |
<|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
install: pip install . --use-mirrors
before_script: "cp mezzanine/project_template/local_settings.py.template mezzanine/project_template/local_settings.py"
script: ./mezzanine/project_template/manage.py test
<|file_sep|>current/.tra... | language: python
python:
- "2.5"
- "2.6"
- "2.7"
install: pip install . pep8 pyflakes --use-mirrors
before_script: "cp mezzanine/project_template/local_settings.py.template mezzanine/project_template/local_settings.py"
script: ./mezzanine/project_template/manage.py test | <|file_sep|>original/.travis.yml
language: python
python:
- "2.5"
- "2.6"
- "2.7"
install: pip install . --use-mirrors
before_script: "cp mezzanine/project_template/local_settings.py.template mezzanine/project_template/local_settings.py"
script: ./mezzanine/project_template/manage.py test
<|file_sep|>current/.tra... | ddd3693f89cfc86191355c88528fcac0a3aa9cb3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
language: python
python:
- "3.2_with_system_site_packages"
before_install:
- sudo apt-get update
- sudo apt-get install python3-all-dev debhelper python3-setuptools python3-pip apt-file
- sudo pip3 install stdeb
install:
- which python3
- which pip3
- pip3 --... | dist: trusty
language: python
python:
- "3.2_with_system_site_packages"
before_install:
- sudo apt-get update
- sudo apt-get install python3-all-dev debhelper python3-setuptools python3-pip apt-file
- sudo pip3 install stdeb
install:
- which python3
- which pip3
- pip3 --version
- python... | <|file_sep|>original/.travis.yml
language: python
python:
- "3.2_with_system_site_packages"
before_install:
- sudo apt-get update
- sudo apt-get install python3-all-dev debhelper python3-setuptools python3-pip apt-file
- sudo pip3 install stdeb
install:
- which python3
- which pip3
- pip3 --... | 2e4435802f2de23786f87b320c8ba14537d9182e | .travis.yml | .travis.yml | YAML |
<|file_sep|>README.markdown.diff
original:
* Michael Kerrisk. 2010. The Linux Programming Interface: A Linux and UNIX System Programming Handbook (1st ed.).
updated:
* Kong, Joseph, and John Baldwin. Freebsd Device Drivers: a Guide for the
Intrepid. San Francisco, Calif.: No Starch Press, 2012.
* Michael Kerrisk. 2... | This repo contains programs demonstrating the use of the linux system
programming interface. Also contains implementations of GNU coreutils.
### References
----
* Kong, Joseph, and John Baldwin. Freebsd Device Drivers: a Guide for the
Intrepid. San Francisco, Calif.: No Starch Press, 2012.
* Michael Kerrisk. 2010. T... | <|file_sep|>README.markdown.diff
original:
* Michael Kerrisk. 2010. The Linux Programming Interface: A Linux and UNIX System Programming Handbook (1st ed.).
updated:
* Kong, Joseph, and John Baldwin. Freebsd Device Drivers: a Guide for the
Intrepid. San Francisco, Calif.: No Starch Press, 2012.
* Michael Kerrisk. 2... | c1c4822b654200f7d777332e1d4b67a6323a11f7 | README.markdown | README.markdown | Markdown |
<|file_sep|>ant/apple/apple-preinstall.sh.in.diff
original:
updated:
osascript -e "tell app \"Installer\" to display dialog \"Java $minver is required for installation.\nDownload it now?\""
if [ $? -eq 0 ]; then
open "https://java.com/download/"
fi
<|file_sep|>original/ant/apple/apple-preinstall.sh.in
curve... | osascript -e "tell app \"Installer\" to display dialog \"Java $minver is required for installation.\nDownload it now?\""
if [ $? -eq 0 ]; then
open "https://java.com/download/"
fi
exit 1
fi
}
# Use java_home command to check minimum Java version
${apple.jvmver} > /dev/null 2>&1
code=$?
# Fallback on Inter... | <|file_sep|>ant/apple/apple-preinstall.sh.in.diff
original:
updated:
osascript -e "tell app \"Installer\" to display dialog \"Java $minver is required for installation.\nDownload it now?\""
if [ $? -eq 0 ]; then
open "https://java.com/download/"
fi
<|file_sep|>original/ant/apple/apple-preinstall.sh.in
curve... | c96ef90c9321d669989ed0da28ea6bbb2ac49e2c | ant/apple/apple-preinstall.sh.in | ant/apple/apple-preinstall.sh.in | unknown |
<|file_sep|>original/tests/CoreSpec.js
beforeEach(function () {
this.fixture = fixture.load('core.html');
});
// testing setup
it("has the fixture on the dom", function () {
expect($('#fixture-container')).to.not.be.null;
});
it("is a valid testing environment", function () {
// PhantomJS fails this one b... | fixture.setBase('tests/fixtures');
});
beforeEach(function () {
this.fixture = fixture.load('core.html');
});
// testing setup
it("has the fixture on the dom", function () {
expect($('#fixture-container')).to.not.be.null;
});
it("has global methods and aliases", function() {
expect(Bliss).to.exist;
... | <|file_sep|>original/tests/CoreSpec.js
beforeEach(function () {
this.fixture = fixture.load('core.html');
});
// testing setup
it("has the fixture on the dom", function () {
expect($('#fixture-container')).to.not.be.null;
});
it("is a valid testing environment", function () {
// PhantomJS fails this one b... | 0e98e25f857e8d0a6e01eb93b64f416679dedf4b | tests/CoreSpec.js | tests/CoreSpec.js | JavaScript |
<|file_sep|>original/deployment/roles/certbot/tasks/main.yml
---
- name: software-properties-common installed
apt:
name: software-properties-common
state: latest
- name: certbot ppa added
apt_repository:
repo: 'ppa:certbot/certbot'
- name: certbot installed
apt:
name: python-certbot-nginx
stat... | ---
- name: software-properties-common installed
apt:
name: software-properties-common
state: latest
- name: certbot ppa added
apt_repository:
repo: 'ppa:certbot/certbot'
- name: certbot installed
apt:
name: certbot
state: latest
- name: python-certbot-nginx installed
apt:
name: python-c... | <|file_sep|>original/deployment/roles/certbot/tasks/main.yml
---
- name: software-properties-common installed
apt:
name: software-properties-common
state: latest
- name: certbot ppa added
apt_repository:
repo: 'ppa:certbot/certbot'
- name: certbot installed
apt:
name: python-certbot-nginx
stat... | 3ad6ad8128a9b599b210957469aa938001fe1139 | deployment/roles/certbot/tasks/main.yml | deployment/roles/certbot/tasks/main.yml | YAML |
<|file_sep|>app/serializers/trade/shipment_api_from_view_serializer.rb.diff
original:
attributes :id , :year, :appendix, :taxon, :class, :order, :family, :genus,
updated:
attributes :id , :year, :appendix, :taxon, :klass, :order, :family, :genus,
<|file_sep|>original/app/serializers/trade/shipment_api_from_view_s... | class Trade::ShipmentApiFromViewSerializer < ActiveModel::Serializer
attributes :id , :year, :appendix, :taxon, :klass, :order, :family, :genus,
:term, :importer_reported_quantity, :exporter_reported_quantity,
:unit, :importer, :importer_iso, :exporter, :exporter_iso, :origin, :purpose, :... | <|file_sep|>app/serializers/trade/shipment_api_from_view_serializer.rb.diff
original:
attributes :id , :year, :appendix, :taxon, :class, :order, :family, :genus,
updated:
attributes :id , :year, :appendix, :taxon, :klass, :order, :family, :genus,
<|file_sep|>original/app/serializers/trade/shipment_api_from_view_s... | e3e695c6aa4af058c94d9f5851a81012ecfb3843 | app/serializers/trade/shipment_api_from_view_serializer.rb | app/serializers/trade/shipment_api_from_view_serializer.rb | Ruby |
<|file_sep|>original/discord/addon/bpm.js
// BetterDiscord pls.
try {
window.localStorage = bdPluginStorage;
} catch (e) {
// Non-BD localStorage shim
if(window.localStorage === undefined) {
var iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.body.a... | // BetterDiscord pls.
try {
window.localStorage = bdPluginStorage;
} catch (e) {
// Non-BD localStorage shim
if(window.localStorage === undefined) {
var iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.body.appendChild(iframe);
window.localSt... | <|file_sep|>original/discord/addon/bpm.js
// BetterDiscord pls.
try {
window.localStorage = bdPluginStorage;
} catch (e) {
// Non-BD localStorage shim
if(window.localStorage === undefined) {
var iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.body.a... | 90e45eb173b917a396e321033303ff4e0fe3c6a2 | discord/addon/bpm.js | discord/addon/bpm.js | JavaScript |
<|file_sep|>app/assets/stylesheets/components/_opt_out_bar.scss.diff
original:
@extend %paragraph-small;
updated:
@extend %type-small;
<|file_sep|>app/assets/stylesheets/components/_opt_out_bar.scss.diff
original:
updated:
}
a {
@extend %type-small;
<|file_sep|>app/assets/stylesheets/components/_opt_o... | @include respond-to($mq-s) {
display: none;
}
}
}
.opt-out-bar__button {
@extend %font-smoothing;
@extend %type-small;
color: $color-link-default;
background: transparent;
border: 0;
padding: $baseline-unit 0;
border-top: 1px solid $color-grey-light;
@include respond-to($mq-m) {
bo... | <|file_sep|>app/assets/stylesheets/components/_opt_out_bar.scss.diff
original:
@extend %paragraph-small;
updated:
@extend %type-small;
<|file_sep|>app/assets/stylesheets/components/_opt_out_bar.scss.diff
original:
updated:
}
a {
@extend %type-small;
<|file_sep|>app/assets/stylesheets/components/_opt_o... | 8bbf08b1de2fc5c400ee402bfd4413a1e8c6e3ea | app/assets/stylesheets/components/_opt_out_bar.scss | app/assets/stylesheets/components/_opt_out_bar.scss | SCSS |
<|file_sep|>original/scripts/compute-ext-net.sh
<|file_sep|>current/scripts/compute-ext-net.sh
<|file_sep|>updated/scripts/compute-ext-net.sh | #!/bin/sh
apt-get update
apt-get install bridge-utils
brctl addbr databr
ifconfig databr 192.168.0.254/24 up
ip link add type veth
ifconfig veth0 up
ifconfig veth1 up
brctl addif databr veth0
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 \! -d 192.168.0.0/24 -j MASQUERADE | <|file_sep|>original/scripts/compute-ext-net.sh
<|file_sep|>current/scripts/compute-ext-net.sh
<|file_sep|>updated/scripts/compute-ext-net.sh
#!/bin/sh
apt-get update
apt-get install bridge-utils
brctl addbr databr
ifconfig databr 192.168.0.254/24 up
ip link add type veth
ifconfig veth0 up
ifconfig veth1 up
brctl ad... | 7e4a546d93b95df0464cb1bfa245eb612bcd30f0 | scripts/compute-ext-net.sh | scripts/compute-ext-net.sh | Shell |
<|file_sep|>original/src/cljs/quil/helpers/tools.clj
(defn bind-handler [prc processing-name handler]
`(set!
(~processing-name ~prc)
(fn []
(~'with-applet ~prc
(~@(if (list? handler) handler (list handler)))))))
(defmacro bind-handlers [prc & opts]
(map
#(apply bind-handler (concat (lis... | (~@(if (list? handler) handler (list handler)))))))
(defmacro bind-handlers [prc & opts]
(map
#(apply bind-handler (concat (list prc) %))
(partition 2 opts)))
(defmacro with-shape [mode & body]
(if (keyword? mode)
`(do
(cljs.quil.core/begin-shape ~mode)
~@body
(cljs.quil.c... | <|file_sep|>original/src/cljs/quil/helpers/tools.clj
(defn bind-handler [prc processing-name handler]
`(set!
(~processing-name ~prc)
(fn []
(~'with-applet ~prc
(~@(if (list? handler) handler (list handler)))))))
(defmacro bind-handlers [prc & opts]
(map
#(apply bind-handler (concat (lis... | 00a7a5026d2144ac433e4e408b535c8c774847de | src/cljs/quil/helpers/tools.clj | src/cljs/quil/helpers/tools.clj | Clojure |
<|file_sep|>original/algorithms/strings/TwoStrings.scala
<|file_sep|>current/algorithms/strings/TwoStrings.scala
<|file_sep|>updated/algorithms/strings/TwoStrings.scala | object Solution {
def hasCommon(s: String, t: String): Boolean = {
(s.toSet & t.toSet).size >= 1
}
def main(args: Array[String]) {
for (_ <- 1 to readInt) {
val s = readLine
val t = readLine
if (hasCommon(s, t)) println("YES") else println("NO")
}
}
} | <|file_sep|>original/algorithms/strings/TwoStrings.scala
<|file_sep|>current/algorithms/strings/TwoStrings.scala
<|file_sep|>updated/algorithms/strings/TwoStrings.scala
object Solution {
def hasCommon(s: String, t: String): Boolean = {
(s.toSet & t.toSet).size >= 1
}
def main(args: Array[String]) {
fo... | dfbfc257201926cbb563a5fd08c572d76f43c0b9 | algorithms/strings/TwoStrings.scala | algorithms/strings/TwoStrings.scala | Scala |
<|file_sep|>original/src/Modules/WaveStation/ClientWaveStation.lua
WaveStation.__index = WaveStation
function WaveStation.new(model)
local self = setmetatable({}, WaveStation)
self.Model = model
return self
end
function WaveStation:InRange(part, distance)
local primaryPart = self.Model.PrimaryPart
return ... |
local replicatedStorage = game:GetService("ReplicatedStorage")
local nevermore = require(replicatedStorage:WaitForChild("NevermoreEngine"))
local WaveStation = {}
WaveStation.__index = WaveStation
function WaveStation.new(model)
local self = setmetatable({}, WaveStation)
self.Model = model
return self
end
f... | <|file_sep|>original/src/Modules/WaveStation/ClientWaveStation.lua
WaveStation.__index = WaveStation
function WaveStation.new(model)
local self = setmetatable({}, WaveStation)
self.Model = model
return self
end
function WaveStation:InRange(part, distance)
local primaryPart = self.Model.PrimaryPart
return ... | 749be7a63aaf5da1ae79f34c9a774572e8352d81 | src/Modules/WaveStation/ClientWaveStation.lua | src/Modules/WaveStation/ClientWaveStation.lua | Lua |
<|file_sep|>original/context-menu-disable/context-menu-disable-officescan.bat
@echo off
setlocal EnableDelayedExpansion
set registryRoot=HKCU\Software\Classes
set key=OfficeScan NT
reg add "%registryRoot%\*\shellex\ContextMenuHandlers\%key%" /d "---" /f
<|file_sep|>current/context-menu-disable/context-menu-disable-o... | @echo off
setlocal EnableDelayedExpansion
set registryRoot=HKCU\Software\Classes
set key=OfficeScan NT
reg add "%registryRoot%\*\shellex\ContextMenuHandlers\%key%" /d "---" /f
reg add "%registryRoot%\Drive\shellex\ContextMenuHandlers\%key%" /d "---" /f | <|file_sep|>original/context-menu-disable/context-menu-disable-officescan.bat
@echo off
setlocal EnableDelayedExpansion
set registryRoot=HKCU\Software\Classes
set key=OfficeScan NT
reg add "%registryRoot%\*\shellex\ContextMenuHandlers\%key%" /d "---" /f
<|file_sep|>current/context-menu-disable/context-menu-disable-o... | cbd72bd2ab2ed3a57bd1a15953bcb4fa291bcd4a | context-menu-disable/context-menu-disable-officescan.bat | context-menu-disable/context-menu-disable-officescan.bat | Batchfile |
<|file_sep|>original/src/main/java/com/faforever/api/data/domain/Validity.java
VALID,
TOO_MANY_DESYNCS,
WRONG_VICTORY_CONDITION,
NO_FOG_OF_WAR,
CHEATS_ENABLED,
PREBUILT_ENABLED,
NORUSH_ENABLED,
BAD_UNIT_RESTRICTIONS,
BAD_MAP,
TOO_SHORT,
BAD_MOD,
COOP_NOT_RANKED,
MUTUAL_DRAW,
SINGLE_PLAYER,
... | CHEATS_ENABLED,
PREBUILT_ENABLED,
NORUSH_ENABLED,
BAD_UNIT_RESTRICTIONS,
BAD_MAP,
TOO_SHORT,
BAD_MOD,
COOP_NOT_RANKED,
MUTUAL_DRAW,
SINGLE_PLAYER,
FFA_NOT_RANKED,
UNEVEN_TEAMS_NOT_RANKED,
UNKNOWN_RESULT,
TEAMS_UNLOCKED,
MULTIPLE_TEAMS,
HAS_AI,
CIVILIANS_REVEALED,
WRONG_DIFFICULTY,
... | <|file_sep|>original/src/main/java/com/faforever/api/data/domain/Validity.java
VALID,
TOO_MANY_DESYNCS,
WRONG_VICTORY_CONDITION,
NO_FOG_OF_WAR,
CHEATS_ENABLED,
PREBUILT_ENABLED,
NORUSH_ENABLED,
BAD_UNIT_RESTRICTIONS,
BAD_MAP,
TOO_SHORT,
BAD_MOD,
COOP_NOT_RANKED,
MUTUAL_DRAW,
SINGLE_PLAYER,
... | 3948856d5d5a1f7a5a40db3ac09abe35182867e5 | src/main/java/com/faforever/api/data/domain/Validity.java | src/main/java/com/faforever/api/data/domain/Validity.java | Java |
<|file_sep|>original/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java
<|file_sep|>current/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java
<|file_sep|>updated/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java | package univ.ml.sparse.algorithm;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.math3.linear.RealVector;
import univ.ml.sparse.SparseCentroidCluster;
import univ.ml.sparse.SparseWeightableVector;
public class SparseKmeansCoresetAlgorithm implements SparseCoresetAlgorithm {
privat... | <|file_sep|>original/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java
<|file_sep|>current/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java
<|file_sep|>updated/src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java
package univ.ml.sparse.algorithm;
imp... | 834e5fd02ef0ffb1abc79abb688220dda0bb15f2 | src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java | src/main/java/univ/ml/sparse/algorithm/SparseKmeansCoresetAlgorithm.java | Java |
<|file_sep|>original/package.json
"unzip"
],
"homepage": "http://github.com/cthackers/adm-zip",
"author": "Nasca Iacob <sy@another-d-mention.ro> (https://github.com/cthackers)",
"bugs": {
"email": "sy@another-d-mention.ro",
"url": "https://github.com/cthackers/adm-zip/issues"
... | "unzip"
],
"homepage": "http://github.com/cthackers/adm-zip",
"author": "Nasca Iacob <sy@another-d-mention.ro> (https://github.com/cthackers)",
"bugs": {
"email": "sy@another-d-mention.ro",
"url": "https://github.com/cthackers/adm-zip/issues"
},
"license": "MIT",
"fil... | <|file_sep|>original/package.json
"unzip"
],
"homepage": "http://github.com/cthackers/adm-zip",
"author": "Nasca Iacob <sy@another-d-mention.ro> (https://github.com/cthackers)",
"bugs": {
"email": "sy@another-d-mention.ro",
"url": "https://github.com/cthackers/adm-zip/issues"
... | 5c83aa706d1a61df1fbd637398de13e449e0cf05 | package.json | package.json | JSON |
<|file_sep|>.travis.yml.diff
original:
- mkdir ../libraries
- git clone --branch=master --depth=100 --quiet git://github.com/UnionOfRAD/lithium.git ../libraries/lithium
- php ../libraries/lithium/tests/ci/depends.php $OPCODE_CACHE
updated:
- cd ../
- composer create-project --keep-vcs unionofrad/framework fra... | language: php
php:
- 5.5
- 5.6
- 7.0
before_script:
- cd ../
- composer create-project --keep-vcs unionofrad/framework framework 1.1.*@dev
- cd framework
- mv ../li3_fixtures app/libraries/
- sed -i -e 's/?>/Libraries::add("li3_fixtures"); ?>/g' app/config/bootstrap/libraries.php
script: libraries/li... | <|file_sep|>.travis.yml.diff
original:
- mkdir ../libraries
- git clone --branch=master --depth=100 --quiet git://github.com/UnionOfRAD/lithium.git ../libraries/lithium
- php ../libraries/lithium/tests/ci/depends.php $OPCODE_CACHE
updated:
- cd ../
- composer create-project --keep-vcs unionofrad/framework fra... | 82a730bd14a83293c338e0241f6a3cbd0a094b47 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/layouts/partials/nav.html
<nav class="main-navigation stuckMenu">
<a href="{{ .Site.BaseURL }}">
<img class="logo" src="{{ .Site.BaseURL }}img/logo.png" alt="{{ .Site.Title }}">
</a>
<div class="sub-navigation">
<a href="#" class="main-navigation-link" id="about" data-sc... | <nav class="main-navigation stuckMenu">
<a href="{{ .Site.BaseURL }}">
<img class="logo" src="{{ .Site.BaseURL }}img/logo.png" alt="{{ .Site.Title }}">
</a>
<div class="sub-navigation">
<a href="#" class="main-navigation-link" id="about" data-scroll-goto="0">About</a>
{{ if ... | <|file_sep|>original/layouts/partials/nav.html
<nav class="main-navigation stuckMenu">
<a href="{{ .Site.BaseURL }}">
<img class="logo" src="{{ .Site.BaseURL }}img/logo.png" alt="{{ .Site.Title }}">
</a>
<div class="sub-navigation">
<a href="#" class="main-navigation-link" id="about" data-sc... | 7f582d74ffd0607eda347683d362cf221c68211f | layouts/partials/nav.html | layouts/partials/nav.html | HTML |
<|file_sep|>README.md.diff
original:
updated:
#### Goals/ideas of this experiment
- form objects because that's how it started
- simple, remove as much as possible including jQuery
- simple and relatively good looking, using http://getskeleton.com/
- fast, goes along with removing what isn't needed
- authentication cr... | ## Add your bills to any calendar
[](https://codeclimate.com/github/bradpauly/billcalendar)
This is a rails 4 app that keeps track of all your bills and outputs them in iCalendar format so you can add them to any calendar that suppor... | <|file_sep|>README.md.diff
original:
updated:
#### Goals/ideas of this experiment
- form objects because that's how it started
- simple, remove as much as possible including jQuery
- simple and relatively good looking, using http://getskeleton.com/
- fast, goes along with removing what isn't needed
- authentication cr... | aacf9d2842f7beb0acf4879a5ea12de0affd0438 | README.md | README.md | Markdown |
<|file_sep|>lib/net/ldap/password.rb.diff
original:
updated:
require 'securerandom'
<|file_sep|>original/lib/net/ldap/password.rb
# * maybe salted-md5
# * Should we provide sha1 as a synonym for sha1? I vote no because then
# should you also provide ssha1 for symmetry?
#
attribute_value = ""
... | # * maybe salted-md5
# * Should we provide sha1 as a synonym for sha1? I vote no because then
# should you also provide ssha1 for symmetry?
#
attribute_value = ""
def generate(type, str)
case type
when :md5
attribute_value = '{MD5}' + Base64.encode64(Digest::MD5.dig... | <|file_sep|>lib/net/ldap/password.rb.diff
original:
updated:
require 'securerandom'
<|file_sep|>original/lib/net/ldap/password.rb
# * maybe salted-md5
# * Should we provide sha1 as a synonym for sha1? I vote no because then
# should you also provide ssha1 for symmetry?
#
attribute_value = ""
... | 017223d10ab21a94868ee7477022dc8237736269 | lib/net/ldap/password.rb | lib/net/ldap/password.rb | Ruby |
<|file_sep|>packages/ba/battleplace.yaml.diff
original:
hash: 8bc3d60ac414df9e52fa7f6d99cf8a4a36d03968a30cb415e47dd046e6aa1b8c
updated:
hash: ee3602ed48111a55ddfb053befb8ba79f332ba949549a4074ee3bb3567a66746
<|file_sep|>packages/ba/battleplace.yaml.diff
original:
updated:
- '0.1.0.4'
<|file_sep|>original/packages/ba/ba... | cereal: -any
bytestring: -any
base: ! '>=4.11 && <5'
text: -any
data-default: -any
servant: -any
memory: -any
hashable: -any
aeson: -any
vector: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
- '0.1.0.2'
- '0.1.0.3'
- '0.1.0.4'
author: Alexander Bich <quyse0@gmail.com>
latest: '0.1.0.4'
description-type... | <|file_sep|>packages/ba/battleplace.yaml.diff
original:
hash: 8bc3d60ac414df9e52fa7f6d99cf8a4a36d03968a30cb415e47dd046e6aa1b8c
updated:
hash: ee3602ed48111a55ddfb053befb8ba79f332ba949549a4074ee3bb3567a66746
<|file_sep|>packages/ba/battleplace.yaml.diff
original:
updated:
- '0.1.0.4'
<|file_sep|>original/packages/ba/ba... | 20132af060dc62e7f98b1cd61d754c208fcf3b73 | packages/ba/battleplace.yaml | packages/ba/battleplace.yaml | YAML |
<|file_sep|>original/db/migrate/20121022031914_add_disclosure_log.rb
<|file_sep|>current/db/migrate/20121022031914_add_disclosure_log.rb
<|file_sep|>updated/db/migrate/20121022031914_add_disclosure_log.rb | class AddDisclosureLog < ActiveRecord::Migration
def self.up
add_column :public_bodies, :disclosure_log, :text, :null => false, :default => ""
add_column :public_body_versions, :disclosure_log, :text, :null => false, :default => ""
add_column :public_body_translations, :disclosure_log, :text... | <|file_sep|>original/db/migrate/20121022031914_add_disclosure_log.rb
<|file_sep|>current/db/migrate/20121022031914_add_disclosure_log.rb
<|file_sep|>updated/db/migrate/20121022031914_add_disclosure_log.rb
class AddDisclosureLog < ActiveRecord::Migration
def self.up
add_column :public_bodies, :disclosure_l... | bef8155a139c0aab2e424a8dd9aabe6cf140ede2 | db/migrate/20121022031914_add_disclosure_log.rb | db/migrate/20121022031914_add_disclosure_log.rb | Ruby |
<|file_sep|>original/wp/admin/sections/wordpress-integration.php
$sections['integration'] = array(
'icon' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_083_random.png',
'title' => 'Wordpress Integration',
'fields' => array(
'enable' => array(
'id' => 'enable',
'type' => 'checkbox',
'title' => 'Enable Sea... | $sections['integration'] = array(
'icon' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_083_random.png',
'title' => 'Wordpress Integration',
'fields' => array(
'enable' => array(
'id' => 'enable',
'type' => 'checkbox',
'title' => 'Enable Search',
'sub_desc' => 'If enabled, the default wordpress search w... | <|file_sep|>original/wp/admin/sections/wordpress-integration.php
$sections['integration'] = array(
'icon' => NHP_OPTIONS_URL.'img/glyphicons/glyphicons_083_random.png',
'title' => 'Wordpress Integration',
'fields' => array(
'enable' => array(
'id' => 'enable',
'type' => 'checkbox',
'title' => 'Enable Sea... | 42d8e1615ccad63568fc9a27dc67a126d578b339 | wp/admin/sections/wordpress-integration.php | wp/admin/sections/wordpress-integration.php | PHP |
<|file_sep|>original/metadata/net.justdave.nwsweatheralertswidget.txt
Issue Tracker:https://github.com/justdave/nwsweatheralertswidget/issues
Auto Name:NWS Weather Alerts Widget
Summary:Weather widget
Description:
Android home screen widget to display current weather alerts from the
US National Weather Service
.
Repo... | Issue Tracker:https://github.com/justdave/nwsweatheralertswidget/issues
Auto Name:NWS Weather Alerts Widget
Summary:Weather widget
Description:
Android home screen widget to display current weather alerts from the
US National Weather Service
.
Repo Type:git
Repo:https://github.com/justdave/nwsweatheralertswidget.git
... | <|file_sep|>original/metadata/net.justdave.nwsweatheralertswidget.txt
Issue Tracker:https://github.com/justdave/nwsweatheralertswidget/issues
Auto Name:NWS Weather Alerts Widget
Summary:Weather widget
Description:
Android home screen widget to display current weather alerts from the
US National Weather Service
.
Repo... | f17f6f63ce34caaf4b5df628f8d1eead54c607c0 | metadata/net.justdave.nwsweatheralertswidget.txt | metadata/net.justdave.nwsweatheralertswidget.txt | Text |
<|file_sep|>original/spec/share/basic.html
<html>
<head>
<script src="../../bower_components/opal/opal/current/opal.js"></script>
<script src="../../dist/asciidoctor-core.js"></script>
</head>
<body>
<script>
var content = "http://asciidoctor.org[*Asciidoctor*] " +
"running on http://opa... | <html>
<head>
<script src="../../bower_components/opal/opal/current/opal.js"></script>
<script src="../../dist/asciidoctor-core.js"></script>
</head>
<body>
<script>
var content = "http://asciidoctor.org[*Asciidoctor*] " +
"running on http://opalrb.org[_Opal_] " +
"brings AsciiDo... | <|file_sep|>original/spec/share/basic.html
<html>
<head>
<script src="../../bower_components/opal/opal/current/opal.js"></script>
<script src="../../dist/asciidoctor-core.js"></script>
</head>
<body>
<script>
var content = "http://asciidoctor.org[*Asciidoctor*] " +
"running on http://opa... | 64d41637c8e4e91a1add6d10aa0c73f76175e08a | spec/share/basic.html | spec/share/basic.html | HTML |
<|file_sep|>original/README.md
This is not a dotfiles configuration repository, nor it is a recipe repository. It is just a simple set of commands and tools to set up a developer's machine. Its aim is to reduce the initial time of installing tools and apps on a new machine.
## Install
Clone this project in a location... | ## Usage
Run the `./brew.sh` file to install [Homebrew](http://brew.sh/) if it's not installed, update it, install [`brew bundle`](https://github.com/Homebrew/homebrew-bundle) and run it with [`Brewfile`](Brewfile).
*Note*: You are encouraged to read through the [`Brewfile`](Brewfile) and remove things you don't need... | <|file_sep|>original/README.md
This is not a dotfiles configuration repository, nor it is a recipe repository. It is just a simple set of commands and tools to set up a developer's machine. Its aim is to reduce the initial time of installing tools and apps on a new machine.
## Install
Clone this project in a location... | e1fa8134eaf38b20cf89123471b178e3479ed306 | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
- 2.10.3
before_script:
- npm install bower
- npm install grunt-cli
- gem install sass
- cd public
- npm install
- bower install
- cd ..
script:
- cd public
- grunt test
- cd ..
- sbt test
deploy:
provider: heroku
api_key:
secure: RwSpEp49ALY8s4x6/HonZXrm0URSl8rgyLsZ8PhRQHN/P/pg... | before_script:
- npm install bower
- npm install grunt-cli
- gem install sass
- cd public
- npm install
- bower install
- cd ..
script:
- cd public
- grunt test
- cd ..
- sbt test
deploy:
provider: heroku
api_key:
secure: RwSpEp49ALY8s4x6/HonZXrm0URSl8rgyLsZ8PhRQHN/P/pgPnUwsEWh6yxcHKR4dyq1ib6doKNzkAHfafoUvgIKgn... | <|file_sep|>original/.travis.yml
- 2.10.3
before_script:
- npm install bower
- npm install grunt-cli
- gem install sass
- cd public
- npm install
- bower install
- cd ..
script:
- cd public
- grunt test
- cd ..
- sbt test
deploy:
provider: heroku
api_key:
secure: RwSpEp49ALY8s4x6/HonZXrm0URSl8rgyLsZ8PhRQHN/P/pg... | ff33a89814abe733b2af081f789e69f8d559d142 | .travis.yml | .travis.yml | YAML |
<|file_sep|>.travis.yml.diff
original:
compiler:
- gcc-7
- gcc-8
updated:
<|file_sep|>original/.travis.yml
sudo: required
language: c++
compiler:
- gcc-7
- gcc-8
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-7 g++-7
- sudo up... | sudo: required
language: c++
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-7 g++-7
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60
- s... | <|file_sep|>.travis.yml.diff
original:
compiler:
- gcc-7
- gcc-8
updated:
<|file_sep|>original/.travis.yml
sudo: required
language: c++
compiler:
- gcc-7
- gcc-8
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-7 g++-7
- sudo up... | c4e0bffcef4a618c10073cd091c4652e7dc33cbc | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/indra/tools/mechlinker_queries.py
<|file_sep|>current/indra/tools/mechlinker_queries.py
<|file_sep|>updated/indra/tools/mechlinker_queries.py | import pickle
from indra.tools.incremental_model import IncrementalModel
from indra.mechlinker import MechLinker
from indra.assemblers import EnglishAssembler
def print_linked_stmt(stmt):
source_txts = []
for source_stmt in stmt.source_stmts:
source_txt = EnglishAssembler([source_stmt]).make_model()
... | <|file_sep|>original/indra/tools/mechlinker_queries.py
<|file_sep|>current/indra/tools/mechlinker_queries.py
<|file_sep|>updated/indra/tools/mechlinker_queries.py
import pickle
from indra.tools.incremental_model import IncrementalModel
from indra.mechlinker import MechLinker
from indra.assemblers import EnglishAssemb... | adb2b9d8457756bb4484d06b36b8f5b620d2a34c | indra/tools/mechlinker_queries.py | indra/tools/mechlinker_queries.py | Python |
<|file_sep|>original/roles/dotfiles/tasks/main.yml
- name: 'Creating directory for local dotfiles'
file:
dest: "{{ dotfiles_local_path }}"
state: directory
owner: "{{ dotfiles_user }}"
mode: "{{ dotfiles_dir_mode }}"
- name: 'Setting correct permissions for the dotfiles'
file:
path: "{{ dotfile... | - name: 'Creating directory for local dotfiles'
file:
dest: "{{ dotfiles_local_path }}"
state: directory
owner: "{{ dotfiles_user }}"
mode: "{{ dotfiles_dir_mode }}"
- name: 'Setting correct permissions for the dotfiles'
file:
path: "{{ dotfiles_path }}"
owner: "{{ dotfiles_user }}"
rec... | <|file_sep|>original/roles/dotfiles/tasks/main.yml
- name: 'Creating directory for local dotfiles'
file:
dest: "{{ dotfiles_local_path }}"
state: directory
owner: "{{ dotfiles_user }}"
mode: "{{ dotfiles_dir_mode }}"
- name: 'Setting correct permissions for the dotfiles'
file:
path: "{{ dotfile... | 9a6b15ebb4858ef60f8c21777d7b140a117abd21 | roles/dotfiles/tasks/main.yml | roles/dotfiles/tasks/main.yml | YAML |
<|file_sep|>original/alexandria/models/record.py
<|file_sep|>current/alexandria/models/record.py
<|file_sep|>updated/alexandria/models/record.py | import datetime
from pyramid.compat import (
text_type,
binary_type
)
from .meta import (
Base,
DBSession,
)
from sqlalchemy import (
Column,
DateTime,
Enum,
ForeignKey,
Integer,
String,
Table,
Text, | <|file_sep|>original/alexandria/models/record.py
<|file_sep|>current/alexandria/models/record.py
<|file_sep|>updated/alexandria/models/record.py
import datetime
from pyramid.compat import (
text_type,
binary_type
)
from .meta import (
Base,
DBSession,
)
from sqlalche... | 9090c5243814b867257ee843eef6d46c44817eff | alexandria/models/record.py | alexandria/models/record.py | Python |
<|file_sep|>.travis.yml.diff
original:
updated:
- "sudo apt-get -yV install wine"
<|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
install:
- "sudo apt-get -yV install libxml2-dev libxslt1-dev" # lxml dependencies
- "pip install -r requirements.txt"
- "pip install coveralls"
- "... | language: python
python:
- "3.3"
- "3.4"
install:
- "sudo apt-get -yV install libxml2-dev libxslt1-dev" # lxml dependencies
- "pip install -r requirements.txt"
- "pip install coveralls"
- "sudo apt-get -yV install optipng jpegoptim"
- "sudo apt-get -yV install wine"
script:
- "coverage run --source=sac... | <|file_sep|>.travis.yml.diff
original:
updated:
- "sudo apt-get -yV install wine"
<|file_sep|>original/.travis.yml
language: python
python:
- "3.3"
- "3.4"
install:
- "sudo apt-get -yV install libxml2-dev libxslt1-dev" # lxml dependencies
- "pip install -r requirements.txt"
- "pip install coveralls"
- "... | 9d9523207dd73e032f4a49188017d28af7719aaf | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/pynder/session.py
class Session(object):
def __init__(self, facebook_id, facebook_token, proxies=None):
self._api = api.TinderAPI(proxies)
# perform authentication
self._api.auth(facebook_id, facebook_token)
self.profile = models.Profile(self._api.profile(), se... |
class Session(object):
def __init__(self, facebook_id, facebook_token, proxies=None):
self._api = api.TinderAPI(proxies)
# perform authentication
self._api.auth(facebook_id, facebook_token)
self.profile = models.Profile(self._api.profile(), self)
def nearby_users(self):
... | <|file_sep|>original/pynder/session.py
class Session(object):
def __init__(self, facebook_id, facebook_token, proxies=None):
self._api = api.TinderAPI(proxies)
# perform authentication
self._api.auth(facebook_id, facebook_token)
self.profile = models.Profile(self._api.profile(), se... | 8a10dbe86f6ce02af1884fc9e68aa925003d9ad7 | pynder/session.py | pynder/session.py | Python |
<|file_sep|>original/applications/xls2EOL/set.php
<|file_sep|>current/applications/xls2EOL/set.php
<|file_sep|>updated/applications/xls2EOL/set.php | <?php
//use to set values in the database
include_once(dirname(__FILE__) . "/../../config/environment.php");
$mysqli =& $GLOBALS['mysqli_connection'];
$query="update info_items set info_items.label = 'Key' where info_items.schema_value = 'http://rs.tdwg.org/ontology/voc/SPMInfoItems#Key'";
$update = $mysqli->query($q... | <|file_sep|>original/applications/xls2EOL/set.php
<|file_sep|>current/applications/xls2EOL/set.php
<|file_sep|>updated/applications/xls2EOL/set.php
<?php
//use to set values in the database
include_once(dirname(__FILE__) . "/../../config/environment.php");
$mysqli =& $GLOBALS['mysqli_connection'];
$query="update in... | 8ccd5104a4c97b4f38b9aeeb4a344f494f904ac2 | applications/xls2EOL/set.php | applications/xls2EOL/set.php | PHP |
<|file_sep|>BitBay-Ticker/Models/TickerIdentifier.swift.diff
original:
struct TickerIdentifier: Codable, Equatable, Identifiable {
updated:
struct TickerIdentifier: Codable, Identifiable {
<|file_sep|>original/BitBay-Ticker/Models/TickerIdentifier.swift
return false
}
private var currencyIdentifier... | var tags: [String] = [title]
if let firstCurrencyFullName = firstCurrencyFullName {
tags.append(firstCurrencyFullName)
}
if let secondCurrencyFullName = secondCurrencyFullName {
tags.append(secondCurrencyFullName)
}
retur... | <|file_sep|>BitBay-Ticker/Models/TickerIdentifier.swift.diff
original:
struct TickerIdentifier: Codable, Equatable, Identifiable {
updated:
struct TickerIdentifier: Codable, Identifiable {
<|file_sep|>original/BitBay-Ticker/Models/TickerIdentifier.swift
return false
}
private var currencyIdentifier... | d57e6f8352b1c507ea0ad81f86f17b2ff73f6a5b | BitBay-Ticker/Models/TickerIdentifier.swift | BitBay-Ticker/Models/TickerIdentifier.swift | Swift |
<|file_sep|>original/actions/publish.rb
:file => Proc.new do |file, destination|
FileUtils.copy(file, destination)
end
}
add_action("publish") do |build, action|
source = action["source"]
protocol = action["destination"].partition("://")[0].to_sym
raise "No idea how to use protocol #{protocol}" unless PROTOCOL... | end,
:file => Proc.new do |file, destination|
FileUtils.copy(file, destination)
end
}
add_action("publish") do |build, action|
source = action["source"]
protocol = action["destination"].partition("://")[0].to_sym
raise "No idea how to use protocol #{protocol}" unless PROTOCOLS.has_key? protocol
source = Dir... | <|file_sep|>original/actions/publish.rb
:file => Proc.new do |file, destination|
FileUtils.copy(file, destination)
end
}
add_action("publish") do |build, action|
source = action["source"]
protocol = action["destination"].partition("://")[0].to_sym
raise "No idea how to use protocol #{protocol}" unless PROTOCOL... | c5681a0ee72363b1e780bdc13c8144b1e0202b2f | actions/publish.rb | actions/publish.rb | Ruby |
<|file_sep|>original/_plugins/custom_tag.rb
<|file_sep|>current/_plugins/custom_tag.rb
<|file_sep|>updated/_plugins/custom_tag.rb | class LingualLink < Liquid::Tag
def initialize(tag_name, dest, _tokens)
super
@dest = dest
end
def render(context)
lang = context.environments.first["page"]["lang"]
( lang == "en" ) ? "/#{@dest.strip}/" : "/#{lang}/#{@dest.strip}/"
end
end
Liquid::Template.register_tag('lingual_link', LingualL... | <|file_sep|>original/_plugins/custom_tag.rb
<|file_sep|>current/_plugins/custom_tag.rb
<|file_sep|>updated/_plugins/custom_tag.rb
class LingualLink < Liquid::Tag
def initialize(tag_name, dest, _tokens)
super
@dest = dest
end
def render(context)
lang = context.environments.first["page"]["lang"]
... | b39c9a48f103611690a2ca2f7725f6fc6d2abf1c | _plugins/custom_tag.rb | _plugins/custom_tag.rb | Ruby |
<|file_sep|>original/envbot.sh
if [[ "$line" =~ ^$_name ]]
then
_set=0
break
fi
done
if [[ ! $_set ]]
... | if [[ "$line" =~ ^$_name ]]
then
_set=0
break
fi
done
if [[ ! $_set ]]
then
... | <|file_sep|>original/envbot.sh
if [[ "$line" =~ ^$_name ]]
then
_set=0
break
fi
done
if [[ ! $_set ]]
... | a82e96ffe9ae6ca017a7c85abf44659b924c0dc2 | envbot.sh | envbot.sh | Shell |
<|file_sep|>original/.github/workflows/visual-regression.yml
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
visual-regression:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output n... | pull_request:
types:
- opened
- reopened
- synchronize
jobs:
visual-regression:
name: Run Tests
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$... | <|file_sep|>original/.github/workflows/visual-regression.yml
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
visual-regression:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output n... | 8112c6d35b73211c86b5fe521591a853ae1c2aa3 | .github/workflows/visual-regression.yml | .github/workflows/visual-regression.yml | YAML |
<|file_sep|>original/app.yaml
application: your-app-id
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
<|file_sep|>current/app.yaml
application: your-app-id
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
<|file_sep|>updated/app.yaml | application: your-app-id
version: 1
runtime: php55
api_version: 1
handlers:
- url: /.*
script: helloworld.php | <|file_sep|>original/app.yaml
application: your-app-id
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
<|file_sep|>current/app.yaml
application: your-app-id
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
<|file_sep|>updated/app.yaml
applicatio... | c92d584a9d1ef910fbaa473589ba294c6723106c | app.yaml | app.yaml | YAML |
<|file_sep|>original/test/dk_yaws_server_tests.erl
<|file_sep|>current/test/dk_yaws_server_tests.erl
<|file_sep|>updated/test/dk_yaws_server_tests.erl | %%%------------------------------------------------------------------------------
%%% @copyright (c) 2011, DuoMark International, Inc. All rights reserved
%%% @author Jay Nelson <jay@duomark.com>
%%% @doc
%%% Verify that dk_yaws_server instantiates and operates properly.
%%% @since v0.1.1
%%% @end
%%%---------------... | <|file_sep|>original/test/dk_yaws_server_tests.erl
<|file_sep|>current/test/dk_yaws_server_tests.erl
<|file_sep|>updated/test/dk_yaws_server_tests.erl
%%%------------------------------------------------------------------------------
%%% @copyright (c) 2011, DuoMark International, Inc. All rights reserved
%%% @author... | efd4e2b489e0782a9f5c3c5c89baba871039e6e4 | test/dk_yaws_server_tests.erl | test/dk_yaws_server_tests.erl | Erlang |
<|file_sep|>_config.yml.diff
original:
highlighter: pygments
updated:
highlighter: rouge
<|file_sep|>original/_config.yml
highlighter: pygments
logo: false
paginate: 15
baseurl: /
domain_name: 'http://blog.brasskazoo.com'
google_analytics: 'UA-31903273-1'
# Details for the RSS feed generator
url: 'http://bl... | highlighter: rouge
logo: false
paginate: 15
baseurl: /
domain_name: 'http://blog.brasskazoo.com'
google_analytics: 'UA-31903273-1'
# Details for the RSS feed generator
url: 'http://blog.brasskazoo.com'
author: 'Will Dampney'
author_tag: 'Software and Cloud Engineer'
rss_path: '/rss'
rss_name: 'feed... | <|file_sep|>_config.yml.diff
original:
highlighter: pygments
updated:
highlighter: rouge
<|file_sep|>original/_config.yml
highlighter: pygments
logo: false
paginate: 15
baseurl: /
domain_name: 'http://blog.brasskazoo.com'
google_analytics: 'UA-31903273-1'
# Details for the RSS feed generator
url: 'http://bl... | 28d7958a2de8dcb92003128a6a1ea8cd695572a9 | _config.yml | _config.yml | YAML |
<|file_sep|>original/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptio... | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolati... | <|file_sep|>original/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptio... | 7f648479a213997a595bf68b421b1e33cf800c58 | phpunit.xml | phpunit.xml | XML |
<|file_sep|>docs/pages/close-button.md.diff
original:
updated:
sass: scss/components/_close-button.scss
<|file_sep|>docs/pages/close-button.md.diff
original:
Creating a close button is as simple as adding the `.close-button` class to an element. We recommend using a `<button>` element, as opposed to an `<a>`. For the ... | ---
title: Close Button
description: The humble close button can be used anywhere you need something to go away on click.
sass: scss/components/_close-button.scss
---
A close button is a `<button>` element with the class `.close-button`. We use the multiplication symbol (`×`) as the X icon. This icon is wrapped ... | <|file_sep|>docs/pages/close-button.md.diff
original:
updated:
sass: scss/components/_close-button.scss
<|file_sep|>docs/pages/close-button.md.diff
original:
Creating a close button is as simple as adding the `.close-button` class to an element. We recommend using a `<button>` element, as opposed to an `<a>`. For the ... | e8cb4bd9747f7fabec5847e50eb0272fcbd4ab05 | docs/pages/close-button.md | docs/pages/close-button.md | Markdown |
<|file_sep|>original/.travis.yml
language: c
# Install dependencies needed to compile .NET and C#
install: sudo apt-get install mono-devel mono-gmcs
# Run the XBuild project file
script: xbuild Oxide.csproj /p:Configuration=Release
# Notification services
notifications:
# Disable build status email notifications, ... | # Source language (using C since .NET and C# are not supported yet)
language: c
# Install dependencies needed to compile .NET and C#
install: sudo apt-get install mono-devel mono-gmcs
# Run the XBuild project file
script: xbuild Oxide.csproj /p:Configuration=Release
# Notification services
notifications:
# Disable... | <|file_sep|>original/.travis.yml
language: c
# Install dependencies needed to compile .NET and C#
install: sudo apt-get install mono-devel mono-gmcs
# Run the XBuild project file
script: xbuild Oxide.csproj /p:Configuration=Release
# Notification services
notifications:
# Disable build status email notifications, ... | ca1f77c29f770e04153a4358a9783a46466efff3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/composer.json
"keywords": ["markdown"],
"homepage": "http://github.com/nicl/silex-markdown",
"license": "MIT",
"authors": [
{
"name": "Nicolas Long",
"email": "nicolaslong@gmail.com"
}
],
"require": {
"silex/silex": "1.0.*@dev"... | "keywords": ["markdown"],
"homepage": "http://github.com/nicl/silex-markdown",
"license": "MIT",
"authors": [
{
"name": "Nicolas Long",
"email": "nicolaslong@gmail.com"
}
],
"require": {
"silex/silex": "1.1.*@dev",
"twig/twig": ">=1.8,<2.0-... | <|file_sep|>original/composer.json
"keywords": ["markdown"],
"homepage": "http://github.com/nicl/silex-markdown",
"license": "MIT",
"authors": [
{
"name": "Nicolas Long",
"email": "nicolaslong@gmail.com"
}
],
"require": {
"silex/silex": "1.0.*@dev"... | ac6ddd18a4665265f22d026a56ae8df01208de6c | composer.json | composer.json | JSON |
<|file_sep|>original/masters/master.client.sfntly/slaves.cfg
# found in the LICENSE file.
# This is an list of dictionaries to describe slaves.
# This list is intentionally flat to be easy to filter arbitrarily.
slaves = [
### Sfntly
{
'master' : 'Sfntly',
'builder': ['Clang Linux', 'GCC Linux'],
... | # found in the LICENSE file.
# This is an list of dictionaries to describe slaves.
# This list is intentionally flat to be easy to filter arbitrarily.
slaves = [
### Sfntly
{
'master' : 'Sfntly',
'builder': ['Clang Linux', 'GCC Linux'],
'hostname' : 'vm81-m3',
'os': 'linux',
... | <|file_sep|>original/masters/master.client.sfntly/slaves.cfg
# found in the LICENSE file.
# This is an list of dictionaries to describe slaves.
# This list is intentionally flat to be easy to filter arbitrarily.
slaves = [
### Sfntly
{
'master' : 'Sfntly',
'builder': ['Clang Linux', 'GCC Linux'],
... | 737deae6ed415e5372d5a20ff78f3c54e2f4cf00 | masters/master.client.sfntly/slaves.cfg | masters/master.client.sfntly/slaves.cfg | INI |
<|file_sep|>original/src/aura/greased_AssertionEquals/greased_AssertionEqualsHelper.js
({
replacer: function (key, value) {
if (typeof value === "number") {
return "REPLACED";
}
return value;
}
})
<|file_sep|>current/src/aura/greased_AssertionEquals/greased_AssertionEqualsHel... | ({
replacer: function (key, value) {
// if (typeof value === "number") {
// return "REPLACED";
// }
return value;
}
}) | <|file_sep|>original/src/aura/greased_AssertionEquals/greased_AssertionEqualsHelper.js
({
replacer: function (key, value) {
if (typeof value === "number") {
return "REPLACED";
}
return value;
}
})
<|file_sep|>current/src/aura/greased_AssertionEquals/greased_AssertionEqualsHel... | 1c8f3539949498b93e30ea860e9eb2216b9b7092 | src/aura/greased_AssertionEquals/greased_AssertionEqualsHelper.js | src/aura/greased_AssertionEquals/greased_AssertionEqualsHelper.js | JavaScript |
<|file_sep|>original/src/Stranne.VasttrafikNET/Models/Coordinate.cs
namespace Stranne.VasttrafikNET.Models
{
/// <summary>
/// Describes a coordinate in WGS84 decimal
/// </summary>
public class Coordinate
{
/// <summary>
/// Latitude in WGS84 decimal form
/// </summary>
... | {
/// <summary>
/// Latitude in WGS84 decimal form
/// </summary>
public double Latitude { get; set; }
/// <summary>
/// Longitude in WGS84 decimal form
/// </summary>
public double Longitude { get; set; }
/// <summary>
/// Create a n... | <|file_sep|>original/src/Stranne.VasttrafikNET/Models/Coordinate.cs
namespace Stranne.VasttrafikNET.Models
{
/// <summary>
/// Describes a coordinate in WGS84 decimal
/// </summary>
public class Coordinate
{
/// <summary>
/// Latitude in WGS84 decimal form
/// </summary>
... | fbfadf5cf46f1e1a1e1fedf9a94655bde1190dcf | src/Stranne.VasttrafikNET/Models/Coordinate.cs | src/Stranne.VasttrafikNET/Models/Coordinate.cs | C# |
<|file_sep|>lib/finite_machine/logger.rb.diff
original:
message = "#{error.class}: #{error.message}\n\t"
updated:
message = ["#{error.class}: #{error.message}\n\t"]
<|file_sep|>lib/finite_machine/logger.rb.diff
original:
updated:
message.join
<|file_sep|>lib/finite_machine/logger.rb.diff
original:
... |
def format_error(error)
message = ["#{error.class}: #{error.message}\n\t"]
if error.backtrace
message << "occured at #{error.backtrace.join("\n\t")}"
else
message << "EMPTY BACKTRACE\n\t"
end
message.join
end
def report_transition(name, from, to, *args)
... | <|file_sep|>lib/finite_machine/logger.rb.diff
original:
message = "#{error.class}: #{error.message}\n\t"
updated:
message = ["#{error.class}: #{error.message}\n\t"]
<|file_sep|>lib/finite_machine/logger.rb.diff
original:
updated:
message.join
<|file_sep|>lib/finite_machine/logger.rb.diff
original:
... | 5dcf2124b97bfe02976756588eed2913478e4151 | lib/finite_machine/logger.rb | lib/finite_machine/logger.rb | Ruby |
<|file_sep|>seaweed-banking-account-updater/database/connection.go.diff
original:
updated:
weedharvester "github.com/ChristianNorbertBraun/Weedharvester"
<|file_sep|>seaweed-banking-account-updater/database/connection.go.diff
original:
updated:
var filer weedharvester.Filer
<|file_sep|>seaweed-banking-account-update... |
func configureMongodb() {
s, err := mgo.Dial(config.Configuration.Db.URL)
if err != nil {
log.Fatal("Could not connect to mongodb: ", err)
}
session = s
log.Print("Connected to mongodb: ", config.Configuration.Db.URL)
}
func configureSeaweedFiler() {
fil := weedharvester.NewFiler(config.Configuration.Seaweed... | <|file_sep|>seaweed-banking-account-updater/database/connection.go.diff
original:
updated:
weedharvester "github.com/ChristianNorbertBraun/Weedharvester"
<|file_sep|>seaweed-banking-account-updater/database/connection.go.diff
original:
updated:
var filer weedharvester.Filer
<|file_sep|>seaweed-banking-account-update... | 65d96f196b6bc1a593f3785c2c6be428bd64cb57 | seaweed-banking-account-updater/database/connection.go | seaweed-banking-account-updater/database/connection.go | Go |
<|file_sep|>.travis.yml.diff
original:
- rbx-19mode
updated:
- rbx-2.2.1
- rbx-2.1.1
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
- rbx-head
env:
- COVERALLS=true
matrix:
allow_failures:
- rvm: ruby-head
... | language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-2.2.1
- rbx-2.1.1
- rbx-head
env:
- COVERALLS=true
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-head
- rvm: rbx-2.1.1
- rvm: rbx-2.2.1 | <|file_sep|>.travis.yml.diff
original:
- rbx-19mode
updated:
- rbx-2.2.1
- rbx-2.1.1
<|file_sep|>original/.travis.yml
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
- ruby-head
- jruby-19mode
- jruby-head
- rbx-19mode
- rbx-head
env:
- COVERALLS=true
matrix:
allow_failures:
- rvm: ruby-head
... | b0cdca520927b2f56e8be789500cfff1d2189ce7 | .travis.yml | .travis.yml | YAML |
<|file_sep|>setup.py.diff
original:
test_requirements = ['hypothesis>=3.6.0']
updated:
<|file_sep|>original/setup.py
test_loader = unittest.TestLoader()
# Read in unit tests
test_suite = test_loader.discover('tests')
# Read in doctests from README
test_suite.addTests(doctest.DocFileSuite('README.... | # Read in unit tests
test_suite = test_loader.discover('tests')
# Read in doctests from README
test_suite.addTests(doctest.DocFileSuite('README.md',
optionflags=doctest.ELLIPSIS))
return test_suite
setup(
name='nashpy',
version=__version__,
... | <|file_sep|>setup.py.diff
original:
test_requirements = ['hypothesis>=3.6.0']
updated:
<|file_sep|>original/setup.py
test_loader = unittest.TestLoader()
# Read in unit tests
test_suite = test_loader.discover('tests')
# Read in doctests from README
test_suite.addTests(doctest.DocFileSuite('README.... | 50b2343f8a8c60b647fe254f79a05a5599d97862 | setup.py | setup.py | Python |
<|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.5
updated:
- name: debian-8.6
<|file_sep|>original/.kitchen.yml
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.5
run_list: apt::default
- ... | name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.6
run_list: apt::default
- name: fedora-25
run_list: yum::dnf_yum_compat
- name: ubuntu-12.04
run_list: apt::default
- name: ubuntu-14.04
... | <|file_sep|>.kitchen.yml.diff
original:
- name: debian-8.5
updated:
- name: debian-8.6
<|file_sep|>original/.kitchen.yml
name: chef_zero
platforms:
- name: centos-5.11
- name: centos-6.8
- name: centos-7.2
- name: debian-7.11
run_list: apt::default
- name: debian-8.5
run_list: apt::default
- ... | ed13fcc1bfbb9d202764656977799c55770572a1 | .kitchen.yml | .kitchen.yml | YAML |
<|file_sep|>original/corehq/apps/hqcase/management/commands/delete_cases.py
<|file_sep|>current/corehq/apps/hqcase/management/commands/delete_cases.py
<|file_sep|>updated/corehq/apps/hqcase/management/commands/delete_cases.py | from optparse import make_option
from django.core.management.base import NoArgsCommand, BaseCommand
from couchdbkit import ResourceNotFound
from casexml.apps.case.models import CommCareCase
from dimagi.utils.decorators.memoized import memoized
from dimagi.utils.couch.database import iter_bulk_delete
from corehq.apps.us... | <|file_sep|>original/corehq/apps/hqcase/management/commands/delete_cases.py
<|file_sep|>current/corehq/apps/hqcase/management/commands/delete_cases.py
<|file_sep|>updated/corehq/apps/hqcase/management/commands/delete_cases.py
from optparse import make_option
from django.core.management.base import NoArgsCommand, Base... | f37798800c82a483faab875f7c1081bb8ffab84a | corehq/apps/hqcase/management/commands/delete_cases.py | corehq/apps/hqcase/management/commands/delete_cases.py | Python |
<|file_sep|>original/auditlog/__manifest__.py
'name': "Audit Log",
'version': "9.0.1.0.0",
'author': "ABF OSIELL,Odoo Community Association (OCA)",
'license': "AGPL-3",
'website': "http://www.osiell.com",
'category': "Tools",
'depends': [
'base',
],
'data': [
'securit... | {
'name': "Audit Log",
'version': "9.0.1.0.0",
'author': "ABF OSIELL,Odoo Community Association (OCA)",
'license': "AGPL-3",
'website': "http://www.osiell.com",
'category': "Tools",
'depends': [
'base',
],
'data': [
'security/ir.model.access.csv',
'data/ir_cro... | <|file_sep|>original/auditlog/__manifest__.py
'name': "Audit Log",
'version': "9.0.1.0.0",
'author': "ABF OSIELL,Odoo Community Association (OCA)",
'license': "AGPL-3",
'website': "http://www.osiell.com",
'category': "Tools",
'depends': [
'base',
],
'data': [
'securit... | 536575db87968014f75d2ad68456c3684d6c92de | auditlog/__manifest__.py | auditlog/__manifest__.py | Python |
<|file_sep|>template.py.diff
original:
#
updated:
#
<|file_sep|>template.py.diff
original:
#
updated:
#
<|file_sep|>original/template.py
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software... | #
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#... | <|file_sep|>template.py.diff
original:
#
updated:
#
<|file_sep|>template.py.diff
original:
#
updated:
#
<|file_sep|>original/template.py
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software... | 10be9375fb201d7a271babb81ac25c22c70f219b | template.py | template.py | Python |
<|file_sep|>original/common/predictive-text/unit_tests/in_browser/cases/basic.js
assert.isFunction(LMLayerWorkerCode,
'Could not find LMLayerWorkerCode! Does embedded_worker.js exist?'
);
});
});
describe('Usage within a Web Worker', function () {
it('should install itself in the worker... | it('should exist!', function() {
assert.isFunction(LMLayerWorkerCode,
'Could not find LMLayerWorkerCode! Does embedded_worker.js exist?'
);
});
});
describe('Usage within a Web Worker', function () {
it('should install itself in the worker context', function (done) {
let uri =... | <|file_sep|>original/common/predictive-text/unit_tests/in_browser/cases/basic.js
assert.isFunction(LMLayerWorkerCode,
'Could not find LMLayerWorkerCode! Does embedded_worker.js exist?'
);
});
});
describe('Usage within a Web Worker', function () {
it('should install itself in the worker... | 16fad9e1af064073257d6da90ac592c26eb8ed7f | common/predictive-text/unit_tests/in_browser/cases/basic.js | common/predictive-text/unit_tests/in_browser/cases/basic.js | JavaScript |
<|file_sep|>original/OmetaNotes.txt
<|file_sep|>current/OmetaNotes.txt
<|file_sep|>updated/OmetaNotes.txt | A string match swallows whitespace around it.
Example:
"if" "(" Code ")"
Matches all of
if ( <Code> )
if( <Code> )
if(<Code>)
if ( <Code> )
But
"if (" Code ")"
Matches only the first, and not the second or third of
if (...... // <-- OK
if(....... // <-- FAIL
if (..... // <-- FAIL | <|file_sep|>original/OmetaNotes.txt
<|file_sep|>current/OmetaNotes.txt
<|file_sep|>updated/OmetaNotes.txt
A string match swallows whitespace around it.
Example:
"if" "(" Code ")"
Matches all of
if ( <Code> )
if( <Code> )
if(<Code>)
if ( <Code> )
But
"if (" Code ")"
Matches only the firs... | c467bcaa2a416c72d1bb0a2850f91c4818beb908 | OmetaNotes.txt | OmetaNotes.txt | Text |
<|file_sep|>Source/Fuse.Scripting.JavaScript/Tests/JavaScriptTest.uno.diff
original:
updated:
// NOTE: This test is excluded on MSVC since the compiler used for that target apparently
// don't properly support unicode symbols. We're not using the [Ignore] attribute here
// since that won't exclude the test durin... | Assert.AreEqual("yes", j.text.Value);
}
}
// NOTE: This test is excluded on MSVC since the compiler used for that target apparently
// don't properly support unicode symbols. We're not using the [Ignore] attribute here
// since that won't exclude the test during compilation.
[Test]
//future-proofi... | <|file_sep|>Source/Fuse.Scripting.JavaScript/Tests/JavaScriptTest.uno.diff
original:
updated:
// NOTE: This test is excluded on MSVC since the compiler used for that target apparently
// don't properly support unicode symbols. We're not using the [Ignore] attribute here
// since that won't exclude the test durin... | 682c42dc51aa75b7b149d61d59dfed631b4fd9f3 | Source/Fuse.Scripting.JavaScript/Tests/JavaScriptTest.uno | Source/Fuse.Scripting.JavaScript/Tests/JavaScriptTest.uno | Uno |
<|file_sep|>original/depot/tests/test_rentals.py
<|file_sep|>current/depot/tests/test_rentals.py
<|file_sep|>updated/depot/tests/test_rentals.py | from django.contrib.auth.models import User
from depot.models import Depot, Organization
from rental.models import Rental
from verleihtool.test import ClientTestCase
from datetime import datetime
class RentalsTestCase(ClientTestCase):
def create_rental(self, depot, firstname, lastname, state):
return Ren... | <|file_sep|>original/depot/tests/test_rentals.py
<|file_sep|>current/depot/tests/test_rentals.py
<|file_sep|>updated/depot/tests/test_rentals.py
from django.contrib.auth.models import User
from depot.models import Depot, Organization
from rental.models import Rental
from verleihtool.test import ClientTestCase
from da... | 36c0ff5f5139b5c0277f23d535aa28d597c991a5 | depot/tests/test_rentals.py | depot/tests/test_rentals.py | Python |
<|file_sep|>wats/output_volume_test.go.diff
original:
"time"
updated:
<|file_sep|>wats/output_volume_test.go.diff
original:
Eventually(pushNora(appName), CF_PUSH_TIMEOUT).Should(Succeed())
updated:
Eventually(pushNoraWithOptions(appName, 1, "2g"), CF_PUSH_TIMEOUT).Should(Succeed())
<|file_sep|>original/wats/outp... | Eventually(pushNoraWithOptions(appName, 1, "2g"), CF_PUSH_TIMEOUT).Should(Succeed())
enableDiego(appName)
Eventually(runCf("start", appName), CF_PUSH_TIMEOUT).Should(Succeed())
})
AfterEach(func() {
Eventually(cf.Cf("logs", appName, "--recent")).Should(Exit())
Eventually(cf.Cf("delete", appName, "-f")).Sho... | <|file_sep|>wats/output_volume_test.go.diff
original:
"time"
updated:
<|file_sep|>wats/output_volume_test.go.diff
original:
Eventually(pushNora(appName), CF_PUSH_TIMEOUT).Should(Succeed())
updated:
Eventually(pushNoraWithOptions(appName, 1, "2g"), CF_PUSH_TIMEOUT).Should(Succeed())
<|file_sep|>original/wats/outp... | 71090408d2fec35bdd4f35a0c3155262c8fd205b | wats/output_volume_test.go | wats/output_volume_test.go | Go |
<|file_sep|>original/package.json
"main": "app/index.js",
"repository": {
"type": "git",
"url": "git://github.com/davidpustai/generator-web-project.git"
},
"dependencies": {
"yeoman-generator": "~0.14.0"
},
"peerDependencies": {
"yo": ">=1.0.0"
},
"engines": {
"node": ">=5.0.0",
... | "name": "David Pustai",
"email": "david@pustai.cz",
"url": "https://github.com/davidpustai"
},
"main": "app/index.js",
"repository": {
"type": "git",
"url": "git://github.com/davidpustai/generator-web-project.git"
},
"dependencies": {
"yeoman-generator": "~0.14.0"
},
"peerDependenc... | <|file_sep|>original/package.json
"main": "app/index.js",
"repository": {
"type": "git",
"url": "git://github.com/davidpustai/generator-web-project.git"
},
"dependencies": {
"yeoman-generator": "~0.14.0"
},
"peerDependencies": {
"yo": ">=1.0.0"
},
"engines": {
"node": ">=5.0.0",
... | b552ff7df48eb74252af66cc1e9df4e27553c374 | package.json | package.json | JSON |
<|file_sep|>original/pkgs/applications/networking/browsers/chromium/sources.nix
# This file is autogenerated from update.sh in the same directory.
{
dev = {
version = "28.0.1500.5";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-28.0.1500.5.tar.xz";
sha256 = "1jpjmqag875... | # This file is autogenerated from update.sh in the same directory.
{
dev = {
version = "28.0.1500.11";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-28.0.1500.11.tar.xz";
sha256 = "1gnm803y7da7n4c3awh77vmsb0f4d8czs9svgqvvwk9bb7d1kc65";
};
beta = {
version = "27.... | <|file_sep|>original/pkgs/applications/networking/browsers/chromium/sources.nix
# This file is autogenerated from update.sh in the same directory.
{
dev = {
version = "28.0.1500.5";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-28.0.1500.5.tar.xz";
sha256 = "1jpjmqag875... | 25b4b5aeb41d0b506bd51a9928acc882a2fc35d9 | pkgs/applications/networking/browsers/chromium/sources.nix | pkgs/applications/networking/browsers/chromium/sources.nix | Nix |
<|file_sep|>original/css/ibm-cds.css
/*
General
*/
@font-face {
font-family: "LubalinDemiIBM";
src: url("/static/ibm.woff") format("woff"); }
body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #222222; }
h1 {
font-family: "LubalinDemiIBM" !important; }
a {
color: #00649D; }
a... | /*
General
*/
@font-face {
font-family: "LubalinDemiIBM";
src: url("../static/ibm.woff") format("woff"); }
body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #222222; }
h1 {
font-family: "LubalinDemiIBM" !important; }
a {
color: #00649D; }
a :visited {
color: #53049C; }
... | <|file_sep|>original/css/ibm-cds.css
/*
General
*/
@font-face {
font-family: "LubalinDemiIBM";
src: url("/static/ibm.woff") format("woff"); }
body {
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
color: #222222; }
h1 {
font-family: "LubalinDemiIBM" !important; }
a {
color: #00649D; }
a... | 39b645ad32b3fc92b4981d18187f80039dd8feaa | css/ibm-cds.css | css/ibm-cds.css | CSS |
<|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml | # Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/java
trigger:
- master
pool:
vmImage: 'Ubuntu-18.04'
steps:
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
... | <|file_sep|>original/azure-pipelines.yml
<|file_sep|>current/azure-pipelines.yml
<|file_sep|>updated/azure-pipelines.yml
# Maven
# Build your Java project and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languag... | 2faa69101f0cbfe20d95dd9bcdfadf794e8b060a | azure-pipelines.yml | azure-pipelines.yml | YAML |
<|file_sep|>public/Pull.js.diff
original:
updated:
html_url: function() {
return 'https://github.com/' + this.head.repo.owner.login + '/' + this.head.repo.name + '/pull/' + this.number;
},
<|file_sep|>original/public/Pull.js
define(['underscore'], function(_) {
var constructor = function(data)... | _.extend(this, data);
};
_.extend(constructor.prototype, {
html_url: function() {
return 'https://github.com/' + this.head.repo.owner.login + '/' + this.head.repo.name + '/pull/' + this.number;
},
update: function(data) {
_.extend(this, data);
},
dev_blocke... | <|file_sep|>public/Pull.js.diff
original:
updated:
html_url: function() {
return 'https://github.com/' + this.head.repo.owner.login + '/' + this.head.repo.name + '/pull/' + this.number;
},
<|file_sep|>original/public/Pull.js
define(['underscore'], function(_) {
var constructor = function(data)... | 3b83426e42ba048e96f95bc9fb3019e8bade4f4a | public/Pull.js | public/Pull.js | JavaScript |
<|file_sep|>original/app/Http/Controllers/GroupsController.php
// See the LICENCE file in the repository root for full licence text.
namespace App\Http\Controllers;
use App\Transformers\UserCompactTransformer;
class GroupsController extends Controller
{
public function show($id)
{
$group = app('group... | // See the LICENCE file in the repository root for full licence text.
namespace App\Http\Controllers;
use App\Transformers\UserCompactTransformer;
class GroupsController extends Controller
{
public function show($id)
{
$group = app('groups')->byId(get_int($id));
abort_if($group === null || !$... | <|file_sep|>original/app/Http/Controllers/GroupsController.php
// See the LICENCE file in the repository root for full licence text.
namespace App\Http\Controllers;
use App\Transformers\UserCompactTransformer;
class GroupsController extends Controller
{
public function show($id)
{
$group = app('group... | 1563e88a267fca5e7c11a046e31bd0035189fcff | app/Http/Controllers/GroupsController.php | app/Http/Controllers/GroupsController.php | PHP |
<|file_sep|>docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md.diff
original:
├── Readme.html
updated:
├── readme.html
<|file_sep|>original/docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md
The purpose of this document is to specify conventions for the target artifact ... | **Structure:**
```
<target-artifact-name>.zip
├── readme.html
├── docs/
└── output/
└── scripts/
```
## Must have
- `readme.html` - a Readme file in the root folder of the target artifact is mandatory. It holds the basic information of the target artifact. A readme file must contain at least the following sections... | <|file_sep|>docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md.diff
original:
├── Readme.html
updated:
├── readme.html
<|file_sep|>original/docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md
The purpose of this document is to specify conventions for the target artifact ... | aa8ddb02a50646d72cf60e4633b605f48e2c0a83 | docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md | docs/dev/plugins/target-artifact-conventions/target-artifact-conventions.md | Markdown |
<|file_sep|>server.py.diff
original:
updated:
import os
<|file_sep|>original/server.py
import http.server
PORT = 8000
HOST = "127.0.0.1"
# This will display the site at `http://localhost:8000/`
server_address = (HOST, PORT)
# The CGIHTTPRequestHandler class allows us to run the cgi script in /cgi-bin/
# Rather than... | import os
import http.server
PORT = int(os.environ.get("PORT", 8000))
HOST = "127.0.0.1"
# This will display the site at `http://localhost:8000/`
server_address = (HOST, PORT)
# The CGIHTTPRequestHandler class allows us to run the cgi script in /cgi-bin/
# Rather than attempt to display the cgi file itself, which a ... | <|file_sep|>server.py.diff
original:
updated:
import os
<|file_sep|>original/server.py
import http.server
PORT = 8000
HOST = "127.0.0.1"
# This will display the site at `http://localhost:8000/`
server_address = (HOST, PORT)
# The CGIHTTPRequestHandler class allows us to run the cgi script in /cgi-bin/
# Rather than... | 3a3adca2e5462a98c70a8624f880e35e497e5acc | server.py | server.py | Python |
<|file_sep|>original/docker-compose.yml
web:
# For x86:
#image: node:onbuild
# For Arm / Raspberry:
hypriot/rpi-node:onbuild
volumes:
- .:/usr/src/app
ports:
- "5000:5000"
<|file_sep|>current/docker-compose.yml
web:
# For x86:
#image: node:onbuild
# For Arm / Raspberry:
hypriot/rpi-node:onbu... | web:
# For x86:
#image: node:onbuild
# For Arm / Raspberry:
image: hypriot/rpi-node:onbuild
volumes:
- .:/usr/src/app
ports:
- "5000:5000" | <|file_sep|>original/docker-compose.yml
web:
# For x86:
#image: node:onbuild
# For Arm / Raspberry:
hypriot/rpi-node:onbuild
volumes:
- .:/usr/src/app
ports:
- "5000:5000"
<|file_sep|>current/docker-compose.yml
web:
# For x86:
#image: node:onbuild
# For Arm / Raspberry:
hypriot/rpi-node:onbu... | ae1fffa2b31b1b3a1d53380047a35fd5f75c5ea2 | docker-compose.yml | docker-compose.yml | YAML |
<|file_sep|>original/Scripted/CIP_/CIP/ui/__init__.py
from .CIP_EditorWidget import CIP_EditorWidget
from .CIP_EditBox import *
from .CaseReportsWidget import *
from .PreProcessingWidget import *
from .MIPViewerWidget import *
from .CollapsibleMultilineText import *
from .PdfReporter import *
#from ACIL_GetImage.CaseNa... | # from .CIP_EditorWidget import CIP_EditorWidget
# from .CIP_EditBox import *
from .CaseReportsWidget import *
from .PreProcessingWidget import *
from .MIPViewerWidget import *
from .CollapsibleMultilineText import *
from .PdfReporter import *
#from ACIL_GetImage.CaseNavigatorWidget import *
#from AutoUpdateWidget impo... | <|file_sep|>original/Scripted/CIP_/CIP/ui/__init__.py
from .CIP_EditorWidget import CIP_EditorWidget
from .CIP_EditBox import *
from .CaseReportsWidget import *
from .PreProcessingWidget import *
from .MIPViewerWidget import *
from .CollapsibleMultilineText import *
from .PdfReporter import *
#from ACIL_GetImage.CaseNa... | e2ffc3d09157a0bfba4a0bcaca98691d99d04d77 | Scripted/CIP_/CIP/ui/__init__.py | Scripted/CIP_/CIP/ui/__init__.py | Python |
<|file_sep|>Sandra.UI.WF/Storage/CompactSettingWriter.cs.diff
original:
updated:
using System.Globalization;
<|file_sep|>original/Sandra.UI.WF/Storage/CompactSettingWriter.cs
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permiss... | using System.Globalization;
using System.Text;
namespace Sandra.UI.WF.Storage
{
/// <summary>
/// Used by <see cref="AutoSave"/> to convert a <see cref="PMap"/> to its compact representation in JSON.
/// </summary>
internal class CompactSettingWriter : PValueVisitor
{
private readonly Strin... | <|file_sep|>Sandra.UI.WF/Storage/CompactSettingWriter.cs.diff
original:
updated:
using System.Globalization;
<|file_sep|>original/Sandra.UI.WF/Storage/CompactSettingWriter.cs
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permiss... | e2547bf67be535fbb28cb252c17e46acb5e02030 | Sandra.UI.WF/Storage/CompactSettingWriter.cs | Sandra.UI.WF/Storage/CompactSettingWriter.cs | C# |
<|file_sep|>original/src/ports/SkMemory_mozalloc.cpp
<|file_sep|>current/src/ports/SkMemory_mozalloc.cpp
<|file_sep|>updated/src/ports/SkMemory_mozalloc.cpp | /*
* Copyright 2011 Google Inc.
* Copyright 2012 Mozilla Foundation
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTypes.h"
#include "mozilla/mozalloc.h"
#include "mozilla/mozalloc_abort.h"
#include "mozilla/mozalloc_oom.h"
void sk_throw()... | <|file_sep|>original/src/ports/SkMemory_mozalloc.cpp
<|file_sep|>current/src/ports/SkMemory_mozalloc.cpp
<|file_sep|>updated/src/ports/SkMemory_mozalloc.cpp
/*
* Copyright 2011 Google Inc.
* Copyright 2012 Mozilla Foundation
*
* Use of this source code is governed by a BSD-style license that can be
* found in th... | 70e875a76998ad02988c9d1e39ac6f6df579815f | src/ports/SkMemory_mozalloc.cpp | src/ports/SkMemory_mozalloc.cpp | C++ |
<|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
# Important to specify the simulator SDK, otherwise Travis CI will attempt to
# build for the real iPhone and fail due to code-signing issues.
# See https://docs.travis-ci.com/user/languages/objective-c for details.
xcode_sdk: iphonesimulator
be... | language: objective-c
osx_image: xcode8
# Important to specify the simulator SDK, otherwise Travis CI will attempt to
# build for the real iPhone and fail due to code-signing issues.
# See https://docs.travis-ci.com/user/languages/objective-c for details.
xcode_sdk: iphonesimulator
before_install:
- brew update
-... | <|file_sep|>original/.travis.yml
language: objective-c
osx_image: xcode8
# Important to specify the simulator SDK, otherwise Travis CI will attempt to
# build for the real iPhone and fail due to code-signing issues.
# See https://docs.travis-ci.com/user/languages/objective-c for details.
xcode_sdk: iphonesimulator
be... | f9e75e250998e209015e56198210ec8abbafae9d | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/db/migrate/20110512084959_add_entities.rb
<|file_sep|>current/db/migrate/20110512084959_add_entities.rb
<|file_sep|>updated/db/migrate/20110512084959_add_entities.rb | class AddEntities < ActiveRecord::Migration
def self.up
#Add entity information for current enities like person, item etc.
people = Person.all
items = Item.all
people.each do |person|
Entity.create!(:entity_type_id => 1, :specific_entity_id => person.id)
end
items.each do |item|
Ent... | <|file_sep|>original/db/migrate/20110512084959_add_entities.rb
<|file_sep|>current/db/migrate/20110512084959_add_entities.rb
<|file_sep|>updated/db/migrate/20110512084959_add_entities.rb
class AddEntities < ActiveRecord::Migration
def self.up
#Add entity information for current enities like person, item etc.
... | 61be5801208951f49fd9980f65b177b543c292c4 | db/migrate/20110512084959_add_entities.rb | db/migrate/20110512084959_add_entities.rb | Ruby |
<|file_sep|>original/app/controllers/random_controller.rb
class RandomController < MyplaceonlineController
skip_authorization_check :only => MyplaceonlineController::DEFAULT_SKIP_AUTHORIZATION_CHECK + [:activity]
def index
end
def activity
if request.method != "GET"
candidates = Array.new
ca... | class RandomController < MyplaceonlineController
skip_authorization_check :only => MyplaceonlineController::DEFAULT_SKIP_AUTHORIZATION_CHECK + [:activity]
def index
end
def activity
identity = current_user.primary_identity
candidates = Array.new
candidates = candidates + identity.activities.to_a... | <|file_sep|>original/app/controllers/random_controller.rb
class RandomController < MyplaceonlineController
skip_authorization_check :only => MyplaceonlineController::DEFAULT_SKIP_AUTHORIZATION_CHECK + [:activity]
def index
end
def activity
if request.method != "GET"
candidates = Array.new
ca... | ac1d84ab33754e49de30c9b410f70b49ad8f84bd | app/controllers/random_controller.rb | app/controllers/random_controller.rb | Ruby |
<|file_sep|>original/.travis.yml
- LISP=ccl
- LISP=ecl
- LISP=abcl
- LISP=clisp
# - LISP=allegro
# - LISP=sbcl32
# - lisp=ccl32
# - LISP=cmucl
matrix:
fast_finish: true
allow_failures:
- env: LISP=clisp
# - env: LISP=sbcl32
# - env: LISP=ccl32
# - env: LISP=cmucl
n... | - LISP=ccl
- LISP=ecl
- LISP=abcl
- LISP=clisp
# - LISP=allegro
# - LISP=sbcl32
# - lisp=ccl32
# - LISP=cmucl
jobs:
fast_finish: true
allow_failures:
- env: LISP=clisp
# - env: LISP=sbcl32
# - env: LISP=ccl32
# - env: LISP=cmucl
notifications:
email:
on_succe... | <|file_sep|>original/.travis.yml
- LISP=ccl
- LISP=ecl
- LISP=abcl
- LISP=clisp
# - LISP=allegro
# - LISP=sbcl32
# - lisp=ccl32
# - LISP=cmucl
matrix:
fast_finish: true
allow_failures:
- env: LISP=clisp
# - env: LISP=sbcl32
# - env: LISP=ccl32
# - env: LISP=cmucl
n... | a40f52aebe4510e3df3fb0b621e81c757b9f3b26 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/.travis.yml
include:
- python: 2.6
env: TOXENV=python2.6
- python: 2.7
env: TOXENV=python2.7
- python: 3.3
env: TOXENV=python3.3
- python: 3.4
env: TOXENV=python3.4
- python: 3.5
env: TOXENV=python3.5
os:
- linux
install:
- pip install tox
... | env: TOXENV=python2.7
- python: 3.3
env: TOXENV=python3.3
- python: 3.4
env: TOXENV=python3.4
- python: 3.5
env: TOXENV=python3.5
os:
- linux
install:
- pip install tox
- pip install thutils
script:
- tox
notifications:
slack:
secure: LqMd2Ddk+yY3pyRumasqMH3cpRrD0h... | <|file_sep|>original/.travis.yml
include:
- python: 2.6
env: TOXENV=python2.6
- python: 2.7
env: TOXENV=python2.7
- python: 3.3
env: TOXENV=python3.3
- python: 3.4
env: TOXENV=python3.4
- python: 3.5
env: TOXENV=python3.5
os:
- linux
install:
- pip install tox
... | 281ddfad92598c34d894b34681710c2ff60c0bf5 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.rst
Usage
-----
`everlytic.api` contains functions for subscribing and unsubscribing to a
mailing list. A local everlytic profile is stored to keep track of the
member id on everlytic.
Settings
********
The following settings must be added to settings.py:
::
EVERLYTIC = {
'URL... | ***************
- xmlrpclib
Usage
-----
`everlytic.api` contains functions for subscribing and unsubscribing to a
mailing list. A local everlytic profile is stored to keep track of the
member id on everlytic.
Settings
********
The following settings must be added to settings.py:
::
EVERLYTIC = {
'URL': '... | <|file_sep|>original/README.rst
Usage
-----
`everlytic.api` contains functions for subscribing and unsubscribing to a
mailing list. A local everlytic profile is stored to keep track of the
member id on everlytic.
Settings
********
The following settings must be added to settings.py:
::
EVERLYTIC = {
'URL... | 74fd69028af0c2a20bbd9012a49cb6cf86fabc5e | README.rst | README.rst | reStructuredText |
<|file_sep|>original/packages/ac/acme-cuteboy.yaml
<|file_sep|>current/packages/ac/acme-cuteboy.yaml
<|file_sep|>updated/packages/ac/acme-cuteboy.yaml | homepage: https://github.com/chessai/acme-cuteboy
changelog-type: markdown
hash: 131d151f30d358ccced05d971a783baf8e97145959ce1ef922ca6bc73efc2601
test-bench-deps: {}
maintainer: chessai1996@gmail.com
synopsis: Maybe gives you a cute boy
changelog: ! '# Revision history for acme-cuteboy
## 0.1.0.0 -- YYYY-mm-dd
... | <|file_sep|>original/packages/ac/acme-cuteboy.yaml
<|file_sep|>current/packages/ac/acme-cuteboy.yaml
<|file_sep|>updated/packages/ac/acme-cuteboy.yaml
homepage: https://github.com/chessai/acme-cuteboy
changelog-type: markdown
hash: 131d151f30d358ccced05d971a783baf8e97145959ce1ef922ca6bc73efc2601
test-bench-deps: {}
m... | 2094eb61f8de6f3a1ad27d9b3744df540cf967aa | packages/ac/acme-cuteboy.yaml | packages/ac/acme-cuteboy.yaml | YAML |
<|file_sep|>into/backends/tests/test_spark.py.diff
original:
from into import into
updated:
from into import into, discover
<|file_sep|>original/into/backends/tests/test_spark.py
import pytest
from into import into
from pyspark import RDD
data = [['Alice', 100.0, 1],
['Bob', 200.0, 2],
['Alice', 50.0,... | from pyspark import RDD
data = [['Alice', 100.0, 1],
['Bob', 200.0, 2],
['Alice', 50.0, 3]]
@pytest.fixture
def rdd(sc):
return sc.parallelize(data)
def test_spark_into(rdd):
seq = [1, 2, 3]
assert isinstance(into(rdd, seq), RDD)
assert into([], into(rdd, seq)) == seq
def test_di... | <|file_sep|>into/backends/tests/test_spark.py.diff
original:
from into import into
updated:
from into import into, discover
<|file_sep|>original/into/backends/tests/test_spark.py
import pytest
from into import into
from pyspark import RDD
data = [['Alice', 100.0, 1],
['Bob', 200.0, 2],
['Alice', 50.0,... | ec2a18c8da029aadb7bc853c73dc6e1484ddac3b | into/backends/tests/test_spark.py | into/backends/tests/test_spark.py | Python |
<|file_sep|>original/bxamp.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'bxamp/version'
Gem::Specification.new do |gem|
gem.name = "bxamp"
gem.version = Bxamp::VERSION
gem.authors = ["Rafael Georg... |
Gem::Specification.new do |gem|
gem.name = "bxamp"
gem.version = Bxamp::VERSION
gem.authors = ["Rafael George"]
gem.email = ["george.rafael@gmail.com"]
gem.description = %q{Wrapper for the new Basecamp API}
gem.summary = %q{Wrapper for the new Basecamp API}
gem.homepa... | <|file_sep|>original/bxamp.gemspec
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'bxamp/version'
Gem::Specification.new do |gem|
gem.name = "bxamp"
gem.version = Bxamp::VERSION
gem.authors = ["Rafael Georg... | 6feb6b06158f024d040bf93994d5632017930cc1 | bxamp.gemspec | bxamp.gemspec | Ruby |
<|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml | language: scala
scala:
- 2.11.5
install:
# scala install
- wget www.scala-lang.org/files/archive/scala-2.11.1.deb
- sudo dpkg -i scala-2.11.1.deb
- sudo apt-get install scala
# - git clone --depth=1 https://github.com/amanjpro/sana.git /tmp/sana
# - export PATH=$PATH:/tmp/casperjs/bin
cache:
director... | <|file_sep|>original/.travis.yml
<|file_sep|>current/.travis.yml
<|file_sep|>updated/.travis.yml
language: scala
scala:
- 2.11.5
install:
# scala install
- wget www.scala-lang.org/files/archive/scala-2.11.1.deb
- sudo dpkg -i scala-2.11.1.deb
- sudo apt-get install scala
# - git clone --depth=1 https://... | b01c6e29b1c3416a491e61e64e506011f8b4f70c | .travis.yml | .travis.yml | YAML |
<|file_sep|>types/react-input-mask/react-input-mask-tests.tsx.diff
original:
updated:
let ref: HTMLInputElement | null = null;
<|file_sep|>original/types/react-input-mask/react-input-mask-tests.tsx
import ReactInputMask from 'react-input-mask';
import * as React from 'react';
<div>
<ReactInputMask mask="+4\9 99 ... | import ReactInputMask from 'react-input-mask';
import * as React from 'react';
let ref: HTMLInputElement | null = null;
<div>
<ReactInputMask mask="+4\9 99 999 99" maskChar={null} />
<ReactInputMask mask="+7 (999) 999-99-99" />
<ReactInputMask mask="99-99-9999" defaultValue= "13-00-2017" />
<ReactInpu... | <|file_sep|>types/react-input-mask/react-input-mask-tests.tsx.diff
original:
updated:
let ref: HTMLInputElement | null = null;
<|file_sep|>original/types/react-input-mask/react-input-mask-tests.tsx
import ReactInputMask from 'react-input-mask';
import * as React from 'react';
<div>
<ReactInputMask mask="+4\9 99 ... | edf2bd560299c4033cf2e3ff19f75fd0e082655b | types/react-input-mask/react-input-mask-tests.tsx | types/react-input-mask/react-input-mask-tests.tsx | TypeScript |
<|file_sep|>original/cmd/registry/config-example.yml
version: 0.1
log:
fields:
service: registry
storage:
cache:
layerinfo: inmemory
filesystem:
rootdirectory: /var/lib/registry
maintenance:
uploadpurging:
enabled: false
http:
addr: :5000
<|file_sep|>current/cmd... | version: 0.1
log:
fields:
service: registry
storage:
cache:
layerinfo: inmemory
filesystem:
rootdirectory: /var/lib/registry
maintenance:
uploadpurging:
enabled: true
http:
addr: :5000 | <|file_sep|>original/cmd/registry/config-example.yml
version: 0.1
log:
fields:
service: registry
storage:
cache:
layerinfo: inmemory
filesystem:
rootdirectory: /var/lib/registry
maintenance:
uploadpurging:
enabled: false
http:
addr: :5000
<|file_sep|>current/cmd... | 4f69ca2c07c158840bf1a06ba3eecca49c3ec496 | cmd/registry/config-example.yml | cmd/registry/config-example.yml | YAML |
<|file_sep|>original/requirements.txt
dnspython==1.12.0
enum34==1.0.4
pyasn1==0.1.8
pyasn1-modules==0.0.7
rdflib==4.2.0
git+https://github.com/rerobins/SleekXMPP.git@2df6552dea855dc3ec1ae97da21276f462af9e47#egg=sleekxmpp-1.4.0.dev0
coverage==3.7.1
mock==1.3.0
<|file_sep|>current/requirements.txt
dnspython==1.12.0
enum3... | dnspython==1.12.0
enum34==1.0.4
pyasn1==0.1.8
pyasn1-modules==0.0.7
rdflib==4.2.0
git+https://github.com/rerobins/SleekXMPP.git@a09f54eeb7d50797518f66410c2be1d091995421#egg=sleekxmpp-1.4.0.dev0
coverage==3.7.1
mock==1.3.0 | <|file_sep|>original/requirements.txt
dnspython==1.12.0
enum34==1.0.4
pyasn1==0.1.8
pyasn1-modules==0.0.7
rdflib==4.2.0
git+https://github.com/rerobins/SleekXMPP.git@2df6552dea855dc3ec1ae97da21276f462af9e47#egg=sleekxmpp-1.4.0.dev0
coverage==3.7.1
mock==1.3.0
<|file_sep|>current/requirements.txt
dnspython==1.12.0
enum3... | 818a99d42a16c80e155d5574aeb8128e6a754526 | requirements.txt | requirements.txt | Text |
<|file_sep|>lib/rules/no-duplicate-properties.js.diff
original:
updated:
var selectorHelpers = require('../selector-helpers');
<|file_sep|>original/lib/rules/no-duplicate-properties.js
items.push(declaration);
});
items.reverse();
items.forEach(function (declaration) {
warnMessage =... | block.eachFor('declaration', function (declaration) {
items.push(declaration);
});
items.reverse();
items.forEach(function (declaration) {
warnMessage = false;
declaration.eachFor('property', function (item) {
var property = '';
item.content.forEach... | <|file_sep|>lib/rules/no-duplicate-properties.js.diff
original:
updated:
var selectorHelpers = require('../selector-helpers');
<|file_sep|>original/lib/rules/no-duplicate-properties.js
items.push(declaration);
});
items.reverse();
items.forEach(function (declaration) {
warnMessage =... | 4180e344fac5e2dc6e15499c83632d39f583fb10 | lib/rules/no-duplicate-properties.js | lib/rules/no-duplicate-properties.js | JavaScript |
<|file_sep|>original/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch
<|file_sep|>current/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch
<|file_sep|>updated/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.pa... | From 807ef0caaf4a436b5a07e133736660fae9d91347 Mon Sep 17 00:00:00 2001
From: Robert Lehmann <robert.lehmann@sitec-systems.de>
Date: Wed, 4 Oct 2017 10:58:50 +0200
Subject: [PATCH] CMakeLists: Fix boost-python3 find routine
---
device/iothub_client_python/CMakeLists.txt | 2 +-
service/CMakeLists.txt ... | <|file_sep|>original/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch
<|file_sep|>current/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch
<|file_sep|>updated/recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.pa... | d80b39d2ff1226b1e18f1caa0cb943e61da5b4eb | recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch | recipes-azure/azure-iot-sdk/files/0003-CMakeLists-Fix-boost-python3-find-routine.patch | Diff |
<|file_sep|>original/tests/ui/requirements.txt
fxapom==1.10.0
PyJWT==1.4.2
PyPOM==1.1.1
pytest==3.0.7
pytest-instafail==0.3.0
pytest-selenium==1.9.1
pytest-variables==1.5.1
pytest-xdist==1.15.0
selenium==3.3.1
<|file_sep|>current/tests/ui/requirements.txt
fxapom==1.10.0
PyJWT==1.4.2
PyPOM==1.1.1
pytest==3.0.7
pytest-in... | fxapom==1.10.0
PyJWT==1.4.2
PyPOM==1.1.1
pytest==3.0.7
pytest-instafail==0.3.0
pytest-selenium==1.9.1
pytest-variables==1.5.1
pytest-xdist==1.15.0
selenium==3.3.3 | <|file_sep|>original/tests/ui/requirements.txt
fxapom==1.10.0
PyJWT==1.4.2
PyPOM==1.1.1
pytest==3.0.7
pytest-instafail==0.3.0
pytest-selenium==1.9.1
pytest-variables==1.5.1
pytest-xdist==1.15.0
selenium==3.3.1
<|file_sep|>current/tests/ui/requirements.txt
fxapom==1.10.0
PyJWT==1.4.2
PyPOM==1.1.1
pytest==3.0.7
pytest-in... | bcd088c3c74dacb2579998d1fba26a78eb3b3564 | tests/ui/requirements.txt | tests/ui/requirements.txt | Text |
<|file_sep|>original/src/modules/search/actions.js
import {createAction} from 'redux-actions';
import values from 'lodash/values';
import {SearchActions, MAX_SUGGESTION_COUNT} from './constants';
import {Action} from '../common/constants';
import {UnitServices} from '../unit/constants';
export const clearSearch = () =... | import {createAction} from 'redux-actions';
import values from 'lodash/values';
import {SearchActions, MAX_SUGGESTION_COUNT} from './constants';
import {Action} from '../common/constants';
import {UnitServices} from '../service/constants';
export const clearSearch = () =>
createAction(SearchActions.CLEAR)();
export... | <|file_sep|>original/src/modules/search/actions.js
import {createAction} from 'redux-actions';
import values from 'lodash/values';
import {SearchActions, MAX_SUGGESTION_COUNT} from './constants';
import {Action} from '../common/constants';
import {UnitServices} from '../unit/constants';
export const clearSearch = () =... | 30ffc039c0d944f3d12770511e887613527ed9f5 | src/modules/search/actions.js | src/modules/search/actions.js | JavaScript |
<|file_sep|>original/app/views/pages/about.html.erb
<% content_for :title do %>About<% end %>
<h3>About Foobar Kadigan</h3>
<p>He was born in Waikikamukau, New Zealand. He left New Zealand for England, excelled at the University of Mopery, and served in the Royal Loamshire Regiment. While in service, he invented the ka... | <% content_for :title do %>About<% end %>
<section>
<div class="container jumbotron">
<div class="row">
<div class="col-md-12">
<h2>About Foobar Kadigan</h2>
<p>He was born in Waikikamukau, New Zealand. He left New Zealand for England, excelled at the University of Mopery, and served in the Royal Loamshir... | <|file_sep|>original/app/views/pages/about.html.erb
<% content_for :title do %>About<% end %>
<h3>About Foobar Kadigan</h3>
<p>He was born in Waikikamukau, New Zealand. He left New Zealand for England, excelled at the University of Mopery, and served in the Royal Loamshire Regiment. While in service, he invented the ka... | 4a48fedc267ef9c2705050edd6998739a974d5c1 | app/views/pages/about.html.erb | app/views/pages/about.html.erb | HTML+ERB |
<|file_sep|>original/src/index.js
/* @flow */
import React from 'react'
import {
curry,
compose,
Either,
map,
merge,
prop,
sequence,
update
} from './utils/'
const { Right, Left } = Either
const makePredicate = ([predFn, e]) => a => predFn(a) ? Right(a) : Left(e)
const runPredicates = ([input, validat... | /* @flow */
import {
curry,
compose,
Either,
map,
merge,
prop,
sequence,
update
} from './utils/'
const { Right, Left } = Either
const makePredicate = ([predFn, e]) => a => predFn(a) ? Right(a) : Left(e)
const runPredicates = ([input, validations]) =>
map(predFn => predFn(input), map(makePredicate, ... | <|file_sep|>original/src/index.js
/* @flow */
import React from 'react'
import {
curry,
compose,
Either,
map,
merge,
prop,
sequence,
update
} from './utils/'
const { Right, Left } = Either
const makePredicate = ([predFn, e]) => a => predFn(a) ? Right(a) : Left(e)
const runPredicates = ([input, validat... | 5fbe935b74e7deb955b320f6ac916d44c3abf4f9 | src/index.js | src/index.js | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.