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/requirements.txt
molo.core==4.0.1
molo.profiles==2.1.2
molo.commenting==2.0.1
molo.yourwords==2.0.0
molo.servicedirectory==2.1.4
molo.surveys==2.0.0
redis
elasticsearch==1.7.0
django-modelcluster>=2.0,<3.0
psycopg2
gunicorn
django_compressor==2.0
celery<4.0
django-google-analytics-app==2.1.4
<|file... | molo.core==4.0.2
molo.profiles==2.1.2
molo.commenting==2.0.1
molo.yourwords==2.0.0
molo.servicedirectory==2.1.4
molo.surveys==2.0.0
redis
elasticsearch==1.7.0
django-modelcluster>=2.0,<3.0
psycopg2
gunicorn
django_compressor==2.0
celery<4.0
django-google-analytics-app==2.1.4 | <|file_sep|>original/requirements.txt
molo.core==4.0.1
molo.profiles==2.1.2
molo.commenting==2.0.1
molo.yourwords==2.0.0
molo.servicedirectory==2.1.4
molo.surveys==2.0.0
redis
elasticsearch==1.7.0
django-modelcluster>=2.0,<3.0
psycopg2
gunicorn
django_compressor==2.0
celery<4.0
django-google-analytics-app==2.1.4
<|file... | 148a4818a5fcf659fcde1113b1a6c544e9ce3ae3 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/package.json
{
"name": "react-script-loader",
"version": "0.0.1",
"main": "ReactScriptLoader.js",
"engines": {
"node": "0.10.x"
},
"repository": {
"type": "git",
"url": "https://github.com/yariv/ReactScriptLoader.git"
},
"license": "MIT",
"author": {
"name": "Yariv... | {
"name": "react-script-loader",
"version": "0.0.1",
"main": "ReactScriptLoader.js",
"engines": {
"node": ">=0.10.x"
},
"repository": {
"type": "git",
"url": "https://github.com/yariv/ReactScriptLoader.git"
},
"license": "MIT",
"author": {
"name": "Yariv Sadan"
}
} | <|file_sep|>original/package.json
{
"name": "react-script-loader",
"version": "0.0.1",
"main": "ReactScriptLoader.js",
"engines": {
"node": "0.10.x"
},
"repository": {
"type": "git",
"url": "https://github.com/yariv/ReactScriptLoader.git"
},
"license": "MIT",
"author": {
"name": "Yariv... | 9f8d43f26b180f1c4e72d707a9cfe61344d79170 | package.json | package.json | JSON |
<|file_sep|>metadata/io.github.hidroh.materialistic.txt.diff
original:
updated:
Build:3.1,66
commit=66
subdir=app
gradle=yes
<|file_sep|>original/metadata/io.github.hidroh.materialistic.txt
gradle=yes
Build:3.1,62
commit=62
subdir=app
gradle=yes
Build:3.1,63
commit=63
subdir=app
... | gradle=yes
Build:3.1,63
commit=63
subdir=app
gradle=yes
Build:3.1,65
commit=65
subdir=app
gradle=yes
Build:3.1,66
commit=66
subdir=app
gradle=yes
Auto Update Mode:Version %c
Update Check Mode:Tags
Current Version:3.1
Current Version Code:66 | <|file_sep|>metadata/io.github.hidroh.materialistic.txt.diff
original:
updated:
Build:3.1,66
commit=66
subdir=app
gradle=yes
<|file_sep|>original/metadata/io.github.hidroh.materialistic.txt
gradle=yes
Build:3.1,62
commit=62
subdir=app
gradle=yes
Build:3.1,63
commit=63
subdir=app
... | 2787c56cb9c1f6a4ba1e02939d451926ae03d5a0 | metadata/io.github.hidroh.materialistic.txt | metadata/io.github.hidroh.materialistic.txt | Text |
<|file_sep|>original/package.json
"dependencies": {
"async": "^0.9.0",
"body-parser": "^1.11.0",
"cookie-parser": "^1.3.3",
"errorhandler": "^1.3.3",
"express": "^4.13.3",
"jade": "^1.11.0",
"method-override": "^2.3.1",
"multer": "^0.1.7",
"nan": "^2.0.9",
"nan-check": "0.0.2",... | "dependencies": {
"async": "^0.9.0",
"body-parser": "^1.11.0",
"cookie-parser": "^1.3.3",
"errorhandler": "^1.3.3",
"express": "^4.13.3",
"jade": "^1.11.0",
"method-override": "^2.3.1",
"multer": "^0.1.7",
"nan": "^2.0.9",
"nan-check": "0.0.3",
"nan-marshal": "0.0.2",
"... | <|file_sep|>original/package.json
"dependencies": {
"async": "^0.9.0",
"body-parser": "^1.11.0",
"cookie-parser": "^1.3.3",
"errorhandler": "^1.3.3",
"express": "^4.13.3",
"jade": "^1.11.0",
"method-override": "^2.3.1",
"multer": "^0.1.7",
"nan": "^2.0.9",
"nan-check": "0.0.2",... | 5f10182c37ee26a740db758ba0302ac15d8aa09e | package.json | package.json | JSON |
<|file_sep|>original/asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Response.java
package com.ca.apm.swat.epaplugins.asm.har;
import org.json.Cookie;
public interface Response {
public int getStatus();
public String getStatusText();
public String getHttpVersion();
@IterableClass(type = C... | package com.ca.apm.swat.epaplugins.asm.har;
public interface Response {
public int getStatus();
public String getStatusText();
public String getHttpVersion();
@IterableClass(type = Cookie.class)
public Iterable<Cookie> getCookies();
@IterableClass(type = Header.class)
public Iterable<Header... | <|file_sep|>original/asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Response.java
package com.ca.apm.swat.epaplugins.asm.har;
import org.json.Cookie;
public interface Response {
public int getStatus();
public String getStatusText();
public String getHttpVersion();
@IterableClass(type = C... | 5cefc0edbb130d1457519a92f8111be316106b17 | asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Response.java | asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Response.java | Java |
<|file_sep|>zsh/master/main.zsh.diff
original:
source "$HOME/.zsh/master/exports.zsh"
updated:
include "$HOME/.zsh/master/exports.zsh"
<|file_sep|>zsh/master/main.zsh.diff
original:
source "$HOME/.zsh/master/antigen.zsh" # Load and configure Antigen
source "$HOME/.zsh/master/powerlevel9k.zsh" # Configure Pow... |
# Autocompletion files
fpath=($HOME/.zsh/autocompletion $fpath)
# Load more configuration
include "$HOME/.zsh/master/antigen.zsh" # Load and configure Antigen
include "$HOME/.zsh/master/powerlevel9k.zsh" # Configure Powerlevel9k
include "$HOME/.zsh/master/helpers.zsh" # Load helper functions
# Load M... | <|file_sep|>zsh/master/main.zsh.diff
original:
source "$HOME/.zsh/master/exports.zsh"
updated:
include "$HOME/.zsh/master/exports.zsh"
<|file_sep|>zsh/master/main.zsh.diff
original:
source "$HOME/.zsh/master/antigen.zsh" # Load and configure Antigen
source "$HOME/.zsh/master/powerlevel9k.zsh" # Configure Pow... | ed9180a48e852ab57640b12cc5283b9822c723e4 | zsh/master/main.zsh | zsh/master/main.zsh | Shell |
<|file_sep|>examples/counter.elm.diff
original:
updated:
import Mouse
import Graphics.Element (flow, down)
<|file_sep|>original/examples/counter.elm
import Monitor
import Signal
import Text
main = Signal.map Text.asText (Signal.foldp (+) 0 Monitor.refresh)
<|file_sep|>current/examples/counter.elm
import Monitor
impor... | import Monitor
import Signal
import Text
import Mouse
import Graphics.Element (flow, down)
display counter1 counter2 = flow down
[ Text.asText counter1
, Text.asText counter2
]
main = Signal.map2 display
(Signal.foldp (+) 0 Monitor.refresh)
(Signal.foldp (+) 0 (Monitor.refreshWhen Mouse.isDown)) | <|file_sep|>examples/counter.elm.diff
original:
updated:
import Mouse
import Graphics.Element (flow, down)
<|file_sep|>original/examples/counter.elm
import Monitor
import Signal
import Text
main = Signal.map Text.asText (Signal.foldp (+) 0 Monitor.refresh)
<|file_sep|>current/examples/counter.elm
import Monitor
impor... | 09e82d48691a9546051f7af8b42ce5d40d184f3e | examples/counter.elm | examples/counter.elm | Elm |
<|file_sep|>original/lib/kosmos/packages/tac_life_support.rb
class TACLifeSupport < Kosmos::Package
title 'TAC Life Support (WIP)'
aliases 'tac life support'
url 'https://github.com/taraniselsu/TacLifeSupport/releases/download/Release_v0.8/TacLifeSupport_0.8.0.4.zip'
def install
merge_directory 'GameData'
... | class TACLifeSupport < Kosmos::Package
title 'TAC Life Support (WIP)'
aliases 'tac life support'
url 'https://github.com/taraniselsu/TacLifeSupport/releases/download/Release_v0.8/TacLifeSupport_0.8.0.4.zip'
prerequisites 'module-manager'
def install
merge_directory 'GameData'
end
end | <|file_sep|>original/lib/kosmos/packages/tac_life_support.rb
class TACLifeSupport < Kosmos::Package
title 'TAC Life Support (WIP)'
aliases 'tac life support'
url 'https://github.com/taraniselsu/TacLifeSupport/releases/download/Release_v0.8/TacLifeSupport_0.8.0.4.zip'
def install
merge_directory 'GameData'
... | 18bc0e4e4b8c6328d9e28ba41a42cac02cf7202c | lib/kosmos/packages/tac_life_support.rb | lib/kosmos/packages/tac_life_support.rb | Ruby |
<|file_sep|>original/README.md
ansible-vm-install
==================
Ansible VM Install Playbooks
This is a collection of playbooks to install virtual machines on hypervisors supported through libvirt.
The host file contains the information for building the vm
### Dependencies ###
* Ansible (on the management no... | DEPRECIATED
Please use the new version available at
http://github.com/toshywoshy/ansible-role-vminstaller
ansible-vm-install
==================
Ansible VM Install Playbooks
This is a collection of playbooks to install virtual machines on hypervisors supported through libvirt.
The host file contains the information ... | <|file_sep|>original/README.md
ansible-vm-install
==================
Ansible VM Install Playbooks
This is a collection of playbooks to install virtual machines on hypervisors supported through libvirt.
The host file contains the information for building the vm
### Dependencies ###
* Ansible (on the management no... | 8715c250dca26b559a2496f77c61f66b7ef55bc7 | README.md | README.md | Markdown |
<|file_sep|>client/otp/index.js.diff
original:
spinner.stop();
updated:
spinner.remove();
<|file_sep|>original/client/otp/index.js
debug('--> profiling %s', JSON.stringify(query));
var spinner = spin();
profiler.profile(query, function(err, data) {
if (err || !data) {
spinner.stop();
d... | debug('--> profiling %s', JSON.stringify(query));
var spinner = spin();
profiler.profile(query, function(err, data) {
if (err || !data) {
spinner.remove();
debug('<-- error profiling', err);
callback(err);
} else {
query.profile = data;
profiler.journey(query, function(err, j... | <|file_sep|>client/otp/index.js.diff
original:
spinner.stop();
updated:
spinner.remove();
<|file_sep|>original/client/otp/index.js
debug('--> profiling %s', JSON.stringify(query));
var spinner = spin();
profiler.profile(query, function(err, data) {
if (err || !data) {
spinner.stop();
d... | 400fdea7e619c24ed21257b340cd27de5876801e | client/otp/index.js | client/otp/index.js | JavaScript |
<|file_sep|>app/views/sessions/new.html.erb.diff
original:
<h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
updated:
<div class="form">
<h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%... | <div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %>
<p>New user? <%= link_to "Sign up now!", new_user_path %></p>
<% flash.each... | <|file_sep|>app/views/sessions/new.html.erb.diff
original:
<h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
updated:
<div class="form">
<h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%... | 3eced3a9187fbf22ec1f87ef3a5e2be4a16eec3f | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | HTML+ERB |
<|file_sep|>original/lib/turbograft.rb
before_action :set_xhr_redirected_to, :set_request_method_cookie
after_action :abort_xdomain_redirect
end
end
ActionDispatch::Request.class_eval do
def referer
self.headers['X-XHR-Referer'] || super
... | klass.constantize.class_eval do
include XHRHeaders, Cookies, XDomainBlocker, Redirection
before_action :set_xhr_redirected_to, :set_request_method_cookie
after_action :abort_xdomain_redirect
end
end
ActionDispatch::Request.class_eval do
... | <|file_sep|>original/lib/turbograft.rb
before_action :set_xhr_redirected_to, :set_request_method_cookie
after_action :abort_xdomain_redirect
end
end
ActionDispatch::Request.class_eval do
def referer
self.headers['X-XHR-Referer'] || super
... | a550d77963365b288f0da1d3801d68a0e9765ca3 | lib/turbograft.rb | lib/turbograft.rb | Ruby |
<|file_sep|>original/orchestrator/jinja/filters.py
:param input_str: Input string on which replacement is to be performed
:type input_str: str
:param find: Regular expression string that needs to be used for
find/replacement
:type find: str
:param replace: Regex replacement string
:type ... | :param input_str: Input string on which replacement is to be performed
:type input_str: str
:param find: Regular expression string that needs to be used for
find/replacement
:type find: str
:param replace: Regex replacement string
:type replace: str
:return: Regex replaced string
... | <|file_sep|>original/orchestrator/jinja/filters.py
:param input_str: Input string on which replacement is to be performed
:type input_str: str
:param find: Regular expression string that needs to be used for
find/replacement
:type find: str
:param replace: Regex replacement string
:type ... | 0f966f1622b5b61fc0a385eb13a7d270013104f9 | orchestrator/jinja/filters.py | orchestrator/jinja/filters.py | Python |
<|file_sep|>original/custom/bindkey.zsh
<|file_sep|>current/custom/bindkey.zsh
<|file_sep|>updated/custom/bindkey.zsh |
# vi-mode re-bindings
bindkey '^r' history-incremental-search-backward
bindkey '^?' backward-delete-char
bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word
bindkey '^k' kill-line
bindkey '^u' backward-kill-line | <|file_sep|>original/custom/bindkey.zsh
<|file_sep|>current/custom/bindkey.zsh
<|file_sep|>updated/custom/bindkey.zsh
# vi-mode re-bindings
bindkey '^r' history-incremental-search-backward
bindkey '^?' backward-delete-char
bindkey '^h' backward-delete-char
bindkey '^w' backward-kill-word
bindkey '^k' kill-line
bind... | d198195b3d730cf8bf2663fb328b1d742cbe2468 | custom/bindkey.zsh | custom/bindkey.zsh | Shell |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: rust
notifications:
irc: 'irc.freenode.org#cryptosphere'
<|file_sep|>current/.travis.yml
language: rust
notifications:
irc: 'irc.freenode.org#cryptosphere'
<|file_sep|>updated/.travis.yml | language: rust
install:
- wget https://github.com/jedisct1/libsodium/releases/download/1.0.5/libsodium-1.0.5.tar.gz
- tar xvfz libsodium-1.0.5.tar.gz
- cd libsodium-1.0.5 && ./configure --prefix=/usr && make && sudo make install && cd ..
notifications:
irc: 'irc.freenode.org#cryptosphere' | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
sudo: false
language: rust
notifications:
irc: 'irc.freenode.org#cryptosphere'
<|file_sep|>current/.travis.yml
language: rust
notifications:
irc: 'irc.freenode.org#cryptosphere'
<|file_sep|>updated/.travis.yml
language: ... | ca7bd5e31a40049912f8103f3f3e9edd576c2222 | .travis.yml | .travis.yml | YAML |
<|file_sep|>source/AppMenu.js.diff
original:
var height = 30 * this.controls.length - 1; /* take the scroller out of the equation */
updated:
var height = 40 * this.controls.length - 1; /* take the scroller out of the equation */
<|file_sep|>original/source/AppMenu.js
},
//* @public
show: function() {
var heig... | },
//* @public
show: function() {
var height = 40 * this.controls.length - 1; /* take the scroller out of the equation */
if (height > this.maxHeight) {
height = this.maxHeight;
}
this.setBounds({
height: height + 20
});
this.inherited(arguments);
},
//* @private
maxHeightChanged: function... | <|file_sep|>source/AppMenu.js.diff
original:
var height = 30 * this.controls.length - 1; /* take the scroller out of the equation */
updated:
var height = 40 * this.controls.length - 1; /* take the scroller out of the equation */
<|file_sep|>original/source/AppMenu.js
},
//* @public
show: function() {
var heig... | 4ff3cccc2379de1df8dda1723a34789c507a6ad1 | source/AppMenu.js | source/AppMenu.js | JavaScript |
<|file_sep|>original/npm/githubrelease.mk
# Helper for get npm package release notes for Github
REPO_LINK := https://github.com/user/repo
### Get current version from package.json
current:
$(eval LAST_VERSION := $(shell npm ls --depth=0 2>/dev/null | head -n 1 | awk 'match($$0, /@([0-9.]+)/, arr) { print arr[1]; }')... | # Helper for get npm package release notes for Github
# usage:
# make current - show current version
# make version <patch | minor | major | 3.4.5> — increase npm package version
REPO_LINK := https://github.com/user/repo
### Get current version from package.json
current:
$(eval LAST_VERSION := $(shell npm ls... | <|file_sep|>original/npm/githubrelease.mk
# Helper for get npm package release notes for Github
REPO_LINK := https://github.com/user/repo
### Get current version from package.json
current:
$(eval LAST_VERSION := $(shell npm ls --depth=0 2>/dev/null | head -n 1 | awk 'match($$0, /@([0-9.]+)/, arr) { print arr[1]; }')... | cf7441e7aa182f52a487ad2ebf3e24cee3c5d7d7 | npm/githubrelease.mk | npm/githubrelease.mk | Makefile |
<|file_sep|>original/manifests/haproxy.yml
update:
canaries: 1
max_in_flight: 1
canary_watch_time: 1000-30000
update_watch_time: 1000-30000
serial: false
stemcells:
- alias: default
os: ubuntu-xenial
version: latest
releases:
- name: bpm
version: 1.0.0
url: https://github.com/cloudfoundry-incu... | backend_servers: ((haproxy-backend-servers))
update:
canaries: 1
max_in_flight: 1
canary_watch_time: 1000-30000
update_watch_time: 1000-30000
serial: false
stemcells:
- alias: default
os: ubuntu-xenial
version: latest
releases:
- name: bpm
version: latest
- name: haproxy
version: 9.4.... | <|file_sep|>original/manifests/haproxy.yml
update:
canaries: 1
max_in_flight: 1
canary_watch_time: 1000-30000
update_watch_time: 1000-30000
serial: false
stemcells:
- alias: default
os: ubuntu-xenial
version: latest
releases:
- name: bpm
version: 1.0.0
url: https://github.com/cloudfoundry-incu... | b94937329ecb9c247342de65fc88b33238b5c52f | manifests/haproxy.yml | manifests/haproxy.yml | YAML |
<|file_sep|>original/README.md
# TypeScript-Handbook
[](https://travis-ci.org/Microsoft/TypeScript-Handbook)
The TypeScript Handbook is a comprehensive guide to the TypeScript language
Please see the [latest TypeScript Language Specification](ht... | # TypeScript-Handbook
[](https://travis-ci.org/Microsoft/TypeScript-Handbook)
The TypeScript Handbook is a comprehensive guide to the TypeScript language. It is meant to be read online at [typescriptlang.org](https://www.typescriptlang.org/docs/h... | <|file_sep|>original/README.md
# TypeScript-Handbook
[](https://travis-ci.org/Microsoft/TypeScript-Handbook)
The TypeScript Handbook is a comprehensive guide to the TypeScript language
Please see the [latest TypeScript Language Specification](ht... | 12788c784aab2c13fae3b3f743b15d0d585b628f | README.md | README.md | Markdown |
<|file_sep|>original/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb
module MiqAeMethodService
class MiqAeServiceOrchestrationTemplateVnfd < MiqAeServiceOrchestrationTemplate; end
end
<|file_sep|>current/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_templ... | module MiqAeMethodService
class MiqAeServiceOrchestrationTemplateVnfd < MiqAeServiceOrchestrationTemplate
CREATE_ATTRIBUTES = [:name, :description, :content, :draft, :orderable, :ems_id]
def self.create(options = {})
attributes = options.symbolize_keys.slice(*CREATE_ATTRIBUTES)
attributes[:remote... | <|file_sep|>original/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb
module MiqAeMethodService
class MiqAeServiceOrchestrationTemplateVnfd < MiqAeServiceOrchestrationTemplate; end
end
<|file_sep|>current/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_templ... | e042c519b9f4a163ceb0e322e6dfd4994bf5185b | lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb | lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb | Ruby |
<|file_sep|>package.json.diff
original:
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
updated:
"scripts": {},
<|file_sep|>original/package.json
{
"name": "smashnorge",
"version": "1.0.0",
"description": "A website for Smash Norge",
"main": "index.js",
"s... | "description": "A website for Smash Norge",
"scripts": {},
"repository": {
"type": "git",
"url": "https://github.com/selbekk/smashnorge.git"
},
"keywords": [
"website",
"wordpress"
],
"author": "Kristofer Selbekk <kristofer.selbekk@bekk.no>",
"license": "ISC",
"bugs": {
"url": "htt... | <|file_sep|>package.json.diff
original:
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
updated:
"scripts": {},
<|file_sep|>original/package.json
{
"name": "smashnorge",
"version": "1.0.0",
"description": "A website for Smash Norge",
"main": "index.js",
"s... | a903487552bfe88404030b58699de1e62c287928 | package.json | package.json | JSON |
<|file_sep|>original/osgtest/tests/test_84_xrootd.py
import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.g... | import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.gsi'] == "ON") and (core.state['xrootd.backups-exist']... | <|file_sep|>original/osgtest/tests/test_84_xrootd.py
import os
import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.osgunittest as osgunittest
import unittest
class TestStopXrootd(osgunittest.OSGTestCase):
def test_01_stop_xrootd(self):
if (core.config['xrootd.g... | 16516b1ec44e3e44d2dc96a6f3d021268ce4e71d | osgtest/tests/test_84_xrootd.py | osgtest/tests/test_84_xrootd.py | Python |
<|file_sep|>app/controllers/coursewareable/sessions_controller.rb.diff
original:
updated:
subdomain = request.subdomain unless request.subdomain.blank? || false
<|file_sep|>app/controllers/coursewareable/sessions_controller.rb.diff
original:
flash[:notice] = _(
'Welcome back %{name}!' % {:name ... | # New session handler
def create
user = login(params[:email], params[:password], params[:remember_me])
subdomain = request.subdomain unless request.subdomain.blank? || false
if user
flash[:notice] = _('Welcome back %{name}!' % {:name => user.name})
redirect_back_or_to(root_url(... | <|file_sep|>app/controllers/coursewareable/sessions_controller.rb.diff
original:
updated:
subdomain = request.subdomain unless request.subdomain.blank? || false
<|file_sep|>app/controllers/coursewareable/sessions_controller.rb.diff
original:
flash[:notice] = _(
'Welcome back %{name}!' % {:name ... | 42989c5dba69b693a07b4e5e75b8e5923e57342b | app/controllers/coursewareable/sessions_controller.rb | app/controllers/coursewareable/sessions_controller.rb | Ruby |
<|file_sep|>original/util/auth.py
def is_tester(self):
return self.role == 'tester'
def update_tokens():
try:
# refresh token nechavame v databazi jeste den, aby se uzivatel mohl
# znovu prihlasit automaticky (napriklad po uspani pocitace)
tokens = session.query(model.Token).al... | def is_tester(self):
return self.role == 'tester'
def update_tokens():
try:
# refresh token nechavame v databazi jeste den, aby se uzivatel mohl
# znovu prihlasit automaticky (napriklad po uspani pocitace)
tokens = session.query(model.Token).all()
tokens = [
... | <|file_sep|>original/util/auth.py
def is_tester(self):
return self.role == 'tester'
def update_tokens():
try:
# refresh token nechavame v databazi jeste den, aby se uzivatel mohl
# znovu prihlasit automaticky (napriklad po uspani pocitace)
tokens = session.query(model.Token).al... | 1e74d5c72de6b32b2e3a331f1ebd4d883a6a622a | util/auth.py | util/auth.py | Python |
<|file_sep|>original/README.md
-*- markdown -*-
* Compilation IOlib requires a C library named LibFixPOSIX -
https://github.com/sionescu/libfixposix - and its headers in order to
compile. LibFixPOSIX can either be installed manually, for which there
are instructions in the source code, or through distro repositories.
... | -*- markdown -*-
* Compilation IOlib requires a C library named LibFixPOSIX -
https://github.com/sionescu/libfixposix - and its headers in order to
compile. LibFixPOSIX can either be installed manually, for which there
are instructions in the source code, or through distro repositories.
As of Debian 9.0 Stable, the l... | <|file_sep|>original/README.md
-*- markdown -*-
* Compilation IOlib requires a C library named LibFixPOSIX -
https://github.com/sionescu/libfixposix - and its headers in order to
compile. LibFixPOSIX can either be installed manually, for which there
are instructions in the source code, or through distro repositories.
... | d3bda105b0f42aec03e8914711ed52fca1ef1848 | README.md | README.md | Markdown |
<|file_sep|>original/lib/smartdown_adapter/money_question_presenter.rb
module SmartdownAdapter
class MoneyQuestionPresenter < SmartdownAdapter::QuestionPresenter
def to_response(input)
{ amount: input }
end
def has_suffix_label?
false
end
end
end
<|file_sep|>current/lib/smartdown_adap... | module SmartdownAdapter
class MoneyQuestionPresenter < SmartdownAdapter::QuestionPresenter
def to_response(input)
input
end
def has_suffix_label?
false
end
end
end
| <|file_sep|>original/lib/smartdown_adapter/money_question_presenter.rb
module SmartdownAdapter
class MoneyQuestionPresenter < SmartdownAdapter::QuestionPresenter
def to_response(input)
{ amount: input }
end
def has_suffix_label?
false
end
end
end
<|file_sep|>current/lib/smartdown_adap... | 28c29ea0a27a3692362b5474d1715e9ffaf9d13d | lib/smartdown_adapter/money_question_presenter.rb | lib/smartdown_adapter/money_question_presenter.rb | Ruby |
<|file_sep|>packages/di/ditto-lucid.yaml.diff
original:
hash: db73ca552737e4e39f40db6d76e715df6808e4e70df8d0b35c677037df227527
updated:
hash: 38bf0a3612b219ed559968cb69c3dd2860000ce537d2b90861c5f76bf27fc786
<|file_sep|>packages/di/ditto-lucid.yaml.diff
original:
updated:
- 0.1.1.2
<|file_sep|>original/packages/di/ditt... | maintainer: zacharyachurchill@gmail.com
synopsis: Add support for using lucid with Ditto
changelog: ''
basic-deps:
lucid: <3.0.0
ditto: ! '>=0.1.1.0 && <=0.2'
base: ! '>4.5 && <5'
text: ! '>=0.11 && <1.3'
path-pieces: -any
all-versions:
- 0.1.0.3
- 0.1.0.4
- 0.1.1.0
- 0.1.1.1
- 0.1.1.2
author: Jeremy Shaw, Za... | <|file_sep|>packages/di/ditto-lucid.yaml.diff
original:
hash: db73ca552737e4e39f40db6d76e715df6808e4e70df8d0b35c677037df227527
updated:
hash: 38bf0a3612b219ed559968cb69c3dd2860000ce537d2b90861c5f76bf27fc786
<|file_sep|>packages/di/ditto-lucid.yaml.diff
original:
updated:
- 0.1.1.2
<|file_sep|>original/packages/di/ditt... | a68f8a93b449ba5d772db2874fbe5351f1004736 | packages/di/ditto-lucid.yaml | packages/di/ditto-lucid.yaml | YAML |
<|file_sep|>original/tests/test_iostreamsocket.cpp
#include <sstream>
#include <gtest/gtest.h>
#include <errors.h>
#include <iostreamsocket.h>
#define TEST_CLASS IOStreamSocketTest
#define INIT_DATA ("dat_data_tho")
#define INIT_LEN (12)
class TEST_CLASS : public testing::Test {
protected:
TEST_CLASS() : in(INIT_... | #include <sstream>
#include <gtest/gtest.h>
#include <errors.h>
#include <iostreamsocket.h>
#define TEST_CLASS IOStreamSocketTest
#define INIT_DATA ("dat data tho")
#define INIT_LEN (12)
class TEST_CLASS : public testing::Test {
protected:
TEST_CLASS() : in(INIT_DATA), sock(in, out) { }
std::stringstream in, ... | <|file_sep|>original/tests/test_iostreamsocket.cpp
#include <sstream>
#include <gtest/gtest.h>
#include <errors.h>
#include <iostreamsocket.h>
#define TEST_CLASS IOStreamSocketTest
#define INIT_DATA ("dat_data_tho")
#define INIT_LEN (12)
class TEST_CLASS : public testing::Test {
protected:
TEST_CLASS() : in(INIT_... | acbc7b50b535624d45e8f2b2f0e269d0b39ba9cc | tests/test_iostreamsocket.cpp | tests/test_iostreamsocket.cpp | C++ |
<|file_sep|>original/config/initializers/secret_token.rb
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# ... | # Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attac... | <|file_sep|>original/config/initializers/secret_token.rb
# Be sure to restart your server when you modify this file.
# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# ... | 15b215ed666ae1b110f31aa7d4a353b14cb96a93 | config/initializers/secret_token.rb | config/initializers/secret_token.rb | Ruby |
<|file_sep|>original/README.md
ss := pulse.SampleSpec{pulse.SAMPLE_S16LE, 44100, 2}
stream, _ := pulse.Playback("my app", "my stream", &ss)
defer stream.Free()
defer stream.Drain()
stream.Write(data)
More example usage can be found in the examples folder.
For more information, see the PulseAudio S... | stream, _ := pulse.Playback("my app", "my stream", &ss)
defer stream.Free()
defer stream.Drain()
stream.Write(data)
More example usage can be found in the examples folder.
For more information, see the PulseAudio Simple API documentation at
http://www.freedesktop.org/software/pulseaudio/doxygen/simple... | <|file_sep|>original/README.md
ss := pulse.SampleSpec{pulse.SAMPLE_S16LE, 44100, 2}
stream, _ := pulse.Playback("my app", "my stream", &ss)
defer stream.Free()
defer stream.Drain()
stream.Write(data)
More example usage can be found in the examples folder.
For more information, see the PulseAudio S... | f06a4e34a78d410ab21cf36807dd7b6cf3a92a10 | README.md | README.md | Markdown |
<|file_sep|>original/scripts/bash-scripts/test-arithmetic.sh
<|file_sep|>current/scripts/bash-scripts/test-arithmetic.sh
<|file_sep|>updated/scripts/bash-scripts/test-arithmetic.sh | #!/bin/bash
# test out arithmetic operations.
function foo()
{
local i=0
local j=0
j=$((i+=1))
echo "foo: i=$i j=$j"
j=$((i+1))
echo "foo: i=$i j=$j"
j=$((i-1))
echo "foo: i=$i j=$j"
(( j+=1 ))
echo "foo: i=$i j=$j"
}
function bar()
{
local i=0 | <|file_sep|>original/scripts/bash-scripts/test-arithmetic.sh
<|file_sep|>current/scripts/bash-scripts/test-arithmetic.sh
<|file_sep|>updated/scripts/bash-scripts/test-arithmetic.sh
#!/bin/bash
# test out arithmetic operations.
function foo()
{
local i=0
local j=0
j=$((i+=1))
echo "foo: i=$i j=$j"
... | 911212455055e6a9ebe0f0cd72287421bbda7c08 | scripts/bash-scripts/test-arithmetic.sh | scripts/bash-scripts/test-arithmetic.sh | Shell |
<|file_sep|>original/src/clj/backend/boot.clj
(ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]))
(deftask start-app
[p port PORT int "Port"]
(let [x (atom nil)]
(with-pre-wrap fileset
(swap! ... | (ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]
[clojure.tools.namespace.repl :refer [disable-reload!]]))
(disable-reload!)
(deftask start-app
[p port PORT int "Port"]
(let [x (atom nil)]... | <|file_sep|>original/src/clj/backend/boot.clj
(ns backend.boot
{:boot/export-tasks true}
(:require [boot.core :refer :all]
[reloaded.repl :refer [go]]
[backend.main :refer :all]))
(deftask start-app
[p port PORT int "Port"]
(let [x (atom nil)]
(with-pre-wrap fileset
(swap! ... | 9598323092cf2034e0629aefeba452f4fae932bc | src/clj/backend/boot.clj | src/clj/backend/boot.clj | Clojure |
<|file_sep|>README.md.diff
original:
Copyright (c) 2014 Nathan McCallum
updated:
> Copyright (c) 2014 Nathan McCallum
<|file_sep|>README.md.diff
original:
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 Sof... | songdown
========
Guitar lyrics and chords in a markdown-like syntax. [](https://david-dm.org/Vasari/songdown)
License
=======
This project is made with :heart: under the MIT license by Nathan McCallum.
> Copyright (c) 2014 Nathan McCal... | <|file_sep|>README.md.diff
original:
Copyright (c) 2014 Nathan McCallum
updated:
> Copyright (c) 2014 Nathan McCallum
<|file_sep|>README.md.diff
original:
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 Sof... | cf4aeb2432ec1dd435edd68479ba699ff0b9e035 | README.md | README.md | Markdown |
<|file_sep|>original/requirements/edx-sandbox/base.txt
# DON'T JUST ADD NEW DEPENDENCIES!!!
#
# If you open a pull request that adds a new dependency, you should notify:
# * @jtauber - to check licensing
# * One of @e0d, @jarv, or @feanil - to check system requirements
numpy==1.6.2
networkx==1.7
sympy==0.7.1
pypar... | # DON'T JUST ADD NEW DEPENDENCIES!!!
#
# If you open a pull request that adds a new dependency, you should notify:
# * @jtauber - to check licensing
# * One of @e0d, @jarv, or @feanil - to check system requirements
numpy==1.6.2
networkx==1.7
sympy==0.7.1
pyparsing==2.0.1
nltk==2.0.4
matplotlib==1.3.1 | <|file_sep|>original/requirements/edx-sandbox/base.txt
# DON'T JUST ADD NEW DEPENDENCIES!!!
#
# If you open a pull request that adds a new dependency, you should notify:
# * @jtauber - to check licensing
# * One of @e0d, @jarv, or @feanil - to check system requirements
numpy==1.6.2
networkx==1.7
sympy==0.7.1
pypar... | 45b2e5033e51c4df88298cb380c27de494eb5cf4 | requirements/edx-sandbox/base.txt | requirements/edx-sandbox/base.txt | Text |
<|file_sep|>original/requirements-test.txt
# Testing
codeclimate-test-reporter==0.2.3 # Test coverage reporting
coverage>=4.0,<4.4 # Test coverage
flake8==3.3.0 # Python linting
<|file_sep|>current/requirements-test.txt
# Testing
codeclimate-test-reporter==0.2.3 # Test coverage reportin... | # Testing
codeclimate-test-reporter==0.2.3 # Test coverage reporting
coverage>=4.0,<4.4 # Test coverage
flake8==3.4.1 # Python linting | <|file_sep|>original/requirements-test.txt
# Testing
codeclimate-test-reporter==0.2.3 # Test coverage reporting
coverage>=4.0,<4.4 # Test coverage
flake8==3.3.0 # Python linting
<|file_sep|>current/requirements-test.txt
# Testing
codeclimate-test-reporter==0.2.3 # Test coverage reportin... | c6036702af2288bb7573b25b1a1b6d95af92bb14 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>app/views/processed_applications/show.html.slim.diff
original:
=build_section 'Application details', @overview, %w[fee jurisdiction date_received form_name emergency_reason reference]
updated:
=build_section 'Application details', @overview, %w[fee jurisdiction date_received form_name case_number deceased_n... | header
.row
.small-12.medium-12.large-12.columns
h2 =t('processed_applications.detail.title')
=build_section 'Personal details', @overview, %w[full_name date_of_birth ni_number status number_of_children total_monthly_income]
=build_section 'Application details', @overview, %w[fee jurisdiction date_received... | <|file_sep|>app/views/processed_applications/show.html.slim.diff
original:
=build_section 'Application details', @overview, %w[fee jurisdiction date_received form_name emergency_reason reference]
updated:
=build_section 'Application details', @overview, %w[fee jurisdiction date_received form_name case_number deceased_n... | ca257f807206a076d1fee30bf06d77437fa1ff73 | app/views/processed_applications/show.html.slim | app/views/processed_applications/show.html.slim | Slim |
<|file_sep|>composer.json.diff
original:
"name": "nodge/lessphp",
updated:
"name": "leafo/lessphp",
<|file_sep|>original/composer.json
"source": {
"url": "https://github.com/Nodge/lessphp.git",
"type": "git",
"reference": "master"
... | "source": {
"url": "https://github.com/Nodge/lessphp.git",
"type": "git",
"reference": "master"
}
}
}],
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*",
"leafo/lessphp": "dev-master",
... | <|file_sep|>composer.json.diff
original:
"name": "nodge/lessphp",
updated:
"name": "leafo/lessphp",
<|file_sep|>original/composer.json
"source": {
"url": "https://github.com/Nodge/lessphp.git",
"type": "git",
"reference": "master"
... | 32d5509e33f747943f1be1ff38ff16e73e623819 | composer.json | composer.json | JSON |
<|file_sep|>original/docs/major-releases.md
## 1.x
* First release.
## 2.x
### New features
* Support for PostgreSQL 11.x declarative table partitioning.
### Other changes
* Uses Django 2.x's mechanism for overriding queries and compilers. `django-postgres-extra` is extensible in the same way that Django is extensibl... |
### Other changes
* Uses Django 2.x's mechanism for overriding queries and compilers. `django-postgres-extra` is extensible in the same way that Django is extensible now.
* Removes hacks because Django 2.x is more extensible.
### Breaking changes
* Removes support for `psqlextra.signals`. Switch to standard Django si... | <|file_sep|>original/docs/major-releases.md
## 1.x
* First release.
## 2.x
### New features
* Support for PostgreSQL 11.x declarative table partitioning.
### Other changes
* Uses Django 2.x's mechanism for overriding queries and compilers. `django-postgres-extra` is extensible in the same way that Django is extensibl... | 281ae2c53272cb1f78e883c3680f45157e717c44 | docs/major-releases.md | docs/major-releases.md | Markdown |
<|file_sep|>original/.travis.yml
before_script: cp config/database.yml.example config/database.yml && bundle exec rake db:create db:migrate db:test:prepare
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-18mode
- rbx-19mode
- ree
<|file_sep|>current/.travis.yml
before_script: cp config/database.yml.example config/database... | before_script: cp config/database.yml.example config/database.yml && bundle exec rake db:create db:migrate db:test:prepare
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-2.0
- ree | <|file_sep|>original/.travis.yml
before_script: cp config/database.yml.example config/database.yml && bundle exec rake db:create db:migrate db:test:prepare
rvm:
- 1.8.7
- 1.9.2
- rbx
- rbx-18mode
- rbx-19mode
- ree
<|file_sep|>current/.travis.yml
before_script: cp config/database.yml.example config/database... | a696e50b4947977934190820ceba594723d918e3 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/README.md
# TabsFolder
Group your tabs into groups.
The folder icons are under GNU General Public License and came from franksouza183:
http://www.iconarchive.com/show/fs-icons-by-franksouza183/Places-folder-green-icon.html
The other ressources are created by me and are in the public domain.
<|fi... | # TabsFolder
Group your tabs into groups.
The chrome extention is avalaible here: https://chrome.google.com/webstore/detail/tabsfolder/pdfepgdcmifhbmldcofnkmnbabamjdnm
The folder icons are under GNU General Public License and came from franksouza183:
http://www.iconarchive.com/show/fs-icons-by-franksouza183/Places-fo... | <|file_sep|>original/README.md
# TabsFolder
Group your tabs into groups.
The folder icons are under GNU General Public License and came from franksouza183:
http://www.iconarchive.com/show/fs-icons-by-franksouza183/Places-folder-green-icon.html
The other ressources are created by me and are in the public domain.
<|fi... | 3eae7523afae8468baddac1b914f3d4bde01fe8d | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
ClearLag-Sponge
updated:
## CatClearLag Docs
<|file_sep|>README.md.diff
original:
# Commands
/re - Remove certain entities based on flags
updated:
### Building
[How to build with Gradle](build.md)
<|file_sep|>README.md.diff
original:
flags:
- `-a` - all entities
- `-h` - all hosti... | ## CatClearLag Docs
### Building
[How to build with Gradle](build.md)
### Configs
[Plugin config](plugin.md)
[Messages config](messages.md)
### Commands
[Commands](commands.md)
[Permissions](permissions.md) | <|file_sep|>README.md.diff
original:
ClearLag-Sponge
updated:
## CatClearLag Docs
<|file_sep|>README.md.diff
original:
# Commands
/re - Remove certain entities based on flags
updated:
### Building
[How to build with Gradle](build.md)
<|file_sep|>README.md.diff
original:
flags:
- `-a` - all entities
- `-h` - all hosti... | 5e9fcb7236f713ae8ea7692a84385d3c227429e7 | README.md | README.md | Markdown |
<|file_sep|>README.md.diff
original:
updated:
export FLASK_APP=run.py
<|file_sep|>original/README.md
```
pip install -r requirements.txt
/bin/bash ./config_db.sh
```
Apply migrations and run app
```
flask db upgrade
export FLASK_APP=run.py
FLASK_DEBUG=True flask run
```
### Tests
Tests are run with pytest and tox.... | ```
pip install -r requirements.txt
/bin/bash ./config_db.sh
```
Apply migrations and run app
```
export FLASK_APP=run.py
flask db upgrade
FLASK_DEBUG=True flask run
```
### Tests
Tests are run with pytest and tox.
To execute either of them, run the following commands:
```
pytest | <|file_sep|>README.md.diff
original:
updated:
export FLASK_APP=run.py
<|file_sep|>original/README.md
```
pip install -r requirements.txt
/bin/bash ./config_db.sh
```
Apply migrations and run app
```
flask db upgrade
export FLASK_APP=run.py
FLASK_DEBUG=True flask run
```
### Tests
Tests are run with pytest and tox.... | 5dc184c53d46c459db7ecc72c0d8e4f50b418249 | README.md | README.md | Markdown |
<|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.8.2
PyYAML==3.12
pytest==3.1.0
pytest-cov==2.5.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8... | pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.9
PyYAML==3.12
pytest==3.1.0
pytest-cov==2.5.1 | <|file_sep|>original/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8.3
flake8==3.3.0
tox==2.7.0
coverage==4.4.1
Sphinx==1.6.2
cryptography==1.8.2
PyYAML==3.12
pytest==3.1.0
pytest-cov==2.5.1
<|file_sep|>current/requirements_dev.txt
pip==9.0.1
bumpversion==0.5.3
wheel==0.29.0
watchdog==0.8... | 3247e3ffe32ff22e6143257bf9f66a50c3409ef8 | requirements_dev.txt | requirements_dev.txt | Text |
<|file_sep|>README.md.diff
original:
Renaming and folder structure software build on Electron with C# and JavaScript
updated:
File management software build with C# and JavaScript
<|file_sep|>original/README.md
# Reflow
Renaming and folder structure software build on Electron with C# and JavaScript
Reflow allows you t... | # Reflow
File management software build with C# and JavaScript
Reflow allows to rename file lists with various attributes and create custom folder structures for projects that are packaged together and can be re-created upon template load.
# To install all dependencies
npm install
# To run application
npm start
# T... | <|file_sep|>README.md.diff
original:
Renaming and folder structure software build on Electron with C# and JavaScript
updated:
File management software build with C# and JavaScript
<|file_sep|>original/README.md
# Reflow
Renaming and folder structure software build on Electron with C# and JavaScript
Reflow allows you t... | 99bd75d582145f1adfa9e2f49baab0284a153b7f | README.md | README.md | Markdown |
<|file_sep|>original/context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java
package io.tracee.contextlogger.jaxws.container;
/**
* This class is not directly used but exists for the users convenience
* (Like adding @HandlerChain(xmlFile=TraceeContextLoggerJa... | package io.tracee.contextlogger.jaxws.container;
/**
* This class is not directly used but exists for the users convenience
* (Like adding @HandlerChain(xmlFile=TraceeContextLoggerJaxwsConstants.TRACEE_WITH_ERROR_LOGGING_HANDLER_CHAIN_URL)
*/
@SuppressWarnings("UnusedDeclaration")
public final class TraceeContextLo... | <|file_sep|>original/context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java
package io.tracee.contextlogger.jaxws.container;
/**
* This class is not directly used but exists for the users convenience
* (Like adding @HandlerChain(xmlFile=TraceeContextLoggerJa... | bdeb91716b3db215b13b1098e72de2809840ffc9 | context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java | context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java | Java |
<|file_sep|>original/week-2/imgs/design-reflection.md

<|file_sep|>current/week-2/imgs/design-reflection.md

<|file_sep|>updated/week-2/imgs/design-reflection.md | 
What are the 6 Phases of Web Design?
1. Information Gathering
2. Planning
3. Design
4. Development
5. Testing and Delivery
6. Maintenance
What is your site's primary goal or purpose?
The site's primary goal is to provide information about myself and the projects I am working on to potential... | <|file_sep|>original/week-2/imgs/design-reflection.md

<|file_sep|>current/week-2/imgs/design-reflection.md

<|file_sep|>updated/week-2/imgs/design-reflection.md

What are the 6 Phases of Web Design?
1. Information Gathering
2. Planning
3. Design... | 7f26211c6e4c6749a49761217da499c858064349 | week-2/imgs/design-reflection.md | week-2/imgs/design-reflection.md | Markdown |
<|file_sep|>fluentd-loggly/imagescripts/docker-entrypoint.sh.diff
original:
cp /opt/fluentd/fluent.conf /etc/fluent.conf
updated:
cat > /opt/fluentd/generatedconf.d/generated-loggly-output.conf <<_EOF_
_EOF_
<|file_sep|>fluentd-loggly/imagescripts/docker-entrypoint.sh.diff
original:
cat >> /etc/fluent/fluent.conf <<_... | loggly_match=${LOGGLY_MATCH}
fi
if [ -n "${LOGGLY_TOKEN}" ]; then
cat >> /opt/fluentd/generatedconf.d/generated-loggly-output.conf <<_EOF_
<match ${loggly_match}>
@type loggly
loggly_url https://logs-01.loggly.com/inputs/${LOGGLY_TOKEN}/tag/${loggly_tag}
</match>
_EOF_
fi
unset LOGGLY_TOKEN
# Invoke entryp... | <|file_sep|>fluentd-loggly/imagescripts/docker-entrypoint.sh.diff
original:
cp /opt/fluentd/fluent.conf /etc/fluent.conf
updated:
cat > /opt/fluentd/generatedconf.d/generated-loggly-output.conf <<_EOF_
_EOF_
<|file_sep|>fluentd-loggly/imagescripts/docker-entrypoint.sh.diff
original:
cat >> /etc/fluent/fluent.conf <<_... | 833eef337b110885498d426016ed9253ce543c67 | fluentd-loggly/imagescripts/docker-entrypoint.sh | fluentd-loggly/imagescripts/docker-entrypoint.sh | Shell |
<|file_sep|>original/test/examples/quotes.txt
<|file_sep|>current/test/examples/quotes.txt
<|file_sep|>updated/test/examples/quotes.txt | Local ID Determined ID TextID TextTime Writer Count Writer Text GeoLon GeoLat TextPlace TextPlaceType For Against Neutral Iffy Irrelevant Source Contentful? Ironic Source
29153 129389998233773821 9/22/11 MontWilfred (Montreal Wilfred) "Ottawa's \""Escalators\"" http://t.co/abcdef" 0 0 MISSING MISSING mc5546
... | <|file_sep|>original/test/examples/quotes.txt
<|file_sep|>current/test/examples/quotes.txt
<|file_sep|>updated/test/examples/quotes.txt
Local ID Determined ID TextID TextTime Writer Count Writer Text GeoLon GeoLat TextPlace TextPlaceType For Against Neutral Iffy Irrelevant Source Contentful? Ironic Source
29153 1293... | 3f4d1d6d32767ef0b4d6018e20cdde2b641871b0 | test/examples/quotes.txt | test/examples/quotes.txt | Text |
<|file_sep|>original/object_tracker.gemspec
Gem::Specification.new do |spec|
spec.name = "object_tracker"
spec.version = ObjectTracker::VERSION
spec.authors = ["Ryan Buckley"]
spec.email = ["arebuckley@gmail.com"]
spec.summary = %q{Track method calls to almost any object.}
... |
Gem::Specification.new do |spec|
spec.name = "object_tracker"
spec.version = ObjectTracker::VERSION
spec.authors = ["Ryan Buckley"]
spec.email = ["arebuckley@gmail.com"]
spec.summary = %q{Track method calls to almost any object.}
spec.description = %q{Track method calls... | <|file_sep|>original/object_tracker.gemspec
Gem::Specification.new do |spec|
spec.name = "object_tracker"
spec.version = ObjectTracker::VERSION
spec.authors = ["Ryan Buckley"]
spec.email = ["arebuckley@gmail.com"]
spec.summary = %q{Track method calls to almost any object.}
... | d8013a1beaf0e6e29d2512442f4eb401fd8d3f5a | object_tracker.gemspec | object_tracker.gemspec | Ruby |
<|file_sep|>original/github-pages.gemspec
s.required_ruby_version = ">= 2.0.0"
s.name = "github-pages"
s.version = GitHubPages::VERSION
s.summary = "Track GitHub Pages dependencies."
s.description = "Bootstrap the GitHub Pages Jekyll environment locally.... | s.name = "github-pages"
s.version = GitHubPages::VERSION
s.summary = "Track GitHub Pages dependencies."
s.description = "Bootstrap the GitHub Pages Jekyll environment locally."
s.authors = "GitHub, Inc."
s.email = "support@... | <|file_sep|>original/github-pages.gemspec
s.required_ruby_version = ">= 2.0.0"
s.name = "github-pages"
s.version = GitHubPages::VERSION
s.summary = "Track GitHub Pages dependencies."
s.description = "Bootstrap the GitHub Pages Jekyll environment locally.... | fea9b53e75be60500bc5a4de2e01eb4a090fe8cc | github-pages.gemspec | github-pages.gemspec | Ruby |
<|file_sep|>original/vscode-extensions/vscode-manifest-yaml/lib/Main.ts
function error(msg : string) {
if (log_output) {
log_output.append("ERR: "+msg+"\n");
}
}
/** Called when extension is activated */
export function activate(context: VSCode.ExtensionContext) {
let options : commons.ActivatorOpt... |
function error(msg : string) {
if (log_output) {
log_output.append("ERR: "+msg+"\n");
}
}
/** Called when extension is activated */
export function activate(context: VSCode.ExtensionContext) {
let options : commons.ActivatorOptions = {
DEBUG : false,
CONNECT_TO_LS: false,
e... | <|file_sep|>original/vscode-extensions/vscode-manifest-yaml/lib/Main.ts
function error(msg : string) {
if (log_output) {
log_output.append("ERR: "+msg+"\n");
}
}
/** Called when extension is activated */
export function activate(context: VSCode.ExtensionContext) {
let options : commons.ActivatorOpt... | 247fc04cbce882b71b0204039f04c71283e6087b | vscode-extensions/vscode-manifest-yaml/lib/Main.ts | vscode-extensions/vscode-manifest-yaml/lib/Main.ts | TypeScript |
<|file_sep|>original/gradle.properties
# plugin dependency versions
plugindevPluginVersion = 0.0.11
# compile/runtime dependency versions
groovyVersion = 2.3.3
comonsLangVersion = 2.6
jooqVersion = 3.4.1
<|file_sep|>current/gradle.properties
# plugin dependency versions
plugindevPluginVersion = 0.0.11
# compile/runti... | # plugin dependency versions
plugindevPluginVersion = 0.0.12
# compile/runtime dependency versions
groovyVersion = 2.3.3
comonsLangVersion = 2.6
jooqVersion = 3.4.1 | <|file_sep|>original/gradle.properties
# plugin dependency versions
plugindevPluginVersion = 0.0.11
# compile/runtime dependency versions
groovyVersion = 2.3.3
comonsLangVersion = 2.6
jooqVersion = 3.4.1
<|file_sep|>current/gradle.properties
# plugin dependency versions
plugindevPluginVersion = 0.0.11
# compile/runti... | 4d506b115a8d02a143bc7e089b95ac82df194b7e | gradle.properties | gradle.properties | INI |
<|file_sep|>original/.github/workflows/rust.yml
<|file_sep|>current/.github/workflows/rust.yml
<|file_sep|>updated/.github/workflows/rust.yml | name: Rust
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
grcov-version: 0.8.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Run clip... | <|file_sep|>original/.github/workflows/rust.yml
<|file_sep|>current/.github/workflows/rust.yml
<|file_sep|>updated/.github/workflows/rust.yml
name: Rust
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
grcov-version: 0.8.0
jobs:
build:
runs-on: ubuntu-latest
steps:
... | b2741a74b35414f31d2c55c355aa0a6e9e6311e8 | .github/workflows/rust.yml | .github/workflows/rust.yml | YAML |
<|file_sep|>original/riddle.gemspec
s.name = 'riddle'
s.version = '2.1.0'
s.platform = Gem::Platform::RUBY
s.authors = ['Pat Allan']
s.email = ['pat@freelancing-gods.com']
s.homepage = 'http://pat.github.io/riddle/'
s.summary = %q{An API for Sphinx, written in and for Ruby.}... |
Gem::Specification.new do |s|
s.name = 'riddle'
s.version = '2.1.0'
s.platform = Gem::Platform::RUBY
s.authors = ['Pat Allan']
s.email = ['pat@freelancing-gods.com']
s.homepage = 'http://pat.github.io/riddle/'
s.summary = %q{An API for Sphinx, written in and for Ruby.}
s.... | <|file_sep|>original/riddle.gemspec
s.name = 'riddle'
s.version = '2.1.0'
s.platform = Gem::Platform::RUBY
s.authors = ['Pat Allan']
s.email = ['pat@freelancing-gods.com']
s.homepage = 'http://pat.github.io/riddle/'
s.summary = %q{An API for Sphinx, written in and for Ruby.}... | 07ea54db0533dbf3cb0e01b5b2869b68ca40706b | riddle.gemspec | riddle.gemspec | Ruby |
<|file_sep|>original/index.js
var range = document.createRange();
var newDiv = document.createElement("div");
var newContent = document.createTextNode(text);
newDiv.appendChild(newContent);
document.body.appendChild(newDiv);
range.selectNode(newDiv);
window.getSelection().addRange(range);
try {
var ... | var range = document.createRange();
var newDiv = document.createElement("div");
var newContent = document.createTextNode(text);
newDiv.appendChild(newContent);
document.body.appendChild(newDiv);
range.selectNode(newDiv);
window.getSelection().addRange(range);
try {
var successful = document.execComm... | <|file_sep|>original/index.js
var range = document.createRange();
var newDiv = document.createElement("div");
var newContent = document.createTextNode(text);
newDiv.appendChild(newContent);
document.body.appendChild(newDiv);
range.selectNode(newDiv);
window.getSelection().addRange(range);
try {
var ... | 8811a4757aeea5b4646e30f684deb605e8f703f2 | index.js | index.js | JavaScript |
<|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE>
<html>
<head>
<title>The Lion's Share</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://maps.googleapis.com/maps/api/js"></script>
<link href='https://fonts.googleapis.com/css?family=Lora' rel='... | <!DOCTYPE>
<html>
<head>
<title>The Lion's Share</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://maps.googleapis.com/maps/api/js"></script>
<link href='https://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag '... | <|file_sep|>original/app/views/layouts/application.html.erb
<!DOCTYPE>
<html>
<head>
<title>The Lion's Share</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://maps.googleapis.com/maps/api/js"></script>
<link href='https://fonts.googleapis.com/css?family=Lora' rel='... | c4ae9ecb5b74f363f7e26b953dd7e75907821a3a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | HTML+ERB |
<|file_sep|>blog/admin.py.diff
original:
class ArticleAdmin(admin.ModelAdmin):
updated:
class PostAdmin(admin.ModelAdmin):
<|file_sep|>original/blog/admin.py
class ArticleAdmin(admin.ModelAdmin):
list_display = ("title", "category", "created", "updated", "status")
search_fields = ("title", "category", "content... |
class PostAdmin(admin.ModelAdmin):
list_display = ("title", "category", "created", "updated", "status")
search_fields = ("title", "category", "content")
list_filter = ("created",)
# raw_id_fields = ('tag',)
date_hierarchy = "created"
prepopulated_fields = {"slug": ("title",)}
class SocialMedi... | <|file_sep|>blog/admin.py.diff
original:
class ArticleAdmin(admin.ModelAdmin):
updated:
class PostAdmin(admin.ModelAdmin):
<|file_sep|>original/blog/admin.py
class ArticleAdmin(admin.ModelAdmin):
list_display = ("title", "category", "created", "updated", "status")
search_fields = ("title", "category", "content... | cb073dc49efffad56d880f63fd709e5a803e7cf6 | blog/admin.py | blog/admin.py | Python |
<|file_sep|>original/README.md
# WatchKit-Workshop
A very simple app for playing Rock, Paper, Scissors, Lizard, Spock against your phone. Pick your weapon and the computer picks a random one and determines the winner.
The algorithm used for determining the winner makes adding more weapons fairly simple, you just have... | # WatchKit-Workshop
A very simple app for playing Rock, Paper, Scissors, Lizard, Spock against your phone. Pick your weapon and the computer picks a random one and determines the winner.
The algorithm used for determining the winner makes adding more weapons fairly simple, you just have to add 2 at a time. The first ... | <|file_sep|>original/README.md
# WatchKit-Workshop
A very simple app for playing Rock, Paper, Scissors, Lizard, Spock against your phone. Pick your weapon and the computer picks a random one and determines the winner.
The algorithm used for determining the winner makes adding more weapons fairly simple, you just have... | 846ad34751dc180c9df0028f60e7e459369eb886 | README.md | README.md | Markdown |
<|file_sep|>original/bin/prepare_environment.bash
#!/bin/bash
# abort on any errors
set -e
# check that we are in the expected directory
cd `dirname $0`/..
# Some env variables used during development seem to make things break - set
# them back to the defaults which is what they would have on the servers.
PYTHONDON... | #!/bin/bash
# abort on any errors
set -e
# check that we are in the expected directory
cd "$(dirname $BASH_SOURCE)"/..
# Some env variables used during development seem to make things break - set
# them back to the defaults which is what they would have on the servers.
PYTHONDONTWRITEBYTECODE=""
# create the virt... | <|file_sep|>original/bin/prepare_environment.bash
#!/bin/bash
# abort on any errors
set -e
# check that we are in the expected directory
cd `dirname $0`/..
# Some env variables used during development seem to make things break - set
# them back to the defaults which is what they would have on the servers.
PYTHONDON... | be8cd447201fc4d144491f8b7156731faa2412b5 | bin/prepare_environment.bash | bin/prepare_environment.bash | Shell |
<|file_sep|>src/main/com/faveset/khttp/InvalidRequestException.java.diff
original:
updated:
private int mErrorCode;
<|file_sep|>original/src/main/com/faveset/khttp/InvalidRequestException.java
// Copyright 2014, Kevin Ko <kevin@faveset.com>
package com.faveset.khttp;
class InvalidRequestException extends Except... | // Copyright 2014, Kevin Ko <kevin@faveset.com>
package com.faveset.khttp;
class InvalidRequestException extends Exception {
private int mErrorCode;
public InvalidRequestException(String reason) {
super(reason);
}
public InvalidRequestException(String reason, int errorCode) {
super(r... | <|file_sep|>src/main/com/faveset/khttp/InvalidRequestException.java.diff
original:
updated:
private int mErrorCode;
<|file_sep|>original/src/main/com/faveset/khttp/InvalidRequestException.java
// Copyright 2014, Kevin Ko <kevin@faveset.com>
package com.faveset.khttp;
class InvalidRequestException extends Except... | 3ef747eca9e3a22507e196aa41cb03fa11173477 | src/main/com/faveset/khttp/InvalidRequestException.java | src/main/com/faveset/khttp/InvalidRequestException.java | Java |
<|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:
updated:
from django.urls import reverse
<|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:
from django.urls import reverse
updated:
<|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:... | <%inherit file="main.html" />
<%!
from django.urls import reverse
from django.utils.translation import ugettext as _
%>
<section class="container activation">
<section class="message">
<h1 class="valid">${_("E-mail change successful!")}</h1>
<hr class="horizontal-divider">
<p>${_("Your updated email addre... | <|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:
updated:
from django.urls import reverse
<|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:
from django.urls import reverse
updated:
<|file_sep|>lagunita/lms/templates/email_change_successful.html.diff
original:... | df640da9695e6f565ecbe9fddaf6397e4a44fef5 | lagunita/lms/templates/email_change_successful.html | lagunita/lms/templates/email_change_successful.html | HTML |
<|file_sep|>cloudsizzle/studyplanner/courselist/views.py.diff
original:
return render_to_response('list_courses.html', {
updated:
return render_to_response('list_courses.html', {'user': request.user,
<|file_sep|>cloudsizzle/studyplanner/courselist/views.py.diff
original:
return render_to_response('list_facu... | courses = department.courses.all()
return render_to_response('list_courses.html', {'user': request.user,
'department': department, 'courses': courses})
def list_faculties(request):
faculties = Faculty.objects.all()
return render_to_response('list_faculties.html', {'user': request.user,
... | <|file_sep|>cloudsizzle/studyplanner/courselist/views.py.diff
original:
return render_to_response('list_courses.html', {
updated:
return render_to_response('list_courses.html', {'user': request.user,
<|file_sep|>cloudsizzle/studyplanner/courselist/views.py.diff
original:
return render_to_response('list_facu... | 9684af3ecb0fd26deef87e2509a5de892a62e5f1 | cloudsizzle/studyplanner/courselist/views.py | cloudsizzle/studyplanner/courselist/views.py | Python |
<|file_sep|>original/plugins/treeview/web_client/routes.js
import router from 'girder/router';
import events from 'girder/events';
import { exposePluginConfig } from 'girder/utilities/PluginUtils';
exposePluginConfig('treeview', 'plugins/treeview/config');
import ConfigView from './views/ConfigView';
router.route('pl... | /* eslint-disable import/first */
import router from 'girder/router';
import events from 'girder/events';
import { exposePluginConfig } from 'girder/utilities/PluginUtils';
exposePluginConfig('treeview', 'plugins/treeview/config');
import ConfigView from './views/ConfigView';
router.route('plugins/treeview/config', '... | <|file_sep|>original/plugins/treeview/web_client/routes.js
import router from 'girder/router';
import events from 'girder/events';
import { exposePluginConfig } from 'girder/utilities/PluginUtils';
exposePluginConfig('treeview', 'plugins/treeview/config');
import ConfigView from './views/ConfigView';
router.route('pl... | 39be85fb0ff6be401a17c92f2d54befbe612115a | plugins/treeview/web_client/routes.js | plugins/treeview/web_client/routes.js | JavaScript |
<|file_sep|>original/requirements.txt
future==0.16.0
Pillow==5.2.0
pyglet==1.3.2
<|file_sep|>current/requirements.txt
future==0.16.0
Pillow==5.2.0
pyglet==1.3.2
<|file_sep|>updated/requirements.txt | Pillow==7.1.1
pyglet==1.5.3 | <|file_sep|>original/requirements.txt
future==0.16.0
Pillow==5.2.0
pyglet==1.3.2
<|file_sep|>current/requirements.txt
future==0.16.0
Pillow==5.2.0
pyglet==1.3.2
<|file_sep|>updated/requirements.txt
Pillow==7.1.1
pyglet==1.5.3 | 21819f43beb99a1c652fe504943382f4765afc19 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/CONTRIBUTORS.rst
Contributors
============
Development & Technical Support
-------------------------------
- **Thomas Mansencal**, *Visual Effects Artist @ Weta Digital*
Project coordination, overall development.
About
-----
| **Colour - HDRI** by Colour Developers
| Copyright 2015 C... | Contributors
============
Development & Technical Support
-------------------------------
- **Thomas Mansencal**, *Lead Pipeline Developer @ WetaFX*
Project coordination, overall development.
About
-----
| **Colour - HDRI** by Colour Developers
| Copyright 2015 Colour Developers – `colour-developers@colo... | <|file_sep|>original/CONTRIBUTORS.rst
Contributors
============
Development & Technical Support
-------------------------------
- **Thomas Mansencal**, *Visual Effects Artist @ Weta Digital*
Project coordination, overall development.
About
-----
| **Colour - HDRI** by Colour Developers
| Copyright 2015 C... | 78641aff9a8267b6eeb0399f4d0bcbabc4e6be07 | CONTRIBUTORS.rst | CONTRIBUTORS.rst | reStructuredText |
<|file_sep|>original/examples/pods/input-and-output-dataset.yaml
<|file_sep|>current/examples/pods/input-and-output-dataset.yaml
<|file_sep|>updated/examples/pods/input-and-output-dataset.yaml | apiVersion: v1
kind: Pod
metadata:
name: input-and-output-dataset
labels:
app: input-and-output-dataset
spec:
containers:
- image: busybox
command: [/bin/sh, -c, 'cat /dataset/test.txt | rev > /dataset/test_reversed.txt; sleep 3600']
imagePullPolicy: IfNotPresent
name: busybox
volumeMounts:
... | <|file_sep|>original/examples/pods/input-and-output-dataset.yaml
<|file_sep|>current/examples/pods/input-and-output-dataset.yaml
<|file_sep|>updated/examples/pods/input-and-output-dataset.yaml
apiVersion: v1
kind: Pod
metadata:
name: input-and-output-dataset
labels:
app: input-and-output-dataset
spec:
conta... | e1f4ae2ddffe58ff168bdaa085de9a8db2ea4d15 | examples/pods/input-and-output-dataset.yaml | examples/pods/input-and-output-dataset.yaml | YAML |
<|file_sep|>original/test/acceptance/features/messages/step_definitions/messages.js
const { client } = require('nightwatch-cucumber')
const { defineSupportCode } = require('cucumber')
defineSupportCode(({ Then }) => {
const Messages = client.page.Messages()
Then(/^I see the success message$/, async () => {
aw... | const { client } = require('nightwatch-cucumber')
const { defineSupportCode } = require('cucumber')
defineSupportCode(({ Then }) => {
const Messages = client.page.Messages()
Then(/^I see the success message$/, async () => {
await Messages
.waitForElementPresent('@flashMessage')
.assert.cssClassPre... | <|file_sep|>original/test/acceptance/features/messages/step_definitions/messages.js
const { client } = require('nightwatch-cucumber')
const { defineSupportCode } = require('cucumber')
defineSupportCode(({ Then }) => {
const Messages = client.page.Messages()
Then(/^I see the success message$/, async () => {
aw... | fe97f331b8f2e94c03630f3b6adaec711c0978bd | test/acceptance/features/messages/step_definitions/messages.js | test/acceptance/features/messages/step_definitions/messages.js | JavaScript |
<|file_sep|>original/application/views/siggy/handlebars/thera_table_row.php
<|file_sep|>current/application/views/siggy/handlebars/thera_table_row.php
<|file_sep|>updated/application/views/siggy/handlebars/thera_table_row.php |
<script id="template-thera-table-row" type="text/x-handlebars-template">?
<tr id='thera-sig-{{ id }}' data-id='{{ id }}' class='data-row'>
<td class='center-text'>
<div class="dropdown">
<button class="btn btn-default btn-hidden dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdo... | <|file_sep|>original/application/views/siggy/handlebars/thera_table_row.php
<|file_sep|>current/application/views/siggy/handlebars/thera_table_row.php
<|file_sep|>updated/application/views/siggy/handlebars/thera_table_row.php
<script id="template-thera-table-row" type="text/x-handlebars-template">?
<tr id='thera-... | 5bea0e6dc4891eeee12cf063ea83ad510b568efa | application/views/siggy/handlebars/thera_table_row.php | application/views/siggy/handlebars/thera_table_row.php | PHP |
<|file_sep|>original/.travis.yml
- npm --silent run deploy-status -- --status pending --message 'Waiting for build'
- npm --silent run eslint
- npm --silent run build
- npm --silent run test -- --browsers FirefoxHeadless --webgl-stub --failTaskOnError --suppressPassed
- npm --silent run clean
- travis_wa... | - npm --silent run deploy-status -- --status pending --message 'Waiting for build'
- npm --silent run eslint
- npm --silent run build
- npm --silent run test -- --browsers FirefoxHeadless --webgl-stub --failTaskOnError --suppressPassed
- npm --silent run clean
- travis_wait 20 npm --silent run makeZipFil... | <|file_sep|>original/.travis.yml
- npm --silent run deploy-status -- --status pending --message 'Waiting for build'
- npm --silent run eslint
- npm --silent run build
- npm --silent run test -- --browsers FirefoxHeadless --webgl-stub --failTaskOnError --suppressPassed
- npm --silent run clean
- travis_wa... | be1c89b1cc196d1b5258fcfa544d890667acc60f | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/start.sh
#!/usr/bin/env bash
if [[ $OSTYPE =~ "darwin" ]]; then
./script/bootstrap.sh
./script/install-all.sh
else
echo "Sorry. I've only tested these on OSX"
fi
<|file_sep|>current/start.sh
#!/usr/bin/env bash
if [[ $OSTYPE =~ "darwin" ]]; then
./script/bootstrap.sh
./script/install-all.sh
... | #!/usr/bin/env bash
if [[ $OSTYPE =~ "darwin" ]]; then
./script/bootstrap.sh
./script/install-all.sh
# Do this last to set default terminal to oh-my-zsh
env zsh -l
else
echo "Sorry. I've only tested these on OSX"
fi | <|file_sep|>original/start.sh
#!/usr/bin/env bash
if [[ $OSTYPE =~ "darwin" ]]; then
./script/bootstrap.sh
./script/install-all.sh
else
echo "Sorry. I've only tested these on OSX"
fi
<|file_sep|>current/start.sh
#!/usr/bin/env bash
if [[ $OSTYPE =~ "darwin" ]]; then
./script/bootstrap.sh
./script/install-all.sh
... | 1bb6f53f1a166372d1f246e3d35fa25273ca5c3c | start.sh | start.sh | Shell |
<|file_sep|>original/JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs
using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
publi... | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
public IEnumerable<ClaimProblem> GetProblems(Project project, Claim claim)
{
if (claim.... | <|file_sep|>original/JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs
using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces;
namespace JoinRpg.Services.Impl.ClaimProblemFilters
{
internal class BrokenClaimsAndCharacters : IClaimProblemFilter
{
publi... | 048bb7801b843468d97d2ea7ab60ecee2b3142bc | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | JoinRpg.Services.Impl/ClaimProblemFilters/BrokenClaimsAndCharacters.cs | C# |
<|file_sep|>original/botocore/data/iot/2015-05-28/paginators-1.json
{
"pagination": {}
}
<|file_sep|>current/botocore/data/iot/2015-05-28/paginators-1.json
{
"pagination": {}
}
<|file_sep|>updated/botocore/data/iot/2015-05-28/paginators-1.json | {
"pagination": {
"ListCACertificates": {
"input_token": "marker",
"output_token": "nextMarker",
"limit_key": "pageSize",
"result_key": "certificates"
},
"ListCertificates": {
"input_token": "marker",
"output_token": "nextMarker",
"limit_key": "pageSize",
"r... | <|file_sep|>original/botocore/data/iot/2015-05-28/paginators-1.json
{
"pagination": {}
}
<|file_sep|>current/botocore/data/iot/2015-05-28/paginators-1.json
{
"pagination": {}
}
<|file_sep|>updated/botocore/data/iot/2015-05-28/paginators-1.json
{
"pagination": {
"ListCACertificates": {
"input_token": "ma... | 463afa3ac2fd60d36137df0d9143407aa92c9659 | botocore/data/iot/2015-05-28/paginators-1.json | botocore/data/iot/2015-05-28/paginators-1.json | JSON |
<|file_sep|>original/templates/core/project_details.html
{% load markup %}
{% if project.description %}
<h3>Description</h3>
<p>
{{ project.description|restructuredtext }}
</p>
{% endif %}
<h3>Short URL</h3>
<p><a href="http://{{ project.slug}}.readthedocs.org">{{ project.slug }}.readthedocs.org</a></p>
<... | {% load markup %}
{% if project.description %}
<h3>Description</h3>
<p>
{{ project.description|restructuredtext }}
</p>
{% endif %}
<h3>Short URLs</h3>
<p>
<a href="http://{{ project.slug}}.readthedocs.org">{{ project.slug }}.readthedocs.org</a>
<a href="http://{{ project.slug}}.rtfd.org">{{ project... | <|file_sep|>original/templates/core/project_details.html
{% load markup %}
{% if project.description %}
<h3>Description</h3>
<p>
{{ project.description|restructuredtext }}
</p>
{% endif %}
<h3>Short URL</h3>
<p><a href="http://{{ project.slug}}.readthedocs.org">{{ project.slug }}.readthedocs.org</a></p>
<... | 2b0350bb1dce869cdf1efe777aa1f093fd840290 | templates/core/project_details.html | templates/core/project_details.html | HTML |
<|file_sep|>original/README.md
Tedious (node implementation of TDS)
====================================
Tedious is an implementation of the [TDS protocol](http://msdn.microsoft.com/en-us/library/dd304523.aspx),
which is used to interact with instances of Microsoft's SQL Server.
Name
----
_Tedious_ is simply derived ... | Name
----
_Tedious_ is simply derived from a fast, slightly garbled, pronunciation of the letters T, D and S.
Status
------
Tedious is not yet useable.
PreLogin and Login7 packets and their responses are broadly implemented.
Authentication works.
A SQL statement request can be sent.
The response token for column me... | <|file_sep|>original/README.md
Tedious (node implementation of TDS)
====================================
Tedious is an implementation of the [TDS protocol](http://msdn.microsoft.com/en-us/library/dd304523.aspx),
which is used to interact with instances of Microsoft's SQL Server.
Name
----
_Tedious_ is simply derived ... | 9b7204c10c52597aafa720bbe18e6b40fa0ed87d | README.md | README.md | Markdown |
<|file_sep|>original/requirements.txt
appdirs==1.4.3
contextlib2==0.5.5
Django==2.0.2
django-appconf==1.0.2
django-cacheops==4.0.5
django-compressor==2.2
django-debug-toolbar==1.9.1
django-imagekit==4.0.2
django-querycount==0.7.0
freezegun==0.3.10
funcy==1.10
olefile==0.45.1
packaging==17.1
pilkit==2.0
Pillow==5.0.0
ps... | appdirs==1.4.3
contextlib2==0.5.5
Django==2.0.2
django-appconf==1.0.2
django-cacheops==4.0.6
django-compressor==2.2
django-debug-toolbar==1.9.1
django-imagekit==4.0.2
django-querycount==0.7.0
freezegun==0.3.10
funcy==1.10
olefile==0.45.1
packaging==17.1
pilkit==2.0
Pillow==5.0.0
psycopg2==2.7.3.2
pyparsing==2.2.0
pytho... | <|file_sep|>original/requirements.txt
appdirs==1.4.3
contextlib2==0.5.5
Django==2.0.2
django-appconf==1.0.2
django-cacheops==4.0.5
django-compressor==2.2
django-debug-toolbar==1.9.1
django-imagekit==4.0.2
django-querycount==0.7.0
freezegun==0.3.10
funcy==1.10
olefile==0.45.1
packaging==17.1
pilkit==2.0
Pillow==5.0.0
ps... | f3ae2cf0330db8670a7327612020a1f3a6c9e1e9 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
before_script:
- cp .env.travis .env
- sudo mysql -e 'create database testing;'
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate
script:
- vendor/bin/phpunit
... | before_script:
- cp .env.travis .env
- sudo mysql -e 'create database testing;'
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate
script:
- vendor/bin/phpunit
- vendor/bin/phpcs --warni... | <|file_sep|>original/.travis.yml
before_script:
- cp .env.travis .env
- sudo mysql -e 'create database testing;'
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan migrate
script:
- vendor/bin/phpunit
... | b06ccd4f202795d23efcef98d72551137af36249 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/package.json
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"main": "./lib",
"dependencies": {
"passport-oauth2": "1.x.x"
},
"devDependencies": {
"mocha": "1.x.x",
"chai": "1.x.x",
"@jaredhanson/make-node": "0.2.x"
},
"engines": {... | {
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"main": "./lib",
"dependencies": {
"passport-oauth2": "1.x.x"
},
"devDependencies": {
"mocha": "1.x.x",
"chai": "1.x.x",
"@jaredhanson/make-node": "git://github.com/jaredhanson/make-node.git#v0.2.1"
},
"e... | <|file_sep|>original/package.json
{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}
],
"main": "./lib",
"dependencies": {
"passport-oauth2": "1.x.x"
},
"devDependencies": {
"mocha": "1.x.x",
"chai": "1.x.x",
"@jaredhanson/make-node": "0.2.x"
},
"engines": {... | b5b43447d2ee761568df28c75c4769dc7a2d58f3 | package.json | package.json | JSON |
<|file_sep|>original/migrations/Migration20130507085501ComForum.php
<|file_sep|>current/migrations/Migration20130507085501ComForum.php
<|file_sep|>updated/migrations/Migration20130507085501ComForum.php | <?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
/**
* Migration script for add watching table
**/
class Migration20130507085501ComForum extends Hubzero_Migration
{
/**
* Up
**/
protected static function up($db)
{
$query = "";
if (!$db->tableHasFie... | <|file_sep|>original/migrations/Migration20130507085501ComForum.php
<|file_sep|>current/migrations/Migration20130507085501ComForum.php
<|file_sep|>updated/migrations/Migration20130507085501ComForum.php
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
/**
* Mi... | e0101eb904e4296d1184d598817915c798d59b06 | migrations/Migration20130507085501ComForum.php | migrations/Migration20130507085501ComForum.php | PHP |
<|file_sep|>ade25/assetmanager/browser/repository.py.diff
original:
from plone.app.blob.interfaces import IATBlobImage
updated:
from plone.app.contenttypes.interfaces import IImage
<|file_sep|>original/ade25/assetmanager/browser/repository.py
from plone import api
from plone.app.blob.interfaces import IATBlobImage
c... | from plone import api
from plone.app.contenttypes.interfaces import IImage
class AssetRepositoryView(BrowserView):
""" Folderish content page default view """
def contained_items(self, uid):
stack = api.content.get(UID=uid)
return stack.restrictedTraverse('@@folderListing')()
def item_ind... | <|file_sep|>ade25/assetmanager/browser/repository.py.diff
original:
from plone.app.blob.interfaces import IATBlobImage
updated:
from plone.app.contenttypes.interfaces import IImage
<|file_sep|>original/ade25/assetmanager/browser/repository.py
from plone import api
from plone.app.blob.interfaces import IATBlobImage
c... | 84deb31cc2bdbf30d8b6f30725a3eaaccd1dd903 | ade25/assetmanager/browser/repository.py | ade25/assetmanager/browser/repository.py | Python |
<|file_sep|>original/app/views/layouts/navbar/_navbar.html.erb
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar-header">
<%= render 'layouts/navbar/xs_menu_button' %>
<%= render 'layouts/navbar/xs_sidebar_toggle_button' %>
<%= link_to read_path, class: 'navbar-brand',... |
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar-header">
<%= render 'layouts/navbar/xs_menu_button' %>
<%= render 'layouts/navbar/xs_sidebar_toggle_button' %>
<%= link_to read_path, class: 'navbar-brand', id: 'feedbunch-brand' do %>
<%= image_tag asset_path('... | <|file_sep|>original/app/views/layouts/navbar/_navbar.html.erb
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar-header">
<%= render 'layouts/navbar/xs_menu_button' %>
<%= render 'layouts/navbar/xs_sidebar_toggle_button' %>
<%= link_to read_path, class: 'navbar-brand',... | c62c533e0e1093ffe7c7721b7d4a997e8041b139 | app/views/layouts/navbar/_navbar.html.erb | app/views/layouts/navbar/_navbar.html.erb | HTML+ERB |
<|file_sep|>original/.travis.yml
language: php
php:
- 7.1.9
script:
- composer install
- phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 7.1.9
script:
- composer install
- phpunit
<|file_sep|>updated/.travis.yml | language: php
php:
- 7.1.9
script:
- composer install
- mv .env.example .env
- php artisan key:generate
- phpunit | <|file_sep|>original/.travis.yml
language: php
php:
- 7.1.9
script:
- composer install
- phpunit
<|file_sep|>current/.travis.yml
language: php
php:
- 7.1.9
script:
- composer install
- phpunit
<|file_sep|>updated/.travis.yml
language: php
php:
- 7.1.9
script:
- composer install
- mv .env.example .env
... | aee31b60981a81c62e921104d3ce3bee4e751ed8 | .travis.yml | .travis.yml | YAML |
<|file_sep|>src/client/app/core/dataservice.spec.js.diff
original:
.respond(500,{data: {description: 'you fail'}});
updated:
.respond(500,{description: 'you fail'});
<|file_sep|>original/src/client/app/core/dataservice.spec.js
});
it('getPeople hits the right /api/people' , function() {
$httpBacken... | });
it('getPeople hits the right /api/people' , function() {
$httpBackend.when('GET', '/api/people').respond(200,[{}]);
dataservice.getPeople().then(function(data) {
expect(data).to.exist;
});
$httpBackend.flush();
});
it('getPeople reports error if server fails' , function() {
$http... | <|file_sep|>src/client/app/core/dataservice.spec.js.diff
original:
.respond(500,{data: {description: 'you fail'}});
updated:
.respond(500,{description: 'you fail'});
<|file_sep|>original/src/client/app/core/dataservice.spec.js
});
it('getPeople hits the right /api/people' , function() {
$httpBacken... | 9d33aca502e70c3da99a66c98ce54e109dc336e0 | src/client/app/core/dataservice.spec.js | src/client/app/core/dataservice.spec.js | JavaScript |
<|file_sep|>original/src/components/HighlightOnHover.jsx
return (
<CircuitElement ref='elem'
{...this.props}
color={color}
handlers={handlers}
/>
);
}
}
Highlighter.propTypes = {
hover: React.PropTypes.bool,
pushEvent: React.PropTypes.func.isReq... | {...this.props}
color={color}
handlers={handlers}
/>
);
}
}
Highlighter.propTypes = {
hover: React.PropTypes.bool,
pushEvent: React.PropTypes.func.isRequired
};
Highlighter.defaultProps = {
hover: false
};
Highlighter.displayName = `Highlighted ... | <|file_sep|>original/src/components/HighlightOnHover.jsx
return (
<CircuitElement ref='elem'
{...this.props}
color={color}
handlers={handlers}
/>
);
}
}
Highlighter.propTypes = {
hover: React.PropTypes.bool,
pushEvent: React.PropTypes.func.isReq... | 487f2b5569634b80f301ed6f5cc4a7844b322c5b | src/components/HighlightOnHover.jsx | src/components/HighlightOnHover.jsx | JSX |
<|file_sep|>original/requirements.txt
# https://github.com/Damnever/pigar
# src/numbers_scraper.py: 6
# src/torrents.py: 8
beautifulsoup4==4.6.3
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.3
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# sr... | # https://github.com/Damnever/pigar
# src/numbers_scraper.py: 6
# src/torrents.py: 8
beautifulsoup4==4.6.3
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.4
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# src/torrents.py: 7
pandas==0.23.4
# src... | <|file_sep|>original/requirements.txt
# https://github.com/Damnever/pigar
# src/numbers_scraper.py: 6
# src/torrents.py: 8
beautifulsoup4==4.6.3
# src/aggregate.py: 6
fuzzywuzzy==0.17.0
# src/aggregate.py: 5
numpy==1.15.3
# src/aggregate.py: 4
# src/my_aws.py: 6
# src/numbers_scraper.py: 5
# src/omdb_api.py: 8
# sr... | 38fd1fa4e1715ab3bcbfabc564e44542b1a5c611 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/spec/codeclimate_ci/configuration_spec.rb
<|file_sep|>current/spec/codeclimate_ci/configuration_spec.rb
<|file_sep|>updated/spec/codeclimate_ci/configuration_spec.rb | require 'spec_helper'
module CodeclimateCi
describe Configuration do
let(:options) do
{
'codeclimate_api_token' => '12345678',
'repo_id' => '124356',
'branch_name' => 'new-feature'
}
end
let(:configuration) { CodeclimateCi::Configuration.new }
describe '#load_fro... | <|file_sep|>original/spec/codeclimate_ci/configuration_spec.rb
<|file_sep|>current/spec/codeclimate_ci/configuration_spec.rb
<|file_sep|>updated/spec/codeclimate_ci/configuration_spec.rb
require 'spec_helper'
module CodeclimateCi
describe Configuration do
let(:options) do
{
'codeclimate_api_token... | e3619068a2f2bca52e62c8c7694c82459e8fdb1b | spec/codeclimate_ci/configuration_spec.rb | spec/codeclimate_ci/configuration_spec.rb | Ruby |
<|file_sep|>app/controllers/resources.js.diff
original:
updated:
<|file_sep|>app/controllers/resources.js.diff
original:
updated:
<|file_sep|>app/controllers/resources.js.diff
original:
updated:
/**
* Resets search results when selecting a different resource.
*/
<|file_sep|>original/app/controlle... | });
}
/**
* Returns the resource currently selected by the select#resources element
*/
getSelected() {
return this.model.store[this.model.selected];
}
/**
* Resets search results when selecting a different resource.
*/
selectResource (i) {
$("#table").remov... | <|file_sep|>app/controllers/resources.js.diff
original:
updated:
<|file_sep|>app/controllers/resources.js.diff
original:
updated:
<|file_sep|>app/controllers/resources.js.diff
original:
updated:
/**
* Resets search results when selecting a different resource.
*/
<|file_sep|>original/app/controlle... | df5a7e0a5eaba7e6d49a4507a2763ca4a634b3e8 | app/controllers/resources.js | app/controllers/resources.js | JavaScript |
<|file_sep|>original/lib/juici/helpers/form_helpers.rb
def form_at(route, fields, opts={})
form = ""
form << %Q{<form class="well" action="#{route}" method="post">\n}
fields.each do |name, value|
form << %Q{<input type="hidden" name="#{name}" value="#{value}">\n}
end
form << %Q{<button type="submit" cla... | def form_at(route, fields, opts={})
form = ""
form << %Q{<form action="#{route}" method="post">\n}
fields.each do |name, value|
form << %Q{<input type="hidden" name="#{name}" value="#{value}">\n}
end
form << %Q{<button type="submit" class="btn">#{opts[:submit] || "submit"}</button>}
form << %Q{</form>... | <|file_sep|>original/lib/juici/helpers/form_helpers.rb
def form_at(route, fields, opts={})
form = ""
form << %Q{<form class="well" action="#{route}" method="post">\n}
fields.each do |name, value|
form << %Q{<input type="hidden" name="#{name}" value="#{value}">\n}
end
form << %Q{<button type="submit" cla... | 6f52aabd53135879ab64bbf93922843c859afcab | lib/juici/helpers/form_helpers.rb | lib/juici/helpers/form_helpers.rb | Ruby |
<|file_sep|>original/README.md
## Proxy for Shelf
[](https://drone.io/github.com/dart-lang/shelf_proxy/latest)
`shelf_proxy` is a [Shelf][] handler that proxies requests to an external
server. It can be served directly and used as a proxy se... | ## Proxy for Shelf
[](https://drone.io/github.com/dart-lang/shelf_proxy/latest)
`shelf_proxy` is a [Shelf][] handler that proxies requests to an external
server. It can be served directly and used as a proxy server, or it can be
mounted with... | <|file_sep|>original/README.md
## Proxy for Shelf
[](https://drone.io/github.com/dart-lang/shelf_proxy/latest)
`shelf_proxy` is a [Shelf][] handler that proxies requests to an external
server. It can be served directly and used as a proxy se... | 1f860d9871e3dbbad8bbf16f42ca53f18996bf22 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# logdna-cli
The LogDNA CLI allows you to signup for a new account and tail your servers right from the command line.
## Installation
### OS X
Download the [LogDNA CLI installer for Mac](http://repo.logdna.com/mac/logdna-cli.pkg).
### Windows
To install on Windows, using [chocolatey... | # logdna-cli
The LogDNA CLI allows you to signup for a new account and tail your servers right from the command line.
## Installation
### OS X
Download the [LogDNA CLI installer for Mac] (http://repo.logdna.com/mac/logdna-cli.pkg).
Alternatively install via brew cask
```brew cask update```
```brew cask insta... | <|file_sep|>original/README.md
# logdna-cli
The LogDNA CLI allows you to signup for a new account and tail your servers right from the command line.
## Installation
### OS X
Download the [LogDNA CLI installer for Mac](http://repo.logdna.com/mac/logdna-cli.pkg).
### Windows
To install on Windows, using [chocolatey... | f6ce8ce11a910ac1bd93653466edda345527112f | README.md | README.md | Markdown |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "5"
script:
- jasmine
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
- "5"
script:
- jasmine
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- node
- 6
script:
- jasmine | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6"
- "5"
script:
- jasmine
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6"
- "5"
script:
- jasmine
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- node
- 6
script:
- jasmine | 1739f494fe0476c4e71b3db794e0b03e12e9ebf0 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/resources/views/dashboard.blade.php
@extends('mconsole::app')
@section('content')
<div class="btn red btn-outline">TEST</div>
<div class="row">
<div class="col-xs-12">
<div class="portlet light">
<div class="portlet-title">
<... | @extends('mconsole::app')
@section('content')
<div class="row">
<div class="col-xs-12">
<div class="portlet light">
<div class="portlet-title">
<div class="caption">
<i class="icon-bulb font-dark"></i>
<span cla... | <|file_sep|>original/src/resources/views/dashboard.blade.php
@extends('mconsole::app')
@section('content')
<div class="btn red btn-outline">TEST</div>
<div class="row">
<div class="col-xs-12">
<div class="portlet light">
<div class="portlet-title">
<... | dac3d5db9e15f8ece897d24e6054e45510b1ac37 | src/resources/views/dashboard.blade.php | src/resources/views/dashboard.blade.php | PHP |
<|file_sep|>appex_dump.py.diff
original:
import appex
updated:
import appex, inspect
<|file_sep|>original/appex_dump.py
# coding: utf-8
# See: https://forum.omz-software.com/topic/2358/appex-safari-content
import appex
def main():
if appex.is_running_extension():
for func in (appex.get_attachments, appex... | # coding: utf-8
# See: https://forum.omz-software.com/topic/2358/appex-safari-content
import appex, inspect
def main():
if appex.is_running_extension():
for name_func in inspect.getmembers(appex):
name, func = name_func
if name.startswith('get_'): # find all appex.get_xxx() metho... | <|file_sep|>appex_dump.py.diff
original:
import appex
updated:
import appex, inspect
<|file_sep|>original/appex_dump.py
# coding: utf-8
# See: https://forum.omz-software.com/topic/2358/appex-safari-content
import appex
def main():
if appex.is_running_extension():
for func in (appex.get_attachments, appex... | 0eafac86c679689c77e371150c173c351d0aa926 | appex_dump.py | appex_dump.py | Python |
<|file_sep|>oddb/database.go.diff
original:
// a record is not found in a Database
updated:
// that a record is not found in a Database.
<|file_sep|>oddb/database.go.diff
original:
// A Database represents a collection of record (either public or private)
// in a container
updated:
// Database represents a collection o... | // Database represents a collection of record (either public or private)
// in a container.
type Database interface {
ID() string
Get(key string, record *Record) error
Save(record *Record) error
Delete(key string) error
Query(query string, args ...interface{}) (Rows, error)
}
// Rows is a cursor returned by exec... | <|file_sep|>oddb/database.go.diff
original:
// a record is not found in a Database
updated:
// that a record is not found in a Database.
<|file_sep|>oddb/database.go.diff
original:
// A Database represents a collection of record (either public or private)
// in a container
updated:
// Database represents a collection o... | ed9b4cfbfcd651a08713d30fcd556ac4ec4699b6 | oddb/database.go | oddb/database.go | Go |
<|file_sep|>www/js/DiscoverView.js.diff
original:
this.el.html(DiscoverView.template(this.homeView));
updated:
var discover_view = DiscoverView.template(this.homeView));
this.el.html(discover);
<|file_sep|>www/js/DiscoverView.js.diff
original:
updated:
<|file_sep|>www/js/DiscoverView.js.diff
origina... | // but playing with options, seems like it should be this:
//var scanner = window.cordova.require("cordova/plugin/BarcodeScanner");
if (!window.cordova) {
app.showAlert("Barcode Scanner not supported", "Error");
return;
}
cordova.plugins.barcodeScanner.scan(
... | <|file_sep|>www/js/DiscoverView.js.diff
original:
this.el.html(DiscoverView.template(this.homeView));
updated:
var discover_view = DiscoverView.template(this.homeView));
this.el.html(discover);
<|file_sep|>www/js/DiscoverView.js.diff
original:
updated:
<|file_sep|>www/js/DiscoverView.js.diff
origina... | c61a5de164a6530a193e058f0f53a434eef9963b | www/js/DiscoverView.js | www/js/DiscoverView.js | JavaScript |
<|file_sep|>original/app/views/organizations/_pull_request.html.erb
<%= link_to pr[:html_url], class: "list-group-item" do %>
<div class="row">
<div class="col-xs-10">
<%= "##{pr[:number]} - #{pr[:title]}" %>
</div>
<div class="col-xs-2">
<%= image_tag pr[:user][:avatar_url], class: "pr-avata... | <%= link_to pr[:html_url], class: "list-group-item", target: '_blank' do %>
<div class="row">
<div class="col-xs-10">
<%= "##{pr[:number]} - #{pr[:title]}" %>
</div>
<div class="col-xs-2">
<%= image_tag pr[:user][:avatar_url], class: "pr-avatar pull-right" %>
</div>
</div>
<% end %> | <|file_sep|>original/app/views/organizations/_pull_request.html.erb
<%= link_to pr[:html_url], class: "list-group-item" do %>
<div class="row">
<div class="col-xs-10">
<%= "##{pr[:number]} - #{pr[:title]}" %>
</div>
<div class="col-xs-2">
<%= image_tag pr[:user][:avatar_url], class: "pr-avata... | 399894f6df296eed4d5e85a17349d5314ac3eb5b | app/views/organizations/_pull_request.html.erb | app/views/organizations/_pull_request.html.erb | HTML+ERB |
<|file_sep|>app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass.diff
original:
max-width: 380px
updated:
max-width: 400px
<|file_sep|>original/app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass
@extend %no-margin
@extend %prevent-text-breakouts
background: none
color: #fff
float: left... | @extend %no-margin
@extend %prevent-text-breakouts
background: none
color: #fff
float: left
font-size: 28px
line-height: 32px
max-width: 400px
> h1
font-size: 28px
&:hover
max-width: 400px
.row__inner--secondary
min-height: 32px
// -----------------------------------------------------... | <|file_sep|>app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass.diff
original:
max-width: 380px
updated:
max-width: 400px
<|file_sep|>original/app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass
@extend %no-margin
@extend %prevent-text-breakouts
background: none
color: #fff
float: left... | eeacfcc54a69efdc0bd44564f23125922dccfedf | app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass | app/assets/stylesheets/_globalnav/_legacy/_secondary_nav.sass | Sass |
<|file_sep|>original/inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java
import com.netflix.hystrix.HystrixCommandProperties;
public class TimeOutInventoryRequestCommand extends HystrixCommand<Inventory> {
private final InventoryRequester invent... | import com.netflix.hystrix.HystrixCommandProperties;
public class TimeOutInventoryRequestCommand extends HystrixCommand<Inventory> {
private final InventoryRequester inventoryRequester;
private final Store store;
private final Product product;
public TimeOutInventoryRequestCommand(final int timeoutIn... | <|file_sep|>original/inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java
import com.netflix.hystrix.HystrixCommandProperties;
public class TimeOutInventoryRequestCommand extends HystrixCommand<Inventory> {
private final InventoryRequester invent... | ec6da89080d8ff55026be38c51e1e98c5ae9a982 | inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java | inventory-client/src/main/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommand.java | Java |
<|file_sep|>src/components/Filter/Filter.css.diff
original:
borderRadius: 1px;
updated:
border-radius: 2px;
<|file_sep|>original/src/components/Filter/Filter.css
.filter-button {
color: #FFF;
margin: 0.1em 0.3em;
padding: 2px 5px;
border: none;
borderRadius: 1px;
cursor: pointer;
/* TODO: move text-tr... | .filter-button {
color: #FFF;
margin: 0.1em 0.3em;
padding: 2px 5px;
border: none;
border-radius: 2px;
cursor: pointer;
/* TODO: move text-transform to API ? */
text-transform: capitalize;
transition: opacity 0.2s ease-in-out;
opacity: 0.5;
}
.filter-button-active {
opacity: 1;
}
.filter-button:... | <|file_sep|>src/components/Filter/Filter.css.diff
original:
borderRadius: 1px;
updated:
border-radius: 2px;
<|file_sep|>original/src/components/Filter/Filter.css
.filter-button {
color: #FFF;
margin: 0.1em 0.3em;
padding: 2px 5px;
border: none;
borderRadius: 1px;
cursor: pointer;
/* TODO: move text-tr... | 3db5ded27b180634871be311e3b8602271920ac6 | src/components/Filter/Filter.css | src/components/Filter/Filter.css | CSS |
<|file_sep|>.travis.yml.diff
original:
- 4
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- 6
- 8
- 9
- 10
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R spec
- "./node_modules/.bin/coveralls < ./coverage/lcov... | language: node_js
node_js:
- 6
- 8
- 10
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R spec
- "./node_modules/.bin/coveralls < ./coverage/lcov.info"
- rm -rf ./coverage
deploy:
provider: npm
email: florian.reinhart@gmail.com
api_k... | <|file_sep|>.travis.yml.diff
original:
- 4
updated:
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- 4
- 6
- 8
- 9
- 10
after_success:
- npm install -g istanbul
- npm install coveralls
- istanbul cover node_modules/.bin/_mocha --report lcovonly -- -R spec
- "./node_modules/.bin/coveralls < ./coverage/lcov... | e72259fae1a749ce0a7bc146d7ea89dcd9593fca | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/templates/report.template.r
pdf("reports/{run}.pdf")
data <- read.csv("data/{run}/results.csv", header=T)
par(mfrow=c(2,2))
plot(data$T, data$M, xlab="Temperature", ylab="Magnetization")
plot(data$T, data$E, xlab="Temperature", ylab="Energy")
plot(data$T, data$Xb, xlab="Temperature", ylab="Magnet... | pdf("reports/{run}.pdf")
data <- read.csv("data/{run}/results.csv", header=T)
par(mfrow=c(2,2))
plot(data$T, data$M, xlab="Temperature", ylab="Magnetization")
plot(data$T, data$E, xlab="Temperature", ylab="Energy")
plot(data$T, data$Xb, xlab="Temperature", ylab="Magnetic susceptibility")
plot(data$T, data$Xt, xlab="T... | <|file_sep|>original/templates/report.template.r
pdf("reports/{run}.pdf")
data <- read.csv("data/{run}/results.csv", header=T)
par(mfrow=c(2,2))
plot(data$T, data$M, xlab="Temperature", ylab="Magnetization")
plot(data$T, data$E, xlab="Temperature", ylab="Energy")
plot(data$T, data$Xb, xlab="Temperature", ylab="Magnet... | 534a015570e9b13d87bf3579c766993d455183fa | templates/report.template.r | templates/report.template.r | R |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.