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|>pkgs/applications/networking/browsers/chromium/sources.nix.diff
original:
version = "27.0.1453.12";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-27.0.1453.12.tar.xz";
sha256 = "1b2vkcynljl799m41aabdsj9k2plchiga6bi4ah3hc0mwyj0lyl7";
updated:
version = "27.... | # This file is autogenerated from update.sh in the same directory.
{
dev = {
version = "27.0.1453.47";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-27.0.1453.47.tar.xz";
sha256 = "0dyyxdn75a6b35a7wv9xqzcnskbcxj19bmfd7cq9ya5jdhcvy9j9";
};
beta = {
version = "27.... | <|file_sep|>pkgs/applications/networking/browsers/chromium/sources.nix.diff
original:
version = "27.0.1453.12";
url = "http://commondatastorage.googleapis.com/chromium-browser-official/chromium-27.0.1453.12.tar.xz";
sha256 = "1b2vkcynljl799m41aabdsj9k2plchiga6bi4ah3hc0mwyj0lyl7";
updated:
version = "27.... | a3fce096afcada408425f2798ebe1dfa13ac80e7 | pkgs/applications/networking/browsers/chromium/sources.nix | pkgs/applications/networking/browsers/chromium/sources.nix | Nix |
<|file_sep|>HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt.diff
original:
updated:
import ch.rmy.android.http_shortcuts.utils.UserAgentUtil
<|file_sep|>original/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt... |
with(settings) {
setAppCacheEnabled(false)
cacheMode = WebSettings.LOAD_NO_CACHE
javaScriptEnabled = false
saveFormData = false
allowContentAccess = false
allowFileAccess = false
allowFileAccessFromFileURLs = false
... | <|file_sep|>HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt.diff
original:
updated:
import ch.rmy.android.http_shortcuts.utils.UserAgentUtil
<|file_sep|>original/HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt... | 5184e2b97f6d948a7ca56225b202cb51e9e81a89 | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt | HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt | Kotlin |
<|file_sep|>original/res/fshader.glsl
#version 330
in vec3 f_color;
in vec4 f_normal;
in vec2 f_uv;
layout(location = 0) out vec4 diffuse;
layout(location = 1) out vec4 normal;
void main(){
diffuse = vec4(f_color, 1.f);
//Scale the normal values from [-1,1] range to [0,1] range
normal = ((f_normal - vec4(-1.f, -1... | #version 330
in vec3 f_color;
in vec4 f_normal;
in vec2 f_uv;
layout(location = 0) out vec4 diffuse;
layout(location = 1) out vec4 normal;
void main(){
diffuse = vec4(f_color, 1.f);
//Scale the normal values from [-1,1] range to [0,1] range
normal = ((f_normal - vec4(-1.f, -1.f, -1.f, 0.f) / 2.f));
normal.w = 1.... | <|file_sep|>original/res/fshader.glsl
#version 330
in vec3 f_color;
in vec4 f_normal;
in vec2 f_uv;
layout(location = 0) out vec4 diffuse;
layout(location = 1) out vec4 normal;
void main(){
diffuse = vec4(f_color, 1.f);
//Scale the normal values from [-1,1] range to [0,1] range
normal = ((f_normal - vec4(-1.f, -1... | b51b390860d0607b89e884cc56c5612aee4126de | res/fshader.glsl | res/fshader.glsl | GLSL |
<|file_sep|>original/circle.yml
machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/junit/test-results.xml --reporter junit
<|file_sep|>current/circle.yml
machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $C... | machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/lab/junit.xml --reporter junit | <|file_sep|>original/circle.yml
machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/lab
- npm run test -- --output $CIRCLE_TEST_REPORTS/junit/test-results.xml --reporter junit
<|file_sep|>current/circle.yml
machine:
node:
version: 8.1.0
test:
override:
- mkdir -p $C... | c35851a75fb218b6e65096f0fe5806cba55081e2 | circle.yml | circle.yml | YAML |
<|file_sep|>original/stoneridge_uploader.py
class StoneRidgeUploader(object):
"""Takes the upload files created by the collator and uploads them to the
graph server
"""
def __init__(self):
self.url = stoneridge.get_config('upload', 'url')
def run(self):
file_pattern = os.path.join(s... | class StoneRidgeUploader(object):
"""Takes the upload files created by the collator and uploads them to the
graph server
"""
def __init__(self):
self.url = stoneridge.get_config('upload', 'url')
def run(self):
file_pattern = os.path.join(stoneridge.outdir, 'upload_*.json')
u... | <|file_sep|>original/stoneridge_uploader.py
class StoneRidgeUploader(object):
"""Takes the upload files created by the collator and uploads them to the
graph server
"""
def __init__(self):
self.url = stoneridge.get_config('upload', 'url')
def run(self):
file_pattern = os.path.join(s... | f9a0b8395adcf70c23c975a06e7667d673f74ac5 | stoneridge_uploader.py | stoneridge_uploader.py | Python |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.0"
- "5.6"
- "4.3"
- "0.12"
install: npm link
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6.0"
- "5.6"
- "4.3"
- "0.12"
install: npm link
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "7.4"
- "4.7"
install: npm link | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "6.0"
- "5.6"
- "4.3"
- "0.12"
install: npm link
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "6.0"
- "5.6"
- "4.3"
- "0.12"
install: npm link
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "7.4"
- "4.7"... | 9a1378db6aedf14df7094cbe2c256319d7ec2fd4 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/src/Politix/PolitikportalBundle/Resources/views/Default/topics.html.twig
{% for item in topic.items %}
{% include "PolitikportalBundle:Default:item.html.twig" with { 'item' : item } only %}
{% else %}
<div class="alert">No topics</div>
{% endfor %... | {% for item in topic.items %}
{% include "PolitikportalBundle:Default:item.html.twig" with { 'item' : item } only %}
{% else %}
<div class="alert">No topics</div>
{% endfor %}
</div>
{% endfor %}
{% endblock %}
{% block sidebar %}
Version: {{ heading }} | <|file_sep|>original/src/Politix/PolitikportalBundle/Resources/views/Default/topics.html.twig
{% for item in topic.items %}
{% include "PolitikportalBundle:Default:item.html.twig" with { 'item' : item } only %}
{% else %}
<div class="alert">No topics</div>
{% endfor %... | 11216134793bf1116796a7b249377de4552f60c2 | src/Politix/PolitikportalBundle/Resources/views/Default/topics.html.twig | src/Politix/PolitikportalBundle/Resources/views/Default/topics.html.twig | Twig |
<|file_sep|>original/setup.py
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='AT... | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='django-partner-feeds',
version=__import__('partner_feeds').__version__,
author_email='ATMOprogrammers@theatlant... | <|file_sep|>original/setup.py
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='Partner Feeds',
version=__import__('partner_feeds').__version__,
author_email='AT... | 9bbe3dfa75f5fa91f526ebccdacf4b8e5220e42b | setup.py | setup.py | Python |
<|file_sep|>original/python/CMakeLists.txt
find_program(PYTHON "${PYTHON_VERSION}")
set(SETUP_PY ${CMAKE_SOURCE_DIR}/python/setup.py)
set(CONVERT_SCRIPT ${CMAKE_SOURCE_DIR}/python/utils/convert_manifest.py)
set(DEPS ${CMAKE_SOURCE_DIR}/python/librpc.pyx ${CMAKE_SOURCE_DIR}/python/librpc.pxd)
set(OUTPUT ${CMAKE_CURRENT... | find_program(PYTHON "${PYTHON_VERSION}")
set(SETUP_PY ${CMAKE_SOURCE_DIR}/python/setup.py)
set(CONVERT_SCRIPT ${CMAKE_SOURCE_DIR}/python/utils/convert_manifest.py)
set(DEPS ${CMAKE_SOURCE_DIR}/python/librpc.pyx ${CMAKE_SOURCE_DIR}/python/librpc.pxd)
set(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/timestamp)
add_custom_command... | <|file_sep|>original/python/CMakeLists.txt
find_program(PYTHON "${PYTHON_VERSION}")
set(SETUP_PY ${CMAKE_SOURCE_DIR}/python/setup.py)
set(CONVERT_SCRIPT ${CMAKE_SOURCE_DIR}/python/utils/convert_manifest.py)
set(DEPS ${CMAKE_SOURCE_DIR}/python/librpc.pyx ${CMAKE_SOURCE_DIR}/python/librpc.pxd)
set(OUTPUT ${CMAKE_CURRENT... | 65a2074f900dc8b837d9569be038a86a1a6159fe | python/CMakeLists.txt | python/CMakeLists.txt | Text |
<|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.0
python-vagrant==0.5.15
testinfra==1.10.0
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.0
python-vagrant==0.5.15
testinfra==1.10.0
tox==2.9.1
<|file_sep|>updated/requirements.txt | docker==2.7.0
molecule==1.25.0
pytest==3.3.0
python-vagrant==0.5.15
testinfra==1.10.0
tox==2.9.1 | <|file_sep|>original/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.0
python-vagrant==0.5.15
testinfra==1.10.0
tox==2.9.1
<|file_sep|>current/requirements.txt
docker==2.6.1
molecule==1.25.0
pytest==3.3.0
python-vagrant==0.5.15
testinfra==1.10.0
tox==2.9.1
<|file_sep|>updated/requirements.txt
docker==2.7.0
... | 4854bd4c66f09360ed59afbf3a161ec324906bdb | requirements.txt | requirements.txt | Text |
<|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.9.0
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
r... | language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.14.0
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
| <|file_sep|>original/.travis.yml
language: ruby
sudo: false
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
- jruby-9.1.9.0
- jruby-head
before_install:
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
<|file_sep|>current/.travis.yml
language: ruby
sudo: false
r... | aee4108c0010bff14bd7f47235ba8bac3ace51c9 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/releasenotes/notes/remove-fax-fail-5038b4b6eb4951b3.yaml
---
other:
- The `max_fail_percentage` playbook option has been used with the default
playbooks since the first release of the playbooks back in **Icehouse**.
While the intention was to allow large-scale deployments to succeed in
... | ---
other:
- The `max_fail_percentage` playbook option has been used with the default
playbooks since the first release of the playbooks back in **Icehouse**.
While the intention was to allow large-scale deployments to succeed in
cases where a single node fails due to transient issues, this option has
... | <|file_sep|>original/releasenotes/notes/remove-fax-fail-5038b4b6eb4951b3.yaml
---
other:
- The `max_fail_percentage` playbook option has been used with the default
playbooks since the first release of the playbooks back in **Icehouse**.
While the intention was to allow large-scale deployments to succeed in
... | 058eaab25fcaf7301a0dced95e3ac0781fd33489 | releasenotes/notes/remove-fax-fail-5038b4b6eb4951b3.yaml | releasenotes/notes/remove-fax-fail-5038b4b6eb4951b3.yaml | YAML |
<|file_sep|>stdin/stdin.go.diff
original:
// Named pipes on unix/linux indicate a readable stdin, but might not have size yet
if fi.Mode()&os.ModeNamedPipe != 0 {
return true
updated:
// Character devices in Linux/Unix are unbuffered devices that have
// direct access to underlying hardware and don't allow readin... | "os"
)
// This is a tricky problem and we have gone through several iterations before
// settling on something that works well for recent golang across windows,
// linux and macos.
func IsReadable() bool {
fi, err := os.Stdin.Stat()
if err != nil {
return false
}
// Character devices in Linux/Unix are unbuffe... | <|file_sep|>stdin/stdin.go.diff
original:
// Named pipes on unix/linux indicate a readable stdin, but might not have size yet
if fi.Mode()&os.ModeNamedPipe != 0 {
return true
updated:
// Character devices in Linux/Unix are unbuffered devices that have
// direct access to underlying hardware and don't allow readin... | af173743ca07a1d343abe50384378f9155b6a273 | stdin/stdin.go | stdin/stdin.go | Go |
<|file_sep|>original/README.md
# Wordpress Remove Post Attachment
Adds a "detach from post" link on attachments so you can remove it from the post without deleting the file.

## Installation
[Download the plugin](https://github.com/romainberger/wordpress-remove-post-attachment/archive/m... | # Wordpress Remove Post Attachment
Adds a "detach from post" link on attachments so you can remove it from the post without deleting the file.

## Installation
[Download the plugin](https://github.com/romainberger/wordpress-remove-post-attachment/archive/master.zip), rename the archive ... | <|file_sep|>original/README.md
# Wordpress Remove Post Attachment
Adds a "detach from post" link on attachments so you can remove it from the post without deleting the file.

## Installation
[Download the plugin](https://github.com/romainberger/wordpress-remove-post-attachment/archive/m... | a30f4269294bb7fa53e8229dc41ca47ec6080850 | README.md | README.md | Markdown |
<|file_sep|>original/library/src/main/res/values/appupdater_strings.xml
<|file_sep|>current/library/src/main/res/values/appupdater_strings.xml
<|file_sep|>updated/library/src/main/res/values/appupdater_strings.xml | <?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="define_appupdater"></string>
<string name="library_appupdater_author">Javier Santos</string>
<string name="library_appupdater_authorWebsite">https://github.com/javiersantos</string>
<string name="library_appupdater_libraryName">AppUpdater<... | <|file_sep|>original/library/src/main/res/values/appupdater_strings.xml
<|file_sep|>current/library/src/main/res/values/appupdater_strings.xml
<|file_sep|>updated/library/src/main/res/values/appupdater_strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="define_appupdater"></string>
<s... | a3e443cc2a5be059b6d7f989a22e7ce77beb23ea | library/src/main/res/values/appupdater_strings.xml | library/src/main/res/values/appupdater_strings.xml | XML |
<|file_sep|>original/cjdata/views.py
slug_url_kwarg = 'uuid'
def get_context_data(self, **kwargs):
context = super(DatasetDetailView, self).get_context_data(**kwargs)
context['more_like_this'] = sqs.more_like_this(self.object)[:100]
return context
class CategoryDatasetsView(ListView):... | slug_url_kwarg = 'uuid'
def get_context_data(self, **kwargs):
context = super(DatasetDetailView, self).get_context_data(**kwargs)
context['more_like_this'] = sqs.more_like_this(self.object)[:100]
return context
class CategoryDatasetsView(ListView):
model = Dataset
paginate_by ... | <|file_sep|>original/cjdata/views.py
slug_url_kwarg = 'uuid'
def get_context_data(self, **kwargs):
context = super(DatasetDetailView, self).get_context_data(**kwargs)
context['more_like_this'] = sqs.more_like_this(self.object)[:100]
return context
class CategoryDatasetsView(ListView):... | 380a86134a62265eb944d717cad002bbc4197be4 | cjdata/views.py | cjdata/views.py | Python |
<|file_sep|>original/_layouts/default.html
</head>
<body>
<div id='container'>
<div id="header">
<div class="navigation">
<a href="{{site.baseurl}}" class="title">Prose Bootstrap</a>
</div>
</div>
<div id='main'>{{content}}</div>
</div>
<div id='footer'>
<div class="footer-c... | <link rel='stylesheet' href='{{site.baseurl}}/app.css'>
</head>
<body>
<div id='container'>
<div id="header">
<div class="navigation">
<a href="{{site.baseurl}}" class="title">Prose Bootstrap</a>
</div>
</div>
<div id='main'>{{content}}</div>
</div>
<div id='footer'>
<div ... | <|file_sep|>original/_layouts/default.html
</head>
<body>
<div id='container'>
<div id="header">
<div class="navigation">
<a href="{{site.baseurl}}" class="title">Prose Bootstrap</a>
</div>
</div>
<div id='main'>{{content}}</div>
</div>
<div id='footer'>
<div class="footer-c... | c94811df380c2da85e3197b118b8cdc2e41670c2 | _layouts/default.html | _layouts/default.html | HTML |
<|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
<|file_sep|>updated/.travis.yml | language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11" | <|file_sep|>original/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
<|file_sep|>current/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
<|file_sep|>updated/.travis.yml
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.11" | 49e780feb7e900d69085b8e0b05b90445ceaba95 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/source/Signatory/Settings.cs
using System.Configuration;
namespace Signatory
{
public static class Settings
{
public static string Authority = ConfigurationManager.AppSettings["Authority"];
public static string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"];
... | using System.Configuration;
namespace Signatory
{
public static class Settings
{
public static readonly string Authority = ConfigurationManager.AppSettings["Authority"];
public static readonly string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"];
public static readonly stri... | <|file_sep|>original/source/Signatory/Settings.cs
using System.Configuration;
namespace Signatory
{
public static class Settings
{
public static string Authority = ConfigurationManager.AppSettings["Authority"];
public static string GitHubKey = ConfigurationManager.AppSettings["GitHubKey"];
... | 99634a60113eb8128959c48bcd03ba5e7b8dbe91 | source/Signatory/Settings.cs | source/Signatory/Settings.cs | C# |
<|file_sep|>c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java.diff
original:
updated:
import gov.samhsa.c2s.c2suiapi.service.exception.TryPolicyException;
<|file_sep|>original/c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java
package gov.samhsa.c2s.c2su... |
@Service
public class TryPolicyServiceImpl implements TryPolicyService {
private final TryPolicyClient tryPolicyClient;
public TryPolicyServiceImpl(TryPolicyClient tryPolicyClient) {
this.tryPolicyClient = tryPolicyClient;
}
@Override
public Object getSegmentDocXHTML(String documentId, St... | <|file_sep|>c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java.diff
original:
updated:
import gov.samhsa.c2s.c2suiapi.service.exception.TryPolicyException;
<|file_sep|>original/c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java
package gov.samhsa.c2s.c2su... | b648e1b9540710cb0c0199f96402438eeb720e6e | c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java | c2s-ui-api/src/main/java/gov/samhsa/c2s/c2suiapi/service/TryPolicyServiceImpl.java | Java |
<|file_sep|>lib/puppet-lint/plugins/check_documentation.rb.diff
original:
updated:
def whitespace_tokens
@whitespace_tokens ||= {
:WHITESPACE => true,
:NEWLINE => true,
:INDENT => true,
}
end
def comment_tokens
@comment_tokens ||= {
:COMMENT => true,
:MLCOMMENT => true,... | }
end
check 'documentation' do
(class_indexes + defined_type_indexes).each do |item_idx|
prev_token = tokens[item_idx[:start] - 1]
while whitespace_tokens.include? prev_token.type
prev_token = prev_token.prev_token
end
unless comment_tokens.include? prev_token.type
... | <|file_sep|>lib/puppet-lint/plugins/check_documentation.rb.diff
original:
updated:
def whitespace_tokens
@whitespace_tokens ||= {
:WHITESPACE => true,
:NEWLINE => true,
:INDENT => true,
}
end
def comment_tokens
@comment_tokens ||= {
:COMMENT => true,
:MLCOMMENT => true,... | 1fa88ff7d1c5308188dc5ca4d79149eed05ee49b | lib/puppet-lint/plugins/check_documentation.rb | lib/puppet-lint/plugins/check_documentation.rb | Ruby |
<|file_sep|>original/lib/linters/id_selector.js
return null;
}
excludes = config.idSelector.exclude.map(function (id) {
// Remove #
return id.replace(/^\#/, '');
});
node.forEach('simpleSelector', function (selector) {
selector.content.some(function (selector) {
... | return null;
}
excludes = config.idSelector.exclude.map(function (id) {
// Remove #
return id.replace(/^\#/, '');
});
node.forEach('simpleSelector', function (selector) {
selector.content.some(function (selector) {
var name = selector.first('ident').content;... | <|file_sep|>original/lib/linters/id_selector.js
return null;
}
excludes = config.idSelector.exclude.map(function (id) {
// Remove #
return id.replace(/^\#/, '');
});
node.forEach('simpleSelector', function (selector) {
selector.content.some(function (selector) {
... | 8b50ffaf804b315962aa8153496a8234484c10e6 | lib/linters/id_selector.js | lib/linters/id_selector.js | JavaScript |
<|file_sep|>original/config-example.ini
# rename this to config.ini
[Chatbot]
server: ws://sim.smogon.com:8000/showdown/websocket
username: putyourusernamehere
password: putyourpasswordhere
rooms: room1,room2
master: me
triggers: statcalc
[External]
#redis_uname: username
#redis_pass: 52703b7dac754ba2b5f32e15e739443c... | # rename this to config.ini
[Chatbot]
server: ws://your.ps.server:8000/showdown/websocket
username: putyourusernamehere
password: putyourpasswordhere
rooms: room1,room2
master: me
triggers: statcalc
[External]
#redis_uname: username
#redis_pass: 52703b7dac754ba2b5f32e15e739443c
#redis_server: this.is.a.server:6378
#... | <|file_sep|>original/config-example.ini
# rename this to config.ini
[Chatbot]
server: ws://sim.smogon.com:8000/showdown/websocket
username: putyourusernamehere
password: putyourpasswordhere
rooms: room1,room2
master: me
triggers: statcalc
[External]
#redis_uname: username
#redis_pass: 52703b7dac754ba2b5f32e15e739443c... | 28097b03f570cf9b24bd2fddd9537ae07125921b | config-example.ini | config-example.ini | INI |
<|file_sep|>original/README.md
iql
=======
Web interface for making IQL queries against an Imhotep cluster.
## Documentation
See the [overview](http://indeedeng.github.io/imhotep/docs/overview/) to learn about IQL syntax.
## Discussion
Ask and answer questions in our Q&A forum for Imhotep: [indeedeng-imhotep-users](... | iql
=======
Web interface for making IQL queries against an Imhotep cluster.
## Documentation
See the [overview](http://indeedeng.github.io/imhotep/docs/overview/) to learn about IQL syntax.
## Continuous Build
https://travis-ci.org/indeedeng/iql
## Discussion
Ask and answer questions in our Q&A forum for Imhotep: ... | <|file_sep|>original/README.md
iql
=======
Web interface for making IQL queries against an Imhotep cluster.
## Documentation
See the [overview](http://indeedeng.github.io/imhotep/docs/overview/) to learn about IQL syntax.
## Discussion
Ask and answer questions in our Q&A forum for Imhotep: [indeedeng-imhotep-users](... | 62746df49fc02b361aecae9c3b010e5416f721fb | README.md | README.md | Markdown |
<|file_sep|>original/project/build.properties
#
# 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | #
# 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under t... | <|file_sep|>original/project/build.properties
#
# 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/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | ecdaac7b89a6f944fb57acb4d3d2f32d5d16d8b7 | project/build.properties | project/build.properties | INI |
<|file_sep|>original/_sass/components/_footer.scss
.Footer-credit {
display: block;
margin: 0;
@include breakpoint("med") {
display: inline-block;
margin: 0 0.25em;
}
}
.Footer-creditSeparator {
display: none;
@include breakpoint("med") {
display: inline-block;
padding: 0 0.25em;
}
}
.Fo... | display: inline-block;
margin: 0 0.25em;
}
}
.Footer-creditSeparator {
display: none;
@include breakpoint("med") {
display: inline-block;
padding: 0 0.25em;
}
}
.Footer-social {
a, // for if loading the social button fails
iframe {
display: inline-block;
margin: 0 0 1em;
vertic... | <|file_sep|>original/_sass/components/_footer.scss
.Footer-credit {
display: block;
margin: 0;
@include breakpoint("med") {
display: inline-block;
margin: 0 0.25em;
}
}
.Footer-creditSeparator {
display: none;
@include breakpoint("med") {
display: inline-block;
padding: 0 0.25em;
}
}
.Fo... | 051716ae7fde6201958e14c2b5eea6c86358b4a5 | _sass/components/_footer.scss | _sass/components/_footer.scss | SCSS |
<|file_sep|>original/node-postgres/README.md
# Docker Stack Example: Node + Postgres
**Features**
- **Node/Express backend container:**
- Sync local changes and autoreload using nodemon
- Node modules are persisted as docker volume for fast reloads and to avoid interop issues with host
- **Postgress container:**
... | # Docker Stack Example: Node + Postgres
**Features**
- **Node/Express backend container**
- Syncs local changes and autoreload using nodemon
- Persists node modules in a docker volume for fast reloads and to avoid interop issues with host
- **Postgres container**
- Optimized for fast bootup
## Running Locally ... | <|file_sep|>original/node-postgres/README.md
# Docker Stack Example: Node + Postgres
**Features**
- **Node/Express backend container:**
- Sync local changes and autoreload using nodemon
- Node modules are persisted as docker volume for fast reloads and to avoid interop issues with host
- **Postgress container:**
... | 10b98d8acf4fff56114bd56d07ae54230a829070 | node-postgres/README.md | node-postgres/README.md | Markdown |
<|file_sep|>original/package.json
{
"name": "fh-service-mysql-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.9.1",
"request": "~2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"mysql": "2.3.2"
},
"devDependencies": {
"grunt-concurrent": "la... | {
"name": "fh-service-mysql-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.9.2",
"request": "~2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"mysql": "2.3.2"
},
"devDependencies": {
"grunt-concurrent": "latest",
"grunt-contrib-jshint":... | <|file_sep|>original/package.json
{
"name": "fh-service-mysql-cloud",
"version": "0.2.0",
"dependencies": {
"express": "4.0.0",
"fh-mbaas-api": "5.9.1",
"request": "~2.34.0",
"body-parser": "~1.0.2",
"cors": "~2.2.0",
"mysql": "2.3.2"
},
"devDependencies": {
"grunt-concurrent": "la... | 8c457a899b7b3a384ac7c71fef591ae89b29c002 | package.json | package.json | JSON |
<|file_sep|>original/.github/workflows/run-tests.yml
<|file_sep|>current/.github/workflows/run-tests.yml
<|file_sep|>updated/.github/workflows/run-tests.yml | name: Run all tests
on:
push:
branches:
- main
jobs:
run-go-tests:
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Install Protobuf Compiler
uses: arduino/setup-protoc@v1
with:
version: '3.x'
- name: Se... | <|file_sep|>original/.github/workflows/run-tests.yml
<|file_sep|>current/.github/workflows/run-tests.yml
<|file_sep|>updated/.github/workflows/run-tests.yml
name: Run all tests
on:
push:
branches:
- main
jobs:
run-go-tests:
runs-on: ubuntu-latest
steps:
- name: Check out sources
... | 9f860abed0782eb9d924fcca3c03f863349f33ee | .github/workflows/run-tests.yml | .github/workflows/run-tests.yml | YAML |
<|file_sep|>original/metadata/org.fairphone.launcher.txt
* A way to configure the edge swipe menu.
The major concept of the homelauncher is to give the user access to the
entire device display for putting icons and/or widgets. The user can open
the edge swipe menu by swiping from both left and right and have access
to... | The major concept of the homelauncher is to give the user access to the
entire device display for putting icons and/or widgets. The user can open
the edge swipe menu by swiping from both left and right and have access
to the hotseat without having it always on screen.
The homelauncher code is be based on the Launcher2... | <|file_sep|>original/metadata/org.fairphone.launcher.txt
* A way to configure the edge swipe menu.
The major concept of the homelauncher is to give the user access to the
entire device display for putting icons and/or widgets. The user can open
the edge swipe menu by swiping from both left and right and have access
to... | c3cd7a0ac5c5c0e5dd250b61a58a1477cd8f70cf | metadata/org.fairphone.launcher.txt | metadata/org.fairphone.launcher.txt | Text |
<|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsController.cs.diff
original:
using System.Threading.Tasks;
updated:
<|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsController.cs.diff
original:
using Microsoft.AspNetCore.Http;
updated:
<|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsControll... | this.logger = logger;
this.realmSettings = realmSettings;
this.tweetSettings = tweetSettings;
this.vkontakteSettings = vkontakteSettings;
this.pushSettings = pushSettings;
}
[HttpGet]
[Route("settings")]
public IActionResult Se... | <|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsController.cs.diff
original:
using System.Threading.Tasks;
updated:
<|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsController.cs.diff
original:
using Microsoft.AspNetCore.Http;
updated:
<|file_sep|>DotNetRu.AzureService/Controllers/DiagnosticsControll... | e096628e3d9c67b5f80c5ebfa53e5154bd5d042b | DotNetRu.AzureService/Controllers/DiagnosticsController.cs | DotNetRu.AzureService/Controllers/DiagnosticsController.cs | C# |
<|file_sep|>original/test/data/testrunner.js
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
<|file_sep|>current/test/data/testrunner.js
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
<|file_sep|>updated/test/data/testrunner.js | jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
// load testswarm agent
(function() {
var url = window.location.search;
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
if ( !url || url.indexOf("http") !== 0 ) {
return;
}
document.write("<scr" + "ipt src='http://... | <|file_sep|>original/test/data/testrunner.js
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
<|file_sep|>current/test/data/testrunner.js
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
<|file_sep|>updated/test/data/testrunner.js
jQuery.noConflict(); // Allow the tes... | b64a51e136a4bcce3d0c2d5292c53d85c2d0e7de | test/data/testrunner.js | test/data/testrunner.js | JavaScript |
<|file_sep|>05-purescript-project/src/Tab.purs.diff
original:
updated:
import Data.Vec (empty) as Vec
<|file_sep|>original/05-purescript-project/src/Tab.purs
, kind :: x
}
class ColType a where
kind :: a
instance stringCol :: ColType String where
kind = ""
type Cell a = Maybe a
class Conv a where
conv ::... | instance stringCol :: ColType String where
kind = ""
type Cell a = Maybe a
class Conv a where
conv :: ColType a => a -> Cell a
instance convAny :: Conv a where
conv x = Just x
newtype Tab size cols cells = Table
{ columns :: Vec size cols
, rows :: List (Vec size cells)
}
empty :: Tab D0 (Vec D0) List
... | <|file_sep|>05-purescript-project/src/Tab.purs.diff
original:
updated:
import Data.Vec (empty) as Vec
<|file_sep|>original/05-purescript-project/src/Tab.purs
, kind :: x
}
class ColType a where
kind :: a
instance stringCol :: ColType String where
kind = ""
type Cell a = Maybe a
class Conv a where
conv ::... | 2e866b31b69ceaedfe1a4afb3043ca7feed4dad0 | 05-purescript-project/src/Tab.purs | 05-purescript-project/src/Tab.purs | PureScript |
<|file_sep|>original/targets/x86_64-unknown-none.json
{
"llvm-target": "x86_64-unknown-none",
"target-endian": "little",
"target-pointer-width": "64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"os": "none",
"env": "",
"vendor": "unknown",
"linker-flavo... | {
"llvm-target": "x86_64-unknown-none",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"os": "none",
"env": "",
"vendor": "unknown",
"linker-flavor": "gcc",
"target... | <|file_sep|>original/targets/x86_64-unknown-none.json
{
"llvm-target": "x86_64-unknown-none",
"target-endian": "little",
"target-pointer-width": "64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"os": "none",
"env": "",
"vendor": "unknown",
"linker-flavo... | c417f0cf001edcda04c765f1ffedd8fc8736643f | targets/x86_64-unknown-none.json | targets/x86_64-unknown-none.json | JSON |
<|file_sep|>original/valid/Acc.scala
import leon.annotation._
import leon.lang._
object Acc {
case class Acc(checking : BigInt, savings : BigInt)
def putAside(x: BigInt, a: Acc): Acc = {
require (x > 0 && notRed(a) && a.checking >= x)
Acc(a.checking - x, a.savings + x)
} ensuring {
r => notRed(r)... | import leon.annotation._
import leon.lang._
object Acc {
case class Acc(checking : BigInt, savings : BigInt)
def putAside(x: BigInt, a: Acc): Acc = {
require (x > 0 && notRed(a) && a.checking >= x)
Acc(a.checking - x, a.savings + x)
} ensuring {
r => notRed(r) && sameTotal(a, r)
}
def sameTot... | <|file_sep|>original/valid/Acc.scala
import leon.annotation._
import leon.lang._
object Acc {
case class Acc(checking : BigInt, savings : BigInt)
def putAside(x: BigInt, a: Acc): Acc = {
require (x > 0 && notRed(a) && a.checking >= x)
Acc(a.checking - x, a.savings + x)
} ensuring {
r => notRed(r)... | 177a51baadd44df7a7e2f5ced4a8798946469c72 | valid/Acc.scala | valid/Acc.scala | Scala |
<|file_sep|>original/catchthedevil/index.html
<|file_sep|>current/catchthedevil/index.html
<|file_sep|>updated/catchthedevil/index.html | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="0; https://sagelt.itch.io/catch-the-devil" />
</head>
<body>
<p>Find <a href="https://sagelt.itch.io/catch-the-devil">Catch The Devil on itch.io</a></p>
</body>
</html> | <|file_sep|>original/catchthedevil/index.html
<|file_sep|>current/catchthedevil/index.html
<|file_sep|>updated/catchthedevil/index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="0; https://sagelt.itch.io/catch-the-devil" />
</head>
<body>
<p>Find <a href="https://sagelt.itch.io/catch-th... | f9c942e5bc15ac0313fa43b45cbc25cee323d06d | catchthedevil/index.html | catchthedevil/index.html | HTML |
<|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
language: php
sudo: false
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
env:
global:
- TARGET=test
matrix:
include:
- php: 7.2
env: PHPUNIT_FLAGS='--coverage-clover clover'... | language: php
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
- $HOME/.cache/composer
env:
global:
- TARGET=test
matrix:
include:
- php: 7.2
env: PHPUNIT_FLAGS='--coverage-clover clover'
- php: 7.2
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stab... | <|file_sep|>.travis.yml.diff
original:
sudo: false
updated:
<|file_sep|>original/.travis.yml
language: php
sudo: false
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
env:
global:
- TARGET=test
matrix:
include:
- php: 7.2
env: PHPUNIT_FLAGS='--coverage-clover clover'... | 9225fcf262b377ae2e200560a1e86d88cae6a230 | .travis.yml | .travis.yml | YAML |
<|file_sep|>original/webrender/res/ps_text_run.fs.glsl
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void main(void) {
float a = texture(sDiffuse, vUv).a;
... | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void main(void) {
float a = texture(sDiffuse, vUv).a;
#ifdef WR_FEATURE_TRANSFORM
float alpha = 0.0;
i... | <|file_sep|>original/webrender/res/ps_text_run.fs.glsl
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void main(void) {
float a = texture(sDiffuse, vUv).a;
... | 31d51e0bc371f58ff31fa6e232026cfaac6e813d | webrender/res/ps_text_run.fs.glsl | webrender/res/ps_text_run.fs.glsl | GLSL |
<|file_sep|>pubspec.yaml.diff
original:
version: 0.11.0+3
updated:
version: 0.11.1-dev
<|file_sep|>original/pubspec.yaml
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
An asset build system.
Given a set of input files and a set of transformations (think compilers,
prepro... | author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
An asset build system.
Given a set of input files and a set of transformations (think compilers,
preprocessors and the like), will automatically apply the appropriate
transforms and generate output files. When inputs are m... | <|file_sep|>pubspec.yaml.diff
original:
version: 0.11.0+3
updated:
version: 0.11.1-dev
<|file_sep|>original/pubspec.yaml
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
An asset build system.
Given a set of input files and a set of transformations (think compilers,
prepro... | 1d39a652ee374e24f71d522532502925e08662d4 | pubspec.yaml | pubspec.yaml | YAML |
<|file_sep|>original/spec/robots/goal_robot_first_spec.rb
<|file_sep|>current/spec/robots/goal_robot_first_spec.rb
<|file_sep|>updated/spec/robots/goal_robot_first_spec.rb | require "spec_helper"
require_relative "../shared_examples/solver_shared_examples"
module Robots
describe Solvers::GoalRobotFirst do
it_should_behave_like "a solver"
end
end | <|file_sep|>original/spec/robots/goal_robot_first_spec.rb
<|file_sep|>current/spec/robots/goal_robot_first_spec.rb
<|file_sep|>updated/spec/robots/goal_robot_first_spec.rb
require "spec_helper"
require_relative "../shared_examples/solver_shared_examples"
module Robots
describe Solvers::GoalRobotFirst do
it_sho... | c32a72309eda821bba53ca47a7b9357fd598fda6 | spec/robots/goal_robot_first_spec.rb | spec/robots/goal_robot_first_spec.rb | Ruby |
<|file_sep|>original/requirements/base.txt
django-bootstrap-form==3.2.1
django-markdown==0.8.4
django-markitup==3.0.0
django-multiselectfield==0.1.5
django-redis-cache==1.7.1
djangorestframework==3.6.2
Fabric==1.13.1
fabtools==0.20.0
gunicorn==19.7.0
Pillow==3.4.2
pinax-eventlog==1.1.2
pip==9.0.1
psycopg2==2.7.1
pytz==... | django-bootstrap-form==3.2.1
django-markdown==0.8.4
django-markitup==3.0.0
django-multiselectfield==0.1.5
django-redis-cache==1.7.1
djangorestframework==3.6.2
Fabric==1.13.1
fabtools==0.20.0
gunicorn==19.7.0
Pillow==3.4.2
pinax-eventlog==1.1.2
pip==9.0.1
psycopg2==2.7.1
pytz==2016.10
redis==2.10.5
unicodecsv==0.14.1
wa... | <|file_sep|>original/requirements/base.txt
django-bootstrap-form==3.2.1
django-markdown==0.8.4
django-markitup==3.0.0
django-multiselectfield==0.1.5
django-redis-cache==1.7.1
djangorestframework==3.6.2
Fabric==1.13.1
fabtools==0.20.0
gunicorn==19.7.0
Pillow==3.4.2
pinax-eventlog==1.1.2
pip==9.0.1
psycopg2==2.7.1
pytz==... | d350bbfba41aadffb119494a3049d0e6e20c28d6 | requirements/base.txt | requirements/base.txt | Text |
<|file_sep|>pylearn2/scripts/dbm/dbm_metrics.py.diff
original:
updated:
from pylearn2.utils import serial
def compute_ais(model):
pass
<|file_sep|>pylearn2/scripts/dbm/dbm_metrics.py.diff
original:
updated:
# Possible metrics
metrics = {'ais': compute_ais}
<|file_sep|>pylearn2/scripts/dbm/dbm_metrics.p... | from pylearn2.utils import serial
def compute_ais(model):
pass
if __name__ == '__main__':
# Possible metrics
metrics = {'ais': compute_ais}
# Argument parsing
parser = argparse.ArgumentParser()
parser.add_argument("metric", help="the desired metric",
choices=metrics.k... | <|file_sep|>pylearn2/scripts/dbm/dbm_metrics.py.diff
original:
updated:
from pylearn2.utils import serial
def compute_ais(model):
pass
<|file_sep|>pylearn2/scripts/dbm/dbm_metrics.py.diff
original:
updated:
# Possible metrics
metrics = {'ais': compute_ais}
<|file_sep|>pylearn2/scripts/dbm/dbm_metrics.p... | 2423958016d552a6f696b7124454c7b362c84a5f | pylearn2/scripts/dbm/dbm_metrics.py | pylearn2/scripts/dbm/dbm_metrics.py | Python |
<|file_sep|>original/gitconfig.erb
<%local_file = File.expand_path('~/.gitconfig-local') %>
<% if File.exists? local_file %>
<%=File.read local_file %>
<% else %>
[user]
name = epochwolf
email = epochwolf@gmail.com
<% end %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -... | <% if File.exists? local_file %>
<%=File.read local_file %>
<% else %>
[user]
name = epochwolf
email = epochwolf@gmail.com
<% end %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
[core]
excludesfile = ~/.gitignore
[push]
default = upstream | <|file_sep|>original/gitconfig.erb
<%local_file = File.expand_path('~/.gitconfig-local') %>
<% if File.exists? local_file %>
<%=File.read local_file %>
<% else %>
[user]
name = epochwolf
email = epochwolf@gmail.com
<% end %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -... | 2f5fb8b32b589a8c2806b6c361b2575fc2a0ae8d | gitconfig.erb | gitconfig.erb | HTML+ERB |
<|file_sep|>original/lab5-btree-in-c/bTree.h
struct btreeNode * right;
};
typedef struct btreeNode * btreeNode_t;
typedef struct {
btreeNode_t root;
}btree;
typedef btree * btree_t;
btree_t newTree(void);
int addNode(btree_t, int);
void inOrder(btree_t);
#endif
<|file_sep|>current/lab5-btree-in-... | };
typedef struct btreeNode * btreeNode_t;
typedef struct {
btreeNode_t root;
}btree;
typedef btree * btree_t;
btree_t newTree(void);
int addNode(btree_t, int);
void inOrder(btree_t);
void inOrder_iter(btree_t);
#endif
| <|file_sep|>original/lab5-btree-in-c/bTree.h
struct btreeNode * right;
};
typedef struct btreeNode * btreeNode_t;
typedef struct {
btreeNode_t root;
}btree;
typedef btree * btree_t;
btree_t newTree(void);
int addNode(btree_t, int);
void inOrder(btree_t);
#endif
<|file_sep|>current/lab5-btree-in-... | 1ad4a72ba51234a45e3e3a294676e1ab3e758d0e | lab5-btree-in-c/bTree.h | lab5-btree-in-c/bTree.h | C |
<|file_sep|>original/docs/directory_structure.md
<|file_sep|>current/docs/directory_structure.md
<|file_sep|>updated/docs/directory_structure.md |
Directory structure
-------------------
We try to follow the directory structures of [Gaia applications][1]
with a few additions because of Handlebars templates and RequireJS usage.
docs/ -- documentation directory
www/ -- FirefoxOS application
js/ -- javascr... | <|file_sep|>original/docs/directory_structure.md
<|file_sep|>current/docs/directory_structure.md
<|file_sep|>updated/docs/directory_structure.md
Directory structure
-------------------
We try to follow the directory structures of [Gaia applications][1]
with a few additions because of Handlebars templates and Requir... | d3e4d193407286953e11e25f83f1bba9c884ad8c | docs/directory_structure.md | docs/directory_structure.md | Markdown |
<|file_sep|>original/src/Test/Throttle.hs
main = shaken test $ \args obj -> do
res <- newThrottle "test" 2 0.4
want $ map obj ["file1.1","file2.1","file3.2","file4.1","file5.2"]
obj "*.*" %> \out -> do
withResource res (read $ drop 1 $ takeExtension out) $
when (takeBaseName out == "fi... |
main = shaken test $ \args obj -> do
res <- newThrottle "test" 2 0.4
want $ map obj ["file1.1","file2.1","file3.2","file4.1","file5.2"]
obj "*.*" %> \out -> do
withResource res (read $ drop 1 $ takeExtension out) $
when (takeBaseName out == "file3") $ liftIO $ sleep 0.2
writeFi... | <|file_sep|>original/src/Test/Throttle.hs
main = shaken test $ \args obj -> do
res <- newThrottle "test" 2 0.4
want $ map obj ["file1.1","file2.1","file3.2","file4.1","file5.2"]
obj "*.*" %> \out -> do
withResource res (read $ drop 1 $ takeExtension out) $
when (takeBaseName out == "fi... | 3101b5b761f923e9f12e458b1d339fbf2c92bb13 | src/Test/Throttle.hs | src/Test/Throttle.hs | Haskell |
<|file_sep|>original/src/Entities/Response.php
public function getResponse()
{
return $this->response;
}
/**
* @return \Psr\Http\Message\StreamInterface
*/
public function getRawData()
{
return $this->response->getBody();
}
/**
* @return \stdClass[]|\stdC... | public function getResponse()
{
return $this->response;
}
/**
* @return \Psr\Http\Message\StreamInterface
*/
public function getRawData()
{
return $this->response->getBody();
}
/**
* @return mixed
*/
public function getDecodedData()
{
... | <|file_sep|>original/src/Entities/Response.php
public function getResponse()
{
return $this->response;
}
/**
* @return \Psr\Http\Message\StreamInterface
*/
public function getRawData()
{
return $this->response->getBody();
}
/**
* @return \stdClass[]|\stdC... | 7e32915be13c7db7bb5c5363529904aa4dffb7af | src/Entities/Response.php | src/Entities/Response.php | PHP |
<|file_sep|>original/about.html
<div class="card col-md-3">
<img src="{{ site.baseurl }}/images/self.jpg">
</div>
<div class="col-md-9">
<h1>Antonin Lenfant</h1>
<p><i class="fa fa-map-marker"></i> Paris, France</p>
<p><i class="fa... | <img src="{{ site.baseurl }}/images/self.jpg">
</div>
<div class="col-md-9">
<h1>Antonin Lenfant</h1>
<p><i class="fa fa-map-marker"></i> Paris, France</p>
<p><i class="fa fa-envelope-o"></i> antonin.<!--Remove the space
-->... | <|file_sep|>original/about.html
<div class="card col-md-3">
<img src="{{ site.baseurl }}/images/self.jpg">
</div>
<div class="col-md-9">
<h1>Antonin Lenfant</h1>
<p><i class="fa fa-map-marker"></i> Paris, France</p>
<p><i class="fa... | 1db0a86ce50a612599bdf9d4948ac846026ac1a0 | about.html | about.html | HTML |
<|file_sep|>original/src/coffee/run.coffee
CSV = require('csv')
Q = require('q')
argv = require('optimist')
.usage('Usage: $0 --types product-types.csv --attributes product-types-attributes.csv --target ./')
.demand(['types', 'attributes', 'target'])
.argv
ProductTypeGenerator = require('../main').ProductTypeGe... | CSV = require('csv')
Q = require('q')
argv = require('optimist')
.usage('Usage: $0 --types [CSV] --attributes [CSV] --target [folder] --retailer [boolean]')
.alias('types', 't')
.alias('attributes', 'a')
.alias('target', 't')
.alias('retailer', 'r')
.default('retailer', false)
.describe('types', 'Path to... | <|file_sep|>original/src/coffee/run.coffee
CSV = require('csv')
Q = require('q')
argv = require('optimist')
.usage('Usage: $0 --types product-types.csv --attributes product-types-attributes.csv --target ./')
.demand(['types', 'attributes', 'target'])
.argv
ProductTypeGenerator = require('../main').ProductTypeGe... | 54c18917d5e7b421352b848770c8288f55468891 | src/coffee/run.coffee | src/coffee/run.coffee | CoffeeScript |
<|file_sep|>original/ca_on_candidates/people.py
from utils import CSVScraper
from datetime import date
class OntarioCandidatesPersonScraper(CSVScraper):
csv_url = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQhrWSeOEC9DaNN2iDKcPC9IH701Al0pELevzSO62maI9WXt1TGvFH2fzUkXjUfujc3ontePcroFbT2/pub?output=csv'
e... | from utils import CSVScraper
from datetime import date
class OntarioCandidatesPersonScraper(CSVScraper):
csv_url = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQhrWSeOEC9DaNN2iDKcPC9IH701Al0pELevzSO62maI9WXt1TGvFH2fzUkXjUfujc3ontePcroFbT2/pub?gid=881365071&single=true&output=csv'
encoding = 'utf-8'
... | <|file_sep|>original/ca_on_candidates/people.py
from utils import CSVScraper
from datetime import date
class OntarioCandidatesPersonScraper(CSVScraper):
csv_url = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vQhrWSeOEC9DaNN2iDKcPC9IH701Al0pELevzSO62maI9WXt1TGvFH2fzUkXjUfujc3ontePcroFbT2/pub?output=csv'
e... | 292277abac516c412d58f1454331d9e38ddda2b3 | ca_on_candidates/people.py | ca_on_candidates/people.py | Python |
<|file_sep|>tests/test_compound.py.diff
original:
A = term('a')
B = term('b')
C = term('c')
node = lambda x: Node(x, 'data')
updated:
Ta = term('a')
Tb = term('b')
Tc = term('c')
Na = Node('a', 'data')
Nb = Node('b', 'data')
Nc = Node('c', 'data')
<|file_sep|>tests/test_compound.py.diff
original:
na = node('a')
... | r = repeat(Ta)
given = prepare([Na]*10)
after = Pair([Na]*10, [])
assert r(given) == after
def test_option():
opt = option(Ta, Tb, Tc)
for node in [Na, Nb]:
assert opt(prepare([node])) == Pair([node], [])
def test_option_empty():
with pytest.raises(ValueError):
assert opt... | <|file_sep|>tests/test_compound.py.diff
original:
A = term('a')
B = term('b')
C = term('c')
node = lambda x: Node(x, 'data')
updated:
Ta = term('a')
Tb = term('b')
Tc = term('c')
Na = Node('a', 'data')
Nb = Node('b', 'data')
Nc = Node('c', 'data')
<|file_sep|>tests/test_compound.py.diff
original:
na = node('a')
... | b958d723f73f7743d646c2c6911bf8428583bf0e | tests/test_compound.py | tests/test_compound.py | Python |
<|file_sep|>assets/less/header.less.diff
original:
updated:
<|file_sep|>original/assets/less/header.less
.page-header{
border-bottom: transparent;
margin-top: 0;
margin-bottom: @grid-gutter-width/4;
}
.archive{
.author-title,
.entry-title{
font-size: @font-size-h3;
}
}
.pag... | margin-top: 0;
margin-bottom: @grid-gutter-width/4;
}
.archive{
.author-title,
.entry-title{
font-size: @font-size-h3;
}
}
.page-title,
.entry-title{
@media (min-width: @screen-md-min){
margin-top: 0;
}
.text-uppercase;
letter-spacing: @letter-spacing-small;
} | <|file_sep|>assets/less/header.less.diff
original:
updated:
<|file_sep|>original/assets/less/header.less
.page-header{
border-bottom: transparent;
margin-top: 0;
margin-bottom: @grid-gutter-width/4;
}
.archive{
.author-title,
.entry-title{
font-size: @font-size-h3;
}
}
.pag... | 5f9fbbbda2c230dc28cce06204b625ab033628f6 | assets/less/header.less | assets/less/header.less | Less |
<|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Added
- Favorites as boolean in metadata
- Game options for each available systems
- Emulator and core switch in met... | # Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
- Add new Traditional Chinese Language
-
### Added
- Favorites as boolean in metadata
- Game options for each available systems
- Emulator and core switc... | <|file_sep|>original/CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
### Added
- Favorites as boolean in metadata
- Game options for each available systems
- Emulator and core switch in met... | f0938649f91cd0b1acb7712af974803521a2b28f | CHANGELOG.md | CHANGELOG.md | Markdown |
<|file_sep|>original/static/js/services/users.js
* 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.
*/
var userServices = angular.module('userServices', ['ngResource']);
userServices.serv... | function($resource) {
return $resource('/api/users/:uid', {}, {
'save': {method: 'PUT'},
'create': {method: 'POST'}
});
}]);
userServices.service('passwordResetService', [
'$resource',
function($resource) {
return $resource('/api/pwreset/:email');
}]);
userServi... | <|file_sep|>original/static/js/services/users.js
* 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.
*/
var userServices = angular.module('userServices', ['ngResource']);
userServices.serv... | a8b7e37440a60dda17645956345c2579b8efa763 | static/js/services/users.js | static/js/services/users.js | JavaScript |
<|file_sep|>original/ard-mediathek.py
parser = argparse.ArgumentParser(description='Commandline python script tool to download videos from the online ARD mediathek. Version: %s' % VERSION)
parser.add_argument('url', type=str, help='URL pointing to the mediathek video')
parser.add_argument('--filename', '-f... | parser = argparse.ArgumentParser(description='Commandline python script tool to download videos from the online ARD mediathek. Version: %s' % VERSION)
parser.add_argument('url', type=str, help='URL pointing to the mediathek video')
parser.add_argument('--filename', '-f', type=str, default=None, help='targe... | <|file_sep|>original/ard-mediathek.py
parser = argparse.ArgumentParser(description='Commandline python script tool to download videos from the online ARD mediathek. Version: %s' % VERSION)
parser.add_argument('url', type=str, help='URL pointing to the mediathek video')
parser.add_argument('--filename', '-f... | ac46a0fa28901bfd508c75ec71e9e13a02ac40aa | ard-mediathek.py | ard-mediathek.py | Python |
<|file_sep|>src/main/fabric8/deployment.yml.diff
original:
memory: 256Mi
updated:
# memory: 256Mi
<|file_sep|>original/src/main/fabric8/deployment.yml
spec:
template:
spec:
containers:
-
resources:
requests:
cpu: "0.2"
mem... | spec:
template:
spec:
containers:
-
resources:
requests:
cpu: "0.2"
# memory: 256Mi
limits:
cpu: "1.0"
# memory: 256Mi | <|file_sep|>src/main/fabric8/deployment.yml.diff
original:
memory: 256Mi
updated:
# memory: 256Mi
<|file_sep|>original/src/main/fabric8/deployment.yml
spec:
template:
spec:
containers:
-
resources:
requests:
cpu: "0.2"
mem... | fa68701d27cb3ebd15672a5ca1314b376d5afa70 | src/main/fabric8/deployment.yml | src/main/fabric8/deployment.yml | YAML |
<|file_sep|>original/make/photon/prepare/templates/registry/config.yml.jinja
redirect:
disable: true
{% endif %}
redis:
addr: {{redis_host}}:{{redis_port}}
password: {{redis_password}}
db: {{redis_db_index_reg}}
http:
{% if internal_tls.enabled %}
addr: :5443
{% else %}
addr: :5000
{% endif %}
secret:... | redirect:
disable: true
{% endif %}
redis:
addr: {{redis_host}}:{{redis_port}}
password: {{redis_password}}
db: {{redis_db_index_reg}}
http:
{% if internal_tls.enabled %}
addr: :5443
tls:
minimumtls: tls1.2
{% else %}
addr: :5000
{% endif %}
secret: placeholder
debug:
addr: localhost:5001
... | <|file_sep|>original/make/photon/prepare/templates/registry/config.yml.jinja
redirect:
disable: true
{% endif %}
redis:
addr: {{redis_host}}:{{redis_port}}
password: {{redis_password}}
db: {{redis_db_index_reg}}
http:
{% if internal_tls.enabled %}
addr: :5443
{% else %}
addr: :5000
{% endif %}
secret:... | 75f78b64b2c9b8efa29be098af737f8d7929e437 | make/photon/prepare/templates/registry/config.yml.jinja | make/photon/prepare/templates/registry/config.yml.jinja | HTML+Django |
<|file_sep|>original/requirements/postgres.txt
# Additional reqs for running kolibri with a postgres db layer
psycopg2==2.7.3.2
<|file_sep|>current/requirements/postgres.txt
# Additional reqs for running kolibri with a postgres db layer
psycopg2==2.7.3.2
<|file_sep|>updated/requirements/postgres.txt | # Additional reqs for running kolibri with a postgres db layer
psycopg2==2.7.4 | <|file_sep|>original/requirements/postgres.txt
# Additional reqs for running kolibri with a postgres db layer
psycopg2==2.7.3.2
<|file_sep|>current/requirements/postgres.txt
# Additional reqs for running kolibri with a postgres db layer
psycopg2==2.7.3.2
<|file_sep|>updated/requirements/postgres.txt
# Additional reqs f... | a3262677c6864ce54a7759d33ad653bd5d2daadf | requirements/postgres.txt | requirements/postgres.txt | Text |
<|file_sep|>base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css.diff
original:
background-image: meegotouch-fastscroll-background $CORNER_MARGINS;
updated:
background-image: meegotouch-fastscroll-background 12px 12px;
<|file_sep|>original/base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css
/* ... | /* MListIndexStyle : MWidgetStyle */
MListIndexStyle {
shortcut-object-name: "whiteFont";
background-opacity: 0.5;
background-image: meegotouch-fastscroll-background 12px 12px;
preferred-size: 7mm 100%;
margin-top: 0;
margin-left: 0;
margin-bottom: 0;
margin-right: 0;
}
#whiteFont {
... | <|file_sep|>base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css.diff
original:
background-image: meegotouch-fastscroll-background $CORNER_MARGINS;
updated:
background-image: meegotouch-fastscroll-background 12px 12px;
<|file_sep|>original/base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css
/* ... | 57a6cb4162ef512b121931f13d3b85d2f60dcba2 | base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css | base/meegotouch/libmeegotouchviews/style/mlistindexstyle.css | CSS |
<|file_sep|>original/test/chunk2.js
var integrity = el.getAttribute('integrity');
if (src) {
var match = src.match(/[^\/]+\.(js|css)/);
if (match && integrity && integrity.match(/^sha\d+-/)) {
resourcesWithIntegrity.push(match[0].toString());
}
}
}
try {
var resourcesWithIn... | var integrity = el.getAttribute('integrity');
if (src) {
var match = src.match(/[^\/]+\.(js|css)/);
if (match && integrity && integrity.match(/^sha\d+-/)) {
resourcesWithIntegrity.push(match[0].toString());
}
}
}
try {
var resourcesWithIntegrity = [];
Array.prototype.sl... | <|file_sep|>original/test/chunk2.js
var integrity = el.getAttribute('integrity');
if (src) {
var match = src.match(/[^\/]+\.(js|css)/);
if (match && integrity && integrity.match(/^sha\d+-/)) {
resourcesWithIntegrity.push(match[0].toString());
}
}
}
try {
var resourcesWithIn... | bd5f3383a81e42abbe3d4a2b95f94a16c9a398ff | test/chunk2.js | test/chunk2.js | JavaScript |
<|file_sep|>app/mailers/grades_mailer.rb.diff
original:
# Find email settings for current user
settings = grade.receiver.memberships.where(
:classroom_id => grade.classroom.id
).first
if settings.send_grades
subject = _("One of your responses was graded by %s") % [
@grade.user.name
... | opt = receiver.memberships.where(:classroom_id => grade.classroom.id).first
mail(:to => receiver.email, :subject => subject) if opt.send_grades
end
# Sends an email to user when he's grade is updated
#
# @param [Hash] params with details about grade
def update_grade_email(grade)
@grade = grade
... | <|file_sep|>app/mailers/grades_mailer.rb.diff
original:
# Find email settings for current user
settings = grade.receiver.memberships.where(
:classroom_id => grade.classroom.id
).first
if settings.send_grades
subject = _("One of your responses was graded by %s") % [
@grade.user.name
... | fcd058f1bf9da88f6f0f7c715c35ef0a3a2b22a1 | app/mailers/grades_mailer.rb | app/mailers/grades_mailer.rb | Ruby |
<|file_sep|>doc/emergencies.txt.diff
original:
Booting paper
-------------
updated:
Booting paper/plastic/tipserv1
------------------------------
<|file_sep|>doc/emergencies.txt.diff
original:
The tip line for paper is on snake.cs.utah.edu. (standard desktop
machine).
updated:
The tip lines for each of paper/plastic/ti... | ------------------------------
The tip lines for each of paper/plastic/tipserv1 are on snake.cs.utah.edu.
(standard desktop machine).
You can talk to power controller number 9 from snake by using "tip
apc" to talk to power9. User is "apc", password is "^pwr". The
outlets are set up as follows:
plastic - 8
pape... | <|file_sep|>doc/emergencies.txt.diff
original:
Booting paper
-------------
updated:
Booting paper/plastic/tipserv1
------------------------------
<|file_sep|>doc/emergencies.txt.diff
original:
The tip line for paper is on snake.cs.utah.edu. (standard desktop
machine).
updated:
The tip lines for each of paper/plastic/ti... | 7642b6cdbfd57cb8395fa9ae3fccfca302ccea29 | doc/emergencies.txt | doc/emergencies.txt | Text |
<|file_sep|>composer.json.diff
original:
"wyrihaximus/react-async-interop-loop": "dev-master",
"async-interop/promise": "^0.2.0"
updated:
"async-interop/promise": "^0.2.0",
"async-interop/event-loop": "^0.3"
<|file_sep|>composer.json.diff
original:
updated:
"wyrihaximus/react-as... | "satooshi/php-coveralls": "~1.0",
"phpunit/phpcov": "^3.1",
"phpunit/phpunit": "^5.5"
},
"suggest": {
"wyrihaximus/react-async-interop-loop": "ReactPHP Event Loop",
"amphp/loop": "AmpPHP Event Loop",
"koolkode/async": "KoolKode Event Loop"
},
"autoload": {... | <|file_sep|>composer.json.diff
original:
"wyrihaximus/react-async-interop-loop": "dev-master",
"async-interop/promise": "^0.2.0"
updated:
"async-interop/promise": "^0.2.0",
"async-interop/event-loop": "^0.3"
<|file_sep|>composer.json.diff
original:
updated:
"wyrihaximus/react-as... | afbb27bffec43bd0a31be18fe9c8d1b6cd4c5c4c | composer.json | composer.json | JSON |
<|file_sep|>original/README.md
billogram-v2-api-clients
========================
Library and example code for connecting to the Billogram v2 HTTP API
<|file_sep|>current/README.md
billogram-v2-api-clients
========================
Library and example code for connecting to the Billogram v2 HTTP API
<|file_sep|>updated... | billogram-v2-api-clients
========================
Library and example code for connecting to the Billogram v2 HTTP API
# Deprecation warning
⚠️ The following code examples are not being actively maintained by Billogram and are in many cases outdated or using legacy code. The examples should be treated as inspiration... | <|file_sep|>original/README.md
billogram-v2-api-clients
========================
Library and example code for connecting to the Billogram v2 HTTP API
<|file_sep|>current/README.md
billogram-v2-api-clients
========================
Library and example code for connecting to the Billogram v2 HTTP API
<|file_sep|>updated... | 43126bce44048df33579e68e4f027d0f819f6c7e | README.md | README.md | Markdown |
<|file_sep|>original/requirements-test.txt
# Testing
coverage==4.5.2 # Test coverage
flake8==3.7.4 # Python linting
mypy==0.650 # Static typing
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4.5.2 # Test coverage
flake8==3.7.4 ... | # Testing
coverage==4.5.2 # Test coverage
flake8==3.7.4 # Python linting
mypy==0.660 # Static typing | <|file_sep|>original/requirements-test.txt
# Testing
coverage==4.5.2 # Test coverage
flake8==3.7.4 # Python linting
mypy==0.650 # Static typing
<|file_sep|>current/requirements-test.txt
# Testing
coverage==4.5.2 # Test coverage
flake8==3.7.4 ... | 48121f786d273a10fc7a619ce6d389fe2c945038 | requirements-test.txt | requirements-test.txt | Text |
<|file_sep|>original/build_win_package.bat
@echo off
set BIN_NAME=sqlitebiter
pip install --upgrade pip
pip install --upgrade .[build]
echo "----- start build -----"
pyinstaller cli.py --onefile --name %BIN_NAME% --clean --noconfirm --specpath build
echo "----- complete build -----"
echo "----- start compress -----... | @echo off
set BIN_NAME=sqlitebiter
echo "----- start build -----"
pyinstaller cli.py --onefile --name %BIN_NAME% --clean --noconfirm --specpath build
echo "----- complete build -----"
echo "----- start compress -----"
set DIST_DIR_NAME=dist
set BIN_PATH=%DIST_DIR_NAME%/%BIN_NAME%.exe
set ARCHIVE_PATH=%DIST_DIR_NAME%... | <|file_sep|>original/build_win_package.bat
@echo off
set BIN_NAME=sqlitebiter
pip install --upgrade pip
pip install --upgrade .[build]
echo "----- start build -----"
pyinstaller cli.py --onefile --name %BIN_NAME% --clean --noconfirm --specpath build
echo "----- complete build -----"
echo "----- start compress -----... | a781d83ce70e1891880c620e7fe6f7667b1c113c | build_win_package.bat | build_win_package.bat | Batchfile |
<|file_sep|>original/templates/markdown_small_help.html
<div class="row">
<div class="small-12 columns">
<h3 id="markdown-help">Besoin d'aide ?</h3>
<p>Les messages sur P402-DocHub supportent le <a href="{% url 'markdown_help' %}" target="blank_">Markdown</a>, n'hésitez pas à vous en servir pour mettre en for... | <div class="row">
<div class="small-12 columns">
<h3 id="markdown-help">Besoin d'aide ?</h3>
<p>Les messages sur P402-DocHub supportent le <a href="{% url 'markdown_help' %}" target="blank_">Markdown</a>, n'hésitez pas à vous en servir pour mettre en forme vos messages. Jetez un oeil au <a href="{% url 'markd... | <|file_sep|>original/templates/markdown_small_help.html
<div class="row">
<div class="small-12 columns">
<h3 id="markdown-help">Besoin d'aide ?</h3>
<p>Les messages sur P402-DocHub supportent le <a href="{% url 'markdown_help' %}" target="blank_">Markdown</a>, n'hésitez pas à vous en servir pour mettre en for... | 6804f8809009685d8abf666a4ec7cd2767d5775b | templates/markdown_small_help.html | templates/markdown_small_help.html | HTML |
<|file_sep|>original/resources/views/layouts/main.hbs
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{{{ css }}}
</h... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{{{ css }}}
</head>
<body>
{{> @partial-block }}
</body>
</html> | <|file_sep|>original/resources/views/layouts/main.hbs
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{{{ css }}}
</h... | c267adddad6cec0545bc54490ddb1a0c9df25909 | resources/views/layouts/main.hbs | resources/views/layouts/main.hbs | Handlebars |
<|file_sep|>original/app/Config.php
* Setup the Config API Mode.
* For using the 'database' mode, you need to have a database, with a table generated by 'scripts/nova_options'
*/
define('CONFIG_STORE', 'files'); // Supported: "files", "database"
/**
* Routing configuration
*/
Config::set('routing', array(
/*... | define('CONFIG_STORE', 'files'); // Supported: "files", "database"
/**
* Routing configuration
*/
Config::set('routing', array(
/*
* The Asset Files Serving configuration.
*/
'assets' => array(
// The driver type used for serving the Asset Files.
'driver' => 'default', // Suppo... | <|file_sep|>original/app/Config.php
* Setup the Config API Mode.
* For using the 'database' mode, you need to have a database, with a table generated by 'scripts/nova_options'
*/
define('CONFIG_STORE', 'files'); // Supported: "files", "database"
/**
* Routing configuration
*/
Config::set('routing', array(
/*... | a311e30f8b2903b209e41c7888110e8be7009998 | app/Config.php | app/Config.php | PHP |
<|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==3.4.3
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==3.1.0
graphviz==0.16
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus==1.4.0
vcrpy==4.1.1
ipdb==... | # Local development dependencies go here
-r base.txt
Sphinx==3.5.4
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==3.1.0
graphviz==0.16
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus==1.4.0
vcrpy==4.1.1
ipdb==0.13.9 | <|file_sep|>original/requirements/dev.txt
# Local development dependencies go here
-r base.txt
Sphinx==3.4.3
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar==2.2
django-extensions==3.1.0
graphviz==0.16
factory-boy==2.12.0
django-coverage-plugin==1.8.0
django-test-plus==1.4.0
vcrpy==4.1.1
ipdb==... | 590102e69d1380619211d2335c05991be1294c68 | requirements/dev.txt | requirements/dev.txt | Text |
<|file_sep|>original/dist/_spline.scss
@import "functions/tint-shade";
@import "functions/rem";
@import "functions/reverse-gradient";
// CSS3
// ----
@import "css3/border-radius";
// Utilities
// ---------
@import "utilities/clearfix";
@import "utilities/hide-text";
@import "utilities/icon-base";
@import "utiliti... | @import "functions/tint-shade";
@import "functions/rem";
@import "functions/reverse-gradient";
// CSS3
// ----
@import "css3/border-radius";
// Utilities
// ---------
@import "utilities/clearfix";
@import "utilities/hide-text";
@import "utilities/icon-base";
@import "utilities/icon-replace";
@import "utilities/ta... | <|file_sep|>original/dist/_spline.scss
@import "functions/tint-shade";
@import "functions/rem";
@import "functions/reverse-gradient";
// CSS3
// ----
@import "css3/border-radius";
// Utilities
// ---------
@import "utilities/clearfix";
@import "utilities/hide-text";
@import "utilities/icon-base";
@import "utiliti... | 31cc2f6dd0309e9da8af5d1aeec5f1779626534d | dist/_spline.scss | dist/_spline.scss | SCSS |
<|file_sep|>original/Dashboard/package.json
{
"name": "expose-dashboard",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"author": "Blake Loring",
"scripts": {
"start": "electron --js-flags=\"--max_old_space_size=8100\" ."
},
"devDependencies": {
"electron": "^1.4.1"
},
"depen... | {
"name": "expose-dashboard",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"author": "Blake Loring",
"scripts": {
"start": "electron --js-flags=\"--max_old_space_size=8100\" ."
},
"devDependencies": {
"electron": "^1.4.1"
},
"dependencies": {
"electron": "^1.8.3",
"p... | <|file_sep|>original/Dashboard/package.json
{
"name": "expose-dashboard",
"version": "1.0.0",
"description": "",
"main": "src/main.js",
"author": "Blake Loring",
"scripts": {
"start": "electron --js-flags=\"--max_old_space_size=8100\" ."
},
"devDependencies": {
"electron": "^1.4.1"
},
"depen... | 6fa501babbc2539bd0636b5035e672942b660403 | Dashboard/package.json | Dashboard/package.json | JSON |
<|file_sep|>original/README.md
- _Antal övningar_ = number of exercises
- _Mer subtraktion_ = higher amount of subtraction
- _rätt_ = correct
- _fel_ = incorrect
- _Träna en gång till_ = same exercises again
- _Träna på ett annat sätt_ = return to initial config screen
## Installation
It has no dep... | - _Mer subtraktion_ = higher amount of subtraction
- _rätt_ = correct
- _fel_ = incorrect
- _Träna en gång till_ = same exercises again
- _Träna på ett annat sätt_ = return to initial config screen
## Installation
It has no dependencies so running should be easy as long as you are
happy to watch it run... | <|file_sep|>original/README.md
- _Antal övningar_ = number of exercises
- _Mer subtraktion_ = higher amount of subtraction
- _rätt_ = correct
- _fel_ = incorrect
- _Träna en gång till_ = same exercises again
- _Träna på ett annat sätt_ = return to initial config screen
## Installation
It has no dep... | be2fdff0284f145905d6163de9ff2efda7c52850 | README.md | README.md | Markdown |
<|file_sep|>src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs.diff
original:
private const string RES_TRANSCODE_INPUT_MP3 = "./res/"+FILE_NAME;
updated:
private const string RES_TRANSCODE_INPUT_MP3 = "res\\"+FILE_NAME;
<|file_sep|>src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs.diff
orig... | var stubHttp = HttpMockRepository.At("http://localhost.:9191");
var pathToFile = Path.Combine(TestContext.CurrentContext.TestDirectory, RES_TRANSCODE_INPUT_MP3);
stubHttp.Stub(x => x.Get("/afile"))
.ReturnFile(pathToFile)
.OK();
Console.WriteLine(stubHttp.WhatDoIHave());
va... | <|file_sep|>src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs.diff
original:
private const string RES_TRANSCODE_INPUT_MP3 = "./res/"+FILE_NAME;
updated:
private const string RES_TRANSCODE_INPUT_MP3 = "res\\"+FILE_NAME;
<|file_sep|>src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs.diff
orig... | af8b7a243b8f67742789ff344cbd7f88afc6d7b4 | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | src/HttpMock.Integration.Tests/EndpointsReturningFilesTests.cs | C# |
<|file_sep|>pipelines/dax/docker/build_imgserv.groovy.diff
original:
def retries = 3
updated:
<|file_sep|>pipelines/dax/docker/build_imgserv.groovy.diff
original:
def run = {
dir('imgserv/lsst-dm-ci') {
updated:
node('docker') {
timeout(time: 1, unit: 'HOURS') {
git([
url: util.githubSl... | withEnv(["DOCKER_REPO=$repo"]) {
util.bash './lsst-dm-ci/prod_image.sh'
}
} // build
stage('test') {
docker.image("${repo}:${tag}").inside {
util.bash '/app/lsst-dm-ci/run_tests.sh'
}
} // test
stage('publ... | <|file_sep|>pipelines/dax/docker/build_imgserv.groovy.diff
original:
def retries = 3
updated:
<|file_sep|>pipelines/dax/docker/build_imgserv.groovy.diff
original:
def run = {
dir('imgserv/lsst-dm-ci') {
updated:
node('docker') {
timeout(time: 1, unit: 'HOURS') {
git([
url: util.githubSl... | bc51e5f700728cad4ce88a42cec0d84663b4d1d3 | pipelines/dax/docker/build_imgserv.groovy | pipelines/dax/docker/build_imgserv.groovy | Groovy |
<|file_sep|>conveyor/processor.py.diff
original:
return set(self.client.package_releases(name, True))
updated:
return self.client.package_releases(name, True)
<|file_sep|>original/conveyor/processor.py
def __init__(self, index, *args, **kwargs):
super(BaseProcessor, self).__init__(*... |
def __init__(self, index, *args, **kwargs):
super(BaseProcessor, self).__init__(*args, **kwargs)
self.index = index
self.client = xmlrpc2.Client(self.index)
def process(self):
raise NotImplementedError
def get_releases(self, name, version=None):
if version is None... | <|file_sep|>conveyor/processor.py.diff
original:
return set(self.client.package_releases(name, True))
updated:
return self.client.package_releases(name, True)
<|file_sep|>original/conveyor/processor.py
def __init__(self, index, *args, **kwargs):
super(BaseProcessor, self).__init__(*... | f4fb4e90725cec378634c22ee8803eeb29ccf143 | conveyor/processor.py | conveyor/processor.py | Python |
<|file_sep|>original/docs/source/trax.fastmath.rst
=============
backend
-------
.. automodule:: trax.fastmath.backend
jax
---
.. automodule:: trax.fastmath.jax
numpy
-----
.. automodule:: trax.fastmath.numpy
tf
--
.. automodule:: trax.fastmath.tf
<|file_sep|>current/docs/source/trax.fastmath.rst
=============
... | trax.fastmath
=============
backend
-------
.. automodule:: trax.fastmath.backend | <|file_sep|>original/docs/source/trax.fastmath.rst
=============
backend
-------
.. automodule:: trax.fastmath.backend
jax
---
.. automodule:: trax.fastmath.jax
numpy
-----
.. automodule:: trax.fastmath.numpy
tf
--
.. automodule:: trax.fastmath.tf
<|file_sep|>current/docs/source/trax.fastmath.rst
=============
... | f6b3a20ce430034b021ae3eb4785526ebb510b97 | docs/source/trax.fastmath.rst | docs/source/trax.fastmath.rst | reStructuredText |
<|file_sep|>languages/tcl/t/cmd_break.t.diff
original:
plan 2
updated:
plan 3
<|file_sep|>original/languages/tcl/t/cmd_break.t
#!../../parrot tcl.pbc
source lib/test_more.tcl
plan 2
eval_is {
for {set a 0} {$a < 20} {incr a} {
if {$a > 10} { break }
}
set a
} 11 {break from for}
eval_is {
set a 20
while {$a... | for {set a 0} {$a < 20} {incr a} {
if {$a > 10} { break }
}
set a
} 11 {break from for}
eval_is {
set a 20
while {$a} {
incr a -1
if {$a < 10} { break }
}
set a
} 9 {break from while}
eval_is {
proc test {} {break}
test
} {invoked "break" outside of a loop} \
{break outside of a loop}
| <|file_sep|>languages/tcl/t/cmd_break.t.diff
original:
plan 2
updated:
plan 3
<|file_sep|>original/languages/tcl/t/cmd_break.t
#!../../parrot tcl.pbc
source lib/test_more.tcl
plan 2
eval_is {
for {set a 0} {$a < 20} {incr a} {
if {$a > 10} { break }
}
set a
} 11 {break from for}
eval_is {
set a 20
while {$a... | 135da414a0113db6dd8663c668c445887ccc3a73 | languages/tcl/t/cmd_break.t | languages/tcl/t/cmd_break.t | Perl |
<|file_sep|>original/hittop/parser/success.h
#include "hittop/parser/parser.h"
namespace hittop {
namespace parser {
struct Success {};
// Always succeed, consuming no input.
template <> class Parser<Success> {
template <typename Range>
auto operator()(const Range &input) const
-> Fallible<decltype(std::b... |
#include "hittop/parser/parser.h"
namespace hittop {
namespace parser {
struct Success {};
// Always succeed, consuming no input.
template <> class Parser<Success> {
public:
template <typename Range>
auto operator()(const Range &input) const
-> Fallible<decltype(std::begin(input))> {
return std::begin... | <|file_sep|>original/hittop/parser/success.h
#include "hittop/parser/parser.h"
namespace hittop {
namespace parser {
struct Success {};
// Always succeed, consuming no input.
template <> class Parser<Success> {
template <typename Range>
auto operator()(const Range &input) const
-> Fallible<decltype(std::b... | 887f4b189d1b0e1e4e61f5f4cffc3be395cd12b6 | hittop/parser/success.h | hittop/parser/success.h | C |
<|file_sep|>original/runner.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'runner'
s.version = '0.1.1'
s.summary = 'Run files that match a file specification, excluding those that match a regex'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsi... | # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'runner'
s.version = '0.1.2'
s.summary = 'Run files that match a file specification, excluding those that match a regex'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsidianexchange.com'
s.homepage = 'ht... | <|file_sep|>original/runner.gemspec
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'runner'
s.version = '0.1.1'
s.summary = 'Run files that match a file specification, excluding those that match a regex'
s.description = ' '
s.authors = ['Obsidian Software, Inc']
s.email = 'opensource@obsi... | 95d82c04b233d2be1b790e31743f10ac7bf5b9c8 | runner.gemspec | runner.gemspec | Ruby |
<|file_sep|>README.md.diff
original:
cd cloudstein
cd dockergui_appContainer_v5
updated:
cd cloudstein/dockergui_appContainer_v5
<|file_sep|>original/README.md
Need to request a API key and secret from Github
git clone https://github.com/cloudstein
cd cloudstein
cd dockergui_appContainer_v5
./build
cd ../usercontain... | Need to request a API key and secret from Github
git clone https://github.com/cloudstein
cd cloudstein/dockergui_appContainer_v5
./build
cd ../usercontainer
./build
docker images # should see two images "cloudstein" & "usercontainer"
need a mysql server
docker run --name cs-mysql -e MYSQL_ROOT_PASSWORD=hello123 -... | <|file_sep|>README.md.diff
original:
cd cloudstein
cd dockergui_appContainer_v5
updated:
cd cloudstein/dockergui_appContainer_v5
<|file_sep|>original/README.md
Need to request a API key and secret from Github
git clone https://github.com/cloudstein
cd cloudstein
cd dockergui_appContainer_v5
./build
cd ../usercontain... | 25e1bb7c42d0e27e138d193bc1f2592e2b993c59 | README.md | README.md | Markdown |
<|file_sep|>original/README.md
# Sharpy
[](https://travis-ci.org/inputfalken/Sharpy)
This is a hobby project of mine where the goal is to have an easy way of generating some fake data.
To generate data you can either map the generator by calli... | # Sharpy
[](https://travis-ci.org/inputfalken/Sharpy)
This is a hobby project of mine where the goal is to have an easy way of generating some fake data.
For information on how to use this library [click here](https://inputfalken.github.io/sha... | <|file_sep|>original/README.md
# Sharpy
[](https://travis-ci.org/inputfalken/Sharpy)
This is a hobby project of mine where the goal is to have an easy way of generating some fake data.
To generate data you can either map the generator by calli... | 01065f58de3c8edf923d3e14e3f4ee063d375ce6 | README.md | README.md | Markdown |
<|file_sep|>original/BeMyEyes/Source/Views/PointsBarView.swift
label.textAlignment = .Center
label.color = self.color
self.addSubview(label)
return label
}()
override func layoutSubviews() {
super.layoutSubviews()
label.frame = bounds
}
ove... | label.textAlignment = .Center
label.color = self.color
self.addSubview(label)
return label
}()
override func layoutSubviews() {
super.layoutSubviews()
label.frame = bounds
setup()
}
override func prepareForInterfaceBuilder() {
... | <|file_sep|>original/BeMyEyes/Source/Views/PointsBarView.swift
label.textAlignment = .Center
label.color = self.color
self.addSubview(label)
return label
}()
override func layoutSubviews() {
super.layoutSubviews()
label.frame = bounds
}
ove... | 6864ad160f8c195ea4926fa477a947200a4f6456 | BeMyEyes/Source/Views/PointsBarView.swift | BeMyEyes/Source/Views/PointsBarView.swift | Swift |
<|file_sep|>original/requirements.txt
numpy==1.21.4
matplotlib==3.5.0
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>current/requirements.txt
numpy==1.21.4
matplotlib==3.5.0
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>updated/requirements.txt | numpy==1.21.4
matplotlib==3.5.1
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7 | <|file_sep|>original/requirements.txt
numpy==1.21.4
matplotlib==3.5.0
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>current/requirements.txt
numpy==1.21.4
matplotlib==3.5.0
scipy==1.7.3
six==1.16.0
coverage==6.2
nose==1.3.7
<|file_sep|>updated/requirements.txt
numpy==1.21.4
matplotlib==3.5.1
scipy==1.7... | b3a020349a0a0e33665894fbca40ded6422a3108 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.13.1
jmespath==0.9.3
multidict==3.1.0
mypy==0.511
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.1.3
pytest-cov==2.5.1
python-dateutil==2.6.0
pytz==2017.2
requests==2.18.1
six==1.10.0
tzlocal==1.4
ujson==1... | chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.13.1
jmespath==0.9.3
multidict==3.1.0
mypy==0.511
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.1.3
pytest-cov==2.5.1
python-dateutil==2.6.1
pytz==2017.2
requests==2.18.1
six==1.10.0
tzlocal==1.4
ujson==1.35
uvloop==0.8.0
yarl==0.11.0 | <|file_sep|>original/requirements.txt
chardet==3.0.4
codecov==2.0.9
coverage==4.4.1
docutils==0.13.1
jmespath==0.9.3
multidict==3.1.0
mypy==0.511
packaging==16.8
pep8==1.7.0
py==1.4.34
pyparsing==2.2.0
pytest==3.1.3
pytest-cov==2.5.1
python-dateutil==2.6.0
pytz==2017.2
requests==2.18.1
six==1.10.0
tzlocal==1.4
ujson==1... | eb53aa3c2563246412f35eb61c0058a8e6b04b45 | requirements.txt | requirements.txt | Text |
<|file_sep|>original/styleguide/components/Nav.css
padding: 0;
position: absolute;;
z-index: 60;
}
.nav ul {
list-style: none;
display: block;
text-align: center;
margin: 0 auto;
padding: 0;
}
.nav li {
display: inline-block;
}
.nav a {
display: block;
text-transform: uppercase;
text-decoration:... | padding: 0;
position: absolute;;
z-index: 60;
}
.nav ul {
list-style: none;
display: block;
text-align: center;
margin: 0 auto;
padding: 0;
white-space: nowrap;
overflow: auto;
max-width: 100%;
-webkit-overflow-scrolling: touch;
}
.nav li {
display: inline-block;
}
.nav a {
display: block;
... | <|file_sep|>original/styleguide/components/Nav.css
padding: 0;
position: absolute;;
z-index: 60;
}
.nav ul {
list-style: none;
display: block;
text-align: center;
margin: 0 auto;
padding: 0;
}
.nav li {
display: inline-block;
}
.nav a {
display: block;
text-transform: uppercase;
text-decoration:... | 895f58e56c44915ce24ce9461c9f427383aea3e2 | styleguide/components/Nav.css | styleguide/components/Nav.css | CSS |
<|file_sep|>original/src/PasswordManager.php
$result[$key] = $value;
}
}
return $result;
}
/**
* Add the new application to the password list.
*
* @param array $newApplication The application information.
* @return void
*/
public functio... | $result[$key] = $value;
}
}
return $result;
}
/**
* Add the new application to the password list.
*
* @param string $name The unique application name.
* @param array $newApplication The application information.
* @return void
*/
pub... | <|file_sep|>original/src/PasswordManager.php
$result[$key] = $value;
}
}
return $result;
}
/**
* Add the new application to the password list.
*
* @param array $newApplication The application information.
* @return void
*/
public functio... | 84cb137c1abf33b7340f9128ee2c2bf4f4dccd50 | src/PasswordManager.php | src/PasswordManager.php | PHP |
<|file_sep|>test/test_future_and_futures.py.diff
original:
from django.test import TestCase
updated:
# Import from kolibri first to ensure Kolibri's monkey patches are applied.
from kolibri import dist as kolibri_dist # noreorder
<|file_sep|>original/test/test_future_and_futures.py
import imp
import os
import sys
fro... | import imp
import os
import sys
# Import from kolibri first to ensure Kolibri's monkey patches are applied.
from kolibri import dist as kolibri_dist # noreorder
from django.test import TestCase # noreorder
dist_dir = os.path.realpath(os.path.dirname(kolibri_dist.__file__))
class FutureAndFuturesTestCase(TestCase... | <|file_sep|>test/test_future_and_futures.py.diff
original:
from django.test import TestCase
updated:
# Import from kolibri first to ensure Kolibri's monkey patches are applied.
from kolibri import dist as kolibri_dist # noreorder
<|file_sep|>original/test/test_future_and_futures.py
import imp
import os
import sys
fro... | bd4ee91c964ce7fb506b722d4d93a8af019d4e7c | test/test_future_and_futures.py | test/test_future_and_futures.py | Python |
<|file_sep|>original/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
}
function createSVGTestCase() {
if (window.layoutTestController)
layoutTestController.waitUntilDone();
rootSVGElement = createSVGElement("svg");
rootSVGElement.setAttribute("width", "300");
rootSVGElement.setAttribu... | }
function createSVGTestCase() {
if (window.layoutTestController)
layoutTestController.waitUntilDone();
rootSVGElement = createSVGElement("svg");
rootSVGElement.setAttribute("width", "300");
rootSVGElement.setAttribute("height", "300");
var bodyElement = document.documentElement.lastChild... | <|file_sep|>original/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
}
function createSVGTestCase() {
if (window.layoutTestController)
layoutTestController.waitUntilDone();
rootSVGElement = createSVGElement("svg");
rootSVGElement.setAttribute("width", "300");
rootSVGElement.setAttribu... | cb5855a1e306a2e40314ee7f749c1800496e5e4a | LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js | LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js | JavaScript |
<|file_sep|>original/web/templates/user/member_request_edit.html
{% extends "layout.html" %}
{% import "macros/forms.html" as forms %}
{% block content %}
{{ forms.simple_form(form, '', url_for('.member_requests') ) }}
<hr/>
<b class="text-danger">Die Aktion "Abschließen" speichert oben gemachte Änderun... | {% extends "layout.html" %}
{% import "macros/forms.html" as forms %}
{% block content %}
{% if prm.email_confirmed %}
<i class="fa fa-check-circle text-success"></i> E-Mail Adresse bestätigt
{% else %}
<i class="fa fa-times-circle text-danger"></i> E-Mail Adresse nicht bestätigt
{% endif %}
... | <|file_sep|>original/web/templates/user/member_request_edit.html
{% extends "layout.html" %}
{% import "macros/forms.html" as forms %}
{% block content %}
{{ forms.simple_form(form, '', url_for('.member_requests') ) }}
<hr/>
<b class="text-danger">Die Aktion "Abschließen" speichert oben gemachte Änderun... | 8934afe765bbae9829b81515067b38d37f2f029f | web/templates/user/member_request_edit.html | web/templates/user/member_request_edit.html | HTML |
<|file_sep|>original/app/views/directors/coop/index.pdf.haml
%th Date directorship assumed
%th Date directorship vacated
%th Office held
%th Date office assumed
%th Date office vacated
- for director in @directors
%tr
%td= director.name
%td= simple_format(director.address)
- ... | %th Date directorship assumed
%th Date directorship vacated
%th Office held
%th Date office assumed
%th Date office vacated
- for director in @directors
%tr
%td= director.name
%td= simple_format(director.address)
- if directorship = director.directorships.most_recent
... | <|file_sep|>original/app/views/directors/coop/index.pdf.haml
%th Date directorship assumed
%th Date directorship vacated
%th Office held
%th Date office assumed
%th Date office vacated
- for director in @directors
%tr
%td= director.name
%td= simple_format(director.address)
- ... | 19ae651a31197d958a456545551140da4b435884 | app/views/directors/coop/index.pdf.haml | app/views/directors/coop/index.pdf.haml | Haml |
<|file_sep|>original/AUTHORS.rst
=======
Credits
=======
Development Leads
-----------------
* Daniel Greenfeld <danny@eventbrite.com>
* Bartek Ogryczak <bartek@eventbrite.com>
Contributors
------------
* Piotr Banaszkiewicz <piotr@banaszkiewicz.org>
* Ryan Bagwell <ryan@ryanbagwell.com>
* Bill So <bill@eventbrite.... | =======
Credits
=======
Development Leads
-----------------
* Daniel Greenfeld <danny@eventbrite.com>
* Bartek Ogryczak <bartek@eventbrite.com>
Contributors
------------
* Piotr Banaszkiewicz <piotr@banaszkiewicz.org>
* Ryan Bagwell <ryan@ryanbagwell.com>
* Bill So <bill@eventbrite.com>
* Jon Kaczynski <jon@general... | <|file_sep|>original/AUTHORS.rst
=======
Credits
=======
Development Leads
-----------------
* Daniel Greenfeld <danny@eventbrite.com>
* Bartek Ogryczak <bartek@eventbrite.com>
Contributors
------------
* Piotr Banaszkiewicz <piotr@banaszkiewicz.org>
* Ryan Bagwell <ryan@ryanbagwell.com>
* Bill So <bill@eventbrite.... | 70200e398ff1153b3bb1fd0a116bfc79c7e3e9b0 | AUTHORS.rst | AUTHORS.rst | reStructuredText |
<|file_sep|>src/Components/ListGroup/TouchableListGroupItem.js.diff
original:
const createElement = useActionElement(BaseTouchable, {
disabled,
elementProps,
updated:
const createElement = useActionElement(
BaseTouchable,
{
disabled,
...elementProps,
},
<|file_sep|>original/src/Compo... | active && 'active',
);
const createElement = useActionElement(
BaseTouchable,
{
disabled,
...elementProps,
},
ref,
);
return createElement({
className: classes,
});
});
ActionListGroupItem.displayName = 'ActionListGroupItem';
ActionListGroupItem.propTypes = propTypes;
Ac... | <|file_sep|>src/Components/ListGroup/TouchableListGroupItem.js.diff
original:
const createElement = useActionElement(BaseTouchable, {
disabled,
elementProps,
updated:
const createElement = useActionElement(
BaseTouchable,
{
disabled,
...elementProps,
},
<|file_sep|>original/src/Compo... | 95e0e20893a10ffa78f8db38cad58a971ce63ee3 | src/Components/ListGroup/TouchableListGroupItem.js | src/Components/ListGroup/TouchableListGroupItem.js | JavaScript |
<|file_sep|>original/ycml/scripts/partition_instances.py
<|file_sep|>current/ycml/scripts/partition_instances.py
<|file_sep|>updated/ycml/scripts/partition_instances.py | """
This script is different from `ycml.scripts.partition_lines` because it takes labels into account and produces stratified partitions.
"""
from argparse import ArgumentParser
import json
import logging
from sklearn.model_selection import train_test_split
from ycml.utils import load_instances
from ycml.utils impor... | <|file_sep|>original/ycml/scripts/partition_instances.py
<|file_sep|>current/ycml/scripts/partition_instances.py
<|file_sep|>updated/ycml/scripts/partition_instances.py
"""
This script is different from `ycml.scripts.partition_lines` because it takes labels into account and produces stratified partitions.
"""
from a... | f609654c78fb547d8de7545350f59562499d9397 | ycml/scripts/partition_instances.py | ycml/scripts/partition_instances.py | Python |
<|file_sep|>original/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php
<|file_sep|>current/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php
<|file_sep|>updated/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php | <?php
declare(strict_types=1);
namespace Doctrine\Tests\ORM\Functional\Ticket;
use Doctrine\ORM\Annotation as ORM;
use Doctrine\Tests\Models\Quote\User as QuotedUser;
use Doctrine\Tests\OrmFunctionalTestCase;
final class GH7012Test extends OrmFunctionalTestCase
{
protected function setUp() : void
{
... | <|file_sep|>original/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php
<|file_sep|>current/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php
<|file_sep|>updated/tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php
<?php
declare(strict_types=1);
namespace Doctrine\Tests\ORM\Functional\Ticket;
u... | aadf295b9aca924bfc6f58a56336c04cdd9be682 | tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php | tests/Doctrine/Tests/ORM/Functional/Ticket/GH7012Test.php | PHP |
<|file_sep|>original/tools/_venv_common.sh
# `python letshelp-certbot/setup.py build` has been called
# earlier)
rm -rf *.egg-info
# virtualenv setup is NOT idempotent: shutil.Error:
# `/home/jakub/dev/letsencrypt/letsencrypt/venv/bin/python2` and
# `venv/bin/python2` are the same file
mv $VENV_NAME "$VENV_NAME.$(date... | # .` might unexpectedly install letshelp-certbot only, in case
# `python letshelp-certbot/setup.py build` has been called
# earlier)
rm -rf *.egg-info
# virtualenv setup is NOT idempotent: shutil.Error:
# `/home/jakub/dev/letsencrypt/letsencrypt/venv/bin/python2` and
# `venv/bin/python2` are the same file
mv $VENV_NAM... | <|file_sep|>original/tools/_venv_common.sh
# `python letshelp-certbot/setup.py build` has been called
# earlier)
rm -rf *.egg-info
# virtualenv setup is NOT idempotent: shutil.Error:
# `/home/jakub/dev/letsencrypt/letsencrypt/venv/bin/python2` and
# `venv/bin/python2` are the same file
mv $VENV_NAME "$VENV_NAME.$(date... | 6a0c6c85fb7028fdc3793325d40681b7c34f777f | tools/_venv_common.sh | tools/_venv_common.sh | Shell |
<|file_sep|>original/decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb
<article class="card card--full card--process">
<div class="row collapse card--process__row">
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_... | <article class="card card--full card--process">
<div class="row collapse card--process__row">
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_to participatory_process_path(promoted_process), class: "card__link" do %>
<h2 class="card__t... | <|file_sep|>original/decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb
<article class="card card--full card--process">
<div class="row collapse card--process__row">
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_... | d5c20179939a379a018f00aae70eab277ee00bf9 | decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb | decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb | HTML+ERB |
<|file_sep|>original/docs/source/reference/functions.rst
.. autoclass:: Linear
.. autoclass:: Parameter
.. autoclass:: PReLU
Array manipulation functions
----------------------------
.. autofunction:: concat
.. autofunction:: copy
.. autofunction:: dropout
.. autofunction:: identity
Activation functions
-------------... | .. autoclass:: Linear
.. autoclass:: Parameter
.. autoclass:: PReLU
Array manipulation functions
----------------------------
.. autofunction:: concat
.. autofunction:: copy
.. autofunction:: dropout
.. autofunction:: identity
.. autofunction:: reshape
Activation functions
--------------------
.. autofunction:: exp
.... | <|file_sep|>original/docs/source/reference/functions.rst
.. autoclass:: Linear
.. autoclass:: Parameter
.. autoclass:: PReLU
Array manipulation functions
----------------------------
.. autofunction:: concat
.. autofunction:: copy
.. autofunction:: dropout
.. autofunction:: identity
Activation functions
-------------... | cbf1f555d2e1562e3232b558fe0fcb2432038b98 | docs/source/reference/functions.rst | docs/source/reference/functions.rst | reStructuredText |
<|file_sep|>original/toolbot/scripts/google_images.py
<|file_sep|>current/toolbot/scripts/google_images.py
<|file_sep|>updated/toolbot/scripts/google_images.py | import re
import json
import asyncio
import random
import aiohttp
GOOGLE_IMAGE_API = 'http://ajax.googleapis.com/ajax/services/search/images'
def plugin(bot):
@bot.respond(re.compile(r'(image|img)( me)? (.*)', re.I))
def image_me(msg):
asyncio.Task(imageMe(msg, msg.match.group(3), cb=msg.reply))
@... | <|file_sep|>original/toolbot/scripts/google_images.py
<|file_sep|>current/toolbot/scripts/google_images.py
<|file_sep|>updated/toolbot/scripts/google_images.py
import re
import json
import asyncio
import random
import aiohttp
GOOGLE_IMAGE_API = 'http://ajax.googleapis.com/ajax/services/search/images'
def plugin(b... | e3665928c80da9df192f8edb5dc28e3200e34fdc | toolbot/scripts/google_images.py | toolbot/scripts/google_images.py | Python |
<|file_sep|>original/setup.cfg
[wheel]
universal = 1
[coverage:run]
omit = paramiko/_winapi.py
[flake8]
exclude = sites,.git,build,dist,alt_env,appveyor,demos,tests
ignore = E124,E125,E128,E261,E301,E302,E303,E402
max-line-length = 79
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[coverage:run]
omit = paramiko... | [wheel]
universal = 1
[coverage:run]
omit = paramiko/_winapi.py
[flake8]
exclude = sites,.git,build,dist,demos,tests
ignore = E124,E125,E128,E261,E301,E302,E303,E402
max-line-length = 79 | <|file_sep|>original/setup.cfg
[wheel]
universal = 1
[coverage:run]
omit = paramiko/_winapi.py
[flake8]
exclude = sites,.git,build,dist,alt_env,appveyor,demos,tests
ignore = E124,E125,E128,E261,E301,E302,E303,E402
max-line-length = 79
<|file_sep|>current/setup.cfg
[wheel]
universal = 1
[coverage:run]
omit = paramiko... | 383e102b54464f2be8fe5aaa3b1e9bd94ad0b788 | setup.cfg | setup.cfg | INI |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.