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/src/main/scala/xitrum/annotation/Caches.scala package xitrum.annotation import scala.annotation.StaticAnnotation sealed trait Cache extends StaticAnnotation case class CacheActionDay (days: Int) extends Cache case class CacheActionHour (hours: Int) extends Cache case class CacheActionMin...
package xitrum.annotation import scala.annotation.StaticAnnotation sealed trait Cache extends StaticAnnotation case class CacheActionDay (days: Int) extends Cache case class CacheActionHour (hours: Int) extends Cache case class CacheActionMinute(minutes: Int) extends Cache case class CacheActionSecond(second...
<|file_sep|>original/src/main/scala/xitrum/annotation/Caches.scala package xitrum.annotation import scala.annotation.StaticAnnotation sealed trait Cache extends StaticAnnotation case class CacheActionDay (days: Int) extends Cache case class CacheActionHour (hours: Int) extends Cache case class CacheActionMin...
ffd3b5a38ca3ab4cd73257e0568d66fc5deed469
src/main/scala/xitrum/annotation/Caches.scala
src/main/scala/xitrum/annotation/Caches.scala
Scala
<|file_sep|>src/main.c.diff original: updated: #include "utils/char_fifo.h" <|file_sep|>src/main.c.diff original: updated: char ch; <|file_sep|>original/src/main.c void delayms(uint16_t millis) { while ( millis ) { _delay_ms(1); millis--; } } int main(void) { DDRB |= 1<<PB0; usart_init(); pwm_init(); pwm...
while ( millis ) { _delay_ms(1); millis--; } } int main(void) { DDRB |= 1<<PB0; usart_init(); pwm_init(); pwm_set(0); char ch; while(1) { if(char_fifo_is_empty(usart_recv_fifo())) char_fifo_pop(usart_recv_fifo(), &ch); usart_send_char(ch); } return 0; }
<|file_sep|>src/main.c.diff original: updated: #include "utils/char_fifo.h" <|file_sep|>src/main.c.diff original: updated: char ch; <|file_sep|>original/src/main.c void delayms(uint16_t millis) { while ( millis ) { _delay_ms(1); millis--; } } int main(void) { DDRB |= 1<<PB0; usart_init(); pwm_init(); pwm...
67c8b90938cc84b1f1f5d9dbe0e84645ba448c5d
src/main.c
src/main.c
C
<|file_sep|>original/examples/Cargo.toml "Alex Crichton <alex@alexcrichton.com>", "Andrew Gallant <jamslam@gmail.com>", "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>", ] description = "Examples of the stdsimd crate." [dependencies] core_arch = { path = "../crates/core_arch" } std_detect = { path = "../cr...
"Alex Crichton <alex@alexcrichton.com>", "Andrew Gallant <jamslam@gmail.com>", "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>", ] description = "Examples of the stdsimd crate." [dependencies] core_arch = { path = "../crates/core_arch" } std_detect = { path = "../crates/std_detect" } quickcheck = "0.8" ran...
<|file_sep|>original/examples/Cargo.toml "Alex Crichton <alex@alexcrichton.com>", "Andrew Gallant <jamslam@gmail.com>", "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>", ] description = "Examples of the stdsimd crate." [dependencies] core_arch = { path = "../crates/core_arch" } std_detect = { path = "../cr...
1b60e5c06df22f0b761635c7d3093e9382c066af
examples/Cargo.toml
examples/Cargo.toml
TOML
<|file_sep|>original/identity-login.ts import ko = require("knockout"); import services = require('services/services'); import authentication = require('./authentication'); import * as Folke from '../folke-core/folke'; import * as ServiceHelpers from "../folke-ko-service-helpers/folke-ko-service-helpers" export class ...
import ko = require("knockout"); import services = require('services/services'); import authentication = require('./authentication'); import * as Folke from '../folke-core/folke'; import * as ServiceHelpers from "../folke-ko-service-helpers/folke-ko-service-helpers" export class IdentityLoginViewModel { form = new...
<|file_sep|>original/identity-login.ts import ko = require("knockout"); import services = require('services/services'); import authentication = require('./authentication'); import * as Folke from '../folke-core/folke'; import * as ServiceHelpers from "../folke-ko-service-helpers/folke-ko-service-helpers" export class ...
d4cd5fdeb63310ef7b72fe0c643644caa234e18c
identity-login.ts
identity-login.ts
TypeScript
<|file_sep|>Casks/intellij-idea-community-eap.rb.diff original: url 'http://download.jetbrains.com/idea/ideaIC-135.863.dmg' updated: url 'http://download.jetbrains.com/idea/ideaIC-138.777.dmg' <|file_sep|>original/Casks/intellij-idea-community-eap.rb class IntellijIdeaCommunityEap < Cask url 'http://download.jetb...
class IntellijIdeaCommunityEap < Cask url 'http://download.jetbrains.com/idea/ideaIC-138.777.dmg' homepage 'https://www.jetbrains.com/idea/index.html' version '138.777' sha256 '9614d8055051dc418bce905587c33b3d30e164d1eb873d3716b613627a2c52a2' link 'IntelliJ IDEA 14 CE EAP.app' end
<|file_sep|>Casks/intellij-idea-community-eap.rb.diff original: url 'http://download.jetbrains.com/idea/ideaIC-135.863.dmg' updated: url 'http://download.jetbrains.com/idea/ideaIC-138.777.dmg' <|file_sep|>original/Casks/intellij-idea-community-eap.rb class IntellijIdeaCommunityEap < Cask url 'http://download.jetb...
0f32dba3d2020b56080ee6189939ff79073169f4
Casks/intellij-idea-community-eap.rb
Casks/intellij-idea-community-eap.rb
Ruby
<|file_sep|>src/a_samp.c.diff original: return timerid; updated: return timerid + 1; <|file_sep|>src/a_samp.c.diff original: return -1; updated: return 0; <|file_sep|>original/src/a_samp.c #include <sampgdk/a_samp.h> #include <sampgdk/export.h> #include "fakeamx.h" #include "native.h" #include "timer.h" #inclu...
#include <sampgdk/export.h> #include "fakeamx.h" #include "native.h" #include "timer.h" #include "generated/a_samp-impl.c" SAMPGDK_NATIVE(int, SetTimer(int interval, bool repeat, TimerCallback callback, void *param)) { int timerid; if (timer_set(&timerid, interval, repeat, (timer_callback)callback, param) >= 0) {...
<|file_sep|>src/a_samp.c.diff original: return timerid; updated: return timerid + 1; <|file_sep|>src/a_samp.c.diff original: return -1; updated: return 0; <|file_sep|>original/src/a_samp.c #include <sampgdk/a_samp.h> #include <sampgdk/export.h> #include "fakeamx.h" #include "native.h" #include "timer.h" #inclu...
32a03501ea2030314b9b610ea0181f1f60bce11e
src/a_samp.c
src/a_samp.c
C
<|file_sep|>.travis.yml.diff original: updated: - NODE_VERSION=0.12 <|file_sep|>original/.travis.yml git: depth: 10 env: global: - ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4 matrix: - NODE_VERSION=0.12 - ATOM_SPECS_TASK=packages - ATOM_SPECS_TASK=core matrix: exclude: ...
git: depth: 10 env: global: - ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4 - NODE_VERSION=0.12 matrix: - ATOM_SPECS_TASK=packages - ATOM_SPECS_TASK=core matrix: exclude: - os: linux env: ATOM_SPECS_TASK=core - os: linux env: ATOM_SPECS_TASK=packages os: - ...
<|file_sep|>.travis.yml.diff original: updated: - NODE_VERSION=0.12 <|file_sep|>original/.travis.yml git: depth: 10 env: global: - ATOM_ACCESS_TOKEN=da809a6077bb1b0aa7c5623f7b2d5f1fec2faae4 matrix: - NODE_VERSION=0.12 - ATOM_SPECS_TASK=packages - ATOM_SPECS_TASK=core matrix: exclude: ...
22493bcc8e4cb858a43947911184f5024f4ba50c
.travis.yml
.travis.yml
YAML
<|file_sep|>spec/rest/verix/verix_pdf_documents_spec.rb.diff original: context 'when missing parameters' do subject { document.show(:record_id, nil) } it 'raises an error when missing record id' do expect { subject }.to raise_error(FinAppsCore::MissingArgumentsError) end it 'raises...
include SpecHelpers::Client let(:api_client) { client } let(:document) { described_class.new(api_client) } describe '#show' do subject { document.show(:record_id, :provider_id) } it_behaves_like 'an API request' it_behaves_like 'a successful request' context 'when missing record_id' do ...
<|file_sep|>spec/rest/verix/verix_pdf_documents_spec.rb.diff original: context 'when missing parameters' do subject { document.show(:record_id, nil) } it 'raises an error when missing record id' do expect { subject }.to raise_error(FinAppsCore::MissingArgumentsError) end it 'raises...
1785e4cf9e0036dab95b751e3302e61b861a9e82
spec/rest/verix/verix_pdf_documents_spec.rb
spec/rest/verix/verix_pdf_documents_spec.rb
Ruby
<|file_sep|>original/DisplayAdapter/display_adapter/scripts/init_db.py __author__ = 'richard' <|file_sep|>current/DisplayAdapter/display_adapter/scripts/init_db.py __author__ = 'richard' <|file_sep|>updated/DisplayAdapter/display_adapter/scripts/init_db.py
""" Script that is run from the command line in order to """ import sys import sqlite3 from display_adapter import db_name help_message = """ This initialises an sqlite3 db for the purposes of the DisplayAdapter programs. Arguments: init_db.py database_name """ runs_table = """ CREATE TABLE runs ( id INTEGER NOT...
<|file_sep|>original/DisplayAdapter/display_adapter/scripts/init_db.py __author__ = 'richard' <|file_sep|>current/DisplayAdapter/display_adapter/scripts/init_db.py __author__ = 'richard' <|file_sep|>updated/DisplayAdapter/display_adapter/scripts/init_db.py """ Script that is run from the command line in order to """ im...
4359a9947c1d86d9e4003c1e8fc358e9a66c6b1d
DisplayAdapter/display_adapter/scripts/init_db.py
DisplayAdapter/display_adapter/scripts/init_db.py
Python
<|file_sep|>original/test/unit/runner.spec.coffee EXIT0 = constant.EXIT_CODE_0 it 'should return 0 exit code if present in the buffer', -> expect(m.parseExitCode new Buffer 'something\nfake' + EXIT0).toBe 0 it 'should null the exit code part of the buffer', -> buffer = new Buffer 'some' + EXI...
EXIT0 = constant.EXIT_CODE_0 it 'should return 0 exit code if present in the buffer', -> expect(m.parseExitCode new Buffer 'something\nfake' + EXIT0).toBe 0 it 'should null the exit code part of the buffer', -> buffer = new Buffer 'some' + EXIT0 m.parseExitCode buffer expect(buff...
<|file_sep|>original/test/unit/runner.spec.coffee EXIT0 = constant.EXIT_CODE_0 it 'should return 0 exit code if present in the buffer', -> expect(m.parseExitCode new Buffer 'something\nfake' + EXIT0).toBe 0 it 'should null the exit code part of the buffer', -> buffer = new Buffer 'some' + EXI...
0507b4f3c3b027f1b2450b835f9692b000c972a8
test/unit/runner.spec.coffee
test/unit/runner.spec.coffee
CoffeeScript
<|file_sep|>original/metadata/com.wanderfar.expander.txt Auto Name:Expander Summary:Expand keywords to whole phrases Description: Allows you to define an unlimited number of text shortcuts that will expand into a full phrases when typed. . Repo Type:git Repo:https://github.com/bhubie/Expander Build:0.8,12 commit...
Auto Name:Expander Summary:Expand keywords to whole phrases Description: Allows you to define an unlimited number of text shortcuts that will expand into a full phrases when typed. . Repo Type:git Repo:https://github.com/bhubie/Expander Build:0.8,12 commit=2dcb80e9200507c77cfc064449347e64c2f660ce subdir=app ...
<|file_sep|>original/metadata/com.wanderfar.expander.txt Auto Name:Expander Summary:Expand keywords to whole phrases Description: Allows you to define an unlimited number of text shortcuts that will expand into a full phrases when typed. . Repo Type:git Repo:https://github.com/bhubie/Expander Build:0.8,12 commit...
d734305e9f041fd0d4d25cb58f99349c72f84991
metadata/com.wanderfar.expander.txt
metadata/com.wanderfar.expander.txt
Text
<|file_sep|>original/jekyll-compass.gemspec Gem::Specification.new do |s| s.name = 'jekyll-compass' s.version = '0.3.pre' s.summary = "Jekyll generator plugin to build Compass projects during site build" s.description = <<-EOF This project is a plugin for the Jekyll static website generator ...
Gem::Specification.new do |s| s.name = 'jekyll-compass' s.version = '0.3.pre' s.summary = "Jekyll generator plugin to build Compass projects during site build" s.description = <<-EOF This project is a plugin for the Jekyll static website generator to allow for using Compass projects with you...
<|file_sep|>original/jekyll-compass.gemspec Gem::Specification.new do |s| s.name = 'jekyll-compass' s.version = '0.3.pre' s.summary = "Jekyll generator plugin to build Compass projects during site build" s.description = <<-EOF This project is a plugin for the Jekyll static website generator ...
0b8225494a7808bec98ef3ce5ecac3adad1cb426
jekyll-compass.gemspec
jekyll-compass.gemspec
Ruby
<|file_sep|>original/requirements.txt # unit test requirements docutils>=0.9 pytest>=2.8 mock>=1.0b1 hypothesis==3.56.7 # documentation requirements sphinx>=1.0.7 # linting pylint==1.8.4 yapf==0.21.0 <|file_sep|>current/requirements.txt # unit test requirements docutils>=0.9 pytest>=2.8 mock>=1.0b1 hypothesis==3.56....
# unit test requirements docutils>=0.9 pytest>=2.8 mock>=1.0b1 hypothesis==3.56.8 # documentation requirements sphinx>=1.0.7 # linting pylint==1.8.4 yapf==0.21.0
<|file_sep|>original/requirements.txt # unit test requirements docutils>=0.9 pytest>=2.8 mock>=1.0b1 hypothesis==3.56.7 # documentation requirements sphinx>=1.0.7 # linting pylint==1.8.4 yapf==0.21.0 <|file_sep|>current/requirements.txt # unit test requirements docutils>=0.9 pytest>=2.8 mock>=1.0b1 hypothesis==3.56....
549f4200c8d46029c1364beef82d073dcc8c0c3b
requirements.txt
requirements.txt
Text
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>updated/requirements-dev.txt
-r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.3
<|file_sep|>original/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>current/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx==1.8.2 <|file_sep|>updated/requirements-dev.txt -r requirements.txt pytest==4.0.2 pytest-mock==1.10.0 sphinx...
da65fd0f9b550aa2f05509a19e5560d98a9af375
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>original/lib/awspec/resource_reader.rb module BlackListForwardable class CalledMethodInBlackList < StandardError end def method_missing_via_black_list(name, delegate_to: nil) raise ArguementError, 'delegate_to: must be specified' unless delegate_to if match_black_list?(name) && !m...
module BlackListForwardable class CalledMethodInBlackList < StandardError end def method_missing_via_black_list(name, delegate_to: nil) raise ArguementError, 'delegate_to: must be specified' unless delegate_to if match_black_list?(name) && !match_white_list?(name) raise CalledMethodIn...
<|file_sep|>original/lib/awspec/resource_reader.rb module BlackListForwardable class CalledMethodInBlackList < StandardError end def method_missing_via_black_list(name, delegate_to: nil) raise ArguementError, 'delegate_to: must be specified' unless delegate_to if match_black_list?(name) && !m...
5b197a153048f340489e220960aeb695071b21e1
lib/awspec/resource_reader.rb
lib/awspec/resource_reader.rb
Ruby
<|file_sep|>original/ws/JLink_test.clj <|file_sep|>current/ws/JLink_test.clj <|file_sep|>updated/ws/JLink_test.clj
;; gorilla-repl.fileformat = 1 ;; ** ;;; # Testing JLink ;;; ;;; You can use this worksheet to test whether JLink is set up correctly on your computer. ;; ** ;; @@ (ns warm-swamp (:require [gorilla-plot.core :as plot]) (:import [com.wolfram.jlink])) ;; @@ ;; => ;;; {"type":"html","content":"<span class='clj-nil'...
<|file_sep|>original/ws/JLink_test.clj <|file_sep|>current/ws/JLink_test.clj <|file_sep|>updated/ws/JLink_test.clj ;; gorilla-repl.fileformat = 1 ;; ** ;;; # Testing JLink ;;; ;;; You can use this worksheet to test whether JLink is set up correctly on your computer. ;; ** ;; @@ (ns warm-swamp (:require [gorilla-...
061ebe29546e36a6652eb6d702b9ae7456539fe5
ws/JLink_test.clj
ws/JLink_test.clj
Clojure
<|file_sep|>original/Settings/OptionsDialogPage.cs **/ using Rhino; using Rhino.DocObjects; using Rhino.UI; using System; using System.Drawing; namespace RhinoCycles.Settings { public class OptionsDialogPage : Rhino.UI.OptionsDialogPage { public OptionsDialogPage() : base(Localization.LocalizeString("Raytraced set...
**/ using Rhino; using Rhino.DocObjects; using Rhino.UI; using System; using System.Drawing; namespace RhinoCycles.Settings { public class OptionsDialogPage : Rhino.UI.OptionsDialogPage { public OptionsDialogPage() : base(Localization.LocalizeString("Cycles", 7)) { CollapsibleSectionHolder = new OptionsDialog...
<|file_sep|>original/Settings/OptionsDialogPage.cs **/ using Rhino; using Rhino.DocObjects; using Rhino.UI; using System; using System.Drawing; namespace RhinoCycles.Settings { public class OptionsDialogPage : Rhino.UI.OptionsDialogPage { public OptionsDialogPage() : base(Localization.LocalizeString("Raytraced set...
68d196b0d4e19da43d44b64325b1a05436696cf7
Settings/OptionsDialogPage.cs
Settings/OptionsDialogPage.cs
C#
<|file_sep|>original/modules/editor/lispy/config.el ;;; editor/lispy/config.el -*- lexical-binding: t; -*- (use-package! lispy :hook ((common-lisp-mode . lispy-mode) (emacs-lisp-mode . lispy-mode) (scheme-mode . lispy-mode) (racket-mode . lispy-mode) (hy-mode . lispy-mode) ...
;;; editor/lispy/config.el -*- lexical-binding: t; -*- (use-package! lispy :hook ((common-lisp-mode . lispy-mode) (emacs-lisp-mode . lispy-mode) (scheme-mode . lispy-mode) (racket-mode . lispy-mode) (hy-mode . lispy-mode) (lfe-mode . lispy-mode) (dune-mode . lisp...
<|file_sep|>original/modules/editor/lispy/config.el ;;; editor/lispy/config.el -*- lexical-binding: t; -*- (use-package! lispy :hook ((common-lisp-mode . lispy-mode) (emacs-lisp-mode . lispy-mode) (scheme-mode . lispy-mode) (racket-mode . lispy-mode) (hy-mode . lispy-mode) ...
712ac3349a18849fa518349b37c9c01ec1398b10
modules/editor/lispy/config.el
modules/editor/lispy/config.el
Emacs Lisp
<|file_sep|>original/modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml /usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements virtualenv --clear .venv PIP_ARGS="" REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-...
/usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements virtualenv --clear .venv PIP_ARGS="" REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt" for FILE in $REQ_FILES do if [ -e $FILE ] ...
<|file_sep|>original/modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml /usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements virtualenv --clear .venv PIP_ARGS="" REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-...
72be3b8c2f653402afab1e23b17b40e838350d4c
modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml
modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml
YAML
<|file_sep|>original/package.json "bot" ], "author": "awau", "license": "MIT", "bugs": { "url": "https://github.com/awau/Clara/issues" }, "homepage": "https://github.com/awau/Clara#readme", "dependencies": { "bluebird": "^3.5.0", "chalk": "^1.1.3", "eris": "github:abalabahaha/eris", ...
], "author": "awau", "license": "MIT", "bugs": { "url": "https://github.com/awau/Clara/issues" }, "homepage": "https://github.com/awau/Clara#readme", "dependencies": { "bluebird": "^3.5.0", "chalk": "^1.1.3", "eris": "github:abalabahaha/eris", "rethinkdbdash": "^2.3.28", "decache":...
<|file_sep|>original/package.json "bot" ], "author": "awau", "license": "MIT", "bugs": { "url": "https://github.com/awau/Clara/issues" }, "homepage": "https://github.com/awau/Clara#readme", "dependencies": { "bluebird": "^3.5.0", "chalk": "^1.1.3", "eris": "github:abalabahaha/eris", ...
51f44b8b32a735ff6126ad5d9ff553bb071004b4
package.json
package.json
JSON
<|file_sep|>original/metadata/com.majeur.applicationsinfo.txt Build:1.2,3 commit=d3733bae0f23ac758b5ef1dcfd8c8c3ab1aca7ca subdir=app gradle=yes Build:1.3,4 commit=0e0f44389a197d780828ac6123685b1708e3eb9c subdir=app gradle=yes Build:1.4,5 commit=d2481b8b0261a4cc2f542153edfeb708f7e1b5a0 ...
Build:1.2,3 commit=d3733bae0f23ac758b5ef1dcfd8c8c3ab1aca7ca subdir=app gradle=yes Build:1.3,4 commit=0e0f44389a197d780828ac6123685b1708e3eb9c subdir=app gradle=yes Build:1.4,5 commit=d2481b8b0261a4cc2f542153edfeb708f7e1b5a0 subdir=app gradle=yes Auto Update Mode:None Update Check...
<|file_sep|>original/metadata/com.majeur.applicationsinfo.txt Build:1.2,3 commit=d3733bae0f23ac758b5ef1dcfd8c8c3ab1aca7ca subdir=app gradle=yes Build:1.3,4 commit=0e0f44389a197d780828ac6123685b1708e3eb9c subdir=app gradle=yes Build:1.4,5 commit=d2481b8b0261a4cc2f542153edfeb708f7e1b5a0 ...
2391cba76e2a71b66b89c2135f99dffeb3492c68
metadata/com.majeur.applicationsinfo.txt
metadata/com.majeur.applicationsinfo.txt
Text
<|file_sep|>app/src/main/java/moe/minori/pgpclipper/BootListener.java.diff original: updated: import android.util.Log; <|file_sep|>app/src/main/java/moe/minori/pgpclipper/BootListener.java.diff original: updated: Log.d("PGPClipperBootListener", "Received Boot Completed broadcast"); <|file_sep|>app/src/main/j...
// get preference SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context); boolean isEnabled = preferences.getBoolean("pgpClipperEnabledCheckbox", false); Intent serviceIntent = new Intent(context, PGPClipperService.class); //...
<|file_sep|>app/src/main/java/moe/minori/pgpclipper/BootListener.java.diff original: updated: import android.util.Log; <|file_sep|>app/src/main/java/moe/minori/pgpclipper/BootListener.java.diff original: updated: Log.d("PGPClipperBootListener", "Received Boot Completed broadcast"); <|file_sep|>app/src/main/j...
4a70ff6912f6aad805c5e1c23c8f7f0c98856037
app/src/main/java/moe/minori/pgpclipper/BootListener.java
app/src/main/java/moe/minori/pgpclipper/BootListener.java
Java
<|file_sep|>original/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java <|file_sep|>current/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java <|file_sep|>updated/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java
package to.etc.domui.hibernate.types; import org.hibernate.HibernateException; import org.hibernate.usertype.UserType; import to.etc.util.DateUtil; import java.io.Serializable; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import java.util.Date; /*...
<|file_sep|>original/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java <|file_sep|>current/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java <|file_sep|>updated/to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java pa...
285e8a78709fea69e95676027d0baf07125f973e
to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java
to.etc.domui.hibutil/src/main/java/to/etc/domui/hibernate/types/DateNonnullType.java
Java
<|file_sep|>app/models/voteable.rb.diff original: updated: end def parent_question_id case Module.get_const(self.get_type) when Question return self.id when Answer return self.question_id when Comment return comment_parent_question_id end end def comment_parent_question_...
case comment_parent_class when Question return comment_parent_id when Answer return comment_parent.parent_question_id end end def get_type self.class.name end def find_vote(user) Vote.find_or_initialize_by(user_id: user.id, voteable_type: get_...
<|file_sep|>app/models/voteable.rb.diff original: updated: end def parent_question_id case Module.get_const(self.get_type) when Question return self.id when Answer return self.question_id when Comment return comment_parent_question_id end end def comment_parent_question_...
475eee9b20e6d15bd2d8a3d2cf4d4791c65c5bcd
app/models/voteable.rb
app/models/voteable.rb
Ruby
<|file_sep|>original/app/views/users/show.html.erb This is where each individual user profile info will go. Will have to make it so that users can only see their own profile. <p> Username: <%= @user.username%></p> <p> Email: <%= @user.email%></p> <p> Password: <%= @user.password%></p> <|file_sep|>current/app/views/us...
This is where each individual user profile info will go. Will have to make it so that users can only see their own profile. <p><%= link_to "Edit", edit_user_path %></p> <p> Username: <%= @user.username%></p> <p> Email: <%= @user.email%></p> <p> Password: <%= @user.password%></p>
<|file_sep|>original/app/views/users/show.html.erb This is where each individual user profile info will go. Will have to make it so that users can only see their own profile. <p> Username: <%= @user.username%></p> <p> Email: <%= @user.email%></p> <p> Password: <%= @user.password%></p> <|file_sep|>current/app/views/us...
3b18ffd02bb4bfb98a3c95d129dd069de4d4296e
app/views/users/show.html.erb
app/views/users/show.html.erb
HTML+ERB
<|file_sep|>original/package.json { "name": "camunda-admin-ui", "version": "7.4.0-alpha3", "private": true, "gruntConfig": { "connectPort": 8020, "livereloadPort": 8021, "clientDir": "client", "prodTarget": "dist", "devTarget": "dist/app/admin" } } <|file_sep|>current/package.json { "nam...
{ "name": "camunda-admin-ui", "version": "7.4.0-SNAPSHOT", "private": true, "gruntConfig": { "connectPort": 8020, "livereloadPort": 8021, "clientDir": "client", "prodTarget": "dist", "devTarget": "dist/app/admin" } }
<|file_sep|>original/package.json { "name": "camunda-admin-ui", "version": "7.4.0-alpha3", "private": true, "gruntConfig": { "connectPort": 8020, "livereloadPort": 8021, "clientDir": "client", "prodTarget": "dist", "devTarget": "dist/app/admin" } } <|file_sep|>current/package.json { "nam...
e81798e2cbc80445463e5347049e33e5a4022b65
package.json
package.json
JSON
<|file_sep|>original/{{cookiecutter.package_name}}/tox.ini [tox] envlist=py27,py33 [testenv] commands=py.test {{ cookiecutter.package_name }} deps=pytest <|file_sep|>current/{{cookiecutter.package_name}}/tox.ini [tox] envlist=py27,py33 [testenv] commands=py.test {{ cookiecutter.package_name }} deps=pytest <|file_sep|...
[tox] envlist=py27,py34 [testenv] commands=py.test {{ cookiecutter.package_name }} deps=pytest
<|file_sep|>original/{{cookiecutter.package_name}}/tox.ini [tox] envlist=py27,py33 [testenv] commands=py.test {{ cookiecutter.package_name }} deps=pytest <|file_sep|>current/{{cookiecutter.package_name}}/tox.ini [tox] envlist=py27,py33 [testenv] commands=py.test {{ cookiecutter.package_name }} deps=pytest <|file_sep|...
a84d7bf8ead48269e9559f174fd6b388a46a2019
{{cookiecutter.package_name}}/tox.ini
{{cookiecutter.package_name}}/tox.ini
INI
<|file_sep|>src/index.js.diff original: const { SPOTIFY_USER_ACCESS_TOKEN, SPOTIFY_LOCAL_URL, SLACK_TOKEN } = process.env; updated: const { SPOTIFY_CLIENT_ID, SPOTIFY_SECRET } = process.env; <|file_sep|>src/index.js.diff original: let message = 'no token...'; if (SPOTIFY_USER...
const { response } = require('./util/lambda') function handler(event, context, callback) { const { body } = event; const { SPOTIFY_CLIENT_ID, SPOTIFY_SECRET } = process.env; callback(null, response({ message: 'It works!', body: body })); } module.exports = { handler };
<|file_sep|>src/index.js.diff original: const { SPOTIFY_USER_ACCESS_TOKEN, SPOTIFY_LOCAL_URL, SLACK_TOKEN } = process.env; updated: const { SPOTIFY_CLIENT_ID, SPOTIFY_SECRET } = process.env; <|file_sep|>src/index.js.diff original: let message = 'no token...'; if (SPOTIFY_USER...
11be565af68faeac318816367d294ada91f25b9c
src/index.js
src/index.js
JavaScript
<|file_sep|>original/docs/requirements.txt sphinx >= 2.0.1 pygments-systemrdl git+git://github.com/amykyta/sphinx_csv_filter.git <|file_sep|>current/docs/requirements.txt sphinx >= 2.0.1 pygments-systemrdl git+git://github.com/amykyta/sphinx_csv_filter.git <|file_sep|>updated/docs/requirements.txt
sphinx >= 2.0.1 pygments-systemrdl git+git://github.com/amykyta3/sphinx_csv_filter.git
<|file_sep|>original/docs/requirements.txt sphinx >= 2.0.1 pygments-systemrdl git+git://github.com/amykyta/sphinx_csv_filter.git <|file_sep|>current/docs/requirements.txt sphinx >= 2.0.1 pygments-systemrdl git+git://github.com/amykyta/sphinx_csv_filter.git <|file_sep|>updated/docs/requirements.txt sphinx >= 2.0.1 pygme...
8df8ec294af0cf2f5402a6270c1e815f173fa9b1
docs/requirements.txt
docs/requirements.txt
Text
<|file_sep|>original/docs/src/preprocessors/includes.md # Includes <include sethead="2" nohead="true" recursive="false"> $foliantcontrib#develop$includes/README.md </include> <|file_sep|>current/docs/src/preprocessors/includes.md # Includes <include sethead="2" nohead="true" recursive="false"> $foliantcontrib...
# Includes <include sethead="2" nohead="true"> $foliantcontrib#develop$includes/README.md </include>
<|file_sep|>original/docs/src/preprocessors/includes.md # Includes <include sethead="2" nohead="true" recursive="false"> $foliantcontrib#develop$includes/README.md </include> <|file_sep|>current/docs/src/preprocessors/includes.md # Includes <include sethead="2" nohead="true" recursive="false"> $foliantcontrib...
06bbe753584dd6f9fd95555506fce32e3f5d61b5
docs/src/preprocessors/includes.md
docs/src/preprocessors/includes.md
Markdown
<|file_sep|>idsBuild.sh.diff original: updated: ../gradlew stopCurrentContainer <|file_sep|>original/idsBuild.sh echo Downloading Docker requirements.. wget --user=admin --password=$ADMIN_PASSWORD https://$BUILD_DOCKER_HOST:8443/dockerneeds.tar -q echo Setting up Docker... tar xzf dockerneeds.tar cd .. echo Buildi...
echo Setting up Docker... tar xzf dockerneeds.tar cd .. echo Building projects using gradle... ./gradlew build echo Building and Starting Concierge Docker Image... cd concierge-wlpcfg ../gradlew buildDockerImage ../gradlew stopCurrentContainer ../gradlew removeCurrentContainer ../gradlew startNewContainer echo Bui...
<|file_sep|>idsBuild.sh.diff original: updated: ../gradlew stopCurrentContainer <|file_sep|>original/idsBuild.sh echo Downloading Docker requirements.. wget --user=admin --password=$ADMIN_PASSWORD https://$BUILD_DOCKER_HOST:8443/dockerneeds.tar -q echo Setting up Docker... tar xzf dockerneeds.tar cd .. echo Buildi...
4ffb52dd20790a64594217de1b9e2488705b59ff
idsBuild.sh
idsBuild.sh
Shell
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/zen-audio-player/zen-audio-player.github.io.git" }, "keywords": [ "youtube", "audio", "zen", "player" ], "author": "Shakeel Mohamed", "license": "MIT", "bugs": { "url": "https://github.com/zen-audio-playe...
"keywords": [ "youtube", "audio", "zen", "player" ], "author": "Shakeel Mohamed", "license": "MIT", "bugs": { "url": "https://github.com/zen-audio-player/zen-audio-player.github.io/issues" }, "homepage": "https://zen-audio-player.github.io", "devDependencies": { "mocha": "2.3.x",...
<|file_sep|>original/package.json "type": "git", "url": "https://github.com/zen-audio-player/zen-audio-player.github.io.git" }, "keywords": [ "youtube", "audio", "zen", "player" ], "author": "Shakeel Mohamed", "license": "MIT", "bugs": { "url": "https://github.com/zen-audio-playe...
2537dc2bed7b2d413f2e6a05ae4717c0fbcb6201
package.json
package.json
JSON
<|file_sep|>awx/ui/static/js/main-menu/menu-portal.partial.html.diff original: <a link-to="dashboard" class="MenuItem MenuItem--right MenuItem--fixed" title="Portal Mode"> updated: <a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--right MenuItem--fixed MenuItem-username"> <i class="Menu...
</a> <a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--right MenuItem--fixed MenuItem-username"> <i class="MenuItem-icon MenuItem-icon--labelled"> <aw-icon name="User"></aw-icon> </i> <span class="u-truncatedText"> {{currentUser.username}} </span> </a> <a link-to="dashboar...
<|file_sep|>awx/ui/static/js/main-menu/menu-portal.partial.html.diff original: <a link-to="dashboard" class="MenuItem MenuItem--right MenuItem--fixed" title="Portal Mode"> updated: <a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--right MenuItem--fixed MenuItem-username"> <i class="Menu...
d2534338d72ae72bbeb8bda6fe154a0df653f7d8
awx/ui/static/js/main-menu/menu-portal.partial.html
awx/ui/static/js/main-menu/menu-portal.partial.html
HTML
<|file_sep|>original/package.json { "name": "local-reverse-geocoder", "version": "0.0.15", "description": "Implements a local reverse geocoder based on GeoNames", "main": "geocoder.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "geocoding", "geocoder",...
{ "name": "local-reverse-geocoder", "version": "0.1.0", "description": "Implements a local reverse geocoder based on GeoNames", "main": "geocoder.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "geocoding", "geocoder", "reverse", "local" ], ...
<|file_sep|>original/package.json { "name": "local-reverse-geocoder", "version": "0.0.15", "description": "Implements a local reverse geocoder based on GeoNames", "main": "geocoder.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "geocoding", "geocoder",...
fc80f0d87d4deb9b4b868ec0be6a28b4e0846350
package.json
package.json
JSON
<|file_sep|>original/rbnacl.gemspec require 'rbnacl/version' Gem::Specification.new do |gem| gem.name = "rbnacl" gem.version = RbNaCl::VERSION gem.authors = ["Tony Arcieri", "Jonathan Stott"] gem.email = ["tony.arcieri@gmail.com", "jonathan.stott@gmail.com"] gem.description = "...
require 'rbnacl/version' Gem::Specification.new do |gem| gem.name = "rbnacl" gem.version = RbNaCl::VERSION gem.authors = ["Tony Arcieri", "Jonathan Stott"] gem.email = ["tony.arcieri@gmail.com", "jonathan.stott@gmail.com"] gem.description = "Ruby binding to the Networking and C...
<|file_sep|>original/rbnacl.gemspec require 'rbnacl/version' Gem::Specification.new do |gem| gem.name = "rbnacl" gem.version = RbNaCl::VERSION gem.authors = ["Tony Arcieri", "Jonathan Stott"] gem.email = ["tony.arcieri@gmail.com", "jonathan.stott@gmail.com"] gem.description = "...
0032293ea58941224c5fa6ffd3258ccbb9d3300b
rbnacl.gemspec
rbnacl.gemspec
Ruby
<|file_sep|>original/app/controllers/admin/platforms_controller.rb module Admin class PlatformsController < Admin::ApplicationController # To customize the behavior of this controller, # you can overwrite any of the RESTful actions. For example: # # def index # super # @resources = Branch....
# def index # super # @resources = Branch. # page(params[:page]). # per(10) # end # Define a custom finder by overriding the `find_resource` method: # def find_resource(param) # Branch.find_by!(slug: param) # end # See https://administrate-prototype.herokuapp....
<|file_sep|>original/app/controllers/admin/platforms_controller.rb module Admin class PlatformsController < Admin::ApplicationController # To customize the behavior of this controller, # you can overwrite any of the RESTful actions. For example: # # def index # super # @resources = Branch....
48d0fbf7ebb57c7c2da40b0fae945a7cd7ebd738
app/controllers/admin/platforms_controller.rb
app/controllers/admin/platforms_controller.rb
Ruby
<|file_sep|>README.md.diff original: updated: * <|file_sep|>original/README.md # sensorpy Python package for sensor data fusion/processing This package implements * Alpha Filter * Alpha-beta Filter **Pending** * Kalman filter (KF) * Extended Kalman Filter * Unscented Kalman Filter <|file_sep|>current/README.md # sen...
# sensorpy Python package for sensor data fusion/processing This package implements * Alpha Filter * Alpha-beta Filter * **Pending** * Kalman filter (KF) * Extended Kalman Filter (EKF) * Unscented Kalman Filter (UKF) * IMM framework
<|file_sep|>README.md.diff original: updated: * <|file_sep|>original/README.md # sensorpy Python package for sensor data fusion/processing This package implements * Alpha Filter * Alpha-beta Filter **Pending** * Kalman filter (KF) * Extended Kalman Filter * Unscented Kalman Filter <|file_sep|>current/README.md # sen...
3528da23039a3185bcf698199acbbd7f934a2b6b
README.md
README.md
Markdown
<|file_sep|>original/run.sh #!/usr/bin/env bash echo "************************* SETTING ENV VARS ************************* " export PRINCIPAL="mesos_master" export FRAMEWORK_USER="magellan" echo "************************* BUILDING WITH MAVEN ************************* " mvn package $@ echo "************************* RUN...
#!/usr/bin/env bash echo "************************* SETTING ENV VARS ************************* " export PRINCIPAL="mesos_master" export FRAMEWORK_USER="magellan" export MASTER_ADDRESS="10.144.144.10:5050" echo "************************* BUILDING WITH MAVEN ************************* " mvn package $@ echo "**************...
<|file_sep|>original/run.sh #!/usr/bin/env bash echo "************************* SETTING ENV VARS ************************* " export PRINCIPAL="mesos_master" export FRAMEWORK_USER="magellan" echo "************************* BUILDING WITH MAVEN ************************* " mvn package $@ echo "************************* RUN...
e1dc3e35fcc6f392fcac0e635319ed9d9b9fd6a5
run.sh
run.sh
Shell
<|file_sep|>original/doc/toric.bib http://front.math.ucdavis.edu/math.AG/0208065", journal = "(appeared as {\it Computing with toric varieties}, Journal of Symbolic Computation, Volume 42, Issue 5, May 2007, Pages 511-532)", year = 2002 } @book{F93, author = "W. Fulton", title ...
http://front.math.ucdavis.edu/math.AG/0208065", journal = "(appeared as {\it Computing with toric varieties}, Journal of Symbolic Computation, Volume 42, Issue 5, May 2007, Pages 511-532)", year = 2002 } @book{F93, author = "W. Fulton", title = "Introduction to toric v...
<|file_sep|>original/doc/toric.bib http://front.math.ucdavis.edu/math.AG/0208065", journal = "(appeared as {\it Computing with toric varieties}, Journal of Symbolic Computation, Volume 42, Issue 5, May 2007, Pages 511-532)", year = 2002 } @book{F93, author = "W. Fulton", title ...
ed8a1af328fc236cd29b4910e99da78ece5d3040
doc/toric.bib
doc/toric.bib
TeX
<|file_sep|>original/sass/components/_form.sass // .has-structure // ------------------------------------- // Scaffolding // ------------------------------------- // .pseudo // position: relative // // .pseudo-label // bottom: 0 // left: 0 // position: absolute fieldset border: 0 padding: 0 ...
// .has-structure // ------------------------------------- // Scaffolding // ------------------------------------- fieldset border: 0 padding: 0 + fieldset margin-top: $b-space label color: mix(#fff, $bigStone, 20%) input[type], textarea border: 1px solid mix(#fff, $c-border, 50%) border-radius: ...
<|file_sep|>original/sass/components/_form.sass // .has-structure // ------------------------------------- // Scaffolding // ------------------------------------- // .pseudo // position: relative // // .pseudo-label // bottom: 0 // left: 0 // position: absolute fieldset border: 0 padding: 0 ...
9110698504932cf2a41281eb7f9d19f7ebeb274f
sass/components/_form.sass
sass/components/_form.sass
Sass
<|file_sep|>original/lib/assets/javascripts/cartodb/common/views/error_details_view.js * Error details view, to be used together with an error object from an import model. */ module.exports = cdb.core.View.extend({ initialize: function() { this.user = this.options.user; this.err = this.options.err; }, ...
* Error details view, to be used together with an error object from an import model. */ module.exports = cdb.core.View.extend({ initialize: function() { this.user = this.options.user; this.err = this.options.err; }, render: function() { // Preventing problems checking if the error_code is a number...
<|file_sep|>original/lib/assets/javascripts/cartodb/common/views/error_details_view.js * Error details view, to be used together with an error object from an import model. */ module.exports = cdb.core.View.extend({ initialize: function() { this.user = this.options.user; this.err = this.options.err; }, ...
e8551b2428c4f4a16c9591970e5720cab5332936
lib/assets/javascripts/cartodb/common/views/error_details_view.js
lib/assets/javascripts/cartodb/common/views/error_details_view.js
JavaScript
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "0.10" <|file_sep|>updated/.travis.yml
language: node_js node_js: - "4.0" - "4.1"
<|file_sep|>original/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "0.10" <|file_sep|>current/.travis.yml language: node_js node_js: - "0.12" - "0.11" - "0.10" <|file_sep|>updated/.travis.yml language: node_js node_js: - "4.0" - "4.1"
98b82fee6a708bbf9b68beab203bc986344d12a0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "tree-view", "version": "0.6.0", "main": "./lib/tree", "description": "Display, add, move, and delete the files and folders in the current project.", "repository": { "type": "git", "url": "https://github.com/atom/tree-view.git" }, "bugs": { "url": "h...
{ "name": "tree-view", "version": "0.6.0", "main": "./lib/tree", "description": "Display, add, move, and delete the files and folders in the current project.", "repository": { "type": "git", "url": "https://github.com/atom/tree-view.git" }, "bugs": { "url": "https://github.com/atom/tree-view/i...
<|file_sep|>original/package.json { "name": "tree-view", "version": "0.6.0", "main": "./lib/tree", "description": "Display, add, move, and delete the files and folders in the current project.", "repository": { "type": "git", "url": "https://github.com/atom/tree-view.git" }, "bugs": { "url": "h...
e6aee5dc0752e1b87546a469f252ac00ea2ba620
package.json
package.json
JSON
<|file_sep|>README.md.diff original: pslackr [slak-er] ======== updated: # pslackr [slak-er] <|file_sep|>original/README.md [![Build Status](https://travis-ci.org/fullybaked/pslackr.png?branch=master)](https://travis-ci.org/fullybaked/pslackr) pslackr [slak-er] ======== pSlackr is a library for integrating Slack.com'...
[![Build Status](https://travis-ci.org/fullybaked/pslackr.png?branch=master)](https://travis-ci.org/fullybaked/pslackr) # pslackr [slak-er] pSlackr is a library for integrating Slack.com's inbound web hook into your application enabling you to send messages to your group chat channels from your application ## Instal...
<|file_sep|>README.md.diff original: pslackr [slak-er] ======== updated: # pslackr [slak-er] <|file_sep|>original/README.md [![Build Status](https://travis-ci.org/fullybaked/pslackr.png?branch=master)](https://travis-ci.org/fullybaked/pslackr) pslackr [slak-er] ======== pSlackr is a library for integrating Slack.com'...
8a0f7933aa358c794518d19758c90de918f84992
README.md
README.md
Markdown
<|file_sep|>original/requirements.txt -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.4 django-registration-redux==2.6 Django==2.2.5 djangorestframework==3.10.2 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-...
-e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.4 django-registration-redux==2.6 Django==2.2.5 djangorestframework==3.10.3 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-decouple==3.1 social-auth-app-django==...
<|file_sep|>original/requirements.txt -e git://github.com/dubirajara/django-tagulous#egg=django_tagulous dj-config-url==0.1.1 dj-database-url==0.5.0 django-crispy-forms==1.7.2 django-recaptcha==2.0.4 django-registration-redux==2.6 Django==2.2.5 djangorestframework==3.10.2 gunicorn==19.9.0 psycopg2-binary==2.8.3 python-...
f71cb400cc60fe5778180fbeee3ea86dd327d153
requirements.txt
requirements.txt
Text
<|file_sep|>original/django_prices_openexchangerates/templatetags/prices_multicurrency_i18n.py register = Library() @register.simple_tag # noqa def gross_in_currency(price, currency): # noqa converted_price = exchange_currency(price, currency) return prices_i18n.gross(converted_price) @register.simple_ta...
return prices_i18n.gross(converted_price) @register.simple_tag # noqa def net_in_currency(price, currency): # noqa converted_price = exchange_currency(price, currency) return prices_i18n.net(converted_price) @register.simple_tag # noqa def tax_in_currency(price, currency): # noqa converted_price...
<|file_sep|>original/django_prices_openexchangerates/templatetags/prices_multicurrency_i18n.py register = Library() @register.simple_tag # noqa def gross_in_currency(price, currency): # noqa converted_price = exchange_currency(price, currency) return prices_i18n.gross(converted_price) @register.simple_ta...
698677a623722b63ec4cceb7690b62fa7e4ede37
django_prices_openexchangerates/templatetags/prices_multicurrency_i18n.py
django_prices_openexchangerates/templatetags/prices_multicurrency_i18n.py
Python
<|file_sep|>spec/features/events/index_spec.rb.diff original: before do confirm_and_sign_in user visit events_path updated: context 'signed in' do before do confirm_and_sign_in user visit events_path end subject { page } it { is_expected.to have_content 'Upcoming events' } ...
it { is_expected.to have_content 'Upcoming events' } it { is_expected.to have_content 'No events found' } context 'with events' do before { 5.times { FactoryGirl.create(:event) } } it 'should show all events' do visit events_path expect(subject).to have_selector('.event', count...
<|file_sep|>spec/features/events/index_spec.rb.diff original: before do confirm_and_sign_in user visit events_path updated: context 'signed in' do before do confirm_and_sign_in user visit events_path end subject { page } it { is_expected.to have_content 'Upcoming events' } ...
8870765099b0ea13423e6a94f511768bd18a7b4f
spec/features/events/index_spec.rb
spec/features/events/index_spec.rb
Ruby
<|file_sep|>original/package.json }, "keywords": [ "youtube", "discord", "playback", "video", "song" ], "author": "meew0", "license": "MIT", "bugs": { "url": "https://github.com/meew0/Lethe/issues" }, "homepage": "https://github.com/meew0/Lethe#readme", "dependencies": { "d...
"keywords": [ "youtube", "discord", "playback", "video", "song" ], "author": "meew0", "license": "MIT", "bugs": { "url": "https://github.com/meew0/Lethe/issues" }, "homepage": "https://github.com/meew0/Lethe#readme", "dependencies": { "discord.js": "hydrabolt/discord.js#maste...
<|file_sep|>original/package.json }, "keywords": [ "youtube", "discord", "playback", "video", "song" ], "author": "meew0", "license": "MIT", "bugs": { "url": "https://github.com/meew0/Lethe/issues" }, "homepage": "https://github.com/meew0/Lethe#readme", "dependencies": { "d...
ed262abff086cf3b7f817b7167905514138c6291
package.json
package.json
JSON
<|file_sep|>.travis.yml.diff original: updated: - '4.0' - 'iojs' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - '0.10' - 'iojs' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdiea...
language: node_js node_js: - '4.0' - 'iojs' - '0.12' - '0.10' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdieaLiHulbvbp93A6rSWyLCyjt9RvFit7JxWdcyqyDDk=
<|file_sep|>.travis.yml.diff original: updated: - '4.0' - 'iojs' <|file_sep|>original/.travis.yml language: node_js node_js: - '0.12' - '0.10' - 'iojs' notifications: slack: secure: Yub5oEMfOzNDSAtXlC+B2IoALF7uMB8xX5l+FWy1PIKF4950Uelw1l9fN7Y6cXn+qPF8JxePcVCBn0HF5jp+MHRmLTUYqcCVxi10f5DkmTbDz31N40WiDMuo77fMlWgdiea...
2b9773cef0becf9baefb4ef9bd418dd0954f4dc2
.travis.yml
.travis.yml
YAML
<|file_sep|>scratchpad/gamepad/lib/ThrusterClient.js.diff original: constructor() { // TODO: initialize our websocket connection updated: constructor(cb) { this.cb = cb; this.socket = new WebSocket("ws://127.0.0.1:9997/"); this.socket.type = "arraybuffer"; this.socket.add...
(index & 0x0F); let floatArray = new Float32Array([value]); let byteArray = new Int8Array(floatArray.buffer); let result = new Int8Array([ b1, byteArray[0], byteArray[1], byteArray[2], byteArray[3], ]); ...
<|file_sep|>scratchpad/gamepad/lib/ThrusterClient.js.diff original: constructor() { // TODO: initialize our websocket connection updated: constructor(cb) { this.cb = cb; this.socket = new WebSocket("ws://127.0.0.1:9997/"); this.socket.type = "arraybuffer"; this.socket.add...
db78eb4f27ac20695ec573c42954771acc232e6c
scratchpad/gamepad/lib/ThrusterClient.js
scratchpad/gamepad/lib/ThrusterClient.js
JavaScript
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/php:7.2-cli steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "composer.lock" }} - v1-dependencies- # f...
version: 2 jobs: build: docker: - image: circleci/php:7.4-cli steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "composer.lock" }} - v1-dependencies- # fallback - run: composer install -n -...
<|file_sep|>original/.circleci/config.yml version: 2 jobs: build: docker: - image: circleci/php:7.2-cli steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "composer.lock" }} - v1-dependencies- # f...
401aa075a2dc0ea8c9b880d18fc5a8e0cf66dd24
.circleci/config.yml
.circleci/config.yml
YAML
<|file_sep|>SwiftyJSONModel/JSONObject.swift.diff original: updated: public func value<T>(for key: PropertyType) throws -> [T] where T: JSONInitializable & JSONRepresentable { return try JSONArray<T>(json: json[key.rawValue]).array } <|file_sep|>original/SwiftyJSONModel/JSONObject.swift } public ...
} json = JSON(dict) } public func value<T: JSONInitializable>(for key: PropertyType) throws -> T { return try T(json: json[key.rawValue]) } public func value<T>(for key: PropertyType) throws -> [T] where T: JSONInitializable & JSONRepresentable { return...
<|file_sep|>SwiftyJSONModel/JSONObject.swift.diff original: updated: public func value<T>(for key: PropertyType) throws -> [T] where T: JSONInitializable & JSONRepresentable { return try JSONArray<T>(json: json[key.rawValue]).array } <|file_sep|>original/SwiftyJSONModel/JSONObject.swift } public ...
38bae8773598270280dda3ac60197de8256cfe33
SwiftyJSONModel/JSONObject.swift
SwiftyJSONModel/JSONObject.swift
Swift
<|file_sep|>original/deploy.sh rsync -avz -e ssh --delete --exclude=logs/ ./www/ accessibility@accessibility.kr:www/nia/ <|file_sep|>current/deploy.sh rsync -avz -e ssh --delete --exclude=logs/ ./www/ accessibility@accessibility.kr:www/nia/ <|file_sep|>updated/deploy.sh
rsync -avz -e ssh --delete --exclude=logs/ ./www/ accessibility@accessibility.kr:public_html/nia/
<|file_sep|>original/deploy.sh rsync -avz -e ssh --delete --exclude=logs/ ./www/ accessibility@accessibility.kr:www/nia/ <|file_sep|>current/deploy.sh rsync -avz -e ssh --delete --exclude=logs/ ./www/ accessibility@accessibility.kr:www/nia/ <|file_sep|>updated/deploy.sh rsync -avz -e ssh --delete --exclude=logs/ ./www/...
bf3ae56c749aa7355498847516f9c61158d9a869
deploy.sh
deploy.sh
Shell
<|file_sep|>lib/jsonReader.js.diff original: var fs = require('fs'); var JSONStream = require('JSONStream'); updated: var fs = require('fs') <|file_sep|>lib/jsonReader.js.diff original: var jsonReader = {}; updated: var jsonReader = {} <|file_sep|>lib/jsonReader.js.diff original: return fs.readFile(fileName, function...
var fs = require('fs') var jsonReader = {} jsonReader.read = function (fileName, callback) { return fs.readFile(fileName, function (err, data) { if (err) { throw err } return callback(data) }) } jsonReader.readStream = function (fileName) { return fs.createReadStream(fileName) } module.expor...
<|file_sep|>lib/jsonReader.js.diff original: var fs = require('fs'); var JSONStream = require('JSONStream'); updated: var fs = require('fs') <|file_sep|>lib/jsonReader.js.diff original: var jsonReader = {}; updated: var jsonReader = {} <|file_sep|>lib/jsonReader.js.diff original: return fs.readFile(fileName, function...
6721766466e5cf2231fcc81fa9cdee2972835a93
lib/jsonReader.js
lib/jsonReader.js
JavaScript
<|file_sep|>tests/data/taca_test_cfg.yaml.diff original: samplesheets_dir: updated: samplesheets_dir: "data" <|file_sep|>original/tests/data/taca_test_cfg.yaml include: - "*.file" HiSeq: QC: max_number_undetermined_reads_simple_lane: 5000000 ...
include: - "*.file" HiSeq: QC: max_number_undetermined_reads_simple_lane: 5000000 max_percentage_undetermined_indexes_simple_lane: 5 max_percentage_undetermined_indexes_NoIndex_lane: 30 max_frequency_most_represented_und_ind...
<|file_sep|>tests/data/taca_test_cfg.yaml.diff original: samplesheets_dir: updated: samplesheets_dir: "data" <|file_sep|>original/tests/data/taca_test_cfg.yaml include: - "*.file" HiSeq: QC: max_number_undetermined_reads_simple_lane: 5000000 ...
bcbe3c6bc89eccc9c59165e8cf5083f6f8f57f51
tests/data/taca_test_cfg.yaml
tests/data/taca_test_cfg.yaml
YAML
<|file_sep|>original/src/Oro/Bundle/UIBundle/Resources/config/oro/app.yml strip: ~ avatar_xsmall: quality: 95 filters: thumbnail: { size: [16, 16], mode: outbound } strip: ~ assetic: assets: jquery: ...
strip: ~ avatar_xsmall: quality: 95 filters: thumbnail: { size: [16, 16], mode: outbound } strip: ~ assetic: assets: jquery: inputs: - %kernel.root_dir%/../vendor/components...
<|file_sep|>original/src/Oro/Bundle/UIBundle/Resources/config/oro/app.yml strip: ~ avatar_xsmall: quality: 95 filters: thumbnail: { size: [16, 16], mode: outbound } strip: ~ assetic: assets: jquery: ...
9e36a9245c216ecc8ee85c4e8fadc90c6e8c6204
src/Oro/Bundle/UIBundle/Resources/config/oro/app.yml
src/Oro/Bundle/UIBundle/Resources/config/oro/app.yml
YAML
<|file_sep|>original/app/Utils/DateTimeToIso8601ZuluString.php <|file_sep|>current/app/Utils/DateTimeToIso8601ZuluString.php <|file_sep|>updated/app/Utils/DateTimeToIso8601ZuluString.php
<?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | ThinkSNS Plus | * +----------------------------------------------------------------------+ * | Copyright (c) 2018 Chengdu ZhiYiChuangXiang Technol...
<|file_sep|>original/app/Utils/DateTimeToIso8601ZuluString.php <|file_sep|>current/app/Utils/DateTimeToIso8601ZuluString.php <|file_sep|>updated/app/Utils/DateTimeToIso8601ZuluString.php <?php declare(strict_types=1); /* * +----------------------------------------------------------------------+ * | ...
bfba02d49789b1c9bb8134a55cb63ddc3f48a407
app/Utils/DateTimeToIso8601ZuluString.php
app/Utils/DateTimeToIso8601ZuluString.php
PHP
<|file_sep|>src/main/java/com/boundary/sdk/event/ScriptUtils.java.diff original: updated: /** * Utilities used for java script execution * * @author davidg * */ <|file_sep|>original/src/main/java/com/boundary/sdk/event/ScriptUtils.java public ScriptUtils() { } /** * Finds a script to be tested from * @...
*/ public class ScriptUtils { private static Logger LOG = LoggerFactory.getLogger(ScriptUtils.class); public ScriptUtils() { } /** * Finds a script to be tested from * @param scriptPath * @return {@link File} */ static public FileReader getFile(String scriptPath) { ClassLoader loader = Thread.curr...
<|file_sep|>src/main/java/com/boundary/sdk/event/ScriptUtils.java.diff original: updated: /** * Utilities used for java script execution * * @author davidg * */ <|file_sep|>original/src/main/java/com/boundary/sdk/event/ScriptUtils.java public ScriptUtils() { } /** * Finds a script to be tested from * @...
26ba83832c2bf87e8774eef9088809c2832b58a5
src/main/java/com/boundary/sdk/event/ScriptUtils.java
src/main/java/com/boundary/sdk/event/ScriptUtils.java
Java
<|file_sep|>original/examples/pom.xml specific language governing permissions and limitations under the License. --> <project> <parent> <artifactId>ftpserver-parent</artifactId> <groupId>org.apache.ftpserver</groupId> <version>1.0.5-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVer...
specific language governing permissions and limitations under the License. --> <project> <parent> <artifactId>ftpserver-parent</artifactId> <groupId>org.apache.ftpserver</groupId> <version>1.0.5-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.ftpserver<...
<|file_sep|>original/examples/pom.xml specific language governing permissions and limitations under the License. --> <project> <parent> <artifactId>ftpserver-parent</artifactId> <groupId>org.apache.ftpserver</groupId> <version>1.0.5-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVer...
5cc94eaac67bd58681e9fb79641305902cc09a5e
examples/pom.xml
examples/pom.xml
XML
<|file_sep|>original/requirements.txt django-appconf==1.0.2 django-cacheops==3.2.1 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.1 django-taggit-serializer==0.1.5 djangorestframework==3.6.3 djangorestframework-jwt==1.11.0 freezegun==0.3.9 funcy==1.8 idna==2.5 Jinja2==2.9.6 MarkupSafe==1.0 packaging=...
django-appconf==1.0.2 django-cacheops==3.2.1 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.1 django-taggit-serializer==0.1.5 djangorestframework==3.6.3 djangorestframework-jwt==1.11.0 freezegun==0.3.9 funcy==1.8 idna==2.6 Jinja2==2.9.6 MarkupSafe==1.0 packaging==16.8 psycopg2==2.7.3 pycodestyle==2.3...
<|file_sep|>original/requirements.txt django-appconf==1.0.2 django-cacheops==3.2.1 django-cors-headers==2.1.0 django-silk==1.0.0 django-taggit==0.22.1 django-taggit-serializer==0.1.5 djangorestframework==3.6.3 djangorestframework-jwt==1.11.0 freezegun==0.3.9 funcy==1.8 idna==2.5 Jinja2==2.9.6 MarkupSafe==1.0 packaging=...
b246cd82eb79a2dfce25fa06846b028c5bc43fb8
requirements.txt
requirements.txt
Text
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "6" - "4" script: npm run build && npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "6" - "4" script: npm run build && npm test <|file_sep|>updated/.travis.yml
language: node_js node_js: - "node" - "6" script: npm run build && npm test
<|file_sep|>original/.travis.yml language: node_js node_js: - "node" - "6" - "4" script: npm run build && npm test <|file_sep|>current/.travis.yml language: node_js node_js: - "node" - "6" - "4" script: npm run build && npm test <|file_sep|>updated/.travis.yml language: node_js node_js: - "node" - "6" s...
2b44c4717599b3792c248e0cf6e16edc07e23b61
.travis.yml
.travis.yml
YAML
<|file_sep|>original/locales/uz/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
# Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifier key used in the shortcut (do not translate it): for e...
<|file_sep|>original/locales/uz/webextension.properties # Clip in this context refers to a portion of an image # Also used for the title on the toolbar button # The string "{meta_key}-V" should be translated to the region-specific # shorthand for the Paste keyboard shortcut. {meta_key} is a placeholder for the # modifi...
9ae9ae70b26622ff1afa8f470402bfebe1846f9b
locales/uz/webextension.properties
locales/uz/webextension.properties
INI
<|file_sep|>original/libs/pokerstove/peval/CMakeLists.txt Card.cpp CardSet.cpp CardSetGenerators.cpp PokerEvaluation.cpp PokerHand.cpp PokerHandEvaluator.cpp PokerHandEvaluator_Alloc.cpp Rank.cpp Suit.cpp ) add_library(peval ${sources}) set(test_s...
Card.cpp CardSet.cpp CardSetGenerators.cpp PokerEvaluation.cpp PokerHand.cpp PokerHandEvaluator.cpp PokerHandEvaluator_Alloc.cpp Rank.cpp Suit.cpp ) add_library(peval ${sources}) set(test_sources CardSet.test.cpp CardSetGenerators....
<|file_sep|>original/libs/pokerstove/peval/CMakeLists.txt Card.cpp CardSet.cpp CardSetGenerators.cpp PokerEvaluation.cpp PokerHand.cpp PokerHandEvaluator.cpp PokerHandEvaluator_Alloc.cpp Rank.cpp Suit.cpp ) add_library(peval ${sources}) set(test_s...
db12dbcb51564d6a4e616d751dda71ffd71e73c1
libs/pokerstove/peval/CMakeLists.txt
libs/pokerstove/peval/CMakeLists.txt
Text
<|file_sep|>original/Gruntfile.js } }, autoprefixer: { no_dest: { src: 'test/hocus-pocus.css' } }, watch: { files: ['**/*.sass'], tasks: ['sass', 'autoprefixer'], }, connect: { server: { options: { port: 3000, base: 'test/' ...
} }, autoprefixer: { no_dest: { src: 'test/hocus-pocus.css' } }, watch: { files: ['**/*.sass'], tasks: ['sass', 'autoprefixer'], options: { livereload: true } }, connect: { server: { options: { port: 3000, ...
<|file_sep|>original/Gruntfile.js } }, autoprefixer: { no_dest: { src: 'test/hocus-pocus.css' } }, watch: { files: ['**/*.sass'], tasks: ['sass', 'autoprefixer'], }, connect: { server: { options: { port: 3000, base: 'test/' ...
b9bfdb34bf6b3b7d24052d28d87c8cfc3b0152de
Gruntfile.js
Gruntfile.js
JavaScript
<|file_sep|>original/app/substitution_helper.rb raise NilBasePathError if base_path.nil? blocking_items = ContentItemFilter.filter(base_path: base_path, locale: locale, state: state) blocking_items.each do |blocking_item| mismatch = (blocking_item.content_id != new_item_content_id) a...
raise NilBasePathError if base_path.nil? blocking_items = ContentItemFilter.filter(base_path: base_path, locale: locale, state: state) blocking_items.each do |blocking_item| mismatch = (blocking_item.content_id != new_item_content_id) allowed_to_substitute = (substitute?(new_item_doc...
<|file_sep|>original/app/substitution_helper.rb raise NilBasePathError if base_path.nil? blocking_items = ContentItemFilter.filter(base_path: base_path, locale: locale, state: state) blocking_items.each do |blocking_item| mismatch = (blocking_item.content_id != new_item_content_id) a...
20d0343c614efa2dd7ccdfc09565f10c390ae51e
app/substitution_helper.rb
app/substitution_helper.rb
Ruby
<|file_sep|>_includes/footer.html.diff original: <div class="footer-above"> <div class="container"> <div class="row"> <div class="footer-col col-md-4"> <h3>{{ site.footer.location }}</h3> <p> ...
<!-- Footer --> <footer class="text-center"> <div class="footer-below"> <div class="container"> <div class="row"> <div class="col-lg-12"> Copyright &copy; {{ site.footer.copyright }} 20{{ site.time | date: '%y' }} ...
<|file_sep|>_includes/footer.html.diff original: <div class="footer-above"> <div class="container"> <div class="row"> <div class="footer-col col-md-4"> <h3>{{ site.footer.location }}</h3> <p> ...
754d9088b3d183b6b3f914b21bdf0cb37b589b05
_includes/footer.html
_includes/footer.html
HTML
<|file_sep|>original/Cargo.toml [package] name = "sbd" version = "0.0.2" authors = ["Pete Gadomski <pete.gadomski@gmail.com>"] description = "Read and write Iridium Short Burst Data (SBD) messages" repository = "https://github.com/gadomski/sbd-rs" documentation = "http://gadomski.github.io/sbd-rs" readme = "README.md" ...
[package] name = "sbd" version = "0.0.2" authors = ["Pete Gadomski <pete.gadomski@gmail.com>"] description = "Read and write Iridium Short Burst Data (SBD) messages" repository = "https://github.com/gadomski/sbd-rs" documentation = "http://gadomski.github.io/sbd-rs" keywords = ["iridium", "sbd"] readme = "README.md" li...
<|file_sep|>original/Cargo.toml [package] name = "sbd" version = "0.0.2" authors = ["Pete Gadomski <pete.gadomski@gmail.com>"] description = "Read and write Iridium Short Burst Data (SBD) messages" repository = "https://github.com/gadomski/sbd-rs" documentation = "http://gadomski.github.io/sbd-rs" readme = "README.md" ...
f93237edec0ea8536b57c361825f3cdbdd8f1572
Cargo.toml
Cargo.toml
TOML
<|file_sep|>original/templates/org/index.hbs <div class="container"> <hgroup> <h1>Orgs</h1> </hgroup> <ul> {{#each orgs.items}} <li><a href="/org/{{name}}">{{name}}</a></li> {{/each}} </ul> </div> <|file_sep|>current/templates/org/index.hbs <div class="container"> <hgroup> <h1>Orgs</h1...
<div class="container"> </div>
<|file_sep|>original/templates/org/index.hbs <div class="container"> <hgroup> <h1>Orgs</h1> </hgroup> <ul> {{#each orgs.items}} <li><a href="/org/{{name}}">{{name}}</a></li> {{/each}} </ul> </div> <|file_sep|>current/templates/org/index.hbs <div class="container"> <hgroup> <h1>Orgs</h1...
65777568bb1a5d742283df0d0e8444c590cecd97
templates/org/index.hbs
templates/org/index.hbs
Handlebars
<|file_sep|>chrome/browser/resources/managed_user_passphrase_dialog.js.diff original: $('unlock-passphrase-button').onclick = function(event) { updated: var checkPassphrase = function(event) { <|file_sep|>chrome/browser/resources/managed_user_passphrase_dialog.js.diff original: $('cancel-passphrase-button').oncli...
}; // Directly set the focus on the input box so the user can start typing right // away. $('passphrase-entry').focus(); $('unlock-passphrase-button').onclick = checkPassphrase; $('cancel-passphrase-button').onclick = closeDialog; $('passphrase-entry').oninput = function(event) { $('unlock-passphrase-...
<|file_sep|>chrome/browser/resources/managed_user_passphrase_dialog.js.diff original: $('unlock-passphrase-button').onclick = function(event) { updated: var checkPassphrase = function(event) { <|file_sep|>chrome/browser/resources/managed_user_passphrase_dialog.js.diff original: $('cancel-passphrase-button').oncli...
9ded25a6bb411da73117adcb50fe5194de8bd635
chrome/browser/resources/managed_user_passphrase_dialog.js
chrome/browser/resources/managed_user_passphrase_dialog.js
JavaScript
<|file_sep|>Spotijack/Media.xcassets/Unmuted.imageset/Contents.json.diff original: "scale" : "1x", "filename" : "Unmuted.png" updated: "filename" : "Unmuted.png", "scale" : "1x" <|file_sep|>Spotijack/Media.xcassets/Unmuted.imageset/Contents.json.diff original: "scale" : "2x", "filena...
"scale" : "1x" }, { "idiom" : "universal", "filename" : "Unmuted@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "Unmuted@3x.png", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" }, "properties" : { "temp...
<|file_sep|>Spotijack/Media.xcassets/Unmuted.imageset/Contents.json.diff original: "scale" : "1x", "filename" : "Unmuted.png" updated: "filename" : "Unmuted.png", "scale" : "1x" <|file_sep|>Spotijack/Media.xcassets/Unmuted.imageset/Contents.json.diff original: "scale" : "2x", "filena...
d60e428a2287772ba701bb76b5b5eb7dcc5b8bf3
Spotijack/Media.xcassets/Unmuted.imageset/Contents.json
Spotijack/Media.xcassets/Unmuted.imageset/Contents.json
JSON
<|file_sep|>model_filters/templates/object_detail.html.diff original: <header> <h1>{{ instance }}</h1> </header> updated: <section class="model_instance_detail_wrapper {{ model }}_detail_wrapper"> <header class="model_instance_header {{ model }}_header"> <h1>{{ instance }}</h1> </header> <|file_sep|>original/...
<section class="model_instance_detail_wrapper {{ model }}_detail_wrapper"> <header class="model_instance_header {{ model }}_header"> <h1>{{ instance }}</h1> </header> <div class="model_instance_detail {{ model }}_detail"> {% for name, value in fields %} <div class="model_instance_field {{ model }}_...
<|file_sep|>model_filters/templates/object_detail.html.diff original: <header> <h1>{{ instance }}</h1> </header> updated: <section class="model_instance_detail_wrapper {{ model }}_detail_wrapper"> <header class="model_instance_header {{ model }}_header"> <h1>{{ instance }}</h1> </header> <|file_sep|>original/...
dc6edfe2b4ce552102dbf941125d3d64b93b1769
model_filters/templates/object_detail.html
model_filters/templates/object_detail.html
HTML
<|file_sep|>README.md.diff original: updated: ## Usage ### Installation with Bower [Bower](https://github.com/bower/bower) is a package manager for the web. > bower install cpa.js ### RequireJS You can use [RequireJS](http://requirejs.org/) in order to include the cpa library. > HTML: <script data-main="j...
> grunt build ## Related Projects The demonstrators below are based on this library: * [CPA Client](https://github.com/ebu/cpa-client) ## Contributors * [Chris Needham](https://github.com/chrisn) (BBC) * [Michael Barroco](https://github.com/barroco) (EBU) ## Copyright & License Copyright (c) 2014, EBU-UER Tec...
<|file_sep|>README.md.diff original: updated: ## Usage ### Installation with Bower [Bower](https://github.com/bower/bower) is a package manager for the web. > bower install cpa.js ### RequireJS You can use [RequireJS](http://requirejs.org/) in order to include the cpa library. > HTML: <script data-main="j...
493c5f19bfe1e8fba7a4a69ff17be48399719bca
README.md
README.md
Markdown
<|file_sep|>original/tests/Console/vendor/autoload.php <?php declare(strict_types=1); use Composer\Autoload\ClassLoader; if (!class_exists('ComposerMock', false)) { class ComposerMock extends ClassLoader { public function getPrefixesPsr4() { return [ 'App\\' => [di...
<?php declare(strict_types=1); use Composer\Autoload\ClassLoader; if (!class_exists('ComposerMock', false)) { class ComposerMock extends ClassLoader { public function getPrefixesPsr4() { return [ 'App\\' => [dirname(__DIR__)], 'Common\\' => [dirname...
<|file_sep|>original/tests/Console/vendor/autoload.php <?php declare(strict_types=1); use Composer\Autoload\ClassLoader; if (!class_exists('ComposerMock', false)) { class ComposerMock extends ClassLoader { public function getPrefixesPsr4() { return [ 'App\\' => [di...
64eba0ee089785c71d320401a8c5725e4a7019e3
tests/Console/vendor/autoload.php
tests/Console/vendor/autoload.php
PHP
<|file_sep|>original/src/ScriptCs.Octokit/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henri...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
<|file_sep|>original/src/ScriptCs.Octokit/Properties/AssemblyInfo.cs using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henri...
633199938fec473556cffd84ff2b952517af05b9
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
C#
<|file_sep|>original/child_process/handle_error.js <|file_sep|>current/child_process/handle_error.js <|file_sep|>updated/child_process/handle_error.js
/* If the child process fails, print the error. */ const {exec} = require('child_process') proc = exec('python count.py abc', (error, stdout, stderr) => { if (error) { console.log('Error:', error) } console.log(stdout) })
<|file_sep|>original/child_process/handle_error.js <|file_sep|>current/child_process/handle_error.js <|file_sep|>updated/child_process/handle_error.js /* If the child process fails, print the error. */ const {exec} = require('child_process') proc = exec('python count.py abc', (error, stdout, stderr) => { if (er...
5826f84bf22d136fa4eede515b7511f4e566fd4a
child_process/handle_error.js
child_process/handle_error.js
JavaScript
<|file_sep|>original/tests/auto/keras/test_constraints.py <|file_sep|>current/tests/auto/keras/test_constraints.py <|file_sep|>updated/tests/auto/keras/test_constraints.py
import unittest import numpy as np from theano import tensor as T class TestConstraints(unittest.TestCase): def setUp(self): self.some_values = [0.1,0.5,3,8,1e-7] self.example_array = np.random.random((100,100))*100. - 50. self.example_array[0,0] = 0. # 0 could possibly cause trouble d...
<|file_sep|>original/tests/auto/keras/test_constraints.py <|file_sep|>current/tests/auto/keras/test_constraints.py <|file_sep|>updated/tests/auto/keras/test_constraints.py import unittest import numpy as np from theano import tensor as T class TestConstraints(unittest.TestCase): def setUp(self): self.som...
a808ae6ff89290a65802769e925610ba123a99f7
tests/auto/keras/test_constraints.py
tests/auto/keras/test_constraints.py
Python
<|file_sep|>original/shim-server/src/test/resources/org/openmhealth/shim/withings/mapper/withings-sleep-summary.json "body": { "series": [ { "id": 16616514, "timezone": "Europe/Paris", "model": 32, "startdate": 1410521659, ...
{ "id": 633480561, "timezone": "Europe/London", "model": 16, "startdate": 1504307700, "enddate": 1504319100, "date": "2017-09-02", "data": { "wakeupduration": 0, "lightsleepduration": 3360, ...
<|file_sep|>original/shim-server/src/test/resources/org/openmhealth/shim/withings/mapper/withings-sleep-summary.json "body": { "series": [ { "id": 16616514, "timezone": "Europe/Paris", "model": 32, "startdate": 1410521659, ...
e5ec7ac6f3a5cc656bb167d5f92c2ed2fba0287c
shim-server/src/test/resources/org/openmhealth/shim/withings/mapper/withings-sleep-summary.json
shim-server/src/test/resources/org/openmhealth/shim/withings/mapper/withings-sleep-summary.json
JSON
<|file_sep|>original/shell_tips.sh # ceil division @ awk echo "$1 $2" | awk '{print ($1+$2-1)/$2}' # floor division @ awk echo "$1 $2" | awk '{print int($1/$2)}' <|file_sep|>current/shell_tips.sh # ceil division @ awk echo "$1 $2" | awk '{print ($1+$2-1)/$2}' # floor division @ awk echo "$1 $2" | awk '{print int($1/$...
# ceil division @ awk echo "$1 $2" | awk '{print ($1+$2-1)/$2}' # floor division @ awk echo "$1 $2" | awk '{print int($1/$2)}' # edit a string with sed sed 's/_/ /g' <<< "el_stringo" # >> O/P: "el stringo"
<|file_sep|>original/shell_tips.sh # ceil division @ awk echo "$1 $2" | awk '{print ($1+$2-1)/$2}' # floor division @ awk echo "$1 $2" | awk '{print int($1/$2)}' <|file_sep|>current/shell_tips.sh # ceil division @ awk echo "$1 $2" | awk '{print ($1+$2-1)/$2}' # floor division @ awk echo "$1 $2" | awk '{print int($1/$...
3a50f11618963554555a1b3fe6d90418d0744e16
shell_tips.sh
shell_tips.sh
Shell
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop <|file_sep|>updated/.travis.yml
language: ruby rvm: - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop <|file_sep|>current/.travis.yml language: ruby rvm: - 2.1.8 - 2.2.4 - 2.3.0 script: - bundle exec rspec - bundle exec rubocop <|file_sep|>updated/.travis.yml language: ruby ...
6ea5842c460b832864998ab9d07bd7ff22e9be50
.travis.yml
.travis.yml
YAML
<|file_sep|>demo/templates-demo/project2.html.diff original: project-id="http://linkedeconomy.org/resource/Subsidy/216581" updated: project-id="http://linkedeconomy.org/resource/PublicWork/216004" <|file_sep|>demo/templates-demo/project2.html.diff original: pr...
</div> <div class="col-md-7"> <yds-aggregate project-id="http://linkedeconomy.org/resource/PublicWork/216004" view-type="publicproject.title" element-h="60" lang="en"> </yds-aggregate> <y...
<|file_sep|>demo/templates-demo/project2.html.diff original: project-id="http://linkedeconomy.org/resource/Subsidy/216581" updated: project-id="http://linkedeconomy.org/resource/PublicWork/216004" <|file_sep|>demo/templates-demo/project2.html.diff original: pr...
c918e283f92241a99c163cbb56c931ec857f4aea
demo/templates-demo/project2.html
demo/templates-demo/project2.html
HTML
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy" - "pypy3" install: - make deps - make deps-test script: - make test after_success: - coveralls <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy...
language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy" - "pypy3" install: - make deps - make deps-test script: - coverage run --source=yarg runtest.py after_success: - coveralls
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy" - "pypy3" install: - make deps - make deps-test script: - make test after_success: - coveralls <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" - "pypy...
8a5111a447667fc6aa762bbad34b3384b9b78bae
.travis.yml
.travis.yml
YAML
<|file_sep|>original/templates/packages.erb nginx ntp ntpdate openssh openssh-server openssl php php-mysql postgresql postgresql-server ruby rubygems screen socat sysstat tcpdump vim xmlto zlib zlib-devel zsh <|file_sep|>current/templates/packages.erb nginx ntp ntpdate openssh openssh-server openssl php php-mysql postg...
nginx ntp ntpdate openssh openssh-server openssl php php-mysql postgresql postgresql-server python-devel python2-pip ruby rubygems screen socat sysstat tcpdump vim xmlto zlib
<|file_sep|>original/templates/packages.erb nginx ntp ntpdate openssh openssh-server openssl php php-mysql postgresql postgresql-server ruby rubygems screen socat sysstat tcpdump vim xmlto zlib zlib-devel zsh <|file_sep|>current/templates/packages.erb nginx ntp ntpdate openssh openssh-server openssl php php-mysql postg...
3bfa38a038e5349e7c61b37c86bad66ac7cfadf2
templates/packages.erb
templates/packages.erb
HTML+ERB
<|file_sep|>original/lib/subway/presenter.rb # encoding: utf-8 module Subway class Presenter include AbstractType include Concord.new(:data) include Adamantium::Flat def method_missing(method, *args, &block) @data.send(method, *args, &block) end def respond_to?(method, include_privat...
# encoding: utf-8 module Subway class Presenter include AbstractType include Concord.new(:data) include Adamantium::Flat def self.group(name, klass = nil) define_method(name) do (klass || self.class::Collection).new(super()) end memoize(name) end def method_missin...
<|file_sep|>original/lib/subway/presenter.rb # encoding: utf-8 module Subway class Presenter include AbstractType include Concord.new(:data) include Adamantium::Flat def method_missing(method, *args, &block) @data.send(method, *args, &block) end def respond_to?(method, include_privat...
215450e3b2254c269ad7d011cfc3bffc81fa273f
lib/subway/presenter.rb
lib/subway/presenter.rb
Ruby
<|file_sep|>original/Framezilla.podspec Pod::Spec.new do |spec| spec.name = "Framezilla" spec.version = "1.2.1" spec.summary = "Comfortable syntax for working with frames." spec.homepage = "https://github.com/Otbivnoe/Framezilla" spec.license = { type: 'MIT', fi...
Pod::Spec.new do |spec| spec.name = "Framezilla" spec.version = "2.0.0" spec.summary = "Comfortable syntax for working with frames." spec.homepage = "https://github.com/Otbivnoe/Framezilla" spec.license = { type: 'MIT', file: 'LICENSE' } spec.authors ...
<|file_sep|>original/Framezilla.podspec Pod::Spec.new do |spec| spec.name = "Framezilla" spec.version = "1.2.1" spec.summary = "Comfortable syntax for working with frames." spec.homepage = "https://github.com/Otbivnoe/Framezilla" spec.license = { type: 'MIT', fi...
9e36250f460b93cb76d1cf794dda9611e9982689
Framezilla.podspec
Framezilla.podspec
Ruby
<|file_sep|>apps/planet/management/commands/update_all_feeds.py.diff original: updated: from datetime import datetime <|file_sep|>apps/planet/management/commands/update_all_feeds.py.diff original: updated: new_posts_count = 0 start = datetime.now() <|file_sep|>apps/planet/management/commands/update_al...
from planet.signals import feeds_updated class Command(BaseCommand): """ Command to add a complete blog feed to our db. Usage: ./manage.py add_feed <feed_url> """ def handle(self, *args, **options): new_posts_count = 0 start = datetime.now() for feed_url in Feed.site_...
<|file_sep|>apps/planet/management/commands/update_all_feeds.py.diff original: updated: from datetime import datetime <|file_sep|>apps/planet/management/commands/update_all_feeds.py.diff original: updated: new_posts_count = 0 start = datetime.now() <|file_sep|>apps/planet/management/commands/update_al...
df131a8f482e712546555e0cb28a58edcf960bf2
apps/planet/management/commands/update_all_feeds.py
apps/planet/management/commands/update_all_feeds.py
Python
<|file_sep|>original/app/static/script/app.coffee 'growlProvider', ( $routeProvider, $httpProvider, $logProvider, growlProvider, ) -> $logProvider.debugEnabled false $routeProvider .when '/', templateUrl: 'static/view/listing.html' controller: ...
'growlProvider', ( $routeProvider, $httpProvider, $logProvider, growlProvider, ) -> $logProvider.debugEnabled false $routeProvider .when '/', templateUrl: '/static/view/listing.html' controller: 'ListingCtrl' .otherwise redire...
<|file_sep|>original/app/static/script/app.coffee 'growlProvider', ( $routeProvider, $httpProvider, $logProvider, growlProvider, ) -> $logProvider.debugEnabled false $routeProvider .when '/', templateUrl: 'static/view/listing.html' controller: ...
0bb2147542fdb52aeba4f7b71cb132423ef3e4d2
app/static/script/app.coffee
app/static/script/app.coffee
CoffeeScript
<|file_sep|>TODO.md.diff original: updated: fix media remove bad posts on 404 using index splice like first example [here](https://facebook.github.io/react/docs/animation.html) <|file_sep|>original/TODO.md APP_INIT action HomePanel componentWillMount fix board layout margin not aligning properly add this.displayNam...
add this.displayName to components...? research fix BOARD_SCROLL_BOTTOM sort out header. 60px. no anim. options. logo spin + text fix media remove bad posts on 404 using index splice like first example [here](https://facebook.github.io/react/docs/animation.html) ##Libraries to look at/implement - nock - testing...
<|file_sep|>TODO.md.diff original: updated: fix media remove bad posts on 404 using index splice like first example [here](https://facebook.github.io/react/docs/animation.html) <|file_sep|>original/TODO.md APP_INIT action HomePanel componentWillMount fix board layout margin not aligning properly add this.displayNam...
7c7f1b1a4be121757ffefd444337422bd62bd28b
TODO.md
TODO.md
Markdown
<|file_sep|>original/scripts/plot_example.py plt.style.use("ggplot") plt.rcParams["figure.figsize"] = 10, 5 plt.rcParams["font.family"] = "serif" plt.rcParams["font.size"] = 12 import pyhector from pyhector import rcp26, rcp45, rcp60, rcp85 path = os.path.join(os.path.dirname(__file__), './example...
plt.style.use("ggplot") plt.rcParams["figure.figsize"] = 10, 5 plt.rcParams["font.family"] = "serif" plt.rcParams["font.size"] = 12 import pyhector from pyhector import rcp26, rcp45, rcp60, rcp85 path = os.path.join(os.path.dirname(__file__), './example-plot.png') for rcp in [rcp26, rcp45, rcp60,...
<|file_sep|>original/scripts/plot_example.py plt.style.use("ggplot") plt.rcParams["figure.figsize"] = 10, 5 plt.rcParams["font.family"] = "serif" plt.rcParams["font.size"] = 12 import pyhector from pyhector import rcp26, rcp45, rcp60, rcp85 path = os.path.join(os.path.dirname(__file__), './example...
ea73cd99b6ff67d65c0784471603d8734b6b3d75
scripts/plot_example.py
scripts/plot_example.py
Python
<|file_sep|>original/package.json ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^4.2.0",...
], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^4.2.0", "eslint": "^5.9.0", "esli...
<|file_sep|>original/package.json ], "author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)", "maintainers": [ "Abner Chou <hi@abnerchou.me> (http://abnerchou.me)" ], "license": "MIT", "dependencies": { "pug": "^2.0.1", "jade": "^1.11.0" }, "devDependencies": { "chai": "^4.2.0",...
69666f3dd8be42d05ac75aa52fa1a5d37f10b443
package.json
package.json
JSON
<|file_sep|>original/libraries/matchers.rb if defined?(ChefSpec) def tap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :tap, tap) end def untap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :tap, tap) end end <|file_sep|>current/libraries/matchers...
if defined?(ChefSpec) def tap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :tap, tap) end def untap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :untap, tap) end end
<|file_sep|>original/libraries/matchers.rb if defined?(ChefSpec) def tap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :tap, tap) end def untap_homebrew_tap(tap) ChefSpec::Matchers::ResourceMatcher.new(:homebrew_tap, :tap, tap) end end <|file_sep|>current/libraries/matchers...
a63e31f94430adfbf60d4c2a4c282c54a7f74fd5
libraries/matchers.rb
libraries/matchers.rb
Ruby
<|file_sep|>original/src/FilerServiceProvider.php <?php namespace TeamTeaTime\Filer; use Illuminate\Support\ServiceProvider; class FilerServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->mergeConf...
<?php namespace TeamTeaTime\Filer; use Illuminate\Routing\Router; use Illuminate\Support\ServiceProvider; class FilerServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->mergeConfigFrom(__DIR__.'/.....
<|file_sep|>original/src/FilerServiceProvider.php <?php namespace TeamTeaTime\Filer; use Illuminate\Support\ServiceProvider; class FilerServiceProvider extends ServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->mergeConf...
a4161980e62b4b816a24d9c61b915f34b30d8bd3
src/FilerServiceProvider.php
src/FilerServiceProvider.php
PHP
<|file_sep|>original/Casks/steermouse.rb class Steermouse < Cask url 'http://plentycom.jp/ctrl/files_sm/SteerMouse4.1.9.dmg' homepage 'http://plentycom.jp/en/steermouse/' version '4.1.9' sha256 '4704aa8b01842c2e619db546fa045e515ee7e3a94d9d339f4650f2f8684b1280' install 'SteerMouse Installer.app/Contents/Resour...
class Steermouse < Cask url 'http://plentycom.jp/ctrl/files_sm/SteerMouse4.1.9.dmg' homepage 'http://plentycom.jp/en/steermouse/' version '4.1.9' sha256 '4704aa8b01842c2e619db546fa045e515ee7e3a94d9d339f4650f2f8684b1280' install 'SteerMouse Installer.app/Contents/Resources/SteerMouse.pkg' uninstall :pkgutil ...
<|file_sep|>original/Casks/steermouse.rb class Steermouse < Cask url 'http://plentycom.jp/ctrl/files_sm/SteerMouse4.1.9.dmg' homepage 'http://plentycom.jp/en/steermouse/' version '4.1.9' sha256 '4704aa8b01842c2e619db546fa045e515ee7e3a94d9d339f4650f2f8684b1280' install 'SteerMouse Installer.app/Contents/Resour...
0a488b148c5fc2b7f488de34d37952fae23cc4fd
Casks/steermouse.rb
Casks/steermouse.rb
Ruby
<|file_sep|>original/css/_.css /*! * Villa Framework v2.8.7 (http://getvilla.org/) * Copyright 2013-2015 Noibe Developers * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE) */ <|file_sep|>current/css/_.css /*! * Villa Framework v2.8.7 (http://getvilla.org/) * Copyright 2013-2015 Noibe Develo...
/*! * Villa Framework v2.8.8 (http://getvilla.org/) * Copyright 2013-2015 Noibe Developers * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE) */
<|file_sep|>original/css/_.css /*! * Villa Framework v2.8.7 (http://getvilla.org/) * Copyright 2013-2015 Noibe Developers * Licensed under MIT (https://github.com/noibe/villa/blob/master/LICENSE) */ <|file_sep|>current/css/_.css /*! * Villa Framework v2.8.7 (http://getvilla.org/) * Copyright 2013-2015 Noibe Develo...
1b1fd79b34bec6395a3af585d27f35dbd2d1ee16
css/_.css
css/_.css
CSS
<|file_sep|>tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json.diff original: "cognitive_task2", updated: "score_math_course2", <|file_sep|>tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json.diff original: "score_math_course2" updat...
], [ -0.06559, 1.0, 0.99515 ], [ 1.0, -0.06559, -0.05297 ] ], "zmax": 1.0, "zmin": -1.0 } ], "jobId": "*", "node": "local", "timestamp": 0.0, "type": "application/vnd.plotly.v1+json" }
<|file_sep|>tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json.diff original: "cognitive_task2", updated: "score_math_course2", <|file_sep|>tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json.diff original: "score_math_course2" updat...
438ea5af38a8832f609763c382ff46978f28d7a5
tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json
tests/woken-test/src/test/resources/responses/correlation_heatmap_data_mining.json
JSON
<|file_sep|>original/Default.txt client dev tun proto udp remote IPv4pub 1194 resolv-retry infinite nobind persist-key persist-tun key-direction 1 remote-cert-tls server tls-version-min 1.2 verify-x509-name SRVRNAME name cipher AES-256-CBC auth SHA256 comp-lzo verb 3 <|file_sep|>current/Default.txt client dev tun proto...
client dev tun proto udp remote IPv4pub 1194 resolv-retry infinite nobind persist-key persist-tun key-direction 1 remote-cert-tls server tls-version-min 1.2 verify-x509-name SRVRNAME name cipher AES-256-CBC auth SHA256 auth-nocache comp-lzo verb 3
<|file_sep|>original/Default.txt client dev tun proto udp remote IPv4pub 1194 resolv-retry infinite nobind persist-key persist-tun key-direction 1 remote-cert-tls server tls-version-min 1.2 verify-x509-name SRVRNAME name cipher AES-256-CBC auth SHA256 comp-lzo verb 3 <|file_sep|>current/Default.txt client dev tun proto...
6dde3f74eac4a09221fdac10ffb3f33a8d417597
Default.txt
Default.txt
Text
<|file_sep|>original/tests/main.cpp printf("Running Test %s\n", SSE2NEON::SSE2NEONTest::getInstructionTestString(it)); bool ok = test->runTest(it); // If the test fails, we will run it again so we can step into the // debugger and figure out why! if (!ok) { ...
printf("Running Test %s\n", SSE2NEON::SSE2NEONTest::getInstructionTestString(it)); bool ok = test->runTest(it); // If the test fails, we will run it again so we can step into the // debugger and figure out why! if (!ok) { printf("**FAILURE** SSE2NEONTes...
<|file_sep|>original/tests/main.cpp printf("Running Test %s\n", SSE2NEON::SSE2NEONTest::getInstructionTestString(it)); bool ok = test->runTest(it); // If the test fails, we will run it again so we can step into the // debugger and figure out why! if (!ok) { ...
d924574d9762b79a6e38b1c49b0d95ba500bda16
tests/main.cpp
tests/main.cpp
C++
<|file_sep|>original/src/DiplomContentSystem/ClientApp/app/app.component.css @media (max-width: 767px) { /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */ .body-content { padding-top: 50px; } } .body-content { margin: 2em; padding-left: 15px; ...
@media (max-width: 767px) { /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */ .body-content { padding-top: 50px; } } .table > tbody > tr > td { vertical-align: middle; }
<|file_sep|>original/src/DiplomContentSystem/ClientApp/app/app.component.css @media (max-width: 767px) { /* On small screens, the nav menu spans the full width of the screen. Leave a space for it. */ .body-content { padding-top: 50px; } } .body-content { margin: 2em; padding-left: 15px; ...
c865d5b896695e3d6098dc2869d91ed57f01f970
src/DiplomContentSystem/ClientApp/app/app.component.css
src/DiplomContentSystem/ClientApp/app/app.component.css
CSS
<|file_sep|>original/app/components/SocialButtons/styles.scss .social { opacity: 1; display: inline-block; &:hover { opacity: 0.5; } } <|file_sep|>current/app/components/SocialButtons/styles.scss .social { opacity: 1; display: inline-block; &:hover { opacity: 0.5; } } <|file_sep|>updated/app/com...
.social { opacity: 1; display: inline-block; &:hover { cursor: pointer; opacity: 0.5; } }
<|file_sep|>original/app/components/SocialButtons/styles.scss .social { opacity: 1; display: inline-block; &:hover { opacity: 0.5; } } <|file_sep|>current/app/components/SocialButtons/styles.scss .social { opacity: 1; display: inline-block; &:hover { opacity: 0.5; } } <|file_sep|>updated/app/com...
0bdb7a9ce5742d7bf87fa6cac12848d1e474a45e
app/components/SocialButtons/styles.scss
app/components/SocialButtons/styles.scss
SCSS
<|file_sep|>src/SimplyTestable/WebClientBundle/Resources/views/bs3/Partials/User/Account/plan-details.html.twig.diff original: <p> Need to test larger sites or need to run a greater amount of tests? </p> updated: {% if user_summary.plan.accountPlan.isCustom %} <p> ...
{% if (user_summary.getTeamSummary.isInTeam and team.leader == user.username) or not user_summary.getTeamSummary.isInTeam %} <div id="plan-upgrade-downgrade"> <h3>Upgrade/downgrade</h3> {% if user_summary.plan.accountPlan.isCustom %} <p> You're on a custom plan. <a href=...
<|file_sep|>src/SimplyTestable/WebClientBundle/Resources/views/bs3/Partials/User/Account/plan-details.html.twig.diff original: <p> Need to test larger sites or need to run a greater amount of tests? </p> updated: {% if user_summary.plan.accountPlan.isCustom %} <p> ...
df221a3300aa7281fb51ac55f884112a0d7f599d
src/SimplyTestable/WebClientBundle/Resources/views/bs3/Partials/User/Account/plan-details.html.twig
src/SimplyTestable/WebClientBundle/Resources/views/bs3/Partials/User/Account/plan-details.html.twig
Twig
<|file_sep|>routes/db_addtime.js.diff original: updated: var result = { "message": "" , "activity": "" , "hours": 0, "goal": 0} ; <|file_sep|>routes/db_addtime.js.diff original: res.send(); updated: <|file_sep|>original/routes/db_addtime.js exports.addtime = function(req, res) { // get a random palette from ...
models.Activity.update(conditions, update, options, afterUpdating); /*models.Activity .find({"activity": req.query.activity}) .update({"hours": hours + req.query.time}) .exec(afterUpdating);*/ //not sure what was going on with result before...? function afterUpdating(err){ if (err) res.send(500); } re...
<|file_sep|>routes/db_addtime.js.diff original: updated: var result = { "message": "" , "activity": "" , "hours": 0, "goal": 0} ; <|file_sep|>routes/db_addtime.js.diff original: res.send(); updated: <|file_sep|>original/routes/db_addtime.js exports.addtime = function(req, res) { // get a random palette from ...
26d7443022f76e3fee9f7ce4d47309dca5a2c05d
routes/db_addtime.js
routes/db_addtime.js
JavaScript