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|>db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb.diff original: if ! masterfile.display_aspect_ratio && masterfile.workflow_id updated: if masterfile.is_video? && masterfile.display_aspect_ratio.blank? <|file_sep|>db/migrate/20131218142013_add_display_aspect_ratio_to_master...
class AddDisplayAspectRatioToMasterFile < ActiveRecord::Migration def up MasterFile.find_each({},{batch_size:5}) do |masterfile| if masterfile.is_video? && masterfile.display_aspect_ratio.blank? begin workflow = Rubyhorn.client.instance_xml(masterfile.workflow_id) if workflow &&...
<|file_sep|>db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb.diff original: if ! masterfile.display_aspect_ratio && masterfile.workflow_id updated: if masterfile.is_video? && masterfile.display_aspect_ratio.blank? <|file_sep|>db/migrate/20131218142013_add_display_aspect_ratio_to_master...
7e83c239530e3cde61c4d982d1d8be5e2d5a715f
db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb
db/migrate/20131218142013_add_display_aspect_ratio_to_master_file.rb
Ruby
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u252b09.tar.gz" ;; java11) echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk...
#!/bin/bash set -e case "$1" in java8) echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u262-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u262b10.tar.gz" ;; java11) echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_linux_hotspot_...
<|file_sep|>original/ci/images/get-jdk-url.sh #!/bin/bash set -e case "$1" in java8) echo "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u252-b09/OpenJDK8U-jdk_x64_linux_hotspot_8u252b09.tar.gz" ;; java11) echo "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk...
71ec15e8515f673fc935b93dce85835e1cd1d4f0
ci/images/get-jdk-url.sh
ci/images/get-jdk-url.sh
Shell
<|file_sep|>original/project/src/main/java/com/google/sps/data/EventResult.java <|file_sep|>current/project/src/main/java/com/google/sps/data/EventResult.java <|file_sep|>updated/project/src/main/java/com/google/sps/data/EventResult.java
package com.google.sps.data; import java.util.Comparator; import java.lang.Float; /* Class that represent an event result in search. */ public class EventResult { private String eventId; private float ranking; public EventResult(String eventId, float ranking) { this.eventId = eventId; this.ranking = ra...
<|file_sep|>original/project/src/main/java/com/google/sps/data/EventResult.java <|file_sep|>current/project/src/main/java/com/google/sps/data/EventResult.java <|file_sep|>updated/project/src/main/java/com/google/sps/data/EventResult.java package com.google.sps.data; import java.util.Comparator; import java.lang.Floa...
0a47b4793ee9b9377ed7d6db06b4e305b4d31e1c
project/src/main/java/com/google/sps/data/EventResult.java
project/src/main/java/com/google/sps/data/EventResult.java
Java
<|file_sep|>website/app/application/core/projects/project/files/all.html.diff original: <div class="col-xs-4"> <div class="details-sidebar" style=" margin-bottom: -900px;padding-bottom: 900px;"> updated: <div class="col-xs-3 no-padding"> <div class="details-sidebar full-height"> <div...
<div class="row"> <span class="file heading-label text-uppercase">file tree </span> <hr class="heading-label"> </div> <div class="row"> <file-upload-panel></file-upload-panel> </div> <div ng-if="files.gridShowing...
<|file_sep|>website/app/application/core/projects/project/files/all.html.diff original: <div class="col-xs-4"> <div class="details-sidebar" style=" margin-bottom: -900px;padding-bottom: 900px;"> updated: <div class="col-xs-3 no-padding"> <div class="details-sidebar full-height"> <div...
c881e8ab64f2d820001aed5f7bddc697137c8ebe
website/app/application/core/projects/project/files/all.html
website/app/application/core/projects/project/files/all.html
HTML
<|file_sep|>original/tck/features/expressions/string/String6.feature <|file_sep|>current/tck/features/expressions/string/String6.feature <|file_sep|>updated/tck/features/expressions/string/String6.feature
# # Copyright (c) 2015-2020 "Neo Technology," # Network Engine for Objects in Lund AB [http://neotechnology.com] # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/...
<|file_sep|>original/tck/features/expressions/string/String6.feature <|file_sep|>current/tck/features/expressions/string/String6.feature <|file_sep|>updated/tck/features/expressions/string/String6.feature # # Copyright (c) 2015-2020 "Neo Technology," # Network Engine for Objects in Lund AB [http://neotechnology.com] ...
be6667be18892559fdcaa8b35711c4fad5f0c62e
tck/features/expressions/string/String6.feature
tck/features/expressions/string/String6.feature
Cucumber
<|file_sep|>examples/marshmallow/main.py.diff original: import uplink updated: # Standard library imports from pprint import pformat <|file_sep|>examples/marshmallow/main.py.diff original: updated: <|file_sep|>examples/marshmallow/main.py.diff original: updated: <|file_sep|>examples/marshmallow/main.py.diff origina...
BASE_URL = "https://api.github.com/" if __name__ == "__main__": # Create a GitHub API client gh = github.GitHub(base_url=BASE_URL) # Get all public repositories repos = gh.get_repos() # Shorten to first 10 results to avoid hitting the rate limit. repos = repos[:10] # Print contributor...
<|file_sep|>examples/marshmallow/main.py.diff original: import uplink updated: # Standard library imports from pprint import pformat <|file_sep|>examples/marshmallow/main.py.diff original: updated: <|file_sep|>examples/marshmallow/main.py.diff original: updated: <|file_sep|>examples/marshmallow/main.py.diff origina...
2264e4195e873760b922e6d346eb56d8e1ec6e09
examples/marshmallow/main.py
examples/marshmallow/main.py
Python
<|file_sep|>original/moviePlayer.py window.title("Tkinter Movie Player") button = tk.Button(window, text = "Play", command = processPlay) button.pack() window.mainloop() def processPlay(): TIME_STEP = 0.3 label = tk.Label(window, text = "") label.pack() count = 0 ...
window.title("Tkinter Movie Player") button = tk.Button(window, text = "Play", command = processPlay) button.pack() window.mainloop() def processPlay(): TIME_STEP = 0.3 label = tk.Label(window, text = "", font = ("Courier")) label.pack() count = 0 while count...
<|file_sep|>original/moviePlayer.py window.title("Tkinter Movie Player") button = tk.Button(window, text = "Play", command = processPlay) button.pack() window.mainloop() def processPlay(): TIME_STEP = 0.3 label = tk.Label(window, text = "") label.pack() count = 0 ...
4c96f2dc52810c10ef6d73732be0ecd8745c4567
moviePlayer.py
moviePlayer.py
Python
<|file_sep|>original/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java <|file_sep|>current/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java <|file_sep|>updated/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java
/* * Copyright 2017 Otavio Santana and others * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lic...
<|file_sep|>original/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java <|file_sep|>current/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java <|file_sep|>updated/artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java /* * Copyright 2...
660074662558ff16e84b39c2fb0da2f8799661f4
artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java
artemis-core/src/test/java/org/jnosql/artemis/ArtemisDatabaseQualifierTest.java
Java
<|file_sep|>original/_drafts/2020-05-29-gerrit-news-apr-may-2020.md --- title: "Gerrit Project News #10: April-May 2020" tags: news keywords: news permalink: 2020-05-29-gerrit-news-apr-may-2020.html summary: "Gerrit project news from April and May 2020." hide_sidebar: true hide_navtoggle: true toc: true --- ## Communi...
permalink: 2020-05-29-gerrit-news-apr-may-2020.html summary: "Gerrit project news from April and May 2020." hide_sidebar: true hide_navtoggle: true toc: true --- ## Community Management work done See the [dedicated news post](https://www.gerritcodereview.com/2020-04-22-community-managers-report.html). ## Cherry-pick...
<|file_sep|>original/_drafts/2020-05-29-gerrit-news-apr-may-2020.md --- title: "Gerrit Project News #10: April-May 2020" tags: news keywords: news permalink: 2020-05-29-gerrit-news-apr-may-2020.html summary: "Gerrit project news from April and May 2020." hide_sidebar: true hide_navtoggle: true toc: true --- ## Communi...
1a7b4a5e92de22507008680da0e6d0274c414e2f
_drafts/2020-05-29-gerrit-news-apr-may-2020.md
_drafts/2020-05-29-gerrit-news-apr-may-2020.md
Markdown
<|file_sep|>setup.py.diff original: updated: import ast import os import re <|file_sep|>setup.py.diff original: from valohai_yaml import __version__ updated: with open(os.path.join(os.path.dirname(__file__), 'valohai_yaml', '__init__.py')) as infp: version = ast.literal_eval(re.search('__version__ = (.+?)$', infp....
'flake8', 'isort', 'pydocstyle', 'pytest-cov', ] if __name__ == '__main__': setuptools.setup( name='valohai-yaml', description='Valohai.yaml validation and parsing', version=version, url='https://github.com/valohai/valohai-yaml', author='Valohai', aut...
<|file_sep|>setup.py.diff original: updated: import ast import os import re <|file_sep|>setup.py.diff original: from valohai_yaml import __version__ updated: with open(os.path.join(os.path.dirname(__file__), 'valohai_yaml', '__init__.py')) as infp: version = ast.literal_eval(re.search('__version__ = (.+?)$', infp....
a15701a49c1fffedc30f939c231be4936d3ab790
setup.py
setup.py
Python
<|file_sep|>locale/flarum-lock.yml.diff original: lock: Lock unlock: Unlock updated: lock_button: Lock unlock_button: Unlock <|file_sep|>locale/flarum-lock.yml.diff original: discussion_locked_notification: "{username} locked" updated: discussion_locked_text: "{username} locked" <|fi...
badge: locked_discussion_tooltip: Locked # These strings are used by the discussion control buttons. discussion_controls: lock_button: Lock unlock_button: Unlock # These strings are used by the Notifications dropdown, a.k.a. "the bell". notifications: discussion_locked_text...
<|file_sep|>locale/flarum-lock.yml.diff original: lock: Lock unlock: Unlock updated: lock_button: Lock unlock_button: Unlock <|file_sep|>locale/flarum-lock.yml.diff original: discussion_locked_notification: "{username} locked" updated: discussion_locked_text: "{username} locked" <|fi...
ed1cb28b69e1692b252fae66c9622e263585a3af
locale/flarum-lock.yml
locale/flarum-lock.yml
YAML
<|file_sep|>.travis.yml.diff original: updated: - 2.2.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.1 notifications: email: false before_install: - gem install bundler <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 - 2.2.1 notifications: email: false before_install: - gem in...
language: ruby rvm: - 2.2.2 - 2.2.1 - 1.9.3 notifications: email: false before_install: - gem install bundler
<|file_sep|>.travis.yml.diff original: updated: - 2.2.2 <|file_sep|>original/.travis.yml language: ruby rvm: - 2.2.1 notifications: email: false before_install: - gem install bundler <|file_sep|>current/.travis.yml language: ruby rvm: - 2.2.2 - 2.2.1 notifications: email: false before_install: - gem in...
9862768b12f9755ef3d31df1687a3c94c0162fea
.travis.yml
.travis.yml
YAML
<|file_sep|>original/src/test/java/com/rbmhtechnology/apidocserver/security/OpenIdConnectSecurityConfiguredShould.java @AutoConfigureMockMvc @ActiveProfiles("openid") public class OpenIdConnectSecurityConfiguredShould { @Autowired private MockMvc mockMvc; @Test public void forward_to_OIDC() throws Exception {...
@AutoConfigureMockMvc @ActiveProfiles("openid") public class OpenIdConnectSecurityConfiguredShould { @Autowired private MockMvc mockMvc; @Test public void forward_to_OIDC() throws Exception { mockMvc.perform(get("/")) .andExpect(status().isFound()) .andExpect(redirectedUrl("http://localhos...
<|file_sep|>original/src/test/java/com/rbmhtechnology/apidocserver/security/OpenIdConnectSecurityConfiguredShould.java @AutoConfigureMockMvc @ActiveProfiles("openid") public class OpenIdConnectSecurityConfiguredShould { @Autowired private MockMvc mockMvc; @Test public void forward_to_OIDC() throws Exception {...
8afbf9c38a14ee9398a219f2e7af2cf9e56d189e
src/test/java/com/rbmhtechnology/apidocserver/security/OpenIdConnectSecurityConfiguredShould.java
src/test/java/com/rbmhtechnology/apidocserver/security/OpenIdConnectSecurityConfiguredShould.java
Java
<|file_sep|>src/test/compile-fail/do2.rs.diff original: fn f(f: fn@(int) -> bool) -> bool { f(10) } updated: fn f(f: fn@(int) -> bool) -> bool { f(10i) } <|file_sep|>original/src/test/compile-fail/do2.rs fn f(f: fn@(int) -> bool) -> bool { f(10) } fn main() { assert do f() { |i| i == 10 } == 10; //! ERROR: expecte...
fn f(f: fn@(int) -> bool) -> bool { f(10i) } fn main() { assert do f() { |i| i == 10i } == 10i; //! ERROR: expected `bool` but found `int` }
<|file_sep|>src/test/compile-fail/do2.rs.diff original: fn f(f: fn@(int) -> bool) -> bool { f(10) } updated: fn f(f: fn@(int) -> bool) -> bool { f(10i) } <|file_sep|>original/src/test/compile-fail/do2.rs fn f(f: fn@(int) -> bool) -> bool { f(10) } fn main() { assert do f() { |i| i == 10 } == 10; //! ERROR: expecte...
3f56c0a42de5a9a8cc9698148622263c88de01fa
src/test/compile-fail/do2.rs
src/test/compile-fail/do2.rs
Rust
<|file_sep|>original/bedrock/firefox/templates/firefox/developer/includes/for-developers.html <section class="mzp-l-content t-performance" id="for-devs"> <div class="mzp-c-card-feature mzp-has-aspect-3-2 mzp-l-card-feature-left-half"> <div class="mzp-c-card-feature-media-wrapper"> <div class="mzp-c-card-fea...
<section class="mzp-l-content t-performance" id="nextgen"> <div class="mzp-c-card-feature mzp-has-aspect-3-2 mzp-l-card-feature-left-half"> <div class="mzp-c-card-feature-media-wrapper"> <div class="mzp-c-card-feature-media"> <img src="/media/img/firefox/developer/stylo-engine.svg" alt=""> </d...
<|file_sep|>original/bedrock/firefox/templates/firefox/developer/includes/for-developers.html <section class="mzp-l-content t-performance" id="for-devs"> <div class="mzp-c-card-feature mzp-has-aspect-3-2 mzp-l-card-feature-left-half"> <div class="mzp-c-card-feature-media-wrapper"> <div class="mzp-c-card-fea...
aaa29cbbc6d6ed85b96b1497ffc8b7434e2b60d9
bedrock/firefox/templates/firefox/developer/includes/for-developers.html
bedrock/firefox/templates/firefox/developer/includes/for-developers.html
HTML
<|file_sep|>original/app/views/user/login.scala.html @(loginForm: Form[Option[User]]) @main("Log in.") { <div class="lightbg padtop padbottom shadow" style="z-index: 10;"> <div class="constraint"> <h1 class="nomargin">Manage my account</h1> @helper.form(action = routes.UserController.authenticate, 'id -> "log...
@(loginForm: Form[Option[User]]) @main("Log in.") { <div class="lightbg padtop padbottom shadow" style="z-index: 10;"> <div class="constraint"> <h1 class="nomargin">Manage my account</h1> @helper.form(action = routes.UserController.authenticate, 'id -> "login_form") { @helper.inputText(loginForm("userna...
<|file_sep|>original/app/views/user/login.scala.html @(loginForm: Form[Option[User]]) @main("Log in.") { <div class="lightbg padtop padbottom shadow" style="z-index: 10;"> <div class="constraint"> <h1 class="nomargin">Manage my account</h1> @helper.form(action = routes.UserController.authenticate, 'id -> "log...
7b5a08a78cb0abbe6da0cc4cba62b2be7be5dbc8
app/views/user/login.scala.html
app/views/user/login.scala.html
HTML
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.9.1 factory-boy==2.11.1 pytest-mock==1.10.0 webtest==2.0.32 pytest-cov==2.6.0 # Lint and code style flake8==3.5.0 flake8-docstrings==1.3.0 flake8-quotes==1.0.0 pep8-nam...
# Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.9.2 factory-boy==2.11.1 pytest-mock==1.10.0 webtest==2.0.32 pytest-cov==2.6.0 # Lint and code style flake8==3.5.0 flake8-docstrings==1.3.0 flake8-quotes==1.0.0 pep8-naming==0.7.0
<|file_sep|>original/requirements/dev.txt # Everything the developer needs in addition to the production requirements -r prod.txt # Testing pytest==3.9.1 factory-boy==2.11.1 pytest-mock==1.10.0 webtest==2.0.32 pytest-cov==2.6.0 # Lint and code style flake8==3.5.0 flake8-docstrings==1.3.0 flake8-quotes==1.0.0 pep8-nam...
1ea0edbf9de58b5d3768b1b083424cd5212bf6a9
requirements/dev.txt
requirements/dev.txt
Text
<|file_sep|>protocols/jabber/libiris/002_offline_event.patch.diff original: Index: 002_offline_event.patch =================================================================== --- 002_offline_event.patch (revision 513088) +++ 002_offline_event.patch (working copy) @@ -1,17 +0,0 @@ -? 002_offline_event.patch -Index: iris...
This patch adds an offline event to the event list for a message when converting it from a stanza to a message Index: iris/xmpp-im/types.cpp =================================================================== --- iris/xmpp-im/types.cpp (revision 513088) +++ iris/xmpp-im/types.cpp (working copy) @@ -1722,6 +1722,8 @@ ...
<|file_sep|>protocols/jabber/libiris/002_offline_event.patch.diff original: Index: 002_offline_event.patch =================================================================== --- 002_offline_event.patch (revision 513088) +++ 002_offline_event.patch (working copy) @@ -1,17 +0,0 @@ -? 002_offline_event.patch -Index: iris...
67b289922e43de0a3ef5e551cb10053c390fcab7
protocols/jabber/libiris/002_offline_event.patch
protocols/jabber/libiris/002_offline_event.patch
Diff
<|file_sep|>action_plugins/insights.py.diff original: updated: remote_user = task_vars.get('ansible_ssh_user') or self._play_context.remote_user <|file_sep|>original/action_plugins/insights.py from ansible.plugins.action import ActionBase from ansible.utils.vars import merge_hash class ActionModule(ActionBas...
from ansible.plugins.action import ActionBase from ansible.utils.vars import merge_hash class ActionModule(ActionBase): def run(self, tmp=None, task_vars=None): results = super(ActionModule, self).run(tmp, task_vars) remote_user = task_vars.get('ansible_ssh_user') or self._play_context.remote_use...
<|file_sep|>action_plugins/insights.py.diff original: updated: remote_user = task_vars.get('ansible_ssh_user') or self._play_context.remote_user <|file_sep|>original/action_plugins/insights.py from ansible.plugins.action import ActionBase from ansible.utils.vars import merge_hash class ActionModule(ActionBas...
daeeb010ce18fbcb0db62008285650916d2ed18f
action_plugins/insights.py
action_plugins/insights.py
Python
<|file_sep|>SKBFLoginViewContollerDemo/ViewController.swift.diff original: let loginVC = SKBFLoginViewController.sharedInstance // Singleton loginVC.blurEffectStyle = .Light // Default style is light loginVC.backgroundArray = [UIImage(named: "img1.jpg"),UIImage(named:"img2.jpg"), UIImage(named: ...
// Do any additional setup after loading the view, typically from a nib. } @IBAction func presentVC(sender: AnyObject) { // let loginVC = SKBFLoginViewController.sharedInstance // Singleton // loginVC.blurEffectStyle = .Light // Default style is light // loginVC.background...
<|file_sep|>SKBFLoginViewContollerDemo/ViewController.swift.diff original: let loginVC = SKBFLoginViewController.sharedInstance // Singleton loginVC.blurEffectStyle = .Light // Default style is light loginVC.backgroundArray = [UIImage(named: "img1.jpg"),UIImage(named:"img2.jpg"), UIImage(named: ...
055bae51ac4f37a3da347ab548ef025d85d08730
SKBFLoginViewContollerDemo/ViewController.swift
SKBFLoginViewContollerDemo/ViewController.swift
Swift
<|file_sep|>original/src/main/java/org/pinae/timon/session/SqlSessionHelper.java <|file_sep|>current/src/main/java/org/pinae/timon/session/SqlSessionHelper.java <|file_sep|>updated/src/main/java/org/pinae/timon/session/SqlSessionHelper.java
package org.pinae.timon.session; import java.io.IOException; import org.pinae.timon.session.defaults.DefaultSqlSessionFactory; /** * 会话帮助类 * * @author Huiyugeng * */ public class SqlSessionHelper { private static final ThreadLocal<SqlSessionFactory> THREAD_SESSION_FACTORY = new ThreadLocal<SqlSessionFactory...
<|file_sep|>original/src/main/java/org/pinae/timon/session/SqlSessionHelper.java <|file_sep|>current/src/main/java/org/pinae/timon/session/SqlSessionHelper.java <|file_sep|>updated/src/main/java/org/pinae/timon/session/SqlSessionHelper.java package org.pinae.timon.session; import java.io.IOException; import org.pin...
f0e9909aef45e69cdd5de64221eaa7839bc657c7
src/main/java/org/pinae/timon/session/SqlSessionHelper.java
src/main/java/org/pinae/timon/session/SqlSessionHelper.java
Java
<|file_sep|>original/src/Translator/TranslatorAwareTrait.php <|file_sep|>current/src/Translator/TranslatorAwareTrait.php <|file_sep|>updated/src/Translator/TranslatorAwareTrait.php
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @package Z...
<|file_sep|>original/src/Translator/TranslatorAwareTrait.php <|file_sep|>current/src/Translator/TranslatorAwareTrait.php <|file_sep|>updated/src/Translator/TranslatorAwareTrait.php <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source re...
1d28d29cfb98fb5b69f7f21cdefef98ae1d55b69
src/Translator/TranslatorAwareTrait.php
src/Translator/TranslatorAwareTrait.php
PHP
<|file_sep|>original/requirements_dev.txt pip==20.2.3 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.2.1 tox==3.20.0 coverage==5.3 PyYAML==5.3.1 pytest==6.1.0 <|file_sep|>current/requirements_dev.txt pip==20.2.3 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.2.1 tox==3.20.0 coverage==5.3 PyYAML==5.3.1 p...
pip==20.2.3 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.4 Sphinx==3.2.1 tox==3.20.0 coverage==5.3 PyYAML==5.3.1 pytest==6.1.0
<|file_sep|>original/requirements_dev.txt pip==20.2.3 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.2.1 tox==3.20.0 coverage==5.3 PyYAML==5.3.1 pytest==6.1.0 <|file_sep|>current/requirements_dev.txt pip==20.2.3 wheel==0.35.1 watchdog==0.10.3 flake8==3.8.3 Sphinx==3.2.1 tox==3.20.0 coverage==5.3 PyYAML==5.3.1 p...
f076bffbf5324169045eab1053f4be113d87caf2
requirements_dev.txt
requirements_dev.txt
Text
<|file_sep|>original/locales/es/home.properties # Accessibility string for the Advocacy logo, not displayed in the page # Accessibility string for the Encrypt banner, not displayed in the page home_header=Estamos creando un movimiento global para proteger la Web abierta y gratuita home_intro=Creemos que Internet es m...
# Accessibility string for the Advocacy logo, not displayed in the page # Accessibility string for the Encrypt banner, not displayed in the page learn_more=LEARN MORE home_header=Estamos creando un movimiento global para proteger la Web abierta y gratuita home_intro=Creemos que Internet es mejor si la tratamos como u...
<|file_sep|>original/locales/es/home.properties # Accessibility string for the Advocacy logo, not displayed in the page # Accessibility string for the Encrypt banner, not displayed in the page home_header=Estamos creando un movimiento global para proteger la Web abierta y gratuita home_intro=Creemos que Internet es m...
86feb413263c2dc9e7f113171b6062da06b92b2d
locales/es/home.properties
locales/es/home.properties
INI
<|file_sep|>original/libraries/matchers.rb def purge_php_pear(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear, :purge, resource_name) end ChefSpec.define_matcher :php_pear_channel def discover_php_pear_channel(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :d...
def remove_php_pear_channel(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :remove, resource_name) end def update_php_pear_channel(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :update, resource_name) end def add_php_pear_channel(resource_name)...
<|file_sep|>original/libraries/matchers.rb def purge_php_pear(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear, :purge, resource_name) end ChefSpec.define_matcher :php_pear_channel def discover_php_pear_channel(resource_name) ChefSpec::Matchers::ResourceMatcher.new(:php_pear_channel, :d...
06cfb5e7a509f59f33e7cde8a4e69ffaa85cba53
libraries/matchers.rb
libraries/matchers.rb
Ruby
<|file_sep|>original/src/baseStyles.js width, height: '100%', transform: isOpen ? '' : right ? 'translate3d(100%, 0, 0)' : 'translate3d(-100%, 0, 0)', transition: 'all 0.5s' }; }, menu() { return { height: '100%', boxSizing: 'border-box' }; }, itemList() { r...
width, height: '100%', transform: isOpen ? '' : right ? 'translate3d(100%, 0, 0)' : 'translate3d(-100%, 0, 0)', transition: 'all 0.5s' }; }, menu() { return { height: '100%', boxSizing: 'border-box', overflow: 'auto' }; }, itemList() { return { h...
<|file_sep|>original/src/baseStyles.js width, height: '100%', transform: isOpen ? '' : right ? 'translate3d(100%, 0, 0)' : 'translate3d(-100%, 0, 0)', transition: 'all 0.5s' }; }, menu() { return { height: '100%', boxSizing: 'border-box' }; }, itemList() { r...
4b122ac355db877579b20c56dabca556713a1ae4
src/baseStyles.js
src/baseStyles.js
JavaScript
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md
--- name: Bug report about: Create a report to help us improve title: "[BUG]" labels: bug assignees: kyechan99 --- **Screenshots** If applicable, add screenshots to help explain your problem. **Environment (please complete the following information):** ex) Window Chrome - Device: [e.g. iPhone6] - Browser [e.g. chro...
<|file_sep|>original/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>current/.github/ISSUE_TEMPLATE/bug_report.md <|file_sep|>updated/.github/ISSUE_TEMPLATE/bug_report.md --- name: Bug report about: Create a report to help us improve title: "[BUG]" labels: bug assignees: kyechan99 --- **Screenshots** If applicable...
b097eefb50947ccd9865dfbc50cb74cd18b3f716
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
<|file_sep|>src/main/java/com/github/pedrovgs/app/problem20/MultiplicationWithoutMultiply.java.diff original: updated: /** * Iterative solution to this problem. This algorithm is based on the multiplication definition * as * a consecutive sum. The complexity order of this algorithm in time terms is O(N) whe...
/** * Iterative solution to this problem. This algorithm is based on the multiplication definition * as * a consecutive sum. The complexity order of this algorithm in time terms is O(N) where N is * equals to n1 parameter. In space terms the complexity order of this algorithm is O(1) because * we are n...
<|file_sep|>src/main/java/com/github/pedrovgs/app/problem20/MultiplicationWithoutMultiply.java.diff original: updated: /** * Iterative solution to this problem. This algorithm is based on the multiplication definition * as * a consecutive sum. The complexity order of this algorithm in time terms is O(N) whe...
21fd4d15d077d02fa26b829811ce3eef27eea44b
src/main/java/com/github/pedrovgs/app/problem20/MultiplicationWithoutMultiply.java
src/main/java/com/github/pedrovgs/app/problem20/MultiplicationWithoutMultiply.java
Java
<|file_sep|>src/Picqer/Financials/Exact/Persistance/Storable.php.diff original: return $this->connection()->put($this->url . "(guid'$this->primaryKey')", $this->json()); updated: return $this->connection()->put($this->url . "(guid'" . $this->attributes[$this->primaryKey] . "')", $this->json()); <|file_s...
$this->fill($this->insert()); } return $this; } public function insert() { return $this->connection()->post($this->url, $this->json()); } public function update() { return $this->connection()->put($this->url . "(guid'" . $this->attributes[$this->pri...
<|file_sep|>src/Picqer/Financials/Exact/Persistance/Storable.php.diff original: return $this->connection()->put($this->url . "(guid'$this->primaryKey')", $this->json()); updated: return $this->connection()->put($this->url . "(guid'" . $this->attributes[$this->primaryKey] . "')", $this->json()); <|file_s...
de6d421c9132dc329b173432c86e1a00f38bf960
src/Picqer/Financials/Exact/Persistance/Storable.php
src/Picqer/Financials/Exact/Persistance/Storable.php
PHP
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer update script: phpunit <|file_sep|>current/.travis.yml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer update s...
language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - nightly - hhvm before_script: - composer update script: phpunit
<|file_sep|>original/.travis.yml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer update script: phpunit <|file_sep|>current/.travis.yml language: php sudo: false php: - 5.3 - 5.4 - 5.5 - 5.6 - 7.0 - hhvm before_script: - composer update s...
bbb5a42bbdbf3f1e7d64b43443078d99e060ecf7
.travis.yml
.travis.yml
YAML
<|file_sep|>original/modules/requests_unsupported.rb module HonestRenter module Unrequestable class Unsupported < StandardError; end def self.included(base) base.extend(ClassMethods) end module ClassMethods def find_all(*) raise Unsupported, "this model may not use the #{__method...
module HonestRenter module Unrequestable class Unsupported < StandardError; end def self.included(base) base.extend(ClassMethods) end module ClassMethods def find_all(*) raise Unsupported, "this model may not use the #{__method__} method." end end private_constant ...
<|file_sep|>original/modules/requests_unsupported.rb module HonestRenter module Unrequestable class Unsupported < StandardError; end def self.included(base) base.extend(ClassMethods) end module ClassMethods def find_all(*) raise Unsupported, "this model may not use the #{__method...
a90aa30a29d835e1aa584d0fc45f1d1895ae55dc
modules/requests_unsupported.rb
modules/requests_unsupported.rb
Ruby
<|file_sep|>core/app/views/spree/shared/_base_mailer_header.html.erb.diff original: updated: <% store_name = @order&.store&.name || current_store.name %> <|file_sep|>core/app/views/spree/shared/_base_mailer_header.html.erb.diff original: <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name,...
<!-- You can override this template to design your own header. --> <% store_name = @order&.store&.name || current_store.name %> <tr> <td class="email-masthead"> <% if frontend_available? %> <%= link_to spree.root_url, class: 'template-label' do %> <%= image_tag Spree::Config.logo, class: 'logo', alt...
<|file_sep|>core/app/views/spree/shared/_base_mailer_header.html.erb.diff original: updated: <% store_name = @order&.store&.name || current_store.name %> <|file_sep|>core/app/views/spree/shared/_base_mailer_header.html.erb.diff original: <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name,...
8407c39b0ad644d449a894b503bf506689f79f54
core/app/views/spree/shared/_base_mailer_header.html.erb
core/app/views/spree/shared/_base_mailer_header.html.erb
HTML+ERB
<|file_sep|>package.json.diff original: "start": "node ./bin/www", updated: "start": "nodemon ./bin/www", <|file_sep|>original/package.json "license": "MIT ", "bugs": { "url": "https://github.com/underscorenico/skeleton-ecrm-nodejs/issues" }, "homepage": "https://github.com/underscorenico/skeleton-e...
}, "homepage": "https://github.com/underscorenico/skeleton-ecrm-nodejs#readme", "dependencies": { "async": "^2.2.0", "bcrypt": "^1.0.2", "body-parser": "^1.17.1", "debug": "^2.6.3", "express": "^4.15.2", "express-jwt": "^5.1.0", "express-validator": "^3.1.2", "fs": "0.0.1-security"...
<|file_sep|>package.json.diff original: "start": "node ./bin/www", updated: "start": "nodemon ./bin/www", <|file_sep|>original/package.json "license": "MIT ", "bugs": { "url": "https://github.com/underscorenico/skeleton-ecrm-nodejs/issues" }, "homepage": "https://github.com/underscorenico/skeleton-e...
3cff4adc2deedb33047ae2c463dbcc850f28a8b0
package.json
package.json
JSON
<|file_sep|>server/liveblog/blogs/blogs_test.py.diff original: import unittest from liveblog.blogs.blogs import BlogService updated: from liveblog.blogs import init_app from superdesk.tests import TestCase from superdesk import get_resource_service <|file_sep|>server/liveblog/blogs/blogs_test.py.diff original: class Bl...
from liveblog.blogs import init_app from superdesk.tests import TestCase from superdesk import get_resource_service from superdesk.errors import SuperdeskApiError class BlogsTestCase(TestCase): def setUp(self): # from nose.tools import set_trace; set_trace() init_app(self.app) def test_if_no...
<|file_sep|>server/liveblog/blogs/blogs_test.py.diff original: import unittest from liveblog.blogs.blogs import BlogService updated: from liveblog.blogs import init_app from superdesk.tests import TestCase from superdesk import get_resource_service <|file_sep|>server/liveblog/blogs/blogs_test.py.diff original: class Bl...
5af9796dc0fcc425efd6b0283f2e4a79dec31d5f
server/liveblog/blogs/blogs_test.py
server/liveblog/blogs/blogs_test.py
Python
<|file_sep|>original/bin/cake.bat :: Licensed under The MIT License :: Redistributions of files must retain the above copyright notice. :: :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) :: @link http://cakephp.org CakePHP(tm) Project :: @since 2.0.0 :: @licen...
:: :: Licensed under The MIT License :: Redistributions of files must retain the above copyright notice. :: :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) :: @link http://cakephp.org CakePHP(tm) Project :: @since 2.0.0 :: @license http://www.opensource....
<|file_sep|>original/bin/cake.bat :: Licensed under The MIT License :: Redistributions of files must retain the above copyright notice. :: :: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) :: @link http://cakephp.org CakePHP(tm) Project :: @since 2.0.0 :: @licen...
2dcfe8ce41119c0d1dcf938a0dd2b0434a7fa41c
bin/cake.bat
bin/cake.bat
Batchfile
<|file_sep|>original/_posts/2020-05-02-why-is-the-dot-product-of-two-perpendicular-vectors-zero.md --- layout: post title: "Why is the Dot Product of Two Perpendicular Vectors Zero" date: 2017-01-03 14:33 author: "Sean Francis N. Ballais" permalink: /blog/why-is-the-dot-product-of-two-perpendicular-...
--- layout: post title: "Why is the Dot Product of Two Perpendicular Vectors Zero" date: 2017-01-03 14:33 author: "Sean Francis N. Ballais" permalink: /blog/why-is-the-dot-product-of-two-perpendicular-vectors-zero/ header-img: "img/posts/implementing-a-simple-message-bus-in-cpp/header.jpg" comments:...
<|file_sep|>original/_posts/2020-05-02-why-is-the-dot-product-of-two-perpendicular-vectors-zero.md --- layout: post title: "Why is the Dot Product of Two Perpendicular Vectors Zero" date: 2017-01-03 14:33 author: "Sean Francis N. Ballais" permalink: /blog/why-is-the-dot-product-of-two-perpendicular-...
c3ad357e58856ae6c9b3926d03499914e3ba35a4
_posts/2020-05-02-why-is-the-dot-product-of-two-perpendicular-vectors-zero.md
_posts/2020-05-02-why-is-the-dot-product-of-two-perpendicular-vectors-zero.md
Markdown
<|file_sep|>original/travis/travis_run_build.sh #!/usr/bin/env sh log_file="travis_build.log" #R CMD BATCH ./travis_build.R $log_file #cat $log_file # touch $log_file # # # run tail -f in background # tail -f $log_file # > out 2>&1 & # # # process id of tail command # tailpid=$! # # # run build # R CMD BATCH ./tra...
#!/usr/bin/env sh log_file="travis/travis_build.log" #R CMD BATCH ./travis_build.R $log_file #cat $log_file # touch $log_file # # # run tail -f in background # tail -f $log_file # > out 2>&1 & # # # process id of tail command # tailpid=$! # # # run build # R CMD BATCH ./travis_build.R $log_file # # # now kill th...
<|file_sep|>original/travis/travis_run_build.sh #!/usr/bin/env sh log_file="travis_build.log" #R CMD BATCH ./travis_build.R $log_file #cat $log_file # touch $log_file # # # run tail -f in background # tail -f $log_file # > out 2>&1 & # # # process id of tail command # tailpid=$! # # # run build # R CMD BATCH ./tra...
69e226e31ae8e7e3849f8bf4daac304a39de4f47
travis/travis_run_build.sh
travis/travis_run_build.sh
Shell
<|file_sep|>eval_kernel/eval_kernel.py.diff original: import os updated: <|file_sep|>eval_kernel/eval_kernel.py.diff original: def get_kernel_help_on(self, expr, level): return "Sorry, no help is available on '%s'." % expr updated: def get_variable(self, name): """ Get a variable from t...
def get_variable(self, name): """ Get a variable from the kernel language. """ return self.env.get(name, None) def do_execute_direct(self, code): python_magic = self.line_magics['python'] resp = python_magic.eval(code.strip()) if not resp is None: ...
<|file_sep|>eval_kernel/eval_kernel.py.diff original: import os updated: <|file_sep|>eval_kernel/eval_kernel.py.diff original: def get_kernel_help_on(self, expr, level): return "Sorry, no help is available on '%s'." % expr updated: def get_variable(self, name): """ Get a variable from t...
86cf16611fe4126f4345477b24da5c15fed4c1e8
eval_kernel/eval_kernel.py
eval_kernel/eval_kernel.py
Python
<|file_sep|>original/public/css/base.css html, body { margin: 0; padding: 0; height: 100%; } header, article, footer { overflow: auto; } article { height: 100%; } header, footer { padding: 1em; background: #ddd; } .create { float: left; <|file_sep|>current/public/css/base.css html, b...
html, body { margin: 0; padding: 0; height: 100%; } body { font: 13px/1.333 "lucida grande", tahoma, sans-serif; } header, article, footer { overflow: auto; } article { height: 100%; } header, footer { padding: 1em; background: #ddd;
<|file_sep|>original/public/css/base.css html, body { margin: 0; padding: 0; height: 100%; } header, article, footer { overflow: auto; } article { height: 100%; } header, footer { padding: 1em; background: #ddd; } .create { float: left; <|file_sep|>current/public/css/base.css html, b...
029cb9defb62b6ce691b3f60cae525679d0f4eed
public/css/base.css
public/css/base.css
CSS
<|file_sep|>original/src/cljam/pileup/common.clj (ns cljam.pileup.common) ;; TODO: estiamte from actual data (def ^:const window-width 1250) (def ^:const step 2000) (def ^:const center (int (/ step 2))) <|file_sep|>current/src/cljam/pileup/common.clj (ns cljam.pileup.common) ;; TODO: estiamte from actual data (def ^:...
(ns cljam.pileup.common) ;; TODO: estiamte from actual data (def ^:const window-width 5250) (def ^:const step 10000) (def ^:const center (int (/ step 2)))
<|file_sep|>original/src/cljam/pileup/common.clj (ns cljam.pileup.common) ;; TODO: estiamte from actual data (def ^:const window-width 1250) (def ^:const step 2000) (def ^:const center (int (/ step 2))) <|file_sep|>current/src/cljam/pileup/common.clj (ns cljam.pileup.common) ;; TODO: estiamte from actual data (def ^:...
27a96203611245f2823523aa88a08afb4eda0d6d
src/cljam/pileup/common.clj
src/cljam/pileup/common.clj
Clojure
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" install: - pip install pytest pytest-cov python-coveralls pep8 # Necessary for now because of experimental features - pip install https://github.com/zoni/err/archive/pytest.zip script: - py.test --cov convert - pep8 --s...
language: python python: - "2.7" - "3.3" - "3.4" install: - pip install pytest pytest-cov python-coveralls pep8 - pip install https://github.com/gbin/err/archive/master.zip script: - py.test --cov convert - pep8 --show-source after_success: - coveralls
<|file_sep|>original/.travis.yml language: python python: - "2.7" - "3.3" - "3.4" install: - pip install pytest pytest-cov python-coveralls pep8 # Necessary for now because of experimental features - pip install https://github.com/zoni/err/archive/pytest.zip script: - py.test --cov convert - pep8 --s...
6823710528ce3cc8da3eb45c6490325ca87173f0
.travis.yml
.travis.yml
YAML
<|file_sep|>original/package.json { "name": "loopback-getting-started", "version": "0.0.0", "main": "server/server.js", "scripts": { "pretest": "jshint ." }, "dependencies": { "compression": "^1.0.3", "errorhandler": "^1.1.1", "loopback": "^2.5.0", "loopback-boot": "^2.2.0", "loopbac...
{ "name": "loopback-getting-started", "version": "0.0.0", "main": "server/server.js", "scripts": { "start": "node .", "pretest": "jshint ." }, "dependencies": { "compression": "^1.0.3", "errorhandler": "^1.1.1", "loopback": "^2.5.0", "loopback-boot": "^2.2.0", "loopback-connect...
<|file_sep|>original/package.json { "name": "loopback-getting-started", "version": "0.0.0", "main": "server/server.js", "scripts": { "pretest": "jshint ." }, "dependencies": { "compression": "^1.0.3", "errorhandler": "^1.1.1", "loopback": "^2.5.0", "loopback-boot": "^2.2.0", "loopbac...
85f868e0c3b4d07e8087ad5f264d8a7d20a57e1e
package.json
package.json
JSON
<|file_sep|>original/project/plugins.sbt scalacOptions ++= Seq("-unchecked", "-deprecation") resolvers ++= Seq( "less is" at "http://repo.lessis.me", "coda" at "http://repo.codahale.com" ) addSbtPlugin("org.scalatra.sbt" % "scalatra-sbt" % "0.3.2") addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.3") addSbtPlugin("co...
scalacOptions ++= Seq("-unchecked", "-deprecation") resolvers ++= Seq( "less is" at "http://repo.lessis.me", "coda" at "http://repo.codahale.com" ) addSbtPlugin("org.scalatra.sbt" % "scalatra-sbt" % "0.3.2") addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.3") addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1...
<|file_sep|>original/project/plugins.sbt scalacOptions ++= Seq("-unchecked", "-deprecation") resolvers ++= Seq( "less is" at "http://repo.lessis.me", "coda" at "http://repo.codahale.com" ) addSbtPlugin("org.scalatra.sbt" % "scalatra-sbt" % "0.3.2") addSbtPlugin("me.lessis" % "ls-sbt" % "0.1.3") addSbtPlugin("co...
e1ff52997891a9fbaef87a0d4fb72cc667939a09
project/plugins.sbt
project/plugins.sbt
Scala
<|file_sep|>original/test/monitorModelTest.js <|file_sep|>current/test/monitorModelTest.js <|file_sep|>updated/test/monitorModelTest.js
'use strict' var request = require('request') var fs = require('fs') var os = require('os') var should = require('should') var utility = require('../public/utility') let path = require('path') var api var url describe('Server: Web', function () { before(function (done) { url = 'http://localhost:8085/api' do...
<|file_sep|>original/test/monitorModelTest.js <|file_sep|>current/test/monitorModelTest.js <|file_sep|>updated/test/monitorModelTest.js 'use strict' var request = require('request') var fs = require('fs') var os = require('os') var should = require('should') var utility = require('../public/utility') let path = requi...
aaf89722894478e2d27aec6f2b81511c69ad754c
test/monitorModelTest.js
test/monitorModelTest.js
JavaScript
<|file_sep|>README.txt.diff original: Creates a Document Collection Changefile for Solve for All based on Javadocs. updated: Creates a Semantic Data Collection Changefile for Solve for All based on Javadocs. <|file_sep|>original/README.txt Creates a Document Collection Changefile for Solve for All based on Javadocs. G...
Creates a Semantic Data Collection Changefile for Solve for All based on Javadocs. Getting the OpenJDK docs (redistributable it seems) in Ubuntu: sudo apt-get update sudo apt-get install openjdk-7-doc ruby main.rb /usr/lib/jvm/java-7-openjdk-amd64/docs/api should output jdk7-doc.json.bz2 which can then be uploaded. ...
<|file_sep|>README.txt.diff original: Creates a Document Collection Changefile for Solve for All based on Javadocs. updated: Creates a Semantic Data Collection Changefile for Solve for All based on Javadocs. <|file_sep|>original/README.txt Creates a Document Collection Changefile for Solve for All based on Javadocs. G...
9586060e7c81439caa7c267ec303c41b4e2bfadd
README.txt
README.txt
Text
<|file_sep|>django_excel_tools/exceptions.py.diff original: class ValidationError(BaseExcelError): pass updated: <|file_sep|>django_excel_tools/exceptions.py.diff original: updated: class ImportOperationFailed(BaseExcelError): pass <|file_sep|>original/django_excel_tools/exceptions.py class BaseExcelError...
self.message = message class ColumnNotEqualError(BaseExcelError): pass class FieldNotExist(BaseExcelError): pass class ImportOperationFailed(BaseExcelError): pass class SerializerConfigError(BaseExcelError): pass class ValidationError(BaseExcelError): pass
<|file_sep|>django_excel_tools/exceptions.py.diff original: class ValidationError(BaseExcelError): pass updated: <|file_sep|>django_excel_tools/exceptions.py.diff original: updated: class ImportOperationFailed(BaseExcelError): pass <|file_sep|>original/django_excel_tools/exceptions.py class BaseExcelError...
7c5747688dffd41737c841ac354c4947939006c3
django_excel_tools/exceptions.py
django_excel_tools/exceptions.py
Python
<|file_sep|>original/companies.json { "bloggers": [ { "jsonId": 10003, "name": "Goyello", "rss": "http://blog.goyello.com/pl/feed/", "twitter": "@goyello" }, { "jsonId": 10004, "name": "Pragmatists", "rss": "http://pragmatists.pl/blog/feed/", "twitter": "@pr...
{ "bloggers": [ { "jsonId": 10002, "name": "TouK", "rss": "http://touk.pl/blog/feed/", "twitter": "@touk_pl" }, { "jsonId": 10003, "name": "Goyello", "rss": "http://blog.goyello.com/pl/feed/", "twitter": "@goyello" }, { "jsonId": 10004, "...
<|file_sep|>original/companies.json { "bloggers": [ { "jsonId": 10003, "name": "Goyello", "rss": "http://blog.goyello.com/pl/feed/", "twitter": "@goyello" }, { "jsonId": 10004, "name": "Pragmatists", "rss": "http://pragmatists.pl/blog/feed/", "twitter": "@pr...
d7d97b46bdcf96f1fc4d0ab7574c41266b52b90d
companies.json
companies.json
JSON
<|file_sep|>original/package.json "dsm", "dtv", "filestation", "nas", "surveillancestation", "synology", "videostation" ], "main": "./lib/synology.js", "dependencies": { "request": "2.22.x", "form-data": "0.1.x" }, "engines": { "node": ">=0.8.0" }, "repository": { ...
"dsm", "dtv", "filestation", "nas", "surveillancestation", "synology", "videostation" ], "main": "./lib/synology.js", "dependencies": { "request": "2.27.x", "form-data": "0.1.x" }, "engines": { "node": ">=0.8.0" }, "repository": { "type": "git", "url": "git:...
<|file_sep|>original/package.json "dsm", "dtv", "filestation", "nas", "surveillancestation", "synology", "videostation" ], "main": "./lib/synology.js", "dependencies": { "request": "2.22.x", "form-data": "0.1.x" }, "engines": { "node": ">=0.8.0" }, "repository": { ...
d2813953514660cdc5db507b90b746b09411c0c1
package.json
package.json
JSON
<|file_sep|>original/src/app/parts/gallery/gallery.component.html <section *ngIf="galleries" class="aae-main-wrapper" > <div *ngFor="let gallery of galleries"> <div> <img src="assets/gallery/{{ gallery.id }}/pics/{{ gallery.image_id }}.jpg" alt="{{ gallery.title }}"> <p [innerHtml]="gallery.title"></p...
<section *ngIf="galleries" class="aae-main-wrapper" > <div *ngFor="let gallery of galleries"> <div> <img src="assets/gallery/{{ gallery.id }}/pics/{{ gallery.image_id }}.jpg" alt="{{ gallery.title }}"> <p><a routerLink="/{{ page }}/{{ gallery.id }}" [innerHtml]="gallery.title"></a></p> <p [innerHt...
<|file_sep|>original/src/app/parts/gallery/gallery.component.html <section *ngIf="galleries" class="aae-main-wrapper" > <div *ngFor="let gallery of galleries"> <div> <img src="assets/gallery/{{ gallery.id }}/pics/{{ gallery.image_id }}.jpg" alt="{{ gallery.title }}"> <p [innerHtml]="gallery.title"></p...
682732886bfbb5dffc8d6077294bbcbe5bba16bf
src/app/parts/gallery/gallery.component.html
src/app/parts/gallery/gallery.component.html
HTML
<|file_sep|>original/client/src/styles/Sources.css .sources-form { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue; ...
#sources-form { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue; text-align: left; border: 1px solid black; mar...
<|file_sep|>original/client/src/styles/Sources.css .sources-form { display: inline-block; float: right; width: 45%; height: 500px; overflow: scroll; border: 1px solid black; padding: 10px; margin: 1%; background-color: white; color: black } .source { color: black; background-color: AliceBlue; ...
23f95228c097971efa97fe10d23bdba08bd5d94a
client/src/styles/Sources.css
client/src/styles/Sources.css
CSS
<|file_sep|>original/_config.yml url: "http://localhost:4000/" # the base hostname & protocol for your site author: codeheaven lang: en github_username: codeheaven-io twitter_username: codeheaven_io # Build settings markdown: kramdown # google_universal_analytics: TODO # google_universal_analytics_cookiedomain: auto...
url: "http://localhost:4000/" # the base hostname & protocol for your site author: codeheaven lang: en github_username: codeheaven-io twitter_username: codeheaven_io # Build settings markdown: kramdown # Google Analytics info google_universal_analytics: UA-60941725-1 google_universal_analytics_cookiedomain: auto ge...
<|file_sep|>original/_config.yml url: "http://localhost:4000/" # the base hostname & protocol for your site author: codeheaven lang: en github_username: codeheaven-io twitter_username: codeheaven_io # Build settings markdown: kramdown # google_universal_analytics: TODO # google_universal_analytics_cookiedomain: auto...
9040f109a58a53ed9bcad7d495a79f362efd18a9
_config.yml
_config.yml
YAML
<|file_sep|>original/src/app/qml/listcomponents/ListPageHeader.qml * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ import QtQuick 2.1 import org.kde.plasma.e...
* Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ import QtQuick 2.1 import org.kde.plasma.extras 2.0 as PlasmaExtras /// FIXME Switch this to using the Kirig...
<|file_sep|>original/src/app/qml/listcomponents/ListPageHeader.qml * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ import QtQuick 2.1 import org.kde.plasma.e...
4c7d6cf0bdf029389a3538e73d1d8aadb63c0848
src/app/qml/listcomponents/ListPageHeader.qml
src/app/qml/listcomponents/ListPageHeader.qml
QML
<|file_sep|>original/README.md # usda-costoffood Tools for retrieving and analyzing the USDA Cost of Food Reports <|file_sep|>current/README.md # usda-costoffood Tools for retrieving and analyzing the USDA Cost of Food Reports <|file_sep|>updated/README.md
# usda-costoffood usda-costoffood is a collection of scripts to retrieve and analyze monthly [USDA Cost of Food Reports](http://www.cnpp.usda.gov/USDAFoodPlansCostofFood/reports) which are distributed as `.pdf` files. Setup Requirements ------------------ All scripts run in Python 2.7 and Python 3. The required pyth...
<|file_sep|>original/README.md # usda-costoffood Tools for retrieving and analyzing the USDA Cost of Food Reports <|file_sep|>current/README.md # usda-costoffood Tools for retrieving and analyzing the USDA Cost of Food Reports <|file_sep|>updated/README.md # usda-costoffood usda-costoffood is a collection of scripts t...
9dcd7065ccb54bd1e284497d44fbf8abeeb526b1
README.md
README.md
Markdown
<|file_sep|>original/app/controllers/doorkeeper/applications_controller.rb module Doorkeeper class ApplicationsController < ApplicationController respond_to :html before_filter :authenticate_admin! def index @applications = Application.all end def new @application = Application.new ...
module Doorkeeper class ApplicationsController < Doorkeeper::ApplicationController respond_to :html before_filter :authenticate_admin! def index @applications = Application.all end def new @application = Application.new end def create @application = Application.new(pa...
<|file_sep|>original/app/controllers/doorkeeper/applications_controller.rb module Doorkeeper class ApplicationsController < ApplicationController respond_to :html before_filter :authenticate_admin! def index @applications = Application.all end def new @application = Application.new ...
bb354808954e87f3367721bcef51cad0e2c1139d
app/controllers/doorkeeper/applications_controller.rb
app/controllers/doorkeeper/applications_controller.rb
Ruby
<|file_sep|>original/src/Cacic/RelatorioBundle/Menu/Builder.php { public function relatorioMenu(FactoryInterface $factory, array $options) { $logger = $this->container->get('logger'); // Cria menu $menu = $factory->createItem('root'); //$menu->addChild('Configurações', array('ro...
{ public function relatorioMenu(FactoryInterface $factory, array $options) { $logger = $this->container->get('logger'); // Cria menu $menu = $factory->createItem('root'); //$menu->addChild('Configurações', array('route' => 'cacic_relatorio_hardware_configuracoes')); // ...
<|file_sep|>original/src/Cacic/RelatorioBundle/Menu/Builder.php { public function relatorioMenu(FactoryInterface $factory, array $options) { $logger = $this->container->get('logger'); // Cria menu $menu = $factory->createItem('root'); //$menu->addChild('Configurações', array('ro...
d8bc9c7a712a5e87c115c17aec67e77da54cf10c
src/Cacic/RelatorioBundle/Menu/Builder.php
src/Cacic/RelatorioBundle/Menu/Builder.php
PHP
<|file_sep|>original/observer/java/SwingObserverExample.java <|file_sep|>current/observer/java/SwingObserverExample.java <|file_sep|>updated/observer/java/SwingObserverExample.java
import java.awt.*; import javax.swing.*; public class SwingObserverExample { JFrame frame; public static void main(String[] args) { SwingObserverExample example = new SwingObserverExample(); example.go(); } public void go() { frame = new JFrame(); JButton button = new ...
<|file_sep|>original/observer/java/SwingObserverExample.java <|file_sep|>current/observer/java/SwingObserverExample.java <|file_sep|>updated/observer/java/SwingObserverExample.java import java.awt.*; import javax.swing.*; public class SwingObserverExample { JFrame frame; public static void main(String[] arg...
d414a52e7026e29a0e709c724a6a61321d75d0fc
observer/java/SwingObserverExample.java
observer/java/SwingObserverExample.java
Java
<|file_sep|>original/app/templates/src/main/webapp/scripts/app/admin/configuration/_configuration.controller.js url: '/configuration', data: { roles: ['ROLE_ADMIN'] }, views: { 'content@': { t...
roles: ['ROLE_ADMIN'] }, views: { 'content@': { templateUrl: 'scripts/app/admin/configuration/configuration.html', controller: 'ConfigurationController' } }, ...
<|file_sep|>original/app/templates/src/main/webapp/scripts/app/admin/configuration/_configuration.controller.js url: '/configuration', data: { roles: ['ROLE_ADMIN'] }, views: { 'content@': { t...
b1a59cd1f45b50ec0358f1c06592258253bac216
app/templates/src/main/webapp/scripts/app/admin/configuration/_configuration.controller.js
app/templates/src/main/webapp/scripts/app/admin/configuration/_configuration.controller.js
JavaScript
<|file_sep|>_config.yml.diff original: description: Woop woop updated: description: <|file_sep|>_config.yml.diff original: url: "https://jekynewage.github.io" # the base hostname & protocol for your site #Google Ad Words Data from scripts code (using Google responsive options) and ad client data-ad-slot: 0 data-ad-cl...
description: baseurl: "" # the subpath of your site, e.g. /blog/ (If you use organization leave empty) url: "https://ovilab.net" # the base hostname & protocol for your site # Social networks usernames (many more available: flickr, dribbble, pinterest, instagram, tumblr, linkedin, etc.) see all icon at fontawesome.i...
<|file_sep|>_config.yml.diff original: description: Woop woop updated: description: <|file_sep|>_config.yml.diff original: url: "https://jekynewage.github.io" # the base hostname & protocol for your site #Google Ad Words Data from scripts code (using Google responsive options) and ad client data-ad-slot: 0 data-ad-cl...
296b434661fc478c1060451faa30022d3b4c6815
_config.yml
_config.yml
YAML
<|file_sep|>original/Casks/privacy-services-manager.rb cask :v1 => 'privacy-services-manager' do version '1.6.9' sha256 'd59db1d633c40f791578d7496ba3a6f94370fda24e64e6b8bafe9b4385b7a772' url "https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/releases/download/#{version}/Privacy_Serv...
cask :v1 => 'privacy-services-manager' do version '1.7.2' sha256 '0d7a5e7431d5a44d7b1ddcc8e59fa3672d573a9203c45b620daee695444de040' url "https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/releases/download/#{version}/Privacy_Services_Management_#{version}.dmg" appcast 'https://gith...
<|file_sep|>original/Casks/privacy-services-manager.rb cask :v1 => 'privacy-services-manager' do version '1.6.9' sha256 'd59db1d633c40f791578d7496ba3a6f94370fda24e64e6b8bafe9b4385b7a772' url "https://github.com/univ-of-utah-marriott-library-apple/privacy_services_manager/releases/download/#{version}/Privacy_Serv...
ed0e59b3c333ee50dff9b241ba2cdfe1f8053a6b
Casks/privacy-services-manager.rb
Casks/privacy-services-manager.rb
Ruby
<|file_sep|>original/README.md You can view the live site at [oregonliquorprices.com][project-home]. ## Contributors You are encouraged to fork the project and add new functionality. We'd love to see your pull requests! Please make sure to run tests before submitting a patch. $ python manage.py test olcc ## Po...
$ python manage.py test olcc ## Potential Features - Parse the store hours into a machine readable format. Display stores as currently open/closed. - Product images: Scrape Creative Commons licensed photos or accept submissions. - Price monitoring: Get notified when your favorite item drops in price. - Price i...
<|file_sep|>original/README.md You can view the live site at [oregonliquorprices.com][project-home]. ## Contributors You are encouraged to fork the project and add new functionality. We'd love to see your pull requests! Please make sure to run tests before submitting a patch. $ python manage.py test olcc ## Po...
7dd189339b9a7cbdc15114aca4cecaf1911f01c6
README.md
README.md
Markdown
<|file_sep|>original/app/views/groups/new.html.erb <%= form_for @group do |f|%> <div> <%= f.label :name, class: "outlined-text" %><br /> <%= f.text_field :name %> </div> <div> <%= f.submit "Create Group", class: "btn btn-primary btn-marg-5" %> </div> <% end %> <|file_sep|>current/app/views/groups/...
<%= form_for @group do |f|%> <div> <%= f.label :name, class: "outlined-text" %><br /> <%= f.text_field :name, :autofocus=>true %> </div> <div> <%= f.submit "Create Group", class: "btn btn-primary btn-marg-5" %> </div> <% end %>
<|file_sep|>original/app/views/groups/new.html.erb <%= form_for @group do |f|%> <div> <%= f.label :name, class: "outlined-text" %><br /> <%= f.text_field :name %> </div> <div> <%= f.submit "Create Group", class: "btn btn-primary btn-marg-5" %> </div> <% end %> <|file_sep|>current/app/views/groups/...
1c10b186e0b5bed45d44cbc05aabf472705e23e7
app/views/groups/new.html.erb
app/views/groups/new.html.erb
HTML+ERB
<|file_sep|>original/package.json "devDependencies": { "jsdoc": "3.3.0-alpha9", "jshint": "~2.4.0", "wintersmith": "~2.0.0", "moment": "~2.3.0", "underscore": "~1.4.0", "typogr": "~0.5.0", "yargs": "~1.2.1" }, "scripts": { "test": "node ./node_modules/.bin/jshint ." }, "reposit...
"devDependencies": { "jsdoc": "3.3.0-alpha9", "jshint": "~2.4.0", "wintersmith": "~2.0.0", "moment": "~2.3.0", "underscore": "~1.4.0", "typogr": "~0.5.0", "yargs": "~1.2.1" }, "scripts": { "test": "node ./node_modules/.bin/jshint --extra-ext .jsm ." }, "repository": { "type...
<|file_sep|>original/package.json "devDependencies": { "jsdoc": "3.3.0-alpha9", "jshint": "~2.4.0", "wintersmith": "~2.0.0", "moment": "~2.3.0", "underscore": "~1.4.0", "typogr": "~0.5.0", "yargs": "~1.2.1" }, "scripts": { "test": "node ./node_modules/.bin/jshint ." }, "reposit...
8a7499b1908ab02ccc559a8ae75bdc6602f9a82f
package.json
package.json
JSON
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 - jruby matrix: allow_failures: - rvm: jruby notifications: email: false sudo: false services: - elasticsearch before_install: - bundle config github.https true - gem install bundler <|file_sep|>current/.travis.yml language: ruby rvm: ...
language: ruby rvm: - 2.3 - jruby matrix: allow_failures: - rvm: jruby notifications: email: false sudo: false services: - elasticsearch before_install: - bundle config github.https true - gem install bundler
<|file_sep|>original/.travis.yml language: ruby rvm: - 2.2 - jruby matrix: allow_failures: - rvm: jruby notifications: email: false sudo: false services: - elasticsearch before_install: - bundle config github.https true - gem install bundler <|file_sep|>current/.travis.yml language: ruby rvm: ...
0f9d1779a2bdaf65f60c30d57e8fd12b0dede4ca
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/menu_planner/web/templates/user/form.html.eex <%= label f, :email, class: "control-label" %> <%= text_input f, :email, class: "form-control" %> <%= error_tag f, :email %> </div> <div class="form-group"> <%= label f, :name, class: "control-label" %> <%= text_input f, :na...
<%= label f, :email, class: "control-label" %> <%= text_input f, :email, class: "form-control" %> <%= error_tag f, :email %> </div> <div class="form-group"> <%= label f, :name, class: "control-label" %> <%= text_input f, :name, class: "form-control" %> <%= error_tag f, :name %> </div> ...
<|file_sep|>original/lib/menu_planner/web/templates/user/form.html.eex <%= label f, :email, class: "control-label" %> <%= text_input f, :email, class: "form-control" %> <%= error_tag f, :email %> </div> <div class="form-group"> <%= label f, :name, class: "control-label" %> <%= text_input f, :na...
0d247818c6f14e99e9a050a1bd672ce79e714d57
lib/menu_planner/web/templates/user/form.html.eex
lib/menu_planner/web/templates/user/form.html.eex
HTML+EEX
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer install -n --dev --prefer-source script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text <|file_sep|>current/.travis.yml langu...
language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer install -n --dev --prefer-source script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
<|file_sep|>original/.travis.yml language: php php: - 5.4 - 5.5 - 5.6 - 7.0 - hhvm matrix: allow_failures: - php: hhvm before_script: - composer install -n --dev --prefer-source script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text <|file_sep|>current/.travis.yml langu...
235a0d5e8b42b65c3446ec0a1cbf8dcdfbf19161
.travis.yml
.travis.yml
YAML
<|file_sep|>README.md.diff original: updated: const ws = require('ws'); Carina.WebSocket = ws; <|file_sep|>original/README.md ### Node #### JavaScript ```js const Carina = require('carina').Carina; let ca = new Carina(); ca.subscribe('channel:1:update', data => { console.log('Channel update', data); }); ``` ##...
Carina.WebSocket = ws; let ca = new Carina(); ca.subscribe('channel:1:update', data => { console.log('Channel update', data); }); ``` #### TypeScript ```ts import { Carina } from 'carina'; import * as ws from 'ws'; Carina.WebSocket = ws; let ca = new Carina(); ca.subscribe('channel:1:update', data => { con...
<|file_sep|>README.md.diff original: updated: const ws = require('ws'); Carina.WebSocket = ws; <|file_sep|>original/README.md ### Node #### JavaScript ```js const Carina = require('carina').Carina; let ca = new Carina(); ca.subscribe('channel:1:update', data => { console.log('Channel update', data); }); ``` ##...
5141a6751a1483ac26bb2b942819eb81c1b98ba8
README.md
README.md
Markdown
<|file_sep|>original/app/assets/javascripts/templates/partials/enterprise_details.html.haml .row .small-12.large-8.columns %div %p.modal-header {{'label_about' | t}} %div %span.filter-shopfront.taxon-selectors %ul.inline-block %li{"ng-repeat" => "taxon in enterprise.suppl...
.row .small-12.large-8.columns %div %p.modal-header {{'label_about' | t}} %div %span.filter-shopfront.taxon-selectors %ul.inline-block %li{"ng-repeat" => "taxon in enterprise.supplied_taxons"} %a.button.tiny.disabled{"ng-bind" => "taxon.name"} %span...
<|file_sep|>original/app/assets/javascripts/templates/partials/enterprise_details.html.haml .row .small-12.large-8.columns %div %p.modal-header {{'label_about' | t}} %div %span.filter-shopfront.taxon-selectors %ul.inline-block %li{"ng-repeat" => "taxon in enterprise.suppl...
b05b9747b82f682222866d3ffd02349526402176
app/assets/javascripts/templates/partials/enterprise_details.html.haml
app/assets/javascripts/templates/partials/enterprise_details.html.haml
Haml
<|file_sep|>original/_config.yml # Header menu: ## If your site is put in a subdirectory, set Home as '/child/' Home: / Archives: archives social: email: twitter: weibo: github: googleplus: rss: /atom.xml # Content fancybox: true # set to true if you want to use it duoshuo: #duoshuo_shortname disqu...
# Header menu: ## If your site is put in a subdirectory, set Home as '/child/' Home: / Archives: archives social: email: twitter: weibo: github: googleplus: rss: /atom.xml # Content fancybox: true # set to true if you want to use it duoshuo: #duoshuo_shortname disqus: #disqus _shortname google_anal...
<|file_sep|>original/_config.yml # Header menu: ## If your site is put in a subdirectory, set Home as '/child/' Home: / Archives: archives social: email: twitter: weibo: github: googleplus: rss: /atom.xml # Content fancybox: true # set to true if you want to use it duoshuo: #duoshuo_shortname disqu...
e0a197c457d9b66f9b4654cbbe1ecf5a7dbb6896
_config.yml
_config.yml
YAML
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" script: py.test test_requests_kerberos.py <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" script: py.test test_requests_kerberos.py <|file_sep|>updated/.tr...
language: python python: - "2.6" - "2.7" script: py.test test_requests_kerberos.py
<|file_sep|>original/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" script: py.test test_requests_kerberos.py <|file_sep|>current/.travis.yml language: python python: - "2.6" - "2.7" - "3.3" - "3.4" script: py.test test_requests_kerberos.py <|file_sep|>updated/.tr...
0dce914140370f68018b281d817d79e37dd40d94
.travis.yml
.travis.yml
YAML
<|file_sep|>original/lib/active_null.rb @polymorphic_null_defaults = mappings end def polymorphic_null_defaults @polymorphic_null_defaults || {} end def null_model(method_name=nil, &block) @null_model_overrides = if block_given? Module.new.tap { |m| m.module_eval(&block) } if method_nam...
@polymorphic_null_defaults = mappings end def polymorphic_null_defaults @polymorphic_null_defaults || {} end def null_model(method_name=nil, &block) @null_model_overrides = if block_given? Module.new.tap { |m| m.module_eval(&block) } end if method_name singleton_class.class_ev...
<|file_sep|>original/lib/active_null.rb @polymorphic_null_defaults = mappings end def polymorphic_null_defaults @polymorphic_null_defaults || {} end def null_model(method_name=nil, &block) @null_model_overrides = if block_given? Module.new.tap { |m| m.module_eval(&block) } if method_nam...
f8e04b9daa4ebecbdb9ce9c0ed7b20aed838e037
lib/active_null.rb
lib/active_null.rb
Ruby
<|file_sep|>original/src/api.ts const begin = new Date(); return fetch('/jkf') .then(response => response.json()) .then(json => { const end = new Date(); console.log(`fetchJKF ${end.getTime() - begin.getTime()}ms`); return json; }); } static storeJKF(jkf: JSONKifuFo...
const begin = new Date(); return fetch('/jkf') .then(response => response.json()) .then(json => { const end = new Date(); console.log(`fetchJKF ${end.getTime() - begin.getTime()}ms`); return json; }); } static storeJKF(jkf: JSONKifuFormat) { const body = stringi...
<|file_sep|>original/src/api.ts const begin = new Date(); return fetch('/jkf') .then(response => response.json()) .then(json => { const end = new Date(); console.log(`fetchJKF ${end.getTime() - begin.getTime()}ms`); return json; }); } static storeJKF(jkf: JSONKifuFo...
f6299343538458384b9e83294260297bb13a82b5
src/api.ts
src/api.ts
TypeScript
<|file_sep|>original/metadata/com.almalence.opencam.txt * HDR * Panorama * Groupshot * Nightmode Also known as "A Better Camera". . Repo Type:git Repo:https://github.com/almalence/OpenCamera.git Build:3.16,52 disable=jni prebuilts commit=6320b038d7d0f546bb843e3125326e25573f8395 buildjni=yes Auto Update ...
* HDR * Panorama * Groupshot * Nightmode Also known as "A Better Camera". . Repo Type:git Repo:https://github.com/almalence/OpenCamera.git Build:3.16,52 disable=jni prebuilts commit=6320b038d7d0f546bb843e3125326e25573f8395 buildjni=yes Auto Update Mode:None Update Check Mode:RepoManifest Current Version...
<|file_sep|>original/metadata/com.almalence.opencam.txt * HDR * Panorama * Groupshot * Nightmode Also known as "A Better Camera". . Repo Type:git Repo:https://github.com/almalence/OpenCamera.git Build:3.16,52 disable=jni prebuilts commit=6320b038d7d0f546bb843e3125326e25573f8395 buildjni=yes Auto Update ...
52cc64409cc2cf6c883acdcd567a6d391da1a8b4
metadata/com.almalence.opencam.txt
metadata/com.almalence.opencam.txt
Text
<|file_sep|>original/lib/bombshell/completor.rb module Bombshell class Completor def initialize(shell) @shell = shell end attr_reader :shell def complete(fragment) self.class.filter(shell.instance_methods).grep Regexp.new(Regexp.quote(fragment)) end def self.filter(m...
module Bombshell class Completor def initialize(shell) @shell = shell end attr_reader :shell def complete(fragment) self.class.filter(shell.instance_methods).grep Regexp.new(Regexp.quote(fragment)) end def self.filter(m) (m - Bombshell::Environment.instance_met...
<|file_sep|>original/lib/bombshell/completor.rb module Bombshell class Completor def initialize(shell) @shell = shell end attr_reader :shell def complete(fragment) self.class.filter(shell.instance_methods).grep Regexp.new(Regexp.quote(fragment)) end def self.filter(m...
029e1a2bf4bd7cf70d5cdad12d29f4adaf75e32c
lib/bombshell/completor.rb
lib/bombshell/completor.rb
Ruby
<|file_sep|>original/ghost/members-csv/package.json "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.0", "mocha": "9.2.2", "should": "13.2.3", "sinon": "13.0.1" }, "dependencies": { "bluebird": "^3.7.2", "fs-extra...
"files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.0", "mocha": "9.2.2", "should": "13.2.3", "sinon": "13.0.1" }, "dependencies": { "bluebird": "^3.7.2", "fs-extra": "^10.0.0", "lodash": "^4.17.21", "papapar...
<|file_sep|>original/ghost/members-csv/package.json "files": [ "index.js", "lib" ], "publishConfig": { "access": "public" }, "devDependencies": { "c8": "7.11.0", "mocha": "9.2.2", "should": "13.2.3", "sinon": "13.0.1" }, "dependencies": { "bluebird": "^3.7.2", "fs-extra...
e1d6fc4ed4899e263f1cc5ca1c7030cfbe40e888
ghost/members-csv/package.json
ghost/members-csv/package.json
JSON
<|file_sep|>original/_includes/case_studies/case_studies_header.html <!-- Careers: Header --> <header class="case-studies"> <div class="container"> <div class="intro-text"> <div class="intro-heading">A showcase of work <span>we are very proud of</span></div> <div class="intro-lead-in...
<!-- Careers: Header --> <header class="case-studies"> <div class="container"> <div class="intro-text"> <div class="intro-heading">A showcase of work <span>we are very proud of</span></div> <div class="intro-lead-in">One of the things we pride ourselves in is listening to our clients...
<|file_sep|>original/_includes/case_studies/case_studies_header.html <!-- Careers: Header --> <header class="case-studies"> <div class="container"> <div class="intro-text"> <div class="intro-heading">A showcase of work <span>we are very proud of</span></div> <div class="intro-lead-in...
d727dbd70fce6eeb8e0e041c124e7ddfbc3ee605
_includes/case_studies/case_studies_header.html
_includes/case_studies/case_studies_header.html
HTML
<|file_sep|>original/specs/ussuri/add_backup_id_to_volume.rst <|file_sep|>current/specs/ussuri/add_backup_id_to_volume.rst <|file_sep|>updated/specs/ussuri/add_backup_id_to_volume.rst
.. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode ================================== Add backup id to volume's metadata ================================== https://blueprints.launchpad.net/cinder/+spec/add-volume-backup-id Prob...
<|file_sep|>original/specs/ussuri/add_backup_id_to_volume.rst <|file_sep|>current/specs/ussuri/add_backup_id_to_volume.rst <|file_sep|>updated/specs/ussuri/add_backup_id_to_volume.rst .. This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/leg...
0275b38aa48f7583498dc0f1e6e9430e5fd87081
specs/ussuri/add_backup_id_to_volume.rst
specs/ussuri/add_backup_id_to_volume.rst
reStructuredText
<|file_sep|>original/README.md The Cryptodog repo is located [Here](https://github.com/Cryptodog/cryptodog-webclient). This is only maintained as a backup copy of Cryptocat. <|file_sep|>current/README.md The Cryptodog repo is located [Here](https://github.com/Cryptodog/cryptodog-webclient). This is only maintained as a...
The Cryptodog repo is located [here](https://github.com/Cryptodog/cryptodog). This is only maintained as a backup copy of Cryptocat.
<|file_sep|>original/README.md The Cryptodog repo is located [Here](https://github.com/Cryptodog/cryptodog-webclient). This is only maintained as a backup copy of Cryptocat. <|file_sep|>current/README.md The Cryptodog repo is located [Here](https://github.com/Cryptodog/cryptodog-webclient). This is only maintained as a...
ca0bb62158f457bfa57da22afbc090143c5aab8f
README.md
README.md
Markdown
<|file_sep|>original/spec/factories/users.rb FactoryGirl.define do factory :user do username "Bob" password "password" end end <|file_sep|>current/spec/factories/users.rb FactoryGirl.define do factory :user do username "Bob" password "password" end end <|file_sep|>updated/spec/factories/users.rb
FactoryGirl.define do factory :user do id 1 username "Bob" password "password" end end
<|file_sep|>original/spec/factories/users.rb FactoryGirl.define do factory :user do username "Bob" password "password" end end <|file_sep|>current/spec/factories/users.rb FactoryGirl.define do factory :user do username "Bob" password "password" end end <|file_sep|>updated/spec/factories/users.rb F...
34d8c85980168128f8e423fb5c0a9ddc7b31169f
spec/factories/users.rb
spec/factories/users.rb
Ruby
<|file_sep|>original/bin/build.sh # Where do we want to generate the site at? destination="/site/$target" if [ "${destination}" != "/site/" ]; then rm -rf "${destination}" && mkdir -p "${destination}" fi # Jet release notes and current version jet_source="/site/.jet" if [ -f "_data/jet.yml" ]; then sed -i'' -e "s|^...
# Jet release notes and current version jet_source="/site/.jet" if [ -f "_data/jet.yml" ]; then sed -i'' -e "s|^version:.*|version: $(cat ${jet_source}/version)|" "_data/jet.yml" fi if [ -f "_posts/docker/jet/2015-07-16-release-notes.md" ]; then cat "${jet_source}/release-notes" >> "_posts/docker/jet/2015-07-16-relea...
<|file_sep|>original/bin/build.sh # Where do we want to generate the site at? destination="/site/$target" if [ "${destination}" != "/site/" ]; then rm -rf "${destination}" && mkdir -p "${destination}" fi # Jet release notes and current version jet_source="/site/.jet" if [ -f "_data/jet.yml" ]; then sed -i'' -e "s|^...
d863cb3cd47e24bc72e735e3adc1e07fef1a6092
bin/build.sh
bin/build.sh
Shell
<|file_sep|>original/app/lib/api_entreprise/rna_adapter.rb class ApiEntreprise::RNAAdapter < ApiEntreprise::Adapter private def get_resource ApiEntreprise::API.rna(@siret, @procedure_id) end def process_params # Responses with a 206 codes are sometimes not useable, # as the RNA calls often return ...
class ApiEntreprise::RNAAdapter < ApiEntreprise::Adapter private def get_resource ApiEntreprise::API.rna(@siret, @procedure_id) end def process_params # Sometimes the associations endpoints responses with a 206, # and these response are often useable as the they only # contain an error message...
<|file_sep|>original/app/lib/api_entreprise/rna_adapter.rb class ApiEntreprise::RNAAdapter < ApiEntreprise::Adapter private def get_resource ApiEntreprise::API.rna(@siret, @procedure_id) end def process_params # Responses with a 206 codes are sometimes not useable, # as the RNA calls often return ...
7fe3b43eab08ba4dc9f37746e568b32e4ba903e5
app/lib/api_entreprise/rna_adapter.rb
app/lib/api_entreprise/rna_adapter.rb
Ruby
<|file_sep|>original/sass/_variable.scss $radio-size: 20px; $checkbox-size: 20px; $dot-size: 8px; $border-color: #c0c0c0; $main-color: #3e97eb; $disabled-color: lighten($border-color, 14%); $disabled-checked-color: lighten($main-color, 30%); <|file_sep|>current/sass/_variable.scss $radio-size: 20px; $checkbox-size: 20p...
$radio-size: 20px !default; $checkbox-size: 20px !default; $dot-size: 8px !default; $border-color: #c0c0c0 !default; $main-color: #3e97eb !default; $disabled-color: lighten($border-color, 14%) !default; $disabled-checked-color: lighten($main-color, 30%) !default;
<|file_sep|>original/sass/_variable.scss $radio-size: 20px; $checkbox-size: 20px; $dot-size: 8px; $border-color: #c0c0c0; $main-color: #3e97eb; $disabled-color: lighten($border-color, 14%); $disabled-checked-color: lighten($main-color, 30%); <|file_sep|>current/sass/_variable.scss $radio-size: 20px; $checkbox-size: 20p...
acbe0dc83e48399679961eaefb98b2aa378de4dd
sass/_variable.scss
sass/_variable.scss
SCSS
<|file_sep|>scripts/qt4to5.sh.diff original: QT_VERSION="5.2.1" updated: if [ $# -eq 0 ] then QT_VERSION="5.2.1" QT_PATH=${QT_VERSION}/${QT_VERSION} else QT_VERSION=$1 QT_PATH=${QT_VERSION}/${QT_VERSION:0:3} fi <|file_sep|>original/scripts/qt4to5.sh #!/bin/bash QT_VERSION="5.2.1" rm /usr/bin/qmake echo "Creating...
#!/bin/bash if [ $# -eq 0 ] then QT_VERSION="5.2.1" QT_PATH=${QT_VERSION}/${QT_VERSION} else QT_VERSION=$1 QT_PATH=${QT_VERSION}/${QT_VERSION:0:3} fi rm /usr/bin/qmake echo "Creating a new link to" ${QT_PATH} if ln -s ${HOME}/QT_PATH/clang_64/bin/qmake /usr/bin/qmake then echo Switched to Version qmake -v else ...
<|file_sep|>scripts/qt4to5.sh.diff original: QT_VERSION="5.2.1" updated: if [ $# -eq 0 ] then QT_VERSION="5.2.1" QT_PATH=${QT_VERSION}/${QT_VERSION} else QT_VERSION=$1 QT_PATH=${QT_VERSION}/${QT_VERSION:0:3} fi <|file_sep|>original/scripts/qt4to5.sh #!/bin/bash QT_VERSION="5.2.1" rm /usr/bin/qmake echo "Creating...
c4856bda56c367cc46d791b1de6462a6fb6c9a83
scripts/qt4to5.sh
scripts/qt4to5.sh
Shell
<|file_sep|>original/.codeclimate.yml --- engines: bundler-audit: enabled: true duplication: enabled: true config: languages: - ruby fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile.lock - "**.rb" exclude_paths: - spec/ - cassette.gemspec <|file_sep|>cu...
--- engines: bundler-audit: enabled: false duplication: enabled: true config: languages: - ruby fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile.lock - "**.rb" exclude_paths: - spec/ - cassette.gemspec
<|file_sep|>original/.codeclimate.yml --- engines: bundler-audit: enabled: true duplication: enabled: true config: languages: - ruby fixme: enabled: true rubocop: enabled: true ratings: paths: - Gemfile.lock - "**.rb" exclude_paths: - spec/ - cassette.gemspec <|file_sep|>cu...
7958cd6a5de275d33cd307d8ffab7f55e4a99aa2
.codeclimate.yml
.codeclimate.yml
YAML
<|file_sep|>original/src/main/java/edu/utexas/ece/jacobingalls/commands/WatchCommand.java public String getName() { return "watch"; } public List<String> getArgs() { return new ArrayList<>(); } public String getDescription() { return "Runs the game."; } } class WatchThread extends Thread{ public boolea...
public String getName() { return "watch"; } public List<String> getArgs() { return new ArrayList<>(); } public String getDescription() { return "Runs the game (Beta)."; } } class WatchThread extends Thread{ public boolean running = true; @Override public void run(){ while (running){
<|file_sep|>original/src/main/java/edu/utexas/ece/jacobingalls/commands/WatchCommand.java public String getName() { return "watch"; } public List<String> getArgs() { return new ArrayList<>(); } public String getDescription() { return "Runs the game."; } } class WatchThread extends Thread{ public boolea...
10a6c41ffb014134b750d9dfe7b2b497dd673724
src/main/java/edu/utexas/ece/jacobingalls/commands/WatchCommand.java
src/main/java/edu/utexas/ece/jacobingalls/commands/WatchCommand.java
Java
<|file_sep|>original/Program.cs new Row(stats), new Row(status) }; var table = new Table( Math.Min(81, Console.WindowWidth), 2, rows ); var tableOutput = table.Draw(); Console.WriteLine(tableOutput); char key = Console...
new Row(stats), new Row(status) }; var table = new Table( Math.Min(81, Console.WindowWidth), 2, rows ); var tableOutput = table.Draw(); Console.WriteLine(tableOutput); char key = Console.ReadKey(true).KeyChar; ...
<|file_sep|>original/Program.cs new Row(stats), new Row(status) }; var table = new Table( Math.Min(81, Console.WindowWidth), 2, rows ); var tableOutput = table.Draw(); Console.WriteLine(tableOutput); char key = Console...
d967fe7b5a450a8bd96b3073155ba97000965faa
Program.cs
Program.cs
C#
<|file_sep|>CHANGES.md.diff original: ## v0.7.0 updated: ## 0.7.0 <|file_sep|>CHANGES.md.diff original: ## v0.6.2 updated: ## 0.6.2 <|file_sep|>CHANGES.md.diff original: ## v0.6.1 updated: ## 0.6.1 <|file_sep|>CHANGES.md.diff original: ## v0.6.0 updated: ## 0.6.0 <|file_sep|>original/CHANGES.md ## v0.6.0 - Drafts: Ne...
## 0.6.0 - Drafts: New files have timetamps set to 'DRAFT' initially. Once blogdown is invoked with `--publish` the actual timestamps are set. - A global `publish` flag is made available in all pages - Only writing the meta file when called with `--publish` - Always generate all the output files and compare them wi...
<|file_sep|>CHANGES.md.diff original: ## v0.7.0 updated: ## 0.7.0 <|file_sep|>CHANGES.md.diff original: ## v0.6.2 updated: ## 0.6.2 <|file_sep|>CHANGES.md.diff original: ## v0.6.1 updated: ## 0.6.1 <|file_sep|>CHANGES.md.diff original: ## v0.6.0 updated: ## 0.6.0 <|file_sep|>original/CHANGES.md ## v0.6.0 - Drafts: Ne...
6c7479ad26e26fe8189835f4816ff858fa16e771
CHANGES.md
CHANGES.md
Markdown
<|file_sep|>original/topics/topic-examples.php <|file_sep|>current/topics/topic-examples.php <|file_sep|>updated/topics/topic-examples.php
<?php assert_options(ASSERT_WARNING, 0); assert_options(ASSERT_CALLBACK, 'assertCallback'); return within('lambdalicious', describe('example', it('serves as a test', function() { $dir = __DIR__ . '/../examples/'; $files = array_diff(scandir($dir), ['..', '.', '_']); re...
<|file_sep|>original/topics/topic-examples.php <|file_sep|>current/topics/topic-examples.php <|file_sep|>updated/topics/topic-examples.php <?php assert_options(ASSERT_WARNING, 0); assert_options(ASSERT_CALLBACK, 'assertCallback'); return within('lambdalicious', describe('example', it('serves as a test',...
a3b9947e86ea15f2022474ea7dd29a3b715b7a92
topics/topic-examples.php
topics/topic-examples.php
PHP
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md
Type: (bugfix / feature / refactoring / documentation update) Issue: #.. the corresponding issue for this PR (if exist) Breaking change: yes/no (if yes explain why) <!-- Explain what the PR does and also why. If you have parts you are not sure about, please explain. Please check this points before submitting your ...
<|file_sep|>original/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>current/.github/PULL_REQUEST_TEMPLATE.md <|file_sep|>updated/.github/PULL_REQUEST_TEMPLATE.md Type: (bugfix / feature / refactoring / documentation update) Issue: #.. the corresponding issue for this PR (if exist) Breaking change: yes/no (if yes expl...
a17482a8519cccdb5dade16abeb75215c5b3fb5d
.github/PULL_REQUEST_TEMPLATE.md
.github/PULL_REQUEST_TEMPLATE.md
Markdown
<|file_sep|>original/requirements-dev.txt aiomysql==0.0.9 aiopg==0.11.0 coverage==4.2 docker-compose==1.8.1 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 motor==0.6.2 pytest==3.0.3 pytest-cov==2.3.1 pytest-sugar==0.7.1 python-dateutil==2.5.3 sqlalchemy==1.0.15 <|file_sep|>current/requirements-dev.txt aiomysql==0.0.9 aio...
aiomysql==0.0.9 aiopg==0.11.0 coverage==4.2 docker-compose==1.8.1 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 motor==0.6.2 pytest==3.0.3 pytest-cov==2.3.1 pytest-sugar==0.7.1 python-dateutil==2.5.3 sqlalchemy==1.1.0
<|file_sep|>original/requirements-dev.txt aiomysql==0.0.9 aiopg==0.11.0 coverage==4.2 docker-compose==1.8.1 docker-py==1.10.3 flake8==3.0.4 ipdb==0.10.1 motor==0.6.2 pytest==3.0.3 pytest-cov==2.3.1 pytest-sugar==0.7.1 python-dateutil==2.5.3 sqlalchemy==1.0.15 <|file_sep|>current/requirements-dev.txt aiomysql==0.0.9 aio...
da3546955477e45eecaf6f864f6844757976459f
requirements-dev.txt
requirements-dev.txt
Text
<|file_sep|>Program.cs.diff original: updated: Console.WriteLine(question); <|file_sep|>Program.cs.diff original: query.AnswerRecords.AddRange(DNS.Resolve(question.Name)); break; updated: case RecordType.Mx: query.AnswerRecords.AddRan...
case RecordType.Ptr: { if (question.Name == "1.0.0.127.in-addr.arpa") { query.AnswerRecords.Add(new PtrRecord("127.0.0.1", 172800 /*2 days*/, "localhost")); } ...
<|file_sep|>Program.cs.diff original: updated: Console.WriteLine(question); <|file_sep|>Program.cs.diff original: query.AnswerRecords.AddRange(DNS.Resolve(question.Name)); break; updated: case RecordType.Mx: query.AnswerRecords.AddRan...
a0cdd62579f89432e3e36e55b8e9b3aa19399044
Program.cs
Program.cs
C#
<|file_sep|>original/requirements.txt requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.4 six>=1.10.0 <|file_sep|>current/requirements.txt requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.4 six>=1.10.0 <|file_sep|>updated/requirements.txt
requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.7 six>=1.10.0
<|file_sep|>original/requirements.txt requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.4 six>=1.10.0 <|file_sep|>current/requirements.txt requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.4 six>=1.10.0 <|file_sep|>updated/requirements.txt requests>=2.0 protobuf>=3.0.0 zeroconf>=0.17.7 six>=1.10.0
97ae11bc1a0e28978e062ae8d8b4921afb7044c5
requirements.txt
requirements.txt
Text
<|file_sep|>original/index.js const request = require('request'); const fs = require('fs'); const thenify = require('thenify').withCallback; const download = (url, file, callback) => { const stream = fs.createWriteStream(file); stream.on('finish', () => { callback(null, file); }); stream.on('error', error ...
const request = require('request'); const fs = require('fs'); const thenify = require('thenify').withCallback; const download = (url, file, callback) => { const stream = fs.createWriteStream(file); stream.on('finish', () => { callback(null, file); }); stream.on('error', error => { callback(error); })...
<|file_sep|>original/index.js const request = require('request'); const fs = require('fs'); const thenify = require('thenify').withCallback; const download = (url, file, callback) => { const stream = fs.createWriteStream(file); stream.on('finish', () => { callback(null, file); }); stream.on('error', error ...
69a4e2ba1022b3215255d13b15d5b35063f46386
index.js
index.js
JavaScript
<|file_sep|>original/src/window/sdl/Cargo.toml # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "gfx_window_sdl" version = "0.4.0" description = "SDL2 window for gfx-rs" hom...
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "gfx_window_sdl" version = "0.4.0" description = "SDL2 window for gfx-rs" homepage = "https://github.com/gfx-rs/gfx" reposit...
<|file_sep|>original/src/window/sdl/Cargo.toml # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "gfx_window_sdl" version = "0.4.0" description = "SDL2 window for gfx-rs" hom...
6ea23a48f640f5b8d8fff2e9a6d174b164f31986
src/window/sdl/Cargo.toml
src/window/sdl/Cargo.toml
TOML
<|file_sep|>client/src/js/modules/types/sm/dc/datacollections.js.diff original: updated: 'modules/dc/views/load', <|file_sep|>client/src/js/modules/types/sm/dc/datacollections.js.diff original: DCItemView) { updated: DCItemView, RobotLoad) { <|file_sep|>client/src/js/modules/types/sm/dc/datacollections...
DCList, DCItemView, RobotLoad) { var SmDCList = DCList.extend({ apStatus: true, dcViews: { data: DCItemView, load: RobotLoad, } }) return DataCollections.extend({ dcListView: SmDCList, // Filters refers to the pills that show data...
<|file_sep|>client/src/js/modules/types/sm/dc/datacollections.js.diff original: updated: 'modules/dc/views/load', <|file_sep|>client/src/js/modules/types/sm/dc/datacollections.js.diff original: DCItemView) { updated: DCItemView, RobotLoad) { <|file_sep|>client/src/js/modules/types/sm/dc/datacollections...
b27f6c6b3b340c40925d3b6b2ffed11c95d4c431
client/src/js/modules/types/sm/dc/datacollections.js
client/src/js/modules/types/sm/dc/datacollections.js
JavaScript
<|file_sep|>original/src/Response.php { $this->rawResponse = $response; $this->response = json_decode(json_encode($this->rawResponse->json())); } public function statusCode() { return $this->rawResponse->getStatusCode(); } public function isOkay() { $isOkay ...
$this->rawResponse = $response; $this->response = json_decode(json_encode($this->rawResponse->json())); } public function statusCode() { return $this->rawResponse->getStatusCode(); } public function isOkay() { $isOkay = $this->response->ok; if (!$isOkay)...
<|file_sep|>original/src/Response.php { $this->rawResponse = $response; $this->response = json_decode(json_encode($this->rawResponse->json())); } public function statusCode() { return $this->rawResponse->getStatusCode(); } public function isOkay() { $isOkay ...
a2277418aa849b31fbaa3e6a3c679b6d69050634
src/Response.php
src/Response.php
PHP
<|file_sep|>original/fake_useragent/fake.py f.close() def __getattr__(self, attr): attr = attr.replace(' ', '').replace('_', '').lower() if attr == 'random': attr = self.data['randomize'][ str(random.randint(0, self.data['max_random'] - 1)) ] ...
attr = attr.replace(' ', '').replace('_', '').lower() if attr == 'random': attr = self.data['randomize'][ str(random.randint(0, self.data['max_random'] - 1)) ] elif attr == 'ie': attr = 'internetexplorer' elif attr == 'msie': ...
<|file_sep|>original/fake_useragent/fake.py f.close() def __getattr__(self, attr): attr = attr.replace(' ', '').replace('_', '').lower() if attr == 'random': attr = self.data['randomize'][ str(random.randint(0, self.data['max_random'] - 1)) ] ...
0e5b2af3fe04bd12b95b15215db0416b79c25df6
fake_useragent/fake.py
fake_useragent/fake.py
Python
<|file_sep|>metadata.rb.diff original: description 'Installs/Configures distribution artifact as a service.' updated: description 'Installs/Configures Play distribution artifact as a service.' <|file_sep|>original/metadata.rb name 'play' maintainer 'Dennis Hoer' maintainer_email 'dennis.hoer@gmail.com' license 'MIT' de...
name 'play' maintainer 'Dennis Hoer' maintainer_email 'dennis.hoer@gmail.com' license 'MIT' description 'Installs/Configures Play distribution artifact as a service.' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '1.0.0' supports 'centos' supports 'redhat' supports 'ubuntu' depends ...
<|file_sep|>metadata.rb.diff original: description 'Installs/Configures distribution artifact as a service.' updated: description 'Installs/Configures Play distribution artifact as a service.' <|file_sep|>original/metadata.rb name 'play' maintainer 'Dennis Hoer' maintainer_email 'dennis.hoer@gmail.com' license 'MIT' de...
99a9be817eed2b6ff621834b5cb3c2e2a58509f7
metadata.rb
metadata.rb
Ruby
<|file_sep|>.github/workflows/tests.yml.diff original: qt_version: 5.9 updated: qt_version: 5.9.9 <|file_sep|>original/.github/workflows/tests.yml matrix: os: [ubuntu-latest, macos-latest] config: [minimal, full, full-debug] qt_version: ['5.15.2'] include: ...
matrix: os: [ubuntu-latest, macos-latest] config: [minimal, full, full-debug] qt_version: ['5.15.2'] include: - os: ubuntu-latest config: full qt_version: 5.9.9 - os: macos-latest config: full qt_version: 5.9.9 ...
<|file_sep|>.github/workflows/tests.yml.diff original: qt_version: 5.9 updated: qt_version: 5.9.9 <|file_sep|>original/.github/workflows/tests.yml matrix: os: [ubuntu-latest, macos-latest] config: [minimal, full, full-debug] qt_version: ['5.15.2'] include: ...
fb56a2e9a3a27770bfd191695b4c5810a3f0bc3f
.github/workflows/tests.yml
.github/workflows/tests.yml
YAML
<|file_sep|>original/boost/build.sh #!/bin/bash # boost expects to find python headers in $PREFIX/include/pythonX.Y # but on python3, they're often in $PREFIX/include/pythonX.Ym # so we make a soft link if the "m" include directory exists # and the other doesn't. # (This only effects the miniconda _build env, so it d...
# so we make a soft link if the "m" include directory exists # and the other doesn't. # (This only effects the miniconda _build env, so it doesn't mess # with any user's actual environment) PY_INCLUDE="${INCLUDE_PATH}/python${PY_VER}" if [[ ( ! -d "${PY_INCLUDE}" ) && ( -d "${PY_INCLUDE}m" ) ]]; then ln -s "${PY_I...
<|file_sep|>original/boost/build.sh #!/bin/bash # boost expects to find python headers in $PREFIX/include/pythonX.Y # but on python3, they're often in $PREFIX/include/pythonX.Ym # so we make a soft link if the "m" include directory exists # and the other doesn't. # (This only effects the miniconda _build env, so it d...
2b37303c2526ba10abb7907ae5c7cc3adf2ac9bb
boost/build.sh
boost/build.sh
Shell
<|file_sep|>original/config/passport-jwt-config.js 'use strict'; const Passport = require('passport'); const JwtStrategy = require('passport-jwt').Strategy; const ExtractJwt = require('passport-jwt').ExtractJwt; const SecurityConfig = require('./security-config'); const User = require('../models/user'); const CustomEr...
'use strict'; const Passport = require('passport'); const JwtStrategy = require('passport-jwt').Strategy; const ExtractJwt = require('passport-jwt').ExtractJwt; const SecurityConfig = require('./security-config'); const User = require('../models/user'); module.exports = function() { const opts = {}; opts.jwtF...
<|file_sep|>original/config/passport-jwt-config.js 'use strict'; const Passport = require('passport'); const JwtStrategy = require('passport-jwt').Strategy; const ExtractJwt = require('passport-jwt').ExtractJwt; const SecurityConfig = require('./security-config'); const User = require('../models/user'); const CustomEr...
0d815d9386dce4406bff727fe8f9b82f247485aa
config/passport-jwt-config.js
config/passport-jwt-config.js
JavaScript